dsh-web-restart
DSH Web 插件:在侧边栏提供一键完整重启 harness 进程的按钮,支持自动页面恢复,并提供可由 Agent 调用的重启工具。
AI 分析
核心用途是实现 DSH 服务的快速重启。适合需要频繁重启服务或希望 AI 自动重启环境的开发者。注意重启会中断运行中的任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:csdjl88/dsh-web-restart說明文件
閱讀完整 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.