dsh-recall-plugin 2.3.3 → 2.3.4
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 +7 -1
- package/README.en.md +1 -1
- package/README.md +4 -3
- package/package.json +19 -8
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.4] - 2026-09-06
|
|
6
|
+
|
|
7
|
+
### 变更
|
|
8
|
+
|
|
9
|
+
- **DSH-Store 兼容性声明补全(issue #517)**:`package.json` 新增 `dsh.compatibility.dshReleases` 矩阵,将 `0.1.2-alpha.1`~`0.1.2-alpha.5`、`0.1.2-rc.1`、`0.1.3-alpha.1` 七项标记为 `compatible`;同步把 7 个 `@deepseek-ai/dsh-*` 的 `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`——npm semver 的 prerelease 规则要求存在「同 (major,minor,patch) 且自身带 prerelease」的比较器才放行 prerelease 候选,单段长区间(含 `^0.1.1-rc.2` 的展开式)无法代表 `0.1.2-alpha.x` 系列,DSH-Store 因此判 0.1.2 线 peer 越界;逐 tuple 分段后各 prerelease 线各自放行,上界收窄至矩阵最后声明版 `0.1.3-alpha.1`(`<=` 含入),未验证的 `0.1.3` 后续与 `0.2.x` 全线均在窗口外。`scripts/check-dsh-version.mjs` 补齐 `||` 多段解析(`parseRangeSet`)、复合区间 `<=` 上限与 prerelease 门槛(同 tuple 校验——单段长区间不再放宽放行未验证 prerelease 线),替换此前对复合区间的「只认 ^ / ~ / 精确」警告,配套单测补齐 parseRange / parseRangeSet / satisfiesRange / buildReport 四层断言。
|
|
10
|
+
|
|
5
11
|
## [2.3.3] - 2026-09-05
|
|
6
12
|
|
|
7
13
|
### 修复
|
|
@@ -18,7 +24,7 @@
|
|
|
18
24
|
|
|
19
25
|
- **新增 `docs/design-tokens.md` 设计令牌与组件配方参考**:把本次对齐所核验的官方事实源(`dsh-client-ui-theme` 令牌定义、`dsh-client-ui-settings-plugins` 组件配方)沉淀为长期规范文档——令牌命名空间说明、颜色/排版速查(含本插件使用处映射)、八类官方组件配方摘录(卡片/按钮组/表单字段/badge/switch/分组折叠/分隔线规格/阴影)、本插件落地约定与 dsh 升级后的重抽比对流程。后续改 client UI 先查此文档,避免凭印象写颜色与字阶。
|
|
20
26
|
|
|
21
|
-
- **`reference/` 官方文档镜像整合进 `docs/`**:目录 `reference/` → `docs/reference
|
|
27
|
+
- **`reference/` 官方文档镜像整合进 `docs/`**:目录 `reference/` → `docs/reference/`(镜像随仓库提交),官方文档镜像与项目文档收敛到同一目录;同步更新 AGENTS.md 合规清单与漂移控制节、`scripts/check-dsh-version.mjs`(镜像读取路径改为 `docs/reference/README.md`)、`scripts/check-upgrade.mjs` 提示文案、package-layout 单测禁入清单(`docs/` 已覆盖镜像)、`docs/dsh-contract.md` 升级指引、compat-audit 台账 I6 复查动作的镜像路径与 docs/README.md 目录索引;compat-audit 头部与各计划文档中的历史核验记录按当时原文保留。
|
|
22
28
|
|
|
23
29
|
## [2.3.2] - 2026-09-04
|
|
24
30
|
|
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.
|
|
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).
|
|
65
65
|
|
|
66
66
|
- Official DSH plugin command: install and auto-mount into the web profile
|
|
67
67
|
```powershell
|
package/README.md
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
简体中文 | [English](README.en.md)
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/dsh-recall-plugin)
|
|
6
|
+
[](https://www.npmjs.com/package/dsh-recall-plugin)
|
|
7
7
|

|
|
8
8
|
[](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.1.2-rc.1)
|
|
9
|
+
[](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.1.3-alpha.1)
|
|
9
10
|
---
|
|
10
11
|
**在任意一条你发过的消息下方**,**点「↶ 撤回」**,**工作区文件和对话历史一起回到那条消息发出之前的状态**
|
|
11
12
|
---
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
|
|
53
54
|
## 安装
|
|
54
55
|
|
|
55
|
-
前置:git CLI(未装时撤回按钮不出现,页面顶部会提示安装 git,不影响 DSH 运行);Windows 上 PowerShell 5.1 / 7 均可,Linux/macOS 需 bash + git;DSH 0.1.1-rc.
|
|
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
57
|
|
|
57
58
|
|
|
58
59
|
- DSH 官方插件命令:安装并自动挂载进 web profile
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-recall-plugin",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "DSH 消息撤回插件:在用户消息气泡旁加「撤回」按钮,把项目文件(独立影子 git 仓库快照)与对话历史(官方 fork)一并回退到该消息发送之前。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -45,17 +45,28 @@
|
|
|
45
45
|
"inject": [
|
|
46
46
|
"@deepseek-ai/dsh-client-web-react"
|
|
47
47
|
]
|
|
48
|
+
},
|
|
49
|
+
"compatibility": {
|
|
50
|
+
"dshReleases": {
|
|
51
|
+
"0.1.2-alpha.1": "compatible",
|
|
52
|
+
"0.1.2-alpha.2": "compatible",
|
|
53
|
+
"0.1.2-alpha.3": "compatible",
|
|
54
|
+
"0.1.2-alpha.4": "compatible",
|
|
55
|
+
"0.1.2-alpha.5": "compatible",
|
|
56
|
+
"0.1.2-rc.1": "compatible",
|
|
57
|
+
"0.1.3-alpha.1": "compatible"
|
|
58
|
+
}
|
|
48
59
|
}
|
|
49
60
|
},
|
|
50
61
|
"peerDependencies": {
|
|
51
62
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
52
|
-
"@deepseek-ai/dsh-client-web-react": "
|
|
53
|
-
"@deepseek-ai/dsh-host-webserver": "
|
|
54
|
-
"@deepseek-ai/dsh-sandbox-policy": "
|
|
55
|
-
"@deepseek-ai/dsh-session": "
|
|
56
|
-
"@deepseek-ai/dsh-session-query": "
|
|
57
|
-
"@deepseek-ai/dsh-settings": "
|
|
58
|
-
"@deepseek-ai/dsh-shell": "
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
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",
|
|
59
70
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
60
71
|
"react": "^18.2.0"
|
|
61
72
|
},
|