Skip to content

0.1.8

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 21:38
d6ec504

Release Notes

Released 26 November 2026.

Fewer calls for the same job. An agent can read a value in the middle of a batch, read a whole list in one call, set a date or time picker, move files to and from the phone, and go down a saved path as it opens an app. Most of it came from issues #41 and #52. It also fixes setting open on Android 17 and select on the Clock app's time picker.

  • init --skill installs the skill (D137): for each agent it finds, phonedriver init --skill writes SKILL.md where that agent reads a person's own skills (~/.claude/skills, ~/.copilot/skills, and ~/.agents/skills for Codex, Cursor and Gemini CLI) and says so on the agent's line. A file already there with other text is left alone. Plain init is unchanged.
  • Fixed: tap with select on the Clock app's time picker (Android, D135): it answered the time picker showed no field to type into, because Material Components draws the hour's text field over a chip at the same place and the chip was taken for it. And select sent to the OK of a picker that was already open tapped OK first, which saved the time the picker happened to show and then said nothing was confirmed; now the picker is set and read back before that button is tapped. Agents met one or the other in 9 of 9 runs of an alarm job; with the fix the job takes 12 or 13 turns, down from 19 to 24.
  • A skill a third of the size (D136): SKILL.md is 4,706 characters, down from 14,691. It no longer repeats what each tool's description and each error's hint say and keeps what they do not. Appended to an agent's system prompt it cost 21 to 24% more tokens than no skill on two jobs where the old one cost 41%. Plain init does not install it: measured, an installed skill was opened in 2 of 6 runs and saved nothing when it was.
  • Agents chain a step further (D134): the server's instructions now say that a then path may name steps on screens not seen yet, and that a wrong guess stops there with the screen and costs one call. In 9 agent runs with it, 12 steps rode on an earlier tap against 3 in 9 runs without, about one model turn fewer on a job that walks menus.
  • Fixed: setting open showed the first screen again (Android 17, D132): once one settings screen had been opened, setting open of another left the first in front and still answered ok opened. Settings hands its own link to the page it already shows, and that page ignores it. Each screen now starts in a cleared task, so the one asked for is the one shown. Seen on the API 37 emulator: SIMs, then Battery, Internet and Dark theme, each stayed on SIMs before and each opens now.
  • setting open takes the name on the screen (D132): setting open "Battery" opens the screen with that title, and a setting's key (mobile_network_list/mobile_data) opens the screen it sits on. A word that names no screen answers with the screens that hold it (open one of: top_level_apps (Apps)), so the next call is the right one and no find goes between.
  • For contributors: CONTRIBUTING.md says how to build, what CI runs and what a pull request needs; issues have a bug form that asks for phonedriver doctor's output and an idea form; pull requests have a template.
  • launch goes down a saved path (#41, D131): launch Settings --path internet (MCP launch with path) opens the app, goes down paths/<app id>/internet.steps and answers arrived at "Internet" with the screen, in one call. The MCP server names the saved paths in its instructions, so an agent knows them before its first call, and the line after launch says where each path arrives. In runs with real agents a saved path was taken in 1 of 9 runs before and in 16 of 17 after, at 1 to 2 calls where it was 3 to 5.
  • A replay does not wait for a ticking screen (#41, Android): a replayed step, and a batch step, tells the daemon what the next step touches. When that target is in place and still, the reply stops waiting for every line of the page to agree, which a stopwatch or a ticker never lets happen and which cost a second a step; under a banner or a carousel that never stops, a step whose next target has just arrived no longer waits the whole 5 s. Every check is as it was, and a spinner, a page still sliding in, a covered target and a type wait as before. Plain quiet screens are no faster.
  • replay --screens keeps the screen that differed (#61): a step that stops for its screen writes what it saw beside the kept picture as 05.now.png and says so. A screen that differs is now looked at for 3 s before it counts, up from 1.5 s: an app on a slow machine drew nothing for 2.6 s in the middle of a switch's slide.
  • Fixed: lane the phone's own screen of this device is already open from this daemon (#59): a screenshot that found the video stream gone reconnected while it still held the old connection, so the phone refused the new one. The daemon's log now says what the agent printed when a stream ends.
  • Named paths per app (#41): a run saved as paths/<app id>/<name>.steps is a path of that app. It ends on a landmark, a wait for the screen it arrived on that save writes and a person can edit; launch names the app's paths in one line, with the blanks each needs; and replay of one answers arrived at "Internet" with the arrival screen and no step list. A path that ends anywhere else, even on a page whose title only holds the landmark's text, fails with the step, the screen, and nothing tapped after. No new tool, argument or file format; MCP replay saves and runs them.
  • Files in and out (#52, Android): files push cat.jpg copies a file from the one folder you name in PHONEDRIVER_FILES to the device's Pictures or Download, where the gallery shows it, files pull Download/a.pdf brings one back, and files list shows the newest files in Download, Pictures and DCIM (files list DCIM/Camera for more of one folder). A reply is a receipt (path, size, SHA-256) or a list of paths with sizes and ages, never contents. Nothing is replaced, a physical phone asks its owner for every file and before the first listing, and without the folder set everything is refused. MCP: a files tool (push, pull, or no argument to list). An iOS Simulator lists and pulls its photo library.
  • A shorter tool list (D130): what an agent reads of the MCP tool list on every turn is 6,877 characters, down from 7,366, with files as a tool of its own. replay's from and any_build, setting's value and batch's autonomous are still accepted and are named by the hint that needs them. setting's restore is now in the schema as a boolean, and true sent as a string is read as true. The server's instructions say that snapshot with notifications reads notifications, and the receipt of a pushed picture says the gallery shows it.
  • setting restore puts settings back (#52): the daemon keeps what each key was before its first write, in a file, so it works after a crash too. A restore prints what it did to each key and leaves one that someone else changed since. release lists what is still changed and restores nothing, because the change may be the task. MCP: setting with restore: true.
  • A screenshot of one element (#52): screenshot --within @e7 (or its text; MCP within) is that element with 8 points around it, and says where its top left is on the screen, so a pixel of it is still a point to tap. --marks works inside it. A Settings row is 10 KB where the screen is 121 KB.
  • A date or a time in one call (#52, Android): tap "Date" --select 2026-12-18 (MCP: tap with select) opens the picker, sets it, reads the value back from the picker and only then confirms; a time is 19:45. It sets a calendar that names its days and a time picker with a text input mode, which covers Android's own pickers, a web page's date and time fields, Compose's calendar and Clock. A picker it cannot set (wheels, a Compose clock face) is left open and the error shows the screen. save keeps the value.
  • Pickers of every kind, in any language, on Android and iOS (#52): tap with select now also sets date and time wheels, a Compose clock face (a minute between two marks is dragged to and read back), Material Components date and time pickers, and iOS's compact date picker and wheels. The month names and AM and PM come from the device in the language the app is drawn in, so nothing depends on English: German, Japanese and Arabic are run on the emulator and on the Simulator. A date decades away goes through the picker's list of years (11 to 15 s) or, on iOS, its year wheel (17 to 24 s). It still refuses rather than guesses: a calendar that is not Gregorian, a picker in a language the device does not name, and a confirm button it does not know are left to you, and the reply says which. iOS picker wheels now read as slider with their value. No change to the tool list.
  • A long MCP call says what it is waiting for (#52): a client that sends a progress token with a call gets a progress notification after 2 s and then every 5 s, such as wait: the condition has not held yet · 7s of 30s or replay: step 4 of 12 · 7s. A client that sends none gets nothing new, and no text given to the call is ever in the message.
  • A replay finds its device once (#41): it used to look up the default device again for every step, 0.3 to 0.8 s a replay on a Mac with Xcode; every wait that guards a step is as it was. The build check now reads the app by its id: a run saved after launch Settings kept another package's build, and one saved after a launch by a name with a space kept none and was never checked.
  • scroll --collect reads a whole list in one call (#52): it scrolls a page at a time and returns every row it passed, each once and in order, with why it stopped (the list ended, the limit, the scroll limit). MCP: scroll with collect. Scrolls in a batch return one diff, so rows in the middle were lost.
  • Notifications without opening the shade (#52, Android): notifications lists app, title, text and age, newest first (MCP: snapshot with notifications). wait notification:"code" returns the one posted since the session's last action, never an older one still up. The text stays out of traces and saved runs.
  • check reads a value in the middle of a flow (#52): check "Total" answers "Total" = "€24.99" and touches nothing; as a batch step it costs no model turn, and with equals it stops the batch before the next tap when the screen says anything else. A switch reads on or off, a settings row reads its summary, and a password field is never read. save keeps checks and replay runs them.
  • A tap that finds nothing answers with the screen (#37): a tap, type, scroll or check whose target or @ref is gone carries what changed since the screen the agent last saw, so the next call acts from the error instead of calling snapshot first.
  • Small MCP fixes: logs takes since, replay takes screens (a folder inside the server's own), snapshot lists audit, devices says what a lane is, and scroll and swipe list the four directions as fixed values.
  • Replays check what they type (#41, #42): a replayed step whose field shows other text than typed, or that nothing confirms, stops the replay; a saved type --submit sends Enter only once the field shows the text; the first line says how many typed texts were verified.
  • Saved files hold up better (#41): a field the keyboard pushed off the screen is saved by its label, and a failed scroll --until that moved the list is kept as the scrolls the next step needs.
  • Read-backs (#41): save names typed values no later step reads back, and wait finds a phone number however the app formats it, never behind a country code it did not type.
  • Blanks with examples: {{day1:Tuesday}} tells whoever fills the blank the wording the screen uses.
  • A replay checks the app's build: save keeps the build of each app it launches, and replay stops before its first step when the app is now another build; --any-build runs it anyway (#41).
  • A replay checks the screen before each step: a step runs only in the app it was saved in, and with a dialog in front exactly when there was one, so a surprise dialog or another app is never tapped (#41).
  • A replay no longer stops for a page that is sliding in (#53): Android reports the arriving page as a window short of one edge, which read as a dialog and stopped 16 of 40 replays of plain Settings steps. A step now waits up to a second for the kind of screen it was saved on before it is refused, and a step done mid-slide is saved without a screen to compare.
  • launch --restart gets out of another app's screen (#51): on Android, a page that belongs to another package (Settings' search, Default apps) stayed in front of every restart of Settings. A restart now clears the app's task as well as stopping it.
  • A batch step does what its tool does alone (#50): then on a tap or type step taps the texts it names, and a wait step keeps its own timeout_ms (--timeout on the command line). A step that names a device is refused instead of running on the batch's device, and so is any other batch-wide option written on a command-line step.
  • The approval guard is harder to get past: a button is judged by what it says when it is tapped, not when it was first seen; a label written in other characters (full-width letters, typographic quotes) is the same label; an approval needs one of the choices the prompt offered, and the prompt chooses none in advance. autonomous now covers a batch and a then chain as well as a single tap.
  • On a physical Android phone, shell also refuses input taps, swipes, text and the keys press sends (those verbs do the same with the approval guard watching), intents that place a call, and find that deletes from the storage root; open refuses an intent: link that places a call. Installs, media keys, Settings screens and find -exec with a program that reads still run. PHONEDRIVER_GUARD=off lifts all of these, as force does on one call.
  • The Android agent closes a connection that has not said hello within 5 seconds; any app on the phone could open one and hold a thread in the agent for as long as phonedriver ran.
  • Secrets: a PIN or card security code field takes only --secret text; an argument error never quotes the value it was given; a question waiting for an approval keeps a hash of the call, not its text.
  • wait answers with what changed, as an action does, instead of the whole screen. launch says when the app crashed at start and points at logs. "The tap may have missed" follows only a tap.
  • Fewer reads: a connection lists its apps once instead of on every launch, and a launch turns off the last app's OCR.
  • Clearer errors: a daemon bug in the middle of a call says so (crashed) instead of "disconnected"; an option a method does not take is refused by name; several connected devices are listed with their models; phonedriver pair stops with adb's own error instead of waiting two minutes; the npm launcher says why a download failed and when Node ignores a set proxy; phonedriver alone lists every command.
  • Steadier: a rotation reported just before an action is kept; a client of another version no longer replaces a daemon someone else is using; the reads after a settle share one 10 s limit; an iPhone that cannot be described no longer empties devices; a failed Android serial or version read is tried again; daemon.log is moved aside past 4 MiB; an odd-sized iOS frame or a restarted iOS video stream no longer breaks screenshots.
  • The screen text: an app's or a device's own name cannot add a line to a snapshot, and an empty field's placeholder prints as hint "…" so it is not read as typed text.
  • save no longer writes an empty action into steps that are not actions (files saved before still replay), and replay over MCP reads only .steps files.

Install phonedriver 0.1.8

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hridaya423/phonedriver/releases/download/v0.1.8/phonedriver-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/hridaya423/phonedriver/releases/download/v0.1.8/phonedriver-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install hridaya423/tap/phonedriver

Download phonedriver 0.1.8

File Platform Checksum
phonedriver-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
phonedriver-x86_64-apple-darwin.tar.gz Intel macOS checksum
phonedriver-x86_64-pc-windows-msvc.zip x64 Windows checksum
phonedriver-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
phonedriver-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum