Skip to main content

Module config

Module config 

Source
Expand description

Versioned secret-free coding settings and deterministic layer merging.

Re-exports§

pub use crate::mcp_config::McpArgumentResourceSettings;
pub use crate::mcp_config::McpConcurrencySettings;
pub use crate::mcp_config::McpLifecycleSettings;
pub use crate::mcp_config::McpLimitsSettings;
pub use crate::mcp_config::McpReconnectSettings;
pub use crate::mcp_config::McpRetrySafetySettings;
pub use crate::mcp_config::McpServerSettings;
pub use crate::mcp_config::McpToolDeclarationSettings;
pub use crate::mcp_config::McpToolSettings;
pub use crate::mcp_config::McpTransportSettings;

Structs§

ClientWebSearchSettings
Client web-search backend controls resolved without reading credentials.
ClientWebSearchSettingsLayer
Sparse client web-search backend overlay.
CodingSettings
Versioned, secret-free resolved settings snapshot.
ModelCapabilitiesConfig
Explicit, fail-closed capabilities for one configured model and endpoint.
ModelDefinition
One model advertised by a configured provider.
ModelReasoningConfig
Strict model-level reasoning profile and provider wire overrides.
ProviderConfig
Sparse OpenAI-compatible provider connection and model catalog.
ProviderValueResolver
Resolves provider values from environment templates and cached shell commands.
ProvidersConfig
Provider map loaded from a standalone providers.json file.
ProvidersConfigLoad
Soft-failing provider configuration load result.
ResourceSettings
Declarative resource discovery settings.
ResourceSettingsLayer
Sparse resource overlay.
SettingsLayer
Sparse one-layer settings overlay.
TuiSettings
Nested TUI settings merged independently by layer.
TuiSettingsLayer
Sparse TUI overlay.
WebFetchCacheSettings
Bounded in-memory cache controls for normalized fetch results.
WebFetchCacheSettingsLayer
Sparse normalized-result cache overlay.
WebFetchSettings
Secret-free resolved web-fetch settings.
WebFetchSettingsLayer
Sparse web-fetch settings overlay.
WebSearchLocationSettings
Approximate location fields used by hosted web search.
WebSearchLocationSettingsLayer
Sparse approximate-location overlay.
WebSearchSettings
Secret-free resolved web-search settings.
WebSearchSettingsLayer
Sparse web-search settings overlay.

Enums§

HostedToolCapability
Provider-hosted capability accepted in custom model configuration.
ProjectTrustDefault
Behavior when project-local configuration exists without a saved decision.
ProvidersConfigLoadError
Safe classification for a provider configuration load failure.
WebFetchBackend
Client web-fetch backend selected by the embedding product.
WebSearchClientBackend
Client web-search backend selected by the embedding product.
WebSearchRoutePreference
Route selected for web search when a real client backend is available.

Constants§

CODING_SETTINGS_SCHEMA_VERSION
Current persisted coding settings schema.
DEFAULT_WEB_SEARCH_API_KEY_ENVIRONMENT
Default environment variable consulted by an embedding product for Tavily credentials.
DEFAULT_WEB_SEARCH_TIMEOUT_MILLIS
Default client web-search request timeout.
MAX_PROVIDERS_FILE_BYTES
Maximum accepted size of one provider configuration file.
MAX_SETTINGS_FILE_BYTES
Maximum encoded settings file bytes.
MAX_WEB_SEARCH_API_KEY_ENVIRONMENT_BYTES
Maximum bytes in one configured API-key environment variable name.

Functions§

load_providers_file
Loads a strict, bounded provider configuration without propagating file errors.
load_settings_file
Loads one optional strict JSON settings layer.
merge_settings
Deterministically resolves defaults < global < trusted project < env < CLI.
persist_global_model_settings
Atomically updates only the global model and reasoning defaults.