//! Control channel of Lutra (layer L5). //! //! Serves JSON lines on `127.0.0.1:PORT` so that scripts and agents can run //! engine commands and inspect the user interface. The protocol is described //! in docs/architecture.md › Control channel; [`protocol`] parses and answers //! single lines, [`server`] owns the sockets, [`methods`] lists the //! methods. Hosts plug in through [`Backend`] and publish engine events to //! subscribed connections through [`Subscribers`]. //! //! The single instance (M3.7) adds [`rendezvous`], the per-user file that //! names the token-protected listener of the running app, and [`client`], //! the client that the `lutra` CLI, a second app start and `lutra mcp` use //! to reach it. mod backend; pub mod client; pub mod methods; pub mod protocol; pub mod rendezvous; pub mod server; pub use backend::{Backend, EVENT_QUEUE, EventSink, Subscribers}; pub use server::{ServerHandle, start, start_with_token};