Helping the Agents Compose the Things
README
Documentation — install, VS Code Marketplace, and one-page-per-product reference for each data extension.
Render @Preview composables to PNG outside Android Studio, so AI coding
agents can see what they're changing. Works with Jetpack Compose (Android,
via Robolectric) and Compose Multiplatform Desktop (via ImageComposeScene).
Renders include paused-clock animation captures (GIF or single frame) and opt-in ATF accessibility checks with annotated overlays.
Also renders Android XML resources —
vector drawables, adaptive launcher icons, animated-vector drawables — and indexes the icon
attributes in AndroidManifest.xml so tooling can link manifest lines to the same rendered PNG.
Modules without any matching resources self-no-op, so this comes along for free with the plugin.
These tools give AI coding agents a tight, token-frugal feedback loop over
Compose UI — the way Playwright gave web agents one
over the DOM: act by a stable reference, observe structure rather than pixels,
and turn exploration into durable tests. The capabilities below are exposed by
the preview daemon's MCP server (and, where noted, the compose-preview CLI);
see docs/daemon/MCP.md for the full tool surface.
interactive/input and
record_preview accept a target (testTag / role+text / a stable
node ref) that the daemon resolves to the node's centre, so a click
survives layout changes instead of breaking on a coordinate. Works on
Android (Robolectric) a