From 7ed166323c8ad030d8fa503e7cacb41b221ac635 Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Mon, 20 Oct 2025 17:55:39 -0400 Subject: [PATCH] fix: Update UserPromptSubmit hook to install better-sqlite3 with a message --- plugin/hooks/hooks.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.json index 3850a2ac..5a2e640b 100644 --- a/plugin/hooks/hooks.json +++ b/plugin/hooks/hooks.json @@ -22,12 +22,7 @@ "hooks": [ { "type": "command", - "command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || true", - "timeout": 60000 - }, - { - "type": "command", - "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/new-hook.js", + "command": "[ ! -d \"${CLAUDE_PLUGIN_ROOT}/scripts/node_modules\" ] && echo \"Installing better-sqlite3\" && cd \"${CLAUDE_PLUGIN_ROOT}/scripts\" && npm install || node ${CLAUDE_PLUGIN_ROOT}/scripts/new-hook.js", "timeout": 60000 } ]