Documentation
¶
Overview ¶
Command see is the debugging agent's eyes on the emulator.
The problem it solves: an agent can read text, not pixels, and the loop "tap something, look at the screen, decide" is where debugging bot vision actually happens. Without a way to look, every visual question costs a round trip through a human, and bugs like "the popup never got dismissed" or "the spells landed in the corner" take hours to find.
see turns a screenshot into three things a text reader can use:
what the bot perceives the classifier's state, the action button it
found, the red zone, every recognized string
with its bounding box
what it looks like a coordinate-ruled character render, so the
layout is visible and any glyph maps back to a
tappable pixel (see internal/vision.Render)
what changed a diff against an earlier frame, which answers
"did my tap land" without guessing
plus a rolling store of recorded frames, so a run that already happened can still be reviewed ("timeline", "show").
Usage:
see look [-img F] [-rect x,y,w,h] [-cell N] [-grep TEXT] [-rules] see diff A B [-threshold N] [-render] see rec [-every 2s] [-n 0] [-keep 400] [-label NAME] [-stop-on STATE] see shots [-n 20] see timeline [-n 40] see show last|<id> [-rect x,y,w,h] [-cell N]
A/B in diff is a PNG path, "last" for the newest recorded frame, or "live" for a fresh capture.