bingocode 1.1.133 → 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
|
@@ -102,7 +102,7 @@ const i18nMap = {
|
|
|
102
102
|
'3. 后台服务:Bingo 会运行一个本地服务器来管理会话。',
|
|
103
103
|
'4. 开始聊天:在任意终端中运行 `bingocode` 或 `claude`。',
|
|
104
104
|
].join('\n'),
|
|
105
|
-
aboutFooter: '作者: leanchy (leanchy07@outlook.com) · github.com/leanchy/
|
|
105
|
+
aboutFooter: '作者: leanchy (leanchy07@outlook.com) · github.com/leanchy/claude-code-bingo',
|
|
106
106
|
mark: '→ 标记会话',
|
|
107
107
|
unmark: '→ 取消标记',
|
|
108
108
|
tipsSimple: 'L 语言 | ESC 返回 | ←→ 菜单 | ↩ 确认 | ? 帮助',
|
|
@@ -135,7 +135,7 @@ const i18nMap = {
|
|
|
135
135
|
'3. Background Service: Bingo runs a local server to manage sessions.',
|
|
136
136
|
'4. Start Chat: Run `bingocode` or `claude` in any terminal to start.',
|
|
137
137
|
].join('\n'),
|
|
138
|
-
aboutFooter: 'Author: leanchy (leanchy07@outlook.com) · github.com/leanchy/
|
|
138
|
+
aboutFooter: 'Author: leanchy (leanchy07@outlook.com) · github.com/leanchy/claude-code-bingo',
|
|
139
139
|
mark: '→ Mark Session',
|
|
140
140
|
unmark: '→ Unmark Session',
|
|
141
141
|
tipsSimple: 'L Lang | ESC Back | ←→ Menu | ↩ Enter | ? Help',
|
|
@@ -168,7 +168,7 @@ const i18nMap = {
|
|
|
168
168
|
'3. バックグラウンドサービス: セッション管理用ローカルサーバーを起動。',
|
|
169
169
|
'4. チャット開始: 任意のターミナルで `bingocode` または `claude` を実行。',
|
|
170
170
|
].join('\n'),
|
|
171
|
-
aboutFooter: '作者: leanchy (leanchy07@outlook.com) · github.com/leanchy/
|
|
171
|
+
aboutFooter: '作者: leanchy (leanchy07@outlook.com) · github.com/leanchy/claude-code-bingo',
|
|
172
172
|
mark: '→ セッションをマーク',
|
|
173
173
|
unmark: '→ マークを解除',
|
|
174
174
|
tipsSimple: 'L 言語 | ESC 戻る | ←→ メニュー | ↩ 決定 | ? ヘルプ',
|
|
@@ -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 =>
|
|
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 =>
|
|
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
|
|
package/src/utils/config.ts
CHANGED
|
@@ -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]
|