bundle-rollback

by 23swccp

会话与消息github收录于 08-21

对话撤销:通过 /undo、会话头部按钮或消息下方图标把会话回滚到任意已发送 prompt 之前,文件由插件私有 Shadow Git 快照恢复、会话 fork 成新分支,模型看不到被回滚的回合;附带归档任务设置页与工具卡片按类型着色。

Conversation undo: roll a session back to before any sent prompt via /undo, the session-header button, or the icon under the message, restoring files from a plugin-private shadow-Git snapshot and forking the conversation so the model never sees the reverted turns; includes an Archive Tasks settings page and per-tool colored tool cards.

安装

dsh plugin --profile web add github:23swccp/dsh-undo#path:/packages/bundle-rollback

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

Conversation undo/rollback plugin for DeepSeek Harness (dsh).

  • Message-level rollback — the enter-key icon under a sent prompt, the session-header rollback button, the /undo command, or the composer strip: restores the file tree from a plugin-private Shadow Git snapshot (never touches your .git) and forks the conversation, so the model never sees the reverted prompt, reply, or tool calls
  • Archive tasks — list, restore, and hide archived sessions from Settings
  • Tool cards — per-tool colored cards and the reasoning-and-actions fold in the dsh web conversation trail

Install

dsh plugin --profile web add dsh-undo-plugin

Requires dsh 0.1.0-rc.6 or newer. Restart dsh web after installing.

Full documentation: 中文 | English

License

MIT

原始 README: https://github.com/23swccp/dsh-undo/blob/master/packages/bundle-rollback/README.md ↗