vtcode_commons/ui_protocol/mod.rs
1//! Shared UI protocol types used across VT Code crates.
2//!
3//! These types form the data model shared between `vtcode-core` (the agent
4//! library) and `vtcode-ui` (the terminal surface). Extracting them here
5//! lets headless builds compile without duplicating every enum and struct.
6//!
7//! The channel protocol types (`InlineCommand`, `InlineHandle`,
8//! `InlineSession`) remain in the crate that owns them because the app-layer
9//! and core-layer protocols diverge.
10
11mod markdown;
12mod selection;
13mod style;
14mod tool_summary;
15mod types;
16
17pub use markdown::*;
18pub use selection::*;
19pub use style::*;
20pub use tool_summary::*;
21pub use types::*;