woyeshishen/dsh-restart-backend ↗★ 0

@woyeshishen/dsh-restart-backend

在 Web 页面左下角添加重启后端按钮,一键重启 dsh 后端进程。 适合频繁重启后端的 Web 用户,默认仅允许本机触发,可配置允许远程。

套件
@woyeshishen/dsh-restart-backend
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
1.0.0
授權
Apache-2.0
最近更新
2026年8月16日

安裝

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

Usage

Once installed, open the DSH Web page. A circular ↻ Restart Backend button appears at the bottom-left of the sidebar.

Click it when you need to restart the backend. The page may disconnect briefly; after the backend comes back up, refresh the page if needed.

Configuration

The plugin exposes one optional setting:

ConfigTypeDefaultDescription
allowRemoteRestartbooleanfalseAllow non-loopback/trusted-host sources to trigger a restart.

To enable remote restart, add a config block in your cordis.patch.yml:

- insert:
    - id: restart-backend
      name: '@woyeshishen/dsh-restart-backend'
      config:
        allowRemoteRestart: true