返回目錄

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,018

星數

48

Fork

JavaScript

語言

GPL-2.0

授權條款

2026-08-15

建立於

2026-09-03

最近推送

GPL-2.0 的 dsh web 外掛,透過 `dsh plugin --profile web add` 安裝,將 DeepSeek Harness 網頁介面經區域網路或 cloudflared 公網隧道 QR 碼鏡像到手機,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`。設定頁左側邊欄會出現「手机访问」入口,在那裡取得區域網路 QR 碼、開啟公網隧道。

它是 dsh 原生的一部分,還是 MCP 伺服器?

它是透過官方 `dsh plugin` CLI 安裝到 dsh web profile 的外掛:新增一個設定頁和一個反向代理,將現有 dsh web 介面鏡像到手機,全程不涉及任何 MCP 設定。

公網存取需要自備伺服器或帳號嗎?

不需要。點「开启公网访问」會啟動 cloudflared 隧道,網址隨機分配,並由 8 位數字密碼保護——每次開啟公網密碼自動更新、舊連結立即失效;DSH 重新啟動後隧道還會自動復原。

安全方面要注意什麼?

DSH 能在你的電腦上執行程式碼,QR 碼/網址加上 8 位密碼就等於鑰匙:請勿把區域網路 QR 碼、網址或密碼傳給別人。公網存取一律需要密碼,區域網路密碼預設開啟(可在設定頁關閉),適合個人自用。

有什麼已知限制?

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 外掛,絕不濫發。