alchemistwu/dsh-self-restart0

dsh-self-restart

Let the agent restart DSH Desktop itself — detached watchdog survives the teardown, relaunches, verifies health

AI Analysis

核心用途是让智能体能够自主重启 DSH 桌面端并自动恢复会话。适合需要执行系统重启、更新或故障自愈任务的自动化场景。

Package
dsh-self-restart
Version
0.1.0
Last updated
Sep 2, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alchemistwu/dsh-self-restart

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