memindex 1.6.0 → 1.7.0

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 (33) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.qoder-plugin/plugin.json +1 -1
  5. package/dist/bug-report/index.js +1 -1
  6. package/dist/npx-cli/index.js +449 -449
  7. package/dist/opencode-plugin/index.js +1 -1
  8. package/integrations/dsh/package.json +1 -1
  9. package/integrations/openclaw/openclaw.plugin.json +1 -1
  10. package/package.json +1 -1
  11. package/plugin/.claude-plugin/plugin.json +1 -1
  12. package/plugin/.codex-plugin/plugin.json +1 -1
  13. package/plugin/.qoder-plugin/plugin.json +1 -1
  14. package/plugin/hooks/codex-hooks.json +14 -14
  15. package/plugin/hooks/hooks.json +8 -8
  16. package/plugin/hooks.json +4 -4
  17. package/plugin/package.json +1 -1
  18. package/plugin/scripts/context-generator.cjs +26 -25
  19. package/plugin/scripts/context-generator.cjs.map +2 -2
  20. package/plugin/scripts/hook-runner.cjs +248 -0
  21. package/plugin/scripts/hook-runner.cjs.map +6 -0
  22. package/plugin/scripts/mcp-server.cjs +99 -89
  23. package/plugin/scripts/mcp-server.cjs.map +2 -2
  24. package/plugin/scripts/qoder-hook-launcher.cjs +1 -1
  25. package/plugin/scripts/transcript-watcher.cjs +20 -20
  26. package/plugin/scripts/transcript-watcher.cjs.map +1 -1
  27. package/plugin/scripts/windows-hook-launcher.cjs +2 -2
  28. package/plugin/scripts/worker-service.cjs +643 -636
  29. package/plugin/scripts/worker-service.cjs.map +3 -3
  30. package/plugin/sqlite/SessionStore.js +83 -82
  31. package/plugin/sqlite/SessionStore.js.map +3 -3
  32. package/plugin/sqlite/observations/files.js +5 -5
  33. package/plugin/sqlite/observations/files.js.map +1 -1
package/plugin/hooks.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "PreInvocation": [
4
4
  {
5
5
  "type": "command",
6
- "command": "node -e ((p,s,r)=>{s(process.execPath,[p.join(r,\"scripts\",\"version-check.js\")],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:[\"ignore\",\"ignore\",\"inherit\"]});process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"worker-service.cjs\"),\"hook\",\"antigravity-cli\",\"session-init-context\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
6
+ "command": "node -e ((p,s,r)=>{s(process.execPath,[p.join(r,\"scripts\",\"version-check.js\")],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:[\"ignore\",\"ignore\",\"inherit\"]});process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"hook-runner.cjs\"),\"hook\",\"antigravity-cli\",\"session-init-context\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
7
7
  "timeout": 180
8
8
  }
9
9
  ],
@@ -13,7 +13,7 @@
13
13
  "hooks": [
14
14
  {
15
15
  "type": "command",
16
- "command": "node -e ((p,s,r)=>{process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"worker-service.cjs\"),\"hook\",\"antigravity-cli\",\"observation\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
16
+ "command": "node -e ((p,s,r)=>{process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"hook-runner.cjs\"),\"hook\",\"antigravity-cli\",\"observation\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
17
17
  "timeout": 30
18
18
  }
19
19
  ]
@@ -22,14 +22,14 @@
22
22
  "PostInvocation": [
23
23
  {
24
24
  "type": "command",
25
- "command": "node -e ((p,s,r)=>{process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"worker-service.cjs\"),\"hook\",\"antigravity-cli\",\"observation\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
25
+ "command": "node -e ((p,s,r)=>{process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"hook-runner.cjs\"),\"hook\",\"antigravity-cli\",\"observation\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
26
26
  "timeout": 30
27
27
  }
28
28
  ],
29
29
  "Stop": [
30
30
  {
31
31
  "type": "command",
32
- "command": "node -e ((p,s,r)=>{process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"worker-service.cjs\"),\"hook\",\"antigravity-cli\",\"summarize\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
32
+ "command": "node -e ((p,s,r)=>{process.exit(s(process.execPath,[p.join(r,\"scripts\",\"bun-runner.js\"),p.join(r,\"scripts\",\"hook-runner.cjs\"),\"hook\",\"antigravity-cli\",\"summarize\"],{env:{...process.env,CLAUDE_PLUGIN_ROOT:r,MEMINDEX_WORKER_SCRIPT_PATH:p.join(r,\"scripts\",\"worker-service.cjs\")},stdio:\"inherit\"}).status??1);})(require(\"node:path\"),require(\"node:child_process\").spawnSync,require(\"node:path\").join(require(\"node:os\").homedir(),\".gemini\",\"config\",\"plugins\",\"memindex\"))",
33
33
  "timeout": 30
34
34
  }
35
35
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memindex-plugin",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "private": true,
5
5
  "description": "Runtime dependencies for memindex bundled hooks",
6
6
  "type": "module",