From c616f2a91c5c2f69a7f32c0a936a94141b956cb2 Mon Sep 17 00:00:00 2001 From: Larsen Close Date: Wed, 28 Jan 2026 07:47:52 -0700 Subject: [PATCH] fix: correct hook paths from .claude/hooks to bin/hooks The session-start and post-action-suggestions hooks were configured with incorrect paths (.claude/hooks/) while all other hooks correctly use bin/hooks/. This causes MODULE_NOT_FOUND errors on SessionStart. Error seen: Cannot find module '/path/to/project/.claude/hooks/session-start.js' Both hooks are installed to bin/hooks/ by init, so the preset paths should match. --- lib/presets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/presets.js b/lib/presets.js index 7298092..b5a32a1 100644 --- a/lib/presets.js +++ b/lib/presets.js @@ -103,7 +103,7 @@ export const hookConfigurations = { event: 'SessionStart', config: { type: 'command', - command: 'node .claude/hooks/session-start.js', + command: 'node bin/hooks/session-start.js', timeout: 3, description: 'Intelligent context awareness - shows project status and suggests next steps' } @@ -114,7 +114,7 @@ export const hookConfigurations = { matcher: 'SlashCommand', config: { type: 'command', - command: 'node .claude/hooks/post-action-suggestions.js', + command: 'node bin/hooks/post-action-suggestions.js', timeout: 3, description: 'Smart suggestions for what to do next after slash commands' }