Skip to main content

Module loader

Module loader 

Source
Expand description

Re-export the shared configuration loader implementation from the vtcode-config crate so downstream consumers can continue importing it through vtcode_core::config::loader while the logic lives in the dedicated configuration crate.

Modules§

layers
watch

Structs§

ConfigBuilder
Builder for creating a ConfigManager with custom overrides.
ConfigManager
Configuration manager for loading and validating configurations
ConfigPhaseTiming
Timing metrics (in microseconds) for configuration loading phases
ConfigWatcher
Configuration watcher that monitors config files for changes and automatically reloads them when modifications are detected.
FeaturesConfig
Codex-compatible top-level feature flags.
ProviderConfig
Provider-specific configuration
SimpleConfigWatcher
Simple config watcher that polls file mtimes instead of using filesystem events.
SyntaxHighlightingConfig
Syntax highlighting configuration
VTCodeConfig
Main configuration structure for VT Code
WorkspaceConfig
Workspace-level configuration controls.

Functions§

explicit_config_path
Return the session’s explicit config-file override, if one was captured.
fingerprint_str
fingerprint_toml_value
merge_toml_values
Recursively merge two TOML values.
merge_toml_values_with_origins
Recursively merge two TOML values and record which layer last wrote each path.
set_explicit_config_path
Capture the session’s explicit config-file override.