//! Shell script parser for terminal transcript analysis.
//!
//! This module provides a staged pipeline to transform raw terminal session text
//! into structured command groups, suitable for animated rendering or playback.
//!
//! Pipeline stages:
//! - [`analyzer`] serves as the public API and drives the full parsing flow;
//! - [`grouper`] reorganizes blocks into logical triples (`CommandGroup`);
//! - [`patterns`] defines prompt regexes for various shell environments;
//! - [`tokenizer`] splits raw lines into `ScriptBlock`s (Prompt, Command, Output).
//!
//! Used by: [`render_repl_from_script`] via `render::glue`
pub use parse_shell_blocks;