Introduction¶
DeepSeek Harness (DSH) agent sessions are typically hosted on desktop clients or local dsh web servers. When away from your workstation, if you want to send text, upload screenshots, and see streaming replies, the common approaches are remote desktop or exposing the service to the public internet—the former is cumbersome, while the latter poses high risks for private sessions. The dsh-phone-bridge introduced below (GitHub: chs-1108/dsh-phone-bridge) takes a different path: both the phone and the computer join your Tailscale tailnet, accessing the DSH built-in webServer over an encrypted WireGuard peer-to-peer network. This avoids public relays and requires no modifications to the DSH core.
What is this?¶
phone-bridge is a client-side plugin (current Release v1.1.2, MIT License) written by community maintainer chs-1108 for the official DeepSeek Harness. On the mobile side, it opens a lightweight web interface via a browser or native Android shell, sending text and images into a real DSH session. It subscribes to the assistant’s streaming output via sessionController, allowing you to read responses as they are generated on your phone.
The data path can be summarized as:
Phone (WebView / browser)
│ HTTP over Tailscale — encrypted WireGuard, peer to peer
▼
DSH webServer ──▶ /phone-bridge route ──▶ sessionController ──▶ model
The plugin consumes only DSH’s public webServer and sessionController services; it does not patch the core or fork the host. It is supported by both the official Web and Desktop EXE versions (README notes compatibility with DeepSeek Harness 0.2.0-rc.2), but requires separate installation and application using the web and desktop profiles respectively.
Core Features¶
Cross-network Access without Same Wi-Fi¶
Once the phone and PC are logged into the same Tailscale account, each receives a stable 100.x.y.z address. The URL does not need to change when switching between Wi-Fi or cellular data. The README explicitly states: No public servers, no third-party relays; traffic stays within your self-managed tailnet.
Real Sessions, Streaming Replies¶
Messages enter the normal DSH session, not a bypass channel. You can pin the bridge to a specific session via /api/prefs, or let the plugin lazily create and reuse one. The plugin subscribes to sessionController.follow({ assistantStream: true }), and the mobile side polls for incremental results, allowing you to view long answers while they are being written.
Text and Images¶
Single messages support text and up to 8 images. The Android APK integrates with the system picker (including camera) via onShowFileChooser, writing back readable URIs via MediaStore. If the APK is not installed, modern browsers can open the same URL to send text and attach images.
One-click Deployment (Windows)¶
The repository provides install.cmd / setup-phone-bridge.ps1: on Windows 10/11, these can automatically install Tailscale, adjust the listening address, register the plugin, build the APK, and push it to the phone via USB (a Tailscale account is required; adb is optional for device pushing). The APK is a universal build with no built-in address; each user scans the QR code generated by DSH on their own PC to pair.
Environment and Dependencies¶
| Item | Requirement |
|---|---|
| DSH | 0.2.0 or newer, Desktop EXE or dsh web |
| Node.js | ≥ 18 |
| Host | Deployment scripts are PowerShell, targeting Windows 10/11 |
| Phone | Android 7.0 (API 24) or higher for APK; or any modern browser |
| Account | A free Tailscale account |
Optional: JDK 17 and Android SDK build-tools 34.0.0 are required only for building the APK.
Installation and Activation¶
Release Page: v1.1.2. Install phone-bridge-1.1.2.apk (approx. 249 KB) on the phone; on the PC, use the zip phone-bridge-plugin-1.1.2.zip or add the plugin directly from GitHub.
1. Install Plugin on PC and Restart DSH¶
Official example for Desktop profile:
# Install plugin from GitHub, then restart DSH
dsh plugin --profile desktop add github:chs-1108/dsh-phone-bridge
If the zip has been downloaded, you can use:
dsh plugin --profile desktop add "D:\path\to\phone-bridge-plugin-1.1.2.zip"
After restarting DSH, open Settings → Phone Sync; the appearance of a QR code indicates the plugin side is ready. When using dsh web, you must install the same repository plugin using the profile web separately (Apply separately from desktop).
2. Install and Log into Tailscale on Both Ends¶
Install Tailscale on the PC from tailscale.com/download; install it on the phone from the Play Store. Use the same Tailscale account on both sides.
3. Modify Listening Address (Mandatory)¶
DSH’s web service binds to 127.0.0.1 by default, accepting only local browsers; requests from the phone via Tailscale will be rejected directly.
It is recommended to go to Settings → Phone Sync and, if the red “Listening on loopback only” prompt appears, click Fix it for me: the plugin will locate the current profile’s cordis.patch.yml, modify the host, and generate a timestamped backup alongside it. Afterwards, you must fully exit and reopen DSH.
Manual editing paths:
- Windows:
%USERPROFILE%\.dsh\profiles\desktop\cordis.patch.yml - macOS / Linux:
~/.dsh/profiles/desktop/cordis.patch.yml
Change the host in the webserver entry to an address accessible by the tailnet (see the repository README “Manual” section for complete YAML).
4. Install APK and Pair on Phone¶
adb install -r phone-bridge-1.1.2.apk
Open the app and scan the QR code on the PC via DSH Settings → Phone Sync. The APK does not contain a server address; each person connects only to their own PC.
The README also provides a three-step quick guide (including the aforementioned dsh plugin, Tailscale, and APK installation) which can be used in conjunction with the above.
Typical Usage¶
- Open DSH normally on the computer, confirm the QR code on the Phone Sync page is available and the listening address has been fixed.
- Once the phone is connected to Tailscale, open the paired address via the APK or browser.
- Enter your question; take photos or select images (up to 8) if needed, and observe the streaming reply after sending.
- If you want to pin the conversation to an existing session, configure it via
/api/prefsas per the README (see repository docs for details).
Use Cases and Notes¶
Who it is for: DSH users who frequently follow up with the Agent in mobile scenarios, need to transmit on-site photos, but do not want to expose DSH to the public internet; developers who already have or are willing to register a Tailscale account.
Permissions and Security: The plugin runs under the current DSH process permissions and can access that session and the capabilities declared by the plugin. Please read the source code and the MIT license before installation to ensure compliance with your security policy.
Network and Troubleshooting: Both ends must be online and Tailscale must be connected; an unchanged listening address is the most common reason for “phone cannot connect”. See the repository README Troubleshooting for more complete fault isolation.
Ecosystem Note: DSH adheres to “everything is a plugin”; the SkillHub directory page is a community collection and has no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
dsh-phone-bridge puts DSH sessions in your pocket: Tailscale private network penetration, real sessionController sessions, streaming replies, and text/image input, all without public relays. For version and manual configuration details, refer to the GitHub Release and README (including README.zh-CN.md).
- Directory Page: https://www.skillhub.cn/plugins/chs-1108/dsh-phone-bridge
- Repository: https://github.com/chs-1108/dsh-phone-bridge