Files
Genarrative/apps
lhk229 ab6070e8e3
Project CI / Backend tests (pull_request) Failing after 15s
Project CI / Repository checks (pull_request) Failing after 15s
Project CI / Frontend tests (pull_request) Successful in 3m39s
Project CI / Native shell tests (pull_request) Failing after 4m7s
首页加回做方案入口
master 的直连 Codex 改造把 HomeAgentMode 和「做游戏 / 做素材 / 做方案」模式栏
整个删了,合并后 startMode 在前端没有 planning 的来源,只能写死 direct-build。
立项策划链路的后端、prompt、澄清卡、审批卡都还在,但从首页够不着,CI 上
home.suite.ts 的两条 routes 做方案 用例也因此找不到按钮而挂。

不把三选一搬回来(那是 master 主动收掉的产品形态),只在输入框工具栏加一个
「做方案」开关:选中时 startMode 走 planning、提交按钮文案切成「进入立项策划」、
占位文案换成方案口径;不选中时与 master 的直连默认完全一致。
createHomeDraft / createHomeDraftAutomatically 改为由调用方传 startMode,
删掉 HOME_DRAFT_START_MODE 这个占位常量。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 04:31:52 +00:00
..
2026-07-17 16:56:46 +08:00