pub fn claude_frame_outcome(frame: &Value) -> Option<Outcome>Expand description
What a Claude CLI stdout frame says about the API, if anything: an
api_retry with no HTTP status is a failed connection, one with a status
was answered, and so was a reply from a model; a turn’s error result
the failure classifier calls Network is a failed connection. A
<synthetic> message is the CLI’s own (its “API Error” text), not the API’s.