pub fn parse_streaming_json(input: &str) -> ValueExpand description
Parse possibly-truncated streaming JSON (e.g. tool-call input_json_delta
fragments). Mirrors pi’s parseStreamingJson: returns the best-effort
parsed value, repairing truncated input so the agent always gets usable
arguments to execute.