MessageA2uiContent
Unpublished development API. This package is under development and is not available as a published release.
A2UI content carried by one assistant message, handed to MessageGenerativeUi.renderA2ui.
import type { MessageA2uiContent } from '@threadplane/react/chat';Declaration
export interface MessageA2uiContent {
readonly messageId: string;
readonly skeleton: ReactNode;
readonly source: string;
readonly streaming: boolean;
}Members
messageId
readonly messageId: string;skeleton
The transcript's "Building UI…" placeholder, to show until a surface is ready.
readonly skeleton: ReactNode;source
The message content after its ---a2ui_JSON--- marker: newline-delimited
A2UI envelopes. While the message streams it grows, and its last line may
be incomplete.
readonly source: string;streaming
True while the message is still streaming.
readonly streaming: boolean;