xingyingyuzhui/dsh-restart ↗★ 0
dsh-restart
Restart the DeepSeek Harness Web host from Settings. 设置页左栏底部重启 Web 服务。
AI Analysis
核心用途是方便用户在修改配置或安装插件后,直接在网页端重启 Web 服务。适合频繁调整插件、不希望手动在终端输入命令重启的开发者或用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xingyingyuzhui/dsh-restartREADME
Read the full README ↗dsh-restart · 重启 Web
设置页左侧导航最后一项 重启。确认后重启当前 dsh web。
有监督进程(macOS LaunchAgent KeepAlive、systemd)时只退出,由它拉起。没有监督时先拉起一份新进程再退出。可用 DSH_RESTART=exit 或 DSH_RESTART=respawn 强制。
安装
dsh plugin --profile web add github:xingyingyuzhui/dsh-restart
装完重启一次 dsh web。之后在 设置 → 重启。
不要对本插件执行 GET 重启。路由是 POST /dsh-restart/now。
本地开发:
dsh plugin --profile web add link:/abs/path/to/dsh-restart
改源码后执行 npm test / npm run build,不要手改生成的 client.js。
卸载
dsh plugin --profile web remove dsh-restart
License
MIT