@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.
Files changed (352) hide show
  1. package/.env.example +102 -35
  2. package/AGENTS.md +19 -26
  3. package/README.md +417 -525
  4. package/dist/.env.example +102 -35
  5. package/dist/cli.d.mts.map +1 -1
  6. package/dist/cli.mjs +2316 -655
  7. package/dist/cli.mjs.map +1 -1
  8. package/dist/compression-recovery-CnhLQC6N.mjs +5912 -0
  9. package/dist/compression-recovery-CnhLQC6N.mjs.map +1 -0
  10. package/dist/{connect-Qaeq15TQ.mjs → connect-BSLIAMpw.mjs} +900 -302
  11. package/dist/connect-BSLIAMpw.mjs.map +1 -0
  12. package/dist/hooks/_capture.d.mts +25 -0
  13. package/dist/hooks/_capture.d.mts.map +1 -0
  14. package/dist/hooks/_capture.mjs +944 -0
  15. package/dist/hooks/_capture.mjs.map +1 -0
  16. package/dist/hooks/antigravity-bridge.d.mts +1 -1
  17. package/dist/hooks/antigravity-bridge.d.mts.map +1 -1
  18. package/dist/hooks/antigravity-bridge.mjs +24 -15
  19. package/dist/hooks/antigravity-bridge.mjs.map +1 -1
  20. package/dist/hooks/notification.mjs +35 -29
  21. package/dist/hooks/notification.mjs.map +1 -1
  22. package/dist/hooks/post-commit.mjs +91 -1
  23. package/dist/hooks/post-commit.mjs.map +1 -1
  24. package/dist/hooks/post-tool-failure.mjs +71 -29
  25. package/dist/hooks/post-tool-failure.mjs.map +1 -1
  26. package/dist/hooks/post-tool-use.mjs +99 -39
  27. package/dist/hooks/post-tool-use.mjs.map +1 -1
  28. package/dist/hooks/pre-compact.mjs +113 -6
  29. package/dist/hooks/pre-compact.mjs.map +1 -1
  30. package/dist/hooks/pre-tool-use.mjs +91 -1
  31. package/dist/hooks/pre-tool-use.mjs.map +1 -1
  32. package/dist/hooks/prompt-submit.mjs +25 -25
  33. package/dist/hooks/prompt-submit.mjs.map +1 -1
  34. package/dist/hooks/session-end.mjs +67 -31
  35. package/dist/hooks/session-end.mjs.map +1 -1
  36. package/dist/hooks/session-start.mjs +110 -6
  37. package/dist/hooks/session-start.mjs.map +1 -1
  38. package/dist/hooks/stop.mjs +80 -8
  39. package/dist/hooks/stop.mjs.map +1 -1
  40. package/dist/hooks/subagent-start.mjs +28 -29
  41. package/dist/hooks/subagent-start.mjs.map +1 -1
  42. package/dist/hooks/subagent-stop.mjs +33 -29
  43. package/dist/hooks/subagent-stop.mjs.map +1 -1
  44. package/dist/hooks/task-completed.mjs +31 -31
  45. package/dist/hooks/task-completed.mjs.map +1 -1
  46. package/dist/{image-refs-BKLmp_sD.mjs → image-refs-BaT-9oMU.mjs} +2 -2
  47. package/dist/image-refs-BaT-9oMU.mjs.map +1 -0
  48. package/dist/{image-refs-CJgZmb9X.mjs → image-refs-Cyta4Lf9.mjs} +3 -3
  49. package/dist/image-refs-Cyta4Lf9.mjs.map +1 -0
  50. package/dist/{keyed-mutex-DTHtcZrt.mjs → image-store-BsN4vyjr.mjs} +2 -14
  51. package/dist/image-store-BsN4vyjr.mjs.map +1 -0
  52. package/dist/index.mjs +15180 -4119
  53. package/dist/index.mjs.map +1 -1
  54. package/dist/integrations/dsh.d.mts +55 -0
  55. package/dist/integrations/dsh.d.mts.map +1 -0
  56. package/dist/integrations/dsh.mjs +1145 -0
  57. package/dist/integrations/dsh.mjs.map +1 -0
  58. package/dist/{schema-BFZhNTF7.mjs → keyed-mutex-DCUh7PG-.mjs} +81 -8
  59. package/dist/keyed-mutex-DCUh7PG-.mjs.map +1 -0
  60. package/dist/secret-store-D9GwO0xp.mjs +2449 -0
  61. package/dist/secret-store-D9GwO0xp.mjs.map +1 -0
  62. package/dist/session-arguments-zxsbbd8y.mjs +113 -0
  63. package/dist/session-arguments-zxsbbd8y.mjs.map +1 -0
  64. package/dist/{src-G7yt8gGm.mjs → src-DaMtDzt_.mjs} +8320 -4260
  65. package/dist/src-DaMtDzt_.mjs.map +1 -0
  66. package/dist/{standalone-BqNJDJ04.mjs → standalone-BlqshyZ5.mjs} +246 -62
  67. package/dist/standalone-BlqshyZ5.mjs.map +1 -0
  68. package/dist/standalone.d.mts +1 -1
  69. package/dist/standalone.d.mts.map +1 -1
  70. package/dist/standalone.mjs +866 -78
  71. package/dist/standalone.mjs.map +1 -1
  72. package/dist/viewer/index.html +7394 -2816
  73. package/integrations/hermes/README.md +84 -0
  74. package/integrations/hermes/__init__.py +669 -0
  75. package/integrations/hermes/plugin.yaml +27 -0
  76. package/integrations/omp/LICENSE +190 -0
  77. package/integrations/omp/README.md +76 -0
  78. package/integrations/omp/capture.ts +1 -0
  79. package/integrations/omp/dist/index.mjs +1450 -0
  80. package/integrations/omp/index.ts +488 -0
  81. package/integrations/omp/package.json +13 -0
  82. package/integrations/omp/security.ts +67 -0
  83. package/integrations/omp/skills/agentmemory-agents/REFERENCE.md +32 -0
  84. package/integrations/omp/skills/agentmemory-agents/SKILL.md +48 -0
  85. package/integrations/omp/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
  86. package/integrations/omp/skills/agentmemory-architecture/SKILL.md +33 -0
  87. package/integrations/omp/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
  88. package/integrations/omp/skills/agentmemory-config/REFERENCE.md +90 -0
  89. package/integrations/omp/skills/agentmemory-config/SKILL.md +78 -0
  90. package/integrations/omp/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
  91. package/integrations/omp/skills/agentmemory-hooks/REFERENCE.md +20 -0
  92. package/integrations/omp/skills/agentmemory-hooks/SKILL.md +49 -0
  93. package/integrations/omp/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
  94. package/integrations/omp/skills/agentmemory-mcp-tools/REFERENCE.md +66 -0
  95. package/integrations/omp/skills/agentmemory-mcp-tools/SKILL.md +42 -0
  96. package/integrations/omp/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
  97. package/integrations/omp/skills/agentmemory-rest-api/REFERENCE.md +158 -0
  98. package/integrations/omp/skills/agentmemory-rest-api/SKILL.md +49 -0
  99. package/integrations/omp/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
  100. package/integrations/omp/skills/commit-context/EXAMPLES.md +71 -0
  101. package/integrations/omp/skills/commit-context/SKILL.md +64 -0
  102. package/integrations/omp/skills/commit-context/TROUBLESHOOTING.md +70 -0
  103. package/integrations/omp/skills/commit-history/EXAMPLES.md +71 -0
  104. package/integrations/omp/skills/commit-history/SKILL.md +62 -0
  105. package/integrations/omp/skills/commit-history/TROUBLESHOOTING.md +70 -0
  106. package/integrations/omp/skills/forget/EXAMPLES.md +40 -0
  107. package/integrations/omp/skills/forget/SKILL.md +73 -0
  108. package/integrations/omp/skills/forget/TROUBLESHOOTING.md +70 -0
  109. package/integrations/omp/skills/handoff/EXAMPLES.md +57 -0
  110. package/integrations/omp/skills/handoff/SKILL.md +75 -0
  111. package/integrations/omp/skills/handoff/TROUBLESHOOTING.md +70 -0
  112. package/integrations/omp/skills/lesson/SKILL.md +64 -0
  113. package/integrations/omp/skills/lesson/TROUBLESHOOTING.md +70 -0
  114. package/integrations/omp/skills/memory-discipline/SKILL.md +65 -0
  115. package/integrations/omp/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
  116. package/integrations/omp/skills/recall/EXAMPLES.md +74 -0
  117. package/integrations/omp/skills/recall/SKILL.md +74 -0
  118. package/integrations/omp/skills/recall/TROUBLESHOOTING.md +70 -0
  119. package/integrations/omp/skills/recap/EXAMPLES.md +62 -0
  120. package/integrations/omp/skills/recap/SKILL.md +68 -0
  121. package/integrations/omp/skills/recap/TROUBLESHOOTING.md +70 -0
  122. package/integrations/omp/skills/remember/EXAMPLES.md +67 -0
  123. package/integrations/omp/skills/remember/SKILL.md +66 -0
  124. package/integrations/omp/skills/remember/TROUBLESHOOTING.md +70 -0
  125. package/integrations/omp/skills/session-history/EXAMPLES.md +59 -0
  126. package/integrations/omp/skills/session-history/SKILL.md +67 -0
  127. package/integrations/omp/skills/session-history/TROUBLESHOOTING.md +70 -0
  128. package/integrations/omp/skills/write-agentmemory-skill/SKILL.md +41 -0
  129. package/integrations/omp/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
  130. package/integrations/openclaw/LICENSE +190 -0
  131. package/integrations/openclaw/README.md +88 -0
  132. package/integrations/openclaw/openclaw.plugin.json +71 -0
  133. package/integrations/openclaw/package.json +38 -0
  134. package/integrations/openclaw/plugin.mjs +425 -0
  135. package/integrations/openclaw/plugin.yaml +26 -0
  136. package/integrations/openclaw/skills/agentmemory-agents/REFERENCE.md +32 -0
  137. package/integrations/openclaw/skills/agentmemory-agents/SKILL.md +48 -0
  138. package/integrations/openclaw/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
  139. package/integrations/openclaw/skills/agentmemory-architecture/SKILL.md +33 -0
  140. package/integrations/openclaw/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
  141. package/integrations/openclaw/skills/agentmemory-config/REFERENCE.md +90 -0
  142. package/integrations/openclaw/skills/agentmemory-config/SKILL.md +78 -0
  143. package/integrations/openclaw/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
  144. package/integrations/openclaw/skills/agentmemory-hooks/REFERENCE.md +20 -0
  145. package/integrations/openclaw/skills/agentmemory-hooks/SKILL.md +49 -0
  146. package/integrations/openclaw/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
  147. package/integrations/openclaw/skills/agentmemory-mcp-tools/REFERENCE.md +66 -0
  148. package/integrations/openclaw/skills/agentmemory-mcp-tools/SKILL.md +42 -0
  149. package/integrations/openclaw/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
  150. package/integrations/openclaw/skills/agentmemory-rest-api/REFERENCE.md +158 -0
  151. package/integrations/openclaw/skills/agentmemory-rest-api/SKILL.md +49 -0
  152. package/integrations/openclaw/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
  153. package/integrations/openclaw/skills/commit-context/EXAMPLES.md +71 -0
  154. package/integrations/openclaw/skills/commit-context/SKILL.md +64 -0
  155. package/integrations/openclaw/skills/commit-context/TROUBLESHOOTING.md +70 -0
  156. package/integrations/openclaw/skills/commit-history/EXAMPLES.md +71 -0
  157. package/integrations/openclaw/skills/commit-history/SKILL.md +62 -0
  158. package/integrations/openclaw/skills/commit-history/TROUBLESHOOTING.md +70 -0
  159. package/integrations/openclaw/skills/forget/EXAMPLES.md +40 -0
  160. package/integrations/openclaw/skills/forget/SKILL.md +73 -0
  161. package/integrations/openclaw/skills/forget/TROUBLESHOOTING.md +70 -0
  162. package/integrations/openclaw/skills/handoff/EXAMPLES.md +57 -0
  163. package/integrations/openclaw/skills/handoff/SKILL.md +75 -0
  164. package/integrations/openclaw/skills/handoff/TROUBLESHOOTING.md +70 -0
  165. package/integrations/openclaw/skills/lesson/SKILL.md +64 -0
  166. package/integrations/openclaw/skills/lesson/TROUBLESHOOTING.md +70 -0
  167. package/integrations/openclaw/skills/memory-discipline/SKILL.md +65 -0
  168. package/integrations/openclaw/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
  169. package/integrations/openclaw/skills/recall/EXAMPLES.md +74 -0
  170. package/integrations/openclaw/skills/recall/SKILL.md +74 -0
  171. package/integrations/openclaw/skills/recall/TROUBLESHOOTING.md +70 -0
  172. package/integrations/openclaw/skills/recap/EXAMPLES.md +62 -0
  173. package/integrations/openclaw/skills/recap/SKILL.md +68 -0
  174. package/integrations/openclaw/skills/recap/TROUBLESHOOTING.md +70 -0
  175. package/integrations/openclaw/skills/remember/EXAMPLES.md +67 -0
  176. package/integrations/openclaw/skills/remember/SKILL.md +66 -0
  177. package/integrations/openclaw/skills/remember/TROUBLESHOOTING.md +70 -0
  178. package/integrations/openclaw/skills/session-history/EXAMPLES.md +59 -0
  179. package/integrations/openclaw/skills/session-history/SKILL.md +67 -0
  180. package/integrations/openclaw/skills/session-history/TROUBLESHOOTING.md +70 -0
  181. package/integrations/openclaw/skills/write-agentmemory-skill/SKILL.md +41 -0
  182. package/integrations/openclaw/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
  183. package/integrations/pi/LICENSE +190 -0
  184. package/integrations/pi/README.md +45 -51
  185. package/integrations/pi/dist/index.mjs +1379 -0
  186. package/integrations/pi/index.ts +139 -173
  187. package/integrations/pi/package.json +16 -6
  188. package/integrations/pi/security.ts +54 -22
  189. package/integrations/pi/skills/agentmemory-agents/REFERENCE.md +32 -0
  190. package/integrations/pi/skills/agentmemory-agents/SKILL.md +48 -0
  191. package/integrations/pi/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
  192. package/integrations/pi/skills/agentmemory-architecture/SKILL.md +33 -0
  193. package/integrations/pi/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
  194. package/integrations/pi/skills/agentmemory-config/REFERENCE.md +90 -0
  195. package/integrations/pi/skills/agentmemory-config/SKILL.md +78 -0
  196. package/integrations/pi/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
  197. package/integrations/pi/skills/agentmemory-hooks/REFERENCE.md +20 -0
  198. package/integrations/pi/skills/agentmemory-hooks/SKILL.md +49 -0
  199. package/integrations/pi/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
  200. package/integrations/pi/skills/agentmemory-mcp-tools/REFERENCE.md +66 -0
  201. package/integrations/pi/skills/agentmemory-mcp-tools/SKILL.md +42 -0
  202. package/integrations/pi/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
  203. package/integrations/pi/skills/agentmemory-rest-api/REFERENCE.md +158 -0
  204. package/integrations/pi/skills/agentmemory-rest-api/SKILL.md +49 -0
  205. package/integrations/pi/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
  206. package/integrations/pi/skills/commit-context/EXAMPLES.md +71 -0
  207. package/integrations/pi/skills/commit-context/SKILL.md +64 -0
  208. package/integrations/pi/skills/commit-context/TROUBLESHOOTING.md +70 -0
  209. package/integrations/pi/skills/commit-history/EXAMPLES.md +71 -0
  210. package/integrations/pi/skills/commit-history/SKILL.md +62 -0
  211. package/integrations/pi/skills/commit-history/TROUBLESHOOTING.md +70 -0
  212. package/integrations/pi/skills/forget/EXAMPLES.md +40 -0
  213. package/integrations/pi/skills/forget/SKILL.md +73 -0
  214. package/integrations/pi/skills/forget/TROUBLESHOOTING.md +70 -0
  215. package/integrations/pi/skills/handoff/EXAMPLES.md +57 -0
  216. package/integrations/pi/skills/handoff/SKILL.md +75 -0
  217. package/integrations/pi/skills/handoff/TROUBLESHOOTING.md +70 -0
  218. package/integrations/pi/skills/lesson/SKILL.md +64 -0
  219. package/integrations/pi/skills/lesson/TROUBLESHOOTING.md +70 -0
  220. package/integrations/pi/skills/memory-discipline/SKILL.md +65 -0
  221. package/integrations/pi/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
  222. package/integrations/pi/skills/recall/EXAMPLES.md +74 -0
  223. package/integrations/pi/skills/recall/SKILL.md +74 -0
  224. package/integrations/pi/skills/recall/TROUBLESHOOTING.md +70 -0
  225. package/integrations/pi/skills/recap/EXAMPLES.md +62 -0
  226. package/integrations/pi/skills/recap/SKILL.md +68 -0
  227. package/integrations/pi/skills/recap/TROUBLESHOOTING.md +70 -0
  228. package/integrations/pi/skills/remember/EXAMPLES.md +67 -0
  229. package/integrations/pi/skills/remember/SKILL.md +66 -0
  230. package/integrations/pi/skills/remember/TROUBLESHOOTING.md +70 -0
  231. package/integrations/pi/skills/session-history/EXAMPLES.md +59 -0
  232. package/integrations/pi/skills/session-history/SKILL.md +67 -0
  233. package/integrations/pi/skills/session-history/TROUBLESHOOTING.md +70 -0
  234. package/integrations/pi/skills/write-agentmemory-skill/SKILL.md +41 -0
  235. package/integrations/pi/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
  236. package/package.json +42 -12
  237. package/plugin/.claude-plugin/plugin.json +2 -2
  238. package/plugin/.codex-plugin/plugin.json +27 -4
  239. package/plugin/.devin-plugin/plugin.json +5 -3
  240. package/plugin/.mcp.codex.json +12 -0
  241. package/plugin/.mcp.copilot.json +2 -7
  242. package/plugin/.mcp.json +2 -7
  243. package/plugin/assets/icon.svg +35 -0
  244. package/plugin/cursor/hooks.json +23 -8
  245. package/plugin/hooks/hooks.copilot.json +11 -11
  246. package/plugin/hooks.json +67 -0
  247. package/plugin/opencode/README.md +267 -31
  248. package/plugin/opencode/agentmemory-capture.ts +594 -11
  249. package/plugin/opencode/plugin.json +1 -1
  250. package/plugin/plugin.json +1 -1
  251. package/plugin/scripts/_capture.d.mts +25 -0
  252. package/plugin/scripts/_capture.d.mts.map +1 -0
  253. package/plugin/scripts/_capture.mjs +944 -0
  254. package/plugin/scripts/_capture.mjs.map +1 -0
  255. package/plugin/scripts/antigravity-bridge.d.mts +1 -1
  256. package/plugin/scripts/antigravity-bridge.d.mts.map +1 -1
  257. package/plugin/scripts/antigravity-bridge.mjs +24 -15
  258. package/plugin/scripts/antigravity-bridge.mjs.map +1 -1
  259. package/plugin/scripts/cursor/run-detached.d.mts +1 -0
  260. package/plugin/scripts/cursor/run-detached.mjs +786 -0
  261. package/plugin/scripts/cursor/run-detached.mjs.map +1 -0
  262. package/plugin/scripts/cursor/run-hook.d.mts +1 -0
  263. package/plugin/scripts/cursor/run-hook.mjs +704 -0
  264. package/plugin/scripts/cursor/run-hook.mjs.map +1 -0
  265. package/plugin/scripts/notification.mjs +35 -29
  266. package/plugin/scripts/notification.mjs.map +1 -1
  267. package/plugin/scripts/plugin-bridge.mjs +409 -0
  268. package/plugin/scripts/post-commit.mjs +91 -1
  269. package/plugin/scripts/post-commit.mjs.map +1 -1
  270. package/plugin/scripts/post-tool-failure.mjs +71 -29
  271. package/plugin/scripts/post-tool-failure.mjs.map +1 -1
  272. package/plugin/scripts/post-tool-use.mjs +99 -39
  273. package/plugin/scripts/post-tool-use.mjs.map +1 -1
  274. package/plugin/scripts/pre-compact.mjs +113 -6
  275. package/plugin/scripts/pre-compact.mjs.map +1 -1
  276. package/plugin/scripts/pre-tool-use.mjs +91 -1
  277. package/plugin/scripts/pre-tool-use.mjs.map +1 -1
  278. package/plugin/scripts/prompt-submit.mjs +25 -25
  279. package/plugin/scripts/prompt-submit.mjs.map +1 -1
  280. package/plugin/scripts/session-end.mjs +67 -31
  281. package/plugin/scripts/session-end.mjs.map +1 -1
  282. package/plugin/scripts/session-start.mjs +110 -6
  283. package/plugin/scripts/session-start.mjs.map +1 -1
  284. package/plugin/scripts/stop.mjs +80 -8
  285. package/plugin/scripts/stop.mjs.map +1 -1
  286. package/plugin/scripts/subagent-start.mjs +28 -29
  287. package/plugin/scripts/subagent-start.mjs.map +1 -1
  288. package/plugin/scripts/subagent-stop.mjs +33 -29
  289. package/plugin/scripts/subagent-stop.mjs.map +1 -1
  290. package/plugin/scripts/task-completed.mjs +31 -31
  291. package/plugin/scripts/task-completed.mjs.map +1 -1
  292. package/plugin/skills/_shared/TROUBLESHOOTING.md +42 -12
  293. package/plugin/skills/agentmemory-agents/REFERENCE.md +10 -9
  294. package/plugin/skills/agentmemory-agents/SKILL.md +19 -5
  295. package/plugin/skills/agentmemory-agents/TROUBLESHOOTING.md +70 -0
  296. package/plugin/skills/agentmemory-architecture/SKILL.md +4 -4
  297. package/plugin/skills/agentmemory-architecture/TROUBLESHOOTING.md +70 -0
  298. package/plugin/skills/agentmemory-config/REFERENCE.md +48 -3
  299. package/plugin/skills/agentmemory-config/SKILL.md +51 -10
  300. package/plugin/skills/agentmemory-config/TROUBLESHOOTING.md +70 -0
  301. package/plugin/skills/agentmemory-hooks/SKILL.md +15 -5
  302. package/plugin/skills/agentmemory-hooks/TROUBLESHOOTING.md +70 -0
  303. package/plugin/skills/agentmemory-mcp-tools/REFERENCE.md +5 -5
  304. package/plugin/skills/agentmemory-mcp-tools/SKILL.md +6 -3
  305. package/plugin/skills/agentmemory-mcp-tools/TROUBLESHOOTING.md +70 -0
  306. package/plugin/skills/agentmemory-rest-api/REFERENCE.md +18 -2
  307. package/plugin/skills/agentmemory-rest-api/SKILL.md +12 -6
  308. package/plugin/skills/agentmemory-rest-api/TROUBLESHOOTING.md +70 -0
  309. package/plugin/skills/commit-context/SKILL.md +1 -1
  310. package/plugin/skills/commit-context/TROUBLESHOOTING.md +70 -0
  311. package/plugin/skills/commit-history/SKILL.md +1 -1
  312. package/plugin/skills/commit-history/TROUBLESHOOTING.md +70 -0
  313. package/plugin/skills/forget/EXAMPLES.md +19 -54
  314. package/plugin/skills/forget/SKILL.md +16 -12
  315. package/plugin/skills/forget/TROUBLESHOOTING.md +70 -0
  316. package/plugin/skills/handoff/EXAMPLES.md +5 -4
  317. package/plugin/skills/handoff/SKILL.md +13 -6
  318. package/plugin/skills/handoff/TROUBLESHOOTING.md +70 -0
  319. package/plugin/skills/lesson/SKILL.md +1 -1
  320. package/plugin/skills/lesson/TROUBLESHOOTING.md +70 -0
  321. package/plugin/skills/memory-discipline/SKILL.md +14 -6
  322. package/plugin/skills/memory-discipline/TROUBLESHOOTING.md +70 -0
  323. package/plugin/skills/recall/SKILL.md +18 -7
  324. package/plugin/skills/recall/TROUBLESHOOTING.md +70 -0
  325. package/plugin/skills/recap/EXAMPLES.md +5 -3
  326. package/plugin/skills/recap/SKILL.md +11 -6
  327. package/plugin/skills/recap/TROUBLESHOOTING.md +70 -0
  328. package/plugin/skills/remember/EXAMPLES.md +3 -3
  329. package/plugin/skills/remember/SKILL.md +1 -1
  330. package/plugin/skills/remember/TROUBLESHOOTING.md +70 -0
  331. package/plugin/skills/session-history/EXAMPLES.md +2 -2
  332. package/plugin/skills/session-history/SKILL.md +10 -4
  333. package/plugin/skills/session-history/TROUBLESHOOTING.md +70 -0
  334. package/plugin/skills/write-agentmemory-skill/SKILL.md +2 -1
  335. package/plugin/skills/write-agentmemory-skill/TROUBLESHOOTING.md +70 -0
  336. package/dist/connect-Qaeq15TQ.mjs.map +0 -1
  337. package/dist/docker-compose.yml +0 -47
  338. package/dist/iii-config.docker.yaml +0 -53
  339. package/dist/iii-config.yaml +0 -61
  340. package/dist/image-refs-BKLmp_sD.mjs.map +0 -1
  341. package/dist/image-refs-CJgZmb9X.mjs.map +0 -1
  342. package/dist/keyed-mutex-DTHtcZrt.mjs.map +0 -1
  343. package/dist/logger-BEB7pCI9.mjs +0 -43
  344. package/dist/logger-BEB7pCI9.mjs.map +0 -1
  345. package/dist/schema-BFZhNTF7.mjs.map +0 -1
  346. package/dist/src-G7yt8gGm.mjs.map +0 -1
  347. package/dist/standalone-BqNJDJ04.mjs.map +0 -1
  348. package/dist/tools-registry-BV_2bu7z.mjs +0 -1405
  349. package/dist/tools-registry-BV_2bu7z.mjs.map +0 -1
  350. package/docker-compose.yml +0 -47
  351. package/iii-config.docker.yaml +0 -53
  352. 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.29",
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 && (cp iii-config.yaml dist/ 2>/dev/null || true) && (cp iii-config.docker.yaml dist/ 2>/dev/null || true) && (cp docker-compose.yml dist/ 2>/dev/null || true) && (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/",
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
- "eval:longmemeval": "tsx eval/runner/longmemeval.ts",
32
- "eval:coding-life": "tsx eval/runner/coding-life.ts"
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
- "iii-config.yaml",
50
- "iii-config.docker.yaml",
51
- "docker-compose.yml",
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": "^17.4.2",
68
- "iii-sdk": "0.11.2",
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": "^25.9.1",
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.29",
4
- "description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 12 hooks, 54 MCP tools, 8 skills, real-time viewer.",
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.29",
4
- "description": "Persistent memory for AI coding agents -- captures tool usage, compresses via LLM, injects context into future sessions. 6 hooks, 54 MCP tools, 8 skills, real-time viewer.",
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
- "version": "0.9.29",
4
- "description": "Persistent memory for AI coding agents. Captures sessions, recalls with hybrid BM25 + vector + graph search, and exposes 54 memory tools over MCP. Keyless by default, runs on your machine.",
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}",
@@ -0,0 +1,12 @@
1
+ {
2
+ "mcpServers": {
3
+ "agentmemory": {
4
+ "command": "node",
5
+ "args": ["scripts/plugin-bridge.mjs"],
6
+ "cwd": ".",
7
+ "env_vars": ["AGENTMEMORY_URL", "AGENTMEMORY_SECRET"],
8
+ "startup_timeout_sec": 20,
9
+ "tool_timeout_sec": 30
10
+ }
11
+ }
12
+ }
@@ -2,13 +2,8 @@
2
2
  "mcpServers": {
3
3
  "agentmemory": {
4
4
  "type": "local",
5
- "command": "npx",
6
- "args": ["-y", "@agentmemory/mcp"],
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": "npx",
5
- "args": ["-y", "@agentmemory/mcp"],
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>
@@ -3,38 +3,53 @@
3
3
  "hooks": {
4
4
  "sessionStart": [
5
5
  {
6
- "command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/session-start.mjs"
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/prompt-submit.mjs"
11
+ "command": "node \"${CURSOR_PLUGIN_ROOT}/plugin/scripts/cursor/run-hook.mjs\" beforeSubmitPrompt"
12
12
  }
13
13
  ],
14
14
  "preToolUse": [
15
15
  {
16
- "command": "node ${CURSOR_PLUGIN_ROOT}/plugin/scripts/pre-tool-use.mjs",
17
- "matcher": "Shell|Read|Write|Grep"
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/post-tool-use.mjs"
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/post-tool-failure.mjs"
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/stop.mjs"
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/session-end.mjs"
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
+ }