@kangyishuai/dsh-session-rewind 0.5.0 → 0.5.1
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.md +10 -0
- package/README.zh-CN.md +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,16 @@ The plugin also registers one **read-only** tool, `session_rewind_candidates`, s
|
|
|
35
35
|
|
|
36
36
|
The tool never rewinds, never edits files and never appends to the session log — the rewind itself stays a user action (that is the point of the ADR 0006 design). Set `readOnlyTool: false` to unregister it; **Settings → Diagnostics** reports whether it registered.
|
|
37
37
|
|
|
38
|
+
## What it looks like
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
Both screenshots come from a throwaway DSH home containing only a synthetic workspace and session (`pnpm shots:session-rewind` regenerates them), cropped to the dialog and the panel.
|
|
45
|
+
|
|
46
|
+
> Image links are absolute (`raw.githubusercontent.com`) on purpose: npm does not ship `assets/` in the tarball, so a relative path would render as a broken image on npmjs.com.
|
|
47
|
+
|
|
38
48
|
## Install
|
|
39
49
|
|
|
40
50
|
```bash
|
package/README.zh-CN.md
CHANGED
|
@@ -35,6 +35,16 @@
|
|
|
35
35
|
|
|
36
36
|
这个工具不回溯、不碰文件、不写会话日志——真正的回退始终由用户在界面确认(这是 ADR 0006 的设计前提)。设 `readOnlyTool: false` 可关闭;**设置 → 诊断**里能看到它是否注册成功。
|
|
37
37
|
|
|
38
|
+
## 长什么样
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
两张图都来自一个只含**合成工作区与合成会话**的临时 DSH 目录(`pnpm shots:session-rewind` 可重新生成),并且按 DOM 矩形裁剪到对话框/面板本身。
|
|
45
|
+
|
|
46
|
+
> 图片用绝对地址(`raw.githubusercontent.com`)而不是相对路径:npm 的 tarball 不含 `assets/`,相对路径在 npmjs.com 上会是破图。
|
|
47
|
+
|
|
38
48
|
## 安装
|
|
39
49
|
|
|
40
50
|
```bash
|
package/package.json
CHANGED