Preface¶
In DeepSeek Harness (DSH) usage scenarios, local multi-project parallel development or remote cluster management often leads to tab clutter and state blind spots. Frequent manual switching between web pages not only affects efficiency but also makes it difficult to monitor the running progress of Agent instances across different projects in real-time.
dsh-server-hub is a persistent multi-instance switching plugin designed for the DSH Web interface. It automatically discovers instances via zero-configuration local port scanning, aggregating all local and SSH-tunneled DSH endpoints into a single workspace. It supports background hot-switching, a full-matrix status radar, and global desktop notifications.
Core Capabilities¶
Zero-Config Auto Discovery
The plugin natively probes local TCP listening ports to automatically identify other locally launched DSH instances or remote instances mapped to the local machine via SSH tunnels, requiring no tedious configuration.
Seamless Hot Switching
All instances remain mounted in the background. Switching tabs does not reload the page, preserving context, chat history, and input box drafts.
Status Radar
Provides a global Agent status view that intuitively displays the work progress, confirmation waiting states, and completion status of each instance.
Smart Browser Tab
Browser tab titles change dynamically based on Agent status (e.g., displaying spinners or waiting markers), allowing you to perceive background states without switching back to the page.
Desktop Notifications
Pushes system notifications when manual authorization is required or tasks are completed, reducing the frequency of manual checks.
Remote Agents
Once the plugin is installed on both the controller and remote nodes, you can select an authorized workspace and connect. This allows you to dispatch tasks to other instances from the controller’s chat and receive results back.
Installation & Usage¶
Install Plugin
Execute the following command on the controller or the monitored instance:
dsh plugin --profile web add github:ginkgonine/dsh-server-hub
Restart dsh web after installation.
Enable Hub Panel
Install the plugin on the main DSH instance to enable the Hub panel and smart discovery. The plugin will automatically scan local ports.
Configure Remote Instances
If managing remote servers, map the remote DSH port to the local machine via an SSH tunnel (e.g., ssh -N -L 3101:127.0.0.1:3080 user@server). The Hub will automatically discover and aggregate this remote instance.
Naming & Authorization
Name your instances in the Hub tab (e.g., Local-E-commerce-Refactor, A100-Training-Node) and grant desktop notification permissions in the toolbar.
Notes¶
Privacy
The status overview API only returns lightweight aggregated data (such as task count, pending confirmation count, etc.) and does not transmit chat history, prompts, or output logs.
Security
The status overview API only accepts Loopback GET/HEAD requests.
Compatibility
Requires DSH 0.2.x+ and Node.js ^22.19.0 || >=24.0.0.
Reverse Proxy
Do not place the status bridging endpoint behind a proxy that converts external requests into Loopback requests.