dsh-spec-collab 0.3.1 → 0.4.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.
- package/CHANGELOG.md +8 -0
- package/README.md +9 -12
- package/lib/client.js +830 -617
- package/lib/index.js +33 -58
- package/lib/types/client/index.d.ts +2 -3
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/sidebar-anchor.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/review-runtime.d.ts +12 -3
- package/lib/types/review-runtime.d.ts.map +1 -1
- package/package.json +28 -27
- package/src/client/index.ts +2 -4
- package/src/client/sidebar-anchor.ts +2 -0
- package/src/index.ts +4 -4
- package/src/review-runtime.ts +29 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0 — 2026-11-03
|
|
4
|
+
|
|
5
|
+
- 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.
|
|
6
|
+
- 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.
|
|
7
|
+
- Read flat Session events through the current inspection API so review conversations and follow-ups remain visible.
|
|
8
|
+
- 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.
|
|
9
|
+
- Align configuration schemas and the dependency lock with the current SDK, and cover the official compatibility gate, Host activation/disposal and review session integration.
|
|
10
|
+
|
|
3
11
|
## 0.3.1 — 2026-10-27
|
|
4
12
|
|
|
5
13
|
- 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,23 @@ DeepSeek Harness 的需求“编辑校样台”,用于把原始需求澄清为
|
|
|
7
7
|
|
|
8
8
|
产品边界严格止于 Ready Spec,不包含代码实现、测试用例生成、worktree、MR、部署、发布或交付状态管理。
|
|
9
9
|
|
|
10
|
-
当前版本为 `v0.
|
|
10
|
+
当前版本为 `v0.4.0`,兼容 DeepSeek Harness `v0.2.1-rc.5`。DSH `v0.1.1-rc.1` 请继续使用插件 `v0.3.1`;两个版本使用不同的宿主接口。插件可在局域网 HTTP 地址下运行,不依赖浏览器提供 `crypto.randomUUID`;新版 DSH 从“插件”入口旁挂载“需求讨论”,旧版侧栏仍支持“技能中心 / 设置”入口。
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## 安装
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
可在 DSH 插件管理中选择“安装第三方插件”,输入 `dsh-spec-collab@0.4.0`。命令行安装可使用与宿主同版本的 CLI:
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
|
-
npx -y @deepseek-ai/dsh@0.
|
|
17
|
+
npx -y @deepseek-ai/dsh@0.2.1-rc.5 plugin --profile desktop add dsh-spec-collab@0.4.0
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
如果 `dsh` 已在 `PATH` 中,也可以使用简写:
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
|
-
dsh plugin --profile
|
|
23
|
+
dsh plugin --profile desktop add dsh-spec-collab@0.4.0
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
```sh
|
|
29
|
-
dsh plugin --profile web update dsh-spec-collab@latest
|
|
30
|
-
```
|
|
26
|
+
安装到当前正在使用的 profile 后,在插件管理中确认插件已启用;如界面提示需要重启,重启现有桌面应用或 `dsh web` 进程。后续更新仍通过同一 profile 安装明确兼容的版本。
|
|
31
27
|
|
|
32
28
|
插件已经内置非安全 HTTP 环境所需的 UUID fallback,不需要通过代理向 HTML 注入 `crypto` polyfill。团队部署仍建议使用 HTTPS,并在 DSH 前配置认证。
|
|
33
29
|
|
|
@@ -98,7 +94,7 @@ dsh plugin --profile web update dsh-spec-collab@latest
|
|
|
98
94
|
|
|
99
95
|
</details>
|
|
100
96
|
|
|
101
|
-
## 当前能力(v0.
|
|
97
|
+
## 当前能力(v0.4.0)
|
|
102
98
|
|
|
103
99
|
### 需求正文与版本
|
|
104
100
|
|
|
@@ -219,7 +215,8 @@ pnpm install
|
|
|
219
215
|
pnpm run typecheck
|
|
220
216
|
pnpm test
|
|
221
217
|
pnpm run build
|
|
222
|
-
|
|
218
|
+
# 桌面应用使用 desktop;独立 dsh web 改为 web。
|
|
219
|
+
dsh plugin --profile desktop add "link:$(pwd)"
|
|
223
220
|
```
|
|
224
221
|
|
|
225
222
|
首次安装或 Host 代码变更后重启现有 `dsh web`。Client 开发时需在 DeepSeek Harness checkout 运行 `pnpm run dev:web`,插件侧运行 `pnpm run bundle --watch`,现有 GUI 的 client-plugin HMR 才会接收 bundle 更新。
|