SiriLee/dsh-rewind
SiriLee★ 0TypeScriptLast synced: 2026-08-17
DeepSeek Harness plugin: in-place conversation rewind in the same session window (Claude Code /rewind semantics) + optional file restore
README excerpt
dsh-rewind DeepSeek Harness 插件: 同一会话窗口的 in-place 对话回退 (Claude Code /rewind 语义)。主交互为 用户消息旁的「回退」按钮 ,点击后选择回退模式;命令仅作辅助。 状态:v0.1.1 已实现并发布( dsh-rewind-plugin ,npm + GitHub Actions Trusted Publishing)。交互以 Claude Code 行为为参考,并贴合 dsh Web 实际 UI(利用现有 DOM 锚点与运行时快照,纯插件、不改仓库核心)。 实现状态(v0.1.1) - ✅ host 端 /rewind 命令(两步文本引导 + 直接执行 + preview 影响清单) - ✅ host 端变更台账( tools/execute 捕获 before、 tools/post-execute 提交),按会话隔离 - ✅ 与其他审批类插件共存 :捕获在 around-dispatch 阶段, tools/pre-execute 被 ask 短路(如 dsh-edit-approval)后批准仍能记录;被拒绝的调用不留 pending 残留 - ✅ 路径按会话 cwd 解析 (复刻 dsh-tool-fs 的 session-cwd 规则),相对路径台账/还原指向真实文件;台账记录解析后的 display path - ✅ fs 服务动态获取 ( ctx.inject(['fs']) ):fs 后挂载也不失效,无 fs 部署时命令仍可用 - ✅ 同窗口 in-place 回退:追加标记节点 + surfaceOp: replace 替换目标点之后的 surface(真实 dsh-session 集成测试通过) - ✅ client 端「回退」按钮(MutationObserver 注入用户消息行操作区)+ 模式选择浮层(含 both 模式影响清单确认) - ✅ 测试:纯函数单测 + 真实 dsh-session 集成测试 + verify-host 端到端(14 项,含审批短路/会话 cwd 场景) - ⏳ 二期:快捷键、git-first 快照式文件回退、命令路径的 client 两步浮层接管 安装 发布名: dsh-rewind-plugin (npm 上的 dsh-rewind 已被功能重叠的既有包占用)。 本地 / GitHub 路径不受影响(仓库仍为 SiriLee/dsh-rewind )。 cordis.patch.yml 插入一行 dsh-rewind-plugin (node 半面 = host 插件;行名必须 等于包名);包声明 dsh.bundle + dsh.client ,浏览器半面由 dsh-client-modules 从 exports["./clien…
View full README on GitHub →Category
DeepSeek Harness: Everything is a Plugin.
★ 140,164
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 10,272
awesome-dsh-plugin/awesome-dsh-pluginA curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表
★ 6,371