dsh-doctor
Run the following command in DeepSeek Harness:
dsh plugin install d86e/dsh-doctor
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install d86e/dsh-doctor inside DeepSeek Harness; the source lives at https://github.com/d86e/dsh-doctor and the first load automatically registers the platform watchdog service and starts health probing.
About this plugin
A single bad plugin update can bring your dsh web down entirely, and fixing it means SSHing in, reading logs, editing YAML, and restarting by hand. dsh-doctor turns that into an automated watchdog: it runs as a standalone Node process (LaunchAgent on macOS, systemd user unit on Linux, Task Scheduler on Windows), probes a health endpoint every 30 seconds, and after consecutive failures enters triage, identifies the offending bundle within a hard 60-second budget, writes a safe-mode bypass patch, restarts, and verifies recovery. Your original config file is never mutated.
Beyond boot recovery, dsh-doctor subscribes to the tools/* event waterfall in-process, classifies every failed tool call (transient, agent, business) and records or defers it per policy, so the AI can pull queued errors at a quiet moment via dsh_doctor_drain_deferred. It also maintains a per-session state machine: if a turn goes idle beyond a threshold with no new events, the doctor injects a continue message to nudge the stuck conversation back to life, up to three times per session, then gives up rather than looping forever.
dsh-doctor is built for users who run multi-plugin profiles that a single bad update can take down, and for engineers running long unattended agent tasks that occasionally stall on a flaky network call or an interrupted LLM stream. It is fully independent of dsh-daemon, so both can coexist as layered protection. If you have a single-plugin setup you can fix by hand, or if you want an AI that auto-debugges your entire DSH install, this is not for you. It is a watchdog, not an AI.
Use Cases
- A plugin update bricks dsh web and the watchdog must isolate and bypass the failing bundle within 60 seconds
- Long unattended agent runs stall on a flaky network call or interrupted LLM stream and need an automatic nudge to resume
- A multi-plugin production stack needs layered protection alongside dsh-daemon so a single bad bundle cannot take down the entire profile
Best For
- Developers running multiple DSH plugins who want to survive a bad update without manual SSH triage
- AI engineers running long unattended agent tasks that require automatic stall recovery
- Ops teams that need high-availability dsh web and want fault recovery without reading logs by hand
Related Plugins
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.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.