-
由 wwwillchen-bot 提交于
## Summary - Add comprehensive test suite for `readSettings()` covering all setting types including nested objects - Refactor `UserSettings` schema using Zod with proper nested objects (`chatMode.enabled`, `chatMode.mode`, `thinking.enabled`, `thinking.budget`) - Add migration path for legacy flat settings format to new nested structure ## Test plan - Run `npm test` to verify all 814 tests pass including new readSettings tests - Verify settings are properly loaded with both new nested format and legacy flat format
🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2676" target="_blank"> <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 --> --------- Co-authored-by:Will Chen <willchen90@gmail.com> Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| pro.ts | ||
| settings.ts |