Preface¶
When running DeepSeek Harness (DSH) locally, the workspace, plugins, and model configurations are usually tied to a single workstation. Common practices after leaving the desk involve restarting the project on another device or relying on intranet penetration to expose local ports to the public network. The former lacks session continuity, while the latter often requires maintaining forwarding bandwidth, and general-purpose TCP relays cannot directly reuse Harness’s native workspace and toolchain.
Below introduces the community plugin remote-session-plugin (maintainer gaolin89898). It adds Remote capabilities to a Harness instance on the workstation, allowing you to return to the same Workspace via an encrypted link from Web, another Desktop DSH, or a mobile client, without needing to listen for public network ports on the host machine. This project is independently maintained after a fork from liguobao/ds-harness-remote; current npm version is 0.6.4, license MIT.
What is it¶
remote-session-plugin is an npm plugin for DeepSeek Harness, positioning itself as: retaining the Harness process and workspace on the Host machine, while the client switches the interface and API to the selected Host via an authenticated end-to-end encrypted channel. Effectively, it’s like “opening the Remote sidebar locally,” rather than maintaining a separate remote desktop UI.
Connection coordination can rely on the project’s self-hosted Remote Server (in the repository apps/server), or build a minimal Server yourself; application traffic is encrypted on the Client side and can only be decrypted by the selected Host.
Core Features¶
Remote Harness Workspace¶
- Connect from another device (Web, PC, mobile) to local Harness: DSH is prioritized, and the README also explains that CodeX, Cursor, Antigravity, and others can use the same set of Remote capabilities.
- The Harness host only makes outbound connections; no public network IP or port forwarding is required.
- Supports creating new workspaces, model configurations, and switching conversation models; multiple clients can connect to the same Host simultaneously, with RPC and data streams isolated per connection.
- The sidebar provides workspace files, read-only previews, remote terminals, and authorized local development service previews.
Network and Encryption¶
- Path negotiation order is
LAN -> P2P -> TURN -> Relay; it degrades to an encrypted WebSocket Relay if WebRTC is unavailable. - Uses
Noise_IK_25519_ChaChaPoly_SHA256by default; connections are verified via account membership and device identity keys. The server can read coordination and online status metadata but cannot read Prompts, tool outputs, Workspace paths, or remote file contents.
Remote Tools and ACP Workspace (Optional)¶
remote_*class tools can be injected into the session (enabled by default, adjustable in Remote detailed settings) for discovering hosts and workspaces, managing sessions, reading history, waiting for execution, interrupting, and transferring approved files. See Remote Tools Documentation in the repository.- Experimental ACP Workspace: Starts an ACP-enabled Agent on the Host, passing Prompts and streaming replies through the plugin channel. Current documentation lists supported integrations including Codex, Cursor, Antigravity, Pi, OpenCode, Claude, Hermes, etc. See Agent Workspace Integration Guide for configuration.
Supported Clients¶
| Client | Description |
|---|---|
| DSH Desktop Plugin | Install remote-session-plugin@0.6.4 and use from the Remote entry in the sidebar |
| Web | https://dsh.gaolin.ink, reuses Harness’s native interface |
| DSH Go | Android client ccch1mneyyy/dsh-go, with built-in plugin protocol |
| Linux Server Host | Use scripts/install.sh in the repository; requires a one-time Host registration token and systemd |
Installation and Usage¶
DeepSeek Harness Desktop¶
In Desktop’s Extensions / Plugin Management, install from npm with the package name and version:
remote-session-plugin@0.6.4
Restart Desktop after installation. You can also use the official launcher to pin the version:
dsh plugin --profile desktop add -w remote-session-plugin@0.6.4
Starting from DSH 0.2.2, the plugins page supports version checking and one-click updates; GitHub / local link installations require switching to npm first. See Installation Guide in the repository.
Linux One-Click Installation (as Host)¶
Use scripts/install.sh in the repository (requires root, supports one-time Host registration token and systemd auto-start). See Linux Installation Chapter for steps.
Mobile¶
Use DSH Go; if you install this plugin on a phone, other devices can also Remote into the DSH on the phone in the same manner.
Typical Usage¶
The quick start provided in the README can be summarized as:
- Open Remote in the DeepSeek Harness sidebar.
- Login using account and password (self-hosted Server can be set up for a single account via environment variables; you can save a new Server address on the login page).
- Install the same plugin on another device and complete the login, or use the Remote Web, DSH Go, or other clients directly (Web / Go clients do not need to install the plugin again).
- Select an online Host, then open an existing Workspace or browse the remote directory.
If you want your current computer to be controlled remotely without viewing other devices under your account, you can open the “Controlled only” switch in the Host list on the Device page.
The working mode can be understood as:
DSH Desktop / Remote Web / DSH Go
↔ Authenticated End-to-End Encrypted Channel
Remote Plugin on Host
↔ Harness Capabilities or Optional ACP Workspace
Harness Session/Workspace or Agent Project
Suitable Scenarios and Notes¶
Who is it for: Developers who need to keep Harness resident on a workstation but continue the same session and workspace from a phone, browser, or business trip laptop; also suitable for scenarios where a Linux server is registered as a Host and accessed via Desktop or Web.
Harness Version: The current baseline is dsh-v0.2.2-rc.1; newer 0.2.1 / 0.2.0 rc versions are still compatible on the same official carrier. See Compatibility Notes in the repository. Hosts that only provide the old ApiProxy and do not support capability discovery will be rejected.
Security Boundaries (Read before using): The remote terminal runs with the identity of the Host user and is constrained by configurations like terminal.enabled on the Host; remote file previews are read-only, and files cannot be written or executed via preview paths. The Linux installation script configures systemd, so Host-side tools and terminal permissions are high; only trusted accounts should be opened. The plugin runs with the same process permissions as Harness; please review the source code and the MIT license before installing.
Ecosystem Note: DeepSeek Harness follows the philosophy of “Everything is a plugin”; the SkillHub directory page is a community listing site and has no official affiliation with DeepSeek or Fangyuan.
Conclusion¶
remote-session-plugin turns “keeping the session on the workstation and bringing the interface to your device” into a native sidebar and multi-client experience for Harness, using P2P-prioritized links and Noise encryption to constrain the scope of what the server can see. If you want to access desktop DSH from npm with a fixed version, the installation commands above will work; more detailed encryption, network, and self-hosted Server documentation is located under docs/ in the repository.