dsh-recall-plugin 2.3.7 → 2.3.8

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,12 @@
2
2
 
3
3
  本文件格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循语义化版本。
4
4
 
5
+ ## [2.3.8] - 2026-09-09
6
+
7
+ ### 变更
8
+
9
+ - **dsh 0.1.5-alpha.1 兼容性声明(peer 范围扩窗)**:本地全局实装 `@deepseek-ai/dsh@0.1.5-alpha.1`(npm dist-tag `alpha`)后跑三层门禁——`test:probe` 31 项探针全绿、`verify:host` 装配断言通过、`check:dsh` peer 越界已消除。`package.json` 的 `dsh.compatibility.dshReleases` 矩阵补 `0.1.5-alpha.1` 为 `compatible`(并修正 2.3.7 遗漏的 `0.1.3-alpha.2` 条目),7 个 `@deepseek-ai/dsh-*` 的 `peerDependencies` 范围沿 2.3.4 先例补 `>=0.1.5-alpha.1 <=0.1.5-alpha.1` 逐 tuple OR 段。契约逐项 diff 零破坏:本次三项高风险变更逐一排除——① 移除 `ctx.agent`(单数)不影响插件(插件只用 `ctx.agents` 复数注册表);② `Inbox` 改 type-only 插件零引用;③ **会话格式 V3**(V2→V3 迁移插入 `system/message` 事件并 remap seq,但保留原始 message id)——插件天然免疫:读取全走官方恢复后内存态(seq 坐标系与 `fork({atSeq})` 同源)、消息定位以 `data.id` 为主键、`cutSeqCache` 内存态不跨版本。事件全集 51→54 种(新增 `system/message`、`feedback/message-put`/`message-delete`,`tool/code-dispatch*` 更名 `tool/ptc-dispatch*`)为备忘面同步,`src/types/dsh-contract.ts` 事件 union 与 `docs/dsh-contract.md` §四随之更新,插件 `scanCutSeq` 只扫 `user/message`+`turn/end` 零交集。本插件源码零功能变更(仅类型备忘 + peer 声明 + 文档),`lib/` 产物与 2.3.7 相同。评估实证沉淀于 `docs/upgrade-assessments/dsh-0.1.5-alpha.1.md`,兼容性台账(`docs/compat-audit.md`)、契约文档(`docs/dsh-contract.md`)、官方文档镜像(`docs/reference/`,05/09/13 三份随官方文字修订重拉)与 README 安装兼容声明已同步。
10
+
5
11
  ## [2.3.7] - 2026-09-08
6
12
 
7
13
  ### 变更
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.3-alpha.1` (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`, 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 anything after `0.1.3-alpha.1` or in the unverified `0.2.x` line is 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-alpha.1` (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`, 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).
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.3-alpha.1`(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`,与 `dsh.compatibility.dshReleases` 声明一致;prerelease 版本须按 (major,minor,patch) 分段放行——单段长区间匹配不了 0.1.2-alpha 系列,`0.1.3-alpha.1` 之后与 `0.2.x` 未验证线均拦截)。
56
+ 前置:git CLI(未装时撤回按钮不出现,页面顶部会提示安装 git,不影响 DSH 运行);Windows 上 PowerShell 5.1 / 7 均可,Linux/macOS 需 bash + git;DSH `0.1.1-rc.2` 至 `0.1.5-alpha.1`(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`,与 `dsh.compatibility.dshReleases` 声明一致;prerelease 版本须按 (major,minor,patch) 分段放行——单段长区间匹配不了 0.1.2-alpha 系列,未验证的 prerelease 线均拦截)。
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.7",
3
+ "version": "2.3.8",
4
4
  "description": "DSH 消息撤回插件:在用户消息气泡旁加「撤回」按钮,把项目文件(独立影子 git 仓库快照)与对话历史(官方 fork)一并回退到该消息发送之前。",
5
5
  "type": "module",
6
6
  "repository": {
@@ -54,19 +54,21 @@
54
54
  "0.1.2-alpha.4": "compatible",
55
55
  "0.1.2-alpha.5": "compatible",
56
56
  "0.1.2-rc.1": "compatible",
57
- "0.1.3-alpha.1": "compatible"
57
+ "0.1.3-alpha.1": "compatible",
58
+ "0.1.3-alpha.2": "compatible",
59
+ "0.1.5-alpha.1": "compatible"
58
60
  }
59
61
  }
60
62
  },
61
63
  "peerDependencies": {
62
64
  "@deepseek-ai/cordis": "^4.0.1",
63
- "@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",
64
- "@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",
65
- "@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",
66
- "@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",
67
- "@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",
68
- "@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",
69
- "@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",
65
+ "@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",
66
+ "@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",
67
+ "@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",
68
+ "@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",
69
+ "@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",
70
+ "@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",
71
+ "@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",
70
72
  "@deepseek-ai/schemastery": "^3.18.1",
71
73
  "react": "^18.2.0"
72
74
  },