69bca167fa
Vendored from omo-codex via sync-components: model/turn_id optional in the PostToolUse validator (permission_mode kept), CLAUDE_PLUGIN_ROOT hook path. Builds clean; runs without crash on a CC-shaped PostToolUse payload (no turn_id). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
345 B
JSON
18 lines
345 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "^(apply_patch|write|Write|edit|Edit|multi_edit|multiedit|MultiEdit)$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node \"${CLAUDE_PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
|
|
"timeout": 30,
|
|
"statusMessage": "checking comments"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|