//! Which event chain a [`crate::LogEvent`] belongs to.
use ;
/// Identifies whether an event is part of the main session chain or a
/// sub-agent sidechain.
///
/// Claude Code records `isSidechain: true` on events that originate inside
/// a spawned sub-agent (e.g. via the `Agent` tool). Keeping them separate
/// is required for correct DAG construction and for meaningful TUI display.