style: 精简核心插件页文案

This commit is contained in:
Rick Ye
2026-09-10 18:14:24 +08:00
parent fdb5fe2ade
commit d2381488a5
2 changed files with 3 additions and 10 deletions
@@ -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) {
@@ -59,7 +59,7 @@ const PLACEHOLDER: Record<string, string> = {
const TAB_META: Record<Tab, { title: string; desc: string }> = {
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({
</div>
)}
{tab === 'corePlugins' && (
<div className="flex flex-col gap-3">
<CorePluginPanel togglingId={togglingId} onToggle={toggleCorePlugin} />
<div className="text-[11.5px] leading-5 text-ink-3">
开关立即生效(重建 Agent 运行时)。例如停用「浏览器」后,侧栏浏览器面板入口与全部 browser_* 工具将一并停用;重新开启即恢复。
</div>
</div>
)}
{tab === 'corePlugins' && <CorePluginPanel togglingId={togglingId} onToggle={toggleCorePlugin} />}
{tab === 'prompt' && (
<div className="flex h-full min-h-0 flex-col">