dsh-restart-autoresume
Run the following command in DeepSeek Harness:
dsh plugin install Harzva/dsh-restart-autoresume
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Harzva/dsh-restart-autoresume inside DeepSeek Harness; the source is available at https://github.com/Harzva/dsh-restart-autoresume
About this plugin
After a DSH restart, running top-level tasks simply stop and operators must manually re-submit their requests. dsh-restart-autoresume fills that gap: before the restart it captures eligible top-level sessions and flushes their durable state, delegates the actual restart to the existing dsh-restart Host service, and then safely submits one auditable continuation turn once the new Host is up, prompting the Agent to inspect external outcomes before retrying.
At the core of the plugin is a schema-versioned private Resume Ledger that provides serialized atomic updates, corruption isolation, expiry, capacity cleanup, and 0600 file permissions. Combined with stable intent provenance, leases, bounded concurrency, a retry ceiling, and manual re-arming at startup, both crash recovery and operator-initiated restarts follow the same predictable path. The plugin deliberately does not implement a second restart mechanism; it strictly depends on the dsh-restart 0.3.1 Host contract, and if the provider is absent or malformed the request fails fast before any Ledger state is written.
If your workflow runs on DSH 0.1.1-rc.2 with dsh-restart mounted and you want restarts to not interrupt running top-level Agent tasks, this plugin is worth trialing in a disposable or explicitly approved profile. It is in public alpha, does not restore subagents directly, and does not guarantee exactly-once semantics for arbitrary tools, but it provides a structured safety net for the most common keep-working-after-restart scenario.
Screenshots
Use Cases
- Automatically resume running top-level Agent tasks after a DSH restart
- Replay interrupted top-level session intents in order during crash recovery
- Safely flush and record session durable state before an operator-initiated restart
Best For
- Operators running DSH 0.1.1-rc.2 with the dsh-restart service already mounted
- Teams that want restarts to not interrupt long-running Agent workflows
- Developers needing auditable top-level session recovery after a crash
Related Plugins
Memory layer for coding agents that indexes local session history and auto-recalls relevant context before edits, commands, and failures, with no manual search needed.
Traceable, searchable cross-session memory for AI agents that turns conversation knowledge into a typed knowledge graph and recalls relevant subgraphs instead of replaying full history, natively integrated with DeepSeek Harness.
Gives DSH AI cross-session long-term memory, to-do and skill management, plus multi-session orchestration, external AI delegation, and an infinite canvas that grows with you.
dsh-mnemon is a three-tier, pluggable, Agent-driven memory system for DeepSeek Harness, combining Runtime memory, Project Documents, and replaceable Memory Spaces with nine long-term providers.


