systemprompt-config 0.21.1

Profile-based configuration for systemprompt.io AI governance infrastructure. Bootstraps profiles, secrets, and credentials with zero environment-variable fallback.
Documentation
//! Higher-level config services built on top of the bootstrap layer.
//!
//! - [`ConfigService`] — generate environment-specific deployment configs by
//!   merging `base.yaml` with `environments/<env>/*.yaml`.
//! - [`ConfigValidator`] — quality checks for the generated `.env`.
//! - [`ConfigWriter`] — on-disk writers with the right symlinks for the web
//!   frontend.
//! - [`schema_validation`] — `JsonSchema`-driven helpers for runtime config
//!   parsing.
//! - [`ProviderCatalogService`] — typed mutations of the profile's provider
//!   registry (`profile.providers`).
//! - [`SecurityConfigService`] — typed mutations of the profile's security
//!   section.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

mod provider_catalog;
mod report;
mod schema_validation;
mod security_config;
mod service;
mod types;
mod validator;
mod writer;

pub use provider_catalog::{ModelSpec, ProviderCatalogService, ProviderSpec};
pub use report::ValidationReport;
pub use schema_validation::{
    ConfigValidationError, generate_schema, validate_config, validate_yaml_file, validate_yaml_str,
};
pub use security_config::{SecurityChange, SecurityConfigService, SecurityUpdate};
pub use service::ConfigService;
pub use types::{DeployEnvironment, DeploymentConfig, EnvironmentConfig};
pub use validator::ConfigValidator;