LnsiAxe/dsh-web-restart ↗★ 0

@lnsiaxe/dsh-web-restart

Ensure or rotate the DSH web server (detached) when this bundle is loaded in a profile 适合需在服务挂掉后自动复活或轮换 Web 服务的用户,需配置端口与 ensure/rotate 模式。

パッケージ
@lnsiaxe/dsh-web-restart
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LnsiAxe/dsh-web-restart

ドキュメント

README 全文を読む ↗

使用


## 配置(`cordis.patch.yml`)

```yaml
- insert:
    - id: web-restart
      name: '@lnsiaxe/dsh-web-restart'
      config:
        port: 3080        # web 服务端口
        mode: ensure      # ensure | rotate
        # workspace: C:\Users\\my-workspace  # 可选,默认取进程 cwd
        # gitDir: C:\Users\\git\cmd  # 可选,默认 ~\git\cmd(给 side-panel 的 git 用)