dsh-time-machine
开发工具 活跃维护

dsh-time-machine

zjukop/dsh-time-machine

保存工作区检查点到本地,恢复时先预检再切换,两步走防止误操作破坏现场;完全离线运行,敏感代码不出本机。

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

DSH Time Machine

npm
GitHub stars
DeepSeek Harness
License: MIT

Safe, local workspace checkpoints for DeepSeek Harness: save before an ambitious edit, inspect the damage, and travel back with explicit approval.

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-time-machine

Restart dsh web. For local development, install the current directory instead.

Safety model

Restore is deliberately two-phase. time_machine_restore_preview is read-only and returns a short-lived, one-use token bound to the snapshot and restore mode. time_machine_restore rejects missing, expired, reused, or mismatched tokens.

merge mode restores checkpoint files while preserving newer files. exact mode also removes files created after the checkpoint.

See README.zh-CN.md for the full guide.

License

MIT