deepseek-harness-mobile-solution
Discovered★ 4dsh plugins: control a local DeepSeek Harness from your phone — tailscale point-to-point or your own VPS relay. One entry point: dsh --profile mobile
This project adds a remote control plane and two transports:
- Tailscale — point-to-point over your tailnet.
- VPS relay — If you happen to have your own VPS, use your VPS as relay. One relay, many machines, one menu.
Both serve the same thing: the official dsh web UI through an authenticating gateway.
Install
This is a dsh plugin — installed with the stock plugin manager, controlled through one entry point:
# one command (recommended)
dsh --profile mobile install
# or add the two plugins directly
dsh plugin --profile mobile add @bb-84c/dsh-mobile-cli
dsh plugin --profile web add @bb-84c/dsh-mobile-server
Everything lives behind dsh --profile mobile — service, tailscale, relay, device, config, status, doctor, logs, update, uninstall.
| Package | Profile | Role |
| --- | --- | --- |
| @bb-84c/dsh-mobile-cli | mobile | command family |
| @bb-84c/dsh-mobile-server | web | gateway + transports + session hydration |
Features
- One entry point:
dsh --profile mobile <command> - Official UI, unchanged — official updates reach your phone automatically
- Device auth: one-time pairing codes, token hashes only, instant revocation
- Live streaming over SSE/WS, tunneled end-to-end
- Instance menu at your relay domain
- One resident instance enforced; pidfile-guarded stop/restart
- Three-OS scripts, auto-start templates
- 144+ offline tests
How it works
phone / browser
│
├─ tailscale ──────────────────────────────┐
│ ▼
└─ https://<relay>/instance/<id>/ ─▶ relay ─▶ tunnel ─▶ gateway (device auth, :3081) ─▶ dsh web (:3080)
- dsh web stays loopback-only, as shipped.
- The gateway plugin lives inside the same dsh process and proxies the official UI.
- The relay is a standalone zero-dependency Node service. It stores credential hashes and a machine directory — never session data.
Modes
Tailscale
dsh --profile mobile tailscale connect
dsh --profile mobile tailscale start
dsh --profile mobile device pair --name iPhone
dsh --profile mobile url
📖 docs/deployment/tailscale.md
VPS relay
dsh --profile mobile relay connect https://relay.example.com --token <instance-token>
dsh --profile mobile relay start
dsh --profile mobile device pair --name iPhone
Open https://relay.example.com, pick a machine, pair, done.
For dsh agents
Setting this up for a user? Read in order, then execute:
docs/plugin-install.md— install the plugins.docs/deployment/tailscale.mdordocs/deployment/relay.md— set up a transport. Relay mode also needs the relay on a VPS (scripts/relay-deploy).docs/commands.md— command reference.- Pair:
dsh --profile mobile device pair --name <name>. Verify withdocs/acceptance.md.
Rules:
- Never patch the shipped
@deepseek-ai/*packages. - Exactly one resident dsh web instance per
$DSH_HOME. - Stop/restart only through the CLI.
- Keep tokens out of logs and chat.
- After an official dsh upgrade, run
docs/research/upstream-touchpoints.md.
Repository
├── packages/
│ ├── dsh-mobile-cli/ # dsh plugin: command family
│ ├── dsh-mobile-server/ # dsh plugin: gateway + tunnel + hydration
│ ├── dsh-mobile-common/ # shared library
│ └── dsh-relay/ # standalone relay service
├── scripts/ # installers, deploy, probe, repair, autostart
├── docs/ # guides, deployment, research, specs
└── assets/ # artwork
Security
- Web server stays loopback-only; the gateway is the only network surface.
- Tailscale mode rides WireGuard; relay mode is HTTPS behind Caddy.
- Pairing codes are single-use, 5-minute expiry. Tokens are stored hashed, verified in constant time, revoked instantly.
- Relay stores credential hashes and a public directory only.
Documentation
| Doc | Audience |
| --- | --- |
| docs/plugin-install.md | users |
| docs/commands.md | users |
| docs/deployment/service.md | users |
| docs/deployment/tailscale.md | users |
| docs/deployment/relay.md | users |
| docs/acceptance.md | users & agents |
| docs/plan.md | project |
| docs/research/ | project & agents |
| docs/specs/ | app implementors |
Requirements
- A machine running DeepSeek Harness that stays online.
- Node.js ≥ 22.
- Tailscale or a small VPS.
License
MIT — see LICENSE.
Comments
Loading…
Similar plugins
by PangYiMing
DSH plugin for controlling mobile devices (ADB/iOS) — DeepSeek Harness 操控手机插件
★ 3
↓ 38/wk
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-mobile-controlby loeissu
Mobile-first UI for the DeepSeek Harness web client — an official slot client plugin. 让 DSH 在手机上好用:抽屉导航、命中区、键盘适配、横屏。不改宿主源码,不 fork tether,不接管 sidebar。
★ 0
MIT
JavaScript
Sep 14, 2026
dsh plugin --profile web add dsh-plugin-mobile-uiby radres
Your DeepSeek Harness agent rings your actual phone: it asks out loud, you answer out loud, and what you said steers the run.
★ 6
MIT
JavaScript
Aug 27, 2026
dsh plugin --profile web add dsh-plugin-call-meby saya-ch
DeepSeek Harness 的 Android App 与安全远程访问插件,支持局域网/远程连接和高度自定义的移动界面与扩展能力。
★ 273
↓ 3k/wk
Apache-2.0
TypeScript
Sep 18, 2026
dsh plugin --profile web add dsh-mobileA PIN-protected, chat-only mobile web client for DeepSeek Harness, served on an isolated port over LAN or a self-provided tunnel.
★ 0
dsh plugin --profile web add dsh-mobile-accessby zexadev
Mobile client for the DeepSeek Harness — use the dsh on your dev machine from your Android or iOS phone, remotely across networks, peer-to-peer over iroh with no server to set up (falls back to a rela
★ 45
MIT
Rust
Sep 9, 2026
dsh plugin --profile web add dsh-plugin-tether