yoggu/dsh-restart ↗★ 0

dsh-restart

DeepSeek Harness plugin: a /dsh-restart command that restarts the harness's own systemd user unit after the reply has reached the browser. 适合需要远程或在对话中快速重启、重载系统服务的系统管理员。

Package
dsh-restart
Compatibility
Unverified
Harness peer range
^0.1.5-rc.2
Cordis peer range
^4.0.2
Version
0.1.1
License
MIT
Last updated
Sep 26, 2026

Other repositories with this package name

Install

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

Usage

/dsh-restart       # configured delay (default: 1 second)
/dsh-restart 10    # restart in 10 seconds

The Plugins → Restart page configures mode (auto, unit, exec), systemd unit, delaySeconds (1–60), and execStdio. auto uses its own systemd unit when detected, otherwise starts a successor process. The running turn is interrupted and the web page reconnects afterward. Only trusted users with access to the DSH command surface should be able to invoke it.