Files
Julian lechnerandClaude Sonnet 5 b59d355e99 perf(hooks): reduce Stop hook timeout from 20s to 8s
The Stop hook only runs a ~500ms visual flash; 20 seconds was far more
than any realistic process-start latency needs, including the one-time
native shim compile on Windows.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 15:43:57 +02:00

35 lines
685 B
JSON

{
"permissions": {
"defaultMode": "auto",
"allow": [
"Agent"
],
"deny": [
"Bash(git reset --hard*)",
"Bash(git clean*)",
"Bash(rm -rf*)",
"Bash(Remove-Item -Recurse*)"
]
},
"env": {
"CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY": "5"
},
"statusLine": {
"type": "command",
"command": "__STATUSLINE_COMMAND__ \"__AI_CONFIG_ROOT__/statusline/__STATUSLINE_SCRIPT__\""
},
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__\"",
"timeout": 8
}
]
}
]
}
}