shaobeichen/dsh-pocket 预览 preview

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)

Project Overview项目介绍

dsh-pocket is a native plugin built exclusively for DeepSeek Harness (DSH) that enables remote mobile access to your local DSH instance. After installation, you can scan a QR code with your mobile phone to get a synchronized, fully functional version of your DSH interface that mirrors exactly what is on your desktop. It supports both local area network (LAN) access when you are on the same WiFi as your desktop, and remote public internet access via Cloudflare tunnels when you are away from home. Installing the plugin is straightforward: after adding it to DSH via the plugin marketplace, simply restart DSH and you will find a new "Mobile Access" entry in your DSH settings sidebar.

This plugin is designed for DSH users who need to access their local DSH instance when they are away from their computer. Common use cases include checking the progress of a long-running agent task while commuting, or triggering a new query when you are out of the office without access to a remote desktop or SSH. A typical workflow starts with opening the Mobile Access settings entry after installation, generating a QR code for your chosen access method, scanning it with your mobile browser, entering your access password, and connecting immediately to your synchronized DSH session. All interactions on mobile are mirrored back to the desktop instance in real time, so you can switch between devices seamlessly.

The plugin is released under the open source GPL-2.0 license, which requires modified versions to also be licensed under GPL-2.0. Core LAN access functionality requires no extra dependencies, but public remote access needs the cloudflared binary which the plugin will automatically attempt to download from multiple mirror sources. If the download fails or gets stuck on first run, macOS and Linux will prioritize the Tsinghua mirror for faster downloads, while Windows users can manually install cloudflared via winget or another package manager and retry. First-time users are recommended to test LAN access first to confirm the plugin is working before enabling public access.

dsh-pocket是一款专为DeepSeek Harness(DSH)开发的原生插件,核心功能是为DSH提供移动端远程访问能力。用户安装插件后,可通过手机扫码在移动设备上实时同步查看和操控电脑端的DSH界面,支持局域网和公网两种访问模式,自动适配手机屏幕,提供触控优化的交互体验。安装完成后重启DSH,就能在设置侧边栏找到「手机访问」入口,无需额外配置基础功能即可使用。

这款插件适合需要在外远程操控电脑端DSH的用户,比如下班路上想查看电脑端DSH运行的任务进度,出门在外临时需要给DSH发新任务,就算没有远程桌面或SSH也能顺畅操作。典型工作流程是:安装插件后打开DSH设置页的「手机访问」入口,生成对应访问方式的二维码,手机连同一WiFi或移动网络扫码,验证密码后即可进入和电脑端同步的操作界面。

插件采用GPL-2.0开源许可,核心功能零额外依赖,公网访问功能需要下载cloudflared二进制,插件会自动尝试从多镜像源下载,下载失败会给出提示。若开启公网访问遇到下载卡住,macOS和Linux会优先走清华镜像加速,Windows可手动安装cloudflared后重试,首次使用建议先测试局域网访问确认功能正常。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 shaobeichen/dsh-pocket 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Pocket

DSH Pocket

English | 中文

shaobeichen%2Fdsh-pocket | Trendshift

npm downloads CI License: MIT GitHub stars Awesome DSH Plugin

把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫二维码就实时看到电脑上的同一个界面——人在外面也能用。

⭐ 顺手留颗 Star,作者能高兴一整天  ·  行,给你一颗 Star

这是什么

你不在电脑前,也想用电脑上的 DeepSeek Harness。

  • 下班路上,agent 在电脑上跑任务,你想掏出手机看看它干到哪了、结果如何
  • 出门在外,突然想让电脑上的 agent 查点资料、写段代码,但没有远程桌面、没有 SSH
  • 电脑在宿舍/办公室,你人在外面,想随时"操控你的 DeepSeek Harness"——发任务、看输出、点审批

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

实际效果——手机上的界面就是电脑上的界面,实时同步:

手机上的 DSH 界面

✨ 特性

特性 说明
📶 局域网扫码 装好即用:设置 → 手机访问,打开就有局域网二维码,手机连同一 WiFi 扫码即开(自动识别本机局域网 IP,WSL 环境自动取 Windows 物理网卡 IP)
🚪 局域网开关 设置页可一键关闭/开启局域网访问(切换时弹窗提醒):关闭后局域网二维码/链接立即失效,仅公网可用
🌐 公网扫码(人在外面) 点「开启公网访问」→ cloudflared 隧道 → 出公网二维码,4G/任何网络都能访问
🏷️ 公网固定域名 可选「命名隧道」模式:填 Cloudflare Tunnel Token + 自己的域名,公网地址固定不变(重启不再变;见下方说明)
🔐 访问密码 公网链接默认使用 8 位随机密码(每次开启公网自动换新;可自定义固定密码——自定义后不再换新);局域网有独立的默认 8 位随机密码(默认开启,设置页可一键关闭——关闭后局域网扫码直连)
🔑 自定义密码 公网/局域网密码都可在设置页设成自己固定的 8–64 位密码(英文字母大小写或数字)(自定义后公网不再自动换新)
🧘 会话保持 手机输一次密码后长期免输(登录状态绑定电脑上的 dsh web 进程:只要它不重启,手机不用再输;dsh web 重启/更新后需重新输入一次)
⚡ 实时同步 流式输出走 WebSocket 全透传——电脑上在输出,手机上同步在滚,可双向操作;内置心跳保活(防路由器 NAT/省电机制静默断链,断线自动重连)
📱 移动端适配 窄屏自动变抽屉布局(移植 dsh-web-mobile,MIT):侧栏抽屉、会话全宽、状态栏安全区、触控优化
🧭 可选右边栏 手机端显示原生右边栏入口;普通手机可在设置中关闭以保持紧凑,折叠屏展开后可更方便地同时使用终端底栏和右边栏
📁 文件浏览 移动端「文件浏览」入口需要宿主提供 explorer 面板(dsh-web-ui 组件);官方 DSH 未内置时入口自动隐藏,不会出现"点了没反应"
🗜️ 传输压缩 大 JSON 响应自动 gzip/brotli(长会话 17MB → ~1MB,brotli 质量 6:快且省流量),手机加载更快、更省流量
🔁 隧道自动恢复 DSH 重启后自动重新拉起之前开着的公网隧道,无需手动重开
🧩 零依赖安装 一个 npm 包、一个设置页,没有核心/适配器要分开装;无需账号、无需服务器

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev brooks-lint 下一个 Next dsh-plugin-radar →