From c266ae7b50baa14e6f32453729499b64f7412fbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Tue, 15 Sep 2026 17:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E7=AD=96=E5=88=92=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E6=8F=90=E4=BA=A4=E5=90=8E=E7=9A=84=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E8=8D=89=E7=A8=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 规划 V2 提交时同步清空资源引用和 canonical content,避免切回 DirectProject 后复用旧输入。 --- apps/ai-game-creator-shell/src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index 77f4e14c0..777fa7ca7 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -11828,6 +11828,8 @@ export function App({ supervisorChatShouldFollowLatestRef.current = true; const clientTurnId = createAgentChatRunId('planning-v2-turn'); setChatInput(''); + setChatReferences([]); + setChatContent([]); setMessages((current) => [ ...current, {