Preface¶
When performing long tasks in DeepSeek Harness (DSH), the common practice is to install “Remote Execution” type plugins: the agent, plugin ecosystem, and model calls remain on the local machine, while only commands and file I/O are dispatched via SSH or WSL. Closing the local GUI often stops the session; DSH plugins installed on the remote machine are useless to the local agent.
If you want the agent loop, tools, and sessions to run remotely, while keeping real API keys local, and the form to be closer to VS Code Remote-SSH or Zed Remote—but what is moved over is the DSH runtime itself, rather than a string of remote commands—you should look at the client plugin dsh-remote-cr released by the maintainer CodingRookie98 (GitHub: CodingRookie98/dsh-remote-cr, Community Directory: skillhub entry). The project self-positions as Type B (Host Remote), deliberately distinguishing its architecture from the commonly seen Type A (Remote Execution) in the market.
What is this¶
dsh-remote-cr is a remote development plugin for DSH: it moves the entire host to the remote (WSL2 or SSH), keeping a single native GUI and credentials on the local machine; the remote side is responsible for the agent loop, plugins, and sessions. The license is MIT, the version in the current documentation is v0.3.0, the package is private: true, and it is distributed via GitHub tags or local links, not via npm publish.
The DSH ecosystem philosophy is “everything is a plugin”; the community directory site has no official affiliation with DeepSeek or Huansuan (High-Flyer); this article is based solely on the public information in the repository README and package.json.
Differences from “Remote Execution” Plugins¶
Below is a comparison table from the README summarizing the differences (details are subject to the repository):
| Dimension | Type A: Remote Execution | Type B: Host Remote (dsh-remote-cr) |
|---|---|---|
| agent loop / tools / sessions | Local | Remote |
| Can remote-installed DSH plugins be used by the agent? | No | Yes |
| Does the task continue after closing the local GUI? | No | Yes (with keepAlive, reconnection reuses the same instance) |
| Where are real API keys stored? | Local | Local (remote holds a placeholder token, calls are replaced by returning to the local machine via reverse tunnel) |
Core Features¶
Workspace Entry and “Teleport” Panel¶
The plugin replaces the official directoryFlow (sidebar and session empty state entry points), maintaining a single native GUI. After installing and restarting DSH Web or Desktop, the sidebar will appear with “Teleport”, used for connection status, workspace projection, and sessions.
Add Workspace is a modal dual-pane: the left pane selects the source (local machine, WSL distribution, SSH remote; Docker is grayed out in the interface and marked as a M5 plan item in the docs), and the right pane is the directory browser. It supports breadcrumbs, editable paths, parent directory, and refresh; keyboard navigation is ↑ ↓ to move, Enter to enter, Backspace to go up a level, / to jump to the path box, and Esc to close. Unavailable sources are grayed out and state the reason; some scenarios provide copyable fix commands (e.g., wsl --install).
WSL¶
Wake up before browsing: wsl.exe -d <distro> --exec true is executed to probe before entering the directory; if it fails, it stays in place and displays a diagnostic card (error code, description, Error code: original text, next steps and copyable report; cold start timeout is categorized separately as wsl/timeout). The wake-up process can be aborted by the client close → host close → terminating wsl.exe, avoiding leaving orphan processes after a timeout.
SSH and Projection¶
After filling in the target in the panel and connecting, the remote registers the workspace, and the session is projected back to the local list, sharing the same view as local workspaces. On disconnection, it backs off with 2s / 4s / 8s delays once each, up to a maximum of 2 minutes for automatic reconnection; you can explicitly “End Remote” to reclaim remote processes. It supports importing existing remote workspaces: list importable items → select → register.
Credentials and Error Handling¶
Credentials do not leave the local machine: the remote only holds a placeholder token. Failures are uniformly structured responses (code, detail, nextActions), are copyable and retryable, and do not silently degrade.
Environment and Requirements¶
| Component | Support Scope |
|---|---|
| DSH Host | >=0.2.1-rc.0 <0.3.0 (package.json#engines.dsh) |
| Node | ^22.19.0 or >=24.0.0 |
| Local Machine | Windows 10/11, WSL2 or OpenSSH client |
| Remote Machine | Linux (POSIX shell + node; first access requires dsh installed on the remote, which can be done by the installer) |
The plugin runs with the permissions of the current DSH process; please review the source code and license yourself before installing.
Installation and Enablement¶
The fixed version installation commands given in the README are as follows:
# Fixed version (recommended)
dsh plugin --profile web add 'github:CodingRookie98/dsh-remote-cr#v0.3.0'
For development, you can use a local link (example paths are based on the README, please change them to your local path):
dsh plugin --profile web add 'dsh-remote-cr@link:D:/workspace/projects/dsh-remote-cr'
After installation, restart dsh web or DSH Desktop; the “Teleport” should appear in the sidebar.
Typical Usage¶
Follow the three-step operations in the README:
- Connect to remote: Open the “Teleport” panel → fill in SSH target or select WSL distribution → connect. The first connection shows staged guidance progress and can be canceled.
- Add workspace: Click the official “Add workspace”, or the add entry in the panel → select source in the left pane → select directory in the right pane → “Add this directory”.
- Run long tasks: The session runs on the remote; the task continues after closing the local window; when reconnecting, the same instance is reused and the session ID remains unchanged.
The working principle can be summarized as: the local GUI connects to the local “host half” via projection and control, and then connects to the remote DSH host via SSH tunnel or WSL call; credentials proxy back to the local machine, while the agent loop, plugins, and sessions execute remotely. The repository has four entry points: local (host half), client (browser half), companion (remote companion), and installer (installer). The host half provides /teleport/api/* routes via a local loopback.
Applicable Scenarios and Notes¶
Who is it for: Primarily Windows users of DSH who want to leverage the compute power and file system of WSL2 or Linux SSH hosts; need remote-installed plugins to be usable by the agent; or need long tasks to run on the remote even after closing the window, with sessions not interrupted upon reconnection.
Known Limitations (excerpted from README): Docker entry is not yet implemented; browser side is only validated on Chrome; screen reader accessibility paths are not validated; timing distribution of the success path on real machines has not been statistically collected.
Conclusion¶
dsh-remote-cr turns DSH into a Type B remote development form where the host is remote and the GUI and keys are local, differing from the Type A plugin path which only dispatches commands. To install or view design documentation, you can enter from the community directory page skillhub.cn/plugins/CodingRookie98/dsh-remote-cr, and the full description and ADR are in the GitHub repository.