Glance
PLUGINUlpi can't call a UI change done until it has looked.
by Chinteyley · v0.1.0
What it does
Ulpi can't call a UI change done until it has looked. Glance screenshots the running iOS Simulator (or Android emulator) right before the agent's first UI edit, diffs it against the screen after the edit, and the pre_verify hook sends the agent back when the edit changed nothing, crashed to an error screen, or left the screen blank.
On PASS the agent sees the before/after image, so it can catch a button that vanished. Desktop draws the result as a before/after slider.
Disclosure — runs xcrun simctl (list, io screenshot) and adb (devices, exec-out screencap) as subprocesses; adb devices starts adb's own server if it is not running; on PASS calls Ulpi's vision_analyze on the compare image through ctx.dispatch_tool, which is one auxiliary vision model call when the main model is text-only; appends the compare image to the agent's final reply as a MEDIA attachment, so on messaging platforms the screenshot is sent into that chat; writes screenshots and check records under plugin-data/glance and does not prune them; no network calls of its own, no credentials, no telemetry.
Tools it adds
The tools an agent gets once this plugin is installed.
- glance_check
- glance_baseline
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve