chore(mobile): bump agent-device to 0.21.38

Merged
KD
13d ago
+28-20

Updates agent-device from 0.21.37 to 0.21.38, released 2026-11-16, in the packages that pin it.

  • packages/mobile, packages/e2b, packages/limrun: agent-device 0.21.38. packages/testmu: @agent-device/testmu 0.21.38.
  • @e2e-dev/browserstack has no pin to change, because it uses agent-device's built-in provider through @e2e-dev/mobile.
  • Changes in the release that reach the engine, as listed in the changeset:
    • open waits for the app's first screen before the first capture (callstack/agent-device#4513).
    • An Android relaunch accepts a package that Android restarts at once (#4498).
    • iOS back presses the navigation bar's back button (#4508, #4542).
    • Keyboard dismiss and enter have a bounded idle wait (#4454).
    • A full-screen private accessibility root gets its screen origin (#4573).
  • Not re-captured: the golden device trees (no simulator or emulator here, see below). #4531 changes the text of an Android node labelled by its content description, so a re-capture can change android/*.tree.txt.

ENG-1109 (postGestureStabilization: false on test-origin gestures) is already done: #1668 shipped the opt-out and #1735 moved to 0.21.37, which honors it. This bump keeps it.

Verified

Ran it locally: no. This machine cannot run the mobile benchmark.

  • iOS: only Xcode 27.2 with the iOS 27 simulator runtime is installed. The benchmark app built with that SDK crashes at launch in _UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption (the app does not adopt the UIScene lifecycle), so every test failed with app 'dev.e2e.benchmark' is not running before agent-device did anything. CI builds on the macOS 26 image and is not affected.
  • Android: no emulator installed.
  • The mobile workflow on this PR ran both suites at 16ec9bc and they are the device check for this bump: iOS 56 passed, 1 skipped; iOS agent 21 passed, 1 skipped; Android 58 passed, 1 skipped; Android agent 20 passed. Replayed-step counts (12 of 25 on iOS, 15 of 24 on Android) match #1596 and #1641.

šŸ¤– Generated with Claude Code