pub fn parse_sessions_json(json: &str) -> Result<Vec<AgentSessionEntry>>Expand description
Parse a sessions command’s stdout. Entries without any id are skipped
rather than failing the whole listing; anything that is not a JSON array
is an error, so a misconfigured sessions verb surfaces rather than
reading as “no sessions”.