Version bumped to 3.16.0 across the 20 tracked parity targets plus the ClawHub stage. The OpenCode plugin package stays at 1.0.1 and the Pi extension at 1.2.5: this cycle touched hooks/ and .codex/hooks/, neither package. CHANGELOG entry for #239 including the two scope calls stated rather than left to be discovered (FileChanged deferred, the standalone skill route unchanged); README releases-table row; Raymond Manaloto's CONTRIBUTORS entry extended with #239. Suite size pinned at 706 in README and llms.txt with its guard.
91 lines
3.0 KiB
JSON
91 lines
3.0 KiB
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "startup|resume|clear|compact",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/run_sh.py session-start.sh 2>/dev/null || python3 \"$HOME/.codex/hooks/run_sh.py\" session-start.sh 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd run_sh.py session-start.sh",
|
|
"statusMessage": "Loading planning context"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/run_sh.py user-prompt-submit.sh 2>/dev/null || python3 \"$HOME/.codex/hooks/run_sh.py\" user-prompt-submit.sh 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd run_sh.py user-prompt-submit.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash|apply_patch|Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/pre_tool_use.py 2>/dev/null || python3 \"$HOME/.codex/hooks/pre_tool_use.py\" 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd pre_tool_use.py",
|
|
"statusMessage": "Checking plan before tool use"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PermissionRequest": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/permission_request.py 2>/dev/null || python3 \"$HOME/.codex/hooks/permission_request.py\" 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd permission_request.py"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "apply_patch|Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/post_tool_use.py 2>/dev/null || python3 \"$HOME/.codex/hooks/post_tool_use.py\" 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd post_tool_use.py",
|
|
"statusMessage": "Reviewing changes against plan"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/run_sh.py pre-compact.sh 2>/dev/null || python3 \"$HOME/.codex/hooks/run_sh.py\" pre-compact.sh 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd run_sh.py pre-compact.sh",
|
|
"statusMessage": "Preparing planning context before compact"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/stop.py 2>/dev/null || python3 \"$HOME/.codex/hooks/stop.py\" 2>/dev/null || true",
|
|
"commandWindows": "cmd /c .codex\\hooks\\pwf-hook.cmd stop.py",
|
|
"timeout": 30
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|