jcfung1122/dsh-power0

dsh-power

Power controls for the DeepSeek Harness Web GUI: shut down or restart DSH from the browser sidebar

AI 분석

核心用途是免去命令行操作,直接在浏览器中管理 DSH 进程。适合将 DSH 部署在后台、希望一键优雅关机或重启 Web 服务的用户。

패키지
dsh-power
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jcfung1122/dsh-power

用法 / Usage

悬停电源图标,选择:

  • 关闭 DSH —— 只关闭本页面并优雅停止服务,其他浏览器窗口不受影响。
  • 重启 Web UI —— 重新拉起服务并自动重新打开页面。

每一项都先弹确认,确认后才执行。

Hover the icon and pick Shut down DSH (closes this page and stops the service) or Restart Web UI (relaunches and reopens). Both ask for confirmation first.

配置 / Configuration

通常不需要任何配置。需要覆盖时写进 cordis.patch.yml

- id: power
  config:
    restartWaitMs: 7000     # 重新拉起前等待旧进程释放端口的时长(毫秒)
    restartCommand: ""      # supervisor 管理的部署可填完整重启命令
    reopenUrl: ""           # 覆盖自动推导的重开地址
默认值说明
restartWaitMs7000等待旧进程释放端口后再拉起。
restartCommand(自动)完整重启命令;默认从当前进程重建。
reopenUrl(自动)重开地址;默认 http://127.0.0.1: