flutter_probe_agent 0.28.0
flutter_probe_agent: ^0.28.0 copied to clipboard
On-device E2E test agent for FlutterProbe. Embeds in your Flutter app and executes test commands via direct widget-tree access.
Changelog #
[Unreleased] #
0.28.0 - 2026-11-26 #
-
Fixed: on an app that uses
package:material_uiorcupertino_ui(Flutter 3.50+),is enabledpassed on a disabled button: the agent reads the state from the classes ofpackage:flutter/material.dartandcupertino.dart, and a control of the standalone packages has the same name but another class (issue #852). Until those packages are supported,is enabled,is disabledandis checkedrefuse ("cannot be evaluated"), negated steps too, when the target is, holds or is inside a control with the name of one the agent reads but not its class. The framework's own controls, and an app's own controls with other names, are read as before; an app class with one of those exact names is refused too. The rule goes by class names, so an--obfuscaterelease build does not refuse. -
Fixed:
is enabledpassed on a disabled control when the id was on a wrapper around it (a keyedSizedBox, aKeyedSubtree, aSemantics(identifier: ...)), anddon't see ... is disabledpassed too (issue #860): the enabled reader looked at the target and its ancestors, never below. It now reads the target, then the first control it holds, then what holds it, as the checked reader does. A container whose id holds controls reads as them when they agree (all enabled, or all disabled), and refuses ("holds 2 controls that disagree") when they do not: put the id on the control to check. -
Added: the
probe.visible_summaryanswer has additive keys for a reader that must know it saw everything:editable_texts(the value of every visible, non-obscured field, recorded even when aTextwith the same text is already in the de-duplicatedtexts),rich_texts(visibleRichTexts that noTextand noIconbuilt),max,counts(distinct items seen per list) andtruncated(a list saw more thanmax).textsandkeysare unchanged, and so are the failure hints. An older CLI ignores the new keys. -
Fixed: a tap on a widget inside an
IgnorePointerpassed with no warning while the tap did nothing (issue #842), so even--fail-on-warningpassed. The hit test skips the widget and stops at a pointer handler around it (often the list's own scroll listener), which the agent took for a parentGestureDetectortaking the tap. Such a tap now gets the warningtap target ... is inside an IgnorePointer, so it receives no taps. A passive label inside anIgnorePointerunder a parent that takes the tap (a common button structure) still gives no warning. -
Fixed: a widget found by its semantic label or tooltip read as empty text (issue #818). When no visible text matches, a text selector falls back to a
Semanticslabel (anIconor anImagewith asemanticLabel) or aTooltipmessage (an icon button), and the match is thatSemanticsorTooltipelement; the text read used bycontains,matchingandappears matchingknew onlyText,RichTextand text fields, sosee "Logo" contains "Logo"failed withcontains "". Such a match now reads as its label or message. A text field under a labelledSemanticsor aTooltipstill reads as the field's text, and an obscured one as nothing, as before. Changed for an element that is itself a labelledSemanticsand has no text field below it, when it is the match (by#idon aSemantics(identifier:)): it reads as its label where it read as""(Semantics(identifier: "tot", label: "Total label", child: Text("42.00"))found by#totreads "Total label"; it never read "42.00"). Not changed: a widget found by#idwhose only text is a tooltip reads as""(the id match is the button). -
Fixed:
see exactly N "<text>"counted an ordinaryTexttwice (issue #800). ATextbuilds aRichTextinside it, and both matched the text, so oneTextwas found 2 times; an ordinal (2nd "Row") could pick the firstText's innerRichText, and a text inside a container (see "x" in "y") was doubled too. ARichTextbuilt by aTextthat also matches is now left out, so each visible text is one match: aText, aText.rich, aRichTextof its own and a button's label each count once. Breaking for a suite that relied on the doubling:see exactly 2for oneTextnow fails (assert the real count), and an ordinal that landed on the inner paragraph of a singleText(tap 2nd "8"where only one "8" is shown) now finds nothing (usetap "8"). -
Fixed: after a relaunch, a step could run on a screen laid out at 0×0. An app can draw its first frames with a 0×0 view for about a second after it starts (measured on an Android 15 emulator, about 1 to 1.2 s), and a
ListViewlaid out then builds only its first child, so aseeortapright afterrestart the appsaw half the screen (issue #793). The view's size changes the moment the engine reports it, but the widgets are laid out at it only in the next frame, and a request in between saw the 0×0 layout. The agent now records the size each frame was laid out at (fromProbeAgent.start), and every request first waits, at most 2.5 s, until a frame has been laid out at the view's real size. When it has, this is a synchronous check, with no await; after a resize (a rotation) a request waits for at most one frame. It never waits when the app has no view or is not in the foreground, and after one capped wait it does not wait again until the view's size changes (other metrics, such as keyboard insets, do not count).ProbeAgent.start()does not initialise the Flutter binding: an app may install its own binding after starting the agent. The frame callback is added when a binding exists: atstart()if the app made it first, otherwise on the agent's first request under the app's binding. Under a test binding (frames only onpump) the agent keeps the earlier rule, as it already did for settling. Adding the callback never throws; until it is added, the earlier rule applies.probe.pingreports the wait inview_ready_ms(0 when none), and the capabilitywaits_for_view_sizeis added. Both are for diagnostics: an older CLI ignores them. -
Added:
probe.pingandGET /probe/statusalso reportapp_id, the application id of the app the agent runs in: on Android the process name (/proc/self/cmdline, the package name unless the app setsandroid:process), else the build definePROBE_APP_ID. Left out when it is not a plain application id (dot-separated segments of letters, digits,_and-, at most 255 characters); nothing is guessed. The status endpoint needs no token, like the version it reports. -
Changed (breaking for a suite that asserts a password field's value): the value of an obscured field (
obscureText: true, Material or Cupertino) is never a match target of any selector. A text selector used to matchEditableText.controller.textof an obscured field, sosee,wait until ... appears,tapandselector_boundsby the typed text, or by a prefix of it, found the field, which let a test learn the value one prefix at a time. The field is still found by its id, key, label or hint. A failure message on a screen that has an obscured field says "an obscured field's value is never searched", whatever was asked. A suite that asserts such a value withsee "<value>"will now fail: that is the point; assert something the field does not hide (a label, a mirror of its length, or what the app does after the input). -
Fixed:
see "..." is checkedread a radio under Flutter'sRadioGroupAPI as never checked. Since that API the group value is kept by theRadioGroupabove the radios, and the agent compared a radio's value with its owngroupValue, which is null there. It now uses the radio's own group value when it has one (the older form still works, and wins over a group above it), else the group value of the nearestRadioGroupabove it (nothing selected selects nothing), forRadio,RadioListTileandCupertinoRadio. When the radio has no group value of its own and noRadioGroupis found, or the group's value cannot be read, the answer is "not a checkable control", never a wrong yes or no. Limits:RadioGroupis found by its class name, so a build that renames classes (an obfuscated profile or release build) does not find it, which gives the "not a checkable control" answer; an app's own widget namedRadioGroupthat has agroupValueis read as a group. The tests of the realRadioGroupare intest_radiogroup/and are run by hand (see its README). -
Added:
probe.pingalso reports, when the app's build knows them,flutter_version,flutter_channel,framework_revisionanddart_version: the Flutter and Dart that BUILT THE APP (the Flutter tool puts them into every app build as compile-time defines, which the agent reads directly), not the Flutter that published this package. Each is left out when unknown, empty or not plain version text (letters, digits, dots, dashes and plus signs, at most 64 characters); the Dart version falls back to the running VM's. An older CLI ignores the fields and an older agent sends none. A fork or a custom embedder can report values that are not the real ones. -
Added:
see #field is filledandsee #field is empty(and theirdon't seeforms): whether a text field holds at least one character. The check asks only whether the length is above zero, so the value is in no answer, error or hint, and an obscured (password) field is answered like any other. It looks at the matched widget and below it, never at an ancestor or a sibling, so a label next to a field cannot be mistaken for it; a widget that is not exactly one text field (a label, a button, a container with none or several fields) is refused (is not a text field,holds N text fields), also by a negated check, instead of passing. A pattern sent with it is refused (invalid params). The agent reports the new capabilitysee_filled; an agent without it passes any state word it does not know, so the CLI refuses the step before sending it to one. -
Fixed: on Flutter 3.50 the children of an
IndexedStackthat are not shown, and the items of a closedDropdownButton(which keeps them in anIndexedStack), were seen:seepassed anddon't seefailed (issue #900). Flutter 3.44 wrapped each hidden child in aVisibility(visible: false), which the agent recognised; 3.50 does not, and the hidden child stays mounted at its size. A widget under a child that is not at the stack'sindexis now not visible (anullindex shows none, nested stacks count each level), insee,tap, the selectors,probe.visible_summaryand the device view. An ordinaryStackis unchanged. -
Fixed: a
scrollwith no selector no longer moves a list on a page anIndexedStackdoes not show. The agent ranks scrollables by whether they can be scrolled and receive touches, so a long list on a page that is not shown beat a short one on the shown page and was moved, while the screen stayed as it was. Pages the stack does not show are skipped.
0.27.0 - 2026-11-11 #
- Fixed: the agent reports its package version at handshake. It reported 0.26.0 in 0.26.1, so the CLI warned of a version mismatch even when the versions matched. A test now fails when the two differ.
0.26.1 - 2026-10-26 #
- Security: secret text in password and credential-named fields is no longer listed or read as text in warnings, widget summaries or recordings.
0.26.0 - 2026-10-14 #
- Added: device view methods, all additive and for debug or profile builds only:
probe.tap_at,probe.long_press_at,probe.swipe_at(pointer events at logical coordinates),probe.type_text(inserts into the focused field),probe.hit_test(the widget at a point),probe.dump_treewithbounds: true(nodes with logical-pixel bounds), andscaleonprobe.screenshot(the reply also carrieswidth,height,logicalWidth,logicalHeightanddpr). An older CLI never sends them. - Added:
probe.screenshotacceptsinline: true. The image is returned in the answer only and the agent deletes its temporary copy, so a client that asks for frames several times a second (Studio's live view) no longer leaves thousands of PNGs in the device's temp directory. Without the flag the answer is unchanged, and an older agent ignores the flag.
0.25.2 - 2026-10-13 #
- No agent change (
flutter_probe_agentis released in step with the CLI).
0.25.1 - 2026-10-12 #
- No agent change (
flutter_probe_agentis released in step with the CLI); the README install snippet now points at 0.25.
0.25.0 - 2026-10-12 #
- Added:
probe.perf_starttakes an optionalframeBudgetMs(default 16.7): frames above it count as slow in that window. The snapshot and the start reply report the budget in use (frameBudgetMs); an older agent ignores the parameter and the CLI warns.
0.24.0 - 2026-10-11 #
- Fixed:
double tapandlong presson a target that something else covers now return the same "covered by another widget" warning astap(they used to succeed silently);--fail-on-warningturns it into a failure.
0.23.0 - 2026-10-10 #
- Added:
probe.perf_start/probe.perf_snapshot/probe.perf_stop: frame timings (build/raster, slow-frame share, p50/p95/p99/max) from the engine's timings callback and resident memory sampled every 250 ms, between a start and a stop.perf_stopwaits about a second for the last batch of frame timings.
0.22.1 - 2026-10-09 #
- Changed: HTTP capture also redacts
x-goog-api-key,api-key,x-auth-token,x-access-token,x-amz-security-token,x-csrf-token,x-xsrf-tokenheaders and the values of credential query parameters (key,api_key,access_token,token,id_token,refresh_token,auth,secret,password,sig,signature) in logged URLs (reported by a user review of 0.22.0).
0.22.0 - 2026-10-09 #
- Added: the agent records the app's
dart:ioHTTP traffic (HttpOverrides; method, URL, status, duration, redacted headers, 64 KB bodies, last 300 exchanges;PROBE_HTTP_CAPTURE=falsedisables) and answersprobe.http_log/probe.http_clear. - Changed:
probe.mockis now effective (it was only stored): matching requests are answered with the given status, body, headers, delay or connection failure (served by a loopback server so the app's client sees real HTTP). Mocks match a method and a path with*wildcards (or a full URL).
0.21.0 - 2026-10-09 #
- No agent change (
set language,--locale/--localesandl10n "key"live in the CLI); version aligned.
0.20.0 - 2026-10-09 #
- Added: loose text matching (
looseselector flag,probe test --match-loose): case, accents/diacritics, typographic apostrophes and dashes, full-width forms, invisible characters and whitespace fold on both sides (lib/src/textfold.dart, identical to the CLI via a shared fixture). Off by default. - Fixed (regression in 0.19.2+):
scroll down in "<anchor>" until X appearsfailed withWidget not found: text("<anchor>")once the anchor had scrolled off screen, because the scrollable was re-resolved from the anchor on every step. It is now resolved once. - Fixed:
wait for idle(and the settle after every action) returned before the UI reflected a tap. AsetStateschedules a frame, but the scheduler phase still reads idle until it starts, so the nextseeread the stale tree ("UI one tap behind", intermittent, seen on bottom sheets). The settle check now lets a requested frame run first (bounded to 250 ms, so a screen that animates forever does not stall actions).
0.19.5 - 2026-10-09 #
- No agent change (iOS driver and Android dialog fixes in the CLI); version aligned.
0.19.4 - 2026-10-08 #
- No agent change (iOS
clear app datafix in the CLI); version aligned.
0.19.3 - 2026-10-08 #
- Fixed: the target of a bare
scroll/swiperanks scrollables that can scroll (extent > 0, physics accepting user input) before ones that cannot (a non-scrollable PageView).
0.19.2 - 2026-10-08 #
- Fixed: tap, long press, double tap, type and clear scroll a built but off-screen target into view (since 0.19.0 they failed on it).
0.19.1 - 2026-10-08 #
- No agent change (iOS
clear app datafix in the CLI); version aligned.
0.19.0 - 2026-10-08 #
- Fixed: text/id lookups ignore widgets laid out entirely off screen and elements without a render object (mid-rebuild);
screenshotretries while a boundary still needs paint.
0.18.1 - 2026-10-08 #
- Fixed:
probe.set_time_dilationwith a non-positive factor sets 0.001 instead of an invalid 0.
0.18.0 - 2026-10-08 #
- No agent change (implicit waiting is a CLI feature); version aligned.
0.17.2 - 2026-10-08 #
- No agent change (CLI migrate fixes); version aligned.
0.17.1 - 2026-10-08 #
- Fixed: the
checkedstate check was missing and passed for every widget; it now reads Switch, SwitchListTile, CupertinoSwitch, Checkbox, CheckboxListTile, Radio, RadioListTile, FilterChip and ChoiceChip.
0.17.0 - 2026-10-08 #
- Fixed:
is disabled/is enableduse the control enclosing the matched text (button, icon button, FAB, text field, switch, checkbox). - Added:
waitaccepts apatternforappears(matching); text selectors fall back to Tooltip messages and Semantics labels when no visible text matches.
0.16.9 - 2026-10-08 #
- Fixed: bare
type/clear(empty selector) act on the focused text field (error when none is focused). - Fixed:
see/wait untilfind content of a page under a see-through route (dialog, bottom sheet, popup), for example a SnackBar.
0.16.8 - 2026-10-08 #
- Fixed:
probe.seeapplies thepatternparameter (matching); it was received and ignored.
0.16.7 - 2026-10-08 #
- Added: device action
press_enter(keyboard action key on the focused text field; warns when nothing has focus).
0.16.6 - 2026-10-07 #
- Fixed: a tap whose point is received by nothing (clipped, off screen, under the keyboard) produces the covered warning (when the screen also did not change) instead of a plain success; the warning mentions an open keyboard.
0.16.5 - 2026-10-06 #
- Changed:
go backat the root route is a no-op with a warning instead of leaving the app (Android). - Fixed: the "covered by another widget" tap warning is only reported when the tap also changed nothing on screen
(no more false positives on SnackBar actions);
tapprefers the reachable copy among several matches.
0.16.4 - 2026-10-06 #
- Fixed:
tapprefers the reachable widget among several matches and warns about a covered target only after it stays covered for ~0.6 s (FP-21).
0.16.3 - 2026-10-06 #
- Fixed:
tapwaits (up to 2 s) until the target is hit-testable after a scroll, and only warns when the widget at the tap point is unrelated to the target (FP-20).
0.16.2 - 2026-10-06 #
- Changed:
tapreturns awarningin its result when another widget covers the tap point (the tap still happens), and waits up to 1.5 s while a scrollable around the target is still scrolling (Flutter ignores pointer events during scroll activity) (FP-19).
0.16.1 - 2026-10-06 #
- No agent change. Version bump to match the CLI release 0.16.1 (the 0.16.0 CLI release failed to build on Windows; see the root changelog).
0.16.0 - 2026-10-06 #
- Fixed: a bare
scrollchose the largest scrollable even when it was a hiddenIndexedStacktab; it now prefers a scrollable that receives touches at its center (FP-16). - Fixed: id selectors in error messages read
id("#key"); they now read#key. - Docs: full agent reference in the README (build flags, ports and tokens, modes, troubleshooting) and a documentation link on pub.dev. The agent still has no native plugin dependency.
0.15.0 - 2026-10-06 #
-
Fixed:
agent_version.dartreported 0.13.0 in 0.14.0, causing a bogus CLI/agent version-mismatch warning. -
BREAKING (WiFi auto-discovery only): the core agent no longer depends on
bonsoir. A native plugin in an app's dependencies is linked into every build of that app, release included (size, privacy, a possible local-network prompt) regardless of--dart-define=PROBE_AGENT. mDNS advertising is now an optional hook: implementProbeAdvertiserin your own app (copy-pastebonsoirexample in the Studio docs) and pass it toProbeAgent.start(advertiser: ...)in the build flavor that wants it. No separate package is published. Without it WiFi testing is unchanged (--host <ip> --token <token>) and the agent logsPROBE_MDNS=off. New public API:ProbeAdvertiser,mdnsServiceType. The advertised port is now the actually bound port (it used to be the preferred one even after a fallback) (FP-15). -
Fixed: the finder/executor resolved routes with
ModalRoute.of(element), subscribing queried elements to a route scope from outside a build; since 0.10.0 that could trip a framework assertion (red screen) after closing a sheet or dialog. Routes are now read without subscribing (probeRouteOf) (FP-13). -
Added:
probe.scrollacceptsuntil(selector) — scroll until the target is on screen, thenensureVisibleit; stops early at the end of the list (FP-13). -
Added:
probe.waitkindidle(route transitions + frames/animations/HTTP settled);tapwaits up to 2 s for an in-flight route transition (FP-13). -
Added:
probe.visible_summaryRPC;Widget not found/Timed out waiting forerrors now list the visible texts and keys (FP-13). -
Added:
--dart-define=PROBE_PORT=<n>moves the agent off 48686 (pairs withprobe test --agent-port). -
Fixed:
type/clearassignedcontroller.text, which never reachedonChanged/inputFormatters; they now useEditableTextState.userUpdateTextEditingValuelike real keystrokes (FP-13).
0.14.0 - 2026-08-31 #
- Fixed:
tap #idcould invoke a Semantics-wrapped button'sonTapdirectly even when something else (a modal barrier, a loading overlay, an unrelatedStacksibling) covered it on screen —_tryDirectTap's Element-tree walk has no relationship to paint order. Now gated behind a read-only hit test (the samehitTestInViewcall Flutter's own pointer dispatch uses internally); only takes the direct-invoke fast path when the target is genuinely the topmost thing at its own screen position, otherwise falls through to the existing real hit-tested pointer tap (FP-10).
0.13.0 - 2026-08-15 #
- No agent-side changes — version kept in lockstep with the CLI's 0.13.0 release.
0.12.1 - 2026-08-15 #
- No agent-side changes — version kept in lockstep with the CLI's 0.12.1 release.
0.12.0 - 2026-08-15 #
- Fixed: the app-cache-dir copy of the ProbeAgent's reconnection token was written once, at
server startup, to a directory Android documents as clearable by the OS at any time (confirmed
reproducible: the file disappeared permanently, mid-session, after visiting a screen that
touches
ImagePicker— PT-27). The existing every-3-secondPROBE_TOKEN=log re-print now also re-attempts the file write, so a cleared cache dir gets a fresh copy back within seconds instead of staying gone — and permanently breaking reconnection — for the rest of the session. - Fixed:
_textOfonly readText/RichTextwidgets, sosee #field contains "..."silently returned an empty string for anyTextField/TextFormFieldselector (the check always failed, reportingcontains "", not "<expected>"). Now reuses the existing_findTextControllerup/down search (already used for tap-to-focus andclear()) to find the underlyingEditableText's controller when the matched widget isn'tText/RichText/EditableTextitself.
0.11.0 - 2026-08-14 #
- Added:
ProbeFinder.boundsForand a newprobe.selector_boundsRPC method — resolves a widget's full on-screen pixel bounding box (origin + size), not just the center pointdump_tree/_elementInfoalready expose. Used by the CLI to black out configured regions of a screenshot before it's sent to an AI provider forsee "..." with aiassertions (FP-1). No behavior change for any existing selector/finder call.
0.10.4 - 2026-07-06 #
- Fixed: the
ordinalselector kind (tap 1st ...,tap 2nd ..., etc.) always matched by displayed text only, even when combined with an#idselector —1st #card_idsilently matched nothing, since#card_idisn't real on-screen text. Now checks for the#prefix and matches by key instead when present, mirroring the plainidselector kind (PT-26).
0.10.3 - 2026-07-06 #
No changes to this package's own code — bumped to stay in lockstep with the CLI's
version. This release's fixes (PT-23: recipe calls starting with "open" misparsed;
PT-24: hyphenated recipe names misparsed) are entirely in the Go CLI's parser/lexer.
Full detail in the root CHANGELOG's [0.10.3] section.
0.10.2 - 2026-07-06 #
No functional changes — a test-only addition (test/sequential_focus_autofocus_test.dart)
locking in correct sequential tap+type behavior when a field auto-focuses on page load,
after a reported regression (PT-21, reopened) was re-investigated and found not to
reproduce. Full detail in the root CHANGELOG's [0.10.2] section. Version bumped purely
to stay in lockstep with the CLI's version.
0.10.1 - 2026-07-05 #
No changes to this package's own code — bumped to stay in lockstep with the
CLI's version (used for the probe.ping version-mismatch check). This patch
release's fixes (ProbeScript's wait for ... parsing, plus two CI-only
automation fixes) are entirely on the Go CLI/tooling side. Full detail in the
root CHANGELOG's [0.10.1] section.
0.10.0 - 2026-07-05 #
A hardening release — every fix below was found and verified against a real
device, working through a backlog of real E2E test issues surfaced by driver
projects. Full detail on each is in the root CHANGELOG's [Unreleased]
section (also being cut as part of this release); this is the summary
relevant to apps embedding this package directly.
probe.pingnow returnsagent_version(this package's version) alongsideok, and accepts an optionalclient_versionfield from the CLI. Part of the CLI↔agent version-compatibility handshake. Both fields are additive and ignored by older CLIs/agents that don't know about them.- Fixed: the version reported in mDNS advertisements and
GET /probe/statushad drifted to0.7.0while this file's version moved on — corrected to matchpubspec.yamland moved into its ownagent_version.dartfile. - Fixed:
scroll/swipecould report success while producing zero visible movement (a single-jump synthetic drag, and stale content from a route mounted underneath the current one both resolving as visible). - Fixed:
tap #idcould leave a text field genuinely unfocused, and thefocusedstate check (see/don't see #id is focused) had a false positive matching ancestors of the selected element. - Fixed:
tap #id's fast direct-invoke path now recognizesInkResponse(not justInkWell), covering more Material buttons before falling back to a real hit-tested pointer tap. - Fixed:
wait until #id appears/disappearsalways searched for the literal text"#my_button"instead of resolving the id — timed out on every non-text widget (icon buttons, etc.) regardless of visibility. - Fixed:
close keyboardandclose the appwere both complete no-ops.close keyboardnow callsFocusManager.instance.primaryFocus?.unfocus()directly;close the appcallsSystemNavigator.pop(). - Fixed:
don't see #id is <state>(negated state checks —focused,enabled,disabled,contains) silently ignored the checked state, degrading to a bare existence check. - Fixed:
scrollcould lose the gesture arena toDismissible-wrapped list rows and never actually scroll — now drives the nearestScrollable's ownScrollPositiondirectly instead of simulating a pointer gesture. - Fixed:
take screenshotcould capture stale content from a previous route instead of the current screen (missingwaitForSettled()call, and_captureViaRepaintBoundaryhad no route-awareness).
0.9.9 - 2026-05-13 #
awaitSignal(String name)— new public function. Blocks until the CLI deliversdeliver signal "name". Returns the value string sent with the step (default"true"). Use to unblock any OS-level interaction not in the Flutter widget tree: push permission prompts, payment sheets, App Tracking Transparency, custom deep-link handlers, etc.- New
probe.signalJSON-RPC method handled byProbeExecutor.
0.9.8 - 2026-05-12 #
awaitBiometricResult()— new public function exported fromflutter_probe_agent. Test apps in PROBE_AGENT builds call this instead oflocal_auth.authenticate()to receive the biometric match/no-match result from the CLI via the newprobe.biometric_signalJSON-RPC command. Required on iOS 26+ simulator wherenotifyutilno-match notifications no longer resolveLAContext.evaluatePolicy.- New
probe.biometric_signalJSON-RPC method (ProbeMethods.biometricSignal) that deliverstrue(match) orfalse(no-match) to a pendingawaitBiometricResult()Dart Completer.
0.9.7 - 2026-05-12 #
- Version bump to match CLI v0.9.7. No agent code changes — biometric authentication is driven via simctl/adb from the CLI, no on-device agent involvement needed.
0.9.6 - 2026-05-12 #
- Version bump to match CLI v0.9.6. No agent code changes — annotation DSL completeness work is in the flutter_probe_annotation & flutter_probe_gen packages.
0.9.5 - 2026-05-12 #
- Fix: iOS/Impeller screenshots —
take_screenshotpreviously calledOffsetLayer.toImage()on the root render view, which on iOS with the Impeller renderer returns a GPU-backed texture whosetoByteData(png)isnull— silently breaking screenshot capture. The agent now primarily captures via the largest visibleRenderRepaintBoundaryin the widget tree (Impeller-supported), and falls back to the oldOffsetLayer.toImage()path only when no boundary is found (Skia). AwaitsWidgetsBinding.instance.endOfFramebefore capture so the latest frame is always in the image. Uses the actual view'sdevicePixelRatiorather than a hard-coded2.0.
0.9.4 - 2026-05-09 #
- Version bump to match CLI v0.9.4. No agent code changes — the .mcpb Claude Desktop Extension is a CLI/server-side packaging change.
0.9.3 - 2026-05-09 #
- Version bump to match CLI v0.9.3. No agent code changes in this release. Annotation-driven test generation is delivered by the new flutter_probe_annotation and flutter_probe_gen packages.
0.9.2 - 2026-05-09 #
- Version bump to match CLI v0.9.2. No agent code changes in this release. Step feedback improvements are CLI-side only.
0.9.1 - 2026-05-09 #
- Version bump to match CLI v0.9.1. No agent code changes in this release. MCP parity improvements are CLI/server-side only.
0.9.0 - 2026-05-09 #
- Version bump to match CLI v0.9.0. No agent code changes in this release. Composite tests are a CLI-only feature — the agent runs identically on each participating device and is unaware of the multi-device coordination layer.
0.7.0 - 2026-05-02 #
- mDNS auto-discovery — when running in WiFi mode (
PROBE_WIFI=true), the agent now advertises itself over Bonjour/NSD as_flutterprobe._tcpso Studio (and any compatible client) can discover physical devices on the LAN without manual IP entry. The token is deliberately NOT included in TXT records — anyone on the same network would be able to read it. The agent still printsPROBE_TOKEN=...to logs as before. - New dependency:
bonsoir: ^5.1.10. Localhost-only deployments (noPROBE_WIFI) skip mDNS bring-up entirely so apps that only test on simulators pay zero overhead.
0.6.0 - 2026-04-26 #
- Version bump to keep in sync with CLI v0.6.0
- New RPCs:
probe.open_link,probe.set_time_dilation,probe.set_output,probe.drain_output - Relational selectors:
findRelationalresolves widgets by spatial relation (below,above,left of,right of) usingRenderBoxpositions - New asserts:
see "X" is focused(FocusManager.primaryFocus check) - New waits:
wait for animations to end(pollsSchedulerBinding.hasScheduledFrame)
0.5.7 - 2026-04-26 #
- No agent changes — version bump to keep in sync with CLI
0.5.6 - 2026-04-02 #
- Add Homebrew tap support (
brew tap AlphaWaveSystems/tap && brew install probe)
0.5.5 - 2026-04-02 #
- License changed from BSL 1.1 to MIT — free to embed in any Flutter app, including commercial and proprietary
0.5.4 #
- Restructured README: clear two-part system explanation (CLI + agent)
- Added CLI installation instructions (go install, GitHub Releases)
- Step-by-step getting started guide (install CLI → add agent → write test → run)
- Architecture diagram showing CLI ↔ agent communication
0.5.3 #
- Automated publishing via GitHub Actions (OIDC, no secrets needed)
- Publish workflow chains after Release workflow success
0.5.2 #
- Fix pub.dev score: shorten description to under 180 chars
- Fix dartdoc angle bracket warning in plugin.dart
- Reduce public API to
ProbeAgentandisProbeEnabledonly
0.5.1 #
- HTTP POST endpoint (
POST /probe/rpc) — stateless fallback transport for physical devices - WiFi testing mode (
PROBE_WIFI=true) — binds to0.0.0.0for network access - Pre-shared restart token — enables
restart the appover WiFi without USB - Direct
onTapfallback forSemantics-wrapped widgets on physical devices - Unique pointer IDs for synthetic gestures (prevents collision with real touches)
sendFnsetter onProbeExecutorfor HTTP request routing
0.5.0 #
- Profile mode support —
ProbeAgent.start()works in profile builds - Release mode safeguards — blocked by default, opt-in via
allowReleaseBuild: true - WebSocket ping/pong keepalive (5s interval)
- Widget finder visibility filtering (Offstage, Visibility)
- Token file persistence for both iOS and Android
0.2.0 #
- Initial release with WebSocket server, JSON-RPC 2.0 protocol
- Widget finder: text, key, type, ordinal, positional selectors
- Touch gestures: tap, double tap, long press, swipe, scroll, drag
- Text input via TextEditingController
- Screenshot capture with base64 encoding
- Triple-signal UI synchronization
- Test recording engine
- Clipboard copy/paste
- URL launcher interception