diff --git a/settings-snippet.json b/settings-snippet.json index c0b383e..715fe22 100644 --- a/settings-snippet.json +++ b/settings-snippet.json @@ -26,7 +26,7 @@ }, { "type": "command", - "command": "FILE=$(cat | jq -r '.tool_input.file_path // empty'); [ -n \"$FILE\" ] && [ \"${FILE##*.}\" = 'rs' ] && ~/.claude/scripts/keisei-pet-update.sh rust_write; exit 0" + "command": "~/.claude/scripts/keisei-pet-update.sh lang" } ] }, @@ -62,6 +62,19 @@ "type": "command", "command": "~/.claude/hooks/agent-stub-scan.sh", "statusMessage": "STATUS-TRUTH marker scan (RULE 0.16)..." + }, + { + "type": "command", + "command": "~/.claude/scripts/keisei-pet-update.sh agent_done" + } + ] + }, + { + "matcher": "ExitPlanMode", + "hooks": [ + { + "type": "command", + "command": "~/.claude/scripts/keisei-pet-update.sh plan" } ] }, @@ -189,6 +202,10 @@ { "type": "command", "command": "~/.claude/hooks/task-timer.sh" + }, + { + "type": "command", + "command": "~/.claude/scripts/keisei-pet-update.sh agent_start" } ] }