AI Agent Hub
Back to plugins
dsh-smart-restart preview

dsh-smart-restart

Workflow Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install edusrez/dsh-smart-restart

Paste the following prompt into your AI chat to install this plugin:

To install this plugin in DeepSeek Harness, run the command dsh plugin install edusrez/dsh-smart-restart, with the full source code at https://github.com/edusrez/dsh-smart-restart.

About this plugin

When a long-running DeepSeek Harness instance restarts—due to plugin installation, system reboot, or systemd intervention—the agent loses context, forcing users to manually prompt with "you restarted." dsh-smart-restart addresses this gap by detecting the restart automatically, waking the primary agent with a boot notification that includes the boot time, downtime, and optional reason, and delivering it to the correct session so the conversation resumes without user input. Key capabilities include: a smart restart tool that lets the agent trigger restarts and recover its own tasks, canary pre-validation for safe restarts, auto-detection of systemd units for zero-configuration, and automatic notifications when active sessions are interrupted, covering both planned and unplanned restarts. This plugin is ideal for anyone running long-lived DSH agents, particularly developers or system managers seeking to enhance automation reliability by enabling seamless task resumption after restarts.

Screenshots

Use Cases

  • Auto-resuming context when an agent task is interrupted by a service restart
  • Maintaining workflow continuity after system maintenance or plugin updates
  • Achieving zero-configuration restart notifications when managing DSH services with systemd

Best For

  • Users running long-lived DeepSeek Harness instances
  • Developers seeking to enhance automation workflow reliability
  • System administrators managing agent services