DeepSeek Harness 插件

dsh-plugins-plus

DeepSeek Harness plugin: an outbound E2EE tunnel, mobile presentation, and first-class Mobile Bridge settings section.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
SparkElf/dsh-plugins-plus
最近更新
2026年8月22日
分类
工具与能力
GitHub stars
1
载体类型
plugin
包路径
packages/mobile-bridge
目录证据
上游声明已找到 dsh.bundle
证据路径
packages/mobile-bridge/package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/SparkElf/dsh-plugins-plus/tree/HEAD/packages/mobile-bridge
插件名:dsh-plugins-plus
作者:SparkElf

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

@sparkelf/dsh-mobile-bridge

中文

DeepSeek Harness 的独立移动连接插件。默认连接 https://www.tokensfree.eu.cc(可在设置中修改),桌面端主动连接公网中继并每 30 秒发送标准 WebSocket 心跳以维持长时间浏览会话,手机通过一次性配对二维码访问本地 Harness;HTTP 与 Harness 应用 WebSocket 流量均使用端到端加密,中继服务器只读取外层设备路由 ID 并转发密文。手机登录页使用官方 DeepSeek 品牌和无外框布局,支持中英文及浅色/深色主题、深色可见网格和页面内相机扫码;相机会请求高分辨率后置画面,在设备支持时降低曝光并对可用焦距做一次清晰度评估后锁定最佳档位。decoder 按浏览器 capability 选择:原生 BarcodeDetectorqr-scanner 接入,其余浏览器在用户打开相机后才懒加载 ZXing-C++ WASM。两条路径都会框出识别到的二维码,首屏不下载 decoder JavaScript 或 WASM;手机在消费一次性票据前会确认 Service Worker 已接管页面。桌面端可设置手机关闭浏览器后的登录保持天数,默认 7 天。

插件同时拥有 Host 与 Client 两部分:Host 负责出站隧道与状态路由;Client 通过 Harness 的 settings.section Slot 注册“移动连接”,用于编辑服务器地址、本地端口、加密口令、所有者邮箱、扫码邮箱二因子,以及独立的启动自动连接和断线自动重连策略;页面提供主动连接/断开按钮,并持续显示配对二维码和六位配对码。文本与数字在完成编辑时自动保存,开关在切换后立即保存;保存只确认配置已写入,连接状态通过实时状态更新单独反馈;票据会在过期前或手机配对后自动换新,换新期间显示刷新动效且不再展示旧二维码。已配对设备列表显示在线状态、IP、首次配对和最近连接时间,桌面端可以逐台下线;其他设备和下一张配对票据不受影响;被下线手机会暂停全部 Harness 隧道请求,在当前 Harness 页面弹出下线提示与重新扫码操作;没有打开页面时,下一次访问仍显示重新扫码页。插件不提供独立 HTML 配置面板。

安装

dsh plugin --profile web add @sparkelf/dsh-mobile-bridge@0.2.8

安装会通过包内 dsh.bundle 挂载 Host 插件,并通过 dsh.client 加载浏览器设置页面。手机端仅注入应用 WebSocket facade;Harness 界面的响应式样式继续由各界面所属包负责。禁用或移除该 bundle 会同时移除路由、连接和设置菜单。

配置

字段含义
serverUrl公网移动桥接服务器的 HTTPS 地址
localPort本机 Harness Web 端口
userKey可选加密口令;设置后手机扫码后仍需输入
ownerEmail扫码邮箱二因子的收件地址
emailTwoFactor是否要求扫码后输入邮箱验证码
sessionDays手机关闭浏览器后的登录保持天数;默认 7,范围 1-365
autoConnect启动时是否连接
autoReconnect断线后是否重连

English

An independent DeepSeek Harness mobile-connectivity plugin. It defaults to https://www.tokensfree.eu.cc and keeps the URL editable in Settings. The desktop dials the public relay and sends a standard WebSocket heartbeat every 30 seconds to keep long browsing sessions connected, while a phone reaches the local Harness through a one-time pairing QR. HTTP and Harness application WebSocket traffic are end-to-end encrypted; the relay reads only the outer device-routing id and forwards ciphertext. The borderless phone login uses the official DeepSeek brand, supports Chinese/English, light/dark themes, a visible dark-theme grid, and in-page camera scanning. The scanner requests a high-resolution rear-camera stream and, when supported, lowers exposure, scores each available focus distance once, and locks the sharpest setting. Decoder selection follows browser capabilities: qr-scanner integrates native BarcodeDetector, while other browsers lazy-load ZXing-C++ WASM only after the user opens the camera. Both paths outline the detected QR, and the initial page downloads no decoder JavaScript or WASM. The phone confirms Service Worker control before consuming a one-time ticket. The desktop controls how many days a phone remains signed in after closing the browser; the default is seven days.

The package owns both halves of the capability: the Host provides the outbound tunnel and status route; the Client registers Mobile Bridge through the Harness settings.section Slot. The settings section edits the server URL, local port, optional passphrase, owner email, scan-time email second factor, and independent startup/reconnect policies, provides explicit connect/disconnect actions, and continuously displays the pairing QR with its six-character code. Text and number fields save when editing finishes, while toggles save immediately after each change. Persistence completes independently of the live connection status stream. The ticket refreshes before expiry or immediately after a successful pairing while a visible progress state replaces the stale QR. The paired-device list shows live state, IP address, first pairing, and last connection time, and the desktop can take one device offline without affecting the others or the next ticket; the revoked phone suspends all Harness tunnel requests and opens an offline notice with a scan-again action over the current Harness page; when no page is open, the next visit still shows the rescan page. No standalone HTML configuration panel is shipped.

Install

dsh plugin --profile web add @sparkelf/dsh-mobile-bridge@0.2.8

The package's dsh.bundle mounts the Host plugin and dsh.client loads the browser settings section. The phone injects only the application WebSocket facade; each Harness surface retains ownership of its responsive styles. Disabling or removing the bundle removes the routes, connection, and settings navigation entry together.

Configuration

FieldMeaning
serverUrlHTTPS URL of the public mobile bridge server
localPortLocal Harness Web port
userKeyOptional passphrase; when set, the phone must enter it after scanning
ownerEmailInbox for scan-time email verification
emailTwoFactorRequire an email code after scanning
sessionDaysDays a phone remains signed in after closing the browser; defaults to 7, range 1-365
autoConnectConnect on startup
autoReconnectReconnect after disconnection