← Files Voice Notify for CodexARCHIVED FILE
hooks/hooks.json
3.88 KB · Oct 2, 2026 · 00:29 UTC
{
"description": "Offline voice notifications for Codex lifecycle events.",
"hooks": {
"SessionStart": [
{
"matcher": "startup|resume|clear",
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"PostCompact": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"SubagentStart": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "/bin/sh \"${PLUGIN_ROOT}/hooks/play_notify.sh\"",
"commandWindows": "powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\hooks\\play_notify.ps1\"",
"timeout": 5
}
]
}
]
}
}
SHA-256: 6b990ba37b0aa0beb6d13443134c208069731a5e0e1e4aa4e7879e9af4335f11