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.
AI 分析
核心用途是方便用户直接在网页端控制 DSH 服务端的运行状态。适合远程部署 DSH、不便频繁操作终端命令的用户。支持在配置文件中开启二次确认以防误触。
インストール
$
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.