Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
fix(hooks): install only the scripts the Antigravity CLI bundle ships
Vinícius DS Andrade9a84b5910463
diff --git a/scripts/install-hooks.sh b/scripts/install-hooks.shindex 994edc89..c690b1d7 100755--- a/scripts/install-hooks.sh+++ b/scripts/install-hooks.sh@@ -143,6 +143,17 @@ if [[ "$AGENT" == "command-code" ]]; then)fi+# Antigravity CLI wires only PreInvocation (session-start), PreToolUse,+# PostToolUse and Stop, and its bundle ships exactly those four scripts.+if [[ "$AGENT" == "antigravity-cli" ]]; then+ SCRIPTS=(+ "session-start"+ "pre-tool-use"+ "post-tool-use"+ "stop"+ )+fi+DEST="$TO/$AGENT"mkdir -p "$DEST"