dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DSH Web 设置页的服务控制面板:实时宿主信息(PID、版本、运行时长、内存/CPU 趋势、活跃会话)、npm 更新提醒,以及带确认的优雅停止——任务运行时发出警告,也可等待任务结束后自动停止。
English | 中文
A "Service" section for DeepSeek Harness (DSH) Web settings: live service info plus a confirm-guarded graceful stop button — no more orphaned background processes.
kill <pid> from a terminal--dsw-* tokens>= 0.1.2-rc.1 (verified on 0.1.2-rc.1)platform: web)Option 1 (recommended) — npm:
dsh plugin --profile web add dsh-stop-service
Option 2 — GitHub direct:
dsh plugin --profile web add github:KhaosGx/dsh-stop-service
Option 3 — clone and link (for development):
git clone https://github.com/KhaosGx/dsh-stop-service.git
cd dsh-stop-service
dsh plugin --profile web add link:$(pwd)
Restart dsh web after installing, then find the panel under Settings → Service.
| File | Role |
|---|---|
lib/index.js | Host side: three loopback-only routes — GET /health (liveness), GET /info (service and profile info), POST /stop (acknowledge, then SIGTERM after 300ms) |
lib/client.js | Browser side: registers the settings section via the official settings.section slot; polls /info for the info panel and sparklines, queries npm dist-tags directly for the update banner |
cordis.patch.yml | Bundle self-registration (dsh.bundle.patch) |
X-Forwarded-For is never trusted, everything else gets 403 forbidden: loopback-onlystop is POST-only; the action is equivalent to a terminal kill with no extra capabilities and no persistence; the host process makes no outbound network requests (update checks happen in the browser)The loopback request fence is adapted from dsh-client-ui-skill-explorer by zhu1090093659/dsh-web (BSD 3-Clause, © 2026 zhu1090093659); see the third-party notice in LICENSE.
MIT © 2026 KhaosGx