Drive DSH on your computer from a phone browser (scan a code), and pair two computers to move plugins, skills, rules, config and sessions across in one click. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:hanhan9999999999999999999/remote-connect-dsh#path:/plugins/dsh-remote-connect
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DSH 插件:手机浏览器操作电脑上的 DSH,以及两台电脑之间同步插件 / 技能 / 规则 / 配置 / 会话。
装好之后在 DSH → 设置 → 远程互联 里操作,五个页签:概览 / 连接 / 同步 / 手机通道 / 诊断。
装
# 从市场索引装(DSH → 设置 → 插件 → 发现,加索引源后点安装)
https://raw.githubusercontent.com/hanhan9999999999999999999/remote-connect-dsh/main/index.json
# 或者直接钉版本装
pnpm add "git+https://github.com/hanhan9999999999999999999/remote-connect-dsh.git#v1.0.75&path:/plugins/dsh-remote-connect"
# 或者拷到 profile 的 plugins 目录,再跑一次自带安装器
node scripts/install.mjs --profile <profile 名> # --dry-run 先看要写什么
npm 装不了 git 子目录(会报 ENOENT … package.json),用 pnpm,或上面的拷贝方式。
两件事
| 能力 | 用法 | 前提 |
|---|---|---|
| 📱 手机通道 | 手机扫码连上这台电脑的 DSH,浏览器里直接对话 | 本机有一份 phone-bridge 目录 |
| 💻 电脑互联 | 两台电脑配对后互相同步插件 / 技能 / 规则 / 配置 / 会话 | 两台都装本插件,同网段或能直连 |
手机通道的桥接目录按这个顺序找,都不用手动配:
config.bridgeDir > config.dir > 环境变量 DSH_PHONE_BRIDGE_DIR
> 自动探测 $DSH_HOME/phone-bridge、./phone-bridge、~/phone-bridge
> 第一个候选目录
自动探测只认里面真有 ensure-running.ps1 或 server.mjs 的目录;一个都没有时页签会显示
「本机还没装手机通道」并告诉你它在找哪儿,不会甩一个 ENOENT 给你。细节见 docs/PHONE.md。
接口
本机路由挂在 /dsh-remote-connect-api/* 下共 30 条,手机通道另有 /dsh-phone-api/* 5 条;
两台电脑之间走 /dsh-link/v1/*(health / hello / inventory / export / apply / rollback / bye)。
完整清单在 docs/ARCHITECTURE.md,test/docs-guard.mjs 会拿运行时注册的路由
去对文档,改了代码忘了改文档会红。
安全
- 配对走 scrypt + 挑战应答 + HKDF + HMAC 签名,帧用 AES-256-GCM;会话 12 小时,nonce 防重放。
- 同一 IP 连续失败 10 次锁 10 分钟。
- 同步默认排除依赖、缓存、日志、密钥、凭据;插件自身的数据目录永久排除。
- 威胁模型与边界见 SECURITY.md。
开发
node test/run-all.mjs # 全量:client-smoke / inventory-guard / deps / bridge-dir / docs-guard / plugin-smoke / e2e
零第三方依赖,node >= 20。MIT,作者 茄茄子。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-remote-web-ui★ 10458
Remote control of a dsh web workspace from phone or PC: QR-code pairing through a token-gated channel, SSE real-time sync, and separate mobile and full desktop GUI modes.
zhu1090093659/dsh-web#packages/dsh-ssh★ 10458
SSH ops panel for DSH: web terminal, SFTP transfer with progress, local port forwarding, and one-command cluster execution across hosts; agents share the same host config.
liguobao/ds-harness-remote★ 3072
Multi-device remote access for DeepSeek Harness and supported coding workspaces through an end-to-end encrypted channel, with adaptive Relay/WebRTC transport, device authorization, workspace files, read-only previews, terminals, and optional Codex Remote.
saya-ch/dsh-mobile★ 868
Access DeepSeek Harness from the Android app or a mobile browser with secure LAN and remote connections, persistent device pairing, and a customizable mobile interface.
uumit-ai/dsh-uumit-remote★ 523
Open dsh web from your phone or another computer through a UUMit account, without running your own server or installing another program: a built-in tunnel client connects to UUMit's hosted tunnel, and a panel in the sidebar handles pairing and who can use it (only you, people you invite by link or phone number, or everyone), with revocation. Requires dsh web on DSH >=0.2.1-rc.2.
ZSeven-W/dsh-ios★ 468
A live iOS Simulator or USB-connected iPhone inside the conversation: 22 agent tools for booting, building, driving the UI by accessibility identity or OCR text, list-row actions and SwiftUI preview hot reload, plus a streaming sidebar panel you can tap and drag on.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.