Chore/add beads (#52)
* chore: added beads * more on beads --------- Co-authored-by: hugo <hugoms@me.com>
This commit is contained in:
13
.mux/tool_post
Executable file
13
.mux/tool_post
Executable 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
|
||||
Reference in New Issue
Block a user