Add the Manage plugins tab (ui-settings-plugin-manager): package cards
with enable/disable switches, retry and uninstall, an install dialog
streaming pnpm output, and the selected preset's composition with per-row
switches and removal; the read-only list gains provenance facts.
Settings cards edit one scope at a time: ui-settings keeps one describe
mirror per settings scope (SettingsMirrorRegistry) and binds
{ namespace, scope }; ui-settings-plugins stages forms per scope, marks
inherited fields, and adds the skill-filesystem roots card.
Fixes surfaced by driving the browser end to end: the client gateway now
lets a call omit trailing parameters that accept undefined (PR3's
optional scope arguments failed the strict arity check), the plugins
install verb is `add` because the client namespace service reserves
`install`/`remove` (guarded by remote-method-names.host.spec), a plugin
module offers its main export as an addable `.`, and describing a settings
scope no owner registered resolves over the global instance's base and
never throws.
The web e2e scaffold can mount a profile runtime over fixture packages;
plugin-manager.e2e drives the tab and writes one field under a preset
scope; plugin-config and settings-chrome goldens are refreshed.
49 lines
1.4 KiB
Markdown
49 lines
1.4 KiB
Markdown
- dialog "设置":
|
|
- navigation:
|
|
- text: 设置
|
|
- button "通用设置":
|
|
- img
|
|
- text: 通用设置
|
|
- button "模型":
|
|
- img
|
|
- text: 模型
|
|
- button "插件":
|
|
- img
|
|
- text: 插件
|
|
- button "Agent 预设":
|
|
- img
|
|
- text: Agent 预设
|
|
- button "打开配置文件"
|
|
- button "关闭":
|
|
- img
|
|
- text: 关闭
|
|
- heading "插件" [level=2]
|
|
- paragraph: 配置和查看本部署已安装的插件。
|
|
- tablist "插件视图":
|
|
- tab "插件配置" [selected]
|
|
- tab "插件管理"
|
|
- tab "插件列表"
|
|
- tabpanel "插件配置":
|
|
- text: 生效范围
|
|
- button "选择这些设置生效的 Agent 预设":
|
|
- text: 所有预设
|
|
- img
|
|
- paragraph: 这里的值对所有 Agent 预设生效,除非某个预设单独覆盖。
|
|
- list:
|
|
- listitem:
|
|
- 'button "展开设置: 终端"':
|
|
- text: 终端 限制 agent 运行的每一条命令。
|
|
- img
|
|
- listitem:
|
|
- 'button "展开设置: Agent 循环"':
|
|
- text: Agent 循环 Agent 如何派发工具调用。
|
|
- img
|
|
- listitem:
|
|
- 'button "展开设置: Subagent"':
|
|
- text: Subagent 控制 Agent 为 Subagent 选择模型的权限。
|
|
- img
|
|
- listitem:
|
|
- 'button "展开设置: 网页搜索"':
|
|
- text: 网页搜索 DeepSeek 搜索提供方。
|
|
- img
|