Expand description
Google A2UI compatibility layer.
Maps CELLSTATE’s internal A2UI component catalog to the Google A2UI specification format (v0.8+). CELLSTATE’s A2UI system predates Google’s spec — this module ensures wire-format compatibility.
Google A2UI uses declarative JSON with flat component lists and ID references. CELLSTATE’s Capability Resolver already produces component metadata; this module transforms it into Google-compatible output.
Re-export path: cellstate_pipeline::pack::a2ui_compat::*
Structs§
- A2ui
Component - A single A2UI component definition.
- A2ui
Data Field - Data model field definition for A2UI data binding.
- A2ui
Response - Google A2UI-compatible response payload.
Constants§
- A2UI_
SCHEMA_ VERSION - CELLSTATE’s version stamp for emitted A2UI schema payloads.
Functions§
- cellstate_
to_ a2ui_ type - CELLSTATE internal component type → A2UI component type mapping.
- generate_
a2ui_ schema - Generate a Google A2UI-compatible schema from CELLSTATE’s compiled config.
- to_
a2ui_ json - Serialize A2UI response to canonical JSON.