FrankZhangIronly/dsh-system-control

FrankZhangIronly★ 0JavaScript最后同步: 2026-08-14

在 GitHub 打开

DSH web plugin: System menu (Restart / Shutdown) in the sidebar footer. Restart = exit 42, Shutdown = exit 0, loopback-only RPC.

README 摘要

dsh-system-control A DeepSeek Harness (DSH) web plugin that adds a System menu to the sidebar footer with Restart and Shutdown controls. Restart cycles the launcher ( dsh web exits with code 42 and is relaunched); Shutdown exits cleanly ( 0 ). Both are routed over a loopback RPC channel so non-local callers are rejected automatically. The plugin is shipped as a two-sided DSH plugin : a host (Node) half that owns the /system RPC channel and calls the existing appExit exit hook, and a browser half that renders the sidebar button + the centered modal dialog. 🌏 中文版本 / Chinese version is also available. Features - Sidebar trigger in the sidebar footer mirroring the official settings button shape (wide-bar / collapsed-circle variants). - Centered modal with two side-by-side actions: Restart service and Shutdown service . Shutdown asks for a second confirmation (auto-reverts after 4 s). - Loopback-only RPC so anyone hitting the host port from another network is blocked with 403 by DSH's existing authority check. - Ack-before-exit : the response is flushed before appExit() is invoked (80 ms timer), so the browser receives a clean acknowledgement. - Zero changes to DSH core — installed as …

在 GitHub 查看完整 README →
Skins / UIdeepseek-harnessdsh-plugindsh-websidebar

分类