dsh-model-switch 0.4.17 → 0.4.18

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,3 +1,14 @@
1
+ ## v0.4.18
2
+
3
+ Declare official DSH `0.2.0-rc.2` compatible in `package.json#dsh.compatibility.dshReleases`.
4
+
5
+ Evidence, in the order this repository's compatibility policy requires:
6
+
7
+ - **Public API review:** the 0.2.x Host renamed the pending-question withdrawal verb (`PendingQuestion.cancel()` → `dismiss()`), fires `session.selectModel`'s deployment-default write without awaiting it, and reports a refused `ModelDirectory.select` as a returned `{ ok: false }` value instead of throwing. Each difference broke v0.4.16, and each is fixed in v0.4.17.
8
+ - **Tests and build:** `pnpm run check` green — `tsc` + `tsdown`, the full vitest suite, and the pack gate against a real tarball.
9
+ - **Lab plane:** profile composition `exit 0` with no skipped bundle, Host boot on port 3082 with the plugin's capability RPC answering, and the npm-installed build booting on port 3085 with its client bundle served.
10
+ - **Live desktop verification on 0.2.0-rc.2:** all three Plan Review actions exercised against a real session — Discuss withdraws the takeover and returns the composer; Reject delivers typed feedback verbatim as the answer's `custom` text; Confirm commits a different execution model, approves the plan, and restores the Main default to its pre-switch value.
11
+
1
12
  ## v0.4.17
2
13
 
3
14
  First release published to the npm registry, so `dsh plugin --profile <name> add dsh-model-switch` installs prebuilt code without a git build authorization. Publishing builds `lib/` through `prepublishOnly`, and `pnpm run check` now runs its pack gate on Windows as well.
package/README.md CHANGED
@@ -109,7 +109,7 @@ A packed tarball installs the same build without a registry:
109
109
  dsh plugin --profile web add --force ./dsh-model-switch-0.4.17.tgz
110
110
  ```
111
111
 
112
- Then install only the provider adapters you use. This release was checked against official DeepSeek Harness `0.1.7-rc.2`:
112
+ Then install only the provider adapters you use. This release was checked against official DeepSeek Harness `0.1.7-rc.2` and verified on `0.2.0-rc.2`:
113
113
 
114
114
  ```sh
115
115
  dsh plugin --profile web add --force \
@@ -140,6 +140,8 @@ Production profiles must use a released registry version or GitHub tag rather th
140
140
 
141
141
  DSH Host peers and development dependencies accept `>=0.1.7-alpha.2`, including rc.1 and later releases. The development lockfile resolves to rc.2. Cordis accepts `>=4.0.4 <5.0.0`.
142
142
 
143
+ Verified releases: `0.1.7-alpha.2`, `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.2`. The 0.2.0 claim covers the Host's renamed question verbs, its unawaited `session.selectModel` default write, and its returned `ModelDirectory.select` refusal, each verified in the lab and on a live desktop session.
144
+
143
145
  The verified releases in `package.json#dsh.compatibility.dshReleases` are evidence, not an allowlist. Review public API changes and test new Host releases before adding a verification claim.
144
146
 
145
147
  ## Development
@@ -155,7 +157,7 @@ pnpm run check
155
157
 
156
158
  ## Release installation (Latest)
157
159
 
158
- Explicit model routing for Main, Subagent, Composer, Plan Review, and capability tools, checked on official DeepSeek Harness `0.1.7-rc.2`. The release artifact contains built Host/Client files, not sibling source or local paths.
160
+ Explicit model routing for Main, Subagent, Composer, Plan Review, and capability tools, checked on official DeepSeek Harness `0.1.7-rc.2` and `0.2.0-rc.2`. The release artifact contains built Host/Client files, not sibling source or local paths.
159
161
 
160
162
  Latest installation (the asset filename must match the current latest release):
161
163
 
package/README.zh.md CHANGED
@@ -107,7 +107,7 @@ dsh plugin --profile web add --force dsh-model-switch
107
107
  dsh plugin --profile web add --force ./dsh-model-switch-0.4.17.tgz
108
108
  ```
109
109
 
110
- 然后只安装实际使用的 Provider Adapter。此版本已在官方 DeepSeek Harness `0.1.7-rc.2` 上检查:
110
+ 然后只安装实际使用的 Provider Adapter。此版本已在官方 DeepSeek Harness `0.1.7-rc.2` 上检查,并在 `0.2.0-rc.2` 上验证:
111
111
 
112
112
  ```sh
113
113
  dsh plugin --profile web add --force \
@@ -138,6 +138,8 @@ DeepSeek 薄适配器调用官方公开 `DeepSeekSearchProvider`,复用用户
138
138
 
139
139
  DSH Host peer 和开发依赖接受 `>=0.1.7-alpha.2`,包括 rc.1 和后续版本。开发锁文件解析到 rc.2。Cordis 接受 `>=4.0.4 <5.0.0`。
140
140
 
141
+ 已验证版本:`0.1.7-alpha.2`、`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.2`。0.2.0 的声明覆盖三处差异:Host 改名的提问撤下动词(`cancel()` → `dismiss()`)、`session.selectModel` 不 await 的部署默认值写入、以返回值报出的 `ModelDirectory.select` 拒绝;三者均已在 lab(3082/3085)与真实桌面会话中逐一验证。
142
+
141
143
  `package.json#dsh.compatibility.dshReleases` 中的已验证版本是证据,不是允许列表。新增验证声明前要审查公开 API 变化并测试新 Host 版本。
142
144
 
143
145
  ## 开发
@@ -153,7 +155,7 @@ pnpm run check
153
155
 
154
156
  ## 正式版安装(Latest)
155
157
 
156
- 本版在官方 DeepSeek Harness `0.1.7-rc.2` 上验证了 Main、子代理、Composer 与能力路由;发布包只包含构建后的 Host/Client 产物,不包含兄弟仓库源码或本机路径。
158
+ 本版在官方 DeepSeek Harness `0.1.7-rc.2` 与 `0.2.0-rc.2` 上验证了 Main、子代理、Composer、Plan Review 与能力路由;发布包只包含构建后的 Host/Client 产物,不包含兄弟仓库源码或本机路径。
157
159
 
158
160
  Latest 安装命令(资产文件名必须与当前 latest Release 一致):
159
161
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-model-switch",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "Explicit model routing plus composer/Plan picker for DeepSeek Harness",
5
5
  "repository": {
6
6
  "type": "git",
@@ -93,7 +93,8 @@
93
93
  "dshReleases": {
94
94
  "0.1.7-alpha.2": "compatible",
95
95
  "0.1.7-rc.1": "compatible",
96
- "0.1.7-rc.2": "compatible"
96
+ "0.1.7-rc.2": "compatible",
97
+ "0.2.0-rc.2": "compatible"
97
98
  }
98
99
  }
99
100
  },