Skip to content

0.3.2

Latest

Choose a tag to compare

@Sur-Cai Sur-Cai released this 03 Oct 14:33
· 2 commits to main since this release

0.3.2

Bug fix: a ref printed by the toolkit could not be passed back to it.

  • --ref "#abc12345" now resolves. Snapshots and finds print refs with a #
    prefix (#c9879135), but find_by_ref compared against the bare
    abc12345 and could never match — so the documented round trip (copy a ref
    out of a snapshot, hand it to ax press / ax actions / ax resolve /
    wait) failed with stale_ref, whose hint then blamed the element for
    changing. normalize_ref() strips a leading # and surrounding whitespace
    in find_by_ref, locate and the resolve path, so the CLI, the MCP server,
    the pi package and the dsh bundle all accept both spellings.
  • ax --max is optional and honest about what it bounds. --max caps
    tree / find / click-info rows and never applied to snapshot (bounded by
    --budget), but passing it to snapshot was silently ignored — a caller could
    ask for 25 rows and get a 50 KB tree with no explanation. snapshot now says so
    in its footer.
  • A more accurate stale_ref hint. A ref also hashes the enclosing window's
    title, so a window that renames itself (browsers follow the page title)
    invalidates every ref inside it. The hint now names that cause too, instead of
    blaming only element churn.