Session recording lifecycle management.
Handles start/stop recording, file locking, crash recovery, command capture via shell hooks, and NDJSON persistence.
pub use capture::*;
pub use state::*;