pub fn from_transcript(text: &str) -> ReportedExpand description
Reads the last cost a transcript reports.
The last, not the first: agent CLIs emit running totals, and the final one is the total. Lines that are not JSON are skipped, because a transcript is mostly the agent talking.