RoyougiShiki/dsh-restart-systemd

Plugin ⭐ 1 MIT automationsecurityweb-ui

> English summary. > A DeepSeek Harness WebUI restart button (systemd edition). Adds a sidebar‑footer > restart trigger next to the remote‑web‑ui phone icon plus a /restart command. > Clicking schedules systemctl --user restart dsh-web (3s later, so the browser > gets its 202 first), dups are refused (409), non‑loopback callers are refused

catalog description:DSH WebUI 重启按钮(systemd 版):侧栏一键重启 dsh-web,WSL/Linux systemd 通道 + Windows 分支,/restart 命令,会话自动续接

Install

src/
  index.ts               # host apply():串联路由 + 命令 + boot 消费/resume
  host/gate.ts           # loopback fence(照抄 dsh-aionui-panel 的 gate)
  host/restart.ts        # 调度 + 延迟 spawn + 平台分支 + flag/单飞锁
  host/recover.ts        # agent/created -> lastTurnInterrupted -> followup continue
  client/index.ts        # client apply():locale + sidebar.footer.action 注入
  client/RestartButton.tsx   # 按钮 + 确认对话框(内联样式,无需 CSS bundle)
  client/api.ts          # POST 助手 + 重连探活

Add RoyougiShiki/dsh-restart-systemd to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.