pub fn is_operations_envelope(value: &Value) -> boolExpand description
Whether a value is an A2UI operations envelope.
This is the frontend’s content sniff: presence of the key, carrying an array.
A payload from wrap_error_envelope does not have the key and so does not
match, which is what keeps a failure from being mistaken for a surface.