dsh-plugin-rollback-whale
其他 活跃维护

dsh-plugin-rollback-whale

ccbili30-collab/dsh-plugin-rollback-whale

支持一键回滚历史版本、快速恢复异常数据,无需改动原有系统配置,安装后即可在Harness工作流中直接调用回档能力,操作轻便无需复杂配置

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
107 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ccbili30-collab/dsh-plugin-rollback-whale
git clone https://github.com/ccbili30-collab/dsh-plugin-rollback-whale.git
git clone git@github.com:ccbili30-collab/dsh-plugin-rollback-whale.git
README.md main

Rollback Whale

中文 | English

A well-fed guardian that helps DeepSeek Harness swim back to a healthy checkpoint.

Rollback Whale is an independently installable DSH plugin. It adds a compact power-style menu to the sidebar and a complete checkpoint manager to Settings. The recovery guardian and its payload store live outside the DSH checkout, so a broken UI or plugin composition does not remove the command-line escape hatch.

Install

dsh plugin --profile web add github:ccbili30-collab/dsh-plugin-rollback-whale

Restart the Web profile after installation. When DSH is launched from a Git checkout, Rollback Whale finds the source root automatically. Otherwise set DSH_SOURCE_HOME=/path/to/deepseek-harness before launch.

To remove it:

dsh plugin --profile web remove dsh-plugin-rollback-whale

Screenshots

Quick power menu Management in Settings
Rollback Whale power menu Rollback Whale settings

What it protects

  • Creates immutable checkpoints from the current Git checkout and DSH control files.
  • Stores checkpoints under ~/.dsh-recovery by default, outside both the checkout and DSH_HOME.
  • Verifies every payload with SHA-256 before restore.
  • Creates an automatic rescue checkpoint, shuts DSH down, restores offline, and restarts the original launcher.
  • Provides rollback-whale as a boot-independent CLI when the Web profile cannot start.

Credentials, conversations, attachments, storage data, workspaces, and installed dependencies are deliberately excluded. This is safe rollback—not a data-erasing factory reset.

Emergency CLI

rollback-whale list
rollback-whale create --source /path/to/deepseek-harness --label "before plugin install"
rollback-whale verify CHECKPOINT_ID
rollback-whale restore CHECKPOINT_ID --confirm CHECKPOINT_ID --offline --source /path/to/deepseek-harness

Stop DSH before using the manual restore command. UI-initiated restore handles shutdown and restart through the detached guardian.

License

MIT