fix(calibrate): robust window capture with PrintWindow fallback + picker

- Enumerate all matching windows, let user pick the largest one if multiple.
- Try PrintWindow first (works with GPU-accelerated apps like TradeStation
  that render blank under plain mss capture).
- Detect blank/uniform captures and fall back to mss automatically.
- Save captured frame to logs/calibrate_capture_<ts>.png for debugging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-04-16 06:25:02 +00:00
parent d19666ba0e
commit f90e4477ed
2 changed files with 178 additions and 21 deletions

BIN
image copy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB