dsh-restart-backend
Manifest validAdd a "Restart Backend" button to the bottom-left corner of the DeepSeek Harness Web page, enabling one-click restart of the dsh backend process.
dsh-restart-backend
中文 | English
Adds a Restart Backend button to the bottom-left of the DeepSeek Harness (DSH) Web sidebar. Click it to restart the dsh web backend process in one step.
When the button is clicked, the Host side spawns a detached watchdog that waits for the current dsh web process to exit and release its port, then starts a fresh dsh web process with the same startup arguments. The old process exits gracefully through ctx.appExit.
Features
| 🔄 One-click restart | Restart the backend from the Web UI without opening a terminal |
| 🧱 Watchdog restart | Detached process survives the old backend exiting, then relaunches with the same args |
| 🔒 Loopback-safe by default | Only 127.0.0.1 / localhost can trigger a restart unless remote restart is enabled |
| 📦 Install once, keep working | Auto-loads at DSH startup, survives restarts |
Install
One-liner (recommended)
Windows (PowerShell)
irm https://raw.githubusercontent.com/woyeshishen/dsh-restart-backend/main/scripts/install.ps1 | iex
macOS / Linux
bash <(curl -fsSL https://raw.githubusercontent.com/woyeshishen/dsh-restart-backend/main/scripts/install.sh)
dsh plugin command
From npm
dsh plugin --profile web add @woyeshishen/dsh-restart-backend
From GitHub
dsh plugin --profile web add github:woyeshishen/dsh-restart-backend
After install, the plugin auto-mounts into the profile; restart DSH (or hard-refresh the page) to activate.
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
Requirements
License
Comments
Loading…
Similar plugins
by zhouchengke2046
Independent one-click restart for DeepSeek Harness web (Settings page). · 独立的 DSH Web 一键重启插件。
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-restartby csuwzw
一键重启 DeepSeek Harness 的插件:标题栏按钮,两次点击完成重启,让新装的插件立即生效。One-click restart for DeepSeek Harness.
★ 3
↓ 259/wk
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-restartby PPsz-qqq
DeepSeek Harness plugin: one-click restart button in the top-right of the session header (Windows desktop + dsh web). 一键重启 DeepSeek Harness 客户端。
★ 5
↓ 50/wk
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-restart-buttonby chenkui-luo
A Restart button for DeepSeek Harness Settings: replaces the dsh web process serving the page, then reconnects the page by itself.
★ 1
MIT
JavaScript
Oct 12, 2026
dsh plugin --profile web add dsh-plugin-restartby Towzai
DSH 应用内整体重启插件
★ 0
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-restartby StabCut
DSH Desktop sidebar restart button: orderly relaunch of DSH Desktop from the sidebar settings row (based on desktopActions.requestRestart).
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-plugin-restart-desktop