dsh-maestro-supervisor
Run the following command in DeepSeek Harness:
dsh plugin install ddtcorex/dsh-maestro-supervisor
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ddtcorex/dsh-maestro-supervisor in the DeepSeek Harness terminal to install this plugin; the full source is available at https://github.com/ddtcorex/dsh-maestro-supervisor .
About this plugin
When the DSH Web process crashes, any in-flight agent session is lost, the browser goes blank, and the user must manually refresh and restart the conversation. For long-running, multi-turn agent workloads this is a painful and fragile experience.
This plugin addresses the problem with a three-layer defense. An outer systemd daemon lives outside the pnpm → sh → node process tree, polling the health port every 3 seconds; on crash it auto-rolls-back to the latest known-good snapshot (SHA-256 verified, 3-way rotation) and writes a diagnostic report covering health status, git diff, and log tail, with optional Telegram notification. The inner Host plugin scans for interrupted sessions and dangling open turns 8 seconds after boot, recovers provider and model context from persisted session logs, and calls agents.resume to pick the conversation back up. The innermost Client plugin watches for WebSocket close, offline events, and visibility changes, then starts a 1-second HEAD poll that triggers an automatic page reload the moment the server is back online — no manual refresh required.
Built for developers and operators who run DSH Web locally or on a server and need agent sessions to stay alive across restarts. If you want zero-touch recovery with a full audit trail of what went wrong and how it was fixed, this is the resilience layer you are missing.
Use Cases
- Auto-rollback and session resume after an unexpected DSH Web process crash
- Browser auto-reloads without manual refresh after a server restart
- Unattended recovery when a long-running agent task loses its process mid-flight
Best For
- Developers running DSH Web for long multi-turn agent sessions
- Ops engineers who need process-level crash monitoring and auto-rollback
- Teams running unattended agent workflows that demand zero-touch recovery
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.