pub(crate) fn render_cli_error( format: OutputFormat, error: &CliError, ) -> Result<String, Error>
Render typed source-state failures in the selected agent/script format.