//! Event data sources and parsing.
//!
//! This module contains parsers for various event data sources:
//! - [`otel`]: OpenTelemetry OTLP log parsing (API requests, Codex events)
//! - [`transcript`]: Claude Code transcript JSONL file parsing
//! - [`codex_session`]: Codex CLI session JSONL file parsing

pub mod codex_session;
pub mod otel;
pub mod transcript;

// Re-export commonly used types
pub use codex_session::{
    CodexSessionEntry, CodexSessionParser, CodexSessionScanner, SessionMeta, codex_sessions_dir,
    extract_session_id_from_filename, find_session_file, list_session_files_in_dir,
};
pub use otel::{
    CodexEventType, ExportLogsServiceRequest, ParsedApiRequest, ParsedCodexEvent,
    process_logs_request,
};
pub use transcript::{
    FilePosition, ScanError, ScanResult, TranscriptEntry, TranscriptError, TranscriptParser,
    TranscriptScanner, extract_first_prompt,
};
