alchemistwu/dsh-self-restart0

dsh-self-restart

允许智能体自行重启 DSH Desktop 的插件,通过独立的看门狗程序在关闭后重新启动并验证健康状态。

AI 分析

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

套件
dsh-self-restart
版本
0.1.0
最近更新
2026年9月2日

安裝

$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