Repository navigation
v0.8.1
pilotdroid v0.8.1
Patch release — fixes a shipped semantic defect in
verify_after.expect.state.match.i and closes the last
describe→tap numbering trap, plus internal eval-harness fixes that
produced the first cross-OEM SoM-contract numbers.
Version skew (explicit)
CLI/Python 0.8.1 still ships agent.jar 0.7.4 — the embedded
dex agent version does not equal the CLI version. All fixes in this
patch are host-side; no agent redeploy is required beyond the
0.7.4 jar already shipped with v0.8.0.
What's new
describe_screenelements now carryi— each element emits
its interactive-space index (i<n>in the text map,"i"in the
JSON) alongside the SoMid/#n. Theifield shares the exact
numberinglist_elements/tap_index/set_text_index/
verify_after.match.iconsume (clickable‖editable‖scrollable
counted over ALL tree nodes, including unlabeled interactive
nodes like a bare EditText). Blind loop:describe_screen→ take
elementi→tap_index {i}— no more cross-space guessing.
id/#nremains the SoM space (screenshot annotation +
tap{x,y}by center);ocr_onlyelements have noi(tap by
center, no stale-guard).compat/som.pymirrors the same field.
Fixed
verify_after.expect.state.match.i— previously resolvedi
in the FULL-TREE index space and short-circuited the other match
keys: a shipped semantic defect (wrong element could match, or
none). Nowiresolves in the same interactive space
list_elementsreturns, and ANDs withtext/desc/class.
Text/desc/class-only matches still search the full tree
(disabled/non-interactive nodes are legal assertion targets).- Docs:
READMEinspector-loop recipe corrected to consume the
elementifield;compat/SUPPORTED.mdgains a three-space
numbering table (SoMid/ interactivei/ full-tree index)
and the earlier "same space" mis-statement about describe_screen
is corrected;docs/adr/008gains a HarmonyOS cross-ROM row
(see below).
Internal / eval evidence
- eval v3 fixes: foreground-package gate on
random_index_pick/_settings_list(external takeover like
com.miui.homeis recovered before the task body; mid-task
takeover retries once); the IME-suppression pin now applies only
to the non-portable suite and prints its restored baseline. - Portable subset reworked cross-OEM (Huawei-driven): honest
SoM contract assertions,text or desclabels, three-way
navigation proof, toggle/input widgets excluded from random
picks, live-list (WiFi-scan) race handling. - Multi-device matrix:
CFE6R21525008201HUAWEI MRR-W29
(HarmonyOS-based Android 12 / API 31, USB) —setup8/8, agent
0.7.4,loop_v3 --portable15/15;ba0d072d(MIUI/API34)
regression 14/15 (one honest no-nav fail: a Settings row that
expands in place). V816/API37 remains blocked (device offline,
user-banned address untouched). - Stream cross-ROM data point (ADR-008 revised): HarmonyOS
API31 uia path measured ceiling 10.28fps (cap 63ms + enc 31ms
— the1000/(cap+enc)model holds on both devices). Revised
conclusion: MIUI is the worst tested (5.6fps) but not the only
wall; the uia path tops out 5.6–10.3fps across tested ROMs and
neither reaches 15fps. Note: capture→encode pipelining would
theoretically reach ~15.9fps on HarmonyOS (vs ~8.9 on MIUI). - MCP Registry verified healthy via the corrected curl path
(searchlimittruncation had made a stale deprecated entry look
like the only one):0.8.0active/isLatest, republished for
0.8.1along this release. PUBLISH.md gains the registry-verify
command + a "shipped-defect → patch window" note.
Honest limits (unchanged)
Same as v0.8.0 notes + compat/SUPPORTED.md: clipboard ❌,
screenrecord
no blanket ≥15fps guarantee (5.6–10.3fps measured across two
retail ROMs), watchConns cap = 4 / replay ≤8/15s, OCR is
English-quality-tier + ~1.5–2s/frame, a11y checked propagation
lags ~0.5–4s on MIUI. Newly noted: describe_screen id/#n
(SoM/document-order) and i (interactive space) are two different
numberings on the same element — use i for tap_index, id only
for center-tap/annotation lookups.
Verified
cargo test --workspace→ all green (serve suite incl.
verify_after_state_match_i_interactive_space,
i_maps_to_list_elements_space); fmt + clippy clean; pytest 94.- Real-device:
verify_after match:{i,text}+checkedflip PASS,
i+wrong-text →found:false, i-only read PASS (ba0d072d);
describe[i]↔list_elements[i]19/19 aligned. loop_v3 --portable: HUAWEI API31 15/15, MIUI API34 14/15.