dsh-smart-restart: A Verified Restart Solution for DeepSeek Harness

`dsh-smart-restart` is a DSH plugin designed to resolve issues of opaque and destructive service restarts. It supports rootless restarts (relying on systemd), post-startup health checks (verifying ports, process status, etc.), and reporting check results and recovery instructions back to the initiating session, ensuring work can resume based on facts. The plugin provides two modes, `kill` (default) and `systemctl`, features a loop protection mechanism (limited to 3 attempts within 10 minutes), and supports configuration via graphical settings cards. Upon installation, it automatically detects systemd units and performs verification-based restarts, providing more reliable operational assurance for agent systems.

Read More
dsh-smart-restart: Automatically wake up the main agent after DSH restart

The DSH plugin `edusrez/dsh-smart-restart` (v0.5.1, MIT License) aims to address the issue of work interruption caused by the main agent being unaware of service restarts. It identifies restarts by detecting changes in process PIDs and sends a Smart-restart notification to the agent upon startup to resume tasks. Core features include: 1. **Restart Detection and Notification**: Compares PIDs via `marker.json` to calculate downtime and utilizes the `agent/session-start` hook to send notifications. 2. **Smart Dispatch Priority**: Prioritizes processing in the order of `pending-notice.json` > `shutdown-notice.json` > default target.

Read More