AI Agent Hub
Back to plugins
🖥️

dsh-header-controls

Client Updated 2026.09.07

Run the following command in DeepSeek Harness:

dsh plugin install kgwdonkey/dsh-header-controls

Paste the following prompt into your AI chat to install this plugin:

Clone the repository from https://github.com/kgwdonkey/dsh-header-controls, link it into your dsh profile node_modules, register it in cordis.patch.yml, and restart DeepSeek Harness to activate the Restart and Exit header buttons.

About this plugin

The DeepSeek Harness web conversation page used to offer no in-browser way to restart or shut down the service. Every time you needed a fresh start you had to switch to a terminal, kill the process, and relaunch it by hand. dsh-header-controls injects a pair of capsule buttons, Restart and Exit, right next to the Session log so both actions are one click away without ever leaving the page.

Clicking Restart triggers a graceful host-side shutdown. A zero-dependency, pure-Node relaunch helper then takes over: it reads launcher.config.json, clears any lingering process through port-level checks, respawns the server according to the saved configuration, and polls until the listening port is ready. The browser tab auto-refreshes the moment the service comes back, so there is no new tab to open, no PowerShell to invoke, and not a single third-party package to install. The Exit button uses a two-step confirmation pattern: the first click turns the capsule red and arms the action; only a second click actually terminates the dsh process, which makes accidental shutdowns very unlikely. Host-side routes are further guarded by a loopback whitelist combined with a custom x-dsh-header-controls request header, adding a lightweight CSRF defence layer on top of the network-level restriction.

If you work with the DeepSeek Harness web profile day in, day out and want desktop-grade service controls sitting right in the conversation header while keeping the footprint minimal and dependency-free, this plugin is built for exactly that workflow. It also detects the maid-atelier skin attribute and automatically adopts a deep-sea-blue and soft-gold border palette, so the buttons blend naturally into your chosen theme without any extra configuration.

Use Cases

  • Quickly restarting a misbehaving service mid-conversation without leaving the browser
  • Safely shutting down the dsh process after an extended working session
  • Maintaining visual consistency with the maid-atelier skin theme across header controls

Best For

  • Daily users of the DeepSeek Harness web profile
  • Developers who prefer lightweight, zero-dependency plugin implementations
  • Operators who value accidental-click guards and CSRF-safe host routes