chore(mobile): bump agent-device to 0.21.37
Merged
GR
4d ago+32+32+01234567890123456789-22-22-01234567890123456789
Updates agent-device from 0.21.36 to 0.21.37 in @e2e-dev/mobile, @e2e-dev/e2b, @e2e-dev/limrun, and @e2e-dev/testmu (@agent-device/testmu). 0.21.37 ships the upstream fix for #1528 (callstack/agent-device#4210).
- Pool: a paired iPhone whose CoreDevice tunnel is
unavailableis now listedbooted: false. The existingbooted === truefilter inpackages/mobile/src/pool.ts:169therefore leaves it out of the auto-selected pool, with no engine code change. - Named
device: adevicethat names such a phone now fails atbootinprepare("iOS device is not ready for automation"), before any test runs. - Swipe and scroll: 0.21.37 accepts
postGestureStabilization: false, so the opt-out from the pendingmobile-skip-post-gesture-stabilizationchangeset now takes effect. I removed that changeset's sentence saying 0.21.36 ignores it. - Test:
engine.test.tsadds the unreachable phone to the pool inventory as 0.21.37 lists it. It pins the engine's side of the contract; the fix itself is upstream. - MCP breaking changes in 0.21.37: they don't reach us. Every package uses the typed client, not
agent-device mcp, its AI SDK tools, orbatchsteps.
Issue
Fixes #1528
Verified
Ran it locally: yes, on an iOS 26 simulator. A physical iPhone was paired but reachable over Wi-Fi.
-
SwiftUI example, deterministic suite: built packages, simulator UDID in
device,e2e run. 3/3 pass on 0.21.37:✓ mobile engine for target "ios" prepared 391ms ✓ |ios| tests/deterministic.e2e.ts > shows the greeting form 2.88s ✓ |ios| tests/deterministic.e2e.ts > asks for a name when the field is empty 2.33s ✓ |ios| tests/deterministic.e2e.ts > greets the name you type 4.17s -
iOS
back(a left-edge swipe in 0.21.37, callstack/agent-device#4460): each version on Settings (agent-device back --json). Same outcome on both, so no docs change:main (0.21.36) this branch (0.21.37) on General (pushed) ok, back at Settings root ok, back at Settings root at Settings root COMMAND_FAILED, no reason, hint "Retry with --debug"COMMAND_FAILED,reason: back_swipe_no_change, hint "Press the visible back or close control by its ref from a fresh snapshot."
Not verified live:
- The unavailable-tunnel case. The paired phone's tunnel was
connectedduring the run, so both versions listed it booted. The upstream repro is in #1528's comments. - Limrun. 0.21.37 moves Limrun iOS onto the shared XCTest runner (#4224, #4275 upstream). Unit tests pass; I did not run it against a live instance.
- Golden device trees (
packages/mobile/tests/fixtures/snapshots/). I did not re-capture them: the mobile benchmark app is not built on this machine. 0.21.37 changes Android alert text and iOS 27 toolbars in snapshots (#4493, #4494 upstream). The mobile benchmark's committed recordings and the goldens may need a refresh if CI shows a tree diff.