From 21382926dcac5e8dec47aa3a31428a8a2b632357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 19 Sep 2026 23:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E6=8E=89=E8=AE=BE=E8=AE=A1=20Agent=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E9=87=8C=E4=BC=A0=E7=BB=99=20App=20=E7=9A=84?= =?UTF-8?q?=E6=97=A0=E6=95=88=20agentDockVisible=20prop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - apps/ai-game-creator-shell/tests/appSurface/design-agent.suite.ts 四处 React.createElement(App, {...}) 不再传 agentDockVisible - agentDockVisible 是 ProjectDevelopmentView(工作台)的 prop,AppProps 里没有它,传了也不会生效;它替换掉的旧 orchestrationMode/projectSupervisorOnly 曾经是真实的 App prop,留着会让人误以为这里会隐藏 Agent dock --- .../tests/appSurface/design-agent.suite.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/ai-game-creator-shell/tests/appSurface/design-agent.suite.ts b/apps/ai-game-creator-shell/tests/appSurface/design-agent.suite.ts index db0d933fb..757ec75f8 100644 --- a/apps/ai-game-creator-shell/tests/appSurface/design-agent.suite.ts +++ b/apps/ai-game-creator-shell/tests/appSurface/design-agent.suite.ts @@ -109,7 +109,6 @@ export function registerDesignAgentSurfaceTests() { render( React.createElement(App, { initialProjectPath: harness.projectPath, - agentDockVisible: false, planningStartMode: true, }), ); @@ -155,7 +154,6 @@ export function registerDesignAgentSurfaceTests() { render( React.createElement(App, { initialProjectPath: harness.projectPath, - agentDockVisible: false, planningStartMode: true, }), ); @@ -194,7 +192,6 @@ export function registerDesignAgentSurfaceTests() { render( React.createElement(App, { initialProjectPath: harness.projectPath, - agentDockVisible: false, planningStartMode: true, }), ); @@ -243,7 +240,6 @@ export function registerDesignAgentSurfaceTests() { render( React.createElement(App, { initialProjectPath: harness.projectPath, - agentDockVisible: false, planningStartMode: true, }), );