GlobalConfig constructor
GlobalConfig({
- String? apiKeyHelper,
- Map<
String, ProjectConfig> ? projects, - int numStartups = 0,
- InstallMethod? installMethod,
- bool? autoUpdates,
- bool? autoUpdatesProtectedForNative,
- int? doctorShownAtSession,
- String? userID,
- ThemeSetting theme = ThemeSetting.dark,
- bool? hasCompletedOnboarding,
- String? lastOnboardingVersion,
- String? lastReleaseNotesSeen,
- int? changelogLastFetched,
- Map<
String, dynamic> ? mcpServers, - List<
String> ? neomageAiMcpEverConnected, - NotificationChannel preferredNotifChannel = NotificationChannel.auto,
- String? customNotifyCommand,
- bool verbose = false,
- Map<
String, dynamic> ? customApiKeyResponses, - String? primaryApiKey,
- bool? hasAcknowledgedCostThreshold,
- bool? hasSeenUndercoverAutoNotice,
- AccountInfo? oauthAccount,
- EditorMode editorMode = EditorMode.normal,
- bool? bypassPermissionsModeAccepted,
- bool? hasUsedBackslashReturn,
- bool autoCompactEnabled = true,
- bool showTurnDuration = true,
- Map<
String, String> env = const {}, - bool hasSeenTasksHint = false,
- bool? hasUsedStash,
- bool? hasUsedBackgroundTask,
- int? queuedCommandUpHintCount,
- DiffTool diffTool = DiffTool.auto,
- Map<
String, int> tipsHistory = const {}, - int memoryUsageCount = 0,
- int promptQueueUseCount = 0,
- int btwUseCount = 0,
- bool todoFeatureEnabled = true,
- bool showExpandedTodos = false,
- bool? showSpinnerTree,
- String? firstStartTime,
- int messageIdleNotifThresholdMs = 60000,
- bool autoConnectIde = false,
- bool autoInstallIdeExtension = true,
- bool fileCheckpointingEnabled = true,
- bool terminalProgressBarEnabled = true,
- bool? showStatusInTerminalTab,
- bool? taskCompleteNotifEnabled,
- bool? inputNeededNotifEnabled,
- bool? agentPushNotifEnabled,
- Map<
String, bool> cachedStatsigGates = const {}, - Map<
String, dynamic> ? cachedDynamicConfigs, - Map<
String, dynamic> ? cachedGrowthBookFeatures, - Map<
String, dynamic> ? growthBookOverrides, - bool respectGitignore = true,
- bool copyFullResponse = false,
- bool? copyOnSelect,
- Map<
String, List< ? githubRepoPaths,String> > - String? deepLinkTerminal,
- Map<
String, SkillUsageEntry> ? skillUsage, - bool? remoteControlAtStartup,
- String? cachedExtraUsageDisabledReason,
- bool? speculationEnabled,
- Map<
String, dynamic> ? clientDataCache, - int? migrationVersion,
- FeedbackSurveyState? feedbackSurveyState,
- ChromeExtensionPairing? chromeExtension,
- NeomageHints? neomageHints,
- bool? permissionExplainerEnabled,
- String? teammateMode,
- String? teammateDefaultModel,
- bool? remoteDialogSeen,
- int? lastPlanModeUse,
- String? neomageFirstTokenDate,
Implementation
GlobalConfig({
this.apiKeyHelper,
this.projects,
this.numStartups = 0,
this.installMethod,
this.autoUpdates,
this.autoUpdatesProtectedForNative,
this.doctorShownAtSession,
this.userID,
this.theme = ThemeSetting.dark,
this.hasCompletedOnboarding,
this.lastOnboardingVersion,
this.lastReleaseNotesSeen,
this.changelogLastFetched,
this.mcpServers,
this.neomageAiMcpEverConnected,
this.preferredNotifChannel = NotificationChannel.auto,
this.customNotifyCommand,
this.verbose = false,
this.customApiKeyResponses,
this.primaryApiKey,
this.hasAcknowledgedCostThreshold,
this.hasSeenUndercoverAutoNotice,
this.oauthAccount,
this.editorMode = EditorMode.normal,
this.bypassPermissionsModeAccepted,
this.hasUsedBackslashReturn,
this.autoCompactEnabled = true,
this.showTurnDuration = true,
this.env = const {},
this.hasSeenTasksHint = false,
this.hasUsedStash,
this.hasUsedBackgroundTask,
this.queuedCommandUpHintCount,
this.diffTool = DiffTool.auto,
this.tipsHistory = const {},
this.memoryUsageCount = 0,
this.promptQueueUseCount = 0,
this.btwUseCount = 0,
this.todoFeatureEnabled = true,
this.showExpandedTodos = false,
this.showSpinnerTree,
this.firstStartTime,
this.messageIdleNotifThresholdMs = 60000,
this.autoConnectIde = false,
this.autoInstallIdeExtension = true,
this.fileCheckpointingEnabled = true,
this.terminalProgressBarEnabled = true,
this.showStatusInTerminalTab,
this.taskCompleteNotifEnabled,
this.inputNeededNotifEnabled,
this.agentPushNotifEnabled,
this.cachedStatsigGates = const {},
this.cachedDynamicConfigs,
this.cachedGrowthBookFeatures,
this.growthBookOverrides,
this.respectGitignore = true,
this.copyFullResponse = false,
this.copyOnSelect,
this.githubRepoPaths,
this.deepLinkTerminal,
this.skillUsage,
this.remoteControlAtStartup,
this.cachedExtraUsageDisabledReason,
this.speculationEnabled,
this.clientDataCache,
this.migrationVersion,
this.feedbackSurveyState,
this.transcriptShareDismissed,
this.chromeExtension,
this.neomageHints,
this.permissionExplainerEnabled,
this.teammateMode,
this.teammateDefaultModel,
this.prStatusFooterEnabled,
this.remoteDialogSeen,
this.lastPlanModeUse,
this.neomageFirstTokenDate,
});