dsh-mobile: Scan to view DSH tasks on your computer in a mobile browser

Introduction

When DeepSeek Harness (DSH) runs agent tasks on a computer, sessions and approvals are often tied to the desktop. When you leave your workstation and only have your phone with you, if you want to keep checking progress, reply to a message, or click approve, the common approaches are remote desktop or setting up a reverse proxy yourself, which involves many steps and requires you to sort out the security boundaries on your own.

The following introduces the community plugin dsh-mobile (maintainer: OrderG-X, category: client): after installing it in DSH, enable “Allow Mobile Access” on the computer side, and your phone can scan a QR code to use the same DSH web interface as the computer in the browser; external access can go through a free Cloudflare tunnel (HTTPS), with no separate app installation or account registration required. The plugin runs with the permissions of the current DSH process. Before installation, it is recommended to read the source code and MIT license of the GitHub repository.

What Is This

dsh-mobile is a client-category plugin in the DSH ecosystem: it starts a small gateway inside the DSH process (default port 18765) and forwards requests from phones to the local DSH web client; what you see on the phone is the official web interface, with sessions and settings consistent with the computer.

Community directory page: skillhub.cn/plugins/OrderG-X/dsh-mobile. The directory is an independent community site with no official affiliation to DeepSeek / High-Flyer. The current package version is 0.2.1 (see the repository’s package.json).

Core Features

According to the README, the capabilities can be summarized as follows.

  1. Scan to use: Scan the QR code with the phone camera, and it opens right up in the browser; you can also use “Copy Link” to send it to the phone within 10 minutes (the link is valid for one-time use).
  2. Real-time session sync: Messages sent from the phone appear simultaneously on the computer; task progress can be viewed in real time on the phone.
  3. External access: After flipping the switch, a Cloudflare tunnel is automatically prepared (cloudflared tunnel --url, a trycloudflare.com quick tunnel); the tunnel process can stay in the background when DSH exits so the address remains unchanged, and turning off “Allow Mobile Access” will stop the tunnel.
  4. Per-device authorization: The QR code is one-time only and expires in 10 minutes; each phone has its own credential, which can be removed on the computer, and disconnection happens immediately after removal.
  5. Login handled by the gateway: When the DSH desktop web client requires login, the gateway exchanges the startup password for a login cookie in-process and attaches it for the phone; this cookie is not sent to the phone.

The README indicates the platform badge as macOS; the cloudflared download paths for Windows / Linux are written, but not tested. The mobile interface is the DSH web version, with no dedicated mobile layout.

Installation and Activation

The installation command must use the release package URL, and after installation you should restart DSH. The plugin displays the name “Mobile” on the DSH “Plugins” page.

dsh plugin add https://github.com/OrderG-X/dsh-mobile/releases/latest/download/dsh-mobile.tgz

When external access is enabled for the first time, the official Cloudflare program cloudflared (about 20 MB) is automatically downloaded, taking about half a minute; during this period a temporary code may be shown first and will be automatically replaced once ready.

Typical Usage

Follow the steps in the README to reproduce.

  1. On the computer: Click the phone button in the session top bar, or DSH → “Plugins” → “Mobile”, and turn on “Allow Mobile Access”.
  2. On the phone: Use the camera to scan the QR code that appears; it works whether at home or on the go with mobile data.
  3. Afterwards: You can directly open the same address in the phone browser; “Add to Home Screen” is recommended. The address remains unchanged only when DSH restarts, with no need to rescan; if the computer restarts, “Allow Mobile Access” is turned off, or the plugin is disabled or uninstalled in DSH, the external address will change and you need to scan again.

When the phone is connected, the phone button in the top bar shows a green dot. Pairing and the list of authorized devices can only be managed in DSH on the computer; the pairing code cannot be read on the phone.

How It Works and Security (Brief)

The phone connects to the local gateway via the Cloudflare tunnel (external) or LAN HTTP, and the gateway verifies pairing before forwarding to the DSH web client. LAN is plaintext HTTP; the README suggests not using LAN mode on public Wi-Fi, and using external HTTPS instead.

The permission-related data directory is ~/.dsh/dsh-mobile/, containing state.json (switches), devices.json (paired phones, permissions 0600), mobile.log, tunnel.json, cloudflared.log, and the optional bin/cloudflared.

Security operational recommendations (from the README):

Situation Recommendation
QR code Scan only with your own phone; do not forward or screenshot it to group chats
Phone lost Remove the device in “Paired phones”
Public Wi-Fi Avoid LAN plaintext mode; use external HTTPS
When not in use Turn off “Allow Mobile Access” so the gateway stops listening

A phone that has scanned the code has capabilities similar to sitting in front of the computer; connection is not possible when the computer is sleeping or DSH is not running. External access uses Cloudflare’s free quick tunnel, and the README states there is no availability SLA; when using mobile data in mainland China, the first open may take one or two seconds (requests go through Cloudflare’s lines).

Use Cases and Notes

Suitable for developers who are already using the DSH desktop version on macOS and need to temporarily check tasks, reply, or approve from a phone. Not suitable for scenarios expecting a dedicated mobile UI or production-grade tunnel SLA.

The plugin is installed alongside DSH with the same process permissions; review the code and license yourself before installing. The repository provides npm test for script tests covering the gateway, pairing, and long connections, aimed at contributors rather than as an everyday step for end users.

Conclusion

dsh-mobile extends “DSH on the computer” to the phone browser: one-time scan-to-pair, per-device revocation, and the plugin automatically brings up a Cloudflare tunnel for external access. For details, limitation descriptions, and FAQs, refer to the repository README.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye