Skip to content

v1.2.0-beta01

Latest

Choose a tag to compare

@pjBooms pjBooms released this 25 Jun 09:41

Release summary

This beta continues the work on the Model Context Protocol (MCP) server introduced in the alphas, rounding out the tool set with autonomous build-mode support, log access, UI-error inspection, and lifecycle control (restart / reset). Now the MCP server tool set has all the tools as dev tools window has. The release also fixes reliability issues in the Dev Tools reload state and multi-window handling.

MCP Server

The MCP server gains several new tools and parameters since 1.2.0-alpha02:

Tool Description
await_reload Wait for an autonomous reload to complete when the application runs in continuous build mode (--auto), and report the resulting state.
get_ui_error Get the runtime UI exception currently thrown while a window renders (e.g. an exception in a @Composable), with message and (capped) stacktrace.
get_logs Return recent log output from the running application as plain text.
restart Restart the running application with the same arguments and wait for it to reconnect.
reset_ui Discard the current composition so all remember-ed state is dropped and the UI rebuilds from scratch (same as the "Reset UI" dev tools button).

Additional MCP changes:

de0caf1 — Add a save_to parameter to the take_screenshot tool to write the screenshot to a file.

6bd6a7a — Extend the status response with lastErrorDetails, carrying additional diagnostic lines (such as compiler output) when a reload fails. status also reports uiErrorWindows for windows failing to render.

717b5e0 — Extend the status response with buildContinuous boolean flag indicating whether the app is run in --auto mode.

Dev Tools

6df6e95 — Fix the reload state hanging indefinitely in continuous / auto build mode.

72cc124 — Fix the hot reload panel being non-interactive in multi-window mode.

cf00d0b — Move the "Copy" buttons in the notification overlay to the top line.