//! Engine of Lutra (layer L4). //! //! Owns the command registry, the workspace state, the panic guard around every //! entry point and the crash-recovery journal. Every user-visible action is a //! [`Command`]; menus, the palette, shortcuts, the CLI, the control channel and //! MCP all reach it through [`Engine::execute`]. mod buffers; pub mod cmd; mod command; mod engine; mod error; mod event; pub mod guard; pub mod journal; pub mod lsp; mod registry; pub mod settings; mod state; pub mod theme; pub mod workspace; pub use buffers::{BufferId, LineEndingName, OpenBuffer}; pub use command::{Answered, Command, CommandInfo, CommandSpec, Effect, Outcome, Pending, Reply}; pub use engine::{Engine, EngineConfig, run_waiting}; pub use error::{EngineError, ErrorPayload}; pub use event::{Event, NotificationLevel, SearchMatch}; pub use registry::Registry; pub use state::State;