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.
@@ -3,20 +3,31 @@ import * as React from 'react';
3
3
  import { Box, Text } from '../../ink.js';
4
4
  import { PromptInputHelpMenu } from '../PromptInput/PromptInputHelpMenu.js';
5
5
  export function General() {
6
- const $ = _c(2);
6
+ const $ = _c(3);
7
7
  let t0;
8
8
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
9
- t0 = <Box><Text>Claude understands your codebase, makes edits with your permission, and executes commands — right from your terminal.</Text></Box>;
9
+ t0 = <Box flexDirection="column" gap={1}>
10
+ <Text>Claude understands your codebase, makes edits with your permission, and executes commands — right from your terminal.</Text>
11
+ <Box flexDirection="column" paddingTop={1}>
12
+ <Text bold>English Menu (Default):</Text>
13
+ <Text>The CLI starts in English. Toggle to Chinese using the 'L' key.</Text>
14
+ <Text bold paddingTop={1}>Usage:</Text>
15
+ <Text>• Use arrow keys to navigate the main menu.</Text>
16
+ <Text>• Press 'N' for a new session or 'R' to resume the latest one.</Text>
17
+ <Text>• Use '/' for commands like /help, /search, or /compact.</Text>
18
+ </Box>
19
+ </Box>;
10
20
  $[0] = t0;
11
21
  } else {
12
22
  t0 = $[0];
13
23
  }
14
24
  let t1;
15
- if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
25
+ if ($[1] !== t0) {
16
26
  t1 = <Box flexDirection="column" paddingY={1} gap={1}>{t0}<Box flexDirection="column"><Box><Text bold={true}>Shortcuts</Text></Box><PromptInputHelpMenu gap={2} fixedWidth={true} /></Box></Box>;
17
- $[1] = t1;
27
+ $[1] = t0;
28
+ $[2] = t1;
18
29
  } else {
19
- t1 = $[1];
30
+ t1 = $[2];
20
31
  }
21
32
  return t1;
22
33
  }
@@ -326,9 +326,17 @@ export function PromptInputHelpMenu(props) {
326
326
  } else {
327
327
  t43 = $[83];
328
328
  }
329
+ let t46;
330
+ if ($[100] !== dimColor) {
331
+ t46 = <Box><Text dimColor={dimColor}>L to toggle language (en/zh)</Text></Box>;
332
+ $[100] = dimColor;
333
+ $[101] = t46;
334
+ } else {
335
+ t46 = $[101];
336
+ }
329
337
  let t44;
330
- if ($[84] !== t36 || $[85] !== t37 || $[86] !== t38 || $[87] !== t39 || $[88] !== t40 || $[89] !== t41 || $[90] !== t42 || $[91] !== t43) {
331
- t44 = <Box flexDirection="column">{t36}{t37}{t38}{t39}{t40}{t41}{t42}{t43}</Box>;
338
+ if ($[84] !== t36 || $[85] !== t37 || $[86] !== t38 || $[87] !== t39 || $[88] !== t40 || $[89] !== t41 || $[90] !== t42 || $[91] !== t43 || $[102] !== t46) {
339
+ t44 = <Box flexDirection="column">{t36}{t37}{t38}{t39}{t40}{t41}{t42}{t43}{t46}</Box>;
332
340
  $[84] = t36;
333
341
  $[85] = t37;
334
342
  $[86] = t38;
@@ -337,6 +345,7 @@ export function PromptInputHelpMenu(props) {
337
345
  $[89] = t41;
338
346
  $[90] = t42;
339
347
  $[91] = t43;
348
+ $[102] = t46;
340
349
  $[92] = t44;
341
350
  } else {
342
351
  t44 = $[92];