dsh-composer-ux 0.23.0 → 0.23.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,42 @@
2
2
 
3
3
  本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
4
4
 
5
+ ## [0.23.2] — 2026-10-16(适配 dsh 0.2.1-alpha.5:无需改代码,只做验证与版本对齐)
6
+
7
+ 用户 2026-10-16:「网页版 dsh 更新,并插件适配 dsh」(目标 `dsh-v0.2.1-alpha.5`)。
8
+
9
+ - **检出更新**:新分支 `upgrade-0.2.1-alpha.5`(保留 alpha.4 分支)。当时 `github.com:443` 连不上
10
+ (curl 28 / 连接重置),所以给检出加了一条 **SSH 远程**把 tag 取下来(HTTPS 断、SSH 与 codeload 通)。
11
+ `pnpm install` + 全量 `npm run build` —— **9 passed / 0 failed**(146s)。
12
+ - **适配结论:不需要改任何代码**。我依赖的接缝在 alpha.4→alpha.5 之间**只改了 package.json 的版本号**
13
+ (app-boot 的兼容闸门、package-manifest、webserver、tool-terminal、terminal-bundle、sandbox 三个包,
14
+ 共 9 个文件 +9/-9);形状核对 36 项对着 alpha.5 源码全部通过,而 `@deepseek-ai/dsh-tool-terminal@0.2.1-alpha.5`
15
+ 本来就落在声明范围内。alpha.5 里与终端有关的改动落在官方**客户端**的
16
+ `terminal-controller/client`(面板侧减少重复查询、失败终端不再反复重试),与本插件用的宿主侧接缝无关。
17
+ - **真机验证**(alpha.5 + 本机,profile `a5web`):启动日志干净、**0 行被禁用**、自检 10 行全对
18
+ (含「持久终端工具 — 已挂上;tool-terminal 0.2.1-alpha.5(要求 0.2.1-alpha.5,profile 里同版)」)、
19
+ 自启动默认关且值名按 profile(`dsh-composer-ux:autostart:a5web`)、运行期请求头覆盖已挂上。
20
+ - 这个版本**没有功能变化**:它是"已在 alpha.5 上验证 + 版本对齐"的补丁版。web 装它并把 tool-terminal
21
+ 钉到 0.2.1-alpha.5;桌面端仍跑 0.2.0-rc.2,装同一份插件、tool-terminal 保持 0.2.0-rc.2。
22
+
23
+
24
+
25
+ ## [0.23.1] — 2026-10-16(修:「重启 DSH」的确认条离按钮太远)
26
+
27
+ 用户 2026-10-16 截图指出:「重启按钮与重启栏目离得太远」。
28
+
29
+ 实际情况比"距离"更糟 —— **源码注释和实现对不上**:抬头注释写着"确认条在抬头正下方",
30
+ 而 `RestartBanner` 实际渲染在**所有卡片之后**(自启动卡下面)。于是点了上面的按钮、确认条在页面
31
+ 下半部分冒出来;重启会打断正在跑的会话,这条确认本来就不该让人找不到。现在挪到抬头正下方。
32
+
33
+ **顺带修掉一条假绿测试**(本仓踩过好几次同一形状):原来那条断言叫"确认条挂在抬头与卡片内容之间",
34
+ 实际只验了 `bannerAt > linkAt`(在 GitHub 链接之后)—— 横幅渲染在卡片后面**照样通过**。
35
+ 现在真的钉"抬头之后、第一张卡之前"(`bannerAt < firstCardAt`),并加了一条"写入失败提示仍留在
36
+ 卡片区末尾"(用户 2026-10-15 选定:它的触发点是卡片里的开关,位置需求与重启横幅相反)。
37
+
38
+ 验证:32 套件 2732 passed / 0 failed;变异 211 条全咬住、dirty 0;tsc / build / docs / pack 全绿。
39
+
40
+
5
41
  ## [0.23.0] — 2026-10-15(第九栏「自启动」:登录时自动拉起 DSH,带开关)
6
42
 
7
43
  用户 2026-10-15:「给我的插件添加一个 DSH 自启动功能,要有按钮开关」。逐个问清后的定论:
package/README.md CHANGED
@@ -720,9 +720,9 @@ node build.mjs # 产出 lib/index.js + lib/client.js
720
720
  # ⚠️ 宿主半会**内联** schemastery / cosmokit:
721
721
  # 优先用 DSH 检出里的 vendor 副本,检出不在时退到 node_modules
722
722
  # 里同版本的 npm 包(两者逐字节相同)——CI 上走的就是退路
723
- npm test # 32 个套件;当前 2731 passed, 0 failed(2026-10-09 实测;CI 三平台同样全绿)
723
+ npm test # 32 个套件;当前 2732 passed, 0 failed(2026-10-09 实测;CI 三平台同样全绿)
724
724
  # 走 scripts/run-tests.mjs:顺带把"多少套件/多少条"记进 test/.last-run.json
725
- npm run test:mutations # 手动跑:变异测试,证明那套护栏真的在咬人(210 条,须单独跑)
725
+ npm run test:mutations # 手动跑:变异测试,证明那套护栏真的在咬人(211 条,须单独跑)
726
726
  # 同样记录结果,供下面的文档门禁核对
727
727
  npm run gates # 发版门禁三条一起跑:tag 指向 / 包内容 / 文档数字
728
728
  npm run check:tag # ① tag 名里的版本 == 该 tag 所指提交里的 package.json 版本
package/dsh-plugin.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "manifestVersion": "0.15",
4
4
  "id": "dsh-composer-ux.input-experience",
5
5
  "name": "dsh-composer-ux",
6
- "version": "0.23.0",
6
+ "version": "0.23.2",
7
7
  "license": "MIT",
8
8
  "facets": {
9
9
  "host": {
package/lib/client.js CHANGED
@@ -6417,6 +6417,7 @@ function SettingsSection({ useLive, useBook, useBookStatus, useWriteNotice, acti
6417
6417
  )
6418
6418
  ] })
6419
6419
  ] }),
6420
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(RestartBanner, { restart }),
6420
6421
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(NotifyCard, { settings, setField: actions.setField }),
6421
6422
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DirectoryPickCard, { settings, setField: actions.setField }),
6422
6423
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(FoldCard, { name: "\u81EA\u68C0", summary: "\u628A\u63D2\u4EF6\u5404\u5904\u72B6\u6001\u644A\u6210\u4E00\u5F20\u8868\uFF08\u5B57\u6BB5 / \u5F00\u5173 / \u7EC8\u7AEF / \u8BF7\u6C42\u5934 / \u901A\u77E5 / \u73AF\u5883\uFF09", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DoctorCard, {}) }),
@@ -6435,7 +6436,6 @@ function SettingsSection({ useLive, useBook, useBookStatus, useWriteNotice, acti
6435
6436
  children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(AutostartCard, { view: autostart })
6436
6437
  }
6437
6438
  ),
6438
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(RestartBanner, { restart }),
6439
6439
  writeNotice !== "" && /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "dsh-ux-restartBanner dsh-ux-restartBannerFailed", role: "status", children: [
6440
6440
  /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("span", { className: "dsh-ux-restartBannerText", children: [
6441
6441
  "\u8BBE\u7F6E\u672A\u751F\u6548\uFF1A",