diff --git a/packages/cli/src/ui/__snapshots__/App.test.tsx.snap b/packages/cli/src/ui/__snapshots__/App.test.tsx.snap index 4ef43ad93c..47bedd41d4 100644 --- a/packages/cli/src/ui/__snapshots__/App.test.tsx.snap +++ b/packages/cli/src/ui/__snapshots__/App.test.tsx.snap @@ -4,8 +4,8 @@ exports[`App > Snapshots > renders default layout correctly 1`] = ` " ▝▜▄ Gemini CLI v1.2.3 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -49,8 +49,8 @@ Footer ▝▜▄ Gemini CLI v1.2.3 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -65,8 +65,8 @@ exports[`App > Snapshots > renders with dialogs visible 1`] = ` " ▝▜▄ Gemini CLI v1.2.3 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ @@ -108,8 +108,8 @@ exports[`App > should render ToolConfirmationQueue along with Composer when tool " ▝▜▄ Gemini CLI v1.2.3 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: diff --git a/packages/cli/src/ui/components/UserIdentity.tsx b/packages/cli/src/ui/components/UserIdentity.tsx index 51b65e3812..753fcd2abd 100644 --- a/packages/cli/src/ui/components/UserIdentity.tsx +++ b/packages/cli/src/ui/components/UserIdentity.tsx @@ -29,9 +29,10 @@ export const UserIdentity: React.FC = ({ config }) => { } }, [authType]); - const tierName = useMemo(() => { - return authType ? config.getUserTierName() : undefined; - }, [config, authType]); + const tierName = useMemo( + () => (authType ? config.getUserTierName() : undefined), + [config, authType], + ); if (!authType) { return null; diff --git a/packages/cli/src/ui/components/__snapshots__/AlternateBufferQuittingDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/AlternateBufferQuittingDisplay.test.tsx.snap index 089399adee..ed20cded7c 100644 --- a/packages/cli/src/ui/components/__snapshots__/AlternateBufferQuittingDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/AlternateBufferQuittingDisplay.test.tsx.snap @@ -4,8 +4,8 @@ exports[`AlternateBufferQuittingDisplay > renders with a tool awaiting confirmat " ▝▜▄ Gemini CLI v0.10.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -23,8 +23,8 @@ exports[`AlternateBufferQuittingDisplay > renders with active and pending tool m " ▝▜▄ Gemini CLI v0.10.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -46,8 +46,8 @@ exports[`AlternateBufferQuittingDisplay > renders with empty history and no pend " ▝▜▄ Gemini CLI v0.10.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -61,8 +61,8 @@ exports[`AlternateBufferQuittingDisplay > renders with history but no pending it " ▝▜▄ Gemini CLI v0.10.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -84,8 +84,8 @@ exports[`AlternateBufferQuittingDisplay > renders with pending items but no hist " ▝▜▄ Gemini CLI v0.10.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -99,8 +99,8 @@ exports[`AlternateBufferQuittingDisplay > renders with user and gemini messages " ▝▜▄ Gemini CLI v0.10.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -108,7 +108,7 @@ Tips for getting started: 2. Ask coding questions, edit code or run commands 3. Be specific for the best results ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - > Hello Gemini + > Hello Gemini ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ✦ Hello User! " diff --git a/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap index 5a0b15adc9..42a6488176 100644 --- a/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/AppHeader.test.tsx.snap @@ -4,8 +4,8 @@ exports[` > should not render the banner when no flags are set 1`] " ▝▜▄ Gemini CLI v1.0.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -19,8 +19,8 @@ exports[` > should not render the default banner if shown count is " ▝▜▄ Gemini CLI v1.0.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ Tips for getting started: @@ -34,8 +34,8 @@ exports[` > should render the banner with default text 1`] = ` " ▝▜▄ Gemini CLI v1.0.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ │ This is the default banner │ @@ -52,8 +52,8 @@ exports[` > should render the banner with warning text 1`] = ` " ▝▜▄ Gemini CLI v1.0.0 ▝▜▄ - ▗▟▀ - ▝▀ + ▗▟▀ + ▝▀ ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ │ There are capacity issues │ diff --git a/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-pending-search-dialog-google_web_search-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-pending-search-dialog-google_web_search-.snap.svg index b9290efcac..280f558d63 100644 --- a/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-pending-search-dialog-google_web_search-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-pending-search-dialog-google_web_search-.snap.svg @@ -1,123 +1,31 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - ⊷ google_web_search - - - - - Searching... - - ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + Gemini CLI + v1.2.3 + + + + + + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + ⊷ google_web_search + + + + + Searching... + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-shell-tool.snap.svg b/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-shell-tool.snap.svg index 0ba0125a62..3dddced46d 100644 --- a/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-shell-tool.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-a-shell-tool.snap.svg @@ -1,123 +1,31 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - ⊷ run_shell_command - - - - - Running command... - - ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + Gemini CLI + v1.2.3 + + + + + + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + ⊷ run_shell_command + + + + + Running command... + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-an-empty-slice-following-a-search-tool.snap.svg b/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-an-empty-slice-following-a-search-tool.snap.svg index b9290efcac..280f558d63 100644 --- a/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-an-empty-slice-following-a-search-tool.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/borderStyles-MainContent-tool-group-border-SVG-snapshots-should-render-SVG-snapshot-for-an-empty-slice-following-a-search-tool.snap.svg @@ -1,123 +1,31 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - ⊷ google_web_search - - - - - Searching... - - ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + Gemini CLI + v1.2.3 + + + + + + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + ⊷ google_web_search + + + + + Searching... + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/borderStyles.test.tsx.snap b/packages/cli/src/ui/utils/__snapshots__/borderStyles.test.tsx.snap index fbdc559480..d34d820236 100644 --- a/packages/cli/src/ui/utils/__snapshots__/borderStyles.test.tsx.snap +++ b/packages/cli/src/ui/utils/__snapshots__/borderStyles.test.tsx.snap @@ -2,14 +2,10 @@ exports[`MainContent tool group border SVG snapshots > should render SVG snapshot for a pending search dialog (google_web_search) 1`] = ` " - ███ █████████ -░░░███ ███░░░░░███ - ░░░███ ███ ░░░ - ░░░███░███ - ███░ ░███ █████ - ███░ ░░███ ░░███ - ███░ ░░█████████ -░░░ ░░░░░░░░░ + ▝▜▄ Gemini CLI v1.2.3 + ▝▜▄ + ▗▟▀ + ▝▀ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ ⊷ google_web_search │ @@ -20,14 +16,10 @@ exports[`MainContent tool group border SVG snapshots > should render SVG snapsho exports[`MainContent tool group border SVG snapshots > should render SVG snapshot for a shell tool 1`] = ` " - ███ █████████ -░░░███ ███░░░░░███ - ░░░███ ███ ░░░ - ░░░███░███ - ███░ ░███ █████ - ███░ ░░███ ░░███ - ███░ ░░█████████ -░░░ ░░░░░░░░░ + ▝▜▄ Gemini CLI v1.2.3 + ▝▜▄ + ▗▟▀ + ▝▀ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ ⊷ run_shell_command │ @@ -38,14 +30,10 @@ exports[`MainContent tool group border SVG snapshots > should render SVG snapsho exports[`MainContent tool group border SVG snapshots > should render SVG snapshot for an empty slice following a search tool 1`] = ` " - ███ █████████ -░░░███ ███░░░░░███ - ░░░███ ███ ░░░ - ░░░███░███ - ███░ ░███ █████ - ███░ ░░███ ░░███ - ███░ ░░█████████ -░░░ ░░░░░░░░░ + ▝▜▄ Gemini CLI v1.2.3 + ▝▜▄ + ▗▟▀ + ▝▀ ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ │ ⊷ google_web_search │