A2uiSurfaceView

@Composable
fun A2uiSurfaceView(surface: A2uiSurface, modifier: Modifier = Modifier, catalog: A2uiCatalog = A2uiCatalog.Basic, onAction: (A2uiAction) -> Unit = {}, catalogs: List<A2uiCatalog> = emptyList())(source)

Renders an A2UI surface natively with catalog (default: the Basic Catalog); nothing until its root component arrives. onAction receives the user's actions as renderer-to-agent messages (A2uiAction.toMessage) for the transport to send back; links open through LocalUriHandler.