@fish-under-sea/dsh-agent-teams-fish 1.0.2 → 2.0.0

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.
Files changed (179) hide show
  1. package/NOTICE.md +13 -7
  2. package/README.en.md +20 -12
  3. package/README.md +20 -12
  4. package/compatibility.json +82 -46
  5. package/icon.png +0 -0
  6. package/lib/artifacts.js +148 -25
  7. package/lib/client/ActivityPanel.js +26 -5
  8. package/lib/client/WorkspaceActivity.js +6 -4
  9. package/lib/client/activity-monitor.js +113 -41
  10. package/lib/client/locales.js +14 -0
  11. package/lib/client.js +433 -199
  12. package/lib/client.js.map +1 -1
  13. package/lib/command.js +7 -4
  14. package/lib/git-artifact-stamp.json +2 -2
  15. package/lib/harness-compat.js +120 -62
  16. package/lib/index.js +7 -10
  17. package/lib/mailbox.js +15 -5
  18. package/lib/members.js +221 -154
  19. package/lib/snapshot.js +15 -10
  20. package/lib/state.js +41 -8
  21. package/lib/tools.js +123 -64
  22. package/lib/types/artifacts.d.ts +6 -3
  23. package/lib/types/client/activity-monitor.d.ts +13 -4
  24. package/lib/types/client/locales.d.ts +14 -0
  25. package/lib/types/harness-compat.d.ts +63 -16
  26. package/lib/types/mailbox.d.ts +2 -0
  27. package/lib/types/members.d.ts +5 -17
  28. package/lib/types/snapshot.d.ts +12 -7
  29. package/lib/types/state.d.ts +10 -3
  30. package/lib/types/types.d.ts +5 -0
  31. package/lib/types/web-routes.d.ts +2 -0
  32. package/lib/types/workspace-audit-service.d.ts +35 -0
  33. package/lib/types/workspace-audit-worker.d.ts +1 -0
  34. package/lib/web-routes.js +31 -0
  35. package/lib/workspace-audit-service.js +165 -0
  36. package/lib/workspace-audit-worker.js +11 -0
  37. package/lib/workspace-audit.js +6 -5
  38. package/locale/en.json +6 -0
  39. package/locale/zh.json +6 -0
  40. package/package.json +69 -64
  41. package/pnpm-workspace.yaml +306 -273
  42. package/release-notes/v0.1.25.md +16 -0
  43. package/release-notes/v0.1.26.md +19 -0
  44. package/release-notes/v0.1.27.md +42 -0
  45. package/release-notes/v0.1.28.md +45 -0
  46. package/release-notes/v0.1.29.md +23 -0
  47. package/release-notes/v1.1.0.md +42 -0
  48. package/release-notes/v2.0.0.md +17 -0
  49. package/scripts/artwork-role-match.test.mjs +517 -0
  50. package/scripts/capabilities.test.mjs +301 -0
  51. package/scripts/check-install-channel.mjs +55 -0
  52. package/scripts/check-install-channel.test.mjs +39 -0
  53. package/scripts/clean-build.mjs +14 -0
  54. package/scripts/client-harness-migration.test.mjs +46 -0
  55. package/scripts/compatibility.mjs +20 -0
  56. package/scripts/compatibility.test.mjs +187 -0
  57. package/scripts/corrupt-teamjson.test.mjs +180 -0
  58. package/scripts/custom-artwork.test.mjs +273 -0
  59. package/scripts/fallback-tdd.mjs +61 -0
  60. package/scripts/fixtures/harness-benchmark-scope.mjs +16 -0
  61. package/scripts/fixtures/harness-benchmark-scope.test.mjs +18 -0
  62. package/scripts/fixtures/harness-complex-case.mjs +201 -0
  63. package/scripts/fixtures/harness-complex-case.test.mjs +21 -0
  64. package/scripts/fixtures/harness-complex-oracle.mjs +63 -0
  65. package/scripts/fixtures/harness-issue-case.mjs +51 -0
  66. package/scripts/fixtures/harness-issue159-case.mjs +28 -0
  67. package/scripts/fixtures/harness-model-case.mjs +127 -0
  68. package/scripts/fixtures/harness-model-case.test.mjs +37 -0
  69. package/scripts/fixtures/harness-model-driver.mjs +100 -0
  70. package/scripts/fixtures/harness-runtime-credentials.mjs +23 -0
  71. package/scripts/fixtures/harness-runtime-entry.mjs +171 -0
  72. package/scripts/fixtures/harness-runtime-idle.mjs +42 -0
  73. package/scripts/fixtures/harness-runtime-llm.mjs +193 -0
  74. package/scripts/fixtures/harness-runtime-protocol.mjs +187 -0
  75. package/scripts/fixtures/harness-runtime-resume.mjs +24 -0
  76. package/scripts/fixtures/harness-runtime-stability.mjs +282 -0
  77. package/scripts/fixtures/harness-runtime-tools.mjs +13 -0
  78. package/scripts/fixtures/harness-runtime-web-approval.mjs +341 -0
  79. package/scripts/fixtures/issue-336-audit-worker.mjs +18 -0
  80. package/scripts/git-artifacts.mjs +64 -0
  81. package/scripts/git-artifacts.test.mjs +32 -0
  82. package/scripts/harness-compat-tdd.mjs +492 -0
  83. package/scripts/harness-issue-verify.mjs +26 -0
  84. package/scripts/harness-model-benchmark.mjs +163 -0
  85. package/scripts/harness-runtime-platform.test.mjs +31 -0
  86. package/scripts/harness-runtime-scenarios.mjs +297 -0
  87. package/scripts/harness-runtime-verify.mjs +169 -0
  88. package/scripts/harness-source-verify.mjs +211 -0
  89. package/scripts/harness-source-verify.test.mjs +97 -0
  90. package/scripts/harness-validation.mjs +68 -0
  91. package/scripts/harness-validation.test.mjs +95 -0
  92. package/scripts/http-body.test.mjs +72 -0
  93. package/scripts/import-vendor-artwork.mjs +78 -0
  94. package/scripts/inline-plan-blank-optional-tdd.mjs +121 -0
  95. package/scripts/issue-159.test.mjs +78 -0
  96. package/scripts/issue-188.test.mjs +148 -0
  97. package/scripts/issue-189.test.mjs +100 -0
  98. package/scripts/issue-203-card.test.mjs +181 -0
  99. package/scripts/issue-205.test.mjs +163 -0
  100. package/scripts/issue-234.test.mjs +424 -0
  101. package/scripts/issue-236-stale-module.test.mjs +63 -0
  102. package/scripts/issue-236.test.mjs +59 -0
  103. package/scripts/issue-262.test.mjs +98 -0
  104. package/scripts/issue-336.test.mjs +404 -0
  105. package/scripts/legacy-session-source-repair.test.mjs +201 -0
  106. package/scripts/lifecycle-verify.mjs +1573 -0
  107. package/scripts/lineage-identity.test.mjs +77 -0
  108. package/scripts/member-failure-tdd.mjs +451 -0
  109. package/scripts/member-spawn-recovery.test.mjs +92 -0
  110. package/scripts/quality-gates-amend.test.mjs +161 -0
  111. package/scripts/quality-gates-content-bound.test.mjs +572 -0
  112. package/scripts/quality-gates-cross-binding.test.mjs +184 -0
  113. package/scripts/quality-gates-excluded-scope.test.mjs +163 -0
  114. package/scripts/quality-gates-repair-scope.test.mjs +143 -0
  115. package/scripts/quality-gates-repair-wiring.test.mjs +189 -0
  116. package/scripts/quality-gates-tdd.mjs +1238 -0
  117. package/scripts/quality-gates-work-order.test.mjs +494 -0
  118. package/scripts/readme-version.mjs +89 -0
  119. package/scripts/readme-version.test.mjs +77 -0
  120. package/scripts/release-metadata.mjs +45 -0
  121. package/scripts/release-metadata.test.mjs +66 -0
  122. package/scripts/scoped-release.test.mjs +52 -0
  123. package/scripts/stability-tdd.mjs +144 -0
  124. package/scripts/stress-verify.mjs +548 -0
  125. package/scripts/symlink-support.mjs +46 -0
  126. package/scripts/sync-skill.mjs +103 -0
  127. package/scripts/tool-policies.test.mjs +280 -0
  128. package/scripts/update-skills.mjs +105 -0
  129. package/scripts/update-skills.test.mjs +79 -0
  130. package/scripts/upgrade-status.mjs +66 -0
  131. package/scripts/upgrade-status.test.mjs +83 -0
  132. package/scripts/verify-package.mjs +73 -0
  133. package/scripts/verify.mjs +2199 -0
  134. package/scripts/web-routes-verify.mjs +142 -0
  135. package/scripts/workspace-activity.test.mjs +346 -0
  136. package/scripts/workspace-summary.test.mjs +49 -0
  137. package/src/artifacts.ts +487 -0
  138. package/src/artwork-source.ts +262 -0
  139. package/src/capabilities.ts +113 -0
  140. package/src/client/ActivityPanel.module.css +2390 -0
  141. package/src/client/ActivityPanel.tsx +1507 -0
  142. package/src/client/AgentTeamsCard.module.css +148 -0
  143. package/src/client/AgentTeamsCard.tsx +155 -0
  144. package/src/client/StagingPlanEditor.tsx +829 -0
  145. package/src/client/TeamChatEntry.tsx +27 -0
  146. package/src/client/WorkspaceActivity.module.css +41 -0
  147. package/src/client/WorkspaceActivity.tsx +137 -0
  148. package/src/client/activity-model.ts +372 -0
  149. package/src/client/activity-monitor.ts +440 -0
  150. package/src/client/agent-teams-card-definition.ts +250 -0
  151. package/src/client/artwork.ts +374 -0
  152. package/src/client/icons.tsx +17 -0
  153. package/src/client/index.tsx +140 -0
  154. package/src/client/locales.ts +481 -0
  155. package/src/client/panel-geometry.ts +194 -0
  156. package/src/client/session-navigation.ts +73 -0
  157. package/src/client/workspace-state.ts +52 -0
  158. package/src/command.ts +145 -0
  159. package/src/css-modules.d.ts +4 -0
  160. package/src/event-types.ts +177 -0
  161. package/src/events.ts +78 -0
  162. package/src/harness-compat.ts +570 -0
  163. package/src/index.ts +599 -0
  164. package/src/lineage.ts +248 -0
  165. package/src/mailbox.ts +185 -0
  166. package/src/members.ts +1230 -0
  167. package/src/profiles.ts +765 -0
  168. package/src/quality-gates.ts +2124 -0
  169. package/src/scheduler.ts +554 -0
  170. package/src/snapshot.ts +333 -0
  171. package/src/state.ts +1317 -0
  172. package/src/tool-names.ts +14 -0
  173. package/src/tool-policies.ts +219 -0
  174. package/src/tools.ts +2939 -0
  175. package/src/types.ts +414 -0
  176. package/src/web-routes.ts +128 -0
  177. package/src/workspace-audit-service.ts +182 -0
  178. package/src/workspace-audit-worker.ts +12 -0
  179. package/src/workspace-audit.ts +57 -0
