dsh-rewind-plugin 0.11.0-beta.1 → 0.11.0
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/README.en.md +18 -1
- package/README.md +16 -1
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -35,8 +35,11 @@ Every user message carries a **↶ rewind** button in its action row. Clicking i
|
|
|
35
35
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
|
+
Check your local DSH version, then find the matching plugin version in
|
|
39
|
+
[Releases](https://github.com/SiriLee/dsh-rewind/releases).
|
|
40
|
+
|
|
38
41
|
```sh
|
|
39
|
-
dsh plugin --profile web add dsh-rewind-plugin
|
|
42
|
+
dsh plugin --profile web add dsh-rewind-plugin@<version>
|
|
40
43
|
```
|
|
41
44
|
|
|
42
45
|
> ⚠️ The npm name `dsh-rewind` belongs to another author's package — install with `dsh-rewind-plugin`.
|
|
@@ -77,6 +80,20 @@ cleanup** panel (the auto-cleanup switch and the idle-day cutoff), or use the
|
|
|
77
80
|
|
|
78
81
|
<img src="assets/screenshots/cleanup-setting.png" alt="Snapshot cleanup settings: auto-cleanup and idle days" width="600">
|
|
79
82
|
|
|
83
|
+
## Uninstall
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
# Uninstall the plugin
|
|
87
|
+
dsh plugin --profile web remove dsh-rewind-plugin
|
|
88
|
+
|
|
89
|
+
# To also delete local data
|
|
90
|
+
rm -rf <dsh home>/rewind-snapshots
|
|
91
|
+
rm <dsh home>/snapshot-cleanup-last-sweep.json
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
The plugin's auto-cleanup settings live in the settings document
|
|
95
|
+
(`<dsh home>/settings.yaml`). To remove them completely, delete the key manually.
|
|
96
|
+
|
|
80
97
|
## Why it stands out
|
|
81
98
|
|
|
82
99
|
Compared with the common approaches, here is the trade-off this plugin makes on "rewind":
|
package/README.md
CHANGED
|
@@ -35,8 +35,10 @@ DeepSeek Harness 插件:**一键就地回退对话到任意更早的用户消
|
|
|
35
35
|
|
|
36
36
|
## 安装
|
|
37
37
|
|
|
38
|
+
确认本机 DSH 版本后,在 [Release](https://github.com/SiriLee/dsh-rewind/releases) 找到适配的插件版本。
|
|
39
|
+
|
|
38
40
|
```sh
|
|
39
|
-
dsh plugin --profile web add dsh-rewind-plugin
|
|
41
|
+
dsh plugin --profile web add dsh-rewind-plugin@<版本>
|
|
40
42
|
```
|
|
41
43
|
|
|
42
44
|
> ⚠️ npm 上的 `dsh-rewind` 属于其他作者,请用 `dsh-rewind-plugin` 安装。
|
|
@@ -67,6 +69,19 @@ dsh plugin --profile web add dsh-rewind-plugin
|
|
|
67
69
|
|
|
68
70
|
<img src="assets/screenshots/cleanup-setting.png" alt="快照清理设置:自动清理与失活天数" width="600">
|
|
69
71
|
|
|
72
|
+
## 卸载
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
# 卸载插件
|
|
76
|
+
dsh plugin --profile web remove dsh-rewind-plugin
|
|
77
|
+
|
|
78
|
+
# 如需同时删除本地数据
|
|
79
|
+
rm -rf <dsh home>/rewind-snapshots
|
|
80
|
+
rm <dsh home>/snapshot-cleanup-last-sweep.json
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
插件的自动清理设置保存在设置文档(`<dsh home>/settings.yaml`)中。如需彻底清理,可手动删除对应键。
|
|
84
|
+
|
|
70
85
|
## 本插件的优势
|
|
71
86
|
|
|
72
87
|
和常见的几种做法相比,本插件在"回退"这件事上的取舍:
|
package/lib/client.js
CHANGED
|
@@ -1345,7 +1345,7 @@ function createRewindBridge(deps) {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
|
|
1347
1347
|
// src/client/build-info.ts
|
|
1348
|
-
var PLUGIN_VERSION = true ? "0.11.0
|
|
1348
|
+
var PLUGIN_VERSION = true ? "0.11.0" : "dev";
|
|
1349
1349
|
var BUILD_HASH = true ? "d770983e" : "dev";
|
|
1350
1350
|
|
|
1351
1351
|
// src/client/locales.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-rewind-plugin",
|
|
3
|
-
"version": "0.11.0
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "DSH 插件:真正便捷无感的同窗口内对话回退,从不新建分支;自带轻量工作区备份,可一并还原文件(完整 Claude Code /rewind 语义)。 · DSH plugin: genuinely effortless in-window conversation rewind — never forking a new session; ships a lightweight workspace backup that restores files together with the rewind (full Claude Code /rewind semantics).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|