-
由 Mohamed Aziz Mejri 提交于
<!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a new Plan chat mode for guided requirements gathering and implementation planning, with a preview panel to review and accept plans, and an automatic handoff to Agent v2 when accepted. Plans can be saved as markdown when the user opts to persist and are retrievable per chat/app. - **New Features** - Plan chat mode with a focused system prompt and plan-only agent tools (planning_questionnaire, write_plan, exit_plan). - Persistent questionnaire UI above the chat input (text, radio, checkbox) and a Plan panel to view and accept the drafted plan. - IPC events (plan:update, plan:questionnaire, plan:exit) to stream plan updates, show questionnaires, and switch to implementation in a new chat on acceptance. - Optional persist toggle with file-based storage in .dyad/plans and CRUD IPC (create/get/update/delete, per app/chat). - Shortcut to implement a saved plan: /implement-plan=<plan-id>, with plan ID validation for safety. - **Migration** - Install dependency: @base-ui/react/radio-group. - Adds a Drizzle migration creating a plans table (0025_romantic_mantis.sql). - .dyad/ is automatically added to .gitignore. <sup>Written for commit f464e9ad242bf731068ce7b86efb48ae734ea8c4. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2370"> <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:
Claude Opus 4.5 <noreply@anthropic.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| VirtualFilesystem.ts | ||
| normalizePath.ts | ||
| ports.ts | ||
| tsc_types.ts | ||
| xmlEscape.ts |