bingocode 1.1.65 → 1.1.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli/ProviderPanel.tsx +210 -174
- package/src/components/HelpV2/General.tsx +16 -5
- package/src/components/PromptInput/PromptInputHelpMenu.tsx +11 -2
- package/src/manager/CliMenuManager.tsx +244 -207
- package/src/manager/CliMenuUi.tsx +87 -27
- package/src/manager/TopToolbar.tsx +6 -6
- package/src/server/cli/providersMenu.tsx +46 -46
- package/src/server/config/providers.yaml +18 -18
- package/src/server/ensureSingletonLocalServer.ts +2 -2
- package/src/utils/config.ts +3 -0
package/src/utils/config.ts
CHANGED
|
@@ -242,6 +242,7 @@ export type GlobalConfig = {
|
|
|
242
242
|
hasUsedBackgroundTask?: boolean // Whether the user has backgrounded a task (Ctrl+B)
|
|
243
243
|
queuedCommandUpHintCount?: number // Counter for how many times the user has seen the queued command up hint
|
|
244
244
|
diffTool?: DiffTool // Which tool to use for displaying diffs (terminal or vscode)
|
|
245
|
+
language: 'en' | 'zh' // User's preferred language for CLI menus
|
|
245
246
|
|
|
246
247
|
// Terminal setup state tracking
|
|
247
248
|
iterm2SetupInProgress?: boolean
|
|
@@ -619,6 +620,7 @@ function createDefaultGlobalConfig(): GlobalConfig {
|
|
|
619
620
|
cachedGrowthBookFeatures: {},
|
|
620
621
|
respectGitignore: true,
|
|
621
622
|
copyFullResponse: false,
|
|
623
|
+
language: 'en',
|
|
622
624
|
}
|
|
623
625
|
}
|
|
624
626
|
|
|
@@ -663,6 +665,7 @@ export const GLOBAL_CONFIG_KEYS = [
|
|
|
663
665
|
'prStatusFooterEnabled',
|
|
664
666
|
'remoteControlAtStartup',
|
|
665
667
|
'remoteDialogSeen',
|
|
668
|
+
'language',
|
|
666
669
|
] as const
|
|
667
670
|
|
|
668
671
|
export type GlobalConfigKey = (typeof GLOBAL_CONFIG_KEYS)[number]
|