返回目录

dsh-pocket

编辑精选维护状态: 活跃

shaobeichen/dsh-pocket

把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN + public network, real‑time screen mirroring)

前往 GitHub
$ dsh plugin --profile web add dsh-pocket -w

1,075

星标

52

Fork

JavaScript

语言

GPL-2.0

许可证

2026-08-15

创建于

2026-09-10

最近推送

GPL-2.0 的 dsh web 插件,通过 `dsh plugin --profile web add` 安装,把 DeepSeek Harness 网页界面经局域网或 cloudflared 公网隧道二维码镜像到手机,8 位密码轮换保护、WebSocket 实时双向同步。

DSH 适配

兼容

作者声明

安全审计

未审计

最后核验

2026-08-21

许可证

GPL-2.0

01它能帮你完成什么?

  • Access and operate the DeepSeek Harness web UI from a phone while away from the computer

    The exact same DSH interface mirrored to the phone in real time via a LAN QR code, with bidirectional WebSocket pass-through so streaming output scrolls on the phone as it prints on the computer

    Individual DeepSeek Harness users who want to monitor or steer running agent sessions from a mobile device without remote desktop or SSH

  • Get password-protected remote access to dsh web from any network (4G, office, campus)

    A cloudflared public-tunnel QR code with a randomly assigned URL and an 8-digit password that rotates on every tunnel start; the tunnel auto-recovers after DSH restarts — no server and no account required

    DSH users who are away from their machine and need remote access without setting up a server, SSH, or remote desktop

02如何接入 DeepSeek Harness?

前置条件

  • DeepSeek Harness installed on the computer — the README requires the dsh CLI first (`npm install -g @deepseek-ai/dsh`, or prefix commands with `npx @deepseek-ai/dsh`)
  • A `dsh web` instance that can be restarted after installing the plugin

安装步骤

  1. 01

    Install the plugin into the web profile: `dsh plugin --profile web add dsh-pocket -w` (the trailing `-w` is required, e.g. for pnpm 9 workspace-root restrictions)

    $ dsh plugin --profile web add dsh-pocket -w

  2. 02

    Restart dsh web: `npx @deepseek-ai/dsh web`

    $ npx @deepseek-ai/dsh web

  3. 03

    To update later: `dsh plugin --profile web update dsh-pocket --latest -w` (`--latest` is required to cross major versions)

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

验证接入成功

  • After restarting `dsh web`, open Settings — the left sidebar shows a 「手机访问」 entry at the same level as 「通用设置」 and 「模型」

03DSH 适配与能力边界

DSH 适配兼容

DSH web profile plugin installed via `dsh plugin --profile web add dsh-pocket -w` that adds a Settings → 「手机访问」 page mirroring the running dsh web UI to phones over LAN or a cloudflared public tunnel

  • LAN QR-code access

    dsh web running on the computer; a phone on the same WiFiScanning the LAN QR code opens the same DSH interface on the phone after entering the independent 8-digit LAN password (enabled by default; can be switched off for direct connect)

  • Public cloudflared tunnel with rotating password

    Clicking 「开启公网访问」 on the Settings pageA public QR code / randomly assigned URL accessible from 4G or any network, protected by an 8-digit password that changes on every tunnel start; previously open tunnels auto-recover after DSH restarts

    downloads the cloudflared binary on first enable (Tsinghua mirror first on macOS/Linux, direct download on Windows)exposes the DSH interface through a random Cloudflare tunnel URL (password required)
  • Real-time bidirectional sync with mobile-adapted UI

    An active dsh web sessionStreaming output forwarded via WebSocket pass-through — the phone scrolls as the computer outputs, and both sides can operate; narrow screens automatically switch to a drawer layout ported from dsh-web-mobile (MIT)

  • Transfer compression for mobile loading

    Large JSON responses (e.g. long sessions)Automatic gzip/brotli compression — a 17MB long session compresses to ~1MB (brotli quality 6), so the phone loads faster and saves mobile data

    persists passwords and toggle state on disk under `$DSH_HOME/dsh-pocket/` (token, token-lan, settings.json)

