DeepSHPlugins
dsh-web-service-manager 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-web-service-manager

生態與開發JavaScriptMIT

在設定面板中管理 DSH Web 服務:狀態、版本、重啟、停止與一鍵更新。

3 Starswiyi 更新時間 2026-08-19
訪問 GitHub 倉庫
dsh-web-service-manager 專案預覽

專案介紹

中文

在設定面板中管理 DSH Web 服務:狀態、版本、重啟、停止與一鍵更新。

English

Manage the DSH web service from a settings panel: status, version, restart, stop, and one-click updates.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
wiyi
倉庫
wiyi/dsh-web-service-manager
GitHub Stars
3
Forks
1
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-19
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

64/ 100
維護活躍
85
文件與實用資訊
99
生態關注度
25
安裝便捷訊號
100
專案宣告訊號
100

近 23 天仍在更新;README 含完整安裝與使用說明;關注度尚低(3)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add github:wiyi/dsh-web-service-manager

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-web-service-manager

在 DeepSeek Harness 内部管理 dsh web 服务 —— 日常操作无需再开终端。Manage the dsh web service from inside DeepSeek Harness — no terminal needed for day-to-day operations.

MIT License dsh-plugin DSH 插件市场

DSH Web 服务 设置面板 | DSH web service settings panel

English | 中文


中文

功能

  • 状态面板(设置 → DSH Web 服务):运行状态、版本、端口、PID、会话运行时长。
  • 重启:先把替换实例放进独立进程会话,再退役当前进程 —— 新服务不受旧进程优雅清理(SIGTERM → 根 fiber dispose)的影响。
  • 停止:终止当前服务(面板所在的 GUI 会随之关闭)。
  • 版本检查:与 npm registry 对比当前运行版本。
  • 一键更新:发现新版本后,通过 npx 拉取最新 @deepseek-ai/dsh 并自动重启。

安装

# 从 GitHub 直接安装:
dsh plugin --profile web add github:wiyi/dsh-web-service-manager

# 发布 npm 后也可以:
dsh plugin --profile web add dsh-web-service-manager

重启一次 web 服务,然后打开 设置 → DSH Web 服务。

工作原理

宿主半提供 GET /dsh-web-manager/status、GET /dsh-web-manager/check、POST /dsh-web-manager/restart、POST /dsh-web-manager/update、POST /dsh-web-manager/stop;写操作要求同源请求。

重启与更新使用小型看门狗链:替换实例以独立进程会话(detached: true)启动,先于旧进程退役。因为 SIGTERM 会让 harness 销毁整个组合 —— 包括所有托管子进程;只有脱离进程组的替换实例能在这场清理中存活下来。

注意事项

  • 停止会关掉你正在使用的 GUI;重新启动需在终端运行 npx @deepseek-ai/dsh web。
  • 重启/更新后,等新实例接管端口,再手动刷新页面。
  • 安装插件意味着以你的权限运行第三方代码。本插件会停止、启动和更新 web 服务进程,在重要环境安装前请阅读源码。

English

Features

  • Status panel (Settings → DSH Web 服务): running state, version, port, PID, session uptime.
  • Restart: detaches a replacement instance into its own process session before retiring the current one, so the new server survives the old process's graceful teardown.
  • Stop: terminates the current service (this also closes the GUI the panel lives in).
  • Version check: compares the running version with the npm registry.
  • Update & restart: pulls the latest @deepseek-ai/dsh through npx and restarts on it.

Install

# Directly from this repo:
dsh plugin --profile web add github:wiyi/dsh-web-service-manager

# Or, once published to npm:
dsh plugin --profile web add dsh-web-service-manager

Restart the web service once, then open Settings → DSH Web 服务.

How it works

The host half serves GET /dsh-web-manager/status, GET /dsh-web-manager/check, POST /dsh-web-manager/restart, POST /dsh-web-manager/update, and POST /dsh-web-manager/stop. Mutating routes require a same-origin request.

Restart and update use a small watchdog chain: the replacement instance is spawned in its own process session (detached: true) *before* the current process is retired — on SIGTERM the harness disposes its whole composition, including every managed child process, and a detached replacement is the only child that survives that cleanup.

Notes

  • Stop ends the GUI you are using; start it again from a terminal with npx @deepseek-ai/dsh web.
  • After restart or update, refresh the page once the new instance has taken over the port.
  • Installing a plugin runs third-party code with your own permissions. This plugin stops, starts and updates the web service process; read the source before installing it anywhere important.

License

MIT

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案