dsh-spec-collab 0.3.1 → 0.4.1

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
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.1 — 2026-11-11
4
+
5
+ - Support DSH 0.2.2-rc.1 while retaining 0.2.1-rc.5 compatibility. Declare bounded runtime and SDK peer windows for both release lines, including npm's default prerelease matching, and reject unverified 0.2.3 and later releases.
6
+ - Replace the removed Session Controller inspection call with paginated event history on DSH 0.2.2. Keep one history cursor while reading earlier pages, preserve chronological replies, reject non-advancing cursors, and fall back to inspection on DSH 0.2.1.
7
+ - Build and type-check against the 0.2.2-rc.1 SDK and support both Cordis 4.0/4.1 and native schema versions. Cover the original exact-peer rejection, supported and unsupported runtimes, legacy history, and the current history protocol.
8
+
9
+ ## 0.4.0 — 2026-11-03
10
+
11
+ - Support DeepSeek Harness 0.2.1-rc.5 and declare its Host services as exact SDK peers. Older DSH 0.1.1-rc.1 installations must continue using plugin 0.3.1.
12
+ - Replace the removed API proxy with the Session Controller, Workspace Registry and Agent Preset Registry. Use direct business results, request IDs and cancellable prompt delivery.
13
+ - Read flat Session events through the current inspection API so review conversations and follow-ups remain visible.
14
+ - Remove the retired client runtime dependency and the unused client Session injection; mount the workbench entry beside the current Plugins panel, including compact Chinese and English sidebars.
15
+ - Align configuration schemas and the dependency lock with the current SDK, and cover the official compatibility gate, Host activation/disposal and review session integration.
16
+
3
17
  ## 0.3.1 — 2026-10-27
4
18
 
5
19
  - Enforce the same Ready admission rules in frontend guidance and the server: require a completed engineering precheck for the current commit, settled reviews and patches, passing readiness checks, and current version confirmations from both roles.
package/README.md CHANGED
@@ -7,27 +7,25 @@ DeepSeek Harness 的需求“编辑校样台”,用于把原始需求澄清为
7
7
 
8
8
  产品边界严格止于 Ready Spec,不包含代码实现、测试用例生成、worktree、MR、部署、发布或交付状态管理。
9
9
 
10
- 当前版本为 `v0.3.1`,兼容 DeepSeek Harness `v0.1.1-rc.1`。插件可在局域网 HTTP 地址下运行,不依赖浏览器提供 `crypto.randomUUID`;DSH 精简侧栏仅显示“设置”时,也会正常挂载“需求讨论”入口。
10
+ 当前版本为 `v0.4.1`,支持 DeepSeek Harness `0.2.1`(从 `rc.5` 起)与 `0.2.2`(从 `rc.1` 起),包含对应的稳定版本。插件使用有上界的 `engines.dsh` 和 SDK peer 范围;`0.2.3` 及后续系列需要验证后再扩展支持。DSH `v0.1.1-rc.1` 请继续使用插件 `v0.3.1`。
11
11
 
12
- ## 一键安装
12
+ 插件在 DSH `0.2.2` 上通过分页事件接口读取完整 AI 历史,并保留 `0.2.1` 的历史读取方式。插件可在局域网 HTTP 地址下运行,不依赖浏览器提供 `crypto.randomUUID`;侧栏从“插件”入口旁挂载“需求讨论”,同时保留“技能中心 / 设置”定位。
13
13
 
14
- 已有 Node.js 环境时,无需先全局安装 DSH CLI:
14
+ ## 安装
15
+
16
+ 可在 DSH 插件管理中选择“安装第三方插件”,输入 `dsh-spec-collab@0.4.1`。命令行安装可使用与宿主同版本的 CLI:
15
17
 
16
18
  ```sh
17
- npx -y @deepseek-ai/dsh@0.1.1-rc.1 plugin --profile web add dsh-spec-collab@latest
19
+ npx -y @deepseek-ai/dsh@0.2.2-rc.1 plugin --profile desktop add dsh-spec-collab@0.4.1
18
20
  ```
19
21
 
20
22
  如果 `dsh` 已在 `PATH` 中,也可以使用简写:
21
23
 
22
24
  ```sh
23
- dsh plugin --profile web add dsh-spec-collab@latest
25
+ dsh plugin --profile desktop add dsh-spec-collab@0.4.1
24
26
  ```
25
27
 
26
- 安装后重启现有的 `dsh web` 进程。后续更新使用:
27
-
28
- ```sh
29
- dsh plugin --profile web update dsh-spec-collab@latest
30
- ```
28
+ 安装到当前正在使用的 profile 后,在插件管理中确认插件已启用;如界面提示需要重启,重启现有桌面应用或 `dsh web` 进程。已安装 `0.4.0` 时,在同一 profile 中卸载旧版后安装 `0.4.1`,再启用插件。
31
29
 
32
30
  插件已经内置非安全 HTTP 环境所需的 UUID fallback,不需要通过代理向 HTML 注入 `crypto` polyfill。团队部署仍建议使用 HTTPS,并在 DSH 前配置认证。
33
31
 
@@ -98,7 +96,7 @@ dsh plugin --profile web update dsh-spec-collab@latest
98
96
 
99
97
  </details>
100
98
 
101
- ## 当前能力(v0.3.1)
99
+ ## 当前能力(v0.4.1)
102
100
 
103
101
  ### 需求正文与版本
104
102
 
@@ -219,7 +217,8 @@ pnpm install
219
217
  pnpm run typecheck
220
218
  pnpm test
221
219
  pnpm run build
222
- dsh plugin --profile web add "link:$(pwd)"
220
+ # 桌面应用使用 desktop;独立 dsh web 改为 web。
221
+ dsh plugin --profile desktop add "link:$(pwd)"
223
222
  ```
224
223
 
225
224
  首次安装或 Host 代码变更后重启现有 `dsh web`。Client 开发时需在 DeepSeek Harness checkout 运行 `pnpm run dev:web`,插件侧运行 `pnpm run bundle --watch`,现有 GUI 的 client-plugin HMR 才会接收 bundle 更新。