04适合谁?何时不该用?

适合

  • Individual DeepSeek Harness users who want to monitor or steer running agent sessions from a mobile device without remote desktop or SSH
  • DSH users who are away from their machine and need remote access without setting up a server, SSH, or remote desktop

不适合

  • The public tunnel can fail with `error 1033` when a local proxy/VPN (Clash, Surge, v2ray, sing-box — especially TUN mode) intercepts cloudflared's edge connections; enterprise firewalls and campus networks may also block it. Workarounds: disable TUN mode, quit the proxy, add DIRECT rules for argotunnel.com/trycloudflare.com, or fall back to LAN mode via a phone hotspot.
  • DSH Desktop's advanced mode does not support mobile access — that mode disables the web layout so the phone cannot reach the layout service and shows a blank screen; switch back to compatibility mode and restart.
  • DSH can execute code on your computer, so the LAN/public QR code, URL and the 8-digit password together are the key to your machine — never share them. Public access always requires a password; the LAN password is on by default but can be disabled, and the tool is intended for personal use only.

05兼容性、维护与安全提示

  • The public tunnel can fail with `error 1033` when a local proxy/VPN (Clash, Surge, v2ray, sing-box — especially TUN mode) intercepts cloudflared's edge connections; enterprise firewalls and campus networks may also block it. Workarounds: disable TUN mode, quit the proxy, add DIRECT rules for argotunnel.com/trycloudflare.com, or fall back to LAN mode via a phone hotspot.
  • DSH Desktop's advanced mode does not support mobile access — that mode disables the web layout so the phone cannot reach the layout service and shows a blank screen; switch back to compatibility mode and restart.
  • DSH can execute code on your computer, so the LAN/public QR code, URL and the 8-digit password together are the key to your machine — never share them. Public access always requires a password; the LAN password is on by default but can be disabled, and the tool is intended for personal use only.
2026-08-152026-08-19v1.9.2

GPL-2.0 · actively maintained (latest release v1.9.2, 2026-08-20)

06常见问题

如何把 dsh-pocket 安装到 DeepSeek Harness?

先安装 dsh CLI(`npm install -g @deepseek-ai/dsh`),再执行 `dsh plugin --profile web add dsh-pocket -w`,然后重启 `dsh web`。设置左侧边栏会出现「手机访问」入口,在那里获取局域网二维码、开启公网隧道。

它是 dsh 原生的一部分,还是 MCP 服务?

它是通过官方 `dsh plugin` CLI 安装到 dsh web profile 的插件:新增一个设置页和一个反向代理,把现有 dsh web 界面镜像到手机,全程不涉及任何 MCP 配置。

公网访问需要自备服务器或账号吗?

不需要。点「开启公网访问」会启动 cloudflared 隧道,URL 随机分配,并由 8 位数字密码保护——每次开启公网密码自动换新、旧链接立即作废;DSH 重启后隧道还会自动恢复。

安全方面要注意什么?

DSH 能在你电脑上执行代码,二维码/URL 加上 8 位密码就等于钥匙:请勿把局域网二维码、URL 或密码发给别人。公网访问始终需要密码,局域网密码默认开启(可在设置页关闭),适合个人自用。

有什么已知限制?

DSH Desktop 的 advanced 模式暂不支持手机访问(需切回 compatibility 模式);本机代理/VPN 的 TUN 模式可能掐断公网隧道导致 error 1033;安装或更新插件后必须重启 `dsh web` 才生效。

08数据与来源

  • 作者声明github.com4cdd3ec04ab8…

    DSH Pocket 就是干这个的:**装上它,手机扫个码,就能实时看到并操控电脑上的 DeepSeek Harness 界面**——人在外面也能用。

  • 作者声明github.com4cdd3ec04ab8…

    # 1. 装插件(一个包全都有) dsh plugin --profile web add dsh-pocket -w # 2. 重启 dsh web npx @deepseek-ai/dsh web

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。