saya-ch/dsh-mobile
DeepSeek Harness 的安全移动访问插件与 Android App,支持局域网和多种远程通道、iPhone/iPad 主屏幕 Web App 与网页推送,并提供移动界面适配、设备管理和自定义扩展。
DSH Mobile is a community plugin for DeepSeek Harness (DSH) — a desktop AI assistant platform — that lets you use your computer's DSH from your phone. It's a companion layer, not a fork: it never modifies DSH's source code.
What it does
- Continues desktop work on mobile: Your DSH sessions, workspaces, messages, and tools sync in real time between computer and phone.
- Touch-optimized interface: The mobile view reorganizes the DSH UI (conversation drawer, tool details, settings, input bar) for phone screens. The Android app follows the system language (Chinese/English/Italian); the plugin UI follows DSH's language.
- Customizable via chat: You can type
/mobile <requirement>inside a DSH conversation to ask the agent to restyle or extend the mobile interface — e.g., make it look like an old CRT terminal, or add a cyberpunk-style CPU/memory monitor. Changes are written to files under$DSH_HOME/mobile-access/and usually apply within seconds.
How you connect
Two independent connection modes, each with its own on/off switch and pairing authorization:
- LAN access (default, simplest): Phone and computer on the same Wi-Fi, Ethernet, or hotspot. You generate a pairing QR code in DSH, scan it with the Android app (or open a pairing link in a mobile browser), and you're connected. Uses a private certificate.
- Remote access (for when you're away from the home network): Choose one of several tunnel options — Tailscale Funnel, cpolar, cloudflared (quick or named tunnels), self-hosted FRP, your own reverse proxy, or managed Caddy (Windows/Linux x64). There's also iroh, an experimental option that needs no domain or public port, using encrypted direct connection with relay fallback (requires the full Android app; not available in browsers).
Phone browsers work for both modes; no extra tunnel client is needed on the phone.
Pairing & device management
- Pair once via QR code, link, or key; credentials renew automatically under the same Origin. If the address, certificate, or listener changes, you re-pair (LAN) or it takes effect on next start (remote).
- The Android app shows all paired computers in one list, with connection type, reachability status, and last-connect time. You can rename, re-pair, or delete local records.
- Startup behavior is configurable: go straight into DSH (default) or show the device list first.
- Revoking a device from the computer side permanently deletes its stored record and token digest.
Security
- LAN uses a fixed private CA; public remote entry points use trusted HTTPS. Self-signed FRP entry points get their CA pinned by the Android app during pairing.
- Credentials are stored in the Android Keystore; device tokens are only sent to the exact Origin.
- Third-party WebSocket paths are blocked by default; you can allowlist specific paths in the connection diagnostics page.
- Paired devices are treated as fully trusted — they can operate DSH on your computer. If you lose your phone, revoke the device from the computer immediately.
Platform support
- Android: Native app, requires Android 10+. Download the APK from the releases page.
- iPhone/iPad: No native app. Use Safari to open the pairing link, then "Add to Home Screen" to install it as a PWA. Optional web push notifications (requires iOS/iPadOS 18.4+ and trusted HTTPS).
- HarmonyOS: Not officially supported; browser access may work but hasn't been verified.
Versioning
Since plugin 0.6.2, the Android app and plugin release independently with separate version numbers. Current: plugin 0.8.7, Android app 0.7.4. The app doesn't auto-update; the plugin checks for updates when DSH loads.
Installation
- DSH Desktop: Install and enable
dsh-mobilefrom the plugin page, then configure mobile access. Restart Desktop after installing. - DSH Web: Run
dsh plugin --profile web add dsh-mobile@latest, thendsh plugin --profile web exec dsh-mobile setup, then start DSH.
Setup auto-detects your LAN and generates a private certificate; settings, certificates, devices, and custom files live in $DSH_HOME/mobile-access/.
Limitations to know
- Remote services have bandwidth/connection limits (e.g., cpolar free tier is 1 Mbps; cloudflared quick tunnels are rate-limited and officially for testing only).
- The plugin doesn't guarantee all third-party DSH plugins will look good or work on small screens — it adapts layout and connections, but each plugin's own UI still matters.
- Adding a PWA to your home screen does not provide offline DSH; the computer, DSH, and Mobile Gateway must stay running.
- iroh is experimental: not a guaranteed-speed tunnel, and VPN/proxy/network conditions can still affect it.
Related
- Project
- Project
- Project
- Project
- Project