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-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 activity;
12mod markdown;
13mod selection;
14mod style;
15mod tool_summary;
16mod types;
17
18pub use activity::*;
19pub use markdown::*;
20pub use selection::*;
21pub use style::*;
22pub use tool_summary::*;
23pub use types::*;