fix(ui-settings-plugins): place Subagent after Agent loop

This commit is contained in:
Dudu-0223
2026-08-27 12:00:02 +08:00
parent d5787b1847
commit cbacceca4b
5 changed files with 14 additions and 14 deletions
@@ -24,10 +24,6 @@
- tab "插件列表"
- tabpanel "插件配置":
- list:
- listitem:
- 'button "展开设置: Subagent"':
- text: Subagent 控制 Agent 为 Subagent 选择模型的权限。
- img
- listitem:
- 'button "展开设置: 终端"':
- text: 终端 限制 agent 运行的每一条命令。
@@ -36,6 +32,10 @@
- 'button "展开设置: Agent 循环"':
- text: Agent 循环 Agent 如何派发工具调用。
- img
- listitem:
- 'button "展开设置: Subagent"':
- text: Subagent 控制 Agent 为 Subagent 选择模型的权限。
- img
- listitem:
- 'button "展开设置: 网页搜索"':
- text: 网页搜索 DeepSeek 搜索提供方。
+2 -2
View File
@@ -75,8 +75,8 @@ describe('web e2e: plugin configuration section', () => {
onTestFailed(() => saveFailureShot(page, 'web-e2e-plugin-config-cards'))
const dialog = await openPlugins()
// Every card the shipped web composition exposes: subagent selection, the
// shell executor, the agent loop, and the DeepSeek search provider.
// Every card the shipped web composition exposes: the shell executor, the
// agent loop, subagent selection, and the DeepSeek search provider.
await dialog.getByText('Subagent', { exact: true }).waitFor({ timeout: 10_000 })
expect(await dialog.getByRole('button', { name: '展开设置: Subagent' }).count()).toBe(1)
await dialog.getByText('终端', { exact: true }).waitFor({ timeout: 10_000 })