DocsReact CoretransportTransportMessage
Package: @hexos/react-core

Message payload sent from the frontend client to the backend via the transport layer.

Related: AgentTransport defines the send contract, RuntimeInput is the server-side equivalent.

interface TransportMessage {
    type: 'send-message';
    message: string;
    conversationId: string;
    context?: Record<string, unknown>;
}

type

'send-message'

message

string

conversationId

string

context

Record