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
//! Configuration management for the Stakpak CLI.
//!
//! This module handles loading, saving, and managing configuration including:
//! - Profile configurations (per-environment settings)
//! - Provider configurations (OpenAI, Anthropic, Gemini)
//! - Rulebook filtering
//! - Warden (runtime security) settings
//! - Authentication and credential resolution
//! - Models cache from models.dev
pub
// Re-export public types
pub use AppConfig;
pub use ConfigFile;
pub use ModelsCache;
pub use ProfileConfig;
pub use ProviderType;
// Re-export for internal use (used by tests and submodules)
pub use RulebookConfig;
pub use Settings;
pub use WardenConfig;
// Constants
pub const STAKPAK_API_ENDPOINT: &str = "https://apiv2.stakpak.dev";
pub const STAKPAK_CONFIG_PATH: &str = ".stakpak/config.toml";