diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.json index f9855b72..88f96c14 100644 --- a/plugin/hooks/hooks.json +++ b/plugin/hooks/hooks.json @@ -6,7 +6,7 @@ "hooks": [ { "type": "command", - "command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || node ${CLAUDE_PLUGIN_ROOT}/scripts/context-hook.js", + "command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/../node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/..\" && npm install && node ${CLAUDE_PLUGIN_ROOT}/scripts/context-hook.js || node ${CLAUDE_PLUGIN_ROOT}/scripts/context-hook.js", "timeout": 120 } ] diff --git a/plugin/scripts/package.json b/plugin/scripts/package.json deleted file mode 100644 index 90e2e40f..00000000 --- a/plugin/scripts/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "claude-mem-scripts", - "version": "4.0.5", - "type": "module", - "private": true, - "description": "Bundled hooks and dependencies for claude-mem plugin", - "dependencies": { - "better-sqlite3": "^11.0.0", - "pm2": "^5.3.0" - } -}