updated codex hooks

This commit is contained in:
Shayan Rais
2026-05-16 23:55:53 +05:00
parent a77e223a6e
commit ac0d87d886
11 changed files with 103 additions and 23 deletions
+36
View File
@@ -25,6 +25,18 @@
]
}
],
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
"command": "python3 .codex/hooks/scripts/hooks.py --hook PermissionRequest",
"timeout": 10,
"statusMessage": "Running permission request hook"
}
]
}
],
"PostToolUse": [
{
"hooks": [
@@ -60,6 +72,30 @@
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "python3 .codex/hooks/scripts/hooks.py --hook PreCompact",
"timeout": 10,
"statusMessage": "Running pre-compact hook"
}
]
}
],
"PostCompact": [
{
"hooks": [
{
"type": "command",
"command": "python3 .codex/hooks/scripts/hooks.py --hook PostCompact",
"timeout": 10,
"statusMessage": "Running post-compact hook"
}
]
}
]
}
}