Skip to main content

vent_mcp/
lib.rs

1//! Internal library for the shipped `vent` binary.
2//!
3//! The crate exposes only the small facade the binary needs. Configuration DTOs,
4//! sink mechanics, provider rendering, and MCP router details stay private so the
5//! implementation can evolve without treating those internals as a stable library
6//! API.
7
8mod config;
9mod delivery;
10mod provider;
11mod server;
12mod sinks;
13mod types;
14
15/// Configuration load errors and the validated runtime policy derived from TOML.
16pub use config::{ConfigError, LoadedConfig, RuntimeConfig};
17/// Shared vent submission service used by the MCP server and CLI.
18pub use delivery::{VentRequest, VentService};
19/// MCP tool router that exposes channel listing and vent submission.
20pub use server::VentMcpServer;
21/// MCP response types and the privacy-preserving project label helper.
22pub use types::{project_name_from_current_dir, ChannelInfo, ListChannelsOutput, VentOutput};