From 8178dd08c27622d50c9e5b70452003e4412d0224 Mon Sep 17 00:00:00 2001 From: Dudu-0223 Date: Fri, 30 Oct 2026 23:42:08 +0800 Subject: [PATCH] fix(team): align schema test budget and mode migration guidance --- .../v0.2.1-rc.2/session-team-mode/guide.i18n.yaml | 4 ++-- docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.md | 2 +- docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.zh.md | 2 +- scripts/persistence-epoch-header.spec.ts | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.i18n.yaml b/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.i18n.yaml index 7ca41a3b2e..badcbe4e11 100644 --- a/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.i18n.yaml +++ b/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.i18n.yaml @@ -12,5 +12,5 @@ en: 3ba5920179726841 zh: 940e0d956a523dbc /select-agent-teams-per-session/migration: - en: 972659e493910060 - zh: a7a87c7327b9b8fe + en: 7b6dc660602d9c3b + zh: 8f8459198300aa46 diff --git a/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.md b/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.md index ee068943c9..8f275535b6 100644 --- a/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.md +++ b/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.md @@ -16,7 +16,7 @@ Disabling Team retains tasks and subagents. Admitted task operations finish; que ## Migration 1. Start each existing profile once. Profile loading removes the retired `@deepseek-ai/dsh-experimental-agent-team-profile` bundle selection; the base and Web bundles supply its plugins. Keep `agent-team`, `tool-agent-team`, and `ui-agent-team` row overrides. Custom compositions replace package names `@deepseek-ai/dsh-experimental-agent-team`, `@deepseek-ai/dsh-experimental-tool-agent-team`, and `@deepseek-ai/dsh-experimental-client-ui-agent-team` with `@deepseek-ai/dsh-agent-team`, `@deepseek-ai/dsh-tool-agent-team`, and `@deepseek-ai/dsh-client-ui-agent-team`. -2. Enable **Use Agent Teams** in the root conversation’s model and reasoning menu, or execute `/team on`. Use `/team off` to disable it. +2. Toggle **Use Agent Teams** in the root conversation’s model and reasoning menu. The `/team on` and `/team off` commands are removed. 3. Verify that enabling shows shared tasks in the root conversation below the Subagent tree in the same panel and exposes four task tools. Reload the Session to confirm the saved selection. Re-enabling after disabling restores the existing tasks. Client plugin consumers replace `TeamActionProps` with `TeamBoardProps`; task content registers in `conversation.session.header.actions.subagent.footer` instead of the header actions slot. diff --git a/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.zh.md b/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.zh.md index 2768e06659..65f149a2f2 100644 --- a/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.zh.md +++ b/docs/upgrade-guide/v0.2.1-rc.2/session-team-mode/guide.zh.md @@ -16,7 +16,7 @@ Agent Teams 随基于 base 的 profile 提供;新 Session 默认关闭。插 ## 迁移 1. 启动每个已有 profile 一次。加载时会移除已停用的 `@deepseek-ai/dsh-experimental-agent-team-profile` 组合选项;base 与 Web 组合提供对应插件。保留 `agent-team`、`tool-agent-team` 与 `ui-agent-team` 行覆盖。自定义组合将包名 `@deepseek-ai/dsh-experimental-agent-team`、`@deepseek-ai/dsh-experimental-tool-agent-team`、`@deepseek-ai/dsh-experimental-client-ui-agent-team` 分别替换为 `@deepseek-ai/dsh-agent-team`、`@deepseek-ai/dsh-tool-agent-team`、`@deepseek-ai/dsh-client-ui-agent-team`。 -2. 在根会话的模型与推理等级菜单中打开**使用智能体团队**,或执行 `/team on`。使用 `/team off` 关闭。 +2. 在根会话的模型与推理等级菜单中切换**使用智能体团队**。`/team on` 与 `/team off` 命令已移除。 3. 在根会话中确认开启后通过 Subagent 入口在树下方查看共享任务板,并提供四个任务工具。重新加载 Session,确认选择已保存。关闭后再开启会恢复已有任务。 Client 插件消费者将 `TeamActionProps` 替换为 `TeamBoardProps`;任务内容注册到 `conversation.session.header.actions.subagent.footer`,而非页头操作插槽。 diff --git a/scripts/persistence-epoch-header.spec.ts b/scripts/persistence-epoch-header.spec.ts index c2fa09ffcc..358f573a2d 100644 --- a/scripts/persistence-epoch-header.spec.ts +++ b/scripts/persistence-epoch-header.spec.ts @@ -15,7 +15,8 @@ function property(nodes: readonly SchemaNode[], index: number, name: string): nu return field.type } -it('requires compatibility review before request headers can carry retired system text', { timeout: 60_000 }, () => { +// Whole-repository schema extraction needs the same budget as persistence-schema.spec.ts and Windows coverage. +it('requires compatibility review before request headers can carry retired system text', { timeout: 90_000 }, () => { const inventory = extractPersistenceSchema(resolve(import.meta.dirname, '..')) const before = inventory.roots.find(root => root.key === 'event:request/header') if (before === undefined) throw new Error('generated schema omits request/header')