From 1e7cd987d3e0ca8fa3ab52d75f4e658e46694a3a Mon Sep 17 00:00:00 2001 From: Drew Ritter Date: Thu, 14 May 2026 15:59:38 -0700 Subject: [codex] support native Codex plugin hooks (#1540) * docs: specify Codex native hooks parity * docs: refine Codex hooks spec after review * docs: record Codex hook contract spike * docs: plan Codex native hooks implementation * feat: support Codex native plugin hooks * test: add Codex native hook drill coverage * Simplify Codex hook entrypoint --- hooks/hooks-codex.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 hooks/hooks-codex.json (limited to 'hooks/hooks-codex.json') diff --git a/hooks/hooks-codex.json b/hooks/hooks-codex.json new file mode 100644 index 0000000..5c357fc --- /dev/null +++ b/hooks/hooks-codex.json @@ -0,0 +1,16 @@ +{ + "hooks": { + "SessionStart": [ + { + "matcher": "startup|resume|clear", + "hooks": [ + { + "type": "command", + "command": "\"${PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start-codex", + "async": false + } + ] + } + ] + } +} -- cgit