dsh-recall-plugin 2.3.9 → 2.3.11

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,18 @@
2
2
 
3
3
  本文件格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循语义化版本。
4
4
 
5
+ ## [2.3.11] - 2026-09-11
6
+
7
+ ### 变更
8
+
9
+ - **dsh-* peerDependencies 从「逐 tuple OR 窗口」收敛为「按 minor 版本线开窗」**:7 个 `@deepseek-ai/dsh-*` 的 peer 范围由原先每个已核验版本一段的长 OR 串(`>=0.1.1-rc.2 <=0.1.3-alpha.1 || … || >=0.1.5-rc.1 <=0.1.5-rc.1`)改为每条 minor 线一段、上界开区间到下一 minor(`>=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6`)。动机:原形态下 dsh 每发一个 prerelease(alpha.2→rc.1→…)都要人工追加一段,繁琐且易漏。新形态利用 npm semver 的 prerelease 门槛——同 (major,minor,patch) 段内只要有一个带 prerelease 的比较器,即放行该 tuple 的全部 prerelease 与正式版,故 0.1.5 线内的 rc.2、0.1.5 正式版等自动放行,无需再改 peer 声明;未验证的新 minor 线(0.1.6、0.2.0)仍被上界拦截。取舍:同线内未经门禁核验的新版本也会被 npm 放行安装,安全兜底从「peer 范围逐版白名单」转为「升级后跑 `check:upgrade` 三层门禁 + `check:dsh` 哨兵」——即 dsh 发新版后仍需人工核验,只是不再强制改 7 条 peer 串。`scripts/check-dsh-version.mjs` 的复合区间解析器原生支持 `>=x.y.z-pre <x.y.z` 形态,实跑验证放行/拦截语义正确(0.1.5 线全放行、0.1.6 起拦截),脚本零改动。`dshReleases` 兼容矩阵保持逐版本记录不变(它是台账、非安装门禁)。README 双语安装兼容声明同步。
10
+
11
+ ## [2.3.10] - 2026-09-10
12
+
13
+ ### 变更
14
+
15
+ - **dsh 0.1.5-rc.1 兼容性声明(peer 范围扩窗)**:本地全局实装 `@deepseek-ai/dsh@0.1.5-rc.1`(npm dist-tag `latest`/`next`,0.1.5 系列首个候选版本,tag commit `183f08e`)后跑三层门禁——`test:probe` 31 项探针全绿、`verify:host` 装配断言通过、`npm test` 307 项通过、`check:dsh` 镜像/契约漂移与 peer 越界已消除。`package.json` 的 `dsh.compatibility.dshReleases` 矩阵补 `0.1.5-rc.1` 为 `compatible`,7 个 `@deepseek-ai/dsh-*` 的 `peerDependencies` 范围沿 2.3.8/2.3.9 先例补 `>=0.1.5-rc.1 <=0.1.5-rc.1` 逐 tuple OR 段。契约核验:隔离安装 alpha.2 全量依赖树与全局 rc.1 内嵌包做 tree-SHA 比对,插件消费面 12 个包(`dsh-session`、ui-chat/ui-conversation `slots.d.ts`、session-controller `sessions.d.ts`、settings-plugins `slot-contract.d.ts`、`dsh-settings`/`dsh-shell`/`dsh-session-query`/`dsh-host-webserver`/`dsh-sandbox-policy`、`cordis`、`schemastery`)目录树哈希全部逐字节相同——rc.1 相对 alpha.2 是纯发布层推进,无契约变化。release notes 为 v0.1.2-rc.1 以来的汇总,三项开发者 API 调整(移除 `ctx.agent` 单数、`Inbox` 改 type-only、Web 面板 `conversation`→`main.conversation`)均已在 alpha.1/alpha.2 逐项排除,rc.1 无新增契约点。官方文档镜像按 rc.1 tag 重拉核验:13 源与 alpha.2 归档内容零差异。本插件源码零功能变更(仅 peer 声明 + 文档),`lib/` 产物与 2.3.9 相同。评估实证沉淀于 `docs/upgrade-assessments/dsh-0.1.5-rc.1.md`,兼容性台账(`docs/compat-audit.md`)、契约文档(`docs/dsh-contract.md`)、官方文档镜像索引(`docs/reference/README.md`)与 README 安装兼容声明已同步。
16
+
5
17
  ## [2.3.9] - 2026-09-10
6
18
 
7
19
  ### 变更
package/README.en.md CHANGED
@@ -61,7 +61,7 @@
61
61
 
62
62
  ## Installation
63
63
 
