pub fn session_key(content: &str) -> Option<String>
The transcript’s sessionId, plus /<agentId> for a subagent file, each from the first line carrying it as a top-level field. None when no line carries a sessionId.
sessionId
/<agentId>