← Back to home@zjukop

dsh-time-machine

Safe, local workspace checkpoints and two-phase restore for DeepSeek Harness

Stars
0
Language
TypeScript
Created
Aug 15, 2026
Updated
Aug 15, 2026
GitHub repo

Introduction

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