csdjl88/dsh-web-restart0

dsh-web-restart

DSH web plugin: one-click full process restart of the harness from the sidebar — terminates the current `dsh web` process and relaunches the identical command via a startup guard (no daemon required), with automatic page recovery and an agent-callable restart tool. DSH Web 插件:侧边栏一键完整重启 harness —— 结束当前 `dsh web` 进程并以相同命令经启动守卫重新拉起(无需守护进程),页面自动恢复,并提供 agent 可调用工具。

包名
dsh-web-restart
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

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

Usage

Web button

Click "Restart DSH" at the bottom of the sidebar. The button shows "Restarting…" and polls automatically; the page does not reload — DSH's WebSocket auto-reconnect restores the UI in the same session tab (no new tab). If the fresh process is not ready within 30 seconds, an error is shown (check the terminal running dsh).

Agent tool

Just ask "restart DSH" in a conversation (tool dsh_restart, optional reason argument). Note: a restart interrupts all running agent tasks and background jobs.