Chore/add beads (#52)

* chore: added beads

* more on beads

---------

Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
Georg Bauer
2026-03-13 18:39:03 +01:00
committed by GitHub
parent 914af9831d
commit 3c7590f009
15 changed files with 456 additions and 0 deletions

13
.mux/tool_post Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
# BEGIN BEADS MUX HOOK
# Claude PreCompact approximation for Mux: keep beads metadata synced after file edits.
if [ "${MUX_TOOL:-}" = "file_edit_replace_string" ] || [ "${MUX_TOOL:-}" = "file_edit_insert" ]; then
if command -v bd >/dev/null 2>&1; then
bd dolt push >/dev/null 2>&1 || true
elif [ -x "$HOME/bin/bd" ]; then
"$HOME/bin/bd" sync >/dev/null 2>&1 || true
fi
fi
# END BEADS MUX HOOK