@michengai/dsh-agency-agents 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,37 @@
2
2
 
3
3
  [简体中文](CHANGELOG.zh-CN.md)
4
4
 
5
- This file records features and upgrade boundaries. For version 1.0.0, npm and GitHub Releases remain the publication source of truth.
5
+ This file records features and upgrade boundaries. npm and GitHub Releases remain the publication source of truth.
6
+
7
+ ## 1.0.2 - 2026-09-22
8
+
9
+ ### Improvements
10
+
11
+ - Support DSH 0.1.7-alpha.1 while keeping previously supported versions. Expert and team settings follow the host's live configuration, and a one-time import recovers data left in `settings.yaml.imported`.
12
+ - Expert and team pickers show avatars. Custom experts no longer ask for a summon emoji.
13
+ - Team lists stay cached and update across the composer and settings when a team changes.
14
+ - Settings controls now use Ant Design bundled with the plugin. Light and dark follow the host. Buttons keep Ant Design's default blue. Expert and team counts sit on the tabs. The chat entry stays the original toolbar button. The client bundle is therefore larger than 1 MB; the published file is minified, and the check allows up to 1.5 MB.
15
+ - Team cards no longer offer “Copy prompt”. The coordinator prompt stays in team details and is not copied to the clipboard.
16
+
17
+ ### Fixes
18
+
19
+ - Menus use the host's translucent surface together with its backdrop blur, so text behind them is not readable through the panel.
20
+ - Detect the legacy settings API from the running host, not from this package's own older dependency.
21
+
22
+ ## 1.0.1 - 2026-09-21
23
+
24
+ ### Improvements
25
+
26
+ - Significantly reduced plugin size to improve loading of expert and team pages.
27
+ - Improved Chinese and English messages and consistency when switching languages.
28
+ - Updated feature screenshots and usage guidance.
29
+
30
+ ### Fixes
31
+
32
+ - Fixed separators disappearing when entering multiple tags.
33
+ - Fixed some experts unexpectedly losing their enabled state when enabling a team.
34
+ - Made validation messages clearer so fields needing attention are easier to find.
35
+ - Fixed issues with collaboration status display and compatibility with older DSH versions.
6
36
 
7
37
  ## 1.0.0 - 2026-09-21
8
38
 
@@ -2,7 +2,37 @@
2
2
 
3
3
  [English](CHANGELOG.md)
4
4
 
5
- 本文件记录版本功能与升级边界。1.0.0 的正式发布状态以 npm 和 GitHub Releases 为准。
5
+ 本文件记录版本功能与升级边界。正式发布状态以 npm 和 GitHub Releases 为准。
6
+
7
+ ## 1.0.2 - 2026-09-22
8
+
9
+ ### 体验优化
10
+
11
+ - 支持 DSH 0.1.7-alpha.1,并保留此前已支持的版本。专家和专家团设置跟随宿主的实时配置;若旧数据留在 `settings.yaml.imported`,会在配置仍为空时补写一次。
12
+ - 专家和专家团的选择菜单改为显示头像。新建自定义专家不再要求填写召唤图标。
13
+ - 专家团列表会缓存,并在聊天菜单和设置页之间保持同步。
14
+ - 设置页控件改为随插件打包的 Ant Design。亮暗跟随宿主,按钮主色保持 Ant Design 默认蓝。专家与专家团的数量写在页签上。聊天入口仍是原来的工具栏按钮。客户端因此超过 1 MB;发布包会压缩,校验上限为 1.5 MB。
15
+ - 专家团卡片不再提供「复制提示词」。团队提示词只在详情里查看,不能单独复制到剪贴板。
16
+
17
+ ### 问题修复
18
+
19
+ - 菜单同时使用宿主的半透明底色和背景模糊,背后的文字不再透出来。
20
+ - 是否仍使用旧设置接口,改为看当前宿主,而不是本包里可能更旧的依赖。
21
+
22
+ ## 1.0.1 - 2026-09-21
23
+
24
+ ### 体验优化
25
+
26
+ - 大幅缩减插件体积,优化专家与专家团页面加载。
27
+ - 完善中英文提示,语言切换后的显示更加一致。
28
+ - 更新功能截图和使用说明。
29
+
30
+ ### 问题修复
31
+
32
+ - 修复输入多个标签时分隔符丢失的问题。
33
+ - 修复启用专家团后,部分专家启用状态意外丢失的问题。
34
+ - 改善配置保存失败时的提示,更容易找到需要修改的字段。
35
+ - 修复部分协作状态显示和旧版 DSH 兼容问题。
6
36
 
7
37
  ## 1.0.0 - 2026-09-21
