dsh-recall-plugin 2.4.1 → 2.4.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 +10 -0
- package/README.en.md +2 -2
- package/README.md +2 -2
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
本文件格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循语义化版本。
|
|
4
4
|
|
|
5
|
+
## [2.4.2] - 2026-09-23
|
|
6
|
+
|
|
7
|
+
### 修复
|
|
8
|
+
|
|
9
|
+
- **CI 单测缺 `@deepseek-ai/schemastery` 致 4 个测试文件收集失败**:`src/host/config.ts` 在运行时裸导入 `@deepseek-ai/schemastery`(Config schema 本体),但它此前只是 peerDependency——本机靠工作区 junction 解析所以本地全绿,CI `npm ci --legacy-peer-deps` 不装 peer 即 `ERR_MODULE_NOT_FOUND`。M2 起 manage-list/manage-list-stale/manage-usage/settings-bridge 四个单测文件经 routes-manage/config 链传递依赖 config.ts,而 0.1.7 适配批次(M1 起)当天才首次推送过 CI,问题首次暴露。修复=schemastery 入 devDependencies(`^3.18.3`,与 `.volatile()` feature-detect 的下限对齐;peer 声明 `^3.18.1` 不动)。**对 2.4.1 已发布包零影响**:生产环境 schemastery 由宿主 dsh 提供,此缺包只影响 CI/裸克隆环境的单测。AGENTS.md junction 约定同步更新(schemastery 不再需要 junction;npm install 会修剪 dsh-settings junction,已记录重建方法)。
|
|
10
|
+
|
|
11
|
+
### 变更
|
|
12
|
+
|
|
13
|
+
- **兼容声明同步 dsh 0.1.7-alpha.2(零破坏核验,无代码改动)**:本版为体验/稳健性版本,插件消费面经全树内容级 diff 实证零破坏——`updateQueue`/`readAttachment`/`QueueAction`(含 `{kind:'remove'}`)签名行逐字一致,`conversation.chat.node` 与 `ConversationNode`/`records` 槽位契约字节未变,`__ModuleLoader__.load({id, factory})` 注册形态与 `plugins.bundle.config` 在位,fork 实现与切点校验未动;`dsh-session`/`dsh-shell`/`dsh-pwsh-local`/`dsh-sandbox-policy`/`dsh-host-webserver`/`dsh-client-connection`/`dsh-agent{,-loop}` 与整个 cordis vendor 栈(含 `cordis-plugin-loader`)字节级未变,改动全部落在官方 UI/工具层(滚动跟随、历史分页 Turn 对齐、本地回声记账、队列消息重编辑、持久 pwsh 等待修复、工具结果 token 预算)。门禁:`test:probe` 46/46、`npm test` 430/430、`verify:host` 装配断言全过、`typecheck` 通过。同步项:`dshReleases` 补 `0.1.7-alpha.2: compatible`(peer 范围 `>=0.1.7-alpha.1 <0.1.8` 天然覆盖)、`docs/reference/` 镜像按 `dsh-v0.1.7-alpha.2` tag 重拉(13 文件零差异)、`docs/dsh-contract.md` 与 compat-audit 头部版本字段同步,评估实证见 `docs/upgrade-assessments/dsh-0.1.7-alpha.2.md`。已知观察项(不阻塞):`dsh-tool-jobs` 唤醒次数上限默认放开(`maxConsecutiveWakes` 无默认值)使 P0-1 `agentBusy` 守卫的 idle 窗口概率上升,留实弹观察。
|
|
14
|
+
|
|
5
15
|
## [2.4.1] - 2026-09-23
|
|
6
16
|
|
|
7
17
|
### 修复
|
package/README.en.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|

|
|
8
8
|

|
|
9
9
|
|
|
10
|
-
[](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.1.7-alpha.2)
|
|
11
11
|