@@ -0,0 +1,16 @@
1
+ # v0.1.25 — Harness 0.2.1-rc.2 installation fix
2
+
3
+ Stable plugin release on npm `latest`; recommended host: Harness `0.2.1-rc.2`.
4
+
5
+ - Fix plugin-manager installation rejection on Harness `0.2.1-rc.2`. Both `0.1.24-rc.1` and `0.1.24` omitted this host from their exact peer declarations.
6
+ - Build against the complete rc.2 dependency cohort and retain rc.1 plus all previously supported hosts.
7
+ - Add a real plugin-manager installation check without a compatibility exemption to the rc.2 runtime gate.
8
+ - Retain the member activation, cancellation, recovery and reload fixes from `0.1.24`.
9
+
10
+ In desktop plugin settings, install `@nanmicoder/dsh-agent-teams@0.1.25`, enable it, and restart the app if requested. For CLI:
11
+
12
+ ```sh
13
+ dsh plugin --profile web add --save-exact @nanmicoder/dsh-agent-teams@0.1.25
14
+ ```
15
+
16
+ See [migration evidence](../docs/harness-0.2.1-rc.2/README.md). Host versions and plugin versions are independent.
@@ -0,0 +1,19 @@
1
+ # v0.1.26 — Team workspace and input compatibility fixes
2
+
3
+ Stable plugin release on npm `latest`; recommended host: Harness `0.2.1-rc.2`.
4
+
5
+ - Refresh the embedded team workspace with light cards, responsive member/task columns, a completion summary and the captain's latest unread messages. Preserve dark mode, keyboard access and existing team controls. ([#266](https://github.com/NanmiCoder/dsh-agent-teams/pull/266))
6
+ - Display claimed tasks separately from open, blocked and running tasks. This corrects the visual projection; it does not claim to resolve every cause of a task remaining claimed. ([#264](https://github.com/NanmiCoder/dsh-agent-teams/pull/264))
7
+ - Treat a gateway-materialized empty inline plan and empty optional member fields as omitted, and normalize an empty optional task assignee before claiming. ([#242](https://github.com/NanmiCoder/dsh-agent-teams/pull/242))
8
+ - Detect stored session formats from the live host, including after session-module replacement, and retain legacy message compatibility. ([#240](https://github.com/NanmiCoder/dsh-agent-teams/pull/240))
9
+ - Retain the exact host support matrix, committed Git installation artifacts and script-free Git installation path.
10
+
11
+ In desktop plugin settings, install `@nanmicoder/dsh-agent-teams@0.1.26` and enable it. Follow the host's restart prompt when appropriate for your running work. For a CLI-managed profile:
12
+
13
+ ```sh
14
+ dsh plugin --profile web add --save-exact @nanmicoder/dsh-agent-teams@0.1.26
15
+ ```
16
+
17
+ Replace `web` with your CLI profile and restart that profile's Harness process after installation. Plugin and host versions are independent; this release does not upgrade the host.
18
+
19
+ The release workflow requires Ubuntu and Windows static checks plus all ten exact Harness targets using the same candidate tarball. Runtime scenarios use real Harness sessions, tools and sub-agents with deterministic model fixtures. The UI was also exercised in a macOS Harness Web host; this does not establish native Windows Desktop or every real-provider behavior. See the [maintenance guide](../docs/maintenance-workflow.md) for the full scope and limits.
@@ -0,0 +1,42 @@
1
+ # v0.1.27 — Harness rc.3 support and upgrade reliability
2
+
3
+ This stable plugin release adds support for Harness `0.2.1-rc.3`, fixes Windows packaging and verification, and reduces omissions when validating future host versions. The recommended host remains `0.2.1-rc.2`; all previously supported hosts remain in the compatibility matrix.
4
+
5
+ - Accept the exact rc.3 host after source/artifact auditing and real installation verification.
6
+ - Fix Windows line-ending and runtime-fixture handling; verify rc.2 and rc.3 on Windows in addition to the Ubuntu host matrix.
7
+ - Generate peer declarations from one compatibility policy. New host targets default to real plugin installation and Ubuntu/Windows evidence, and the report collector requires those results.
8
+ - Add a read-only upstream/release status check and prevent broad `engines.dsh` declarations from bypassing the exact support policy.
9
+
10
+ ## Install or update the latest version
11
+
12
+ **Desktop installation during the first 24 hours:** pnpm 11 can resolve npm `@latest` to an older release because of its default minimum release age. The preview can show the new version while installation rejects the old one. To install immediately without editing configuration or pinning a numeric version, enter `github:NanmiCoder/dsh-agent-teams` in **Plugins → Add plugin**. This requires GitHub access. Changing npm mirrors does not remove the waiting period.
13
+
14
+ **桌面端发布首日安装提示:** pnpm 11 的默认等待期可能让 `@latest` 仍选中旧版,造成“预览新版、安装旧版”的矛盾。立即安装请在「添加插件」输入 `github:NanmiCoder/dsh-agent-teams`,无需手改配置或填写版本号;需要能访问 GitHub。也可等发布满 24 小时后再从 npm 安装,换镜像不能消除等待期。
15
+
16
+ In desktop plugin settings, use the GitHub spec above, or enter `@nanmicoder/dsh-agent-teams@latest` for npm after the waiting period, and enable it. The desktop app manages its own Harness core; check its version against the support matrix.
17
+
18
+ For a CLI-managed profile, use npm `latest`:
19
+
20
+ ```sh
21
+ dsh plugin --profile web add --save-exact @nanmicoder/dsh-agent-teams@latest
22
+ ```
23
+
24
+ Or use the GitHub default branch, without a tag or commit suffix:
25
+
26
+ ```sh
27
+ dsh plugin --profile web add github:NanmiCoder/dsh-agent-teams
28
+ ```
29
+
30
+ Use the `@latest` channel explicitly for npm updates: a bare package name can retain an already installed exact version. If a mirror has not synced, append `--registry=https://registry.npmjs.org`. Run the selected command again when updating, then restart that profile's Harness process and refresh the browser. GitHub default-branch code may be newer than npm `latest`; the host and plugin also have independent release channels. These commands select the current source at installation time and do not enable background auto-updates.
31
+
32
+ ## 中文
33
+
34
+ 正式版新增 Harness `0.2.1-rc.3` 支持,修复 Windows 打包与运行验证,并将兼容声明、平台矩阵和安装验收统一到同一份策略。推荐宿主仍为 `0.2.1-rc.2`,保留此前所有支持目标。
35
+
36
+ npm 使用 `@latest` 渠道,GitHub 使用默认分支,安装命令无需填写具体版本号。已有安装只重复裸包名可能保留旧版本,因此更新时显式使用 `@latest`。更新时重新执行对应命令,再重启 Harness。桌面端内核由桌面应用管理,升级全局 CLI 不会升级桌面内核。
37
+
38
+ ## Validation scope
39
+
40
+ The release pipeline verifies one candidate package across 11 exact host versions on Ubuntu plus rc.2/rc.3 on Windows. Runtime scenarios use the real Harness CLI, plugin, tools, sessions and subagents with a deterministic model fixture. They cover installation where declared, lifecycle, FIFO delivery, cold restore, fallback, failure handling, approval, protocol behavior and stability. This does not establish real-provider behavior, native Desktop interaction or migration of existing user data.
41
+
42
+ See [compatibility.json](../compatibility.json), [rc.3 audit](../docs/harness-0.2.1-rc.3/README.md), and [upgrade reliability experiments](../docs/upgrade-reliability-2026-10-26/README.md).
@@ -0,0 +1,45 @@
1
+ # v0.1.28 — Install on new Harness releases
2
+
3
+ This stable plugin release fixes installation on Harness `0.2.1-rc.4`, `0.2.1-rc.5` (the current npm `latest`) and later releases. Earlier plugin versions listed every tested host in their peer dependencies, so the Harness plugin manager rejected each newly published host as incompatible. The recommended host remains `0.2.1-rc.2`.
4
+
5
+ - Declare one minimum host instead of a list: `engines.dsh` is `>=0.1.2-alpha.2`, and every DSH peer is `*`. The official installer accepts later RC, alpha and stable hosts; npm also accepts tested hosts when the plugin and Harness packages share one dependency tree.
6
+ - Keep `compatibility.json` as the CI-tested matrix only. Adding a tested host no longer changes what can be installed, and the release gate rejects version lists and upper bounds.
7
+ - `dsh-agent-teams-doctor` reports a newer host outside the tested matrix as `untested` instead of failing. `pnpm check:upstream` reports host channels that the published plugin blocks (`blockedChannels`).
8
+
9
+ If you are still on `0.1.27` with Harness `0.2.1-rc.4` or later, update the plugin using one of the commands below. Exact-version exemptions granted with `dsh plugin allow-version` for `0.1.27` are no longer needed.
10
+
11
+ ## Install or update the latest version
12
+
13
+ **Use the exact version.** Desktop's pnpm 11 waits 24 hours before installing a new release: during that window a bare package name or `@latest` still installs `0.1.27`, which Harness `0.2.1-rc.4` and later reject. In **Plugins → Add plugin**, enter `@nanmicoder/dsh-agent-teams@0.1.28`, or `github:NanmiCoder/dsh-agent-teams` if GitHub is reachable. Changing npm mirrors does not remove the waiting period.
14
+
15
+ **请写明版本号安装:** 桌面端 pnpm 11 对新版本有 24 小时等待期,期间不带版本号或使用 `@latest` 仍会装到 `0.1.27`,而它在 Harness `0.2.1-rc.4` 及之后版本上会被拒绝。请在「添加插件」输入 `@nanmicoder/dsh-agent-teams@0.1.28`;能访问 GitHub 时也可以输入 `github:NanmiCoder/dsh-agent-teams`。更换镜像源不能消除等待期。
16
+
17
+ For a CLI-managed profile:
18
+
19
+ ```sh
20
+ dsh plugin --profile web add --save-exact @nanmicoder/dsh-agent-teams@0.1.28
21
+ ```
22
+
23
+ Or use the GitHub default branch, without a tag or commit suffix:
24
+
25
+ ```sh
26
+ dsh plugin --profile web add github:NanmiCoder/dsh-agent-teams
27
+ ```
28
+
29
+ A bare package name can retain an already installed exact version, so update with the version written out. If a mirror has not synced, append `--registry=https://registry.npmjs.org`. Run the selected command again when updating, then restart that profile's Harness process and refresh the browser.
30
+
31
+ ## 中文
32
+
33
+ 修复插件在 Harness `0.2.1-rc.4`、`0.2.1-rc.5`(当前 npm `latest`)及之后版本上无法安装的问题。此前插件把每个已测宿主逐个写进 peer 依赖,Harness 每发布一个新版本,插件管理器都会判定插件不兼容。
34
+
35
+ - 改为只声明最低宿主版本:`engines.dsh` 为 `>=0.1.2-alpha.2`,DSH peer 统一为 `*`。官方安装器接受之后发布的 RC、Alpha 和正式版;插件与 Harness 分包装在同一依赖树时,npm 也能正常安装已测宿主。
36
+ - `compatibility.json` 只作为 CI 测试矩阵,新增测试宿主不再改变可安装范围;发布门禁会拒绝版本列表和上限。
37
+ - doctor 把测试矩阵之外的新宿主标为 `untested`,不再判失败;`pnpm check:upstream` 会报告已发布插件挡住的宿主渠道。
38
+
39
+ 仍在使用 `0.1.27` 且宿主为 `0.2.1-rc.4` 或更新版本的用户,请用上面的命令更新插件;之前为 `0.1.27` 设置的 `dsh plugin allow-version` 兼容性豁免不再需要。
40
+
41
+ ## Validation scope
42
+
43
+ The release pipeline verifies one candidate package across the 11 hosts in the tested matrix on Ubuntu, plus rc.2/rc.3 on Windows, using the real Harness CLI, plugin, tools, sessions and subagents with a deterministic model fixture. Harness `0.2.1-rc.5` is not in the CI matrix: the release candidate passed all runtime scenarios there locally on macOS, including installation through the Harness plugin manager, while `0.1.27` failed every scenario because the plugin was rejected before loading. npm installation alongside Harness packages was checked for `0.2.1-rc.3` and `0.2.1-rc.5`. This does not establish real-provider behavior, native Desktop interaction, Windows behavior on rc.4/rc.5, or migration of existing user data.
44
+
45
+ See [compatibility.json](../compatibility.json) and the [maintenance guide](../docs/maintenance-workflow.md).
@@ -0,0 +1,23 @@
1
+ # v0.1.29 — Model fallback and more reliable team status
2
+
3
+ - Restore member model fallback on Harness `0.2.2-rc.1` so a recoverable provider error can route the same work to the configured alternate model.
4
+ - Mark unfinished member tasks as failed when the model hits its output limit, so captains can retry or reassign the work. [#308](https://github.com/NanmiCoder/dsh-agent-teams/issues/308)
5
+ - Scope activity polling to the open session, reuse unchanged responses, and keep the correct snapshot across session switches. [#330](https://github.com/NanmiCoder/dsh-agent-teams/issues/330)
6
+ - Audit deliverables without blocking the host and detect changes to reviewed files even when their size and modification time stay the same. [#336](https://github.com/NanmiCoder/dsh-agent-teams/issues/336)
7
+
8
+ ## 中文
9
+
10
+ - 恢复 Harness `0.2.2-rc.1` 的成员模型回退。主模型遇到可回退的错误时,成员能切换到配置的备用模型继续工作。
11
+ - 成员达到模型输出上限时,未完成的任务会进入失败状态,队长可以重试或改派。
12
+ - 活动面板按当前会话轮询,复用未变化的响应,并保留每个会话自己的快照。
13
+ - 交付物审计移到后台。即使文件大小和修改时间相同,审计仍能发现已审核文件的内容变化。
14
+
15
+ ## Install
16
+
17
+ In **Plugins → Add plugin**, enter `@nanmicoder/dsh-agent-teams@0.1.29`. For a CLI-managed profile, run:
18
+
19
+ ```sh
20
+ dsh plugin --profile web add --save-exact @nanmicoder/dsh-agent-teams@0.1.29
21
+ ```
22
+
23
+ The recommended host is Harness `0.2.1-rc.2`. Harness `0.2.2-rc.1` joins the Ubuntu and Windows CLI preview matrix. See the [tested matrix](../compatibility.json).
@@ -0,0 +1,42 @@
1
+ # v1.1.0 · 同步上游 v0.1.29、适配 DSH 0.2.2-rc.1
2
+
3
+ 本版把 Fish fork 的源码基线从上游 **v0.1.23** 推进到 **v0.1.29**(commit `369c278`),同时完整保留 Fish 的厂商美术体系。版本号从 `1.0.2` 升到 `1.1.0`,最低 Node 要求提高到 `>=24.9`,推荐宿主改为 `0.2.2-rc.1`。
4
+
5
+ ## 同步的上游能力(v0.1.24 → v0.1.29)
6
+
7
+ - **工作区审计搬到独立服务/worker** —— 新增 `src/workspace-audit-service.ts`、`src/workspace-audit-worker.ts`,重活不再阻塞宿主主线程(上游 issue #336)。
8
+ - **激活式成员(managed activation)** —— `startActivation` / `drainChildren` 契约成为主路径;成员的人格与工具过滤改由插件在子会话首个请求前安装,用 `team.json` 的 `runtimeSetup` 作为冷恢复的持久权威,缺失时拒绝以无限制工具集恢复成员。
9
+ - **模型路由与失败观测** —— 成员路由解析、输出上限(`max-tokens`)导致的失败落账、失败后调度唤醒等逻辑一并同步。
10
+ - **质量门与交付审计** —— repair/verification/review 契约、内容绑定、跨任务绑定、证据追加等实现更新。
11
+ - **新宿主验证与发布工具** —— `harness-validation.mjs`、`check-install-channel.mjs`、`upgrade-status.mjs` 等上游脚本进场(Fish 侧对包名做了适配)。
12
+ - **面板与活动监测** —— `ActivityPanel`、`WorkspaceActivity`、`activity-monitor`、`locales` 的上游改动合入。
13
+ - **release-notes v0.1.25 – v0.1.29** 原样收进本仓库。
14
+
15
+ ## 保留的 Fish 增量
16
+
17
+ 1. **自定义美术目录** —— `artworkDir` 配置、`src/artwork-source.ts`(命名空间、候选链、扩展名探测)、`resolveArtwork()` 与 `no-store` 缓存策略。
18
+ 2. **18 厂商头像体系** —— `member-<vendor>-<role>-v2.png`、`member-<vendor>-v2.png`、`member-<vendor>-<role>-full-v2.png`,10 个岗位桶(含 `audio` / `video`),厂商优先于岗位的降级链。
19
+ 3. **厂商商标徽标** —— 活动状态角标改用 `brand-<vendor>.svg`,缺失时回落随包活动图。
20
+ 4. **点击放大预览** —— 320px 高清 WebP 预览、Esc / 点背景关闭、停机位说明文案。
21
+ 5. **中文岗位名与中文别名识别** —— `member.role.*` 文案、岗位关键词扩充、路径/文件名剔除、中文厂商别名。
22
+ 6. **队长头像跟随路由** —— `captainProvider` / `captainModel` 落盘,并按厂商请求队长图与队长立绘。
23
+ 7. **随机厂商素材与美术门禁** —— `assets/agent-teams/` 286 个文件原样保留,`scripts/import-vendor-artwork.mjs`、`scripts/custom-artwork.test.mjs`、`scripts/artwork-role-match.test.mjs`、`scripts/symlink-support.mjs` 保留。
24
+ 8. **Fish 的宿主适配** —— 会话策略校验(`assertMemberModelSelection`)、`profiles` 空字符串可选字段归一、Windows mtime 容差 4ms。
25
+
26
+ ## 兼容性与版本声明
27
+
28
+ - `version`:`1.1.0`
29
+ - `engines.node`:`>=24.9`
30
+ - `peerDependencies`:在原有精确宿主列表基础上加入 `0.2.2-rc.1`(共 11 个精确目标),保留 `0.2.1-rc.2`、`0.2.1-alpha.2`、`0.2.0-rc.2`、`0.1.7-rc.2`、`0.1.5-rc.x`、`0.1.2-rc.1`、`0.1.2-alpha.5`、`0.1.2-alpha.2`。
31
+ - `devDependencies`:全部 `@deepseek-ai/dsh*` 升到 `0.2.2-rc.1`,`@deepseek-ai/cordis` `4.0.5`,`@deepseek-ai/schemastery` `3.18.5`;`pnpm-workspace.yaml` 的 overrides 同步钉到 `0.2.2-rc.1`。
32
+ - `compatibility.json`:`recommendedHost` 改为 `0.2.2-rc.1`,原推荐目标 `0.2.0-rc.2` 降为 `legacy`(精确枚举契约要求唯一 recommended)。
33
+
34
+ ## 已知取舍
35
+
36
+ - 上游 v0.1.26+ 把宿主声明改成「`engines.dsh >= 最低版本` + DSH peer 一律 `*`」。Fish 继续沿用自 v0.1.23 以来的**精确枚举**契约(`peerDependencies` 列全所有已测宿主),因此 `scripts/compatibility.mjs`、`scripts/doctor.mjs`、`scripts/compatibility.test.mjs` 保持 Fish 的精确枚举实现,只额外补了 `compareHostVersions` 供 `upgrade-status.mjs` 使用。若后续要换成上游的 `*` 契约,需要连同这三个脚本一起替换。
37
+ - Fish 原有的 `scripts/member-composition.test.mjs`(preset-only 组合)已删除:上游 v0.1.29 用 `runtimeSetup` + managed activation 实现了同一目的,并由 `scripts/harness-compat-tdd.mjs` 的新用例覆盖。
38
+ - 上游新增的 `docs/`、`skills/README.md` 等文档改动本轮未逐字同步(不改动 Fish 的文档组织)。
39
+
40
+ ## 美术素材
41
+
42
+ `assets/agent-teams/` 本次未做任何改动;厂商素材的数量、命名与授权说明见 `NOTICE.md`。
@@ -0,0 +1,17 @@
1
+ # v2.0.0 · 并入 dsh-fish 聚合仓库
2
+
3
+ 本版把 Fish fork 整体并入 [Fish-under-sea/dsh-fish](https://github.com/Fish-under-sea/dsh-fish),作为工作区成员 `packages/dsh-agent-teams-fish` 与其它成员统一构建、统一版本、统一发布。包名保持 `@fish-under-sea/dsh-agent-teams-fish`,版本随聚合统一为 **2.0.0**。源码基线仍为上游 tag **v0.1.29**(commit `369c278`),本轮不同步新的上游代码。
4
+
5
+ ## 变更
6
+
7
+ - **仓库并入**:`src/`、`lib/`、`assets/`、`scripts/`、`skills/`、`release-notes/`、`cordis.patch.yml`、`compatibility.json`、构建配置与 README/NOTICE/LICENSE 全部并入聚合仓库;原独立仓库不再单独演进。不带入 `.git`、`.github`、`node_modules`、`pnpm-lock.yaml` 等外部仓库残留。
8
+ - **身份字段**:`repository.directory` 指向 `packages/dsh-agent-teams-fish`,`homepage` / `bugs` 指向聚合仓库;新增聚合图标 `icon.png` 与 `icon` 字段。
9
+ - **插件清单元数据**:新增 `locale/zh.json`、`locale/en.json`(meta.title / meta.description),并在 `exports` 中导出;`exports` 同时补 `./src/*`,与其它成员一致。
10
+ - **发布清单**:`files` 覆盖 `lib`、`src`、`assets`、`locale`、`scripts`、`release-notes`、`cordis.patch.yml`、`compatibility.json`、`pnpm-workspace.yaml`(compatibility 策略清单,doctor 运行所需)、README、NOTICE、LICENSE 与 `icon.png`。
11
+ - **构建门禁适配**:`scripts/git-artifacts.mjs` 容忍包级 `pnpm-lock.yaml` 缺失(聚合仓库的锁文件在根目录),并重新生成 `lib/git-artifact-stamp.json`;独立检出时门禁行为不变。
12
+
13
+ ## 不变
14
+
15
+ - 团队协作逻辑(花名册、任务 DAG、调度、质量门、信箱、面板)、配置字段与团队数据格式不变;状态目录仍是 `.agent-teams`,行 id 仍是 `agent-teams`。
16
+ - 宿主兼容声明不变:推荐宿主 `0.2.2-rc.1`,Node `>=24.9`;精确支持列表仍以 `compatibility.json` 为唯一事实源。
17
+ - 厂商美术体系与素材授权说明不变,见 `NOTICE.md`。