ProtocolsOfficial

A2UI Swift 0.13 moves nested function calls back to the agent boundary and validates them before sibling execution

A2UI released Swift 0.13.0 on December 1. Nested `@call` and `${...}` expressions inside `callRendererFunction` arguments are now checked as agent-originated, rejecting renderer-only functions and functions lacking required user activation. The runtime checks nested calls before executing sibling calls at the same level. CLI 0.6.0, released the same day, moves to `a2ui_core` ^0.10.0.

Why it matters

Generative interfaces often embed function references inside structured arguments. Treating nested calls as agent-originated prevents a model from using a renderer function to bypass catalog declarations or user-activation requirements. Validating before sibling execution also narrows the window in which partial side effects occur before a later check fails.

A closer look

For migration, nested functions that truly need this path must be declared `rendererOrAgent` or `agentOnly`. The release removes the local five-level nesting cap in favor of the global depth limit of 50. It also adds a customizable SwiftUI text-field style that preserves binding and accessibility, and reports an incompatible catalog version as `INCOMPATIBLE_CATALOG_VERSION` rather than `CATALOG_NOT_FOUND`.

Who this is for

Teams maintaining A2UI Swift renderers, function catalogs, user activation, dynamic forms, or CLI asset pipelines.

Original sources

Revisions & corrections (1)

— Coordinated official releases provide a distinct dated change to function-boundary validation and the compatible CLI stack.

Related events

Protocols

A2UI's November 23 releases move dynamic catalogs, user activation, and data errors into runtime boundaries

On November 23, A2UI released Swift 0.12.0, Python core 0.7.1, agent SDK 0.12.1, and CLI 0.5.0. Swift and Python processors can register catalogs after initialization. Swift also requires the host to mark a real user gesture before renderer functions declared with requiresUserActivation may run, and reports rejected two-way binding writes as DATA_ERROR.

Protocols

A2UI separates model inference syntax from the wire protocol with Express and controlled decisions

On October 27, the Google A2UI team introduced swappable inference formats: a model can emit compact A2UI Express and let the SDK deterministically compile it against a component catalog into standard A2UI messages, while fixed-shape screens can use decision models to select predefined layouts.