dsh-pocket: Fit DeepSeek Harness into Your Pocket

Introduction

The Web GUI of DeepSeek Harness (DSH) is designed for desktop browsers: the wide-screen layout, plugin panels, terminal, and marketplace all assume you are operating in front of a computer. In real development, an agent turn can run for a long time, with blocking questions or tool approvals popping up in the meantime; if you temporarily leave your workstation, you have to wait until you are back at the computer to handle them, and streaming output and session state cannot be reliably viewed on a phone.

The community plugin dsh-pocket (npm package @restregular/dsh-pocket, UI display name Pocket Access) is released by maintainer RestRegular and positioned as a mobile companion for DSH: continue sessions on the phone, keep an eye on streaming output, answer questions and approvals, download artifacts, and support remote access via LAN or tunnel. This article is compiled based on the public documentation of the GitHub repository and the SkillHub catalog page, to help peers evaluate whether to install and use it.

What Is This

Pocket Access is a DeepSeek Harness plugin, categorized as a client. It does not replace the host Web GUI; instead, it additionally provides a lightweight mobile page rewritten for small screens, and when needed reverse-proxies the full desktop GUI to the phone (“Desktop Passthrough”). The same set of DSH capabilities can be switched between the two interfaces: for daily viewing, replying, and approvals in the lightweight page; when a terminal, plugin marketplace, or third-party plugin panels are needed, load the same bundle as the desktop in one click.

The runtime environment requires Node.js >= 22.13 (see package.json engines). The current npm version is 0.15.2, license MIT. The GitHub repository RestRegular/dsh-pocket has 1 star (based on the catalog page and repository page).

Core Features

Below is a description categorized according to the capabilities in the README; all can be used via a mobile browser or PWA home screen after installation.

Two Interfaces

Lightweight interface (default) Desktop passthrough
First screen Session list and chat stream rewritten for small screens Full desktop bundle (with all plugins)
Best for Viewing, replying, approving, downloading artifacts Terminal, marketplace, plugin-specific UI
Switching Phone settings → “Interface”; or GET /__pocket/surface?to=desktop Same as above

Desktop passthrough reverse-proxies the full-page host GUI and handles two layers of authentication—Pocket token and GUI Cookie—and remains usable when the tunnel address changes.

Sessions and Real-time Conversation

  • Session list grouped in desktop workspace order, with support for collapse, search, new, pin, rename, archive, and copy Session ID.
  • WebSocket streaming output, history loaded in batches, collapsible thinking process, tool call parameters and results, token usage.
  • Remote control: send / queue / interject, stop the turn, model and thinking level, permission presets, /skill references.

Human-Machine Interaction and Files

  • Blocking questions answered on the phone; tool approvals support “Allow once / Reject”; cross-session reminders; after answering on the phone, the desktop dialog can be retracted.
  • Workspace file tree, text/image preview, @path references, file download to the phone; messages support up to 4 images with local compression.

Remote Access and Host Capabilities

  • Direct LAN connection; tunnel options include cloudflared (recommended), localtunnel, localhost.run, a self-hosted SSH server, the custom command, or a fixed publicUrl; auto tries in the order cloudflared → localtunnel → localhost.run.
  • The desktop Pocket Access panel generates a QR code with a token; account balance, keep the computer awake, token rotation.

Security Model (Summary)

  • 128-bit random access token; links contain the token, equivalent to the local DSH key, and should not be shared publicly.
  • The desktop panel only accepts loopback requests; file reads are limited to the session cwd or registered workspaces; GUI cookies stay inside Pocket.
  • The first phone visit writes a 30-day HttpOnly Cookie; when the token is leaked, “Rotate token” in the panel can invalidate the old link.

The mobile page is native ESM, with runtime dependencies mainly being ws; there is no frontend build chain.

Installation and Activation

In the DSH ecosystem, plugins are installed as bundles via the Plugin Manager and other means; the specifics depend on the documentation for your current Harness version. The installation identifiers given in the README are as follows.

