@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 +10 -0
- package/bin/hooks-mcp.js +295 -98
- package/bin/index.js +430 -168
- package/bin/serve.js +11 -0
- package/dist/index.js +302 -104
- package/dist/lib/codex-settings.d.ts +3 -0
- package/dist/lib/installer.d.ts +5 -2
- package/dist/lib/mementos-options.d.ts +16 -0
- package/dist/lib/registration.d.ts +1 -0
- package/hooks/hook-mementos-context/README.md +106 -0
- package/hooks/hook-mementos-context/src/hook.ts +116 -0
- package/package.json +5 -4
package/bin/serve.js
CHANGED
|
@@ -345,6 +345,17 @@ var HOOKS = [
|
|
|
345
345
|
matcher: "",
|
|
346
346
|
tags: ["knowledge", "context", "codewith", "deterministic", "session-start", "prompt", "subagent"]
|
|
347
347
|
},
|
|
348
|
+
{
|
|
349
|
+
name: "mementos-context",
|
|
350
|
+
displayName: "Mementos Prompt Context",
|
|
351
|
+
description: "Retrieves scoped memories for a user prompt, with optional relevance judgments",
|
|
352
|
+
version: "0.1.0",
|
|
353
|
+
category: "Context Management",
|
|
354
|
+
event: "UserPromptSubmit",
|
|
355
|
+
matcher: "",
|
|
356
|
+
timeoutSeconds: 12,
|
|
357
|
+
tags: ["mementos", "memory", "prompt", "codex", "claude", "codewith", "opt-in"]
|
|
358
|
+
},
|
|
348
359
|
{
|
|
349
360
|
name: "autoformat",
|
|
350
361
|
displayName: "Auto Format",
|