//! Session backend trait — how execution modes obtain sessions.
use HashMap;
use PathBuf;
use crateSessionError;
use crateSession;
/// Backend that creates terminal sessions.
///
/// Built-ins use this via `ExecutionContext::create_session` rather than
/// constructing `TerminalSession` directly. Custom backends (e.g. Docker) go
/// through the same public surface — see `crate::terminal::docker`.