@takboo/dsh-coopanion 0.4.13 → 0.4.14

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/README.md CHANGED
@@ -51,14 +51,14 @@
51
51
 
52
52
  ## 开始一起工作
53
53
 
54
- 需要 **DeepSeek Harness Desktop 0.2.0-rc.2、0.2.1-alpha.1、0.2.1-rc.1 或 0.2.1-rc.2**。这是 Harness 插件,聊天使用你在 Harness 中配置的模型,无需另填 API Key。
54
+ 需要 **DeepSeek Harness Desktop 0.2.0-rc.2、0.2.1-alpha.1、0.2.1-rc.1、0.2.1-rc.2 或 0.2.1-rc.3**。这是 Harness 插件,聊天使用你在 Harness 中配置的模型,无需另填 API Key。
55
55
 
56
56
  ### 在 Harness 中从 npm 安装(推荐)
57
57
 
58
58
  打开侧边栏 **插件 → 添加插件**,在「包名或地址」中填入:
59
59
 
60
60
  ```text
61
- @takboo/dsh-coopanion@0.4.13
61
+ @takboo/dsh-coopanion@0.4.14
62
62
  ```
63
63
 
64
64
  点击安装,完成后启用 `dsh-coopanion`,再完全退出并重新打开 Harness。
@@ -70,7 +70,7 @@
70
70
  使用 **Desktop 自带的 `dsh` 命令**。先启动 Desktop 一次完成初始化,完全退出应用后执行:
71
71
 
72
72
  ```bash
73
- dsh plugin --profile desktop add @takboo/dsh-coopanion@0.4.13
73
+ dsh plugin --profile desktop add @takboo/dsh-coopanion@0.4.14
74
74
  ```
75
75
 
76
76
  完成后重新打开 Desktop。其他 profile 的安装方法见[使用指南](docs/usage.md#通过-dsh-命令行安装)。
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": 1,
3
- "commit": "a5f5408dfccbd1d54a3ec215ec50e544266debf3",
3
+ "commit": "41bd49a433234e1a06ffac3c6b6acaf2979845c1",
4
4
  "dirty": false,
5
- "productDigest": "b40541780c76c768b33f53035f3527ad657d1b415b437acb7bf3124a65093bf8"
5
+ "productDigest": "a4cd06c1cf2a40deeffe93d093291222b08f1499cfb126f566bed9e037cc1a52"
6
6
  }
@@ -1,3 +1,14 @@
1
+ # v0.4.14
2
+
3
+ ## DSH 0.2.1-rc.3 兼容
4
+
5
+ - 将 DSH 0.2.1-rc.3 加入 `engines.dsh` 与所有宿主 peer 的精确支持列表,保留既有四版宿主兼容;未验证的后续候选版仍不放行。
6
+ - 三平台同包安装矩阵扩为五版宿主、十五组,检查正式插件安装、设置与语言切换、完成通知、会话续接、原生窗口及恢复。
7
+ - 安装检查通过宿主官方兼容性判断复现旧声明拒绝 rc.3,并验证新声明接受全部支持版本;独立观察工具同步支持 rc.3。
8
+ - Linux/macOS 安装重启验证使用宿主正式信号退出路径,Windows 保留 IPC 退出;继续要求退出码为 0,避免旧宿主清理后的残留句柄阻塞测试重启。
9
+
10
+ 安装包:`dsh-coopanion-0.4.14.tgz`;npm 与 GitHub Release 使用同一份发布 CI 验证的压缩包。
11
+
1
12
  # v0.4.13
2
13
 
3
14
  ## NPC 日常与交互修复
package/docs/releasing.md CHANGED
@@ -18,11 +18,11 @@ git push origin v<实际版本>
18
18
 
19
19
  ## 自动检查与同包分发
20
20
 
21
- CI 在 Linux、macOS、Windows 上运行元数据、类型、单元、浏览器、键盘辅助进程及真实 Electron 窗口检查;宿主安装矩阵使用 `package.json` 声明支持的四版 DSH,三平台共十二组。实际配置以 `.github/workflows/ci.yml` 为准。Linux 窗口检查由 Xvfb + Openbox 提供隔离显示,原生桌面步骤保留进程日志并设置六分钟上限。
21
+ CI 在 Linux、macOS、Windows 上运行元数据、类型、单元、浏览器、键盘辅助进程及真实 Electron 窗口检查;宿主安装矩阵使用 `package.json` 声明支持的五版 DSH,三平台共十五组。实际配置以 `.github/workflows/ci.yml` 为准。Linux 窗口检查由 Xvfb + Openbox 提供隔离显示,原生桌面步骤保留进程日志并设置六分钟上限。
22
22
 
