Write path-backed hook bundles only under the active Codex home so XDG mode no longer mirrors scripts into ~/.codex.
15 lines
235 B
JSON
15 lines
235 B
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "$CODEX_HOME/hooks/session-start.sh",
|
|
"timeout": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|