seanwhy/dsh-restart-confirm ↗★ 0
dsh-restart-confirm
DeepSeek Harness 侧边栏双重确认重启按钮,支持跨平台一键重启 DSH Web 进程并自动拉起。
AI 分析
核心用途是提供便捷的 DSH 进程重启通道。适合需要频繁调整配置并快速重启服务(含 WebUI 和后端)的用户。支持自定义重启命令或仅执行 Kill 操作。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:seanwhy/dsh-restart-confirm說明文件
閱讀完整 README ↗Configuration
Plugin config (Settings → Plugins → dsh-restart-confirm → config, or the profile manifest):
| Option | Type | Default | Meaning |
|---|---|---|---|
delaySeconds | number | 3 | Seconds after the response before the process is killed (gives the browser time to show the "restarting" state) |
relaunchDelaySeconds | number | 2 | Seconds after the kill before DSH is relaunched |
customRestartCommand | string | '' | Custom shell command used to relaunch instead of the auto-reconstructed argv |
killOnly | boolean | false | Only kill the process; never relaunch (use when an external supervisor restarts DSH) |