dsh-time-machine
Run the following command in DeepSeek Harness:
dsh plugin install GooDAnDReaDY/dsh-time-machine
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install GooDAnDReaDY/dsh-time-machine in your DeepSeek Harness terminal to install; source code is available at https://github.com/GooDAnDReaDY/dsh-time-machine .
About this plugin
Running autonomous agents in DeepSeek Harness means a multi-file refactoring, a mutating shell command, or a dependency install can push your workspace into an unexpected broken state. Manual git rollback afterwards is a mess: untracked files vanish, the staging area gets polluted, and branch history risks being rewritten. dsh-time-machine is the safety net built for exactly this: it captures lightweight shadow Git snapshots in the background, covering the full working tree, staged changes, and untracked files, while leaving your commit history, active branch, and .git/index completely untouched.
Three capabilities define the core experience. First, one-click safe rollback uses a read-tree plus checkout-index plus clean strategy to restore the entire workspace or specific files to any prior checkpoint in milliseconds, without ever moving HEAD or rewriting branches. Second, a visual diff inspector compares the current workspace against any checkpoint file by file, highlighting added, deleted, and modified lines with line numbers and statistics. Third, automatic checkpointing on command failure preserves recovery options the moment a tool call or shell command errors out. All six agent tools are available both in the UI sidebar timeline and programmatically during conversation flows.
If you drive agents in DeepSeek Harness to perform high-risk batch edits, dependency management, or system-level operations, dsh-time-machine is the zero-thought safety fallback you have been waiting for.
Use Cases
- One-click rollback to a prior checkpoint after agent batch refactoring
- Automatic recovery option preserved when a shell command fails
- File-by-file diff between current workspace and a historical checkpoint
Best For
- Developers driving high-risk agent operations in DeepSeek Harness
- Engineers who need a safety net without polluting git commit history
- Teams requiring auditable rollback paths for agent batch edits and dependency management
Related Plugins
A network security red-team benchmark plugin for DeepSeek-V4.1/Flash featuring dual-layer kernel injection and zero-tool architecture for controlled model safety assessment.
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.