23
23
  发布验证标签是 `origin/main` 的祖先、包与 shrinkwrap 版本一致且当前发布说明存在,然后检出不可变提交并重新执行完整 CI。PR 或 main 的先前测试结果不能代替标签上的发布检查。
24
24
 
25
- Linux 构建并打包一次,成为规范产物。`npm pack` 产生的 `takboo-dsh-coopanion-<版本>.tgz` 只重命名为 `dsh-coopanion-<版本>.tgz`;固定别名通过复制获得。十二组安装、npm 和 Release 都消费这份压缩包,发布使用 `--ignore-scripts`,不会再次构建。
25
+ Linux 构建并打包一次,成为规范产物。`npm pack` 产生的 `takboo-dsh-coopanion-<版本>.tgz` 只重命名为 `dsh-coopanion-<版本>.tgz`;固定别名通过复制获得。十五组安装、npm 和 Release 都消费这份压缩包,发布使用 `--ignore-scripts`,不会再次构建。
26
26
 
27
27
  `verification.json` 绑定完整源码提交、版本、SHA-256 与 npm SHA-512 integrity;`dist/build-info.json` 记录产品输入摘要。生成正式报告要求干净、已提交的 checkout。构建摘要不代替完整 `.tgz` 的身份。
28
28
 
package/docs/usage.md CHANGED
@@ -4,13 +4,13 @@
4
4
 
5
5
  ## 安装到 Desktop
6
6
 
7
- 支持 **DSH 0.2.0-rc.2、0.2.1-alpha.1、0.2.1-rc.1 和 0.2.1-rc.2**;其他版本未声明兼容。
7
+ 支持 **DSH 0.2.0-rc.2、0.2.1-alpha.1、0.2.1-rc.1、0.2.1-rc.2 和 0.2.1-rc.3**;其他版本未声明兼容。
8
8
 
9
- 在 0.2.1-rc.1 / rc.2 中,从左下角账号菜单(未登录时显示“更多”)选择“设置”,再进入“桌宠”;0.2.0-rc.2/0.2.1-alpha.1 从侧栏“设置”进入。
9
+ 在 0.2.1-rc.1 / rc.2 / rc.3 中,从左下角账号菜单(未登录时显示“更多”)选择“设置”,再进入“桌宠”;0.2.0-rc.2/0.2.1-alpha.1 从侧栏“设置”进入。
10
10
 
11
11
  ### 在 Harness 中从 npm 安装
12
12
 
