A2UI CLI 0.4.0 updates code generation for v1.0 components

The open-source A2UI project released version 0.4.0 of its command-line tool on November 17 (UTC). It updates code generation for interface components used in A2UI v1.0 and changes the version requirement for its a2ui_core dependency.
Reserved fields are separate from custom fields
A2UI lets AI agents send the data needed to assemble an app’s interface. When generating code from a component catalog, the update excludes the @-prefixed catalog ID, metadata and accessibility fields from the ordinary component properties. The generated Python code emits check definitions as @checks. It can still read the legacy format and retains custom fields of the same name without the @ prefix.
The dependency now requires a2ui_core 0.8
The CLI’s public API exposes a2ui_core types. The update sets its dependency to ^0.8.0 and identifies this as a breaking change. Internal code now declares variable types explicitly to support static analysis with Dart 3.15 and later.