{ "hooks": { "Notification": [ { "matcher": "", "hooks": [ { "type": "command", "command": "$HOME/.code-notify/lib/code-notify/core/notifier.sh notification" } ] } ], "Stop": [ { "matcher": "^(?!.*Bash).*$", "hooks": [ { "type": "command", "command": "$HOME/.code-notify/lib/code-notify/core/notifier.sh stop" } ] } ], "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "echo 'About to run a Bash command'" } ] }, { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "echo 'About to modify a file'" } ] } ], "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "echo 'File modification complete'" } ] } ], "UserPromptSubmit": [ { "matcher": "", "hooks": [ { "type": "command", "command": "echo 'User submitted a prompt'" } ] } ], "SessionStart": [ { "matcher": "", "hooks": [ { "type": "command", "command": "echo 'Claude Code session started'" } ] } ], "SessionEnd": [ { "matcher": "", "hooks": [ { "type": "command", "command": "echo 'Claude Code session ended'" } ] } ], "SubagentStop": [ { "matcher": "", "hooks": [ { "type": "command", "command": "echo 'Subagent task completed'" } ] } ], "PreCompact": [ { "matcher": "", "hooks": [ { "type": "command", "command": "echo 'About to compact conversation history'" } ] } ] } }