dsh-web-lifecycle
Run the following command in DeepSeek Harness:
dsh plugin install DDA-DIGITAL/dsh-web-lifecycle
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install DDA-DIGITAL/dsh-web-lifecycle in your terminal to install the plugin; the full source is available at https://github.com/DDA-DIGITAL/dsh-web-lifecycle .
About this plugin
Restarting or shutting down dsh web used to mean alt-tabbing back to a terminal, killing the process, waiting for the port to free up, and refreshing the browser. dsh-web-lifecycle drops a Restart and a Shutdown button into the sidebar footer. One click, one confirmation, and the page handles the whole cycle itself—same resolved port, same cookie, same session. You stay signed in and your open sessions come back after the reload.
Two restart paths are built in. Standalone, a coordinator in its own process session outlives the dying process, waits for the port, spawns an identical dsh web instance, health-checks it, and logs the chain. With the optional dshweb wrapper, exit code 75 triggers a loop relaunch in roughly a second. Shutdown deliberately exits 0 so no coordinator spawns and your prompt returns immediately. The plugin has zero runtime dependencies—only Node built-ins—and is completely inert when the host does not expose webServer.
Built for developers who treat dsh web as a daily workbench, need to restart or stop it several times a day, and would rather not keep switching windows back to a terminal. Once you are done for the night, one click and you are out, with nothing to clean up.
Use Cases
- Restart dsh web several times a day without alt-tabbing to a terminal
- One-click shutdown at end of day—your prompt returns with zero cleanup
- Keep browser login and open sessions alive across a same-port restart
Best For
- Developers who treat dsh web as a daily workbench and restart it often
- DSH users who prefer browser-native control over the web server
- Lightweight-plugin fans who want zero runtime dependencies and no side effects
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.