64
- Prerequisites: git CLI (without it the recall button won't appear and a notice shows at the top of the page — DSH itself keeps running); PowerShell 5.1 / 7 on Windows, bash + git on Linux/macOS; DSH `0.1.1-rc.2` through `0.1.5-alpha.2` (peerDependencies use a per-tuple OR window: `>=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2`, consistent with the `dsh.compatibility.dshReleases` declaration; prerelease versions must be admitted per (major,minor,patch) tuple a single long range cannot match the 0.1.2-alpha line, and unverified prerelease lines are blocked).
64
+ Prerequisites: git CLI (without it the recall button won't appear and a notice shows at the top of the page — DSH itself keeps running); PowerShell 5.1 / 7 on Windows, bash + git on Linux/macOS; DSH `0.1.1-rc.2` through `0.1.5-rc.1` (peerDependencies open a window per minor line: `>=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6`, consistent with the `dsh.compatibility.dshReleases` declaration; each line is anchored at its first verified version with an exclusive upper bound at the next minor, so later prereleases/releases within a verified line are admitted without touching the peer declaration, while unverified new minor lines (e.g. 0.1.6) remain blocked).
65
65
 
66
66
  - Official DSH plugin command: install and auto-mount into the web profile
67
67
  ```powershell
package/README.md CHANGED
@@ -53,7 +53,7 @@
53
53
 
54
54
  ## 安装
55
55
 
56
- 前置:git CLI(未装时撤回按钮不出现,页面顶部会提示安装 git,不影响 DSH 运行);Windows 上 PowerShell 5.1 / 7 均可,Linux/macOS 需 bash + git;DSH `0.1.1-rc.2` 至 `0.1.5-alpha.2`(peerDependencies 为逐 tuple OR 窗口 `>=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2`,与 `dsh.compatibility.dshReleases` 声明一致;prerelease 版本须按 (major,minor,patch) 分段放行——单段长区间匹配不了 0.1.2-alpha 系列,未验证的 prerelease 线均拦截)。
56
+ 前置:git CLI(未装时撤回按钮不出现,页面顶部会提示安装 git,不影响 DSH 运行);Windows 上 PowerShell 5.1 / 7 均可,Linux/macOS 需 bash + git;DSH `0.1.1-rc.2` 至 `0.1.5-rc.1`(peerDependencies 为按 minor 版本线开窗 `>=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6`,与 `dsh.compatibility.dshReleases` 声明一致;每条线以首个核验版本为下限、开一条上界到下一 minor 的区间,同线内后续 prerelease/正式版自动放行、无需改 peer 声明,未验证的新 minor 线(如 0.1.6)仍被拦截)。
57
57
 
58
58
 
59
59
  - DSH 官方插件命令:安装并自动挂载进 web profile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-recall-plugin",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "description": "DSH 消息撤回插件:在用户消息气泡旁加「撤回」按钮,把项目文件(独立影子 git 仓库快照)与对话历史(官方 fork)一并回退到该消息发送之前。",
5
5
  "type": "module",
6
6
  "repository": {
@@ -57,19 +57,20 @@
57
57
  "0.1.3-alpha.1": "compatible",
58
58
  "0.1.3-alpha.2": "compatible",
59
59
  "0.1.5-alpha.1": "compatible",
60
- "0.1.5-alpha.2": "compatible"
60
+ "0.1.5-alpha.2": "compatible",
61
+ "0.1.5-rc.1": "compatible"
61
62
  }
62
63
  }
63
64
  },
64
65
  "peerDependencies": {
65
66
  "@deepseek-ai/cordis": "^4.0.1",
66
- "@deepseek-ai/dsh-client-web-react": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
67
- "@deepseek-ai/dsh-host-webserver": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
68
- "@deepseek-ai/dsh-sandbox-policy": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
69
- "@deepseek-ai/dsh-session": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
70
- "@deepseek-ai/dsh-session-query": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
71
- "@deepseek-ai/dsh-settings": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
72
- "@deepseek-ai/dsh-shell": ">=0.1.1-rc.2 <=0.1.3-alpha.1 || >=0.1.2-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.1 <=0.1.3-alpha.1 || >=0.1.3-alpha.2 <=0.1.3-alpha.2 || >=0.1.5-alpha.1 <=0.1.5-alpha.1 || >=0.1.5-alpha.2 <=0.1.5-alpha.2",
67
+ "@deepseek-ai/dsh-client-web-react": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
68
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
69
+ "@deepseek-ai/dsh-sandbox-policy": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
70
+ "@deepseek-ai/dsh-session": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
71
+ "@deepseek-ai/dsh-session-query": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
72
+ "@deepseek-ai/dsh-settings": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
73
+ "@deepseek-ai/dsh-shell": ">=0.1.1-rc.2 <0.1.2 || >=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6",
73
74
  "@deepseek-ai/schemastery": "^3.18.1",
74
75
  "react": "^18.2.0"
75
76
  },