Preface¶
When developing agents with DeepSeek Harness (DSH), the toolchain often spans more than just the machine where the current window resides: Linux environments are typically hosted in WSL, builds or tests may run in virtual machines or remote hosts reachable via SSH, and there is also a set of built-in runtimes within the local desktop application. If you open separate browser tabs or launch individual WebUIs on each machine, the interface, shortcuts, and sidebar experience become fragmented. Switching between multiple DSH instances also lacks a unified entry point consistent with the desktop shell.
This article introduces the community plugin dsh-remote-desks (Maintainer: TBChaos, MIT License). It mirrors the WebUI of another DSH instance—whether on the local machine, WSL, a virtual machine, or a remote SSH host—into the desktop DSH, allowing you to manage them with a consistent interface and experience: a dropdown box at the top of the window switches target machines, while the main area displays the complete DSH running on that machine. Start, stop, pre-check, and update operations are also handled within the plugin panel. The mirrored area is DSH’s own frontend (following the remote version), while the desktop window’s shell, theme, sidebar, and shortcuts reuse the current application without creating a separate UI.
What is this¶
dsh-remote-desks is a client-side plugin for DSH. Repository: github.com/TBChaos/dsh-remote-desks. Directory page: skillhub.cn/plugins/TBChaos/dsh-remote-desks.
In one sentence: It concurrently manages various “Remote Workbench” instances (local / wsl / ssh) within the desktop DSH, embeds the WebUI of the selected instance into the main area, and switches machines and layouts via a unified control bar. Virtual machines do not require a separate kind; simply use SSH (sshd inside the VM) or a WSL2 distribution.
The README indicates the current implementation status as M0–M8 Complete: local, wsl, and ssh instances can be started, mirrored, and stopped concurrently. The panel, settings, logs, pre-checks, and container degradation chains have been integrated, and UI verification has been performed in a real browser (pnpm verify:ui). The plugin runs with the permissions of the current DSH process; please review the source code and MIT license before installing. The community directory is an independent site and has no official affiliation with DeepSeek or QuantumFactory.
Core Features¶
Unified Interface and Management Interface¶
The default is the Unified Interface (layout.mode: immersive): the DSH of the selected machine fills the main area, while the instance list, toolbar, and logs are collapsed into “Manage” on the control bar. The Management Interface is suitable for configuration, troubleshooting, and version updates. The control bar also provides “Full Window” (collapsing the official sidebar into a narrow strip so the remote UI fills the entire window) and “Reload” for the mirror container.
Three Instance Types¶
| Type | Description |
|---|---|
local |
Local DSH; the desktop version defaults to attaching to the host’s built-in runtime. The app is considered “running” upon opening, without spawning a separate process. |
wsl |
Starts DSH under an isolated profile within a specified WSL distribution. |
ssh |
Starts DSH on a remote host (including VMs) via SSH, supporting authentication configurations such as private keys. |
When switching instances, the previous one is not unloaded, allowing the connection to be maintained when switching back (the README’s pnpm verify:ui contains verification notes regarding WS persistence).
Window Top Switcher¶
Once the switcher configuration is enabled, a dropdown box lists the short labels and statuses (Running / Connected / Not Started / Error) of configured instances. On the desktop version, the switcher can be moved into the title bar area to avoid obscuring the input area of the remote interface. When nested embedding is detected within the mirrored iframe, the plugin overlay is not drawn to avoid duplicating “local” controls.
Pre-check, Start/Stop, and Logs¶
The Management Interface allows for Pre-checks (without starting processes): checking WSL distributions and node/dsh, SSH connectivity and credentials, and local attachment conditions. After starting, the status dot turns green and displays the remote port. Stop terminates the process after closing the mirror endpoint; stopping an attached local instance stops mirroring but does not close the desktop application. The log drawer displays the stdout/stderr of that instance.
Update and Rollback¶
The toolbar “Update” is available when the instance is Stopped: the default target version is the same version as the desktop app (not the npm latest tag). The default command for wsl / ssh is npm i -g @deepseek-ai/dsh@{version}; attached built-in local runtimes refuse in-plugin “Update” and must be updated via the desktop application itself. Running instances refuse updates and must be stopped first.
Installation and Activation¶
The plugin targets the desktop profile. Installation follows the README:
# Local directory / npm package / git address are all acceptable; example uses local path
dsh plugin --profile desktop add D:\code\dsh-remote-desks
# Install from GitHub:
# dsh plugin --profile desktop add github:TBChaos/dsh-remote-desks
# You can also install via the Plugins page in Desktop Settings
A complete restart of the desktop application is required after installation. The README explains: the host loads each plugin’s client bundle at startup; simply refreshing the window will not load new bundles or configurations. A restart is required after modifying plugins or configurations.
After restarting, “Remote Workbench” will appear under “Plugins” in the sidebar. If no instances are configured, write the required sections into the desktop profile’s patch configuration (Windows example below; replace the username in the path with your local one):
# File: C:\Users\<you>\.dsh\profiles\desktop\cordis.patch.yml
- id: remote-desks
config:
instances:
- id: wsl-ubuntu
kind: wsl
label: WSL · Ubuntu-24.04
distro: Ubuntu-24.04
cwd: /home/you/project
- id: local-dev
kind: local
label: Local
- id: build-server
kind: ssh
label: Build Server
host: 10.0.0.8
username: deploy
cwd: /srv/app
auth: { method: privateKey, privateKeyPath: C:\Users\you\.ssh\id_ed25519 }
switcher:
enabled: true
corner: top-center
offsetX: 56
layout:
mode: immersive
collapseSidebar: false
After modifying the configuration, perform a complete restart again.
Typical Usage¶
Daily Workflow¶
- Open “Remote Workbench” in the sidebar, or directly select an instance using the dropdown box at the top of the window.
- Click “Pre-check” in the Management Interface to identify missing dependencies marked in red.
- Click “Start” (local attached items do not need starting); the complete DSH on that machine appears in the main area. You can conduct normal sessions, read/write, and run commands within the mirror area, with operations actually occurring in the target environment.
- Use the dropdown box to switch between instances or run multiple instances in parallel; click “Manage” when the list and toolbar are needed.
- Expand logs for troubleshooting; click “Stop” to release ports when not in use. Optionally, use “Open in Browser” to access the mirror address via the system browser.
Virtual Machine Example¶
VMs use kind: ssh with the same fields as remote hosts:
- id: vm-ubuntu
kind: ssh
label: VM Ubuntu
host: 192.168.64.7
username: dev
cwd: /srv/app
auth: { method: privateKey, privateKeyPath: C:\Users\you\.ssh\id_ed25519 }
The dropdown box will display a label like “SSH · VM Ubuntu”.
Independent Local Process (Non-attached)¶
If you need to start an independent DSH process on the local machine instead of attaching to the desktop built-in runtime, set attach: false on the local instance; attach: true forces attachment to the host web port and process token.
Use Cases and Notes¶
Who it is for: Developers who frequently switch between desktop DSH and WSL / remote Linux / virtual machines, yet want the main area to always present “the real DSH interface on that specific machine”; those who need to pre-check, start/stop, view logs, and align remote DSH versions with the desktop version in one place.
Permissions and Security: SSH and WSL operations depend on locally configured credentials and DSH process permissions; please fill in cwd, host, private key paths, etc., according to your environment, and do not commit sensitive information to the repository.
Platform and Paths: The README examples primarily use Windows desktop paths (cordis.patch.yml, privateKeyPath); Linux desktop users need to adjust according to their local DSH profile directory and path conventions. Field semantics remain consistent with the README.
Development and Verification: The source repository provides pnpm verify (type checking, build, and smoke tests), pnpm verify:ui, and other scripts; after modifying plugin code, a complete restart of the desktop application is still required before testing client behavior.
Conclusion¶
dsh-remote-desks consolidates “multiple machines and multiple DSH instances” into a single panel within the desktop version: the same shell and shortcuts, with the main area mirroring the remote WebUI, and a single control bar at the top for switching and full-window mode. If you are looking for client-side remote workbench capabilities in the DSH plugin ecosystem, you can learn more from the summary on the directory page and follow the README on GitHub for installation and configuration.
- Directory Page: https://www.skillhub.cn/plugins/TBChaos/dsh-remote-desks
- GitHub: https://github.com/TBChaos/dsh-remote-desks