1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//! # systemprompt-config
//!
//! Profile-based configuration for systemprompt.io. This crate is the
//! bootstrap layer: it loads the active profile YAML, the matching
//! secrets document, and installs both into process-wide singletons
//! before any other layer (database, runtime, agent) starts.
//!
//! ## Public surface
//!
//! - [`ProfileBootstrap`] / [`SecretsBootstrap`] — process-wide cells for the
//! active profile and secrets document, initialised in that order by the
//! entry-crate boot sequence.
//! - [`init_config`] / [`build_from_profile`] — build a runtime
//! [`systemprompt_models::Config`] from the active profile.
//! - [`ConfigService`], [`ConfigValidator`] — utilities used by the
//! `systemprompt cloud config` deployment pipeline.
//! - [`ProviderCatalogService`], [`SecurityConfigService`] — typed mutations of
//! the services provider registry and the profile's security section, backing
//! the `admin config catalog` / `admin config security` CLI surfaces.
//! - [`SkillConfigValidator`] — `DomainConfig` implementation that walks
//! `skills/` and reports missing or malformed manifests.
//!
//! ## Errors
//!
//! All public APIs return [`ConfigResult<T>`] (i.e.
//! `Result<T, ConfigError>`). [`ConfigError`] composes the bootstrap,
//! profile, secrets, schema-validation, and lower-level
//! `serde`/`std::io` errors via `#[from]` so callers can use `?`
//! transparently.
//!
//! ## Feature flags
//!
//! This crate has no Cargo features — every dependency is required at
//! compile time. The `[package.metadata.docs.rs]` section in
//! `Cargo.toml` enables `all-features = true` for parity with the
//! rest of the workspace.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.
pub
pub
pub
pub use ;
pub use ;
pub use ;
pub use ;
pub use SkillConfigValidator;