dsh-cabinet-mode 0.7.1 → 0.9.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 +38 -0
- package/README.md +4 -2
- package/README.zh.md +4 -2
- package/client.js +3060 -246
- package/cordis.patch.yml +9 -5
- package/index.js +28 -7
- package/package.json +3 -2
- package/scripts/fixtures/protocol-session-browser.mjs +63 -0
- package/scripts/fixtures/protocol-team-browser.mjs +219 -0
- package/scripts/fixtures/protocol-team-driver.mjs +40 -0
- package/scripts/test-client.mjs +3062 -25
- package/scripts/test-dispatch-browser.mjs +77 -0
- package/scripts/test-dsh-protocol-fixture.mjs +89 -0
- package/scripts/test-dsh-team-protocol-fixture.mjs +183 -0
- package/scripts/test-dsh-web-smoke.mjs +187 -0
- package/scripts/test-groupchat-browser.mjs +128 -0
- package/scripts/test-groupchat-contract-v2.mjs +52 -0
- package/scripts/test-groupchat-lifecycle.mjs +19 -0
- package/scripts/test-groupchat-reducer.mjs +87 -0
- package/scripts/test-groupchat-v2-regression.mjs +37 -0
- package/scripts/test-member-settings.mjs +36 -5
- package/scripts/test-model-picker.mjs +5 -2
- package/scripts/test-page-browser.mjs +86 -0
- package/scripts/test-panel-browser.mjs +128 -8
- package/scripts/test-rail-redesign-regression.mjs +56 -0
- package/scripts/test-subagent-browser.mjs +53 -0
- package/scripts/verify.mjs +34 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.9.0] - 2026-11-13
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Add the standalone Cabinet page with workspace-grouped conversations, readable message bubbles, Markdown, expandable tools, native session navigation, and a resizable persistent roster rail.
|
|
10
|
+
- Add native group-chat submission to the Lead or an explicitly selected member.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Keep tool-result memoization, workspace grouping, message identity, and unavailable-session rows stable across updates; refresh group-chat names immediately after custom member settings change.
|
|
15
|
+
- Release session subscriptions and references across navigation, roster changes, failed loads, and unmounts; clear stale content on failures.
|
|
16
|
+
- Never automatically resend a member submission to the Lead after uncertain delivery. Retain the draft and show an explicit unknown-delivery warning for lost acknowledgements, including official gateway transport failures.
|
|
17
|
+
- Preserve contributor improvements and the existing association-mode behavior; do not reintroduce the reverted association-mode changes.
|
|
18
|
+
|
|
19
|
+
### Tests
|
|
20
|
+
|
|
21
|
+
- Add real Chromium lifecycle, workspace/navigation, source-attribution, keyboard, and interrupted-delivery regressions.
|
|
22
|
+
- Verify the exact package in an isolated official DSH rc.1 host: authentication, actual Cabinet UI, deterministic team orchestration, normal and accepted-ACK-lost Lead/member sends, real persistence, and native ordinary-session creation.
|
|
23
|
+
- The loopback protocol fixture uses fixed responses, not real model reasoning. Ordinary-session creation is distinguished from reuse of an initialized blank and from UI-created Cabinet teams.
|
|
24
|
+
|
|
25
|
+
## [0.8.0] - 2026-11-11
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- Task rows show the description and write scopes already stored on the team task. A missing description or write scope is shown as unrecorded, not inferred.
|
|
30
|
+
- The default Lead prompt tells the Lead that every new team task description states the objective, deliverable, acceptance check, and write scope.
|
|
31
|
+
- Add the sixth standing office 通政使 (`tongzheng`, the Ming 通政使司) with the existing neutral portrait; it looks for links to earlier matters, side evidence and adjacent experience after the Lead dispatches it, and never re-ranks or overrides a confirmed hit. Association mode defaults to off and, when off, renders nothing at all.
|
|
32
|
+
- The static cabinet persona names the sixth office and keeps one turn, the existing tool-step budget, and recall-then-show memory order.
|
|
33
|
+
- The right sidebar gains a 群聊 tab that merges the Lead's and each member's messages in time order with portraits and office names; tool calls collapse into one counted 「N 个工具」 row instead of separate entries; a member whose session cannot be retained degrades to its own 不可用 row instead of disappearing.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Read user messages from the official event payload and retire live text by the settled reply's turn and step, avoiding missing prompts and duplicate replies.
|
|
38
|
+
- Count each tool call once under its preceding assistant message; keep calls without an assistant in a separate collapsed row.
|
|
39
|
+
- Keep group-chat polling attached to the current roster, report snapshot/subscription failures, and release session references on tab changes, service loss and unmount.
|
|
40
|
+
- Reattach roster layout observers after returning from group chat, keep expanded tool rows tied to their message, and place unavailable members after messages.
|
|
41
|
+
- Reset association mode with the corresponding member or all settings, keep it independent of the Lead prompt, and omit missing built-in portraits and duplicate English translation keys.
|
|
42
|
+
|
|
5
43
|
## [0.7.1] - 2026-11-09
|
|
6
44
|
|
|
7
45
|
### Fixed
|
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
**Website:** [luodaoyi.github.io/dsh-cabinet-mode](https://luodaoyi.github.io/dsh-cabinet-mode/) (bilingual intro page, served from `site/` in this repository).
|
|
10
10
|
|
|
11
|
+
The Pages workflow generates both pages' changelog, current version, release date and download links from the latest five published stable GitHub Releases. Release completion and release-note edits redeploy the site automatically; maintain the notes on the GitHub Release, not in the HTML. `workflow_run` also covers releases created with `GITHUB_TOKEN`, which do not trigger another release workflow. A failed market-index job does not prevent an already-published release from reaching the website. To preview locally, run `node .github/scripts/build-site.mjs` with an authenticated `gh`; the output is `_site/`.
|
|
12
|
+
|
|
11
13
|
<p align="center">
|
|
12
14
|
<img src="docs/images/cabinet-portrait.jpg" width="200" alt="Cabinet Mode — grand-secretary portrait, shipped as the bundle icon (icon.svg)"/>
|
|
13
15
|
</p>
|
|
@@ -298,7 +300,7 @@ On failure, show the exact error. For $.format must be 1, replace the webpage so
|
|
|
298
300
|
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:
|
|
299
301
|
|
|
300
302
|
```sh
|
|
301
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
303
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.9.0/dsh-cabinet-mode-0.9.0.tgz
|
|
302
304
|
dsh plugin --profile desktop list
|
|
303
305
|
```
|
|
304
306
|
|
|
@@ -313,7 +315,7 @@ the same install command with the new version URL (or pick the new `.tgz` in the
|
|
|
313
315
|
plugin page), then fully quit and restart DeepSeek Harness:
|
|
314
316
|
|
|
315
317
|
```sh
|
|
316
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
318
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.9.0/dsh-cabinet-mode-0.9.0.tgz
|
|
317
319
|
```
|
|
318
320
|
|
|
319
321
|
`dsh plugin --profile desktop list` should report the new version. Upgrades were
|
package/README.zh.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
**介绍站:** [luodaoyi.github.io/dsh-cabinet-mode](https://luodaoyi.github.io/dsh-cabinet-mode/)(中英双语介绍页,源码在本仓库 `site/` 目录)。
|
|
10
10
|
|
|
11
|
+
Pages 工作流从最近五个已发布的正式 GitHub Release 自动生成双语页面的更新日志、当前版本、发布日期和下载链接。发布流程结束或修改 Release 说明后会自动重新部署,无需再编辑 HTML 中的版本和日志。请直接维护 GitHub Release 说明,网站按原文展示。`workflow_run` 也覆盖使用 `GITHUB_TOKEN` 创建的 Release,因为这种操作不会触发另一个 release 工作流。市场索引任务失败不会阻止已发布版本更新到官网。本地预览可在 `gh` 已登录的环境运行 `node .github/scripts/build-site.mjs`,输出目录为 `_site/`。
|
|
12
|
+
|
|
11
13
|
<p align="center">
|
|
12
14
|
<img src="docs/images/cabinet-portrait.jpg" width="200" alt="内阁模式图标来源:明代内阁首辅画像(已作为 bundle 图标 icon.svg 随包发布)"/>
|
|
13
15
|
</p>
|
|
@@ -229,7 +231,7 @@ https://raw.githubusercontent.com/luodaoyi/dsh-cabinet-mode/market-index/marketp
|
|
|
229
231
|
仅在商店不可用或本地开发时使用。先完全退出桌面 DSH,释放 profile 锁,再执行:
|
|
230
232
|
|
|
231
233
|
```sh
|
|
232
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
234
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.9.0/dsh-cabinet-mode-0.9.0.tgz
|
|
233
235
|
dsh plugin --profile desktop list
|
|
234
236
|
```
|
|
235
237
|
|
|
@@ -240,7 +242,7 @@ dsh plugin --profile desktop list
|
|
|
240
242
|
若通过插件市场安装:刷新市场,先在**已安装**页卸载旧版本,再从**插件市场**安装新版本,然后重启——没有 tgz URL 要换,也没有一键更新。否则用同一条安装命令换新版本 URL(或在插件页选新 `.tgz`),然后完全退出并重启 DeepSeek Harness:
|
|
241
243
|
|
|
242
244
|
```sh
|
|
243
|
-
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.
|
|
245
|
+
dsh plugin --profile desktop add https://github.com/luodaoyi/dsh-cabinet-mode/releases/download/v0.9.0/dsh-cabinet-mode-0.9.0.tgz
|
|
244
246
|
```
|
|
245
247
|
|
|
246
248
|
`dsh plugin --profile desktop list` 应显示新版本。升级已在 Windows 实测:
|