Skip to main content

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-tui` (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 types;
15
16pub use markdown::*;
17pub use selection::*;
18pub use style::*;
19pub use types::*;