DDA-DIGITAL/dsh-web-lifecycle0

dsh-web-lifecycle

DSH Web 生命周期管理插件。在侧边栏底部提供重启和关机按钮,支持无感重新拉起服务使网页自动重连,或彻底关闭服务并关闭标签页。

AI 分析

核心用途是方便用户直接在网页端控制 DSH 服务端的运行状态。适合远程部署 DSH、不便频繁操作终端命令的用户。支持在配置文件中开启二次确认以防误触。

套件
dsh-web-lifecycle
版本
0.2.0
授權
MIT
最近更新
2026年9月10日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DDA-DIGITAL/dsh-web-lifecycle

Configuration

Defaults live in the plugin row (cordis.patch.yml) and are re-applied by the plugin itself:

- id: web-lifecycle
  config:
    confirm: true          # show the confirmation popover before either action
    allowShutdown: true    # false hides the Shutdown row entirely
    healthTimeoutMs: 30000 # how long a detached restart waits for the new server
    logToConsole: true     # log the plugin's decisions into the dsh web log

Override the row by id in $DSH_HOME/profiles/web/cordis.patch.yml — that file is watched live, so the change applies without a restart.