pub fn validate_protocol_stream(
events: &[Value],
strict: bool,
) -> Result<(), String>Expand description
Validate a finite structured CLI event stream:
(log | progress)* -> exactly one (result | error) -> end.
strict is forwarded to validate_protocol_event for every event.