Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs(install-hooks): fix kimi-code subagent comment accuracy

Lucas Oliveirafcb848349e43
diff --git a/scripts/install-hooks.sh b/scripts/install-hooks.sh
index 1316e1bf..80e2219a 100755
--- a/scripts/install-hooks.sh
+++ b/scripts/install-hooks.sh
@@ -91,8 +91,9 @@ SCRIPTS=(
"session-end"
)
-# kimi-code mirrors the claude-code bundle, which also captures the
-# subagent lifecycle events.
+# kimi-code hooks also cover the subagent lifecycle: its on-disk bundle
+# mirrors hooks/claude-code/ (which ships subagent-start/stop), while the
+# default SCRIPTS list above omits them — so they are appended only here.
if [[ "$AGENT" == "kimi-code" ]]; then
SCRIPTS+=("subagent-start" "subagent-stop")
fi