Skip to content

Releases: gulagala001/dsh-undo-plugin

dsh-undo-plugin 0.1.0 · DSH 0.2.1-rc.2

Choose a tag to compare

@gulagala001 gulagala001 released this 20 Oct 11:48

dsh-undo-plugin 0.1.0 · DSH 0.2.1-rc.2

中文 | English

中文

首次发布,为 DeepSeek Harness 提供对话与工作区文件撤回,支持撤销撤回。

新增功能

  • 用户消息复制按钮旁新增撤回按钮,确认后原地撤回该消息及之后的内容,文字和附件回填输入框。
  • 支持撤销上一次撤回,恢复此前的对话、文件及输入草稿;所有恢复操作都需确认。
  • 会话空闲时双击 Esc,或输入 /rewind,在输入框上方打开原生回退列表;/undo 打开撤销确认。运行中双击 Esc 保留停止行为。
  • 支持压缩前的对话历史,以及同步 Shell 和同工作区子代理造成的文件变化。恢复前检查文件冲突。

体验优化

  • 纯聊天只记录轻量检查点;列表按需分页,打开列表不扫描工作区。
  • 文件内容分块去重、按需压缩,空闲时自动滚动回收旧备份。2 GiB 为软目标,保护中的恢复数据可以超过目标;正常工具不会因容量目标被阻断。

其他变更

  • 精确适配 DSH 0.2.1-rc.2,需要 Node.js 22.19+。已在 macOS 验证原生安装、撤回与撤销、快捷键和附件交互;Windows/Linux 实机流程尚未验证。
  • 没有保留文件备份的旧消息仅撤回对话,确认框会显示实际范围。数据库、网站操作等外部副作用不会被撤销。

English

Initial release: rewind conversations and workspace files in DeepSeek Harness, with undo.

New Features

  • A rewind button beside Copy on each user message restores the same session after confirmation. The message text and attachments return to the composer.
  • Undo restores the previous conversation, files and input draft. Every restore requires confirmation.
  • Double Esc while idle or /rewind opens the native list above the composer. /undo opens undo confirmation. During a response, double Esc keeps the Stop behavior.
  • Supports history from before compaction and file changes made by synchronous Shell tools and subagents in the same workspace. File conflicts are checked before restoration.

Improvements

  • Plain chat records lightweight checkpoints. The list loads in pages without scanning workspace files.
  • Chunk deduplication, compression and idle cleanup reduce backup storage. The 2 GiB target is soft: protected recovery data may exceed it, and normal tools are not blocked by this target.

Other Changes

  • Targets DSH 0.2.1-rc.2 exactly and requires Node.js 22.19+. Native installation, rewind, undo, shortcuts and attachments were verified on macOS. Windows and Linux device flows remain unverified.
  • Older messages without retained file snapshots offer conversation-only recovery, shown before confirmation. External effects such as database and website operations are not reversed.

安装 / Installation

仅适用于 DSH 0.2.1-rc.2。打开 插件 → 添加插件,粘贴下方地址。保留原 profile、配置与数据,任务结束后重启对应实例。

For DSH 0.2.1-rc.2 only. Open Plugins → Add Plugin and paste this URL. Keep the existing profile, configuration and data, and restart after active tasks finish.

https://github.com/gulagala001/dsh-undo-plugin/releases/download/v0.1.0-dsh.0.2.1-rc.2/gulagala001-dsh-undo-plugin-0.1.0-dsh.0.2.1-rc.2.tgz

安装与使用指南(中文) · Installation and usage guide

校验值见附件 SHA256SUMS。Checksums are provided in SHA256SUMS.