hermes-agent/tools/computer_use
Jeff 9480721f1d
test(tools): cover overlay-client gating and vision downscale helper
Extract the capture downscale into _shrink_capture_for_vision so it is
unit-testable without the aux-vision plumbing, and add dependency-free
tests for it (oversize shrinks with aspect preserved, small and
non-image bytes pass through untouched) plus the overlay client's
fail-safe contract (env kill switch spawns nothing, sends before
start or after death are silent no-ops).

Also update the one capture-routing assertion that pinned the literal
"macOS application screenshot" prompt wording, which became
platform-neutral when Windows hosts started producing captures.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-15 06:19:20 -07:00
..
__init__.py feat(computer-use): cua-driver backend, universal any-model schema 2026-05-08 11:07:38 -07:00
backend.py fix(computer-use): add set_value to ComputerUseBackend ABC and _NoopBackend stub 2026-05-22 01:14:15 -07:00
cua_backend.py fix(computer_use): honor custom vision routing 2026-06-07 02:09:20 -07:00
overlay.py feat(tools): on-screen overlay for Windows computer_use 2026-06-15 06:19:20 -07:00
schema.py feat(tools): add Windows UIA backend for computer_use 2026-06-15 06:19:20 -07:00
tool.py test(tools): cover overlay-client gating and vision downscale helper 2026-06-15 06:19:20 -07:00
vision_routing.py fix(computer_use): honor custom vision routing 2026-06-07 02:09:20 -07:00
windows_backend.py feat(tools): on-screen overlay for Windows computer_use 2026-06-15 06:19:20 -07:00