Skip to content

v2026.11.20

Latest

Choose a tag to compare

@handstandsam handstandsam released this 20 Nov 21:26
8ace42d

⚠️ Breaking changes

  • mobile_maestro is gone entirely. Recordings that still have a mobile_maestro: step no longer replay. Re-record those steps with typed tools.
  • runCommand is removed. exec (argv only, no shell) is now the only tool that starts a host process.
  • exec and trailblaze_registerCleanup can only be called from another tool (ctx.tools.exec(...), ctx.session.addCleanup). A trail step, trailblaze tool or MCP step that names them is refused.

What's new

  • Borrow devices from another machine: a daemon can lend its Android emulators and iOS simulators (trailblaze config lend-devices true). Pair with it using trailblaze device pair <url>, or set TRAILBLAZE_DEVICE_POOLS in CI. Borrowed devices show in trailblaze device list as <platform>/<device>@<host>:<port>, and trails run on them, multi-device trails included. trailblaze device install installs an app on any device, borrowed or local.
  • Check what the screen looks like: assertRegionColor checks that an element is drawn in a given colour, or that a colour is absent, with no AI call. Scripted tools can read pixels with ctx.screen.image, and the SDK exports the colour and region-check helpers for writing your own checks.
  • iOS simulator tools: ios_simctl runs an allowlisted set of simctl commands on the session's simulator, like android_adbShell does on Android. ios_keychain sets, gets, deletes and lists keychain entries without ever logging a value.
  • Show one device's screen to another's camera: saveScreenshot and setCameraImage put one device's screen on an Android emulator's camera, for example a QR code to scan.
  • Device classifiers: a trailmap can name a classifier that gives dedicated hardware its own recordings (for example acme-k2).
  • Shared memory keys: trailmaps and toolsets declare the memory keys they share in a memory: block. Scripts refer to them as memoryKeys.<trailmap>.<key>, so a typo is a compile error.
  • Selector waits can stop early: with stopWhenSettled: true, a wait for something that usually never appears ends once the screen settles (Android accessibility driver).
  • Regional locales: a device's locale: can ask for a region such as es-MX, and recordings are keyed by it.
  • Scripted tools see the device's starting locale as ctx.device.initialLocale. rememberSecretValue stores a value that never reaches logs or recordings.
  • trailblaze toolbox --all also lists the tools the agent isn't offered. Naming one in trailblaze tool or a trail step now runs it.
  • trailblaze check --no-tests skips the trailmaps' *.test.ts files, for CI that runs them separately.
  • Reports: multi-device sessions show each device's log. The Timeline shows the recording at the moment each screenshot was taken, the storyboard fills steps that have no screenshot with video frames, and anyone hosting the report is protected from bad uploaded archives.

Faster

  • iOS AXe skips the screenshot before each action while the session records video (about 11% faster on a sign-in trailhead).
  • iPhone and iPad simulators are told apart from disk instead of from a screenshot.

Fixes

  • Saving a run that mostly replayed saves only what the AI drove. Steps that replayed cleanly keep their exact bytes.
  • AI steps treat a trail's context as the goal, not a to-do list, so they no longer act on setup the context only describes.
  • iOS: clearing app data no longer causes a crash on first launch after a simulator reboot. AXe taps a selector match only once the screen stops changing. OCR in the visible-strings export is now opt-in (TRAILBLAZE_VISIBLE_STRINGS_OCR).
  • Android: visibility assertions catch short-lived toasts, and on-device assertWaypoint finds bundled trailmaps.
  • Report Timeline: tap and assertion marks stay on the device screen in tablet recordings.
  • Typed text stays out of driver logs on every driver.
  • Device defaults: device connect in one terminal no longer redirects runs in other terminals. Only trailblaze config device sets the machine-wide default, and unset clears it.
  • Clearer error: a tool that can't run on the chosen device now says which devices it does run on.

What's Changed

  • Borrow devices across machines, read screen pixels in scripted tools, typed iOS simctl tools by @handstandsam in #289

Full Changelog: v2026.11.12...v2026.11.20

What's Changed

  • Borrow devices across machines, read screen pixels in scripted tools, typed iOS simctl tools by @handstandsam in #289

Full Changelog: v2026.11.12...v2026.11.20