🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI
广告☁️ 云服务器特惠阿里云首购 8 折 · 腾讯云合作特惠
DeepSeek Harness Hub
← 返回列表

Movingtoleveltwo/dsh-revert

DeepSeek 客户端兼容 / 相关生态spec-screened扫描:中风险在 GitHub 查看 ↗
⚠ 装前注意

DeepSeek Harness 现代化对话回退与重试插件:纯 UI 图形交互、原地 Prompt…

基本兼容但装前注意:未发布到 npm registry,仅可从源码安装 · 最近上游提交 2026/9/16 · 已提供中文文档

DeepSeek Harness 现代化对话回退与重试插件:纯 UI 图形交互、原地 Prompt 微调、支持工作区与外部文件双引擎安全恢复。

综合分
30.4
GitHub 分
30.4
用户评分
—
★ Stars
1
周下载量
—
兼容 / 相关生态插件(非 dsh 原生,请按其对应运行时安装)
git clone https://github.com/Movingtoleveltwo/dsh-revert.git
信任档位:已验证本站已于 2 天前真实安装成功(L4 · 真实安装)
是什么
生态插件(可安装,未声明 dsh 能力)
装得上吗
本站已真实安装成功(L4 · 真实安装,非静态推断)
安全吗
本站尚未对该插件做风险分级(暂未覆盖,不等同于无风险)
还在维护吗
活跃:最近一次提交在 9 天前

档位由下列信号合成:本站实装验证(真实安装,当前最高到 L4)· 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。下方各区块是它的证据明细。 验证判据与等级说明 →

🟢实装验证通过· 2026/9/24
由本站实装验证器在真实 dsh 环境安装成功,非静态推断。
数据截至 2026/9/19(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
安装兼容性检查⚠ 装前注意

以下结论由程序自动检查 npm 包、engines 声明与入口文件得出,未做人工实机验证——能装不等于用着没问题。

✗npm 包dsh-revert(未发布到 npm,仅可源码安装)
✓Node 引擎未声明 engines.node
✓dsh CLI 依赖未声明 dsh 版本约束
✓入口文件main/exports/bin 已声明

未发布到 npm registry,仅可从源码安装

验证方式:npm registry 存在性 + package.json 静态校验 · 最后验证 2026/9/21 06:02:42

依赖的 DSH / Cordis 模块
@deepseek-ai/cordis
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动

README

由 DeepSeek 最新模型翻译生成
dsh-revert

简体中文 | English

简体中文

DeepSeek Harness (DSH) 现代化对话回退与重试插件:纯 UI 图形化交互、原地 Prompt 微调、支持工作区与外部文件双引擎安全快照恢复。

✨ 核心特性
- 🎯 纯 UI 图形化交互:无需记忆任何复杂的斜杠指令,鼠标悬浮在任意对话消息下方即可点击「↩️ 还原重试」;
- ✏️ 原地微调 Prompt:弹窗直接回显该轮用户输入的 Prompt,修改后自动聚焦回填到聊天输入框;
- 🛡️ 工作区内快照(Shadow Git):在独立影子存储中维护轻量快照,秒级撤销代码变动,绝不污染或重置用户自己的本地 Git 分支;
- 🌐 工作区外部安全恢复(External Interceptor):精准拦截 AI 在工作区外部编辑过的文件,并在回退时一并安全写回原始状态;
- 📱 多端全适配:电脑端、平板端与手机端界面完美适配。

🚀 安装与启用

方式 1:通过插件市场一键安装
在 DSH 的【设置 ➔ 插件市场】中搜索 dsh-revert,点击安装即可。

方式 2:本地开发与手动加载
进入 profile 目录并链接本地插件
cd ~/.dsh/profiles/web
npm link /path/to/dsh-revert
在 ~/.dsh/profiles/web/package.json 中的 dsh.profile.bundles 添加 "dsh-revert",重启 DSH 即可生效。

💬 问题反馈
本项目致力于提供最稳定、丝滑的对话回退体验。如果您在使用过程中遇到任何 Bug、文件未正确回滚的情况,或者有新的功能建议,非常欢迎您在 Issues 中向我反馈。我看到后会第一时间进行排查和修复!期待与大家一起把这个插件打磨得更好。

English

A modern UI-based rewind and retry plugin for DeepSeek Harness (DSH). Features inline prompt editing and a flawless dual-engine state recovery system (Workspace ShadowGit + External Tracker).

✨ Key Features
- 🎯 Pure UI Interaction: Hover over any chat message and click the "↩️ Rewind" button. No slash commands required.
- ✏️ Inline Prompt Editing: Automatically extracts and fills the prompt from the reverted turn into your composer.
- 🛡️ Workspace Shadow Git: Maintains lightweight, isolated snapshots of your workspace. Rolls back AI code changes in seconds without polluting your own Git repository.
- 🌐 External File Interceptor: Safely tracks and reverts files modified by the AI outside of the current workspace.
- 📱 Fully Responsive: Seamlessly adapts to Desktop, Tablet, and Mobile views.

🚀 Installation
Method 1: Plugin Market
Search for dsh-revert in DSH [Settings ➔ Plugin Market] and install it with one click.

Method 2: Manual Link
cd ~/.dsh/profiles/web
npm link /path/to/dsh-revert
Add "dsh-revert" to dsh.profile.bundles in your package.json and restart DSH.

💬 Feedback & Support
If you encounter any bugs, unexpected rollback behaviors, or have feature requests, please feel free to open an Issue. I actively monitor them and will do my best to investigate and fix any problems promptly!

🛠️ 架构与技术原理 (Architecture)

1. Client 端(Slot 注入):通过 DSH 的 Cordis 插槽系统注入 conversation.chat.assistant-actions,渲染回退操作按钮与 React 弹窗;
2. Host 端(RPC 服务):通过 /dsh-revert/rpc 暴露轻量快照与回滚调度服务;
3. 快照存储引擎 (Storage Engines):
- ShadowGit:按工作区路径哈希维护隔离的裸仓库快照 (Maintains isolated bare git repos for workspace snapshots);
- ExternalFileTracker:维护轮次级别的外部文件修改前置记录 (Tracks and restores external file states pre-modification)。

📄 开源协议 (License)

MIT License © 2026 Movingtoleveltwo

上游仓库有新提交时邮件通知你(每天最多一封,无更新不打扰),随时一键退订。

💬 加入社群

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

DPharness QQ 群二维码,QQ 扫码进群
QQ 扫码进群
DPharness 飞书群二维码,飞书扫码进群
飞书扫码进群