dsh-cabinet-mode 0.5.3 → 0.6.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 +32 -0
- package/README.md +27 -4
- package/README.zh.md +22 -4
- package/client.js +425 -83
- package/index.js +1 -0
- package/package.json +1 -1
- package/scripts/test-client.mjs +330 -4
- package/scripts/test-model-picker.mjs +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.6.0] - 2026-11-08
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Five member-settings tabs and an optional Respire memory-plugin card using the public pinned package source.
|
|
10
|
+
- Lead monitoring guidance that requires confirming stopped writers before reassignment; no runtime watchdog or scheduled wake-up is implied.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Read official remote result envelopes; use the host update API for installed bundles and confirm installation and enable outcomes separately.
|
|
15
|
+
- Bound remote waits, block duplicate uncertain operations, preserve restart notices across card remounts, and ignore stale UI writes after unmount.
|
|
16
|
+
- Report unknown installed versions honestly rather than substituting a developer-machine snapshot.
|
|
17
|
+
|
|
18
|
+
## [0.5.4] - 2026-11-07
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- Draw task dependencies from the blocker to the blocked task; keep the endpoint
|
|
23
|
+
dot on the blocked task and animate active edges in that direction.
|
|
24
|
+
- Open teammate sessions from task titles and member cards through the optional
|
|
25
|
+
native workspace service. Current, failed and provisioning members stay inert;
|
|
26
|
+
lead-owned and unassigned task titles remain plain text.
|
|
27
|
+
|
|
28
|
+
### Verification
|
|
29
|
+
|
|
30
|
+
- Passed the existing client regressions and all 43 package/composition checks
|
|
31
|
+
with the local DSH 0.2.2-rc.1 runtime on Windows.
|
|
32
|
+
- Exercised the installed plugin in an isolated DSH web profile with browser-only
|
|
33
|
+
team projection fixtures and real empty sessions: measured edge endpoints and
|
|
34
|
+
animation, then confirmed task-title and member-card clicks selected the target
|
|
35
|
+
session. No model calls or full agent-team task execution were exercised.
|
|
36
|
+
|
|
5
37
|
## [0.5.3] - 2026-11-07
|
|
6
38
|
|
|
7
39
|
### Fixed
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Cabinet Mode (内阁模式) for DeepSeek Harness
|
|
2
2
|
|
|
3
|
-
**Version compatibility (0.
|
|
3
|
+
**Version compatibility (0.6.0):** Targets DSH **0.2.2-rc.1**. This release adds five settings tabs and an optional Respire install card, and retains the per-office model selection fix before the host freezes each step; 0.5.1/0.5.2 only repaired preset loading and display metadata. Verified with official host components and isolated profiles, without real model calls; see the model regression scope below. Earlier rc.3/rc.5 UI and installation results are historical evidence for earlier packages. On DSH 0.2.1-rc.3/rc.5 retain the previously verified package, including 0.5.0: the current preset omits the separate list_agents entry required on rc.5. Select the compatible version in the market.
|
|
4
4
|
|
|
5
5
|
[中文](README.zh.md) | English
|
|
6
6
|
|
|
@@ -37,7 +37,11 @@ and the rest) come from the profile-level
|
|
|
37
37
|
ship them**.
|
|
38
38
|
|
|
39
39
|
This bundle declares **no hard DSH version gate**: no `engines.dsh`, no DSH
|
|
40
|
-
`peerDependencies`, no install-time version check. Earlier package releases were tested on DSH **0.2.1-rc.3**; use the compatibility guidance above for 0.
|
|
40
|
+
`peerDependencies`, no install-time version check. Earlier package releases were tested on DSH **0.2.1-rc.3**; use the compatibility guidance above for 0.6.0 (see [DSH-side constraints](#dsh-side-constraints)).
|
|
41
|
+
|
|
42
|
+
## Optional memory plugin
|
|
43
|
+
|
|
44
|
+
The Plugin tab installs the public pinned `@rsrsai/dsh@0.1.13` package. Installing and enabling are confirmed separately; a restart notice must be followed. Newer versions are not silently downgraded. Unknown versions are reported as unknown. Each remote wait has a two-minute deadline; a timeout does not cancel the host job. If the outcome remains unknown, check the native plugin manager before retrying. Closing the card stops stale UI updates and does not automatically enable a still-installing bundle.
|
|
41
45
|
|
|
42
46
|
## Cabinet member settings
|
|
43
47
|
|
|
@@ -258,7 +262,7 @@ On failure, show the exact error. For $.format must be 1, replace the webpage so
|
|
|
258
262
|
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:
|
|
259
263
|
|
|
260
264
|
```sh
|
|
261
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
265
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.6.0/dsh-cabinet-mode-0.6.0.tgz
|
|
262
266
|
dsh plugin --profile desktop list
|
|
263
267
|
```
|
|
264
268
|
|
|
@@ -273,7 +277,7 @@ the same install command with the new version URL (or pick the new `.tgz` in the
|
|
|
273
277
|
plugin page), then fully quit and restart DeepSeek Harness:
|
|
274
278
|
|
|
275
279
|
```sh
|
|
276
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
280
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.6.0/dsh-cabinet-mode-0.6.0.tgz
|
|
277
281
|
```
|
|
278
282
|
|
|
279
283
|
`dsh plugin --profile desktop list` should report the new version. Upgrades were
|
|
@@ -283,6 +287,25 @@ on DSH 0.2.1-rc.5.
|
|
|
283
287
|
|
|
284
288
|
---
|
|
285
289
|
|
|
290
|
+
## Recommended companion: persistent memory
|
|
291
|
+
|
|
292
|
+
Cabinet Mode runs long, multi-member sessions. Decisions, dead ends and file
|
|
293
|
+
locations from one session are not carried into the next by default. A DSH
|
|
294
|
+
memory plugin recalls those facts automatically at the start of a relevant turn,
|
|
295
|
+
so the cabinet does not re-derive the same context.
|
|
296
|
+
|
|
297
|
+
Pick **one** of these companion plugins. Both inject memory rules and perform
|
|
298
|
+
pre-step recall; enabling both stacks two sets of rules and recall, which is
|
|
299
|
+
usually unnecessary.
|
|
300
|
+
|
|
301
|
+
| Plugin | Best for | How it works | Links |
|
|
302
|
+
|---|---|---|---|
|
|
303
|
+
| **respire-dsh** (`@rsrsai/dsh`) | You already use `rsrs`, or need encrypted storage, account sync and one library across hosts. | Calls the `rsrs` CLI and a running host runtime; Respire owns storage, deduplication, encryption, model inference, accounts and sync. Requires Node.js 24+, a configured `rsrs`, and a running runtime; the README baseline is DSH 0.2.1-rc.5. | [GitHub](https://github.com/risense-ai/respire-dsh) · [npm](https://www.npmjs.com/package/@rsrsai/dsh) |
|
|
304
|
+
| **dsh-memlite** (`@rsrsai/dsh-memlite`) | You want a zero-service local start, or a library you can read and edit as JSONL. | Runs `@rsrsai/memlite` in-process: BM25 by default, local JSONL causal tree, Obsidian import/export and git sync. Requires Node.js 18+ and no `rsrs`. | [GitHub](https://github.com/risense-ai/dsh-memlite) · [website](https://risense-ai.github.io/dsh-memlite/) |
|
|
305
|
+
|
|
306
|
+
Follow each repository's README for the current install command and supported
|
|
307
|
+
DSH version; both require a restart to take effect.
|
|
308
|
+
|
|
286
309
|
## What you get
|
|
287
310
|
|
|
288
311
|
| | |
|
package/README.zh.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 内阁模式(Cabinet Mode)· DeepSeek Harness 插件
|
|
2
2
|
|
|
3
|
-
**版本兼容(0.
|
|
3
|
+
**版本兼容(0.6.0):** 面向 DSH **0.2.2-rc.1**,修正依赖连线方向,支持点击任务名和成员卡打开会话,并保留在宿主固定每步模型前完成官职模型选择的修复;0.5.1/0.5.2 仅修复了预设加载和显示元数据。已使用官方宿主组件与隔离 profile 验证,未调用真实模型;测试范围见下文。旧 rc.3/rc.5 的界面及安装记录仅适用于当时的包。DSH 0.2.1-rc.3/rc.5 用户应保留原先已验证版本(包括 0.5.0),当前预设已移除 rc.5 所需的独立 list_agents 入口;请在商店选择匹配版本。
|
|
4
4
|
|
|
5
5
|
[English](README.md) | 中文
|
|
6
6
|
|
|
@@ -21,7 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
它声明**两行**——`preset-cabinet`(一条 `@deepseek-ai/dsh-agent-preset` 声明)与 `cabinet-ui`(载入本包 JavaScript 的 Loader 行)——并复用 DSH **标准模式**(Standard Mode)出厂的 22 行插件清单,因此工具与标准模式一致;与出厂模式的差异是 persona,并另加右栏「内阁」面板。团队工具(`spawn_teammate`、`team_task_*` 等)由 profile 层的 `@deepseek-ai/dsh-experimental-agent-team-profile` 提供,**本 preset 未内置**。
|
|
23
23
|
|
|
24
|
-
本包声明 **无 DSH 版本硬限制**:没有 `engines.dsh`、没有 DSH `peerDependencies`、安装时不做版本检查。旧包曾在 DSH **0.2.1-rc.3** 实测;0.
|
|
24
|
+
本包声明 **无 DSH 版本硬限制**:没有 `engines.dsh`、没有 DSH `peerDependencies`、安装时不做版本检查。旧包曾在 DSH **0.2.1-rc.3** 实测;0.6.0 请遵循上方版本兼容说明(见 [DSH 侧限制与说明](#dsh-侧限制与说明))。
|
|
25
|
+
|
|
26
|
+
## 可选记忆插件
|
|
27
|
+
|
|
28
|
+
插件页签安装公开固定版本 `@rsrsai/dsh@0.1.13`。安装与启用分别确认;出现重启提示时需重启。不会静默降级已安装的新版本,未知版本如实显示未知。每次远程等待上限为两分钟,超时不会取消宿主作业;结果仍未知时,请先在原生插件管理页核实再重试。关闭卡片后不写回旧界面状态,也不会自动启用尚在安装的包。
|
|
25
29
|
|
|
26
30
|
## 内阁成员配置
|
|
27
31
|
|
|
@@ -189,7 +193,7 @@ https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketp
|
|
|
189
193
|
仅在商店不可用或本地开发时使用。先完全退出桌面 DSH,释放 profile 锁,再执行:
|
|
190
194
|
|
|
191
195
|
```sh
|
|
192
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
196
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.6.0/dsh-cabinet-mode-0.6.0.tgz
|
|
193
197
|
dsh plugin --profile desktop list
|
|
194
198
|
```
|
|
195
199
|
|
|
@@ -200,7 +204,7 @@ dsh plugin --profile desktop list
|
|
|
200
204
|
若通过插件市场安装:刷新市场,先在**已安装**页卸载旧版本,再从**插件市场**安装新版本,然后重启——没有 tgz URL 要换,也没有一键更新。否则用同一条安装命令换新版本 URL(或在插件页选新 `.tgz`),然后完全退出并重启 DeepSeek Harness:
|
|
201
205
|
|
|
202
206
|
```sh
|
|
203
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
207
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.6.0/dsh-cabinet-mode-0.6.0.tgz
|
|
204
208
|
```
|
|
205
209
|
|
|
206
210
|
`dsh plugin --profile desktop list` 应显示新版本。升级已在 Windows 实测:
|
|
@@ -209,6 +213,20 @@ v0.1.2 → v0.1.3 走内嵌 pnpm(DSH 0.2.1-rc.5)。
|
|
|
209
213
|
|
|
210
214
|
---
|
|
211
215
|
|
|
216
|
+
## 推荐搭配:持久记忆插件
|
|
217
|
+
|
|
218
|
+
内阁模式常跑多成员、长跨度的任务。上一轮的决策、死路和文件位置默认不会带进新会话;
|
|
219
|
+
记忆插件会在相关回合开头自动召回,省去重复推导。
|
|
220
|
+
|
|
221
|
+
以下两个同源方案**二选一**。两者都会注入记忆规则并在每轮前置召回,同时启用会让两套规则与召回叠加,通常没有必要。
|
|
222
|
+
|
|
223
|
+
| 插件 | 适合 | 机制 | 链接 |
|
|
224
|
+
|---|---|---|---|
|
|
225
|
+
| **respire-dsh**(`@rsrsai/dsh`) | 已在用 `rsrs`,或需要加密库、账号同步、跨宿主共用一份记忆。 | 调用 `rsrs` CLI 与运行中的宿主 runtime;存储、去重、加密、模型推理、账号与同步由 Respire 负责。要求 Node.js 24+、已配置 `rsrs` 与运行中的 runtime;README 的兼容基线为 DSH 0.2.1-rc.5。 | [GitHub](https://github.com/risense-ai/respire-dsh) · [npm](https://www.npmjs.com/package/@rsrsai/dsh) |
|
|
226
|
+
| **dsh-memlite**(`@rsrsai/dsh-memlite`) | 想零外部服务起步,或需要可直接读写 JSONL 的记忆库。 | 进程内运行 `@rsrsai/memlite`:默认 BM25、本地 JSONL 因果树、Obsidian 导入导出与 git 同步。要求 Node.js 18+,不需要 `rsrs`。 | [GitHub](https://github.com/risense-ai/dsh-memlite) · [介绍页](https://risense-ai.github.io/dsh-memlite/) |
|
|
227
|
+
|
|
228
|
+
安装命令与当前支持的 DSH 版本以各自仓库 README 为准;两者装完都需要重启 DSH。
|
|
229
|
+
|
|
212
230
|
## 你会得到什么
|
|
213
231
|
|
|
214
232
|
| | |
|