Repository navigation
⚠️ Breaking changes
mobile_maestrois gone entirely. Recordings that still have amobile_maestro:step no longer replay. Re-record those steps with typed tools.runCommandis removed.exec(argv only, no shell) is now the only tool that starts a host process.execandtrailblaze_registerCleanupcan only be called from another tool (ctx.tools.exec(...),ctx.session.addCleanup). A trail step,trailblaze toolor MCPstepthat 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 usingtrailblaze device pair <url>, or setTRAILBLAZE_DEVICE_POOLSin CI. Borrowed devices show intrailblaze device listas<platform>/<device>@<host>:<port>, and trails run on them, multi-device trails included.trailblaze device installinstalls an app on any device, borrowed or local. - Check what the screen looks like:
assertRegionColorchecks that an element is drawn in a given colour, or that a colour is absent, with no AI call. Scripted tools can read pixels withctx.screen.image, and the SDK exports the colour and region-check helpers for writing your own checks. - iOS simulator tools:
ios_simctlruns an allowlisted set ofsimctlcommands on the session's simulator, likeandroid_adbShelldoes on Android.ios_keychainsets, gets, deletes and lists keychain entries without ever logging a value. - Show one device's screen to another's camera:
saveScreenshotandsetCameraImageput 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 asmemoryKeys.<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 ases-MX, and recordings are keyed by it. - Scripted tools see the device's starting locale as
ctx.device.initialLocale.rememberSecretValuestores a value that never reaches logs or recordings. trailblaze toolbox --allalso lists the tools the agent isn't offered. Naming one intrailblaze toolor a trail step now runs it.trailblaze check --no-testsskips the trailmaps'*.test.tsfiles, 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
contextas 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
assertWaypointfinds 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 connectin one terminal no longer redirects runs in other terminals. Onlytrailblaze config devicesets the machine-wide default, andunsetclears 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