Skip to main content

GlobalConfig

Struct GlobalConfig 

Source
pub struct GlobalConfig {
Show 152 fields pub api_key_helper: Option<String>, pub projects: Option<HashMap<String, ProjectConfig>>, pub num_startups: u32, pub install_method: Option<InstallMethod>, pub auto_updates: Option<bool>, pub auto_updates_protected_for_native: Option<bool>, pub doctor_shown_at_session: Option<u32>, pub user_id: Option<String>, pub theme: Option<ThemeSetting>, pub has_completed_onboarding: Option<bool>, pub last_onboarding_version: Option<String>, pub last_release_notes_seen: Option<String>, pub changelog_last_fetched: Option<u64>, pub cached_changelog: Option<String>, pub mcp_servers: Option<HashMap<String, McpServerConfig>>, pub claude_ai_mcp_ever_connected: Option<Vec<String>>, pub preferred_notif_channel: NotificationChannel, pub custom_notify_command: Option<String>, pub verbose: Option<bool>, pub custom_api_key_responses: Option<CustomApiKeyResponses>, pub primary_api_key: Option<String>, pub has_acknowledged_cost_threshold: Option<bool>, pub has_seen_undercover_auto_notice: Option<bool>, pub has_seen_ultraplan_terms: Option<bool>, pub has_reset_auto_mode_opt_in_for_default_offer: Option<bool>, pub oauth_account: Option<AccountInfo>, pub iterm2_key_binding_installed: Option<bool>, pub editor_mode: Option<EditorMode>, pub bypass_permissions_mode_accepted: Option<bool>, pub has_used_backslash_return: Option<bool>, pub auto_compact_enabled: bool, pub show_turn_duration: bool, pub env: HashMap<String, String>, pub has_seen_tasks_hint: Option<bool>, pub has_used_stash: Option<bool>, pub has_used_background_task: Option<bool>, pub queued_command_up_hint_count: Option<u32>, pub diff_tool: Option<DiffTool>, pub iterm2_setup_in_progress: Option<bool>, pub iterm2_backup_path: Option<String>, pub apple_terminal_backup_path: Option<String>, pub apple_terminal_setup_in_progress: Option<bool>, pub shift_enter_key_binding_installed: Option<bool>, pub option_as_meta_key_installed: Option<bool>, pub auto_connect_ide: Option<bool>, pub auto_install_ide_extension: Option<bool>, pub has_ide_onboarding_been_shown: Option<HashMap<String, bool>>, pub ide_hint_shown_count: Option<u32>, pub has_ide_auto_connect_dialog_been_shown: Option<bool>, pub tips_history: HashMap<String, u32>, pub companion: Option<Value>, pub companion_muted: Option<bool>, pub feedback_survey_state: Option<FeedbackSurveyState>, pub transcript_share_dismissed: Option<bool>, pub memory_usage_count: u32, pub has_shown_s1m_welcome_v2: Option<HashMap<String, bool>>, pub s1m_access_cache: Option<HashMap<String, S1mAccessCacheEntry>>, pub s1m_non_subscriber_access_cache: Option<HashMap<String, S1mAccessCacheEntry>>, pub passes_eligibility_cache: Option<HashMap<String, Value>>, pub grove_config_cache: Option<HashMap<String, GroveConfigCacheEntry>>, pub passes_upsell_seen_count: Option<u32>, pub has_visited_passes: Option<bool>, pub passes_last_seen_remaining: Option<u32>, pub overage_credit_grant_cache: Option<HashMap<String, OverageCreditCacheEntry>>, pub overage_credit_upsell_seen_count: Option<u32>, pub has_visited_extra_usage: Option<bool>, pub voice_notice_seen_count: Option<u32>, pub voice_lang_hint_shown_count: Option<u32>, pub voice_lang_hint_last_language: Option<String>, pub voice_footer_hint_seen_count: Option<u32>, pub opus_1m_merge_notice_seen_count: Option<u32>, pub experiment_notices_seen_count: Option<HashMap<String, u32>>, pub has_shown_opus_plan_welcome: Option<HashMap<String, bool>>, pub prompt_queue_use_count: u32, pub btw_use_count: u32, pub last_plan_mode_use: Option<u64>, pub subscription_notice_count: Option<u32>, pub has_available_subscription: Option<bool>, pub subscription_upsell_seen_count: Option<u32>, pub recommended_subscription: Option<String>, pub todo_feature_enabled: bool, pub show_expanded_todos: Option<bool>, pub show_spinner_tree: Option<bool>, pub first_start_time: Option<String>, pub message_idle_notif_threshold_ms: u64, pub github_action_setup_count: Option<u32>, pub slack_app_install_count: Option<u32>, pub file_checkpointing_enabled: bool, pub terminal_progress_bar_enabled: bool, pub show_status_in_terminal_tab: Option<bool>, pub task_complete_notif_enabled: Option<bool>, pub input_needed_notif_enabled: Option<bool>, pub agent_push_notif_enabled: Option<bool>, pub claude_code_first_token_date: Option<String>, pub model_switch_callout_dismissed: Option<bool>, pub model_switch_callout_last_shown: Option<u64>, pub model_switch_callout_version: Option<String>, pub effort_callout_dismissed: Option<bool>, pub effort_callout_v2_dismissed: Option<bool>, pub remote_dialog_seen: Option<bool>, pub bridge_oauth_dead_expires_at: Option<u64>, pub bridge_oauth_dead_fail_count: Option<u32>, pub desktop_upsell_seen_count: Option<u32>, pub desktop_upsell_dismissed: Option<bool>, pub idle_return_dismissed: Option<bool>, pub opus_pro_migration_complete: Option<bool>, pub opus_pro_migration_timestamp: Option<u64>, pub sonnet_1m_45_migration_complete: Option<bool>, pub legacy_opus_migration_timestamp: Option<u64>, pub sonnet_45_to_46_migration_timestamp: Option<u64>, pub cached_statsig_gates: HashMap<String, bool>, pub cached_dynamic_configs: Option<HashMap<String, Value>>, pub cached_growth_book_features: Option<HashMap<String, Value>>, pub growth_book_overrides: Option<HashMap<String, Value>>, pub last_shown_emergency_tip: Option<String>, pub respect_gitignore: bool, pub copy_full_response: bool, pub copy_on_select: Option<bool>, pub github_repo_paths: Option<HashMap<String, Vec<String>>>, pub deep_link_terminal: Option<String>, pub iterm2_it2_setup_complete: Option<bool>, pub prefer_tmux_over_iterm2: Option<bool>, pub skill_usage: Option<HashMap<String, SkillUsageEntry>>, pub official_marketplace_auto_install_attempted: Option<bool>, pub official_marketplace_auto_installed: Option<bool>, pub official_marketplace_auto_install_fail_reason: Option<String>, pub official_marketplace_auto_install_retry_count: Option<u32>, pub official_marketplace_auto_install_last_attempt_time: Option<u64>, pub official_marketplace_auto_install_next_retry_time: Option<u64>, pub has_completed_claude_in_chrome_onboarding: Option<bool>, pub claude_in_chrome_default_enabled: Option<bool>, pub cached_chrome_extension_installed: Option<bool>, pub chrome_extension: Option<ChromeExtensionState>, pub lsp_recommendation_disabled: Option<bool>, pub lsp_recommendation_never_plugins: Option<Vec<String>>, pub lsp_recommendation_ignored_count: Option<u32>, pub claude_code_hints: Option<ClaudeCodeHints>, pub permission_explainer_enabled: Option<bool>, pub teammate_mode: Option<String>, pub teammate_default_model: Option<String>, pub pr_status_footer_enabled: Option<bool>, pub tungsten_panel_visible: Option<bool>, pub penguin_mode_org_enabled: Option<bool>, pub startup_prefetched_at: Option<u64>, pub remote_control_at_startup: Option<bool>, pub cached_extra_usage_disabled_reason: Option<String>, pub auto_permissions_notification_count: Option<u32>, pub speculation_enabled: Option<bool>, pub client_data_cache: Option<Value>, pub additional_model_options_cache: Option<Vec<Value>>, pub metrics_status_cache: Option<MetricsStatusCache>, pub migration_version: Option<u32>,
}
Expand description