8
38
 
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-agency-agents.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-agency-agents)
16
16
  [![npm downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-agency-agents.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-agency-agents)
17
17
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-agency-agents)
18
- [![DSH supported through 0.1.6-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.1.6--alpha.2-2563eb.svg)](#prerequisites)
18
+ [![DSH supported through 0.1.7-alpha.1](https://img.shields.io/badge/DSH-up%20to%200.1.7--alpha.1-2563eb.svg)](#prerequisites)
19
19
  </div>
20
20
 
21
21
  > DSH Agency Agents is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
@@ -69,22 +69,26 @@ Retain `list_experts`, `summon_expert`, and `summon_experts`. Add `list_expert_t
69
69
  - Team configuration lives in the host `agency-agents` settings namespace. Keep drafts on edit conflicts and review the latest configuration. Disabling or deleting teams does not disable experts or delete historical conversations.
70
70
  - Experts cannot summon further experts or automatically add analysis rounds. Cancellation prevents queued starts; completed results and failures are reported separately.
71
71
 
72
- > This README describes the 1.0.0 release; npm and GitHub Releases determine publication status. See the [changelog](CHANGELOG.md) for the full changes and [release notes](RELEASE_NOTES.md) for the bilingual release description. Upgrades retain expert settings. Back up settings before downgrading because older versions do not support teams.
72
+ > This README describes version 1.0.2; npm and GitHub Releases determine publication status. See the [changelog](CHANGELOG.md) for the full changes and [release notes](RELEASE_NOTES.md) for the bilingual release description. Upgrades retain expert settings. Back up settings before downgrading because older versions do not support teams.
73
73
  ## Screenshots
74
74
 
75
- The individual-expert screenshots below illustrate earlier workflows. Version 1.0.0 unifies the controls and adds expert teams within the same settings page.
75
+ The screenshots below show the 1.0.0 interface in Chinese. Experts and expert teams share the same settings page.
76
76
 
77
77
  Filter by category or search in **Settings → Experts**, then enable the experts you need:
78
78
 
79
- ![DSH Experts panel](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/main/assets/screenshots/agent-roster.png)
79
+ ![DSH Experts panel](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/agent-roster.png)
80
80
 
81
- Use `@` or the composer's **Experts** picker to choose an enabled expert:
81
+ Switch to **Expert teams** to browse the five built-in teams, filter by status, or create a custom team:
82
82
 
83
- ![Experts picker](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/main/assets/screenshots/expert-picker.png)
83
+ ![Expert teams panel](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/expert-teams.png)
84
84
 
85
- The localized expert name is inserted as a short tag; write the complete task next:
85
+ Open team details to review its purpose, example tasks, and member responsibilities, then summon it or copy it for customization:
86
86
 
87
- ![Summoning an expert from the composer](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/main/assets/screenshots/summon-prompt.png)
87
+ ![Expert team details](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/expert-team-details.png)
88
+
89
+ When the host supports Agent Team and the feature is enabled, view team members and shared tasks in the native panel:
90
+
91
+ ![Native Agent Team panel](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/agent-team-panel.png)
88
92
 
89
93
  ## DSH product ecosystem
90
94
 
@@ -112,11 +116,11 @@ For a desktop workbench, download [DSH Codex Desktop](https://github.com/Micheng
112
116
 
113
117
  ## Host dependencies and compatibility
114
118
 
115
- DSH `dsh.client.inject` controls browser module loading order. Missing graph entries are skipped, and frozen modules need not exist as npm packages in a profile. Runtime / primitives entries remain for validated older RCs. Required peers such as `dsh-client-ui-slots` retain the runtime contract. Profiles with `auto-install-peers` disabled may report unmet peers; strict peer checks may also block installation. Check the host version and browser module availability rather than inferring runtime failure solely from the npm tree.
119
+ DSH `dsh.client.inject` controls browser module loading order. Missing graph entries are skipped, and frozen modules need not exist as npm packages in a profile. Settings controls bundle Ant Design with the plugin and no longer inject host primitives. Required peers such as `dsh-client-ui-slots` retain the runtime contract. Profiles with `auto-install-peers` disabled may report unmet peers; strict peer checks may also block installation. Check the host version and browser module availability rather than inferring runtime failure solely from the npm tree.
116
120
 
117
121
  ## Installation
118
122
 
119
- Supported DeepSeek Harness versions: `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, `0.1.5-rc.1`, `0.1.5-rc.2`, `0.1.6-alpha.1`, and `0.1.6-alpha.2`. The host is supplied by your existing CLI or Desktop installation; the plugin does not install another copy. Future host versions require separate compatibility validation.
123
+ Supported DeepSeek Harness versions: `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, `0.1.5-rc.1`, `0.1.5-rc.2`, `0.1.6-alpha.1`, `0.1.6-alpha.2`, and `0.1.7-alpha.1`. The host is supplied by your existing CLI or Desktop installation; the plugin does not install another copy. Future host versions require separate compatibility validation.
120
124
 
121
125
  The installation commands below use the official npm registry.
122
126
 
@@ -139,7 +143,7 @@ dsh plugin --profile web add @michengai/dsh-agency-agents@latest --registry=http
139
143
  dsh --profile web --dump-config
140
144
  ```
141
145
 
142
- To pin a release, replace `@latest` with a version such as `@1.0.0`.
146
+ To pin a release, replace `@latest` with a version such as `@1.0.1`.
143
147
 
144
148
  The configuration output should contain `agency-agents` and `agency-agents-remote`. Restart DSH Web and hard-refresh the browser. Do not copy client files manually: the Settings page needs the mounted Remote service.
145
149
 
@@ -149,7 +153,7 @@ The settings title shows the installed version and a **Check for updates** butto
149
153
 
150
154
  ## Usage
151
155
 
152
- 1. Open the composer **Experts** picker. It shows enabled experts in a compact list grouped by category, with emoji and names. Categories retain their original order, with experts sorted by their localized names within each category.
156
+ 1. Open the composer **Experts** picker. It shows enabled experts in a compact list grouped by category, with an avatar and a name on each row. Categories retain their original order, with experts sorted by their localized names within each category.
153
157
  2. Search the full roster by name, field or keyword, including disabled experts. One- or two-character English terms match whole words; terms of three or more characters also match word prefixes. Click a row to select it; disabled rows are marked **Enable and select**. Enabled experts also appear in the `@` shortcut list.
154
158
  3. The localized expert name is inserted as a short tag. Continue with the complete task. Selecting does not send the message or replace existing text or attachments.
155
159
 
@@ -812,7 +816,7 @@ Coverage includes expert/team filtering, creation, copying, editing, enablement,
812
816
 
813
817
  ## Custom experts
814
818
 
815
- Open Settings → Experts → New expert. Set a name, description, category and prompt, then choose an avatar and a separate summon emoji (default 🧩). Save and enable makes the expert immediately available through @ and the Experts button. Reference labels use the standard expert icon and plain name, matching built-in experts; the emoji appears in candidate menus. Copy a base expert to customize it, or edit, enable, disable and delete custom experts. Deletion permanently removes the expert content and enabled state; it cannot be undone.
819
+ Open Settings → Experts → New expert. Set a name, description, category, prompt, and avatar. Save and enable makes the expert immediately available through @ and the Experts button. Reference labels use the standard expert icon and plain name, matching built-in experts; candidate menus show avatars. Copy a base expert to customize it, or edit, enable, disable and delete custom experts. Deletion permanently removes the expert content and enabled state; it cannot be undone.
816
820
 
817
821
  Data lives in the DSH settings agency-agents namespace outside the plugin directory and survives upgrades. External root still replaces the base roster; custom experts are appended. Viewing, copying, and summoning nested experts use the actual file selected by the catalog. The limit is 200 existing custom experts. Deletion frees a slot; legacy soft-deleted records are cleaned up on startup and subsequent writes. Name conflicts introduced by a base catalog update remain visible in Settings for renaming or deletion, but conflicting experts cannot be summoned. Concurrent changes reject stale saves and keep the draft in the editor. Read and compare the latest content, choose to keep your draft or load that content, then save explicitly. Deleted experts can only be continued as new experts. Remove disabled draft references or re-enable the expert; remove and reselect deleted or conflicting references. Writes carry a revision; see the [Remote contract](src/remote-contract.ts). Back up current settings before downgrading: restoring custom data is separate from rolling back plugin code.
818
822
 
package/README.zh-CN.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-agency-agents.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-agency-agents)
16
16
  [![npm 下载量](https://img.shields.io/npm/dt/%40michengai%2Fdsh-agency-agents.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F)](https://www.npmjs.com/package/@michengai/dsh-agency-agents)
17
17
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-agency-agents)
18
- [![DSH 支持至 0.1.6-alpha.2](https://img.shields.io/badge/DSH-up%20to%200.1.6--alpha.2-2563eb.svg)](#前置条件)
18
+ [![DSH 支持至 0.1.7-alpha.1](https://img.shields.io/badge/DSH-up%20to%200.1.7--alpha.1-2563eb.svg)](#前置条件)
19
19
  </div>
20
20
 
21
21
  > DSH Agency Agents 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
@@ -69,22 +69,26 @@
69
69
  - 团队配置保存在宿主 `agency-agents` 命名空间。编辑冲突保留草稿并提示核对最新配置;停用或删除团队不会停用专家,也不会删除历史会话。
70
70
  - 专家不得继续召唤专家或自动追加分析轮次。取消会停止未启动任务;已有结果和失败原因分别报告。
71
71
 
72
- > 本 README 描述 1.0.0,正式发行以 npm 和 GitHub Releases 为准。完整改动见[更新日志](CHANGELOG.zh-CN.md),双语版本说明见[发行说明](RELEASE_NOTES.md)。升级保留已有专家配置;回退旧版前先备份设置,旧版不具备团队功能。
72
+ > 本 README 描述 1.0.2,正式发行以 npm 和 GitHub Releases 为准。完整改动见[更新日志](CHANGELOG.zh-CN.md),双语版本说明见[发行说明](RELEASE_NOTES.md)。升级保留已有专家配置;回退旧版前先备份设置,旧版不具备团队功能。
73
73
  ## 界面预览
74
74
 
75
- 以下个人专家截图保留操作示例,来自旧版;1.0.0 的控件已统一,并新增同页专家团入口。
75
+ 以下为 1.0.0 中文界面截图,专家与专家团共用同一个设置页面。
76
76
 
77
77
  在「设置 → 专家」中按分类筛选或搜索,再启用需要的专家:
78
78
 
79
- ![DSH 专家面板](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/main/assets/screenshots/agent-roster.png)
79
+ ![DSH 专家面板](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/agent-roster.png)
80
80
 
81
- 在输入框用 `@` 或「专家」选择已启用的专家:
81
+ 切换到「专家团」,浏览五个内置专家团、按状态筛选,或新建自定义专家团:
82
82
 
83
- ![专家选择器](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/main/assets/screenshots/expert-picker.png)
83
+ ![专家团面板](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/expert-teams.png)
84
84
 
85
- 回填当前语言的专家名称标签后,写出完整任务:
85
+ 打开团队详情,查看适用场景、任务示例和成员分工,再召唤团队或复制并自定义:
86
86
 
87
- ![召唤专家的输入方式](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/main/assets/screenshots/summon-prompt.png)
87
+ ![专家团详情](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/expert-team-details.png)
88
+
89
+ 宿主支持且已启用 Agent Team 时,可在原生面板查看团队成员和共享任务:
90
+
91
+ ![原生 Agent Team 面板](https://raw.githubusercontent.com/MichengAI/dsh-agency-agents/5cdbd07fda18075eab186aa972b47ab01451d244/assets/screenshots/agent-team-panel.png)
88
92
 
89
93
  ## DSH 产品生态
90
94
 
@@ -112,11 +116,11 @@
112
116
 
113
117
  ## 宿主依赖与兼容性
114
118
 
115
- DSH 的 `dsh.client.inject` 声明浏览器模块的加载顺序;宿主模块图中不存在的项会跳过,冻结模块也不一定对应 Profile 内的 npm 包。为兼容已验证的旧 RC,保留 runtime / primitives 条目。`dsh-client-ui-slots` 等 required peer 仍表达运行时契约;关闭 `auto-install-peers` 的 Profile 可能出现 unmet peer 提示,严格 peer 检查还可能阻止安装,需核对宿主版本及浏览器模块是否提供,不能据 npm 包树缺失直接判定运行失败。
119
+ DSH 的 `dsh.client.inject` 声明浏览器模块的加载顺序;宿主模块图中不存在的项会跳过,冻结模块也不一定对应 Profile 内的 npm 包。设置页控件随插件打包为 Ant Design,不再注入宿主 primitives。`dsh-client-ui-slots` 等 required peer 仍表达运行时契约;关闭 `auto-install-peers` 的 Profile 可能出现 unmet peer 提示,严格 peer 检查还可能阻止安装,需核对宿主版本及浏览器模块是否提供,不能据 npm 包树缺失直接判定运行失败。
116
120
 
117
121
  ## 安装
118
122
 
119
- 支持的 DeepSeek Harness 版本:`0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1`、`0.1.5-rc.2`、`0.1.6-alpha.1`、`0.1.6-alpha.2`。主程序由现有 CLI 或 Desktop 提供,插件不会另行安装;后续宿主版本需另行验证兼容性。
123
+ 支持的 DeepSeek Harness 版本:`0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1`、`0.1.5-rc.2`、`0.1.6-alpha.1`、`0.1.6-alpha.2`、`0.1.7-alpha.1`。主程序由现有 CLI 或 Desktop 提供,插件不会另行安装;后续宿主版本需另行验证兼容性。
120
124
 
121
125
  以下安装命令使用官方 npm 源。
122
126
 
@@ -139,7 +143,7 @@ dsh plugin --profile web add @michengai/dsh-agency-agents@latest --registry=http
139
143
  dsh --profile web --dump-config
140
144
  ```
141
145
 
142
- 需要钉死某一版时,把 `@latest` 换成具体版本,例如 `@1.0.0`。
146
+ 需要钉死某一版时,把 `@latest` 换成具体版本,例如 `@1.0.1`。
143
147
 
144
148
  配置输出中应包含 `agency-agents` 与 `agency-agents-remote`。安装后重启 DSH Web 并在浏览器硬刷新;请勿手工复制客户端文件,否则设置页所需的 Remote 服务不会被挂载。
145
149
 
@@ -149,7 +153,7 @@ dsh --profile web --dump-config
149
153
 
150
154
  ## 使用
151
155
 
152
- 1. 点击对话输入框的「专家」,默认按分类显示已启用专家,保留 Emoji 和专家名称的紧凑列表;分区顺序沿用旧版,分区内按当前语言名称排序。
156
+ 1. 点击对话输入框的「专家」,默认按分类显示已启用专家,每行是头像和专家名称;分区顺序沿用旧版,分区内按当前语言名称排序。
153
157
  2. 输入名称、领域或关键词即可搜索全部名册(英文 1–2 字符匹配完整词,3 字符起支持词首前缀),包含未启用专家。点击专家行即可选择;未启用项标记「启用并选择」,启用后也会出现在 `@` 快捷列表中。
154
158
  3. 当前语言的专家名称会以短标签写入输入框;在其后补充完整任务。选择操作不会自动发送,也不会替换已有正文或附件。例如:
155
159
 
@@ -812,7 +816,7 @@ pnpm test:browser
812
816
 
813
817
  ## 自定义专家
814
818
 
815
- 在「设置 → 专家」点击「新建专家」,填写名称、简介、分类和专家提示词,可分别选择头像与召唤 Emoji(默认 🧩)。「保存并启用」后立即通过 @ 或专家按钮选择;标签与内置专家一致,显示统一专家图标和纯名称;Emoji 用于候选菜单。基础专家可复制为自定义,自定义专家可编辑、启停、删除,删除会永久移除专家内容及启用状态,无法撤销。
819
+ 在「设置 → 专家」点击「新建专家」,填写名称、简介、分类和专家提示词,并选择头像。「保存并启用」后立即通过 @ 或专家按钮选择;标签与内置专家一致,显示统一专家图标和纯名称,候选菜单使用头像。基础专家可复制为自定义,自定义专家可编辑、启停、删除,删除会永久移除专家内容及启用状态,无法撤销。
816
820
 
817
821
  数据保存在 DSH settings 的 agency-agents 命名空间,独立于插件目录,升级保留。外部 root 仍替换基础名册,自定义专家追加到该名册;嵌套目录专家的查看、复制与召唤均读取名册选中的实际文件。最多保留 200 位自定义专家,删除立即释放名额;旧版已删除记录在启动及后续写入时清理。内置或外部目录更新导致的名称冲突会在设置页标记,允许改名或删除,冲突专家暂停召唤。多窗口冲突时在当前编辑器保留草稿,可读取最新内容并核对,选择继续使用草稿或载入最新内容后再保存;已删除专家只能作为新专家继续。停用的草稿标签需移除或重新启用,已删除或冲突的标签需移除并重新选择。写入携带修订号,协议以 [Remote 契约](src/remote-contract.ts) 为准。回退旧插件前应备份最新 settings,自定义数据的恢复与代码回退分开处理。
818
822
 
package/RELEASE_NOTES.md CHANGED
@@ -1,131 +1,31 @@
1
1
  ## 中文说明
2
2
 
3
- 从 0.1.44 升级到首个 1.0 正式版本,将单专家助手扩展为可配置的专家团协作。保留原安装包名、321 位基础专家、22 个分区和既有个人专家功能;以下为本轮完整变更。
3
+ ### 体验优化
4
4
 
5
- ### 保留的单专家能力与工具接口
5
+ - 支持 DSH 0.1.7-alpha.1,并保留此前已支持的版本。专家和专家团设置跟随宿主的实时配置;若旧数据留在 `settings.yaml.imported`,会在配置仍为空时补写一次。
6
+ - 专家和专家团的选择菜单改为显示头像。新建自定义专家不再要求填写召唤图标。
7
+ - 专家团列表会缓存,并在聊天菜单和设置页之间保持同步。
8
+ - 设置页控件改为随插件打包的 Ant Design。亮暗跟随宿主,按钮主色保持 Ant Design 默认蓝。专家与专家团的数量写在页签上。聊天入口仍是原来的工具栏按钮。客户端因此超过 1 MB;发布包会压缩,校验上限为 1.5 MB。
9
+ - 专家团卡片不再提供「复制提示词」。团队提示词只在详情里查看,不能单独复制到剪贴板。
6
10
 
7
- - 321 位内置专家、22 个分区;查看与复制专家提示词,按分类、状态与中英文关键词筛选,启停后通过聊天工具栏或 @ 选择。
8
- - 最多 200 位自定义专家,支持新建、复制、头像与召唤 Emoji、编辑、保存并启用、停用和永久删除;名称冲突与多窗口修订检查继续生效。
9
- - 保留 list_experts、summon_expert、summon_experts;新增 list_expert_teams、get_expert_team、summon_expert_team,支持先读取团队规则再调用与汇总。
10
- - 保留设置页版本展示、检查更新与更新反馈,以及可信外部 root、provider、divisions、maxDepth 配置。界面不新增“外部”来源页签。
11
- ### 五个内置专家团与自定义团队
11
+ ### 问题修复
12
12
 
13
- - 新增产品方案评审团、技术方案评审团、内容选题策划团、数据分析诊断团和专题研究专家团。每团提供三位成员的独立职责、共同目标、交付要求、任务示例和专用主理人模板。
14
- - 支持创建自定义团、复制内置团后修改、查看详情、编辑、启用、停用和删除;每团 2~8 位不重复专家,最多 100 个自定义团。
15
- - 可配置团队名称、简介、最多三个标签、成员分工与补充指令、共同目标、约束、交付要求和 1~3 条示例;主理人正文最多 12000 字符。
16
- - 主理人可使用团队模板、自定义提示词或恢复模板;规则涵盖准备、分工、证据核验、分歧处理、异常说明与最终交付。主理人由当前主会话承担,不额外创建团长子代理。
17
- - 启用团队时确认并同步启用所需专家;停用或删除团队不连带停用成员,也不删除历史会话。
18
-
19
- ### 专家与专家团统一管理
20
-
21
- - 在原「设置 → 专家」内新增下划线「专家团」页签,共用标题、版本及链接;保留专家的全部/内置/自定义来源选项、分类、状态和搜索。
22
- - 切换页签保留专家筛选状态;数量显示在页签右侧,来源选项与新建、刷新同行。团队支持相同的来源与状态筛选、搜索、空态、刷新和更多菜单。
23
- - 复用卡片、编辑抽屉、保存底栏、提示词预览及确认弹窗;删除和未保存离开均需确认。多窗口修订冲突保留草稿,核对最新配置后再保存,已删除专家可作为新专家继续。
24
- - 卡片去掉重复来源标识,扩充五团用途描述;团队简介按内容展开,避免英文截断,底部操作保持紧凑。
25
- - 对照归档插件统一按钮、输入、下拉菜单和焦点状态:紧凑控件、统一圆角、官方主题背景与边框。启用开关为绿色,停用为灰色,保留文字状态,适配深浅主题与窄屏。
26
-
27
- ### 聊天选择、示例与草稿保护
28
-
29
- - 聊天「专家」入口支持切换专家团,搜索、查看详情、启用并选择;@ 支持专家团原生引用,显示当前语言的简短名称。
30
- - 选择团队或示例只更新草稿,不自动发送。原有正文、附件及引用受到保护;替换团队或追加示例通过主题弹窗确认。
31
- - 异步确认后核对草稿修订;期间输入发生变化则停止插入并提示重新选择,避免覆盖新内容。
32
- - 保留个人专家全名册搜索、未启用专家的启用选择、八位代表性专家的双语任务示例、冲突提示和失败重试行为。
33
-
34
- ### 普通子代理与原生 Agent Team
35
-
36
- - 分别检测宿主是否支持 Agent Team、功能与当前 Agent 作用域工具是否可用;不修改用户的宿主配置。
37
- - 不支持时使用普通子代理;支持但未启用时建议开启并继续普通调用;服务和工具就绪后使用原生 Agent Team。显式配置 maxDepth 时继续普通模式以维持深度约束。
38
- - 普通模式一次并行分析,最多四位专家同时运行;执行前冻结团队、成员与任务配置,防止运行中编辑改变分工。
39
- - 原生模式接入成员、共享任务板、任务领取、消息回传和异步等待;空闲或离线的同团同专家可复用,忙碌或失败成员不重复派发。
40
- - 原生委派接受仅表示任务启动;主会话等待本次任务的真实成员结果后核验汇总,不把启动确认当作专家意见。中途失败不自动切换普通模式,避免重复执行。
41
- - 两种模式的新子会话使用本地化专家名。原生成员卡片适配显示名,同时保留稳定技术标识、消息路由与队友复用;不改写旧普通会话标题或宿主模型标签。
42
-
43
- ### 协作质量与异常处理
44
-
45
- - 五团分别使用任务简报、职责边界、结构化成员回报、主理人核验清单和交接规则,合并重复发现并呈现证据、分歧与待确认事项。
46
- - 普通模式返回职责覆盖与成员成功/失败信息,部分失败保留已完成结果;身份读取异常单独报告,空白结果不视为成功,不自动追加模型轮次或重试。
47
- - 取消后不启动排队任务,等待在途启动收敛并中断本次原生成员;清理失败明确反馈。
48
- - 保留子会话工具隔离和递归门禁,专家不继续召唤专家或组建新一轮团队。
49
-
50
- ### 完整双语、文档与发布材料
51
-
52
- - 补齐团队列表、详情、编辑、确认、错误、工具说明、运行提示,以及五团名称、简介、标签、成员职责、示例和主理人规则的中英文。
53
- - 切换语言保留自定义内容与未保存草稿;仅系统预设参与本地化,内置团中英文名称均参与冲突校验,稳定 ID 不变。
54
- - 重制中文与英文 3:1 WebP 横幅,不带版本号;移除 README 的 Node 徽章,改为 DSH 支持版本徽章。重写双语功能说明与升级边界。
55
- - 版本基线提升至 1.0.0,双语发行说明由对应更新日志自动生成,避免功能清单不同步。
56
-
57
- - 编译产物 `lib` 不再提交到 GitHub,由发布门禁构建并作为已验证产物交给 npm 发布任务;npm 包保留运行所需的 `lib`。
58
-
59
- ### 升级、兼容与验证边界
60
-
61
- - 仍支持 DSH 0.1.0-rc.8、0.1.1-rc.2、0.1.2-rc.1、0.1.5-rc.1、0.1.5-rc.2、0.1.6-alpha.1 和 0.1.6-alpha.2;不表示其间所有版本或未来版本均已验证。原生 Team 还取决于实际安装与启用状态。
62
- - 原有专家启用状态与自定义专家保存在宿主 agency-agents 设置命名空间;新团队配置使用同一命名空间,无需搬迁专家文件。回退旧插件前备份设置,旧版不具备团队功能,不能保证旧版写入保留团队字段。
63
- - 工程回归基线为 199 项单元/宿主集成测试和 40 项浏览器测试通过,包含按需视觉验收;修正旧视觉夹具缺少主题却仍通过的问题。类型检查、构建与包验证通过。
64
- - 浏览器使用真实组件与模拟 Remote,模型 provider 使用替身;不等于真实模型汇总质量或全部宿主版本的端到端验收。原生 Team 的模型标签由宿主提供,可能仍显示创建时的模型。
13
+ - 菜单同时使用宿主的半透明底色和背景模糊,背后的文字不再透出来。
14
+ - 是否仍使用旧设置接口,改为看当前宿主,而不是本包里可能更旧的依赖。
65
15
 
66
16
  ---
67
17
 
68
18
  ## English
69
19
 
70
- The first 1.0 release expands individual specialists into configurable expert-team collaboration. It retains the package name, 321 bundled specialists, 22 divisions, and existing individual-expert workflows. The following covers the changes since 0.1.44.
71
-
72
- ### Retained individual-expert capabilities and tools
73
-
74
- - Retain 321 bundled experts across 22 divisions, prompt viewing/copying, category/status/localized keyword filters, enablement, and selection through the composer or @.
75
- - Retain up to 200 custom experts with creation, copying, avatars and summon emoji, editing, save-and-enable, disabling, and permanent deletion; preserve name-conflict and concurrent-revision checks.
76
- - Keep list_experts, summon_expert, and summon_experts; add list_expert_teams, get_expert_team, and summon_expert_team for reading team rules before delegation and final synthesis.
77
- - Preserve the settings version display, update checking/feedback, and trusted external root, provider, divisions, and maxDepth configuration. Do not add an External source tab.
78
- ### Five built-in teams and custom teams
79
-
80
- - Add Product Review Team, Technical Review Team, Content Planning Team, Data Analysis Team, and Research Team. Each includes three independent expert roles, a shared goal, delivery requirements, task examples, and a dedicated coordinator template.
81
- - Create custom teams, copy built-in teams, inspect details, edit, enable, disable, and delete. Each team contains 2–8 distinct experts; up to 100 custom teams are supported.
82
- - Configure a name, description, up to three tags, member duties and instructions, shared goal, constraints, delivery requirements, and 1–3 examples. Custom coordinator prompts allow up to 12,000 characters.
83
- - Use the team coordinator template, customize it, or restore it. Rules cover preparation, delegation, evidence checks, disagreements, failures, and final delivery. The existing main conversation coordinates; no extra leader subagent is created.
84
- - Confirm and enable required experts when enabling a team. Disabling or deleting a team does not disable its members or delete historical conversations.
85
-
86
- ### Unified expert and team management
87
-
88
- - Add an underlined Expert teams tab inside Settings → Experts, sharing the title, version, and links. Preserve individual experts' All/Built-in/Custom source filters, categories, status, and search.
89
- - Preserve expert filters across tab switches. Place counts at the right of the tabs, with source filters and create/refresh actions on one row. Teams gain equivalent source/status filters, search, empty states, refresh, and more menus.
90
- - Share cards, editor drawers, save footers, prompt previews, and confirmation dialogs. Confirm deletion and discarding unsaved changes. Retain drafts on revision conflicts, review current settings before saving, and allow deleted experts to continue as new experts.
91
- - Remove redundant source badges and expand all five team descriptions. Team descriptions grow with their content to avoid truncating English, while card actions remain compact.
92
- - Align buttons, inputs, dropdowns, and focus states with Archive Manager using compact sizing and official theme backgrounds/borders. Enabled switches are green, disabled switches gray, with text labels; support dark/light themes and narrow layouts.
93
-
94
- ### Chat selection, examples, and draft protection
95
-
96
- - Switch to teams in the Experts composer picker, search, inspect details, enable, and select. The @ picker supports native team references with short localized names.
97
- - Selecting a team or example updates the draft without sending it. Protect existing text, attachments, and references; confirm team replacement or example insertion in a themed dialog.
98
- - Recheck the draft revision after asynchronous confirmation. If the draft changed meanwhile, stop insertion and ask the user to select again rather than overwriting new input.
99
- - Preserve full-roster individual-expert search, enable-and-select, bilingual examples for eight representative specialists, conflict feedback, and retry behavior.
100
-
101
- ### Ordinary subagents and native Agent Team
102
-
103
- - Check host capability separately from service enablement and tool availability in the current Agent scope, without modifying host settings.
104
- - Use ordinary subagents when unsupported. Recommend enabling Team when supported but disabled, while allowing ordinary execution. Use native Agent Team when services and tools are ready. Explicit maxDepth continues through ordinary mode to enforce depth limits.
105
- - Ordinary mode performs one parallel analysis with up to four concurrent experts. Freeze team, member, and task settings before execution so later edits cannot change the running assignment.
106
- - Native mode integrates members, shared tasks, task claiming, result messages, and asynchronous waiting. Reuse idle or offline members for the same team/expert; do not redispatch busy or failed members.
107
- - Accepted native dispatch means started, not completed. The main conversation waits for actual results for the current tasks before verifying and summarizing. Mid-dispatch failures do not automatically switch to ordinary mode and duplicate work.
108
- - Localize new child-session expert names in both modes. Adapt native roster display names while retaining stable identities, message routing, and reuse. Do not rewrite old ordinary-session titles or host model labels.
109
-
110
- ### Collaboration quality and failure handling
111
-
112
- - Provide team-specific briefs, role boundaries, structured member reports, coordinator checklists, and handoff rules. Consolidate duplicate findings while preserving evidence, disagreements, and open questions.
113
- - Ordinary mode reports responsibility coverage and member success/failure, preserving completed results when others fail. Isolate persona-read failures, reject empty results, and do not automatically add model rounds or retries.
114
- - Cancellation prevents queued work from starting, settles in-flight launches, and interrupts native members started by this invocation. Report cleanup failures explicitly.
115
- - Preserve child-tool isolation and recursion guards; experts cannot summon more experts or start another team round.
116
-
117
- ### Complete localization, documentation, and release assets
118
-
119
- - Complete Chinese/English UI, details, editors, confirmations, errors, tool descriptions, and runtime feedback, plus all five teams' names, descriptions, tags, duties, examples, and coordinator rules.
120
- - Language changes preserve custom content and unsaved drafts. Only system presets are localized; both built-in Chinese and English names participate in collision checks, and stable IDs remain unchanged.
121
- - Regenerate separate Chinese and English 3:1 WebP banners without version numbers. Replace the Node README badge with supported DSH versions, and refresh bilingual feature and upgrade documentation.
122
- - Set the version baseline to 1.0.0. Generate bilingual release notes from the matching changelog entries to keep feature lists aligned.
20
+ ### Improvements
123
21
 
124
- - Stop tracking compiled `lib` in Git. The release gate builds and transfers verified artifacts to npm publishing; npm packages retain the runtime `lib` files.
22
+ - Support DSH 0.1.7-alpha.1 while keeping previously supported versions. Expert and team settings follow the host's live configuration, and a one-time import recovers data left in `settings.yaml.imported`.
23
+ - Expert and team pickers show avatars. Custom experts no longer ask for a summon emoji.
24
+ - Team lists stay cached and update across the composer and settings when a team changes.
25
+ - Settings controls now use Ant Design bundled with the plugin. Light and dark follow the host. Buttons keep Ant Design's default blue. Expert and team counts sit on the tabs. The chat entry stays the original toolbar button. The client bundle is therefore larger than 1 MB; the published file is minified, and the check allows up to 1.5 MB.
26
+ - Team cards no longer offer “Copy prompt”. The coordinator prompt stays in team details and is not copied to the clipboard.
125
27
 
126
- ### Upgrade, compatibility, and validation limits
28
+ ### Fixes
127
29
 
128
- - Retain support for DSH 0.1.0-rc.8, 0.1.1-rc.2, 0.1.2-rc.1, 0.1.5-rc.1, 0.1.5-rc.2, 0.1.6-alpha.1, and 0.1.6-alpha.2. This does not claim coverage of every intervening or future version. Native Team also depends on installation and enablement.
129
- - Existing expert enablement and custom experts remain in the host agency-agents settings namespace; team settings use that namespace too. No expert-file migration is required. Back up settings before downgrading: old versions lack teams and may not preserve team fields on writes.
130
- - The engineering regression baseline passes 199 unit/host-integration tests and 40 browser tests, including opt-in visual validation. Fix the old visual fixture that passed despite missing theme variables. Type checks, builds, and package validation pass.
131
- - Browser tests use real components with mocked Remote services, and model providers are test doubles. These results do not validate real-model summary quality or every supported host end to end. Native model labels remain host-owned and may show creation-time models.
30
+ - Menus use the host's translucent surface together with its backdrop blur, so text behind them is not readable through the panel.
31
+ - Detect the legacy settings API from the running host, not from this package's own older dependency.
Binary file