fix: Update UserPromptSubmit hook to install better-sqlite3 with a message
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user