diff --git a/.codex/hooks.json b/.codex/hooks.json index 054db9c..4e25deb 100644 --- a/.codex/hooks.json +++ b/.codex/hooks.json @@ -13,6 +13,30 @@ ] } ], + "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": [ @@ -24,6 +48,18 @@ } ] } + ], + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "python3 .codex/hooks/scripts/hooks.py --hook UserPromptSubmit", + "timeout": 10, + "statusMessage": "Running user prompt submit hook" + } + ] + } ] } }