Defined in hooks/hooks.json
{
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "cd ${CLAUDE_PLUGIN_ROOT} && node dist/hooks/session-handler-cli.js end",
"timeout": 30
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "echo '[PostToolUse] Hook triggered!' >> /tmp/zest-hook-test.log && cd ${CLAUDE_PLUGIN_ROOT} && node dist/hooks/incremental-extractor-cli.js",
"timeout": 15
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "cd ${CLAUDE_PLUGIN_ROOT} && node dist/hooks/session-handler-cli.js start",
"timeout": 30
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": true,
"touchesFileWrites": false
},
"typeStats": {
"command": 3
},
"eventStats": {
"SessionEnd": 1,
"PostToolUse": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}