vtcode_commons/
lib.rs

1//! Shared traits and helper types reused across the component extraction
2//! crates. The goal is to keep thin prototypes like `vtcode-llm` and
3//! `vtcode-tools` decoupled from VTCode's internal configuration and
4//! telemetry wiring while still sharing common contracts.
5//!
6//! See `docs/vtcode_commons_reference.md` for ready-to-use adapters that
7//! demonstrate how downstream consumers can wire these traits into their own
8//! applications or tests.
9
10pub mod errors;
11pub mod paths;
12pub mod reference;
13pub mod telemetry;
14
15pub use errors::{DisplayErrorFormatter, ErrorFormatter, ErrorReporter, NoopErrorReporter};
16pub use paths::{PathResolver, PathScope, WorkspacePaths};
17pub use reference::{MemoryErrorReporter, MemoryTelemetry, StaticWorkspacePaths};
18pub use telemetry::{NoopTelemetry, TelemetrySink};