dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
用 iPhone 或 iPad 的 Safari 打开 Mac 或 Windows 上的 DeepSeek Harness Web:8 位配对码、回环监听的局域网网关、可选 Tailscale Serve,以及仅 iOS 生效的 Safari 输入与触摸补丁。可用 dsh plugin add 安装。
English (US) — plain-language guide: README.en.md
用 iPhone / iPad 自带的 Safari,安全打开 Mac 或 Windows 10/11 上的 DeepSeek Harness Web。
不用装 App,不用改 DSH 源码,不影响你原来在电脑上的使用。
Windows 10/11 用户也能用:同一份插件,不区分 Mac / Windows。
Windows 只是多一个“防火墙允许 Node.js”的步骤;完整小白步骤见
Windows 10/11 快速上手。
这是一个独立的 TypeScript DSH 插件(bundle)。它主要在 DSH 里增加三样东西:
其他东西都不动:不改 DSH 核心、不改登录方式、不替换页面、不装后台服务、不拦截现有请求。
结论:按 1.1.8 的源码和 npm 发布包检查,没有发现窃取文件、上传数据或远程控制的行为。
dependencies 是空的;安装包只含运行所需的 JS、配置、图标和说明。http、net、os 和 Web Crypto;没有读文件的 fs、没有执行命令的 child_process、没有 eval。npm audit --omit=dev 为 0 个漏洞;npm 已校验 1.1.8 发布包的 registry 签名;33 项自动测试和 Ubuntu/Windows CI 均通过。1.1.8 比盲目使用 @latest 更稳妥。技术用户可以自己复核:
cd /path/to/dsh-mobile-access
npm view dsh-mobile-access@1.1.8 dependencies
npm audit --omit=dev
npm audit signatures
grep -RInE "child_process|exec\\(|eval\\(|https?://" srcThis is a small, independent add-on for the official DeepSeek Harness (DSH) Web app. It lets Safari on an iPhone or iPad open the DSH Web app running on your Mac or Windows 10/11 PC — without installing a phone app or changing DSH itself.
DSH normally protects its page with a very long login link. That link is too long to type on a phone. This plugin adds a simpler, temporary way in:
/m.The long login token never appears in the phone’s address bar, browser history, or Referer header. The code expires after 10 minutes and locks after too many wrong attempts.
Mac Terminal:
dsh plugin --profile web add dsh-mobile-access@1.1.8 --registry=https://registry.npmjs.org/Windows 10/11 PowerShell (no administrator mode needed):
dsh plugin --profile web add dsh-mobile-access@1.1.8 --registry=https://registry.npmjs.org/Then refresh the DSH page, open Mobile Access in the left sidebar, and use the address and 8-digit code shown there.
If DSH only listens on 127.0.0.1, the plugin automatically starts a local gateway on port 3081; your computer keeps using 127.0.0.1, and the phone uses http://:3081/m. On Windows, allow Node.js on Private networks when the firewall asks.
This is not a public tunnel or a VPN. It is for your own trusted Wi-Fi/LAN. For access outside the home, the optional Tailscale Serve steps are in the full English guide.
Mac and Windows desktop behavior is left alone.
Read the full plain-English guide: README.en.md — it includes requirements, pairing steps, Windows firewall notes, Tailscale Serve, a troubleshooting table, security details, limits, and uninstall instructions.
假设你的电脑(Mac 或 Windows 10/11)上正在运行 DSH Web,地址是:
http://192.168.1.23:3080以前 iPhone 直接打开这个地址,会看到:
dsh web authentication required; reopen the URL printed by dsh web.这不是网络坏了,而是 DSH 的安全保护:它只认电脑终端(Mac 终端 / Windows PowerShell)里打印出来的那条带很长 token 的登录链接。这条链接太长,手机不可能手输。
这个插件做的事,就是把这个过程变成:
电脑面板显示 8 位配对码
↓
iPhone 打开短地址 /m
↓
输入 8 位数字
↓
自动登录,进入完整 DSH Web用生活里的话说:
长钥匙不会出现在手机地址栏、浏览器历史或网页来源信息里。
这一段是专门写给“不写代码、不懂网络”的 Windows 用户的。
如果你用的是 Mac,可以直接看下面的安装。
这个插件不是 Mac 专用的。
它在 Windows 10 / Windows 11 上使用的是同一个 npm 包、同一条安装命令、同一个「手机访问」面板。 Windows 和 Mac 最需要额外注意的区别是:
Windows 第一次运行时,系统防火墙会弹出一个“是否允许 Node.js 访问网络”的窗口,点一次“允许”即可。
不需要安装 iTunes,不需要买 Mac,不需要改 DSH 源码,也不需要在 iPhone 上装 App。
只需要 4 样东西:
在 Windows 上:
PS C:\Users\你的名字> 的提示符,就说明打开了。dsh plugin --profile web add dsh-mobile-access@1.1.8 --registry=https://registry.npmjs.org/这条命令只做三件事:
web profile;如果你的 DSH 平时用的不是web这个 profile,把命令里的web换成你实际使用的名字。
不确定时先照抄;如果提示 profile 不存在,再检查你平时启动 DSH 用的名称。
如果 PowerShell 提示“dsh 不是内部或外部命令”,说明 DSH 没有加入系统 PATH。 这不代表插件坏了:请先按你平时启动 DSH 的方式打开它的终端,再执行同一条命令;或者把 DSH 的 bin 目录加入 PATH。不要因此重装 Node.js 或 DSH。
Ctrl + R 刷新刷新后,DSH 左侧栏会出现一个手机图标,名字叫「手机访问」。
如果插件管理器提示“需要重启”,请手动重启 DSH;不要连续反复重装。 正常情况下不需要重启。
第一次让手机访问时,Windows 可能弹出:
Windows Defender 防火墙已阻止此应用的部分功能
是否允许 Node.js 在专用网络上通信?请这样选:
不要勾“公用网络”(Public),除非你明确知道自己在做什么。
如果当时误点了“取消”,或者根本没弹窗,可以手动放行:
还要确认当前 Wi-Fi 被 Windows 当作“专用网络”:
如果 Wi-Fi 被设成“公用网络”,Windows 防火墙通常会更严格,iPhone 可能打不开页面。
如果 DSH 安装在 WSL(Windows 的 Linux 子系统)里:WSL 默认使用虚拟网卡,局域网里的 iPhone 通常无法直接访问 WSL 内部的端口。这不是插件本身的问题,而是 WSL 的网络隔离。建议把官方 DSH 直接安装在 Windows 本机;如果必须用 WSL,需要额外配置 WSL 端口转发和 Windows 防火墙,超出本插件“零配置”的范围。