dsh-web-restart: Ensure/Restart DSH Web Service

The DeepSeek Harness plugin `dsh-web-restart` is designed to address the “suicide restart” issue caused by Web services running within the Agent process tree. It uses WMI on Windows to create a standalone process, or detached mode on non-Windows platforms, ensuring that the service automatically recovers when it crashes or can be restarted via a flag. The plugin supports `ensure` and `rotate` modes and requires DSH version 0.1.0-rc.6 or later.

Read More
dsh-web-restart: Restart the DSH Web Service from the Interface

The `dsh-web-restart` plugin provides a service restart entry point in the UI. It uses an independent supervisor process to stop and start the host process, resolving the need for manual restarts after upgrades. The plugin supports status monitoring, restart confirmation, and crash self-healing, and can automatically restore interrupted sessions when enabled in the configuration. Installation requires deploying a supervisor script and configuring launchd to support true restarts.

Read More
dsh-web-restart: Add restart button to DSH WebUI, configure launchd auto-restart

dsh-web-restart is a DSH plugin maintained by QIN-SMART (MIT, v0.1.0) designed to address the inconvenience of restarting the WebUI. It consists of two complementary components: the first is the "⇄ Restart DSH" button in the WebUI sidebar, which features a two-step confirmation to prevent accidental clicks. Upon clicking, it triggers the process exit via a same-origin HTTP endpoint, displays a page overlay, and polls every 2 seconds, automatically refreshing once the service is restored; the second is a macOS launchd LaunchAgent daemon that uses KeepAlive to automatically relaunch the process after an exit or crash, with support for login-at-startup. There are two exit modes: the default "exit" mode, which delegates the restart to launchd; and the "exec" mode, which spawns a new instance within the same process, suitable for scenarios without a daemon or manual execution. The installation method is...

Read More
dsh-web-restart: Sidebar plugin for one-click full restart of DSH Web

dsh-web-restart is a DSH Web plugin designed to address the difficulty of performing a complete restart when running `dsh web` in a foreground terminal. The plugin provides a one-click restart button in the sidebar and a `dsh_restart` tool for Agent invocation, supporting both Chinese and English interfaces. Its core workflow includes: terminating the current `dsh web` process; using a startup guard to wait for the old process to exit and the port to become free, thereby avoiding port conflicts; and finally relaunching the service with original command-line arguments while forcibly adding the `--no-open` parameter to prevent new browser windows from popping up. During the restart, the page does not refresh; the UI is restored in the same tab after WebSocket automatically reconnects. Additionally, it features a single-execution protection mechanism to prevent concurrent restarts. This plugin is suitable for environments without systemd, Docker, or other supervisors.

Read More
dsh-web-restart: One-Click Restart Button for DeepSeek Harness Web UI

dsh-web-restart is an MIT-licensed plugin for the DeepSeek Harness Web UI, designed to move the restart action of the `dsh web` process from the terminal to the web interface. The plugin adds a circular restart button next to Settings at the bottom of the sidebar, allowing users to restart the process with a single click without requiring a confirmation. As a bundle-layer plugin, it persists across DSH restarts and can display service health status by polling the `/dsh-health` endpoint every 5 seconds. Installation can be performed via the `dsh plugin` command or by manually editing the configuration files under `~/.dsh/profiles/web`, and a restart is required after installation to load the bundle layer. In typical usage, restarts...

Read More