{ "hooks": { "Setup": [ { "matcher": "maintenance", "hooks": [ { "type": "command", "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/run-powershell.cmd\" \"${CLAUDE_PLUGIN_ROOT}/scripts/uninstall-monk-agent.ps1\" -FromHook -Yes", "timeout": 300 }, { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/uninstall-monk-agent.sh --from-hook --yes", "timeout": 300 } ] } ], "SessionStart": [ { "hooks": [ { "type": "command", "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/run-powershell.cmd\" \"${CLAUDE_PLUGIN_ROOT}/scripts/start-monk-agent.ps1\"", "timeout": 180 }, { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/start-monk-agent.sh", "timeout": 180 } ] } ], "PreToolUse": [ { "matcher": "Bash|PowerShell|Shell", "hooks": [ { "type": "command", "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/run-powershell.cmd\" \"${CLAUDE_PLUGIN_ROOT}/hooks/block-monk.ps1\"", "timeout": 5 }, { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/hooks/block-monk.sh", "timeout": 5 } ] } ], "PostToolUse": [ { "matcher": "Edit|Write|MultiEdit", "hooks": [ { "type": "command", "command": "\"${CLAUDE_PLUGIN_ROOT}/scripts/run-powershell.cmd\" \"${CLAUDE_PLUGIN_ROOT}/hooks/monk-diagnostics.ps1\"", "timeout": 30 }, { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/hooks/monk-diagnostics.sh", "timeout": 30 } ] } ] } }