Drives several Android phones from DSH at once, with HarmonyOS and iOS adapters behind the same tools: a claimed device belongs to exactly one session, so parallel tasks never contend for the same phone, one task can be dispatched to many devices, and every Android screen mirrors live in the right sidebar. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-phone-fleet
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:JackyZhou0227/dsh-phone-fleet#path:/plugin
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.
将 Android、HarmonyOS 和 iOS 设备接入 DSH,让 agent 能查看屏幕、执行操作,并在侧栏查看设备画面。Android 通过 adb 连接;HarmonyOS 和 iOS 分别通过 hdc 和 WebDriverAgent 连接。
功能
- 通过对话操作手机,并在操作后检查结果
- 读界面树时连「没有文案的图标按钮」一起给出;每帧带
frame_id,拿旧帧去点会被拒绝(stale_frame) tap可带verify回执、scroll按方向语义滑动,截图可裁成与界面树一致的范围- 在 DSH 侧栏查看实时投屏
- 同时连接多台设备,或向多台设备下发同一任务;批量下发时可开启目标模式,任务会自动继续直到完成
- 自动查找 adb;需要时可自动下载 Android platform-tools
安装
在 DSH 插件页添加 dsh-phone-fleet,或运行:
dsh plugin add dsh-phone-fleet
安装后重启 DSH,让插件和「手机操作」工作模式生效。
快速开始
- 在电脑上安装 Android USB 驱动(如系统需要),用 USB 连接手机。
- 在手机设置中开启开发者选项和 USB 调试,并授权这台电脑。
- 在 DSH 右侧栏点击「+」→「手机操作」,认领要操作的设备。
- 直接描述任务,例如:「打开设置,把亮度调到最高」。
也可以在手机操作面板中选择多台设备,向它们各自启动的会话下发同一任务。
支持平台
插件提供 Android、HarmonyOS 和 iOS 三个平台的连接适配。Android 使用 adb,HarmonyOS 使用 hdc,iOS 使用 WebDriverAgent(WDA);设备操作通过 DSH 工具完成,Android 还支持实时投屏。
| 平台 | 连接方式 | 当前状态 |
|---|---|---|
| Android | adb | 已实现并作为当前主要验证平台;支持设备操作与实时投屏。默认自动查找 adb,缺少时可按需下载 Android platform-tools。 |
| HarmonyOS | hdc | 适配器已实现,尚未实机验证;hdc 需由 DevEco Studio SDK 提供或自行配置路径。 |
| iOS | WebDriverAgent | 适配器已实现,尚未实机验证;需自行部署 WDA,并在配置中填写服务地址。 |
三个平台均纳入项目支持范围。当前 HarmonyOS 与 iOS 的硬件和运行环境条件有限,尚未完成实机验证;欢迎有设备和环境的用户协助测试。高级配置见维护与配置指南。
问题与贡献
使用中遇到问题,请在 GitHub Issues 提交复现步骤、DSH 版本和设备信息。开发测试与发布说明见贡献指南。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-remote-web-ui★ 10658
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★ 10658
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★ 3844
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★ 1011
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★ 532
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★ 485
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.