← Files Progress Percent PlansARCHIVED FILE
hooks/hooks.json
1.44 KB · Oct 2, 2026 · 00:32 UTC
{
"description": "Keep percentage-prefixed plans active across prompts, resumes, compaction, and subagents.",
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"$PLUGIN_ROOT/hooks/inject-progress-context.sh\"",
"commandWindows": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$env:PLUGIN_ROOT\\hooks\\inject-progress-context.ps1\"",
"timeout": 5,
"additionalContextLimit": 4000
}
]
}
],
"SessionStart": [
{
"matcher": "startup|resume|clear|compact",
"hooks": [
{
"type": "command",
"command": "/bin/sh \"$PLUGIN_ROOT/hooks/inject-progress-context.sh\"",
"commandWindows": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$env:PLUGIN_ROOT\\hooks\\inject-progress-context.ps1\"",
"timeout": 5,
"additionalContextLimit": 4000
}
]
}
],
"SubagentStart": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"$PLUGIN_ROOT/hooks/inject-progress-context.sh\"",
"commandWindows": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File \"$env:PLUGIN_ROOT\\hooks\\inject-progress-context.ps1\"",
"timeout": 5,
"additionalContextLimit": 4000
}
]
}
]
}
}
SHA-256: 3da91cf9f69f0e2a6647fad2b9acf9b2a09251569996b2b5e647086b233eec10