mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-21 07:55:08 +00:00
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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| backend.py | ||
| cua_backend.py | ||
| overlay.py | ||
| schema.py | ||
| tool.py | ||
| vision_routing.py | ||
| windows_backend.py | ||