13
- 打开侧边栏 **插件 → 添加插件**,在「包名或地址」输入 **`@takboo/dsh-coopanion@0.4.13`**,点击安装,再启用 `dsh-coopanion`。显式版本可以避免发布首日的裸包名解析回退,原因见下方。安装方式见 [Harness 官方插件管理说明](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/client/ui-plugin-manager/README.zh.md#安装一个组合包)。
13
+ 打开侧边栏 **插件 → 添加插件**,在「包名或地址」输入 **`@takboo/dsh-coopanion@0.4.14`**,点击安装,再启用 `dsh-coopanion`。显式版本可以避免发布首日的裸包名解析回退,原因见下方。安装方式见 [Harness 官方插件管理说明](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/client/ui-plugin-manager/README.zh.md#安装一个组合包)。
14
14
 
15
15
  ### 安装版本与发布时间保护
16
16
 
@@ -23,7 +23,7 @@ pnpm 11 的 `minimumReleaseAge` 默认为 1440 分钟(24 小时)。详情页
23
23
  **Desktop:** 使用 Desktop 自带的 `dsh` 命令。先启动 Desktop 一次初始化 profile,完全退出应用,再执行:
24
24
 
25
25
  ```bash
26
- dsh plugin --profile desktop add @takboo/dsh-coopanion@0.4.13
26
+ dsh plugin --profile desktop add @takboo/dsh-coopanion@0.4.14
27
27
  ```
28
28
 
29
29
  npm 安装的 dsh 不能管理 Desktop 所拥有的 profile;若系统找不到 Desktop 的命令,先在 Desktop 的菜单栏中使用 **Manage dsh command/管理 dsh 命令** 安装命令入口。
@@ -31,7 +31,7 @@ npm 安装的 dsh 不能管理 Desktop 所拥有的 profile;若系统找不到
31
31
  **本机 Web profile:** 使用 npm 安装的 dsh 时,向实际使用的 profile 安装。例如默认 `web` profile:
32
32
 
33
33
  ```bash
34
- dsh plugin --profile web add @takboo/dsh-coopanion@0.4.13
34
+ dsh plugin --profile web add @takboo/dsh-coopanion@0.4.14
35
35
  dsh --profile web
36
36
  ```
37
37
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@takboo/dsh-coopanion",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@takboo/dsh-coopanion",
9
- "version": "0.4.13",
9
+ "version": "0.4.14",
10
10
  "license": "AGPL-3.0-or-later",
11
11
  "dependencies": {
12
12
  "dompurify": "3.4.17",
@@ -49,29 +49,29 @@
49
49
  },
50
50
  "engines": {
51
51
  "node": ">=22.19",
52
- "dsh": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2"
52
+ "dsh": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@deepseek-ai/cordis": "~4.0.4 || 4.0.5-alpha.1",
56
- "@deepseek-ai/dsh-agent": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
57
- "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
58
- "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
59
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
60
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
61
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
62
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
63
- "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
64
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
65
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
66
- "@deepseek-ai/dsh-goal": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
67
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
68
- "@deepseek-ai/dsh-session": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
69
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
70
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
71
- "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
72
- "@deepseek-ai/dsh-user-questions": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
56
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
57
+ "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
58
+ "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
59
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
60
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
61
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
62
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
63
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
64
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
65
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
66
+ "@deepseek-ai/dsh-goal": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
67
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
68
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
69
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
70
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
71
+ "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
72
+ "@deepseek-ai/dsh-user-questions": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
73
73
  "@deepseek-ai/schemastery": ">=3.18.4 <4",
74
- "@deepseek-ai/dsh-session-query": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2"
74
+ "@deepseek-ai/dsh-session-query": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3"
75
75
  },
76
76
  "peerDependenciesMeta": {
77
77
  "@deepseek-ai/dsh-api-session-controller": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takboo/dsh-coopanion",
3
- "version": "0.4.13",
3
+ "version": "0.4.14",
4
4
  "description": "DeepSeek Whale desktop companion and task notifications for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=22.19",
28
- "dsh": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2"
28
+ "dsh": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3"
29
29
  },
30
30
  "main": "./dist/index.js",
31
31
  "exports": {
@@ -104,25 +104,25 @@
104
104
  },
105
105
  "peerDependencies": {
106
106
  "@deepseek-ai/cordis": "~4.0.4 || 4.0.5-alpha.1",
107
- "@deepseek-ai/dsh-agent": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
108
- "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
109
- "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
110
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
111
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
112
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
113
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
114
- "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
115
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
116
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
117
- "@deepseek-ai/dsh-goal": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
118
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
119
- "@deepseek-ai/dsh-session": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
120
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
121
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
122
- "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
123
- "@deepseek-ai/dsh-user-questions": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2",
107
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
108
+ "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
109
+ "@deepseek-ai/dsh-client-connection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
110
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
111
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
112
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
113
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
114
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
115
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
116
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
117
+ "@deepseek-ai/dsh-goal": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
118
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
119
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
120
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
121
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
122
+ "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
123
+ "@deepseek-ai/dsh-user-questions": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3",
124
124
  "@deepseek-ai/schemastery": ">=3.18.4 <4",
125
- "@deepseek-ai/dsh-session-query": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2"
125
+ "@deepseek-ai/dsh-session-query": "0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3"
126
126
  },
127
127
  "devDependencies": {
128
128
  "@deepseek-ai/cordis": "4.0.4",
@@ -21,7 +21,7 @@ assert.match(args['source-commit'], /^[a-f0-9]{40}$/);
21
21
  assert.ok(process.env.DISPLAY);
22
22
  const runtime = resolve(args.runtime), archivePath = resolve(args.package), output = resolve(args.output);
23
23
  const version = args.version ?? '0.2.0-rc.2';
24
- assert.ok(['0.2.0-rc.2', '0.2.1-alpha.1', '0.2.1-rc.1', '0.2.1-rc.2'].includes(version));
24
+ assert.ok(['0.2.0-rc.2', '0.2.1-alpha.1', '0.2.1-rc.1', '0.2.1-rc.2', '0.2.1-rc.3'].includes(version));
25
25
  const seconds = Number(args.seconds ?? 7200), interval = Number(args.interval ?? 5), windowSeconds = Number(args.window ?? 1800), warmup = Number(args.warmup ?? 20);
26
26
  assert.ok([seconds, interval, windowSeconds, warmup].every(Number.isFinite) && seconds >= windowSeconds * 2 && windowSeconds >= 10 && interval >= 1 && interval <= 10 && warmup >= 20);
27
27
  await mkdir(dirname(output), { recursive: true }); await mkdir(output);
package/tests/install.mjs CHANGED
@@ -20,7 +20,7 @@ import { crashNative, connectRecovered, waitRecovery } from './helpers/desktop-r
20
20
 
21
21
  const sourceCommit = execFileSync('git', ['rev-parse', 'HEAD'], { encoding: 'utf8' }).trim();
22
22
  const version = process.env.DSH_TEST_VERSION ?? '0.2.0-rc.2';
23
- assert.ok(['0.2.0-rc.2', '0.2.1-alpha.1', '0.2.1-rc.1', '0.2.1-rc.2'].includes(version), 'test only advertised DSH versions');
23
+ assert.ok(['0.2.0-rc.2', '0.2.1-alpha.1', '0.2.1-rc.1', '0.2.1-rc.2', '0.2.1-rc.3'].includes(version), 'test only advertised DSH versions');
24
24
  const project = fileURLToPath(new URL('../', import.meta.url));
25
25
  const manifest = JSON.parse(await readFile(join(project, 'package.json'), 'utf8'));
26
26
  const archive = resolve(process.env.DSH_TEST_PACKAGE ?? (process.env.DSH_TEST_PACKAGE_DIR
@@ -107,9 +107,10 @@ async function run(command, args, cwd = project, timeoutMs = 240000) {
107
107
  async function stop(child) {
108
108
  if (!child || child.exitCode !== null || child.signalCode !== null) return;
109
109
  const finished = once(child, 'exit');
110
- // Windows cannot deliver a catchable SIGTERM. The fixture uses the real
111
- // launcher's bounded appExit hook, preserving the clean-exit assertion.
112
- if (child === host && child.connected) child.send({ type: 'shutdown-host' });
110
+ // POSIX uses the launcher's signal shutdown, which exits after disposal.
111
+ // appExit instead waits for natural event-loop quiescence and old hosts can
112
+ // retain handles after disposing. Windows needs the catchable IPC exit hook.
113
+ if (process.platform === 'win32' && child === host && child.connected) child.send({ type: 'shutdown-host' });
113
114
  else child.kill('SIGTERM');
114
115
  const deadline = setTimeout(() => child.kill('SIGKILL'), 10000);
115
116
  try { await finished; } finally { clearTimeout(deadline); }
@@ -133,6 +134,15 @@ try {
133
134
  const bootFile = join(runtime, 'node_modules', '@deepseek-ai', 'dsh-app-boot', 'lib', 'index.js');
134
135
  const { evaluatePluginCompatibility } = await import(pathToFileURL(bootFile).href);
135
136
  assert.equal(evaluatePluginCompatibility(manifest, {}, version), undefined);
137
+ for (const supported of manifest.engines.dsh.split(' || ')) {
138
+ assert.equal(evaluatePluginCompatibility(manifest, {}, supported), undefined, `advertised host ${supported} is accepted`);
139
+ }
140
+ const previousHostRange = structuredClone(manifest);
141
+ previousHostRange.engines.dsh = previousHostRange.engines.dsh.replace(' || 0.2.1-rc.3', '');
142
+ for (const peer of Object.keys(previousHostRange.peerDependencies)) {
143
+ if (peer.startsWith('@deepseek-ai/dsh-')) previousHostRange.peerDependencies[peer] = previousHostRange.peerDependencies[peer].replace(' || 0.2.1-rc.3', '');
144
+ }
145
+ assert.ok(evaluatePluginCompatibility(previousHostRange, {}, '0.2.1-rc.3'), 'the previous host declarations reject rc.3');
136
146
  const previous = structuredClone(manifest);
137
147
  previous.version = '0.1.0';
138
148
  for (const peer of Object.keys(previous.peerDependencies)) {
@@ -140,7 +150,7 @@ try {
140
150
  }
141
151
  if (version === '0.2.0-rc.2') assert.equal(evaluatePluginCompatibility(previous, {}, version)?.exempted, false, 'reproduce the previous release rejection');
142
152
  assert.ok(evaluatePluginCompatibility(manifest, {}, '0.2.0-rc.1'), 'unverified versions remain incompatible');
143
- assert.ok(evaluatePluginCompatibility(manifest, {}, '0.2.1-rc.3'), 'later prereleases require explicit verification');
153
+ assert.ok(evaluatePluginCompatibility(manifest, {}, '0.2.1-rc.4'), 'later prereleases require explicit verification');
144
154
  if (version.startsWith('0.2.1-rc.')) {
145
155
  const restricted = structuredClone(manifest);
146
156
  restricted.engines.dsh = '0.2.0-rc.2';