dsh-rollback

TRAE 式「回退到本轮对话发起前」:按轮次建立文件检查点,回滚工作区文件并在同一 session id 下原位截断模型上下文,已适配 DSH 0.1.7-rc.2。新增 /rollback doctor 契约自检、按当前磁盘状态实时计算的受影响文件 diff 预览(重启后依然准确)、一键「回退最近一轮」(快捷键 Ctrl+Shift+Z)、「回退后隐藏已回退消息」开关,以及英文界面文案。

界面与主题NOASSERTION☆ 1

插件介绍

TRAE 式「回退到本轮对话发起前」:按轮次建立文件检查点,回滚工作区文件并在同一 session id 下原位截断模型上下文,已适配 DSH 0.1.7-rc.2。新增 /rollback doctor 契约自检、按当前磁盘状态实时计算的受影响文件 diff 预览(重启后依然准确)、一键「回退最近一轮」(快捷键 Ctrl+Shift+Z)、「回退后隐藏已回退消息」开关,以及英文界面文案。

安装方式

通过 npm 安装

dsh plugin --profile web add @nianchu/dsh-rollback

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:ZhaoZeW/dsh-rollback

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令