hex/tests/golden/rune-mac-labs-link-dark.png
Dax 2174ea2980
labs: screen vocabulary (macos) (#1719)
* add screen vocabulary lab (macos)

* screen vocabulary: fix review (model gate, visible text, extraction, pending read)

- read the screen only when the selected model uses terms: Parakeet needs
  Vocabulary biasing on and a boost other than Off; keep the live stream for
  models that ignore the terms
- read AXVisibleCharacterRange for large text values, check
  AXNumberOfCharacters before copying, and cap each value at 4 KB
- reject hex ids, ordinals, times, units, and random digit tokens; allow
  2-letter acronyms; add a small window-label stoplist
- gate the reader on a pending capture, allow one reader at a time, and test
  the begin/intend/cancel sequence
- document the Parakeet gate, the whole-clip cost, the soft deadline, and the
  debug count log

* screen vocabulary: match accessibility's CFNumberGetValue declaration

* screen vocabulary: drop long all-caps words and log markers

- require a lowercase letter in the mixed-case branch, so WARNING,
  DEPRECATED, and CHANGELOG are not terms while NVIDIA and PostgreSQL stay
- add INFO, DEBUG, ERROR, WARN, TODO, FIXME, NOTE, and TRACE to the stoplist
- list the new tests, including one_screen_read_runs_at_a_time, in the docs
2026-11-12 07:43:56 -05:00

257 KiB
1960x1520px