Package-level declarations
Types
The messages to apply for one carrier, as one atomic batch.
One payload and the carrier it arrived in.
Where in a transcript an A2uiPayload came from.
What one part of a transcript says about an A2UI surface.
What a run has to carry for an agent to draw A2UI at all: the request side of the convention whose response side the rest of this module reads.
What a renderer should draw for one carrier, decided by A2uiSurfaces.
The surfaces a transcript amounts to, and how to get a renderer from the last transcript to this one.
Turns what upstream puts on the wire into the v1.0 messages a2ui-core parses.
The render_a2ui tool as a frontend tool: declared to the agent, and answered by the client.
Functions
Every A2UI payload in this transcript, in transcript order.
The Context entry that tells an agent which catalog this client draws.
The surface a message addresses, or null for the two function-call messages, which have none.
An action the user took on a surface, in the shape upstream's middleware reads it from RunAgentInput.forwardedProps: {"a2uiAction": {"userAction": {...}}}.
The same action as a line of user text, for a stack that does not honour forwardedProps.