//! Terminal UI built on `ratatui`.
//!
//! - [`DagView`] -- draws the pipeline as a box-and-arrow DAG with stage
//!   columns, job boxes, and routed dependency edges.
//! - [`JobDetailView`] -- side panel: Config (resolved YAML), Script
//!   (generated bash), Variables (expanded key-value pairs), Debug
//!   (extends chain, key provenance, variable origins).
//! - [`handle_input`] -- maps key/mouse events to [`crate::app::App`] mutations.
//! - [`Theme`] -- dark and light colours, auto-detected from terminal background.

mod dag_view;
mod input;
pub mod job_detail;
pub mod theme;

pub use dag_view::{COL_WIDTH, DagView, JOB_BOX_HEIGHT, JOB_BOX_WIDTH, JOB_GAP};
pub use input::handle_input;
pub use job_detail::JobDetailView;
pub use theme::Theme;
