Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine uncaffeinate"
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine caffeinate"
}
],
"matcher": "*"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine uncaffeinate"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine caffeinate"
}
],
"matcher": "*"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine uncaffeinate"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine caffeinate"
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": true,
"touchesFileWrites": false
},
"typeStats": {
"command": 6
},
"eventStats": {
"Stop": 1,
"PreToolUse": 1,
"SessionEnd": 1,
"PostToolUse": 1,
"Notification": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 6
}
}