Files
hermes-agent/tools/computer_use
Teknium c776b3d438 fix(computer-use): retry a partial capture, and keep the macOS smoke on token-only type_text
A get_window_state reply that keeps only the driver's elements-format
instruction text (structured payload and image lost in transit) passed
`_gws_is_empty` because the text was non-blank, so the CLI re-fetch never
ran and the model got neither pixels nor elements. Count text as usable
only when the tree parser recovers an element from it.

The opt-in macOS live smoke sent `element_index` straight to `type_text`,
which the pinned 0.52.0 schema refuses; it now sends the index only when
the live schema accepts it, and its fake covers a token-only schema.

Co-authored-by: BearHuddleston <196404565+BearHuddleston@users.noreply.github.com>
2026-11-18 17:51:44 -08:00
..
…
…