bingocode 1.1.134 → 1.1.135

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bingocode",
3
- "version": "1.1.134",
3
+ "version": "1.1.135",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claude": "bin/claude-win.cjs",
@@ -297,6 +297,8 @@ export const CliMenuManager: React.FC = () => {
297
297
  if (cfg.language && (cfg.language === 'en' || cfg.language === 'zh' || cfg.language === 'ja')) {
298
298
  setLang(cfg.language as Lang);
299
299
  }
300
+ if (typeof cfg.uiAnimEnabled === 'boolean') setAnimEnabled(cfg.uiAnimEnabled);
301
+ if (typeof cfg.uiTipsEnabled === 'boolean') setTipsEnabled(cfg.uiTipsEnabled);
300
302
  } catch (e) {
301
303
  // Silently fail if config has issues
302
304
  }
@@ -600,12 +602,20 @@ export const CliMenuManager: React.FC = () => {
600
602
 
601
603
  // Top animation toggle (O)
602
604
  if (input === 'o' || input === 'O') {
603
- setAnimEnabled(v => !v);
605
+ setAnimEnabled(v => {
606
+ const next = !v;
607
+ try { const cfg = getGlobalConfig(); cfg.uiAnimEnabled = next; saveGlobalConfig(cfg); } catch {}
608
+ return next;
609
+ });
604
610
  return;
605
611
  }
606
612
  // Top Tips toggle (T)
607
613
  if (input === 't' || input === 'T') {
608
- setTipsEnabled(v => !v);
614
+ setTipsEnabled(v => {
615
+ const next = !v;
616
+ try { const cfg = getGlobalConfig(); cfg.uiTipsEnabled = next; saveGlobalConfig(cfg); } catch {}
617
+ return next;
618
+ });
609
619
  return;
610
620
  }
611
621
 
@@ -243,6 +243,8 @@ export type GlobalConfig = {
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
245
  language: 'en' | 'zh' | 'ja' // User's preferred language for CLI menus
246
+ uiAnimEnabled: boolean // Whether top logo animation is enabled in CLI menu
247
+ uiTipsEnabled: boolean // Whether tips display is enabled in CLI menu
246
248
 
247
249
  // Terminal setup state tracking
248
250
  iterm2SetupInProgress?: boolean
@@ -621,6 +623,8 @@ function createDefaultGlobalConfig(): GlobalConfig {
621
623
  respectGitignore: true,
622
624
  copyFullResponse: false,
623
625
  language: 'en',
626
+ uiAnimEnabled: true,
627
+ uiTipsEnabled: true,
624
628
  }
625
629
  }
626
630
 
@@ -666,6 +670,8 @@ export const GLOBAL_CONFIG_KEYS = [
666
670
  'remoteControlAtStartup',
667
671
  'remoteDialogSeen',
668
672
  'language',
673
+ 'uiAnimEnabled',
674
+ 'uiTipsEnabled',
669
675
  ] as const
670
676
 
671
677
  export type GlobalConfigKey = (typeof GLOBAL_CONFIG_KEYS)[number]