systemprompt-models 0.14.3

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
//! Gateway profile section: routes that map external model names onto entries
//! in `profile.providers`, plus the cross-check that ties them together.
//!
//! - [`error`] / [`GatewayProfileError`] / [`GatewayResult`] — failure modes
//!   emitted by route-id and provider-reference validation.
//! - [`config`] / [`GatewayConfigSpec`] — the on-disk shape embedded in a
//!   profile YAML document.
//! - [`config`] / [`GatewayConfig`] — the runtime shape produced by
//!   [`GatewayConfigSpec::resolve`]. The gateway owns no catalog: every route
//!   resolves its provider against `profile.providers` at use time.
//! - [`route`] / [`GatewayRoute`] — routing patterns and the stable id
//!   synthesis used to address routes from `access_control_rules`.

mod config;
mod error;
mod route;
mod state;

pub use config::{GatewayConfig, GatewayConfigSpec};
pub use error::{GatewayProfileError, GatewayResult};
pub use route::{GatewayRoute, slugify_pattern, synthesize_route_id};
pub use state::GatewayState;