@hasna/hooks 0.9.1 → 0.9.3

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.
package/README.md CHANGED
@@ -48,6 +48,16 @@ tools return compact summaries by default, while explicit flags such as
48
48
  `compact:false`, `verbose:true`, or a detail tool like `hooks_info` return full
49
49
  records.
50
50
 
51
+ ## Optional Mementos prompt context
52
+
53
+ `hooks install mementos-context --target codex` registers a native prompt hook.
54
+ Enable it in the calling shell with `HOOKS_MEMENTOS_ENABLED=1`; set
55
+ `HOOKS_MEMENTOS_PROJECT` to an existing Mementos project. Provider judgments are
56
+ separately opt-in. The hook returns bounded, quoted memory data and continues
57
+ on errors. See [setup, scope and provider options](hooks/hook-mementos-context/README.md).
58
+ Codex requires review and trust of the exact registration through `/hooks`.
59
+ Claude Code and Codewith also support this hook through their explicit targets.
60
+
51
61
  ## Codewith-native hooks
52
62
 
53
63
  @hasna/hooks includes unprefixed Codewith-native hook names: