Skip to main content

Module dot_config

Module dot_config 

Source
Expand description

Dot folder configuration and cache management

Structs§

CacheCleanupStats
Statistics from a cache cleanup operation.
CacheConfig
Cache configuration settings.
DependencyNoticeStore
Store tracking which dependency notices have been shown.
DiskUsageStats
Disk usage statistics for the dot folder.
DotConfig
VT Code’s auxiliary user configuration and cache/state metadata.
DotManager
Dot folder manager for VT Code configuration and cache.
LifecycleHookApprovalRecord
Per-workspace approval record for workspace-controlled lifecycle hooks.
ProviderConfig
Configuration for an individual LLM provider.
ProviderConfigs
Configuration for all supported LLM providers.
UiConfig
UI configuration settings.
UserPreferences
User preference settings for the application.
WorkspaceTrustRecord
Record of a workspace’s trust level and when it was granted.
WorkspaceTrustStore
Store of workspace trust records.

Enums§

DotError
Errors that can occur during dot folder operations.
WorkspaceTrustLevel
Workspace trust levels exposed through the Agent Client Protocol configuration.

Functions§

get_dot_manager
Get global dot manager instance
initialize_dot_folder
Initialize dot folder (should be called at startup)
load_lifecycle_hook_approval
Load the lifecycle hook approval record recorded for a workspace, if any.
load_user_config
Load user configuration
load_workspace_trust_level
Load the trust level recorded for a workspace, if any.
save_user_config
Save user configuration
set_startup_user_config
Cache the user configuration already read during startup for session setup.
take_startup_user_config
Take the startup user-config snapshot, if one was prepared by the CLI.
update_lifecycle_hook_approval
Persist an approval of the current workspace-controlled lifecycle hook command set for a workspace.
update_model_preference
Persist the preferred provider and model combination.
update_theme_preference
Persist the preferred UI theme in the user’s dot configuration.
update_workspace_trust
Persist the trust level recorded for a workspace.