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>
35 lines
685 B
JSON
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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|