//! Daemon mode - background process managing DAP adapter
//!
//! The daemon is spawned automatically by CLI commands and maintains
//! persistent debug sessions across CLI invocations.
use crateResult;
/// Run in daemon mode
///
/// This is the entry point when the binary is invoked with the hidden `daemon` command.
/// The daemon:
/// 1. Creates an IPC socket/pipe for CLI connections
/// 2. Accepts CLI commands and translates them to DAP requests
/// 3. Buffers events when no client is connected
/// 4. Manages the debug session lifecycle
pub async