alchemistwu/dsh-self-restart ↗★ 0
dsh-self-restart
Let the agent restart DSH Desktop itself — detached watchdog survives the teardown, relaunches, verifies health
AI Analysis
核心用途是让智能体能够自主重启 DSH 桌面端并自动恢复会话。适合需要执行系统重启、更新或故障自愈任务的自动化场景。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alchemistwu/dsh-self-restartREADME
Read the full README ↗Usage
The agent calls the desktop_restart tool. The call never meaningfully
returns — the turn dies mid-stream. The plugin records which session asked;
after the watchdog reports HEALTHY, the next boot resumes that session and
wakes it with a followup message, so the agent continues its post-restart
verification without a user poke. Status file for manual inspection:
cat /tmp/dsh-self-restart.status