edusrez/dsh-smart-restart

edusrez★ 2TypeScriptLast synced: 2026-08-20

Open on GitHub

Wake the main agent after a DeepSeek Harness (DSH) restart so interrupted work resumes without the user prompting.

README excerpt

dsh-smart-restart English 中文 A DeepSeek Harness (DSH) host plugin that keeps the main agent aware of service restarts — without the user having to prompt it . On every boot it detects that a new process has taken over, wakes the target agent with a short "Smart-restart" notice (boot time, previous boot, downtime). New in v0.2.0 it added the smart restart tool to restart DSH itself and return the notice to the exact session that asked; new in v0.3.0 it auto-detects when the service was stopped while an agent session was active, so even a plain systemctl restart the agent ran notifies that session at boot. Table of contents - Overview - How it works - The smart restart tool - Requirements - Install - Configuration - Behavior & lifecycle - Limitations - Development - License Overview A long-lived DSH instance restarts for many reasons: the agent installs or reconfigures a plugin and triggers a reboot, the host machine reboots, or the service is restarted under systemd . After any such restart the agent is up and running again, but it has no idea that anything happened — the previous session is gone. Today, the only way to get the agent to pick back up is for the user to tell it, usual…

View full README on GitHub →
Agentsagentdeepseek-harnessdshdsh-pluginplugin

Category