From aab1c5c4e00871f136a99a986de8d65d9e797627 Mon Sep 17 00:00:00 2001 From: Suzumiya Date: Tue, 15 Sep 2026 20:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=9D=E8=80=83=E8=BF=87=E7=A8=8B=E7=A7=BB?= =?UTF-8?q?=E5=88=B0=E6=B6=88=E6=81=AF=E6=B5=81=E4=B8=8A=E6=96=B9=EF=BC=9B?= =?UTF-8?q?=E4=BF=AE=20latch=20=E8=B7=AF=E5=BE=84=E4=B8=8D=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E6=97=B6=E5=8D=A0=E7=94=A8=E5=88=9D=E5=A7=8B=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=AF=BC=E8=87=B4=E9=A6=96=E9=A1=B5=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E8=A2=AB=E4=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ai-game-creator-shell/src/App.tsx | 4 +- .../ProjectSupervisorView.tsx | 44 +++++++++---------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index f561b85e8..a65717054 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -6906,7 +6906,9 @@ export function App({ return; } if (localProject.projectPath !== latch.projectPath) { - claimInitialSupervisorMessageForPage(latch.projectPath); + // 不能在这里先"占用"这条初始消息:项目路径可能因为分隔符/大小写/时序先落到别的 + // 路径上,一旦占用,真正匹配的项目就再也不会收到这条消息,用户的输入被静默丢掉。 + // 这里只等待,占用留给下面真正要发送的那一步。 return; } if ( diff --git a/apps/ai-game-creator-shell/src/features/project-workspace/ProjectSupervisorView.tsx b/apps/ai-game-creator-shell/src/features/project-workspace/ProjectSupervisorView.tsx index a0f965ca2..6bead003f 100644 --- a/apps/ai-game-creator-shell/src/features/project-workspace/ProjectSupervisorView.tsx +++ b/apps/ai-game-creator-shell/src/features/project-workspace/ProjectSupervisorView.tsx @@ -427,6 +427,28 @@ export function ProjectSupervisorView({ {`显示更早 · 还有 ${hiddenConversationCount} 条对话`} ) : null} + {showDesignReasoning && + designReasoningEntries + .filter((entry) => !entry.messageId) + .map((entry) => ( +
+ 思考过程 +
{entry.text}
+
+ ))} + {showDesignReasoning && designReasoning ? ( +
+ 思考过程 +
{designReasoning}
+
+ ) : null} {visibleMessages.map((message, index) => { const anchoredToolCalls = message.messageId ? (toolCallsByAnchor.get(message.messageId) ?? []) @@ -471,28 +493,6 @@ export function ProjectSupervisorView({ className="message-tool-call" /> ) : null} - {showDesignReasoning && - designReasoningEntries - .filter((entry) => !entry.messageId) - .map((entry) => ( -
- 思考过程 -
{entry.text}
-
- ))} - {showDesignReasoning && designReasoning ? ( -
- 思考过程 -
{designReasoning}
-
- ) : null} {!directCodex && transientReply ? (