DDA-DIGITAL/dsh-web-lifecycle0

dsh-web-lifecycle

DSH web plugin: Restart and Shutdown buttons in the sidebar footer. Restart relaunches the `dsh web` server on the same host/port so the tab reconnects itself; Shutdown stops the server to free the terminal and then closes the browser tab.

包名
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.