pub fn assemble_session(events: &[AgentEvent]) -> Option<AgentSession>Expand description
Assemble the main stream from events into a session.
This is the backward-compatible function that filters to Main stream only.
For multi-stream support, use assemble_sessions() instead.