//! Shell session domain model.
use PathBuf;
use OffsetDateTime;
use ;
/// A shell session tracked by the hook.
///
/// Each terminal gets a session record. The hook updates `last_heartbeat`
/// on every prompt render and sets `ended_at` when the shell exits.