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. 8. 14.

설치

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

使用


## 配置(`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 用)