diff --git a/.claude/settings.json b/.claude/settings.json index a333b40..0c4905b 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,5 +1,18 @@ { "worktree": { - "symlinkDirectories": ["node_modules"] + "symlinkDirectories": [] + }, + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "if [ ! -d node_modules ] || [ -L node_modules ]; then rm -f node_modules; pnpm install --frozen-lockfile; fi", + "statusMessage": "Checking dependencies..." + } + ] + } + ] } }