DeepSeek Harness plugin

dsh-restart-key

One-click restart for the dsh web profile / 一键重启 dsh web,便于新增插件后快速生效。

Jump to install

Source facts

Repository
TaNgent-Owl/dsh-restart-key
Latest update
Aug 18, 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-21

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/TaNgent-Owl/dsh-restart-key
Plugin: dsh-restart-key
Author: TaNgent-Owl

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-key

> 中文说明

A dsh plugin that adds a one-click restart button to the dsh web profile. It is especially handy when you install a new plugin and want the web process to pick it up immediately.

The button appears directly below Settings → General → Busy Enter key behavior. It shows a description on the left and a Restart button on the right. Clicking it opens a confirmation dialog; restart only runs after you confirm. Cancelling does nothing.

![Example](example.png)

Features

  • Adds a native-looking row to the dsh General settings section.
  • Matches dsh web's design language using the same CSS tokens and UI primitives.
  • Shows a secondary confirmation dialog before doing anything.
  • Restarts the current dsh web process with the same command line, working directory and environment.
  • Polls the new process and automatically reloads the page once it is ready.
  • Web profile only; the host half stays inactive outside dsh web / dsh --profile web.

Install

dsh plugin --profile web add link:/absolute/path/to/dsh-restart-key

Or from this repository:

dsh plugin --profile web add github:TaNgent-Owl/dsh-restart-key

After installation, restart dsh web once manually so the plugin is loaded:

dsh web

Then use the Restart button in Settings → General whenever you need a quick restart.

How it works

1. The host plugin registers two loopback routes: - GET /dsh-restart-key/status - POST /dsh-restart-key/restart 2. After confirmation, the client calls the restart endpoint. 3. The host starts a small supervisor process, then asks dsh's own appExit seam to shut the tree down gracefully. 4. The supervisor waits until the old process is really gone (with a bounded force-kill fallback), then re-runs the exact original dsh web command. 5. The client polls the status route until it sees a new process id, then reloads the page.

Files

lib/index.js        Host half: routes + restart scheduling
lib/supervisor.cjs  Restart supervisor
lib/client.js       Browser half: settings row + confirmation dialog
cordis.patch.yml    dsh bundle patch

License

MIT