|
|
12
12
|
---
|
|
13
13
|
Under any message you've sent, click "↶ Recall" — **your workspace files and the conversation history roll back to just before that message was sent**.
|
|
@@ -69,7 +69,7 @@ Boundaries accepted by design and edge cases not yet covered — worth checking
|
|
|
69
69
|
|
|
70
70
|
## Installation
|
|
71
71
|
|
|
72
|
-
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.2-alpha.1` through `0.1.7-alpha.
|
|
72
|
+
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.2-alpha.1` through `0.1.7-alpha.2` (peerDependencies open a window per minor line: `>=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6 || >=0.1.6-alpha.1 <0.1.7 || >=0.1.7-alpha.1 <0.1.8`, 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 remain blocked). **0.1.7-alpha.1 is a breaking release** (`ShellExecutor.run`/`start` became `execute().result()`, and the settings surface became `SettingsForms`, addressed by profile entry id with `.volatile()` marked fields), and the plugin ships **both seams side by side**: the same release keeps working on every 0.1.2–0.1.6 line and on 0.1.7, with unchanged behaviour on older DSH versions. `0.1.1-rc.2` and earlier are no longer declared supported: their client runtime lacks the `sessions`/`workspaces`/`uiWorkspace` services, so the plugin UI silently fails to render.
|
|
73
73
|
|
|
74
74
|
- Official DSH plugin command: install and auto-mount into the web profile
|
|
75
75
|
```powershell
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/dsh-recall-plugin)
|
|
6
6
|
[](https://www.npmjs.com/package/dsh-recall-plugin)
|
|
7
7
|

|
|
8
|
-
[](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.1.7-alpha.2)
|
|
9
9
|
---
|
|
10
10
|
在任意一条你发过的消息下方点「↶ 撤回」——**工作区文件和对话历史一起回到那条消息发出之前的状态**。
|
|
11
11
|
---
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
|
|
68
68
|
## 安装
|
|
69
69
|
|
|
70
|
-
前置:git CLI(未装时撤回按钮不出现,页面顶部会提示安装 git,不影响 DSH 运行);Windows 上 PowerShell 5.1 / 7 均可,Linux/macOS 需 bash + git;DSH `0.1.2-alpha.1` 至 `0.1.7-alpha.
|
|
70
|
+
前置:git CLI(未装时撤回按钮不出现,页面顶部会提示安装 git,不影响 DSH 运行);Windows 上 PowerShell 5.1 / 7 均可,Linux/macOS 需 bash + git;DSH `0.1.2-alpha.1` 至 `0.1.7-alpha.2`(peerDependencies 为按 minor 版本线开窗 `>=0.1.2-alpha.1 <0.1.3 || >=0.1.3-alpha.1 <0.1.4 || >=0.1.5-alpha.1 <0.1.6 || >=0.1.6-alpha.1 <0.1.7 || >=0.1.7-alpha.1 <0.1.8`,与 `dsh.compatibility.dshReleases` 声明一致;每条线以首个核验版本为下限、开一条上界到下一 minor 的区间,同线内后续 prerelease/正式版自动放行、无需改 peer 声明,未核验的新 minor 线仍被拦截)。**0.1.7-alpha.1 是破坏性版本**(`ShellExecutor` 的 `run`/`start` 换成 `execute().result()`;settings 面换成 `SettingsForms`、按 profile 条目 id 寻址并要求字段标 `.volatile()`),插件已做**双分支共存适配**——同一次发布同时兼容 0.1.2–0.1.6 各线段与 0.1.7,老版本 DSH 上的行为不变。`0.1.1-rc.2` 及更早不再声明支持:那条线的客户端运行时没有 `sessions`/`workspaces`/`uiWorkspace` 服务,插件 UI 会静默不渲染。
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
- DSH 官方插件命令:安装并自动挂载进 web profile
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-recall-plugin",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "在 DSH 中撤回自己发过的消息:工作区文件与对话历史一起回到那条消息发出之前,消息的文本与附件自动放回输入框,改完即可重发。文件走独立影子 git 快照(不碰项目自身的 git),对话走官方 sessions.fork,原会话归档可找回。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"0.1.5-rc.2": "compatible",
|
|
60
60
|
"0.1.6-alpha.1": "compatible",
|
|
61
61
|
"0.1.6-alpha.2": "compatible",
|
|
62
|
-
"0.1.7-alpha.1": "compatible"
|
|
62
|
+
"0.1.7-alpha.1": "compatible",
|
|
63
|
+
"0.1.7-alpha.2": "compatible"
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
},
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
},
|
|
82
83
|
"license": "MIT",
|
|
83
84
|
"devDependencies": {
|
|
85
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
84
86
|
"@types/node": "^20.19.43",
|
|
85
87
|
"@types/react": "^18.3.31",
|
|
86
88
|
"esbuild": "^0.28.1",
|