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 可调用工具。
AI Analysis
核心用途是实现 DSH 服务的快速重启。适合需要频繁重启服务或希望 AI 自动重启环境的开发者。注意重启会中断运行中的任务。
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:csdjl88/dsh-web-restartREADME
Read the full README ↗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.