limbo947/dsh-recall-plugin
DSH消息撤回插件:回到发送该消息时的状态
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that adds a full message recall function to the DSH interface. When a user chooses to recall a message, the plugin rolls back both the entire conversation session context and all modified workspace files to the exact state they were in before the selected message was sent. To install the plugin, you can run DSH's official plugin installation command to pull it from npm, or install it directly from this GitHub repository. After installation completes, you will need to restart your DSH process and hard refresh your browser page to activate the recall feature.
This plugin is designed for DSH users who need to undo accidental changes made by the agent after sending an incorrect instruction, or reset the entire conversation to an earlier state. To use the recall feature, simply hover your mouse over any message sent after you enabled the plugin, click the recall button that appears next to the copy button. You will then see a confirmation panel that lists all files that will be changed during the rollback; once you confirm, the plugin will complete the rollback of both files and the conversation session. After rollback, your original message content and any attached files will be automatically placed back into the input box, ready for you to edit and resend.
The plugin requires a working git CLI installation on your system; without git, the recall button will not appear in the DSH interface. It supports Windows, Linux, and macOS: Windows has been fully tested on local real devices, while macOS has not yet completed full real-device testing. Snapshots are only created when messages are sent after the plugin is enabled, so older messages sent before enabling cannot be recalled. The plugin is released under the open-source MIT license, and by default it stores up to 500 snapshots per workspace, automatically deleting the oldest snapshot when the limit is reached.
这是一款专为 DeepSeek Harness(DSH)开发的原生插件,核心功能是为已发送的用户消息添加撤回能力,撤回时会同时将会话上下文和工作区文件恢复到该消息发送前的状态。插件可以通过 DSH 官方插件命令从 npm 或 GitHub 源安装,安装完成后需要重启 DSH 进程并硬刷新浏览器页面才能激活功能。
这款插件面向需要在发送错误指令后回滚 agent 修改、重置会话状态的 DSH 用户。使用时只需将鼠标悬停在插件启用后发送的消息上,点击出现的撤回按钮,在确认面板查看待变更的文件清单,确认后即可完成文件和会话的回滚。回滚完成后,原消息内容和附件会自动放回输入框,方便用户修改后重新发送。
插件依赖系统安装的 git CLI,不安装则不会显示撤回按钮;支持 Windows、Linux 和 macOS,Windows 经过充分真机测试,macOS 尚未完成真机验证。快照仅在插件启用后的消息发送时创建,插件启用前的历史消息无法撤回。插件采用 MIT 许可证开源,默认每个工作区最多保留 500 条快照,超限会自动删除最旧的快照。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-recall-plugin(limbo947/dsh-recall-plugin)
仓库:https://github.com/limbo947/dsh-recall-plugin
本站详情页:https://www.yhbd.top/plugins/limbo947-dsh-recall-plugin/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 34 · 最近提交 2026-10-03 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 34 stars - an early-stage project星标 34,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-recall-plugin
把 limbo947/dsh-recall-plugin 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-recall-plugin 
简体中文 | English
在任意一条你发过的消息下方点「↶ 撤回」——工作区文件和对话历史一起回到那条消息发出之前的状态。
每条消息发送时,工作区先被快照进一个独立的影子 git 仓库(不碰项目自身的 git);撤回时按快照恢复文件,并经 DSH 官方 sessions.fork 把对话切回该消息之前的 turn 边界,原会话归档保留、随时可找回。被撤回消息的文本与附件自动放回输入框,改完即可重发。快照存储默认落在 $DSH_HOME 下。最主要的边界:快照只在消息发送时创建,插件启用前的历史消息没有快照、不显示撤回按钮。
目录
界面预览
| 撤回按钮 | 确认面板 · 变更文件清单 |
|---|---|
![]() |
![]() |
- 设置页 · 插件配置卡片(配置表单 / 排除表 / 快照管理,保存即热生效)

功能亮点
带括号版本号的能力需要该版本或更高;其余无特殊版本要求。
- 文件 + 对话,整段回退:撤回的不只是聊天记录,agent 改过的文件也一并回到原样;不受项目
.gitattributes转换影响,换行与二进制内容字节级保真(2.1.1+)。 - 只想重来对话?文件可以不动(2.3.24+):确认面板可二选一撤回范围——默认「回退文件与对话」为完整回退;「仅撤回对话」则项目文件一个字节都不动(也不打安全快照),适合对回复不满意、但文件改动正是想要内容的场景。
- 不碰项目自身的 git,目录保持干净:快照存在独立的影子 git 仓库,分支、暂存区、未提交改动统统不受影响;存储默认落在
$DSH_HOME下、与会话沙箱权限无关(workspace-write / read-only 照常工作),仅当 home 不可写才降级到项目内.dsh-recall-snapshots。 - 先看清单再动手,可反复后悔:撤回前展示将变更的文件清单(修改 / 恢复 / 删除),确认后才执行;撤回后还能再撤到更早,被覆盖的文件一直找得回来。
- 撤回完就能重发(2.3.15+):消息的文本与附件(图片、文件)一起放回输入框,改完直接发送,不必重新挑一遍附件。
- 撤回全程有防护(2.0+,救援 2.1+):预览后出现新快照会强制重新预览;执行前自动打「回退前」安全快照,回退失败自动救援,救援失败给出可直接复制执行的手动恢复命令。
- 磁盘友好、自动维护:快照走 git delta 增量压缩,大文件自动跳过(阈值可配);定期无损
git gc、会话删除联动清理、按条数与保留天数自动清理;设置页提供工作区 → 会话 → 快照三级树形管理,支持搜索与分级删除。 - 失败不静默、能自愈(自愈 2.1+):失败按根因分类(git 缺失 / 磁盘满 / 无权限 / 锁冲突 / 目录冲突)给出可行动提示,同类故障 10 分钟只打扰一次,原因进设置卡片「最近错误」;自动清理残骸、连续 3 次失败指数退避、多实例按心跳互让;无法索引的路径跳过并告知,不中断整条快照(撤回时也不触碰它们)。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →


vshulcz/deja-vu
adoresever/graph-memory
mnemon-dev/mnemon
Phant0Meow/dsh-meow-memory
slow-stack/mneme
Aik358/dsh-auto-memory