@agentmemory/agentmemory 0.9.29 → 0.9.31
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/.env.example +102 -35
- package/AGENTS.md +19 -26
- package/README.md +417 -525
- package/dist/.env.example +102 -35
- package/dist/cli.d.mts.map +1 -1
- package/dist/cli.mjs +2316 -655
- package/dist/cli.mjs.map +1 -1
- package/dist/compression-recovery-CnhLQC6N.mjs +5912 -0
- package/dist/compression-recovery-CnhLQC6N.mjs.map +1 -0
- package/dist/{connect-Qaeq15TQ.mjs → connect-BSLIAMpw.mjs} +900 -302
- package/dist/connect-BSLIAMpw.mjs.map +1 -0
- package/dist/hooks/_capture.d.mts +25 -0
- package/dist/hooks/_capture.d.mts.map +1 -0
- package/dist/hooks/_capture.mjs +944 -0
- package/dist/hooks/_capture.mjs.map +1 -0
- package/dist/hooks/antigravity-bridge.d.mts +1 -1
- package/dist/hooks/antigravity-bridge.d.mts.map +1 -1
- package/dist/hooks/antigravity-bridge.mjs +24 -15
- package/dist/hooks/antigravity-bridge.mjs.map +1 -1
- package/dist/hooks/notification.mjs +35 -29
- package/dist/hooks/notification.mjs.map +1 -1
- package/dist/hooks/post-commit.mjs +91 -1
- package/dist/hooks/post-commit.mjs.map +1 -1
- package/dist/hooks/post-tool-failure.mjs +71 -29
- package/dist/hooks/post-tool-failure.mjs.map +1 -1
- package/dist/hooks/post-tool-use.mjs +99 -39
- package/dist/hooks/post-tool-use.mjs.map +1 -1
- package/dist/hooks/pre-compact.mjs +113 -6
- package/dist/hooks/pre-compact.mjs.map +1 -1
- package/dist/hooks/pre-tool-use.mjs +91 -1
- package/dist/hooks/pre-tool-use.mjs.map +1 -1
- package/dist/hooks/prompt-submit.mjs +25 -25
- package/dist/hooks/prompt-submit.mjs.map +1 -1
- package/dist/hooks/session-end.mjs +67 -31
- package/dist/hooks/session-end.mjs.map +1 -1
- package/dist/hooks/session-start.mjs +110 -6
- package/dist/hooks/session-start.mjs.map +1 -1
- package/dist/hooks/stop.mjs +80 -8
- package/dist/hooks/stop.mjs.map +1 -1
- package/dist/hooks/subagent-start.mjs +28 -29
- package/dist/hooks/subagent-start.mjs.map +1 -1
- package/dist/hooks/subagent-stop.mjs +33 -29
- package/dist/hooks/subagent-stop.mjs.map +1 -1
- package/dist/hooks/task-completed.mjs +31 -31
- package/dist/hooks/task-completed.mjs.map +1 -1
- package/dist/{image-refs-BKLmp_sD.mjs → image-refs-BaT-9oMU.mjs} +2 -2
- package/dist/image-refs-BaT-9oMU.mjs.map +1 -0
- package/dist/{image-refs-CJgZmb9X.mjs → image-refs-Cyta4Lf9.mjs} +3 -3
- package/dist/image-refs-Cyta4Lf9.mjs.map +1 -0
- package/dist/{keyed-mutex-DTHtcZrt.mjs → image-store-BsN4vyjr.mjs} +2 -14
- package/dist/image-store-BsN4vyjr.mjs.map +1 -0
- package/dist/index.mjs +15180 -4119
- package/dist/index.mjs.map +1 -1
- package/dist/integrations/dsh.d.mts +55 -0
- package/dist/integrations/dsh.d.mts.map +1 -0
- package/dist/integrations/dsh.mjs +1145 -0
- package/dist/integrations/dsh.mjs.map +1 -0
- package/dist/{schema-BFZhNTF7.mjs → keyed-mutex-DCUh7PG-.mjs} +81 -8
- package/dist/keyed-mutex-DCUh7PG-.mjs.map +1 -0
- package/dist/secret-store-D9GwO0xp.mjs +2449 -0
- package/dist/secret-store-D9GwO0xp.mjs.map +1 -0
- package/dist/session-arguments-zxsbbd8y.mjs +113 -0
- package/dist/session-arguments-zxsbbd8y.mjs.map +1 -0
- package/dist/{src-G7yt8gGm.mjs → src-DaMtDzt_.mjs} +8320 -4260
- package/dist/src-DaMtDzt_.mjs.map +1 -0
- package/dist/{standalone-BqNJDJ04.mjs → standalone-BlqshyZ5.mjs} +246 -62
- package/dist/standalone-BlqshyZ5.mjs.map +1 -0
- package/dist/standalone.d.mts +1 -1
- package/dist/standalone.d.mts.map +1 -1
- package/dist/standalone.mjs +866 -78
- package/dist/standalone.mjs.map +1 -1
- package/dist/viewer/index.html +7394 -2816
- package/integrations/hermes/README.md +84 -0
- package/integrations/hermes/__init__.py +669 -0
- package/integrations/hermes/plugin.yaml +27 -0
- package/integrations/omp/LICENSE +190 -0
- package/integrations/omp/README.md +76 -0
- package/integrations/omp/capture.ts +1 -0
- package/integrations/omp/dist/index.mjs +1450 -0
- package/integrations/omp/index.ts +488 -0
- package/integrations/omp/package.json +13 -0
- package/integrations/omp/security.ts +67 -0
- package/integrations/omp/skills/agentmemory-agents/REFERENCE.md +32 -0
- package/integrations/omp/skills/agentmemory-agents/SKILL.md +48 -0
- package/integrations/omp/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/agentmemory-architecture/SKILL.md +33 -0
- package/integrations/omp/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/agentmemory-config/REFERENCE.md +90 -0
- package/integrations/omp/skills/agentmemory-config/SKILL.md +78 -0
- package/integrations/omp/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/agentmemory-hooks/REFERENCE.md +20 -0
- package/integrations/omp/skills/agentmemory-hooks/SKILL.md +49 -0
- package/integrations/omp/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/agentmemory-mcp-tools/REFERENCE.md +66 -0
- package/integrations/omp/skills/agentmemory-mcp-tools/SKILL.md +42 -0
- package/integrations/omp/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/agentmemory-rest-api/REFERENCE.md +158 -0
- package/integrations/omp/skills/agentmemory-rest-api/SKILL.md +49 -0
- package/integrations/omp/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/commit-context/EXAMPLES.md +71 -0
- package/integrations/omp/skills/commit-context/SKILL.md +64 -0
- package/integrations/omp/skills/commit-context/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/commit-history/EXAMPLES.md +71 -0
- package/integrations/omp/skills/commit-history/SKILL.md +62 -0
- package/integrations/omp/skills/commit-history/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/forget/EXAMPLES.md +40 -0
- package/integrations/omp/skills/forget/SKILL.md +73 -0
- package/integrations/omp/skills/forget/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/handoff/EXAMPLES.md +57 -0
- package/integrations/omp/skills/handoff/SKILL.md +75 -0
- package/integrations/omp/skills/handoff/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/lesson/SKILL.md +64 -0
- package/integrations/omp/skills/lesson/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/memory-discipline/SKILL.md +65 -0
- package/integrations/omp/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/recall/EXAMPLES.md +74 -0
- package/integrations/omp/skills/recall/SKILL.md +74 -0
- package/integrations/omp/skills/recall/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/recap/EXAMPLES.md +62 -0
- package/integrations/omp/skills/recap/SKILL.md +68 -0
- package/integrations/omp/skills/recap/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/remember/EXAMPLES.md +67 -0
- package/integrations/omp/skills/remember/SKILL.md +66 -0
- package/integrations/omp/skills/remember/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/session-history/EXAMPLES.md +59 -0
- package/integrations/omp/skills/session-history/SKILL.md +67 -0
- package/integrations/omp/skills/session-history/TROUBLESHOOTING.md +70 -0
- package/integrations/omp/skills/write-agentmemory-skill/SKILL.md +41 -0
- package/integrations/omp/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/LICENSE +190 -0
- package/integrations/openclaw/README.md +88 -0
- package/integrations/openclaw/openclaw.plugin.json +71 -0
- package/integrations/openclaw/package.json +38 -0
- package/integrations/openclaw/plugin.mjs +425 -0
- package/integrations/openclaw/plugin.yaml +26 -0
- package/integrations/openclaw/skills/agentmemory-agents/REFERENCE.md +32 -0
- package/integrations/openclaw/skills/agentmemory-agents/SKILL.md +48 -0
- package/integrations/openclaw/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/agentmemory-architecture/SKILL.md +33 -0
- package/integrations/openclaw/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/agentmemory-config/REFERENCE.md +90 -0
- package/integrations/openclaw/skills/agentmemory-config/SKILL.md +78 -0
- package/integrations/openclaw/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/agentmemory-hooks/REFERENCE.md +20 -0
- package/integrations/openclaw/skills/agentmemory-hooks/SKILL.md +49 -0
- package/integrations/openclaw/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/agentmemory-mcp-tools/REFERENCE.md +66 -0
- package/integrations/openclaw/skills/agentmemory-mcp-tools/SKILL.md +42 -0
- package/integrations/openclaw/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/agentmemory-rest-api/REFERENCE.md +158 -0
- package/integrations/openclaw/skills/agentmemory-rest-api/SKILL.md +49 -0
- package/integrations/openclaw/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/commit-context/EXAMPLES.md +71 -0
- package/integrations/openclaw/skills/commit-context/SKILL.md +64 -0
- package/integrations/openclaw/skills/commit-context/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/commit-history/EXAMPLES.md +71 -0
- package/integrations/openclaw/skills/commit-history/SKILL.md +62 -0
- package/integrations/openclaw/skills/commit-history/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/forget/EXAMPLES.md +40 -0
- package/integrations/openclaw/skills/forget/SKILL.md +73 -0
- package/integrations/openclaw/skills/forget/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/handoff/EXAMPLES.md +57 -0
- package/integrations/openclaw/skills/handoff/SKILL.md +75 -0
- package/integrations/openclaw/skills/handoff/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/lesson/SKILL.md +64 -0
- package/integrations/openclaw/skills/lesson/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/memory-discipline/SKILL.md +65 -0
- package/integrations/openclaw/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/recall/EXAMPLES.md +74 -0
- package/integrations/openclaw/skills/recall/SKILL.md +74 -0
- package/integrations/openclaw/skills/recall/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/recap/EXAMPLES.md +62 -0
- package/integrations/openclaw/skills/recap/SKILL.md +68 -0
- package/integrations/openclaw/skills/recap/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/remember/EXAMPLES.md +67 -0
- package/integrations/openclaw/skills/remember/SKILL.md +66 -0
- package/integrations/openclaw/skills/remember/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/session-history/EXAMPLES.md +59 -0
- package/integrations/openclaw/skills/session-history/SKILL.md +67 -0
- package/integrations/openclaw/skills/session-history/TROUBLESHOOTING.md +70 -0
- package/integrations/openclaw/skills/write-agentmemory-skill/SKILL.md +41 -0
- package/integrations/openclaw/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/LICENSE +190 -0
- package/integrations/pi/README.md +45 -51
- package/integrations/pi/dist/index.mjs +1379 -0
- package/integrations/pi/index.ts +139 -173
- package/integrations/pi/package.json +16 -6
- package/integrations/pi/security.ts +54 -22
- package/integrations/pi/skills/agentmemory-agents/REFERENCE.md +32 -0
- package/integrations/pi/skills/agentmemory-agents/SKILL.md +48 -0
- package/integrations/pi/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/agentmemory-architecture/SKILL.md +33 -0
- package/integrations/pi/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/agentmemory-config/REFERENCE.md +90 -0
- package/integrations/pi/skills/agentmemory-config/SKILL.md +78 -0
- package/integrations/pi/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/agentmemory-hooks/REFERENCE.md +20 -0
- package/integrations/pi/skills/agentmemory-hooks/SKILL.md +49 -0
- package/integrations/pi/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/agentmemory-mcp-tools/REFERENCE.md +66 -0
- package/integrations/pi/skills/agentmemory-mcp-tools/SKILL.md +42 -0
- package/integrations/pi/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/agentmemory-rest-api/REFERENCE.md +158 -0
- package/integrations/pi/skills/agentmemory-rest-api/SKILL.md +49 -0
- package/integrations/pi/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/commit-context/EXAMPLES.md +71 -0
- package/integrations/pi/skills/commit-context/SKILL.md +64 -0
- package/integrations/pi/skills/commit-context/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/commit-history/EXAMPLES.md +71 -0
- package/integrations/pi/skills/commit-history/SKILL.md +62 -0
- package/integrations/pi/skills/commit-history/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/forget/EXAMPLES.md +40 -0
- package/integrations/pi/skills/forget/SKILL.md +73 -0
- package/integrations/pi/skills/forget/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/handoff/EXAMPLES.md +57 -0
- package/integrations/pi/skills/handoff/SKILL.md +75 -0
- package/integrations/pi/skills/handoff/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/lesson/SKILL.md +64 -0
- package/integrations/pi/skills/lesson/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/memory-discipline/SKILL.md +65 -0
- package/integrations/pi/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/recall/EXAMPLES.md +74 -0
- package/integrations/pi/skills/recall/SKILL.md +74 -0
- package/integrations/pi/skills/recall/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/recap/EXAMPLES.md +62 -0
- package/integrations/pi/skills/recap/SKILL.md +68 -0
- package/integrations/pi/skills/recap/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/remember/EXAMPLES.md +67 -0
- package/integrations/pi/skills/remember/SKILL.md +66 -0
- package/integrations/pi/skills/remember/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/session-history/EXAMPLES.md +59 -0
- package/integrations/pi/skills/session-history/SKILL.md +67 -0
- package/integrations/pi/skills/session-history/TROUBLESHOOTING.md +70 -0
- package/integrations/pi/skills/write-agentmemory-skill/SKILL.md +41 -0
- package/integrations/pi/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
- package/package.json +42 -12
- package/plugin/.claude-plugin/plugin.json +2 -2
- package/plugin/.codex-plugin/plugin.json +27 -4
- package/plugin/.devin-plugin/plugin.json +5 -3
- package/plugin/.mcp.codex.json +12 -0
- package/plugin/.mcp.copilot.json +2 -7
- package/plugin/.mcp.json +2 -7
- package/plugin/assets/icon.svg +35 -0
- package/plugin/cursor/hooks.json +23 -8
- package/plugin/hooks/hooks.copilot.json +11 -11
- package/plugin/hooks.json +67 -0
- package/plugin/opencode/README.md +267 -31
- package/plugin/opencode/agentmemory-capture.ts +594 -11
- package/plugin/opencode/plugin.json +1 -1
- package/plugin/plugin.json +1 -1
- package/plugin/scripts/_capture.d.mts +25 -0
- package/plugin/scripts/_capture.d.mts.map +1 -0
- package/plugin/scripts/_capture.mjs +944 -0
- package/plugin/scripts/_capture.mjs.map +1 -0
- package/plugin/scripts/antigravity-bridge.d.mts +1 -1
- package/plugin/scripts/antigravity-bridge.d.mts.map +1 -1
- package/plugin/scripts/antigravity-bridge.mjs +24 -15
- package/plugin/scripts/antigravity-bridge.mjs.map +1 -1
- package/plugin/scripts/cursor/run-detached.d.mts +1 -0
- package/plugin/scripts/cursor/run-detached.mjs +786 -0
- package/plugin/scripts/cursor/run-detached.mjs.map +1 -0
- package/plugin/scripts/cursor/run-hook.d.mts +1 -0
- package/plugin/scripts/cursor/run-hook.mjs +704 -0
- package/plugin/scripts/cursor/run-hook.mjs.map +1 -0
- package/plugin/scripts/notification.mjs +35 -29
- package/plugin/scripts/notification.mjs.map +1 -1
- package/plugin/scripts/plugin-bridge.mjs +409 -0
- package/plugin/scripts/post-commit.mjs +91 -1
- package/plugin/scripts/post-commit.mjs.map +1 -1
- package/plugin/scripts/post-tool-failure.mjs +71 -29
- package/plugin/scripts/post-tool-failure.mjs.map +1 -1
- package/plugin/scripts/post-tool-use.mjs +99 -39
- package/plugin/scripts/post-tool-use.mjs.map +1 -1
- package/plugin/scripts/pre-compact.mjs +113 -6
- package/plugin/scripts/pre-compact.mjs.map +1 -1
- package/plugin/scripts/pre-tool-use.mjs +91 -1
- package/plugin/scripts/pre-tool-use.mjs.map +1 -1
- package/plugin/scripts/prompt-submit.mjs +25 -25
- package/plugin/scripts/prompt-submit.mjs.map +1 -1
- package/plugin/scripts/session-end.mjs +67 -31
- package/plugin/scripts/session-end.mjs.map +1 -1
- package/plugin/scripts/session-start.mjs +110 -6
- package/plugin/scripts/session-start.mjs.map +1 -1
- package/plugin/scripts/stop.mjs +80 -8
- package/plugin/scripts/stop.mjs.map +1 -1
- package/plugin/scripts/subagent-start.mjs +28 -29
- package/plugin/scripts/subagent-start.mjs.map +1 -1
- package/plugin/scripts/subagent-stop.mjs +33 -29
- package/plugin/scripts/subagent-stop.mjs.map +1 -1
- package/plugin/scripts/task-completed.mjs +31 -31
- package/plugin/scripts/task-completed.mjs.map +1 -1
- package/plugin/skills/_shared/TROUBLESHOOTING.md +42 -12
- package/plugin/skills/agentmemory-agents/REFERENCE.md +10 -9
- package/plugin/skills/agentmemory-agents/SKILL.md +19 -5
- package/plugin/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/agentmemory-architecture/SKILL.md +4 -4
- package/plugin/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/agentmemory-config/REFERENCE.md +48 -3
- package/plugin/skills/agentmemory-config/SKILL.md +51 -10
- package/plugin/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/agentmemory-hooks/SKILL.md +15 -5
- package/plugin/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/agentmemory-mcp-tools/REFERENCE.md +5 -5
- package/plugin/skills/agentmemory-mcp-tools/SKILL.md +6 -3
- package/plugin/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/agentmemory-rest-api/REFERENCE.md +18 -2
- package/plugin/skills/agentmemory-rest-api/SKILL.md +12 -6
- package/plugin/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/commit-context/SKILL.md +1 -1
- package/plugin/skills/commit-context/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/commit-history/SKILL.md +1 -1
- package/plugin/skills/commit-history/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/forget/EXAMPLES.md +19 -54
- package/plugin/skills/forget/SKILL.md +16 -12
- package/plugin/skills/forget/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/handoff/EXAMPLES.md +5 -4
- package/plugin/skills/handoff/SKILL.md +13 -6
- package/plugin/skills/handoff/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/lesson/SKILL.md +1 -1
- package/plugin/skills/lesson/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/memory-discipline/SKILL.md +14 -6
- package/plugin/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/recall/SKILL.md +18 -7
- package/plugin/skills/recall/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/recap/EXAMPLES.md +5 -3
- package/plugin/skills/recap/SKILL.md +11 -6
- package/plugin/skills/recap/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/remember/EXAMPLES.md +3 -3
- package/plugin/skills/remember/SKILL.md +1 -1
- package/plugin/skills/remember/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/session-history/EXAMPLES.md +2 -2
- package/plugin/skills/session-history/SKILL.md +10 -4
- package/plugin/skills/session-history/TROUBLESHOOTING.md +70 -0
- package/plugin/skills/write-agentmemory-skill/SKILL.md +2 -1
- package/plugin/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
- package/dist/connect-Qaeq15TQ.mjs.map +0 -1
- package/dist/docker-compose.yml +0 -47
- package/dist/iii-config.docker.yaml +0 -53
- package/dist/iii-config.yaml +0 -61
- package/dist/image-refs-BKLmp_sD.mjs.map +0 -1
- package/dist/image-refs-CJgZmb9X.mjs.map +0 -1
- package/dist/keyed-mutex-DTHtcZrt.mjs.map +0 -1
- package/dist/logger-BEB7pCI9.mjs +0 -43
- package/dist/logger-BEB7pCI9.mjs.map +0 -1
- package/dist/schema-BFZhNTF7.mjs.map +0 -1
- package/dist/src-G7yt8gGm.mjs.map +0 -1
- package/dist/standalone-BqNJDJ04.mjs.map +0 -1
- package/dist/tools-registry-BV_2bu7z.mjs +0 -1405
- package/dist/tools-registry-BV_2bu7z.mjs.map +0 -1
- package/docker-compose.yml +0 -47
- package/iii-config.docker.yaml +0 -53
- package/iii-config.yaml +0 -61
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentmemory/agentmemory",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.31",
|
|
4
4
|
"description": "Persistent memory for AI coding agents, powered by iii-engine's three primitives",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
@@ -17,19 +17,43 @@
|
|
|
17
17
|
"agentmemory": "dist/cli.mjs"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "tsdown &&
|
|
20
|
+
"build": "tsdown && rm -f dist/iii-config.yaml dist/iii-config.docker.yaml dist/docker-compose.yml && (cp .env.example dist/ 2>/dev/null || true) && mkdir -p dist/viewer && cp src/viewer/index.html dist/viewer/ && cp src/viewer/favicon.svg dist/viewer/",
|
|
21
21
|
"dev": "tsx src/index.ts",
|
|
22
22
|
"start": "node dist/cli.mjs",
|
|
23
23
|
"migrate": "node dist/functions/migrate.js",
|
|
24
|
+
"pretest": "npm run build",
|
|
24
25
|
"test": "vitest run --exclude test/integration.test.ts",
|
|
25
26
|
"test:watch": "vitest --exclude test/integration.test.ts",
|
|
26
27
|
"test:integration": "vitest run test/integration.test.ts",
|
|
27
28
|
"test:all": "vitest run",
|
|
29
|
+
"test:vector-recovery:packaged": "node scripts/release-gate/vector-recovery.mjs",
|
|
30
|
+
"test:startup:packaged": "node scripts/release-gate/startup.mjs",
|
|
31
|
+
"test:summary-recovery:packaged": "node scripts/release-gate/summary-recovery.mjs",
|
|
32
|
+
"test:cli-diagnostics:packaged": "node scripts/release-gate/cli-diagnostics.mjs",
|
|
33
|
+
"test:graph-index:packaged": "node scripts/release-gate/graph-index.mjs",
|
|
34
|
+
"test:skills:packaged": "node scripts/release-gate/skills.mjs",
|
|
35
|
+
"test:openclaw:packaged": "node scripts/release-gate/openclaw.mjs",
|
|
36
|
+
"release:gate": "node scripts/release-gate/run.mjs",
|
|
37
|
+
"release:prepare": "node scripts/release/publish.mjs prepare",
|
|
38
|
+
"release:publish": "node scripts/release/publish.mjs publish",
|
|
28
39
|
"skills:gen": "tsx scripts/skills/generate.ts",
|
|
40
|
+
"engine:hashes": "node scripts/engine-hashes.mjs",
|
|
29
41
|
"skills:check": "tsx scripts/skills/generate.ts --check && tsx scripts/skills/check.ts",
|
|
42
|
+
"docs:sync": "tsx scripts/docs-sync.ts",
|
|
43
|
+
"docs:check": "tsx scripts/docs-sync.ts --check",
|
|
44
|
+
"plugin:pack:codex": "npm run build && node scripts/plugins/package-codex.mjs",
|
|
45
|
+
"plugin:pack:pi": "tsdown --filter pi-extension && node scripts/plugins/prepare-native.mjs && node -e \"require('node:fs').mkdirSync('dist/plugins', { recursive: true })\" && npm pack ./integrations/pi --pack-destination dist/plugins",
|
|
46
|
+
"plugin:verify:published": "node scripts/plugins/verify-published.mjs",
|
|
47
|
+
"test:plugin:live": "node scripts/plugins/test-live.mjs",
|
|
30
48
|
"bench:load": "node --import tsx benchmark/load-100k.ts",
|
|
31
|
-
"
|
|
32
|
-
"eval:
|
|
49
|
+
"bench:capture-costs": "node --import tsx benchmark/capture-costs.ts",
|
|
50
|
+
"eval:longmemeval": "node --import tsx eval/runner/longmemeval.ts",
|
|
51
|
+
"eval:coding-life": "node --import tsx eval/runner/coding-life.ts",
|
|
52
|
+
"eval:lifecycle": "node --import tsx eval/runner/lifecycle.ts",
|
|
53
|
+
"eval:recall": "node --import tsx eval/runner/recall-quality.ts",
|
|
54
|
+
"eval:check": "tsc --noEmit --project tsconfig.eval.json && vitest run test/eval-adapters.test.ts test/eval-integrity.test.ts",
|
|
55
|
+
"prepack": "node scripts/plugins/prepare-native.mjs",
|
|
56
|
+
"plugin:pack:openclaw": "node scripts/plugins/prepare-native.mjs && mkdir -p dist/plugins && npm pack ./integrations/openclaw --pack-destination dist/plugins"
|
|
33
57
|
},
|
|
34
58
|
"keywords": [
|
|
35
59
|
"ai",
|
|
@@ -44,11 +68,12 @@
|
|
|
44
68
|
],
|
|
45
69
|
"files": [
|
|
46
70
|
"dist/",
|
|
71
|
+
"!dist/plugins/**",
|
|
47
72
|
"plugin/",
|
|
48
73
|
"integrations/pi/",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
74
|
+
"integrations/omp/",
|
|
75
|
+
"integrations/hermes/",
|
|
76
|
+
"integrations/openclaw/",
|
|
52
77
|
".env.example",
|
|
53
78
|
"LICENSE",
|
|
54
79
|
"README.md",
|
|
@@ -64,10 +89,13 @@
|
|
|
64
89
|
"@anthropic-ai/claude-agent-sdk": "^0.3.142",
|
|
65
90
|
"@anthropic-ai/sdk": "^0.100.1",
|
|
66
91
|
"@clack/prompts": "^1.2.0",
|
|
67
|
-
"dotenv": "^
|
|
68
|
-
"iii-
|
|
92
|
+
"dotenv": "^18.0.3",
|
|
93
|
+
"@iii-dev/helpers": "0.25.0",
|
|
94
|
+
"iii-sdk": "0.25.0",
|
|
69
95
|
"picocolors": "^1.1.1",
|
|
70
|
-
"zod": "^4.0.0"
|
|
96
|
+
"zod": "^4.0.0",
|
|
97
|
+
"yaml": "^2.8.1",
|
|
98
|
+
"json5": "^2.2.3"
|
|
71
99
|
},
|
|
72
100
|
"optionalDependencies": {
|
|
73
101
|
"@huggingface/transformers": "^4.2.0",
|
|
@@ -75,11 +103,13 @@
|
|
|
75
103
|
"tiny-segmenter": "^0.2.0"
|
|
76
104
|
},
|
|
77
105
|
"devDependencies": {
|
|
78
|
-
"@types/node": "^
|
|
106
|
+
"@types/node": "^26.6.2",
|
|
107
|
+
"sigstore": "4.1.1",
|
|
79
108
|
"tsdown": "^0.21.10",
|
|
80
109
|
"tsx": "^4.19.0",
|
|
81
110
|
"typescript": "^6.0.3",
|
|
82
|
-
"vitest": "^4.1.6"
|
|
111
|
+
"vitest": "^4.1.6",
|
|
112
|
+
"ws": "^8.21.0"
|
|
83
113
|
},
|
|
84
114
|
"overrides": {
|
|
85
115
|
"qs": "^6.15.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentmemory",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 12 hooks, 54 MCP tools,
|
|
3
|
+
"version": "0.9.31",
|
|
4
|
+
"description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 12 hooks, 54 MCP tools, 17 skills, real-time viewer.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Rohit Ghumare",
|
|
7
7
|
"url": "https://github.com/rohitg00"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentmemory",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.9.31",
|
|
4
|
+
"description": "Local persistent memory for coding agents. Recall decisions, resume sessions, learn from corrections, and manage memory through 54 MCP tools and 17 skills. Optional capture through 6 Codex hooks.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Rohit Ghumare",
|
|
7
7
|
"url": "https://github.com/rohitg00"
|
|
@@ -10,6 +10,29 @@
|
|
|
10
10
|
"homepage": "https://github.com/rohitg00/agentmemory",
|
|
11
11
|
"repository": "https://github.com/rohitg00/agentmemory",
|
|
12
12
|
"skills": "./skills/",
|
|
13
|
-
"mcpServers": "./.mcp.json",
|
|
14
|
-
"hooks": "./hooks/hooks.codex.json"
|
|
13
|
+
"mcpServers": "./.mcp.codex.json",
|
|
14
|
+
"hooks": "./hooks/hooks.codex.json",
|
|
15
|
+
"interface": {
|
|
16
|
+
"displayName": "Agent Memory",
|
|
17
|
+
"shortDescription": "Memory across coding sessions",
|
|
18
|
+
"longDescription": "Recall past decisions, resume work, save useful context, and learn from corrections across your coding sessions using one local Agent Memory daemon. Includes search, session history, lessons, graph queries, memory maintenance, export, and deletion workflows. Requires Node.js 20+ and a running Agent Memory daemon. Basic keyword recall needs no model key. Embeddings and model-based features require configuration; external providers may receive selected data when enabled. Automatic capture requires trusted, supported hooks. Designed for local Codex sessions.",
|
|
19
|
+
"developerName": "Rohit Ghumare",
|
|
20
|
+
"websiteURL": "https://www.agent-memory.dev",
|
|
21
|
+
"privacyPolicyURL": "https://www.agent-memory.dev/privacy",
|
|
22
|
+
"supportURL": "https://github.com/rohitg00/agentmemory/issues",
|
|
23
|
+
"category": "Developer Tools",
|
|
24
|
+
"capabilities": ["Local persistent memory", "Session handoff", "Lessons and recall", "Memory management"],
|
|
25
|
+
"defaultPrompt": [
|
|
26
|
+
"Check my local Agent Memory connection and explain which features are enabled.",
|
|
27
|
+
"Recall decisions relevant to this repository, with the evidence for each.",
|
|
28
|
+
"Resume the latest session for this repository and show the recorded next step."
|
|
29
|
+
],
|
|
30
|
+
"logo": "./assets/icon.svg",
|
|
31
|
+
"composerIcon": "./assets/icon.svg"
|
|
32
|
+
},
|
|
33
|
+
"extensions": {
|
|
34
|
+
"com.openai": {
|
|
35
|
+
"onboardingSkill": "./skills/agentmemory-config/SKILL.md"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
15
38
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentmemory",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"displayName": "agentmemory",
|
|
4
|
+
"version": "0.9.31",
|
|
5
|
+
"description": "Persistent memory for Devin CLI and Devin Desktop. Captures every session automatically, recalls with hybrid BM25 + vector + graph search, and exposes 54 memory tools over MCP. Keyless by default, runs on your machine. Not supported in cloud sessions.",
|
|
6
|
+
"logo": "assets/icon.svg",
|
|
5
7
|
"author": {
|
|
6
8
|
"name": "Rohit Ghumare",
|
|
7
9
|
"email": "ghumare64@gmail.com"
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
"command": "npx",
|
|
22
24
|
"args": [
|
|
23
25
|
"-y",
|
|
24
|
-
"@agentmemory/mcp"
|
|
26
|
+
"@agentmemory/mcp@0.9.31"
|
|
25
27
|
],
|
|
26
28
|
"env": {
|
|
27
29
|
"AGENTMEMORY_URL": "${AGENTMEMORY_URL:-http://localhost:3111}",
|
package/plugin/.mcp.copilot.json
CHANGED
|
@@ -2,13 +2,8 @@
|
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"agentmemory": {
|
|
4
4
|
"type": "local",
|
|
5
|
-
"command": "
|
|
6
|
-
"args": ["-
|
|
7
|
-
"env": {
|
|
8
|
-
"AGENTMEMORY_URL": "${AGENTMEMORY_URL:-http://localhost:3111}",
|
|
9
|
-
"AGENTMEMORY_SECRET": "${AGENTMEMORY_SECRET:-}",
|
|
10
|
-
"AGENTMEMORY_TOOLS": "${AGENTMEMORY_TOOLS:-all}"
|
|
11
|
-
},
|
|
5
|
+
"command": "node",
|
|
6
|
+
"args": ["${COPILOT_PLUGIN_ROOT}/scripts/plugin-bridge.mjs"],
|
|
12
7
|
"tools": ["*"]
|
|
13
8
|
}
|
|
14
9
|
}
|
package/plugin/.mcp.json
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mcpServers": {
|
|
3
3
|
"agentmemory": {
|
|
4
|
-
"command": "
|
|
5
|
-
"args": ["-
|
|
6
|
-
"env": {
|
|
7
|
-
"AGENTMEMORY_URL": "${AGENTMEMORY_URL:-http://localhost:3111}",
|
|
8
|
-
"AGENTMEMORY_SECRET": "${AGENTMEMORY_SECRET:-}",
|
|
9
|
-
"AGENTMEMORY_TOOLS": "${AGENTMEMORY_TOOLS:-all}"
|
|
10
|
-
}
|
|
4
|
+
"command": "node",
|
|
5
|
+
"args": ["${CLAUDE_PLUGIN_ROOT}/scripts/plugin-bridge.mjs"]
|
|
11
6
|
}
|
|
12
7
|
}
|
|
13
8
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0%" stop-color="#FF6B35"/>
|
|
5
|
+
<stop offset="100%" stop-color="#FF8F5E"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
|
|
9
|
+
<rect width="64" height="64" rx="14" fill="#1A1A1A"/>
|
|
10
|
+
|
|
11
|
+
<!-- 4 memory tiers -->
|
|
12
|
+
<rect x="14" y="40" width="36" height="5" rx="2.5" fill="#333" opacity="0.5"/>
|
|
13
|
+
<rect x="14" y="33" width="36" height="5" rx="2.5" fill="#444" opacity="0.6"/>
|
|
14
|
+
<rect x="14" y="26" width="36" height="5" rx="2.5" fill="#555" opacity="0.7"/>
|
|
15
|
+
<rect x="14" y="19" width="36" height="5" rx="2.5" fill="url(#g)"/>
|
|
16
|
+
|
|
17
|
+
<!-- Active nodes on hot layer -->
|
|
18
|
+
<circle cx="22" cy="21.5" r="1.8" fill="#fff"/>
|
|
19
|
+
<circle cx="32" cy="21.5" r="1.8" fill="#fff"/>
|
|
20
|
+
<circle cx="42" cy="21.5" r="1.8" fill="#fff"/>
|
|
21
|
+
|
|
22
|
+
<!-- Retrieval lines converging up -->
|
|
23
|
+
<line x1="22" y1="19" x2="32" y2="12" stroke="#FF6B35" stroke-width="1" opacity="0.7"/>
|
|
24
|
+
<line x1="32" y1="19" x2="32" y2="12" stroke="#FF6B35" stroke-width="1" opacity="0.5"/>
|
|
25
|
+
<line x1="42" y1="19" x2="32" y2="12" stroke="#FF6B35" stroke-width="1" opacity="0.7"/>
|
|
26
|
+
|
|
27
|
+
<!-- Retrieval point -->
|
|
28
|
+
<circle cx="32" cy="11" r="3" fill="url(#g)"/>
|
|
29
|
+
<circle cx="32" cy="11" r="5" fill="none" stroke="#FF6B35" stroke-width="0.8" opacity="0.3"/>
|
|
30
|
+
|
|
31
|
+
<!-- Fading dots on lower tiers -->
|
|
32
|
+
<circle cx="25" cy="28.5" r="1" fill="#888" opacity="0.4"/>
|
|
33
|
+
<circle cx="39" cy="28.5" r="1" fill="#888" opacity="0.4"/>
|
|
34
|
+
<circle cx="32" cy="35.5" r="0.8" fill="#666" opacity="0.3"/>
|
|
35
|
+
</svg>
|
package/plugin/cursor/hooks.json
CHANGED
|
@@ -3,38 +3,53 @@
|
|
|
3
3
|
"hooks": {
|
|
4
4
|
"sessionStart": [
|
|
5
5
|
{
|
|
6
|
-
"command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/
|
|
6
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" sessionStart"
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"beforeSubmitPrompt": [
|
|
10
10
|
{
|
|
11
|
-
"command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/
|
|
11
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" beforeSubmitPrompt"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"preToolUse": [
|
|
15
15
|
{
|
|
16
|
-
"
|
|
17
|
-
"
|
|
16
|
+
"matcher": "Edit|Write|Read|Glob|Grep|Shell",
|
|
17
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" preToolUse"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"postToolUse": [
|
|
21
21
|
{
|
|
22
|
-
"command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/
|
|
22
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" postToolUse"
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
25
|
"postToolUseFailure": [
|
|
26
26
|
{
|
|
27
|
-
"command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/
|
|
27
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" postToolUseFailure"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"preCompact": [
|
|
31
|
+
{
|
|
32
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" preCompact"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"subagentStart": [
|
|
36
|
+
{
|
|
37
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" subagentStart"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"subagentStop": [
|
|
41
|
+
{
|
|
42
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" subagentStop"
|
|
28
43
|
}
|
|
29
44
|
],
|
|
30
45
|
"stop": [
|
|
31
46
|
{
|
|
32
|
-
"command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/
|
|
47
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-detached.mjs\" stop"
|
|
33
48
|
}
|
|
34
49
|
],
|
|
35
50
|
"sessionEnd": [
|
|
36
51
|
{
|
|
37
|
-
"command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/
|
|
52
|
+
"command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-detached.mjs\" sessionEnd"
|
|
38
53
|
}
|
|
39
54
|
]
|
|
40
55
|
}
|
|
@@ -4,68 +4,68 @@
|
|
|
4
4
|
"sessionStart": [
|
|
5
5
|
{
|
|
6
6
|
"type": "command",
|
|
7
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/session-start.mjs"
|
|
7
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/session-start.mjs\""
|
|
8
8
|
}
|
|
9
9
|
],
|
|
10
10
|
"userPromptSubmitted": [
|
|
11
11
|
{
|
|
12
12
|
"type": "command",
|
|
13
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/prompt-submit.mjs"
|
|
13
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/prompt-submit.mjs\""
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"preToolUse": [
|
|
17
17
|
{
|
|
18
18
|
"type": "command",
|
|
19
19
|
"matcher": "edit|write|create|read|view|glob|grep",
|
|
20
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/pre-tool-use.mjs"
|
|
20
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/pre-tool-use.mjs\""
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"postToolUse": [
|
|
24
24
|
{
|
|
25
25
|
"type": "command",
|
|
26
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/post-tool-use.mjs"
|
|
26
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/post-tool-use.mjs\""
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
"postToolUseFailure": [
|
|
30
30
|
{
|
|
31
31
|
"type": "command",
|
|
32
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/post-tool-failure.mjs"
|
|
32
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/post-tool-failure.mjs\""
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
35
|
"preCompact": [
|
|
36
36
|
{
|
|
37
37
|
"type": "command",
|
|
38
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/pre-compact.mjs"
|
|
38
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/pre-compact.mjs\""
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"agentStop": [
|
|
42
42
|
{
|
|
43
43
|
"type": "command",
|
|
44
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/stop.mjs"
|
|
44
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/stop.mjs\""
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
47
|
"sessionEnd": [
|
|
48
48
|
{
|
|
49
49
|
"type": "command",
|
|
50
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/session-end.mjs"
|
|
50
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/session-end.mjs\""
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
"subagentStart": [
|
|
54
54
|
{
|
|
55
55
|
"type": "command",
|
|
56
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/subagent-start.mjs"
|
|
56
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/subagent-start.mjs\""
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
59
|
"subagentStop": [
|
|
60
60
|
{
|
|
61
61
|
"type": "command",
|
|
62
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/subagent-stop.mjs"
|
|
62
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/subagent-stop.mjs\""
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
65
|
"notification": [
|
|
66
66
|
{
|
|
67
67
|
"type": "command",
|
|
68
|
-
"command": "node ${COPILOT_PLUGIN_ROOT}/scripts/notification.mjs"
|
|
68
|
+
"command": "node \"${COPILOT_PLUGIN_ROOT}/scripts/notification.mjs\""
|
|
69
69
|
}
|
|
70
70
|
]
|
|
71
71
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"SessionStart": [
|
|
4
|
+
{
|
|
5
|
+
"hooks": [
|
|
6
|
+
{
|
|
7
|
+
"type": "command",
|
|
8
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/session-start.mjs\""
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"UserPromptSubmit": [
|
|
14
|
+
{
|
|
15
|
+
"hooks": [
|
|
16
|
+
{
|
|
17
|
+
"type": "command",
|
|
18
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/prompt-submit.mjs\""
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"PreToolUse": [
|
|
24
|
+
{
|
|
25
|
+
"matcher": "^(exec|edit|write|read|apply_patch|grep|glob)$",
|
|
26
|
+
"hooks": [
|
|
27
|
+
{
|
|
28
|
+
"type": "command",
|
|
29
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/pre-tool-use.mjs\""
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"PostToolUse": [
|
|
35
|
+
{
|
|
36
|
+
"matcher": "",
|
|
37
|
+
"hooks": [
|
|
38
|
+
{
|
|
39
|
+
"type": "command",
|
|
40
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.mjs\""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"Stop": [
|
|
46
|
+
{
|
|
47
|
+
"matcher": "",
|
|
48
|
+
"hooks": [
|
|
49
|
+
{
|
|
50
|
+
"type": "command",
|
|
51
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/stop.mjs\""
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"SessionEnd": [
|
|
57
|
+
{
|
|
58
|
+
"hooks": [
|
|
59
|
+
{
|
|
60
|
+
"type": "command",
|
|
61
|
+
"command": "node \"${CLAUDE_PLUGIN_ROOT}/scripts/session-end.mjs\""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
}
|