Global application configuration Note: All fields are serialized to camelCase in settings.json

Fields§

§api_key_helper: Option<String>§projects: Option<HashMap<String, ProjectConfig>>§num_startups: u32§install_method: Option<InstallMethod>§auto_updates: Option<bool>§auto_updates_protected_for_native: Option<bool>§doctor_shown_at_session: Option<u32>§user_id: Option<String>§theme: Option<ThemeSetting>§has_completed_onboarding: Option<bool>§last_onboarding_version: Option<String>§last_release_notes_seen: Option<String>§changelog_last_fetched: Option<u64>§cached_changelog: Option<String>§mcp_servers: Option<HashMap<String, McpServerConfig>>§claude_ai_mcp_ever_connected: Option<Vec<String>>§preferred_notif_channel: NotificationChannel§custom_notify_command: Option<String>§verbose: Option<bool>§custom_api_key_responses: Option<CustomApiKeyResponses>§primary_api_key: Option<String>§has_acknowledged_cost_threshold: Option<bool>§has_seen_undercover_auto_notice: Option<bool>§has_seen_ultraplan_terms: Option<bool>§has_reset_auto_mode_opt_in_for_default_offer: Option<bool>§oauth_account: Option<AccountInfo>§iterm2_key_binding_installed: Option<bool>§editor_mode: Option<EditorMode>§bypass_permissions_mode_accepted: Option<bool>§has_used_backslash_return: Option<bool>§auto_compact_enabled: bool§show_turn_duration: bool§env: HashMap<String, String>§has_seen_tasks_hint: Option<bool>§has_used_stash: Option<bool>§has_used_background_task: Option<bool>§queued_command_up_hint_count: Option<u32>§diff_tool: Option<DiffTool>§iterm2_setup_in_progress: Option<bool>§iterm2_backup_path: Option<String>§apple_terminal_backup_path: Option<String>§apple_terminal_setup_in_progress: Option<bool>§shift_enter_key_binding_installed: Option<bool>§option_as_meta_key_installed: Option<bool>§auto_connect_ide: Option<bool>§auto_install_ide_extension: Option<bool>§has_ide_onboarding_been_shown: Option<HashMap<String, bool>>§ide_hint_shown_count: Option<u32>§has_ide_auto_connect_dialog_been_shown: Option<bool>§tips_history: HashMap<String, u32>§companion: Option<Value>§companion_muted: Option<bool>§feedback_survey_state: Option<FeedbackSurveyState>§transcript_share_dismissed: Option<bool>§memory_usage_count: u32§has_shown_s1m_welcome_v2: Option<HashMap<String, bool>>§s1m_access_cache: Option<HashMap<String, S1mAccessCacheEntry>>§s1m_non_subscriber_access_cache: Option<HashMap<String, S1mAccessCacheEntry>>§passes_eligibility_cache: Option<HashMap<String, Value>>§grove_config_cache: Option<HashMap<String, GroveConfigCacheEntry>>§passes_upsell_seen_count: Option<u32>§has_visited_passes: Option<bool>§passes_last_seen_remaining: Option<u32>§overage_credit_grant_cache: Option<HashMap<String, OverageCreditCacheEntry>>§overage_credit_upsell_seen_count: Option<u32>§has_visited_extra_usage: Option<bool>§voice_notice_seen_count: Option<u32>§voice_lang_hint_shown_count: Option<u32>§voice_lang_hint_last_language: Option<String>§voice_footer_hint_seen_count: Option<u32>§opus_1m_merge_notice_seen_count: Option<u32>§experiment_notices_seen_count: Option<HashMap<String, u32>>§has_shown_opus_plan_welcome: Option<HashMap<String, bool>>§prompt_queue_use_count: u32§btw_use_count: u32§last_plan_mode_use: Option<u64>§subscription_notice_count: Option<u32>§has_available_subscription: Option<bool>§subscription_upsell_seen_count: Option<u32>§recommended_subscription: Option<String>§todo_feature_enabled: bool§show_expanded_todos: Option<bool>§show_spinner_tree: Option<bool>§first_start_time: Option<String>§message_idle_notif_threshold_ms: u64§github_action_setup_count: Option<u32>§slack_app_install_count: Option<u32>§file_checkpointing_enabled: bool§terminal_progress_bar_enabled: bool§show_status_in_terminal_tab: Option<bool>§task_complete_notif_enabled: Option<bool>§input_needed_notif_enabled: Option<bool>§agent_push_notif_enabled: Option<bool>§claude_code_first_token_date: Option<String>§model_switch_callout_dismissed: Option<bool>§model_switch_callout_last_shown: Option<u64>§model_switch_callout_version: Option<String>§effort_callout_dismissed: Option<bool>§effort_callout_v2_dismissed: Option<bool>§remote_dialog_seen: Option<bool>§bridge_oauth_dead_expires_at: Option<u64>§bridge_oauth_dead_fail_count: Option<u32>§desktop_upsell_seen_count: Option<u32>§desktop_upsell_dismissed: Option<bool>§idle_return_dismissed: Option<bool>§opus_pro_migration_complete: Option<bool>§opus_pro_migration_timestamp: Option<u64>§sonnet_1m_45_migration_complete: Option<bool>§legacy_opus_migration_timestamp: Option<u64>§sonnet_45_to_46_migration_timestamp: Option<u64>§cached_statsig_gates: HashMap<String, bool>§cached_dynamic_configs: Option<HashMap<String, Value>>§cached_growth_book_features: Option<HashMap<String, Value>>§growth_book_overrides: Option<HashMap<String, Value>>§last_shown_emergency_tip: Option<String>§respect_gitignore: bool§copy_full_response: bool§copy_on_select: Option<bool>§github_repo_paths: Option<HashMap<String, Vec<String>>>§deep_link_terminal: Option<String>§iterm2_it2_setup_complete: Option<bool>§prefer_tmux_over_iterm2: Option<bool>§skill_usage: Option<HashMap<String, SkillUsageEntry>>§official_marketplace_auto_install_attempted: Option<bool>§official_marketplace_auto_installed: Option<bool>§official_marketplace_auto_install_fail_reason: Option<String>§official_marketplace_auto_install_retry_count: Option<u32>§official_marketplace_auto_install_last_attempt_time: Option<u64>§official_marketplace_auto_install_next_retry_time: Option<u64>§has_completed_claude_in_chrome_onboarding: Option<bool>§claude_in_chrome_default_enabled: Option<bool>§cached_chrome_extension_installed: Option<bool>§chrome_extension: Option<ChromeExtensionState>§lsp_recommendation_disabled: Option<bool>§lsp_recommendation_never_plugins: Option<Vec<String>>§lsp_recommendation_ignored_count: Option<u32>§claude_code_hints: Option<ClaudeCodeHints>§permission_explainer_enabled: Option<bool>§teammate_mode: Option<String>§teammate_default_model: Option<String>§pr_status_footer_enabled: Option<bool>§tungsten_panel_visible: Option<bool>§penguin_mode_org_enabled: Option<bool>§startup_prefetched_at: Option<u64>§remote_control_at_startup: Option<bool>§cached_extra_usage_disabled_reason: Option<String>§auto_permissions_notification_count: Option<u32>§speculation_enabled: Option<bool>§client_data_cache: Option<Value>§additional_model_options_cache: Option<Vec<Value>>§metrics_status_cache: Option<MetricsStatusCache>§migration_version: Option<u32>

Trait Implementations§

Source§

impl Clone for GlobalConfig

Source§

fn clone(&self) -> GlobalConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GlobalConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GlobalConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for GlobalConfig

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GlobalConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> TaskStateTrait for T
where T: Clone + 'static,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn clone_box(&self) -> Box<dyn TaskStateTrait>

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,