summaryrefslogtreecommitdiff
path: root/hooks/hooks-codex.json
diff options
context:
space:
mode:
authorDrew Ritter <drew@ritter.dev>2026-05-14 15:59:38 -0700
committerDrew Ritter <drew@primeradiant.com>2026-06-16 10:09:44 -0700
commit1e7cd987d3e0ca8fa3ab52d75f4e658e46694a3a (patch)
treee55d4a1553f4e046f9e824742f975094b3433d27 /hooks/hooks-codex.json
parent295219a6fa730de4a6853838ca9b1d97afddb62d (diff)
[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
Diffstat (limited to 'hooks/hooks-codex.json')
-rw-r--r--hooks/hooks-codex.json16
1 files changed, 16 insertions, 0 deletions
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
+ }
+ ]
+ }
+ ]
+ }
+}