diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 375ec8e..147a75d 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -22,6 +22,7 @@ ], "skills": "./skills/", "mcpServers": "./.mcp.json", + "hooks": "./hooks/codex-hooks.json", "interface": { "displayName": "PostHog", "shortDescription": "Analytics, feature flags, experiments, and error tracking", diff --git a/hooks/codex-hooks.json b/hooks/codex-hooks.json new file mode 100644 index 0000000..deffac9 --- /dev/null +++ b/hooks/codex-hooks.json @@ -0,0 +1,3 @@ +{ + "hooks": {} +} diff --git a/hooks/hooks.json b/hooks/hooks.json index fa517ba..c642955 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -6,7 +6,7 @@ "hooks": [ { "type": "command", - "command": "python3 ${CLAUDE_PLUGIN_ROOT:-$PLUGIN_ROOT}/hooks/session-end-llma.py", + "command": "python3 \"${CLAUDE_PLUGIN_ROOT:-$PLUGIN_ROOT}/hooks/session-end-llma.py\"", "timeout": 30 } ] @@ -18,7 +18,7 @@ "hooks": [ { "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT:-$PLUGIN_ROOT}/hooks/gate-exec-write.sh", + "command": "\"${CLAUDE_PLUGIN_ROOT:-$PLUGIN_ROOT}/hooks/gate-exec-write.sh\"", "timeout": 5 } ]