Defined inline in plugin.json manifest
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-tracker.sh stop",
"timeout": 1
}
],
"matcher": "*"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-tracker.sh pre-tool",
"timeout": 1
}
],
"matcher": "*"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-tracker.sh post-tool",
"timeout": 1
}
],
"matcher": "*"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-tracker.sh notification",
"timeout": 1
}
],
"matcher": "idle_prompt"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-tracker.sh session-start",
"timeout": 2
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/state-tracker.sh user-prompt",
"timeout": 1
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": true,
"touchesFileWrites": false
},
"typeStats": {
"command": 6
},
"eventStats": {
"Stop": 1,
"PreToolUse": 1,
"PostToolUse": 1,
"Notification": 1,
"SessionStart": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 6,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}