Skip to main content

surface_lines

Function surface_lines 

Source
pub fn surface_lines(payload: &str) -> Option<Vec<String>>
Expand description

Draws an a2ui_operations envelope, or None if it is not one.

The sniff every A2UI front-end does: a tool result either carries the envelope key or is an ordinary result, and nothing else tells them apart.