DeepSeek Harness Plugin

yekz/dsh-pocket-plugin

Stars ★ 0 Category Remote & Mobile Added 2026-12-01 npm dsh-pocket-plugin

Computer-side companion plugin for dsh-pocket-app. Reverse-proxies the local DSH Web UI to a phone with a QR-code settings page, LAN and self-hosted/Tailcat routes, password and login rate limiting, mobile-layout endpoints, task notifications and streamed compression.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-pocket-plugin

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:yekz/dsh-pocket-plugin

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

The companion plugin for dsh-pocket-app. It runs on your computer. It safely proxies your local dsh web to your phone. Scan a QR code once and your phone shows the exact same interface running on your computer — live view and full control. The app displays it on phone and desktop; this plugin makes the computer-side DSH reachable.

Highlights

  • Android: native rendering of the full DSH streaming session output. Most tool calls get a dedicated native tool card instead of a wrapped web view. Workflow tasks, subagents and goal progress are visualized, so the running state is clear at a glance.
  • macOS / Windows: manage several computers in one client. Split the view across machines with one click, or auto-tile the window to show every active session at once.

Phone

Desktop

What it does

Install it and restart dsh web. A Phone Access page appears in Settings. QR codes, passwords, connection routes, ports and notifications are all configured there.

  • Local proxy: reverse-proxies dsh web to your phone, rewriting Host and Origin so the phone sees the real computer-side UI.
  • Phone Access settings page: generates QR codes, shows the current address and password, toggles LAN and public entry.
  • Three connection routes: direct LAN on the same Wi-Fi; self-hosted relay or Tailcat hole punching when away. The computer dials out, so no public IP or port forwarding is needed.
  • Auth and rate limiting: LAN requires a password by default, public access always requires a 16-character alphanumeric PIN generated at random. The public PIN is not auto-rotated — rotate it yourself in Settings. Five failures in 60 seconds from one IP lock it for 60 seconds.
  • Mobile layout: native-shell endpoints for sessions, history, model picker and workspace drawer, plus narrow-screen style fixes.
  • Task notifications: question, plan review, approval, done and failure, each switchable. No duplicate pop when the page is in the foreground.
  • Transport tuning: streamed compression for large responses, EventSources multiplexed into one WebSocket, so long sessions stay responsive.

Install

dsh plugin --profile web add dsh-pocket-plugin -w
npx @deepseek-ai/dsh web   # restart to take effect

Upgrade:

dsh plugin --profile web update dsh-pocket-plugin --latest -w

The trailing -w works around the pnpm 9 workspace-root restriction. Always restart dsh web afterwards; a running process does not hot-reload the plugin.

Related repositories

Repository Role
dsh-pocket-app Desktop Tauri shell and Android native shell: session page, multi-computer address book, split view, notifications
dsh-pocket-plugin (this repo) DSH host plugin: Phone Access settings, local proxy, auth, three routes, mobile layout
dsh-pocket-relay Self-hosted relay server, deployed on your own machine
dsh-connect-credits Credits and UI plugin: sidebar credits capsule and style fixes

The right-column credits snapshot is aggregated on the Node side in this repo. When dsh-connect-credits serves the three-window quota route, the snapshot carries goQuota. If the route fails or a field is missing, the field is omitted instead of showing an empty state or a fake 0.

Problems?

Check the pitfall log here. When filing an issue, include reproduction steps, your OS and Node version, and the full error text.

License

GPL-2.0. The mobile layout is ported from dsh-web-mobile (MIT); its notice is kept in client/mobile/LICENSE.dsh-web-mobile.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.