feat: make Plan mode available for all users (#2625)
## Summary
- Move the Plan mode option outside the `isProEnabled` conditional so
it's accessible to all users
- Agent v2 remains Pro-only
- Plan mode allows users to design and plan before building, which is
valuable for all users
## Test plan
- [ ] Verify Plan mode appears in the chat mode selector for non-Pro
users
- [ ] Verify Agent v2 only appears for Pro users
- [ ] Verify both modes work correctly when selected
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2625"
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 -->
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Made Plan mode available to all users in the chat mode selector, and
allowed plan-only flows to run without Pro while Agent v2 remains
Pro-only.
Exiting Plan now requires explicit user confirmation before switching to
implementation.
<sup>Written for commit 7c2749bfbffca819792f962b99c5c4e13aba7c99.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by:
Will Chen <willchen90@gmail.com>
Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论