GlobalConfig constructor
GlobalConfig({
- int numStartups = 0,
- InstallMethod? installMethod,
- bool? autoUpdates,
- ThemeSetting theme = ThemeSetting.dark,
- bool? hasCompletedOnboarding,
- String? lastReleaseNotesSeen,
- Map<
String, dynamic> ? mcpServers, - NotificationChannel preferredNotifChannel = NotificationChannel.auto,
- bool verbose = false,
- String? primaryApiKey,
- AccountInfo? oauthAccount,
- EditorMode? editorMode = EditorMode.normal,
- bool autoCompactEnabled = true,
- bool showTurnDuration = true,
- Map<
String, String> env = const {}, - bool? hasSeenTasksHint = false,
- DiffTool? diffTool = DiffTool.auto,
- Map<
String, int> tipsHistory = const {}, - int memoryUsageCount = 0,
- int promptQueueUseCount = 0,
- int btwUseCount = 0,
- bool todoFeatureEnabled = true,
- bool? showExpandedTodos = false,
- int messageIdleNotifThresholdMs = 60000,
- bool? autoConnectIde = false,
- bool? autoInstallIdeExtension = true,
- bool fileCheckpointingEnabled = true,
- bool terminalProgressBarEnabled = true,
- bool respectGitignore = true,
- bool copyFullResponse = false,
- Map<
String, ProjectConfig> ? projects, - Map<
String, bool> cachedStatsigGates = const {}, - Map<
String, dynamic> ? cachedGrowthBookFeatures, - Map<
String, dynamic> ? customApiKeyResponses, - String? userID,
Implementation
GlobalConfig({
this.numStartups = 0,
this.installMethod,
this.autoUpdates,
this.theme = ThemeSetting.dark,
this.hasCompletedOnboarding,
this.lastReleaseNotesSeen,
this.mcpServers,
this.preferredNotifChannel = NotificationChannel.auto,
this.verbose = false,
this.primaryApiKey,
this.oauthAccount,
this.editorMode = EditorMode.normal,
this.autoCompactEnabled = true,
this.showTurnDuration = true,
this.env = const {},
this.hasSeenTasksHint = false,
this.diffTool = DiffTool.auto,
this.tipsHistory = const {},
this.memoryUsageCount = 0,
this.promptQueueUseCount = 0,
this.btwUseCount = 0,
this.todoFeatureEnabled = true,
this.showExpandedTodos = false,
this.messageIdleNotifThresholdMs = 60000,
this.autoConnectIde = false,
this.autoInstallIdeExtension = true,
this.fileCheckpointingEnabled = true,
this.terminalProgressBarEnabled = true,
this.respectGitignore = true,
this.copyFullResponse = false,
this.projects,
this.cachedStatsigGates = const {},
this.cachedGrowthBookFeatures,
this.customApiKeyResponses,
this.userID,
});