Install from npm (Plugin Manager → “Install Bundle”, or call plugin_manager’s install_bundle):

@restregular/dsh-pocket

You can also install from a local directory (the example path comes from the README; change it to the path where you cloned or extracted on your machine):

D:\DeepseekHarnessProjects\dsh-pocket

When linking to a profile via link:, on Windows x64 if cloudflared needs to be included automatically, you must first run pnpm install in the plugin directory; when installing officially from npm, the package manager handles the optional dependency agentroam-cloudflared-win32-x64.

After installation:

  1. Refresh the Web GUI and open Pocket Access in the sidebar global panel.
  2. Scan the QR code in the panel’s “Scan to connect” with your phone (public address when the tunnel is online, otherwise LAN address).
  3. It is recommended to “Add to Home Screen” on the mobile page; iOS uses 180/192 PNG icons to avoid a blank home screen from SVG.

Typical Usage

Local and LAN

  1. Open the sidebar Pocket Access.
  2. Scan the QR code, or copy the local / LAN / public address from the panel.
  3. Handle sessions and approvals in the lightweight interface; when full desktop capabilities are needed, switch to “Desktop passthrough” in the settings.

Remote Tunnel (Example: Self-hosted SSH Server)

In the configuration you can optionally use tunnel: ssh (you can also select “Self-hosted server” in the desktop panel’s “Public entry”, fill in the details, and switch). Example snippet from the README:

tunnel: ssh
sshHost: 203.0.113.10
sshUser: root
sshKeyPath: ~/.ssh/id_ed25519
sshPort: 22
sshRemotePort: 8790
sshExposePort: 80
# Optional: fill in when you have a domain/HTTPS reverse proxy
# sshPublicUrl: https://pocket.example.com

The server is required to have passwordless SSH login and Node.js installed; sshExposePort must be allowed in the firewall and security group. Listening directly on public port 80 is HTTP; in production it is recommended to reverse-proxy HTTPS and set sshPublicUrl.

The default path of the state file is ~/.dsh/pocket/state.json (i.e., $DSH_HOME/pocket/state.json), storing the access token, panel options, etc.; the port and tunnel address are re-negotiated on each startup.

Tunnel Methods Quick Reference

Method Description
cloudflared Quick Tunnel, no account required; on other platforms put cloudflared in PATH or set cloudflaredPath
localtunnel Requires lt; the first visit may show a 511 prompt page
localhost.run Via ssh -R, requires outbound port 22 to be available
ssh Reverse forwarding on a self-hosted server
custom Custom command, %PORT% is replaced with the local port
publicUrl Existing fixed domain, no tunnel process started

Use Cases and Notes

Who it’s for: Harness users who often follow DSH sessions in mobile scenarios, need to promptly handle tool approvals or blocking questions, or want to use the phone as a “second screen” to view streaming output and download workspace files.

Permissions and security: The plugin runs with the same permissions as the current DSH process, and can access the session and workspace capabilities already exposed by the host. Before installing, read the source code and the MIT license, and understand the risks of the token and tunnel exposure surface; do not post links containing tokens to public channels.

Ecosystem note: DSH adopts an “everything is a plugin” approach; SkillHub and others are community catalogs, with no official affiliation with DeepSeek / High-Flyer.

Known limitations: The README has a “Known limitations” section; check the latest notes in the repository before upgrading; some DNS environments may cause the local machine to be unable to resolve *.trycloudflare.com, while the phone DNS is usually still available; if necessary, switch to LAN or other tunnels.

Conclusion

dsh-pocket uses a lightweight mobile page plus optional desktop passthrough to bring sessions, streaming output, question approvals, and file downloads to the phone, and combines LAN and multiple tunnels to reduce the “must be sitting in front of a computer” constraint. If you need to add a layer of mobile access to your Harness workflow, you can continue to compare against your local environment using the catalog page and the “Quick Start”, “Configuration”, and “HTTP API” sections of the repository README.

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

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

Xiaoye