fix: Update version to 4.0.6 and remove redundant npm install commands from hooks

This commit is contained in:
Alex Newman
2025-10-20 17:57:23 -04:00
parent 7ed166323c
commit f60ee3b4f5
2 changed files with 1 additions and 21 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "claude-mem", "name": "claude-mem",
"version": "4.0.2", "version": "4.0.6",
"description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions",
"author": { "author": {
"name": "Alex Newman" "name": "Alex Newman"
-20
View File
@@ -4,11 +4,6 @@
"SessionStart": [ "SessionStart": [
{ {
"hooks": [ "hooks": [
{
"type": "command",
"command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || true",
"timeout": 60000
},
{ {
"type": "command", "type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/context-hook.js", "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/context-hook.js",
@@ -32,11 +27,6 @@
{ {
"matcher": "*", "matcher": "*",
"hooks": [ "hooks": [
{
"type": "command",
"command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || true",
"timeout": 60000
},
{ {
"type": "command", "type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/save-hook.js", "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/save-hook.js",
@@ -48,11 +38,6 @@
"Stop": [ "Stop": [
{ {
"hooks": [ "hooks": [
{
"type": "command",
"command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || true",
"timeout": 60000
},
{ {
"type": "command", "type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/summary-hook.js", "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/summary-hook.js",
@@ -64,11 +49,6 @@
"SessionEnd": [ "SessionEnd": [
{ {
"hooks": [ "hooks": [
{
"type": "command",
"command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || true",
"timeout": 60000
},
{ {
"type": "command", "type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/cleanup-hook.js", "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/cleanup-hook.js",