-
由 Will Chen 提交于
## Summary - Adds a `SessionStart` hook to `.claude/settings.json` that runs `npm install` automatically when a Claude Code session starts - Ensures dependencies are always up to date at the beginning of each session - Uses a 60-second timeout ## Test plan - [ ] Start a new Claude Code session and verify `npm install` runs automatically - [ ] Verify the hook doesn't block session startup if it completes within 60s #skip-bugbot
🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2458"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a SessionStart hook to .claude/settings.json to run npm install when a Claude Code session starts. This keeps dependencies current and uses a 60s timeout so startup isn’t blocked. <sup>Written for commit 30bc4980b2cc211c7fd358d0f779bec333480f01. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by:Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>