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 ? (