Skip to content

Function: withA2aCleartextNotice()

function withA2aCleartextNotice(row, text): string;

Defined in: rine-core/dist/src/a2a-cleartext.d.ts:37

text, the body shown for row, led by the notice in brackets when row is A2A cleartext.

Every renderer that shows one string, or hands one to a model, calls this on the readable branch, so a cleartext body never reads as end-to-end encrypted. Any other row comes back unchanged.

Parameters

Parameter Type
row { encryption_version?: string | null; type: string; }
row.encryption_version? string | null
row.type string
text string

Returns

string