start-vibing-stacks 2.7.3 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/setup.js
CHANGED
|
@@ -217,7 +217,7 @@ export async function setupProject(projectDir, config, options = {}) {
|
|
|
217
217
|
hooks: [
|
|
218
218
|
{
|
|
219
219
|
type: 'command',
|
|
220
|
-
command: 'npx tsx
|
|
220
|
+
command: 'npx tsx "$CLAUDE_PROJECT_DIR/.claude/hooks/user-prompt-submit.ts"',
|
|
221
221
|
timeout: 10,
|
|
222
222
|
},
|
|
223
223
|
],
|
|
@@ -228,7 +228,7 @@ export async function setupProject(projectDir, config, options = {}) {
|
|
|
228
228
|
hooks: [
|
|
229
229
|
{
|
|
230
230
|
type: 'command',
|
|
231
|
-
command: 'npx tsx
|
|
231
|
+
command: 'npx tsx "$CLAUDE_PROJECT_DIR/.claude/hooks/stop-validator.ts"',
|
|
232
232
|
timeout: 30,
|
|
233
233
|
},
|
|
234
234
|
],
|
package/package.json
CHANGED
|
@@ -77,8 +77,8 @@ console.log(JSON.stringify(result));
|
|
|
77
77
|
```json
|
|
78
78
|
{
|
|
79
79
|
"hooks": {
|
|
80
|
-
"Stop": [{ "hooks": [{ "type": "command", "command": "bash
|
|
81
|
-
"UserPromptSubmit": [{ "matcher": "", "hooks": [{ "type": "command", "command": "bash
|
|
80
|
+
"Stop": [{ "hooks": [{ "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/run-hook.sh\" stop-validator", "timeout": 30 }] }],
|
|
81
|
+
"UserPromptSubmit": [{ "matcher": "", "hooks": [{ "type": "command", "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/run-hook.sh\" user-prompt-submit", "timeout": 10 }] }]
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
```
|