//! `CodeEngine` — the `trusty-code-tui` engine adapter for `tcode tui` (issue
//! #3415, DOC-50 §3.3/§3.4, epic #3411 Slice 3).
//!
//! Why: see `crate::tui_client`'s doc comment on the `pub mod tui_client;`
//! declaration in `lib.rs` for the full rationale (ephemeral `--stdio` CLI
//! client vs. long-lived `--http` TUI client).
//! What: [`discovery`] (daemon lookup), [`rpc`] (pooled `POST /rpc` client),
//! [`sse`] (SSE line pump), [`error::EngineError`] (this module's unified
//! error type), and [`engine::CodeEngine`] (the `trusty_code_tui::TuiEngine`
//! impl itself — the module most callers want).
//! Test: see each submodule's own docs; the full engine flow against a mock
//! HTTP daemon lives in `tests/tui_client_engine.rs`.
//!
//! [`discovery`]: crate::tui_client::discovery
//! [`rpc`]: crate::tui_client::rpc
//! [`sse`]: crate::tui_client::sse
//! [`error::EngineError`]: crate::tui_client::error::EngineError
//! [`engine::CodeEngine`]: crate::tui_client::engine::CodeEngine
pub use ;
pub use EngineError;