From d2381488a54ca56b66f6cea61c32077de34eed72 Mon Sep 17 00:00:00 2001 From: Rick Ye Date: Thu, 10 Sep 2026 18:14:24 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=B2=BE=E7=AE=80=E6=A0=B8=E5=BF=83?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E9=A1=B5=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/desktop/src/main/plugins/builtin/browser.ts | 2 +- .../src/renderer/src/components/SettingsModal.tsx | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/desktop/src/main/plugins/builtin/browser.ts b/apps/desktop/src/main/plugins/builtin/browser.ts index 8c30770..76b29dd 100644 --- a/apps/desktop/src/main/plugins/builtin/browser.ts +++ b/apps/desktop/src/main/plugins/builtin/browser.ts @@ -15,7 +15,7 @@ export const browserPlugin: BuiltinPlugin = { minContract: '0.1.0', panel: true, order: 10, - description: '受管浏览器(CDP 驱动,Agent 可操作,右侧面板查看)' + description: '受管浏览器' }, main: (api) => { for (const tool of browserTools) { diff --git a/apps/desktop/src/renderer/src/components/SettingsModal.tsx b/apps/desktop/src/renderer/src/components/SettingsModal.tsx index 660c3d5..e905fdd 100644 --- a/apps/desktop/src/renderer/src/components/SettingsModal.tsx +++ b/apps/desktop/src/renderer/src/components/SettingsModal.tsx @@ -59,7 +59,7 @@ const PLACEHOLDER: Record = { const TAB_META: Record = { general: { title: '常规', desc: '主题色等外观偏好。' }, - corePlugins: { title: '核心插件', desc: '内置的第一方功能插件,按需开启或关闭;变更会重建 Agent 运行时,进行中的回合会被中断。' }, + corePlugins: { title: '核心插件', desc: '内置的第一方功能插件,官方维护' }, model: { title: '模型设置', desc: '' }, prompt: { title: '系统提示词', desc: '当前生效的 pi 原生系统提示词(含技能清单注入),只读。' }, plugins: { title: '插件', desc: PLACEHOLDER.plugins }, @@ -971,14 +971,7 @@ export function SettingsModal({ )} - {tab === 'corePlugins' && ( -
- -
- 开关立即生效(重建 Agent 运行时)。例如停用「浏览器」后,侧栏浏览器面板入口与全部 browser_* 工具将一并停用;重新开启即恢复。 -
-
- )} + {tab === 'corePlugins' && } {tab === 'prompt' && (