Files
home-manager/tests/modules/programs/codex/hooks.json
T
Austin Horstman 64221f9c87 codex: add lifecycle hooks option
Manage CODEX_HOME/hooks.json directly while covering the generated file in the existing TOML test.
2026-06-25 14:21:12 -05:00

28 lines
488 B
JSON

{
"hooks": {
"PreToolUse": [
{
"hooks": [
{
"command": "/usr/local/bin/codex-pre-tool-use",
"statusMessage": "Checking Bash command",
"timeout": 30,
"type": "command"
}
],
"matcher": "^Bash$"
}
],
"Stop": [
{
"hooks": [
{
"command": "/usr/local/bin/codex-stop",
"type": "command"
}
]
}
]
}
}