87d35a2051
Co-Authored-By: Claude <noreply@anthropic.com>
66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"matcher": "^startup$",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/scripts/hooks.py --hook SessionStart",
|
|
"timeout": 10,
|
|
"statusMessage": "Loading project context"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/scripts/hooks.py --hook PreToolUse",
|
|
"timeout": 10,
|
|
"statusMessage": "Running pre-tool-use hook"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/scripts/hooks.py --hook PostToolUse",
|
|
"timeout": 10,
|
|
"statusMessage": "Running post-tool-use hook"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/scripts/hooks.py --hook Stop",
|
|
"timeout": 10,
|
|
"statusMessage": "Running session stop hook"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 .codex/hooks/scripts/hooks.py --hook UserPromptSubmit",
|
|
"timeout": 10,
|
|
"statusMessage": "Running user prompt submit hook"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|