alchemistwu/dsh-self-restart0

dsh-self-restart

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

AI 分析

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

パッケージ
dsh-self-restart
バージョン
0.1.0
最終更新
2026/09/02

インストール

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

ドキュメント

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