DeepSeek Harness plugin

dsh-restart-backend

为 DeepSeek Harness Web 页面左下角添加“重启后端”按钮,一键重启 dsh 后端进程。

Jump to install

Source facts

Repository
woyeshishen/dsh-restart-backend
Latest update
Aug 16, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/woyeshishen/dsh-restart-backend
Plugin: dsh-restart-backend
Author: woyeshishen

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-restart-backend

![npm version](https://www.npmjs.com/package/@woyeshishen/dsh-restart-backend) ![license](LICENSE)

中文 | 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 restartRestart the backend from the Web UI without opening a terminal
🧱 Watchdog restartDetached process survives the old backend exiting, then relaunches with the same args
🔒 Loopback-safe by defaultOnly 127.0.0.1 / localhost can trigger a restart unless remote restart is enabled
📦 Install once, keep workingAuto-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:

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

Requirements

License

[Apache-2.0](LICENSE)