RoyougiShiki/dsh-restart-systemd

插件 ⭐ 1 MIT automationsecurityweb-ui

DSH WebUI Restart Button (systemd edition): One-click restart of dsh-web from the sidebar, WSL/Linux systemd channel + Windows branch, /restart command, automatic session resumption.

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

安装

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 助手 + 重连探活

RoyougiShiki/dsh-restart-systemd 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。