From fdb4cb8d317cbc956fb8272788146fb6e4aebffe Mon Sep 17 00:00:00 2001 From: Linghong Date: Sun, 6 Sep 2026 11:13:47 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE=E9=A1=B5?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=87=BA=E7=8E=B0=E8=BF=9E=E6=8E=A5=E4=B8=8E?= =?UTF-8?q?=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除运行时配置中的连接与工具入口及 External Editor 字段 更新 AppSurface 回归断言,确保普通客户端不展示该入口 --- .../runtime-config/RuntimeConfigDialog.tsx | 59 ------------------- .../appSurface/runtime-settings.suite.ts | 12 +--- 2 files changed, 3 insertions(+), 68 deletions(-) diff --git a/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx b/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx index 8cd344cea..b88d59449 100644 --- a/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx +++ b/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx @@ -1,6 +1,5 @@ import { Bot, - Cable, CheckCircle2, CircleAlert, Info, @@ -102,7 +101,6 @@ function formatAccountCredentialState( type RuntimeSettingsSection = | 'general' | 'agents' - | 'connections' | 'extensions' | 'advanced' | 'about'; @@ -127,12 +125,6 @@ const runtimeSettingsSections = [ description: '查看各角色运行状态', icon: Bot, }, - { - id: 'connections', - label: '连接与工具', - description: '外部服务', - icon: Cable, - }, { id: 'extensions', label: '扩展', @@ -917,57 +909,6 @@ export function RuntimeConfigDialog({ 普通用户无需配置服务连接信息。 ) : null} - {activeSection === 'connections' ? ( -
-
-
-

外部连接

-

配置图片编辑器使用的外部服务

-
-
- {advancedExternalEditorConfigEnabled ? ( -
- - -
- ) : null} -
- ) : null} {activeSection === 'extensions' ? (