Lynx

genui / a2ui / createFallbackMessagesFromPlainText

createFallbackMessagesFromPlainText()

function createFallbackMessagesFromPlainText(text: string): ServerToClientMessage[]

Build a single-Text fallback message stream from a plain string. Used by transports / Session.ingest callers that receive free-form text from the agent instead of structured protocol messages.

Parameters

ParameterType
textstring

Returns

ServerToClientMessage[]

Defined in

@lynx-js/genui/a2ui/src/store/payloadNormalizer.ts:16

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.