dsh-process-control
Run the following command in DeepSeek Harness:
dsh plugin install baicaibucai1/dsh-process-control
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install baicaibucai1/dsh-process-control inside DeepSeek Harness to install; the source lives at https://github.com/baicaibucai1/dsh-process-control .
About this plugin
DSH typically starts as a hidden window or a background service — the host process runs quietly with no visible console and no obvious way to restart or stop it. dsh-process-control collapses those three operations (restart, refresh, terminate) into a single button beside the sidebar settings row, so you can manage the host lifecycle right from the browser without switching to a terminal.
Expanding the button reveals a three-item menu. Restart relaunches the host from its exact original boot invocation and waits until the listening port is both released and re-serving before responding. Refresh simply reloads the current page. Terminate sends SIGTERM with a hard-exit fallback. Both destructive actions require a second click to confirm. The menu header also surfaces live host facts: PID, serving port, whether the boot command could be resolved, and the plugin version.
The plugin ships with zero build steps and zero runtime dependencies — plain Node ESM on the host side and directly evaluated browser code on the client side, requiring only Node 20 or later. Every route guards against anything that is not a same-origin loopback request: the peer must be loopback, no forwarding headers are tolerated, and Origin must match Host. The button is anchored to the measured position of the settings row and tracks layout changes automatically; if the anchor cannot be measured, the plugin renders nothing rather than guess. It is built for anyone running DSH in hidden or background mode who wants a UI-first way to control the host process.
Use Cases
- Restarting the DSH host from the browser after a hidden-window launch
- Quickly terminating a background DSH service without opening a terminal
- Keeping the process-control button anchored correctly while resizing the window
Best For
- Desktop users running DSH as a hidden window or background service
- Admins who prefer managing the host lifecycle from the UI over terminal commands
- Users seeking a zero-build, zero-dependency, install-and-go plugin
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.