# Changelog What changed for you in each release. Full notes, with every commit, are on [GitHub Releases](https://github.com/jfarcand/mirroir-mcp/releases). ## Unreleased - **Reach the phone without SSH: public mode.** `mirroir-mcp serve --public-url https://phone.example.com` adds one HTTPS listener on port 443 for clients that connect directly, such as a claude.ai custom connector at `https://phone.example.com/mcp`. mirroir is its own OAuth 2.1 server: you approve each application by typing an owner key (`mirroir-mcp auth owner-key`) on its authorize page, tokens are short-lived and bound to one resource, and `mirroir-mcp auth list` / `revoke` withdraw them. With `--viewer`, the live viewer is at `https://phone.example.com/viewer/`. The loopback listeners and the SSH route are unchanged, the serve token is never accepted on the public listener, and VNC stays on loopback. The certificate comes from files you supply (certbot or acme.sh) and is reloaded on renewal; `doctor` checks the setup. Tested end to end with claude.ai on an iPhone XR ([public mode](docs/public-mode.md)). - **Machine clients for CI.** `mirroir-mcp auth client add ` makes a client that gets tokens with OAuth client credentials. A `mirroir-remote` target takes `client_id_env` and `client_secret_env` to drive a public serve that way ([tools](docs/tools.md#a-phone-on-another-mac)). ## 0.54.0 (2026-12-01) - **Reach the phone without MCP, and watch it live.** `mirroir-mcp serve --viewer` opens the phone to clients that can't connect over MCP. mirroir speaks the standard VNC protocol (RFB 3.3 to 3.8) on port 5901, tested with macOS Screen Sharing, so a VNC client such as a GitHub Actions job through a tunnel can see and drive the phone. A page at `http://127.0.0.1:8766/` streams it (H.264 video, or JPEG where the browser has no decoder), so a browser agent such as Claude in Chrome can work from the picture. Click, hold, drag, scroll and type; ⌘1, ⌘2 and ⌘3 are Home, App Switcher and Spotlight. Both listen on loopback only, behind the serve token or the VNC password: forward them over SSH or Tailscale. An agent on the same serve wins: while its call runs, viewer input is dropped and the page says so ([live viewer](docs/cli.md#live-viewer)). - **Resume from the viewer, and without the Mac's pointer.** A "Connection Paused" overlay is now cleared with an Accessibility press: no click, so the Mac's front app and pointer stay put. A tap whose point was read on the paused screen is refused once the phone is back, instead of landing on whatever iOS shows. The viewer page gets a Resume button (⌘4), and a click on the paused screen resumes it. - **Viewer drags at your own speed.** In `viewerDragMode: scroll`, a drag reaches the phone in about the time you took, where it used to be slowed to 140 points per second (a 350-point drag took over 7 seconds). Agent swipes keep the measured pace. - **Watching stays live during the first read.** On `serve`, an agent call that arrives while macOS 27 compiles its text model waits for it without holding the phone, so the viewer keeps responding, and `status` says the warm-up is running. - **iPhone Mirroring's screens read in your Mac's language.** "Connection Paused", the iPhone in use and the other interruptions are now recognized on a Mac set to another language than English (French Canadian measured); before, only the English wording was. ## 0.53.0 (2026-11-30) - **`read_clipboard`** copies on the iPhone and returns the text Universal Clipboard brings to the Mac. - **`expect_change`** wraps one `run_steps` action and fails when the screen stays the same; `scroll_to_top` reads the status bar and refuses only when there is none. - **`mirroir pause` / `resume`**, an activity log, and a check that names a missing input grant. - **Empty window captures** are retried through a display filtered to the window, and a failed read names a missing Screen Recording grant. - **HID scrolls** are signed with the trackpad, not a Touch Bar's multitouch device. ## 0.52.0 (2026-11-28) - **Stop a long call.** Press Esc in your client (it sends `notifications/cancelled`), or close the connection to `mirroir-mcp serve`: `run_steps`, `scroll_to`, `measure` and `generate_skill` explore stop at their next check, between two actions on the phone, never during one. A cancelled explore keeps the screens it mapped. - **Progress on long calls.** A client that asks for progress (`progressToken`) sees each step of `run_steps`, each scroll of `scroll_to`, and explore's screens and actions as they happen. Over `serve`, the reply becomes an event stream when the client accepts one. - **MCP 2026-07-28 rules, followed closely.** Over HTTP, a malformed request and a missing client capability are a 400; an unsupported `MCP-Protocol-Version` lists the versions to retry with (-32022); header values with characters a header cannot hold are refused. `tools/list` comes back sorted by name. - **One `serve` client no longer speaks for another.** Each request relies only on the capabilities it declared; an `initialize` from one HTTP client is no longer applied to the next. `classify_screen` works again for clients on the `initialize` handshake. - **The first screen read after an upgrade no longer waits for macOS.** On macOS 27, the first text read by a new build compiles Vision's model, which took close to a minute. The server now does that read in the background as it starts. - **Every tool has a title, and says whether it reaches beyond the Mac.** `tools/list` gives each tool a display name (`Describe Screen`) and an `openWorldHint`: false only for the tools that read or write local files (skills, notes, targets). - **`set_network` uses Control Center on iOS 27.** On macOS 27 with an iPhone on iOS 27, it opens Control Center from iPhone Mirroring and sets the Airplane Mode, Wi-Fi or cellular data tile there, without opening the Settings app; that also covers cellular data on an iPhone with two SIMs, which Settings shows as a menu. Older iPhones and macOS 26 still go through Settings ([tools](docs/tools.md#set-network)). ## 0.51.0 (2026-11-22) - **A tap at a point says when the screen did not change.** Text taps already did; a tap at x and y (an unlabeled ✕, an icon) and `tap: @x,y` in `run_steps` now read the screen before and after, end with "Screen now: …", and say so when nothing changed, so a tap that never reached the iPhone no longer passes in silence. - **Opening an app from its Home Screen icon no longer opens its neighbour.** When the icon above a name went undetected, the tap could take the icon of the app above it: "App Store" opened Camera. An icon now counts only when no other app's name sits between it and the name tapped. - **`npx` on an Intel Mac says why it stops.** Releases ship an Apple Silicon binary only; the npm installer used to fail on a download that does not exist, and now names the gap and points to the source install ([install](docs/install.md)). - **Two unused App Switcher settings are gone.** `appSwitcherCardOffset` and `appSwitcherCardXFraction` no longer did anything since the card is found by its label; a `settings.json` that still names them is ignored, as with any unknown key. - **Screen reads recover on macOS 27 when Vision's model cache goes away.** A server running for a while could end up failing every read with `e5rtError … 13` until it was restarted. When every read in the server fails, mirroir now reads the screen in a fresh process. The first read after an upgrade or reinstall still takes about 50 s while macOS compiles the model ([troubleshooting](docs/troubleshooting.md)). - **`mirroir-mcp recognize-text `** prints the text in a PNG or JPEG as JSON. mirroir runs it itself for the recovery above. - **mirroir-run** drops the unmaintained `chrono` crate for `jiff`, and moves to `url` 2.5.9 for a security fix. ## 0.50.3 (2026-11-19) - **Swipes move the content again.** Every scroll frame lost its movement before it was sent: a slow drag reached the iPhone as zero, and larger frames were cut short. Drags now page the Home Screen and scroll lists by the distance asked, both when iPhone Mirroring is brought to the front and when input goes straight to its window. - **A Mac notification elsewhere on screen no longer blocks taps** ([#86](https://github.com/jfarcand/mirroir-mcp/issues/86)). A banner anywhere refused every tap with "A notification is showing over 'iphone'"; now only a banner over the tapped point waits, up to 8 s. - **OCR reads your Mac's languages by default.** With `ocrLanguages` unset, a Korean or Japanese Mac reads Korean or Japanese screens; codes like `fr` are matched to the ones Vision lists. - **`mirroir doctor` checks for a newer release every time.** It reused an answer up to a day old, so it could call an outdated version current. ## 0.50.2 (2026-11-18) - **Driving mode, for a phone on CarPlay.** Add `"driving": { "on": true, "allowedApps": [...] }` to `permissions.json`. While it is on, only the listed apps open, and each input first reads the phone's screen and is refused on a navigation screen; Home and opening a listed app still leave it. It is read on every call, so no restart is needed. - **Driving mode refuses Dock taps.** Dock icons carry no name, so a tap there could open an app driving mode does not list; open listed apps with `launch_app`. - **Typing reaches an iOS 27 iPhone again** while your Mac's front app stays in front. Keys sent to the window were dropped on iOS 27; iPhone Mirroring is now told it is active before each typed run, without taking the front. - **No more false "paused" after typing.** The Mac's autocorrection bubble that pops over the mirroring window (a word with a close button) was read as an interruption, and every following action refused. - **`type_text` no longer mistakes text already on screen for what it typed.** A typed word that never landed passed when the same word was elsewhere on screen (an icon label behind Spotlight); only text the keys add counts now. - **Two iPhones with different keyboards on one Mac.** `keyboardLayout` takes a list (`["Canadian-CSA", "US"]`). Text with characters the layouts type with different keys (`'`, `/`, `é`) is pasted until `type_text` gets `keyboard_layout` for the connected phone; the answer is remembered per phone, and one that types what another layout would is forgotten. Older versions read a list as US. Before, one layout for the Mac meant the other phone typed `'` as `<`. - **An open iPhone Mirroring Settings window no longer blocks input.** It was read as the mirroring window, so `status` said paused and every action refused. - **`start_recording` keeps recording until `stop_recording`** ([#85](https://github.com/jfarcand/mirroir-mcp/issues/85)). screencapture read the server's own stdin: under `serve` it stopped at once, and over stdio it swallowed the next request. On macOS 15 it also recorded the main display instead of the window; it now records the window's frame there. - **`tap` by text in Settings hits the row you named.** iOS 26 and 27 Settings end on a search field that read as the Home Screen's, so the tap aimed at an icon above the label and opened the row above (Bluetooth for Cellular). Regression in 0.50.0. - **`set_network` reads the switch before and after.** It tapped the row's label without reading anything, so `airplane_on` could turn Airplane Mode off, and the Wi-Fi and cellular modes only opened a page while reporting success. It now taps the switch only when it is not already in the asked state, reports what the switch shows afterwards, refuses a row with no switch (cellular data with two SIMs), and finds French labels. ## 0.50.0 (2026-11-16) - **macOS 27: input reaches the iPhone again** ([#84](https://github.com/jfarcand/mirroir-mcp/issues/84)). On macOS 27.3, taps, keys and swipes were reported as done but never arrived. On any macOS newer than 26, mirroir now uses HID input, which brings iPhone Mirroring to the front. The `windowInput` setting (`auto`, `on`, `off`) forces either path, and `mirroir-mcp doctor` shows which one is in use. - **`tap` says when nothing changed.** When the screen reads the same before and after a `tap(text:)`, the reply says so, instead of a silent pass. - **Tapping an app's name on the Home Screen opens it.** `tap` by text goes to the icon above the name; next to a widget it used to land on the name and open nothing. - **`launch_app` works with iOS 27's Spotlight**, which opens as a bare search field and shows its top hit without a heading. - **`launch_app` never opens the App Store for an app that is not installed.** It refuses when Spotlight's top hit is a store card with a Get button, and waits for the results to settle before pressing Return. - **`blockedApps` covers more routes.** `open_url` (Safari), `set_network` (Settings), and a tap, double tap, long press or touch on a blocked app's icon on the Home Screen or in Spotlight are refused before any input. ## 0.49.0 (2026-11-15) - Swipes slower than a flick move the content exactly as far as the finger, with no inertia; a fast swipe still flicks. - Two mirroir processes no longer steal each other's screen capture. - Pasted text and Spotlight launches are checked on screen. - A Stage Manager or Mission Control thumbnail no longer sets the window size ([#83](https://github.com/jfarcand/mirroir-mcp/issues/83)). ## 0.48.0 (2026-11-14) - Fixes for `launch_app`, `listen`, `press_home`, targets, `doctor` and the Claude Desktop bundle. - `press_home` reports a screen Home leaves unchanged as likely Home, not failed. ## 0.47.0 (2026-11-12) - **`listen`**: hear what the phone plays (a reel's narration, a voice message), transcribed on the Mac. Needs macOS 26. - `npx mirroir-mcp` works with npm 12. ## 0.46.0 (2026-11-11) - **Breaking:** `scroll_to`'s `direction` names where the content is, not the finger's direction. Compiled skills move to version 6; recompile older ones. - `mirroir-mcp serve` drives the phone over HTTP from another machine, behind a token. - Hermes Agent plugin; `get_notes` and `save_note` keep lessons per app. - Quitting iPhone Mirroring is a stop: the agent never reopens it. ## 0.45.0 (2026-11-06) - Swipes no longer take your Mac's front app or move the pointer. - Fast swipes page video feeds such as TikTok.