added codex hooks

This commit is contained in:
Shayan Rais
2026-03-17 20:11:49 +05:00
parent 0fe13e160c
commit 28f8e202c6
12 changed files with 558 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"hooks": {
"SessionStart": [
{
"matcher": "^startup$",
"hooks": [
{
"type": "command",
"command": "python3 .codex/hooks/scripts/hooks.py --hook SessionStart",
"timeout": 10,
"statusMessage": "Loading project context"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 .codex/hooks/scripts/hooks.py --hook Stop",
"timeout": 10,
"statusMessage": "Running session stop hook"
}
]
}
]
}
}