@mnemonik/codex-hooks 0.8.27 → 0.8.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,7 @@ export declare const PRE_EDIT_ADVISORY_AUTO_FETCH = true;
38
38
  * PreToolUse Bash gate (phase 3 simplification, 0.4.x line).
39
39
  *
40
40
  * Per-kind policy enforcement moved server-side. The dispatcher posts
41
- * the bash command to /api/v1/hooks/policy-reminder and emits whatever
41
+ * the bash command to /api/v1/hooks/injections and emits whatever
42
42
  * comes back as systemMessage (Codex PreToolUse cannot inject
43
43
  * additionalContext reliably). The only LOCAL gate is the irreducible
44
44
  * deny-floor in lib/shellTokens.ts. Kept in sync with
@@ -36,7 +36,7 @@ export const PRE_EDIT_ADVISORY_AUTO_FETCH = true;
36
36
  * PreToolUse Bash gate (phase 3 simplification, 0.4.x line).
37
37
  *
38
38
  * Per-kind policy enforcement moved server-side. The dispatcher posts
39
- * the bash command to /api/v1/hooks/policy-reminder and emits whatever
39
+ * the bash command to /api/v1/hooks/injections and emits whatever
40
40
  * comes back as systemMessage (Codex PreToolUse cannot inject
41
41
  * additionalContext reliably). The only LOCAL gate is the irreducible
42
42
  * deny-floor in lib/shellTokens.ts. Kept in sync with
@@ -4,8 +4,9 @@
4
4
  * see the comment block there for the full rationale.
5
5
  *
6
6
  * Phase 3 simplification (codex-hooks 0.4.0): all other policy matching
7
- * moved server-side. The dispatcher posts to /api/v1/hooks/policy-reminder
8
- * and emits whatever reminders come back. This file is the ONE place the
7
+ * moved server-side. The dispatcher posts to /api/v1/hooks/injections
8
+ * and emits whatever reminders come back. (/api/v1/hooks/policy-reminder is
9
+ * served but no dispatcher builds that URL.) This file is the ONE place the
9
10
  * dispatcher still does local pattern matching, only for "your machine
10
11
  * is bricked" patterns.
11
12
  */
@@ -4,8 +4,9 @@
4
4
  * see the comment block there for the full rationale.
5
5
  *
6
6
  * Phase 3 simplification (codex-hooks 0.4.0): all other policy matching
7
- * moved server-side. The dispatcher posts to /api/v1/hooks/policy-reminder
8
- * and emits whatever reminders come back. This file is the ONE place the
7
+ * moved server-side. The dispatcher posts to /api/v1/hooks/injections
8
+ * and emits whatever reminders come back. (/api/v1/hooks/policy-reminder is
9
+ * served but no dispatcher builds that URL.) This file is the ONE place the
9
10
  * dispatcher still does local pattern matching, only for "your machine
10
11
  * is bricked" patterns.
11
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"shellTokens.js","sourceRoot":"","sources":["../../src/lib/shellTokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAqD;IAChF;QACE,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,4EAA4E;KACtF;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,iFAAiF;KAC3F;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,OAAO,EACL,iGAAiG;KACpG;CACF,CAAC;AAEF,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAClD,KAAK,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,gBAAgB,EAAE,CAAC;QACjD,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,OAAO,IAAI,CAAC;IACzC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"shellTokens.js","sourceRoot":"","sources":["../../src/lib/shellTokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAqD;IAChF;QACE,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,4EAA4E;KACtF;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,iFAAiF;KAC3F;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,OAAO,EACL,iGAAiG;KACpG;CACF,CAAC;AAEF,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAClD,KAAK,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,gBAAgB,EAAE,CAAC;QACjD,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;YAAE,OAAO,IAAI,CAAC;IACzC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mnemonik/codex-hooks",
3
- "version": "0.8.27",
3
+ "version": "0.8.28",
4
4
  "description": "Codex lifecycle hooks for Mnemonik memory awareness and host-side grounding gates. Hooks only: does not install skills, rules, AGENTS.md, .mnemonik.json, or MCP config.",
5
5
  "type": "module",
6
6
  "bin": {