dsh-cabinet-mode 0.5.0 → 0.5.2

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
@@ -2,6 +2,34 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [0.5.2] - 2026-11-07
6
+
7
+ ### Fixed
8
+
9
+ - Export the bundle icon and English/Chinese display metadata so DSH plugin
10
+ management shows the Cabinet title, description, and portrait instead of the
11
+ package name and generic artwork. Include locale files in the published package.
12
+
13
+ ## [0.5.1] - 2026-11-07
14
+
15
+ ### Fixed
16
+
17
+ - Make the Cabinet preset load again on DSH 0.2.2-rc.1. The preset still listed
18
+ `@deepseek-ai/dsh-tool-subagent-control/list-agents`, a subpath that
19
+ 0.2.2-rc.1 no longer exports; the row failed to resolve, the preset registry
20
+ marked the whole preset broken, and the mode picker hid it while the settings
21
+ page showed a load-failure badge.
22
+ - Drop that row (`list_agents` now comes from the control entry itself), rename
23
+ `modelSelectionSettings` to `modelSelection: true` plus `modelDiscovery: true`,
24
+ and set `applyPatch: false` on the `tool-fs` row to match the shipped
25
+ Standard Mode.
26
+
27
+ ### Changed
28
+
29
+ - The tested reference DSH is now 0.2.2-rc.1. Users still on 0.2.1-rc.5 should
30
+ stay on the 0.4.x line: those releases ship `list_agents` through the removed
31
+ subpath, so this release trades that tool away on rc.5.
32
+
5
33
  ## [0.5.0] - 2026-11-06
6
34
 
7
35
  ### Added
package/README.md CHANGED
@@ -243,7 +243,7 @@ On failure, show the exact error. For $.format must be 1, replace the webpage so
243
243
  Use this only when the market is unavailable or for local development. Fully quit desktop DSH first to release the profile lock, then install the release bundle:
244
244
 
245
245
  ```sh
246
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.0/dsh-cabinet-mode-0.5.0.tgz
246
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.2/dsh-cabinet-mode-0.5.2.tgz
247
247
  dsh plugin --profile desktop list
248
248
  ```
249
249
 
@@ -258,7 +258,7 @@ the same install command with the new version URL (or pick the new `.tgz` in the
258
258
  plugin page), then fully quit and restart DeepSeek Harness:
259
259
 
260
260
  ```sh
261
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.0/dsh-cabinet-mode-0.5.0.tgz
261
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.2/dsh-cabinet-mode-0.5.2.tgz
262
262
  ```
263
263
 
264
264
  `dsh plugin --profile desktop list` should report the new version. Upgrades were
package/README.zh.md CHANGED
@@ -176,7 +176,7 @@ https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketp
176
176
  仅在商店不可用或本地开发时使用。先完全退出桌面 DSH,释放 profile 锁,再执行:
177
177
 
178
178
  ```sh
179
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.0/dsh-cabinet-mode-0.5.0.tgz
179
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.2/dsh-cabinet-mode-0.5.2.tgz
180
180
  dsh plugin --profile desktop list
181
181
  ```
182
182
 
@@ -187,7 +187,7 @@ dsh plugin --profile desktop list
187
187
  若通过插件市场安装:刷新市场,先在**已安装**页卸载旧版本,再从**插件市场**安装新版本,然后重启——没有 tgz URL 要换,也没有一键更新。否则用同一条安装命令换新版本 URL(或在插件页选新 `.tgz`),然后完全退出并重启 DeepSeek Harness:
188
188
 
189
189
  ```sh
190
- dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.0/dsh-cabinet-mode-0.5.0.tgz
190
+ dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.5.2/dsh-cabinet-mode-0.5.2.tgz
191
191
  ```
192
192
 
193
193
  `dsh plugin --profile desktop list` 应显示新版本。升级已在 Windows 实测:
package/cordis.patch.yml CHANGED
@@ -84,6 +84,8 @@
84
84
  disabled: !!js process.platform !== 'win32'
85
85
  - id: tool-fs
86
86
  name: '@deepseek-ai/dsh-tool-fs'
87
+ config:
88
+ applyPatch: false
87
89
  - id: tool-fs-search
88
90
  name: '@deepseek-ai/dsh-tool-fs-search'
89
91
  config:
@@ -146,14 +148,13 @@
146
148
  config:
147
149
  - id: tool-subagent-control
148
150
  name: '@deepseek-ai/dsh-tool-subagent-control'
149
- - id: tool-subagent-list-agents
150
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
151
151
  - id: tool-subagent
152
152
  name: '@deepseek-ai/dsh-tool-subagent'
153
153
  config:
154
154
  provider: spawn
155
155
  toolName: subagent
156
- modelSelectionSettings: true
156
+ modelSelection: true
157
+ modelDiscovery: true
157
158
  - id: tool-subagent-fork
158
159
  name: '@deepseek-ai/dsh-tool-subagent'
159
160
  config:
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Cabinet mode",
4
+ "description": "Adds a Ming cabinet team preset, a live team panel, and member settings for names, portraits, prompts, and models."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "内阁模式",
4
+ "description": "提供大明内阁团队预设、实时团队面板,以及成员名称、头像、提示词和模型设置。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cabinet-mode",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Cabinet Mode (内阁模式) for DeepSeek Harness: a declarative DSH bundle that adds a dual-identity Lead/teammate agent preset for the Great Ming Research Bureau cabinet team.",
5
5
  "license": "MIT",
6
6
  "icon": "./icon.svg",
@@ -35,10 +35,13 @@
35
35
  ],
36
36
  "exports": {
37
37
  ".": "./index.js",
38
- "./client": "./client.js"
38
+ "./client": "./client.js",
39
+ "./locale/*.json": "./locale/*.json",
40
+ "./icon": "./icon.svg"
39
41
  },
40
42
  "files": [
41
43
  "icon.svg",
44
+ "locale/*.json",
42
45
  "cordis.patch.yml",
43
46
  "index.js",
44
47
  "client.js",
@@ -36,7 +36,7 @@ import { tmpdir } from 'node:os';
36
36
  const ROOT = fileURLToPath(new URL('..', import.meta.url));
37
37
  const PATCH_PATH = join(ROOT, 'cordis.patch.yml');
38
38
  const PACKAGE_PATH = join(ROOT, 'package.json');
39
- const TESTS_ON = '0.2.1-rc.3';
39
+ const TESTS_ON = '0.2.2-rc.1';
40
40
  const EXPECTED_PLUGINS = [
41
41
  'persona', 'agent-instructions', 'time-context', 'tool-bash', 'tool-pwsh',
42
42
  'tool-fs', 'tool-fs-search', 'tool-jobs', 'tool-schedule',