Skip to main content

soma_config/
lib.rs

1//! Product configuration, environment loading, and env-var registry for soma.
2//!
3//! Split out of `soma-contracts` (plan section 3.18): owns Soma's own
4//! environment variables, `config.toml` shape, defaults, path resolution, and
5//! configuration validation. It does not own engine configuration types
6//! themselves (those stay with the engine crates) or business workflows.
7
8pub mod config;
9pub mod env_registry;
10
11pub use config::{
12    default_data_dir, load_dotenv, AuthConfig, AuthMode, Config, EffectiveRuntimeMode, McpConfig,
13    RuntimeMode, SomaConfig, TraceHeaderMode,
14};