- Inicio
- Plugins
- Integraciones y acceso remoto
- dsh-iphone-mirroring
dsh-iphone-mirroring
cyberbolt/dsh-iphone-mirroring
Controla un iPhone real desde DeepSeek Harness mediante iPhone Mirroring en macOS. Sus 24 herramientas iphone_* leen la pantalla como texto, tocan por etiqueta, escriben, deslizan, abren apps y reproducen flujos de varios pasos; solicita aprobación antes de acciones arriesgadas, devuelve capturas como adjuntos y ofrece un panel de estado que guía por los 2 permisos de macOS. Solo para Mac con Apple Silicon. Las rutas HTTP no comprueban el acceso a DSH, así que una página web abierta en el navegador podría llamarlas.
Instalar
dsh plugin --profile web add github:cyberbolt/dsh-iphone-mirroringREADME
dsh-iphone-mirroring
English · 简体中文
Let DeepSeek Harness drive your iPhone.
Quick start: Plugins → Add plugin → dsh-iphone-mirroring → run the health checks on the
plugin card (they walk you through the two macOS permissions) → tell DSH to work the iPhone.
Install
Requires an Apple Silicon Mac, macOS 15+, an iPhone Mirroring session that is already connected, and DSH 0.2.2-rc.5 or newer.
- Open Plugins → Add plugin and install
dsh-iphone-mirroring. - Open the plugin card and run the health checks. When macOS asks, grant Screen Recording and Accessibility to DeepSeek Harness.
- Tell DSH to work the iPhone.

From the command line:
dsh plugin add dsh-iphone-mirroring --profile <profile>
The package is published on npm; both routes install it from the npm registry.
Install from a checkout or a tarball
pnpm install --ignore-scripts
pnpm pack
dsh plugin add "file:$PWD/dsh-iphone-mirroring-<version>.tgz" --profile <profile>
Uninstall: remove it on the Plugins page.
What you can ask for
- "Open WeChat on the iPhone and send Xiaoming a 50-word reflection."
Tools
The plugin exposes 24 iphone_* tools to DSH. In normal use DSH picks and combines them on its own —
you rarely need to name one. The list below is grouped by purpose so you can see what each tool does;
the full parameter reference lives in DSH's tool panel.
Reading the screen
| Tool | What it does |
|---|---|
iphone_status | Reports the connection state: connected, paused, or not running. deep runs the full health check, orientation reports the orientation and window size |
iphone_screen | Reads the current screen as a text list with tap points — the way to find and tap buttons. scroll walks a whole page for you |
iphone_screenshot | Saves the screen as a PNG, for layout, colors and icons that text cannot describe. region crops, scale shrinks the image |
iphone_listen | Transcribes what the phone is playing (a reel, a voice message). Start playback first |
Tapping and typing
| Tool | What it does |
|---|---|
iphone_tap | Taps text it matches on screen, or raw coordinates. The reply reports what changed |
iphone_type | Types into the focused field — tap the field first. clear empties it first; Chinese and emoji paste through Universal Clipboard |
iphone_key | Presses a key — return, backspace, tab, arrows or one character — optionally with command/shift and friends |
iphone_hold | Holds keyboard keys for a while, optionally with a mouse drag at the same time; the input some games need |
iphone_touch | Keeps one finger held across calls (begin / move / end / cancel), for a virtual joystick or a long drag |
iphone_gesture | Long press, double tap, drag, pinch, rotate or shake: pick an action and give its coordinates |
Swiping and navigating
| Tool | What it does |
|---|---|
iphone_swipe | Swipes between two points. Flick for distance or to page a feed; a slow drag travels less |
iphone_scroll_to | Scrolls until a given label shows up, to reach something far down a page; to_top jumps back to the top |
iphone_home | Goes to the Home Screen |
iphone_back | Taps the back chevron to go back one screen |
iphone_launch | Launches an app by name, or opens a URL in Safari |
iphone_app | Opens the app switcher or Spotlight; reset force-quits an app, restart reopens mirroring when input stops landing |
Copying, batching and recording
| Tool | What it does |
|---|---|
iphone_clipboard | Copies exact text off the phone through Universal Clipboard, for what OCR can misread. Needs Handoff on both devices and overwrites both clipboards |
iphone_run | Replays a list of steps that already worked, in one call |
iphone_raw | Escape hatch: calls any raw engine tool by name, for what the curated tools do not cover |
iphone_notes | Keeps one-line notes per app, read back in later sessions |
iphone_record | Records the mirrored screen to a .mov: start, later stop |
iphone_measure | Times a transition: run an action, wait for text, report how long it took |
Network and targets
| Tool | What it does |
|---|---|
iphone_network | Toggles airplane mode, Wi-Fi and cellular. Turning airplane mode on or Wi-Fi off can end the mirroring session |
iphone_target | Lists the automation targets, or switches which one the tools drive (the phone, or a macOS window) |
The plugin also ships an iphone-mirroring skill.
Configure
| Setting | Default | Meaning |
|---|---|---|
approvals | sensitive | sensitive: only ask about risky actions; all: ask about any call that changes the phone, taps and typing included; none: never ask |
How it works
A call goes roughly like this:
your request → calling an iphone_* tool → arguments checked → queue
→ the engine captures a frame and reads it → reply carries the screen change
Troubleshooting
The card reports a missing macOS permission
Both permissions belong to DeepSeek Harness: grant them in System Settings → Privacy & Security, restart DeepSeek Harness, then run the health checks again.
The panel says another client is driving the phone
The plugin lets only one client drive iPhone Mirroring at a time; close the other client.
For anything else, open an issue.
Limits
- Apple Silicon macOS only: no Intel Mac.
iphone_clipboardneeds Handoff on both devices and overwrites the clipboard on both sides.- iPhone Mirroring pauses while the Mac is locked or the phone is in use, which stops the plugin from working at that point.
Documentation
Development
pnpm install
pnpm vendor:engine # fetch and verify the pinned engine into vendor/
pnpm check # build, typecheck, lint, unit tests, package shape
pnpm e2e # read-only live check against the real engine
License
MIT for the plugin. The engine is an unmodified redistributed copy of mirroir-mcp 0.53.0, which is
Apache-2.0: its licence text ships in vendor/LICENSE.mirroir-mcp, and the details are in
THIRD_PARTY_NOTICES.md.
Plugins relacionados
dsh-purge
kingcharleslzy-ai/dsh-purge
dsh-web (dsh-ssh)
zhu1090093659/dsh-web
dsh-web (dsh-remote-web-ui)
zhu1090093659/dsh-web
dsh-web-ui (dsh-ssh)
zhu1090093659/dsh-web-ui