style: 精简核心插件页文案
This commit is contained in:
@@ -15,7 +15,7 @@ export const browserPlugin: BuiltinPlugin = {
|
|||||||
minContract: '0.1.0',
|
minContract: '0.1.0',
|
||||||
panel: true,
|
panel: true,
|
||||||
order: 10,
|
order: 10,
|
||||||
description: '受管浏览器(CDP 驱动,Agent 可操作,右侧面板查看)'
|
description: '受管浏览器'
|
||||||
},
|
},
|
||||||
main: (api) => {
|
main: (api) => {
|
||||||
for (const tool of browserTools) {
|
for (const tool of browserTools) {
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ const PLACEHOLDER: Record<string, string> = {
|
|||||||
|
|
||||||
const TAB_META: Record<Tab, { title: string; desc: string }> = {
|
const TAB_META: Record<Tab, { title: string; desc: string }> = {
|
||||||
general: { title: '常规', desc: '主题色等外观偏好。' },
|
general: { title: '常规', desc: '主题色等外观偏好。' },
|
||||||
corePlugins: { title: '核心插件', desc: '内置的第一方功能插件,按需开启或关闭;变更会重建 Agent 运行时,进行中的回合会被中断。' },
|
corePlugins: { title: '核心插件', desc: '内置的第一方功能插件,官方维护' },
|
||||||
model: { title: '模型设置', desc: '' },
|
model: { title: '模型设置', desc: '' },
|
||||||
prompt: { title: '系统提示词', desc: '当前生效的 pi 原生系统提示词(含技能清单注入),只读。' },
|
prompt: { title: '系统提示词', desc: '当前生效的 pi 原生系统提示词(含技能清单注入),只读。' },
|
||||||
plugins: { title: '插件', desc: PLACEHOLDER.plugins },
|
plugins: { title: '插件', desc: PLACEHOLDER.plugins },
|
||||||
@@ -971,14 +971,7 @@ export function SettingsModal({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{tab === 'corePlugins' && (
|
{tab === 'corePlugins' && <CorePluginPanel togglingId={togglingId} onToggle={toggleCorePlugin} />}
|
||||||
<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 === 'prompt' && (
|
{tab === 'prompt' && (
|
||||||
<div className="flex h-full min-h-0 flex-col">
|
<div className="flex h-full min-h-0 flex-col">
|
||||||
|
|||||||
Reference in New Issue
Block a user