AI Agent Hub
Back to plugins
🧩

dsh-web-close

admin-security Updated 2026.09.14

Run the following command in DeepSeek Harness:

dsh plugin install Aclguh/dsh-web-close

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

Run dsh plugin install Aclguh/dsh-web-close in your terminal to install; the source repository is at https://github.com/Aclguh/dsh-web-close — restart dsh web and refresh the browser after installation.

About this plugin

The DSH web interface is feature-rich, yet shutting down a running DSH process still means switching back to a terminal, hunting for the right one, and typing the kill command—especially tedious when you have several tabs open. dsh-web-close puts a persistent, semi-transparent red power button right on the page so you can end the current DSH session gracefully without ever leaving the browser.

The button is freely draggable; once you release it, its coordinates are stored in localStorage so the position survives a page refresh. Clicking it opens a center-of-viewport confirmation dialog that shows the target process PID and address. On confirm, DSH follows its own bounded graceful-shutdown chain (appExit, then SIGINT, then process.exit as a fallback), disposing the entire plugin tree before exiting so no plugin cleanup is skipped. After shutdown completes, the plugin also attempts to close only the current tab—it never touches other browser windows or processes.

The plugin ships with zero build steps and zero runtime dependencies. Behaviour is identical on Windows, macOS, and Linux; the only requirement is a working dsh web. It is built for developers who work primarily through the DSH web interface and want a single click to stop DSH gracefully without disturbing any other tabs or terminal sessions.

Use Cases

  • Ending a running DSH session directly from the browser without switching to a terminal
  • Quickly locating and closing a specific DSH tab among multiple open pages without disturbing others
  • Shutting down DSH gracefully while guaranteeing every plugin disposer in the tree runs to completion

Best For

  • Developers who do most of their daily work through the DSH web interface
  • Operators who frequently start and stop DSH and want to minimize terminal context-switching
  • Users who need a one-click graceful shutdown without disturbing other browser windows