pub async fn read_codex_session_transcript(
path: &Path,
tail: Option<usize>,
) -> Result<Vec<SessionTranscriptMessage>>Expand description
Read a best-effort transcript from a Codex session JSONL file.
If tail is Some(N), only the last N extracted messages are returned.