woyeshishen/dsh-restart-backend ↗★ 0
@woyeshishen/dsh-restart-backend
为 DeepSeek Harness Web 页面左下角添加“重启后端”按钮,一键重启 dsh 后端进程。 适合频繁重启后端的 Web 用户,默认仅允许本机触发,可配置允许远程。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:woyeshishen/dsh-restart-backendREADME
Read the full README ↗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:
| Config | Type | Default | Description |
|---|---|---|---|
allowRemoteRestart | boolean | false | Allow 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