fix: Update command in SessionStart hook for correct node_modules path and remove package.json
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user