DDA-DIGITAL/dsh-web-lifecycle ↗★ 0
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.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DDA-DIGITAL/dsh-web-lifecycle说明文档
阅读完整 README ↗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.