rememberA2uiHost

fun rememberA2uiHost(transcript: UiTranscript, renderer: A2uiRenderer, translation: A2uiTranslation = A2uiTranslation.Default, toolNames: Set<String> = setOf(AguiA2ui.RENDER_TOOL_NAME), onWarning: (String) -> Unit = {}): A2uiHost

An A2uiHost for renderer, kept up to date with transcript.

The host is remembered against the renderer alone, so a new transcript value -- or a new translation, toolNames or onWarning, which a caller commonly builds inline -- is a new A2uiHost.accept on the same host and not a new host with empty books against a renderer that still holds every surface. The update runs in a LaunchedEffect, one frame after the transcript changed: the renderer's state is snapshot state, and writing it during composition is what the effect exists to avoid.