agent-desktop/crates
Lahfir 2a518d8a2a fix: implement core accessible-name precedence algorithm
accname.rs previously reduced NameEvidence with a 2-way title-or-description
fallback despite the trait already exposing 7 evidence fields. Implement the
documented KTD6 precedence (explicit label -> labelled-by text -> native
title -> static-role value -> aggregated child label -> placeholder ->
description last) as compute_name/compute_description over NameEvidence,
plus a join_child_labels aggregation primitive.

Migrate macOS's resolve_element_name to a thin wrapper that gathers raw
NameEvidence (name_evidence_impl) and reduces it via core's compute_name,
removing the inline fallback chain it used to own. name_evidence_impl now
reads AXTitleUIElement (labelled-by), AXPlaceholderValue, and aggregates
multiple child labels via join_child_labels instead of returning only the
first match. resolve_search.rs, resolve_classify.rs, and chain_menu_steps.rs
need no changes: they already consume resolve_element_name's return value
and now get the correct precedence for free.
2026-07-03 02:43:01 -07:00
..
core fix: implement core accessible-name precedence algorithm 2026-07-03 02:43:01 -07:00
ffi fix: append native_id in AdRefEntry, bump ABI major, codegen timeout wrapper 2026-07-03 02:10:08 -07:00
linux refactor: split PlatformAdapter into capability supertraits 2026-07-02 19:32:23 -07:00
macos fix: implement core accessible-name precedence algorithm 2026-07-03 02:43:01 -07:00
windows refactor: split PlatformAdapter into capability supertraits 2026-07-02 19:32:23 -07:00