From 8a8590c51626f885b64e4dcbf3ece4136bb45e1e Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Mon, 13 Apr 2026 18:16:27 +0000 Subject: [PATCH] fix: resolve snapshot merge conflicts This commit resolves the merge conflicts that were present in several SVG snapshot files by regenerating them via 'vitest run -u'. --- .gemini/settings.json | 2 +- .../src/ui/__snapshots__/App.test.tsx.snap | 218 +-- ...-the-frame-of-the-entire-terminal.snap.svg | 357 ++++- .../ToolConfirmationFullFrame.test.tsx.snap | 86 +- ...efault-icon-in-standard-terminals.snap.svg | 26 +- ...-symmetric-icon-in-Apple-Terminal.snap.svg | 28 +- .../__snapshots__/AskUserDialog.test.tsx.snap | 505 +----- ...r-Banner-handles-newlines-in-text.snap.svg | 21 +- ...anner-Banner-renders-in-info-mode.snap.svg | 25 +- ...ts-the-active-item-in-the-preview.snap.svg | 254 +-- ...s-correctly-with-default-settings.snap.svg | 248 +-- ...Show-footer-labels-is-toggled-off.snap.svg | 240 +-- .../HistoryItemDisplay.test.tsx.snap | 346 ++-- ...ches-SVG-snapshot-for-single-hook.snap.svg | 63 +- .../HookStatusDisplay.test.tsx.snap | 183 +-- ...ng-of-a-line-in-a-multiline-block.snap.svg | 75 +- ...nd-of-a-line-in-a-multiline-block.snap.svg | 74 +- ...le-of-a-line-in-a-multiline-block.snap.svg | 79 +- ...a-blank-line-in-a-multiline-block.snap.svg | 76 +- ...er-multi-byte-unicode-characters-.snap.svg | 72 +- ...tly-at-the-beginning-of-the-line-.snap.svg | 72 +- ...e-end-of-a-line-with-unicode-cha-.snap.svg | 70 +- ...e-end-of-a-short-line-with-unico-.snap.svg | 71 +- ...correctly-at-the-end-of-the-line-.snap.svg | 71 +- ...or-multi-byte-unicode-characters-.snap.svg | 73 +- ...isplay-cursor-correctly-mid-word-.snap.svg | 73 +- ...correctly-on-a-highlighted-token-.snap.svg | 74 +- ...rrectly-on-a-space-between-words-.snap.svg | 72 +- ...ursor-correctly-on-an-empty-line-.snap.svg | 71 +- ...iline-input-including-blank-lines.snap.svg | 76 +- ...rted-cursor-when-shell-is-focused.snap.svg | 74 +- .../__snapshots__/InputPrompt.test.tsx.snap | 823 +--------- ...g-messages-sequentially-correctly.snap.svg | 37 +- .../__snapshots__/MainContent.test.tsx.snap | 136 +- ...tings-list-with-visual-indicators.snap.svg | 230 +-- ...bility-settings-enabled-correctly.snap.svg | 230 +-- ...olean-settings-disabled-correctly.snap.svg | 228 +-- ...ld-render-default-state-correctly.snap.svg | 230 +-- ...ing-settings-configured-correctly.snap.svg | 230 +-- ...cused-on-scope-selector-correctly.snap.svg | 228 +-- ...ean-and-number-settings-correctly.snap.svg | 228 +-- ...s-and-security-settings-correctly.snap.svg | 230 +-- ...oolean-settings-enabled-correctly.snap.svg | 228 +-- ...render-headers-and-data-correctly.snap.svg | 2 +- ...uld-support-custom-cell-rendering.snap.svg | 2 +- ...ld-support-inverse-text-rendering.snap.svg | 2 +- .../__snapshots__/ThemeDialog.test.tsx.snap | 441 +++--- ...security-warning-height-correctly.snap.svg | 146 +- ...-and-content-for-large-edit-diffs.snap.svg | 804 +++++----- ...d-content-for-large-exec-commands.snap.svg | 288 ++-- ...snapshot-for-a-Rejected-tool-call.snap.svg | 67 +- ...ccepted-file-edit-with-diff-stats.snap.svg | 89 +- .../DenseToolMessage.test.tsx.snap | 139 +- .../__snapshots__/GeminiMessage.test.tsx.snap | 233 +-- .../ShellToolMessage.test.tsx.snap | 192 +-- ...out-progress-dots-and-empty-lines.snap.svg | 8 +- ...normalizes-escaped-newline-tokens.snap.svg | 8 +- ...ader-when-isFirstThinking-is-true.snap.svg | 8 +- ...de-with-left-border-and-full-text.snap.svg | 8 +- ...g-messages-sequentially-correctly.snap.svg | 36 +- ...vertical-rule-and-Thinking-header.snap.svg | 8 +- ...description-when-subject-is-empty.snap.svg | 4 +- ...lable-height-for-large-edit-diffs.snap.svg | 728 ++++----- ...le-height-for-large-exec-commands.snap.svg | 146 +- ...-newlines-and-syntax-highlighting.snap.svg | 32 +- .../ToolGroupMessage.compact.test.tsx.snap | 180 +-- .../ToolGroupMessage.test.tsx.snap | 622 ++------ .../__snapshots__/ToolMessage.test.tsx.snap | 718 +-------- .../ToolMessageFocusHint.test.tsx.snap | 188 +-- .../ToolMessageRawMarkdown.test.tsx.snap | 144 +- ...ilableTerminalHeight-is-undefined.snap.svg | 89 +- .../ToolResultDisplay.test.tsx.snap | 401 +---- .../__snapshots__/ToolsList.test.tsx.snap | 53 +- ...pe-codes-leak-into-colorized-code.snap.svg | 2 +- .../MarkdownDisplay.test.tsx.snap | 1397 +---------------- ...lates-column-widths-based-on-ren-.snap.svg | 34 - ...lates-width-correctly-for-conten-.snap.svg | 40 - ...not-parse-markdown-inside-code-s-.snap.svg | 35 - ...es-nested-markdown-styles-recurs-.snap.svg | 40 - ...dles-non-ASCII-characters-emojis-.snap.svg | 27 - ...d-headers-without-showing-markers.snap.svg | 42 - ...rer-renders-a-3x3-table-correctly.snap.svg | 34 - ...h-mixed-content-lengths-correctly.snap.svg | 396 ----- ...g-headers-and-4-columns-correctly.snap.svg | 58 - ...ers-a-table-with-mixed-emojis-As-.snap.svg | 27 - ...rs-a-table-with-only-Asian-chara-.snap.svg | 27 - ...ers-a-table-with-only-emojis-and-.snap.svg | 27 - ...ers-complex-markdown-in-rows-and-.snap.svg | 48 - ...rs-correctly-when-headers-are-em-.snap.svg | 14 - ...rs-correctly-when-there-are-more-.snap.svg | 19 - ...eaders-and-renders-them-correctly.snap.svg | 20 - ...-wraps-all-long-columns-correctly.snap.svg | 47 - ...olumns-with-punctuation-correctly.snap.svg | 46 - ...wraps-long-cell-content-correctly.snap.svg | 30 - ...-long-and-short-columns-correctly.snap.svg | 31 - ...-search-dialog-google_web_search-.snap.svg | 107 +- ...der-SVG-snapshot-for-a-shell-tool.snap.svg | 107 +- ...pty-slice-following-a-search-tool.snap.svg | 107 +- .../__snapshots__/borderStyles.test.tsx.snap | 183 +-- 99 files changed, 4212 insertions(+), 11352 deletions(-) diff --git a/.gemini/settings.json b/.gemini/settings.json index 594a07360b..914281c5c9 100644 --- a/.gemini/settings.json +++ b/.gemini/settings.json @@ -13,4 +13,4 @@ "agents": { "overrides": {} } -} \ No newline at end of file +} diff --git a/packages/cli/src/ui/__snapshots__/App.test.tsx.snap b/packages/cli/src/ui/__snapshots__/App.test.tsx.snap index f6681359c9..611f2e0908 100644 --- a/packages/cli/src/ui/__snapshots__/App.test.tsx.snap +++ b/packages/cli/src/ui/__snapshots__/App.test.tsx.snap @@ -2,163 +2,109 @@ exports[`App > Snapshots > renders default layout correctly 1`] = ` " - ERROR config.getUseTerminalBuffer is not a function + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ - src/ui/components/MainContent.tsx:40:36 + Gemini CLI v1.2.3 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) +Tips for getting started: +1. Create GEMINI.md files to customize your interactions +2. /help for more information +3. Ask coding questions, edit code or run commands +4. Be specific for the best results + + + + + + + + + + + + + + + + + + + + + +Notifications + +Composer " `; exports[`App > Snapshots > renders screen reader layout correctly 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Notifications +Footer - src/ui/components/MainContent.tsx:40:36 + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); + Gemini CLI v1.2.3 - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) + +Tips for getting started: +1. Create GEMINI.md files to customize your interactions +2. /help for more information +3. Ask coding questions, edit code or run commands +4. Be specific for the best results +Composer " `; exports[`App > Snapshots > renders with dialogs visible 1`] = ` " - ERROR config.getUseTerminalBuffer is not a function + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ - src/ui/components/MainContent.tsx:40:36 + Gemini CLI v1.2.3 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) + + + + + + + + + + + + + + + + + + + + + + + + + + +Notifications + +DialogManager " `; diff --git a/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame-Full-Terminal-Tool-Confirmation-Snapshot-renders-tool-confirmation-box-in-the-frame-of-the-entire-terminal.snap.svg b/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame-Full-Terminal-Tool-Confirmation-Snapshot-renders-tool-confirmation-box-in-the-frame-of-the-entire-terminal.snap.svg index 2fdb644877..42e28aac6a 100644 --- a/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame-Full-Terminal-Tool-Confirmation-Snapshot-renders-tool-confirmation-box-in-the-frame-of-the-entire-terminal.snap.svg +++ b/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame-Full-Terminal-Tool-Confirmation-Snapshot-renders-tool-confirmation-box-in-the-frame-of-the-entire-terminal.snap.svg @@ -1,74 +1,295 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/components/MainContent.tsx:40:36 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent - (src/ui/components/MainContent.tsx:40:36) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - - - renderRootSy - c - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - - - performWorkOnR - ot - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) + + + > + + Can you edit InputPrompt.tsx for me? + + + ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ + ╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ + + ? Edit + packages/.../InputPrompt.tsx: return kittyProtocolSupporte... => return kittyProto… + + + ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ + + + + ... first 42 lines hidden (Ctrl+O to show) ... + + + + + 43 + const + line43 + = + true + ; + + + + + 44 + const + line44 + = + true + ; + + + + + 45 + const + line45 + = + true + ; + + + + + 46 + const + line46 + = + true + ; + + + + + 47 + const + line47 + = + true + ; + + │▄ + + + 48 + const + line48 + = + true + ; + + │█ + + + 49 + const + line49 + = + true + ; + + │█ + + + 50 + const + line50 + = + true + ; + + │█ + + + 51 + const + line51 + = + true + ; + + │█ + + + 52 + const + line52 + = + true + ; + + │█ + + + 53 + const + line53 + = + true + ; + + │█ + + + 54 + const + line54 + = + true + ; + + │█ + + + 55 + const + line55 + = + true + ; + + │█ + + + 56 + const + line56 + = + true + ; + + │█ + + + 57 + const + line57 + = + true + ; + + │█ + + + 58 + const + line58 + = + true + ; + + │█ + + + 59 + const + line59 + = + true + ; + + │█ + + + 60 + const + line60 + = + true + ; + + │█ + + + + 61 + + + - + + + + return + + kittyProtocolSupporte...; + + │█ + + + + 61 + + + + + + + + return + + kittyProtocolSupporte...; + + │█ + + + 62 + buffer: TextBuffer; + + │█ + + + 63 + onSubmit + : ( + value + : + string + ) => + void + ; + + │█ + + ╰─────────────────────────────────────────────────────────────────────────────────────────────╯ + │█ + + Apply this change? + │█ + + │█ + + + + + + 1. + + + Allow once + + │█ + + 2. + Allow for this session + │█ + + 3. + Allow for this file in all future sessions + ~/.gemini/policies/auto-saved.toml + │█ + + 4. + Modify with external editor + │█ + + 5. + No, suggest changes (esc) + │█ + ╰─────────────────────────────────────────────────────────────────────────────────────────────────╯█ \ No newline at end of file diff --git a/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame.test.tsx.snap b/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame.test.tsx.snap index 610ebd01f3..caebc9ae49 100644 --- a/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame.test.tsx.snap +++ b/packages/cli/src/ui/__snapshots__/ToolConfirmationFullFrame.test.tsx.snap @@ -1,55 +1,43 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Full Terminal Tool Confirmation Snapshot > renders tool confirmation box in the frame of the entire terminal 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +" > Can you edit InputPrompt.tsx for me? +▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ - src/ui/components/MainContent.tsx:40:36 - - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) +╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ ? Edit packages/.../InputPrompt.tsx: return kittyProtocolSupporte... => return kittyProto… │ +│ ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │ +│ │ ... first 42 lines hidden (Ctrl+O to show) ... │ │ +│ │ 43 const line43 = true; │ │ +│ │ 44 const line44 = true; │ │ +│ │ 45 const line45 = true; │ │ +│ │ 46 const line46 = true; │ │ +│ │ 47 const line47 = true; │ │▄ +│ │ 48 const line48 = true; │ │█ +│ │ 49 const line49 = true; │ │█ +│ │ 50 const line50 = true; │ │█ +│ │ 51 const line51 = true; │ │█ +│ │ 52 const line52 = true; │ │█ +│ │ 53 const line53 = true; │ │█ +│ │ 54 const line54 = true; │ │█ +│ │ 55 const line55 = true; │ │█ +│ │ 56 const line56 = true; │ │█ +│ │ 57 const line57 = true; │ │█ +│ │ 58 const line58 = true; │ │█ +│ │ 59 const line59 = true; │ │█ +│ │ 60 const line60 = true; │ │█ +│ │ 61 - return kittyProtocolSupporte...; │ │█ +│ │ 61 + return kittyProtocolSupporte...; │ │█ +│ │ 62 buffer: TextBuffer; │ │█ +│ │ 63 onSubmit: (value: string) => void; │ │█ +│ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯ │█ +│ Apply this change? │█ +│ │█ +│ ● 1. Allow once │█ +│ 2. Allow for this session │█ +│ 3. Allow for this file in all future sessions ~/.gemini/policies/auto-saved.toml │█ +│ 4. Modify with external editor │█ +│ 5. No, suggest changes (esc) │█ +╰─────────────────────────────────────────────────────────────────────────────────────────────────╯█ " `; diff --git a/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-default-icon-in-standard-terminals.snap.svg b/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-default-icon-in-standard-terminals.snap.svg index 73dc7b7558..5c4c6426b7 100644 --- a/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-default-icon-in-standard-terminals.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-default-icon-in-standard-terminals.snap.svg @@ -4,29 +4,29 @@ - - - + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ - - - + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ - - - + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ - - + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ Gemini CLI - v1.0.0 + v1.0.0 Tips for getting started: 1. Create GEMINI.md files to customize your interactions 2. - /help + /help for more information 3. Ask coding questions, edit code or run commands 4. Be specific for the best results diff --git a/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-symmetric-icon-in-Apple-Terminal.snap.svg b/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-symmetric-icon-in-Apple-Terminal.snap.svg index 1409c70ae0..eaa118754f 100644 --- a/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-symmetric-icon-in-Apple-Terminal.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/AppHeaderIcon-AppHeader-Icon-Rendering-renders-the-symmetric-icon-in-Apple-Terminal.snap.svg @@ -4,30 +4,30 @@ - - - + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ - - - + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ - - - + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ - - - + + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ Gemini CLI - v1.0.0 + v1.0.0 Tips for getting started: 1. Create GEMINI.md files to customize your interactions 2. - /help + /help for more information 3. Ask coding questions, edit code or run commands 4. Be specific for the best results diff --git a/packages/cli/src/ui/components/__snapshots__/AskUserDialog.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/AskUserDialog.test.tsx.snap index 87a1646a73..cdc060d9d7 100644 --- a/packages/cli/src/ui/components/__snapshots__/AskUserDialog.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/AskUserDialog.test.tsx.snap @@ -1,57 +1,6 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`AskUserDialog > Choice question placeholder > uses default placeholder when not provided 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) -" -`; - -exports[`AskUserDialog > Choice question placeholder > uses default placeholder when not provided 2`] = ` "Select your preferred language: 1. TypeScript @@ -63,57 +12,6 @@ Enter to submit · Esc to cancel `; exports[`AskUserDialog > Choice question placeholder > uses placeholder for "Other" option when provided 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) -" -`; - -exports[`AskUserDialog > Choice question placeholder > uses placeholder for "Other" option when provided 2`] = ` "Select your preferred language: 1. TypeScript @@ -157,125 +55,32 @@ Enter to select · ↑/↓ to navigate · Esc to cancel `; exports[`AskUserDialog > Text type questions > renders text input for type: "text" 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"What should we name this component? - src/ui/hooks/useAlternateBuffer.ts:16:44 +> e.g., UserProfileCard - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - TextQuestionView (src/ui/components/AskUserDialog.tsx:293:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to submit · Esc to cancel " `; exports[`AskUserDialog > Text type questions > shows correct keyboard hints for text type 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Enter the variable name: - src/ui/hooks/useAlternateBuffer.ts:16:44 +> Enter your response - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - TextQuestionView (src/ui/components/AskUserDialog.tsx:293:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to submit · Esc to cancel " `; exports[`AskUserDialog > Text type questions > shows default placeholder when none provided 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Enter the database connection string: - src/ui/hooks/useAlternateBuffer.ts:16:44 +> Enter your response - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - TextQuestionView (src/ui/components/AskUserDialog.tsx:293:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to submit · Esc to cancel " `; @@ -294,252 +99,75 @@ Enter to submit · Tab/Shift+Tab to edit answers · Esc to cancel `; exports[`AskUserDialog > hides progress header for single question 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Which authentication method should we use? - src/ui/hooks/useAlternateBuffer.ts:16:44 +● 1. OAuth 2.0 + Industry standard, supports SSO + 2. JWT tokens + Stateless, good for APIs + 3. Enter a custom value - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to select · ↑/↓ to navigate · Esc to cancel " `; exports[`AskUserDialog > renders question and options 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Which authentication method should we use? - src/ui/hooks/useAlternateBuffer.ts:16:44 +● 1. OAuth 2.0 + Industry standard, supports SSO + 2. JWT tokens + Stateless, good for APIs + 3. Enter a custom value - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to select · ↑/↓ to navigate · Esc to cancel " `; exports[`AskUserDialog > shows Review tab in progress header for multiple questions 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"← □ Framework │ □ Styling │ ≡ Review → - src/ui/hooks/useAlternateBuffer.ts:16:44 +Which framework? - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { +● 1. React + Component library + 2. Vue + Progressive framework + 3. Enter a custom value - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to select · ←/→ to switch questions · Esc to cancel " `; exports[`AskUserDialog > shows keyboard hints 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Which authentication method should we use? - src/ui/hooks/useAlternateBuffer.ts:16:44 +● 1. OAuth 2.0 + Industry standard, supports SSO + 2. JWT tokens + Stateless, good for APIs + 3. Enter a custom value - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to select · ↑/↓ to navigate · Esc to cancel " `; exports[`AskUserDialog > shows progress header for multiple questions 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"← □ Database │ □ ORM │ ≡ Review → - src/ui/hooks/useAlternateBuffer.ts:16:44 +Which database should we use? - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { +● 1. PostgreSQL + Relational database + 2. MongoDB + Document database + 3. Enter a custom value - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) +Enter to select · ←/→ to switch questions · Esc to cancel " `; exports[`AskUserDialog > shows warning for unanswered questions on Review tab 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) -" -`; - -exports[`AskUserDialog > shows warning for unanswered questions on Review tab 2`] = ` "← □ License │ □ README │ ≡ Review → Review your answers: @@ -554,47 +182,6 @@ Enter to submit · Tab/Shift+Tab to edit answers · Esc to cancel `; exports[`AskUserDialog > verifies "All of the above" visual state with snapshot 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ChoiceQuestionView (src/ui/components/AskUserDialog.tsx:513:29) - -Object.react-stack-botto - -frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/g - emini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/n - ode_modules/react-reconciler/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCompo - ent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini - -cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWork - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_ - modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - -runWithFiberInD - V (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfWo - k (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli - /node_modules/react-reconciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-only2/gemini-cli/nod - e_modules/react-reconciler/cjs/react-reconciler.development.js:12644:41) -" -`; - -exports[`AskUserDialog > verifies "All of the above" visual state with snapshot 2`] = ` "Which features? (Select all that apply) diff --git a/packages/cli/src/ui/components/__snapshots__/Banner-Banner-handles-newlines-in-text.snap.svg b/packages/cli/src/ui/components/__snapshots__/Banner-Banner-handles-newlines-in-text.snap.svg index 0ef42abf46..a6272e0fa9 100644 --- a/packages/cli/src/ui/components/__snapshots__/Banner-Banner-handles-newlines-in-text.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/Banner-Banner-handles-newlines-in-text.snap.svg @@ -4,16 +4,17 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - - L - i - ne - 1 - - + ╭──────────────────────────────────────────────────────────────────────────────╮ + + L + i + n + e + 1 + + Line 2 - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/Banner-Banner-renders-in-info-mode.snap.svg b/packages/cli/src/ui/components/__snapshots__/Banner-Banner-renders-in-info-mode.snap.svg index 099969c109..89d219005d 100644 --- a/packages/cli/src/ui/components/__snapshots__/Banner-Banner-renders-in-info-mode.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/Banner-Banner-renders-in-info-mode.snap.svg @@ -4,15 +4,20 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - - I - nfo - Mes - sa - g - e - - ╰──────────────────────────────────────────────────────────────────────────────╯ + ╭──────────────────────────────────────────────────────────────────────────────╮ + + I + n + f + o + M + e + s + s + a + g + e + + ╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-highlights-the-active-item-in-the-preview.snap.svg b/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-highlights-the-active-item-in-the-preview.snap.svg index e142f64d2e..a83fad40c7 100644 --- a/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-highlights-the-active-item-in-the-preview.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-highlights-the-active-item-in-the-preview.snap.svg @@ -4,162 +4,162 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + Configure Footer - - - - - Select which items to display in the footer. - - - - + + + + + Select which items to display in the footer. + + + + [✓] workspace - - - Current working directory - - + + + Current working directory + + [✓] git-branch - - - Current git branch name (not shown when unavailable) - - + + + Current git branch name (not shown when unavailable) + + [✓] sandbox - - - Sandbox type and trust indicator - - + + + Sandbox type and trust indicator + + [✓] model-name - - - Current model identifier - - + + + Current model identifier + + [✓] quota - - - Remaining usage on daily limit (not shown when unavailable) - - - [ ] + + + Remaining usage on daily limit (not shown when unavailable) + + + [ ] context-used - - - Percentage of context window used - - - [ ] + + + Percentage of context window used + + + [ ] memory-usage - - - Memory used by the application - - - [ ] + + + Memory used by the application + + + [ ] session-id - - - Unique identifier for the current session - - - [ ] + + + Unique identifier for the current session + + + [ ] auth - - - Current authentication info - - - + + + Current authentication info + + + > - - + + [✓] - + code-changes - - - - - - Lines added/removed in the session (not shown when zero) - - - - [ ] + + + + + + Lines added/removed in the session (not shown when zero) + + + + [ ] token-count - - - Total tokens used in the session (not shown when zero) - - + + + Total tokens used in the session (not shown when zero) + + [✓] Show footer labels - - - - + + + + Reset to default footer - - - - - - - Enter to select · ↑/↓ to navigate · ←/→ to reorder · Esc to close - - - - - ┌────────────────────────────────────────────────────────────────────────────────────────────┐ - - - + + + + + + + Enter to select · ↑/↓ to navigate · ←/→ to reorder · Esc to close + + + + + ┌────────────────────────────────────────────────────────────────────────────────────────────┐ + + + Preview: - - - - - workspace (/directory) - branch - sandbox - /model - /stats - + + + + + workspace (/directory) + branch + sandbox + /model + /stats + diff - - - - - + + + + + ~/project/path main docker gemini-2.5-pro 97% - + +12 - - - -4 - - - - └────────────────────────────────────────────────────────────────────────────────────────────┘ - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + -4 + + + + └────────────────────────────────────────────────────────────────────────────────────────────┘ + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-renders-correctly-with-default-settings.snap.svg b/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-renders-correctly-with-default-settings.snap.svg index 176ddb8058..6d8034d7f9 100644 --- a/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-renders-correctly-with-default-settings.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-renders-correctly-with-default-settings.snap.svg @@ -4,157 +4,157 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + Configure Footer - - - - - Select which items to display in the footer. - - - - - + + + + + Select which items to display in the footer. + + + + + > - - + + [✓] - + workspace - - - - - - Current working directory - - - + + + + + + Current working directory + + + [✓] git-branch - - - Current git branch name (not shown when unavailable) - - + + + Current git branch name (not shown when unavailable) + + [✓] sandbox - - - Sandbox type and trust indicator - - + + + Sandbox type and trust indicator + + [✓] model-name - - - Current model identifier - - + + + Current model identifier + + [✓] quota - - - Remaining usage on daily limit (not shown when unavailable) - - - [ ] + + + Remaining usage on daily limit (not shown when unavailable) + + + [ ] context-used - - - Percentage of context window used - - - [ ] + + + Percentage of context window used + + + [ ] memory-usage - - - Memory used by the application - - - [ ] + + + Memory used by the application + + + [ ] session-id - - - Unique identifier for the current session - - - [ ] + + + Unique identifier for the current session + + + [ ] auth - - - Current authentication info - - - [ ] + + + Current authentication info + + + [ ] code-changes - - - Lines added/removed in the session (not shown when zero) - - - [ ] + + + Lines added/removed in the session (not shown when zero) + + + [ ] token-count - - - Total tokens used in the session (not shown when zero) - - + + + Total tokens used in the session (not shown when zero) + + [✓] Show footer labels - - - - + + + + Reset to default footer - - - - - - - Enter to select · ↑/↓ to navigate · ←/→ to reorder · Esc to close - - - - - ┌────────────────────────────────────────────────────────────────────────────────────────────┐ - - - + + + + + + + Enter to select · ↑/↓ to navigate · ←/→ to reorder · Esc to close + + + + + ┌────────────────────────────────────────────────────────────────────────────────────────────┐ + + + Preview: - - - - - + + + + + workspace (/directory) - branch - sandbox - /model - /stats - - - - - + branch + sandbox + /model + /stats + + + + + ~/project/path - + main docker gemini-2.5-pro 97% - - - - └────────────────────────────────────────────────────────────────────────────────────────────┘ - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + └────────────────────────────────────────────────────────────────────────────────────────────┘ + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-updates-the-preview-when-Show-footer-labels-is-toggled-off.snap.svg b/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-updates-the-preview-when-Show-footer-labels-is-toggled-off.snap.svg index da7d04c75d..e3448b97ca 100644 --- a/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-updates-the-preview-when-Show-footer-labels-is-toggled-off.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/FooterConfigDialog--FooterConfigDialog-updates-the-preview-when-Show-footer-labels-is-toggled-off.snap.svg @@ -4,147 +4,147 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + Configure Footer - - - - - Select which items to display in the footer. - - - - + + + + + Select which items to display in the footer. + + + + [✓] workspace - - - Current working directory - - + + + Current working directory + + [✓] git-branch - - - Current git branch name (not shown when unavailable) - - + + + Current git branch name (not shown when unavailable) + + [✓] sandbox - - - Sandbox type and trust indicator - - + + + Sandbox type and trust indicator + + [✓] model-name - - - Current model identifier - - + + + Current model identifier + + [✓] quota - - - Remaining usage on daily limit (not shown when unavailable) - - - [ ] + + + Remaining usage on daily limit (not shown when unavailable) + + + [ ] context-used - - - Percentage of context window used - - - [ ] + + + Percentage of context window used + + + [ ] memory-usage - - - Memory used by the application - - - [ ] + + + Memory used by the application + + + [ ] session-id - - - Unique identifier for the current session - - - [ ] + + + Unique identifier for the current session + + + [ ] auth - - - Current authentication info - - - [ ] + + + Current authentication info + + + [ ] code-changes - - - Lines added/removed in the session (not shown when zero) - - - [ ] + + + Lines added/removed in the session (not shown when zero) + + + [ ] token-count - - - Total tokens used in the session (not shown when zero) - - - + + + Total tokens used in the session (not shown when zero) + + + > - - - [ ] - + + + [ ] + Show footer labels - - - - - - + + + + + + Reset to default footer - - - - - - - Enter to select · ↑/↓ to navigate · ←/→ to reorder · Esc to close - - - - - ┌────────────────────────────────────────────────────────────────────────────────────────────┐ - - - + + + + + + + Enter to select · ↑/↓ to navigate · ←/→ to reorder · Esc to close + + + + + ┌────────────────────────────────────────────────────────────────────────────────────────────┐ + + + Preview: - - - - - ~/project/path - · - main - · + + + + + ~/project/path + · + main + · docker - · - gemini-2.5-pro - · - 97% - - - - └────────────────────────────────────────────────────────────────────────────────────────────┘ - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + · + gemini-2.5-pro + · + 97% + + + + └────────────────────────────────────────────────────────────────────────────────────────────┘ + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/HistoryItemDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/HistoryItemDisplay.test.tsx.snap index 2480de84e8..d237b30f99 100644 --- a/packages/cli/src/ui/components/__snapshots__/HistoryItemDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/HistoryItemDisplay.test.tsx.snap @@ -1,194 +1,140 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` > gemini items (alternateBuffer=false) > should render a full gemini item when using availableTerminalHeightGemini 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"✦ Example code block: + 1 Line 1 + 2 Line 2 + 3 Line 3 + 4 Line 4 + 5 Line 5 + 6 Line 6 + 7 Line 7 + 8 Line 8 + 9 Line 9 + 10 Line 10 + 11 Line 11 + 12 Line 12 + 13 Line 13 + 14 Line 14 + 15 Line 15 + 16 Line 16 + 17 Line 17 + 18 Line 18 + 19 Line 19 + 20 Line 20 + 21 Line 21 + 22 Line 22 + 23 Line 23 + 24 Line 24 + 25 Line 25 + 26 Line 26 + 27 Line 27 + 28 Line 28 + 29 Line 29 + 30 Line 30 + 31 Line 31 + 32 Line 32 + 33 Line 33 + 34 Line 34 + 35 Line 35 + 36 Line 36 + 37 Line 37 + 38 Line 38 + 39 Line 39 + 40 Line 40 + 41 Line 41 + 42 Line 42 + 43 Line 43 + 44 Line 44 + 45 Line 45 + 46 Line 46 + 47 Line 47 + 48 Line 48 + 49 Line 49 + 50 Line 50 " `; exports[` > gemini items (alternateBuffer=false) > should render a full gemini_content item when using availableTerminalHeightGemini 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" Example code block: + 1 Line 1 + 2 Line 2 + 3 Line 3 + 4 Line 4 + 5 Line 5 + 6 Line 6 + 7 Line 7 + 8 Line 8 + 9 Line 9 + 10 Line 10 + 11 Line 11 + 12 Line 12 + 13 Line 13 + 14 Line 14 + 15 Line 15 + 16 Line 16 + 17 Line 17 + 18 Line 18 + 19 Line 19 + 20 Line 20 + 21 Line 21 + 22 Line 22 + 23 Line 23 + 24 Line 24 + 25 Line 25 + 26 Line 26 + 27 Line 27 + 28 Line 28 + 29 Line 29 + 30 Line 30 + 31 Line 31 + 32 Line 32 + 33 Line 33 + 34 Line 34 + 35 Line 35 + 36 Line 36 + 37 Line 37 + 38 Line 38 + 39 Line 39 + 40 Line 40 + 41 Line 41 + 42 Line 42 + 43 Line 43 + 44 Line 44 + 45 Line 45 + 46 Line 46 + 47 Line 47 + 48 Line 48 + 49 Line 49 + 50 Line 50 " `; exports[` > gemini items (alternateBuffer=false) > should render a truncated gemini item 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"✦ Example code block: + ... 42 hidden (Ctrl+O) ... + 43 Line 43 + 44 Line 44 + 45 Line 45 + 46 Line 46 + 47 Line 47 + 48 Line 48 + 49 Line 49 + 50 Line 50 " `; exports[` > gemini items (alternateBuffer=false) > should render a truncated gemini_content item 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" Example code block: + ... 42 hidden (Ctrl+O) ... + 43 Line 43 + 44 Line 44 + 45 Line 45 + 46 Line 46 + 47 Line 47 + 48 Line 48 + 49 Line 49 + 50 Line 50 " `; @@ -413,50 +359,16 @@ exports[` > gemini items (alternateBuffer=true) > should r `; exports[` > renders AgentsStatus for "agents_list" type 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Local Agents - src/ui/hooks/useAlternateBuffer.ts:16:44 + - Local Agent (local_agent) + Local agent description. + Second line. - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { +Remote Agents - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) + - remote_agent + Remote agent description. " `; diff --git a/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay--HookStatusDisplay-matches-SVG-snapshot-for-single-hook.snap.svg b/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay--HookStatusDisplay-matches-SVG-snapshot-for-single-hook.snap.svg index 4465e5002d..7c9cc6473c 100644 --- a/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay--HookStatusDisplay-matches-SVG-snapshot-for-single-hook.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay--HookStatusDisplay-matches-SVG-snapshot-for-single-hook.snap.svg @@ -1,66 +1,9 @@ - + - + - - ERROR - (0 , __vite_ssr_import_3__.isUserVisibleHook) is not a function - src/ui/components/HookStatusDisplay.tsx:25:47 - 22: return null; - 23: } - 24: - - 25: const userHooks = activeHooks.filter((h) => isUserVisibleHook(h.source)); - 26: - 27: if (userHooks.length > 0) { - 28: const label = userHooks.length > 1 ? 'Executing Hooks' : 'Executing Hook'; - - - (src/ui/components/HookStatusDisplay.tsx:25:47) - - - at Array.filter (<anonymous>)\t - - - HookStatusDisplay - (src/ui/components/HookStatusDisplay.tsx:25:33) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + Executing Hook: test-hook \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay.test.tsx.snap index 70bcb744db..5e04b96cb8 100644 --- a/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/HookStatusDisplay.test.tsx.snap @@ -1,193 +1,18 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[` > matches SVG snapshot for single hook 1`] = ` -" - ERROR (0 , __vite_ssr_import_3__.isUserVisibleHook) is not a function - - src/ui/components/HookStatusDisplay.tsx:25:47 - - 22: return null; - 23: } - 24: - 25: const userHooks = activeHooks.filter((h) => isUserVisibleHook(h.source)); - 26: - 27: if (userHooks.length > 0) { - 28: const label = userHooks.length > 1 ? 'Executing Hooks' : 'Executing Hook'; - - - (src/ui/components/HookStatusDisplay.tsx:25:47) - - at Array.filter ()\\t - - HookStatusDisplay (src/ui/components/HookStatusDisplay.tsx:25:33) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" -`; +exports[` > matches SVG snapshot for single hook 1`] = `"Executing Hook: test-hook"`; exports[` > should render a single executing hook 1`] = ` -" - ERROR (0 , __vite_ssr_import_3__.isUserVisibleHook) is not a function - - src/ui/components/HookStatusDisplay.tsx:25:47 - - 22: return null; - 23: } - 24: - 25: const userHooks = activeHooks.filter((h) => isUserVisibleHook(h.source)); - 26: - 27: if (userHooks.length > 0) { - 28: const label = userHooks.length > 1 ? 'Executing Hooks' : 'Executing Hook'; - - - (src/ui/components/HookStatusDisplay.tsx:25:47) - - at Array.filter ()\\t - - HookStatusDisplay (src/ui/components/HookStatusDisplay.tsx:25:33) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"Executing Hook: test-hook " `; exports[` > should render multiple executing hooks 1`] = ` -" - ERROR (0 , __vite_ssr_import_3__.isUserVisibleHook) is not a function - - src/ui/components/HookStatusDisplay.tsx:25:47 - - 22: return null; - 23: } - 24: - 25: const userHooks = activeHooks.filter((h) => isUserVisibleHook(h.source)); - 26: - 27: if (userHooks.length > 0) { - 28: const label = userHooks.length > 1 ? 'Executing Hooks' : 'Executing Hook'; - - - (src/ui/components/HookStatusDisplay.tsx:25:47) - - at Array.filter ()\\t - - HookStatusDisplay (src/ui/components/HookStatusDisplay.tsx:25:33) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"Executing Hooks: h1, h2 " `; exports[` > should render sequential hook progress 1`] = ` -" - ERROR (0 , __vite_ssr_import_3__.isUserVisibleHook) is not a function - - src/ui/components/HookStatusDisplay.tsx:25:47 - - 22: return null; - 23: } - 24: - 25: const userHooks = activeHooks.filter((h) => isUserVisibleHook(h.source)); - 26: - 27: if (userHooks.length > 0) { - 28: const label = userHooks.length > 1 ? 'Executing Hooks' : 'Executing Hook'; - - - (src/ui/components/HookStatusDisplay.tsx:25:47) - - at Array.filter ()\\t - - HookStatusDisplay (src/ui/components/HookStatusDisplay.tsx:25:33) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"Executing Hook: step (1/3) " `; diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-a-line-in-a-multiline-block.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-a-line-in-a-multiline-block.snap.svg index f53d2e5478..fcea0df1b1 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-a-line-in-a-multiline-block.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-a-line-in-a-multiline-block.snap.svg @@ -1,68 +1,19 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + first line + + + + s + econd line + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-in-a-multiline-block.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-in-a-multiline-block.snap.svg index f53d2e5478..5adfc3cb31 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-in-a-multiline-block.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-in-a-multiline-block.snap.svg @@ -1,68 +1,18 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + first line + + + + second line + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-in-the-middle-of-a-line-in-a-multiline-block.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-in-the-middle-of-a-line-in-a-multiline-block.snap.svg index f53d2e5478..7df089a056 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-in-the-middle-of-a-line-in-a-multiline-block.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-correctly-in-the-middle-of-a-line-in-a-multiline-block.snap.svg @@ -1,68 +1,23 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + first line + + + sec + + o + nd line + + + third line + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-on-a-blank-line-in-a-multiline-block.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-on-a-blank-line-in-a-multiline-block.snap.svg index f53d2e5478..f72c857aa9 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-on-a-blank-line-in-a-multiline-block.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-multi-line-scenarios-should-display-cursor-on-a-blank-line-in-a-multiline-block.snap.svg @@ -1,68 +1,20 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + first line + + + + + + third line + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-after-multi-byte-unicode-characters-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-after-multi-byte-unicode-characters-.snap.svg index f53d2e5478..22dcd7b4c3 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-after-multi-byte-unicode-characters-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-after-multi-byte-unicode-characters-.snap.svg @@ -1,68 +1,16 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + 👍 + + A + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-the-line-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-the-line-.snap.svg index f53d2e5478..ac451d2472 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-the-line-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-beginning-of-the-line-.snap.svg @@ -1,68 +1,16 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + + h + ello + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-with-unicode-cha-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-with-unicode-cha-.snap.svg index f53d2e5478..ef6550eef8 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-with-unicode-cha-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-line-with-unicode-cha-.snap.svg @@ -1,68 +1,14 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + hello 👍 + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-short-line-with-unico-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-short-line-with-unico-.snap.svg index f53d2e5478..b6d655a8d1 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-short-line-with-unico-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-a-short-line-with-unico-.snap.svg @@ -1,68 +1,15 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + 👍 + + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-the-line-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-the-line-.snap.svg index f53d2e5478..166f5725b7 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-the-line-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-at-the-end-of-the-line-.snap.svg @@ -1,68 +1,15 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + hello + + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-for-multi-byte-unicode-characters-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-for-multi-byte-unicode-characters-.snap.svg index f53d2e5478..46d7df69e4 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-for-multi-byte-unicode-characters-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-for-multi-byte-unicode-characters-.snap.svg @@ -1,68 +1,17 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + hello + + 👍 + world + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-mid-word-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-mid-word-.snap.svg index f53d2e5478..d583a10183 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-mid-word-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-mid-word-.snap.svg @@ -1,68 +1,17 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + hel + + l + o world + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-highlighted-token-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-highlighted-token-.snap.svg index f53d2e5478..0e2c0a1fbd 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-highlighted-token-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-highlighted-token-.snap.svg @@ -1,68 +1,18 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + run + @path + + / + to/file + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-space-between-words-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-space-between-words-.snap.svg index f53d2e5478..e57d234d13 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-space-between-words-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-a-space-between-words-.snap.svg @@ -1,68 +1,16 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + hello + + world + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-an-empty-line-.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-an-empty-line-.snap.svg index f53d2e5478..7d9249acb5 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-an-empty-line-.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-Highlighting-and-Cursor-Display-single-line-scenarios-should-display-cursor-correctly-on-an-empty-line-.snap.svg @@ -1,68 +1,15 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + + Type your message or @path/to/file + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-multiline-rendering-should-correctly-render-multiline-input-including-blank-lines.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-multiline-rendering-should-correctly-render-multiline-input-including-blank-lines.snap.svg index f53d2e5478..d562880d0d 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-multiline-rendering-should-correctly-render-multiline-input-including-blank-lines.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-multiline-rendering-should-correctly-render-multiline-input-including-blank-lines.snap.svg @@ -1,68 +1,20 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ──────────────────────────────────────────────────────────────────────────────────────────────────── + + > + hello + + + + + world + + + ──────────────────────────────────────────────────────────────────────────────────────────────────── \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-snapshots-should-not-show-inverted-cursor-when-shell-is-focused.snap.svg b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-snapshots-should-not-show-inverted-cursor-when-shell-is-focused.snap.svg index f53d2e5478..5a102dc728 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-snapshots-should-not-show-inverted-cursor-when-shell-is-focused.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt-InputPrompt-snapshots-should-not-show-inverted-cursor-when-shell-is-focused.snap.svg @@ -1,68 +1,18 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - InputPrompt - (src/ui/components/InputPrompt.tsx:583:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ + + + > + + Type your message or @path/to/file + + + ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap index 16db52083f..ab6fe9b928 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap @@ -1,675 +1,93 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`InputPrompt > Highlighting and Cursor Display > multi-line scenarios > should display cursor correctly 'at the beginning of a line' in a multiline block 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > first line │ +│ second line │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > multi-line scenarios > should display cursor correctly 'at the end of a line' in a multiline block 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > first line │ +│ second line │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > multi-line scenarios > should display cursor correctly 'in the middle of a line' in a multiline block 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > first line │ +│ second line │ +│ third line │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > multi-line scenarios > should display cursor on a blank line in a multiline block 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > first line │ +│ │ +│ third line │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'after multi-byte unicode characters' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > 👍A │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'at the beginning of the line' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'at the end of a line with unicode cha…' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello 👍 │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'at the end of a short line with unico…' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > 👍 │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'at the end of the line' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'for multi-byte unicode characters' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello 👍 world │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'mid-word' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello world │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'on a highlighted token' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > run @path/to/file │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'on a space between words' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello world │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > Highlighting and Cursor Display > single-line scenarios > should display cursor correctly 'on an empty line' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > Type your message or @path/to/file │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > History Navigation and Completion Suppression > should not render suggestions during history navigation 1`] = ` @@ -751,99 +169,17 @@ exports[`InputPrompt > mouse interaction > should toggle paste expansion on doub `; exports[`InputPrompt > multiline rendering > should correctly render multiline input including blank lines 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"──────────────────────────────────────────────────────────────────────────────────────────────────── +│ > hello │ +│ │ +│ world │ +────────────────────────────────────────────────────────────────────────────────────────────────────" `; exports[`InputPrompt > snapshots > should not show inverted cursor when shell is focused 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ + > Type your message or @path/to/file +▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄" `; exports[`InputPrompt > snapshots > should render correctly in shell mode 1`] = ` @@ -861,49 +197,8 @@ exports[`InputPrompt > snapshots > should render correctly in yolo mode 1`] = ` `; exports[`InputPrompt > snapshots > should render correctly when accepting edits 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - InputPrompt (src/ui/components/InputPrompt.tsx:583:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ + > Type your message or @path/to/file +▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ " `; diff --git a/packages/cli/src/ui/components/__snapshots__/MainContent-MainContent-renders-multiple-thinking-messages-sequentially-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/MainContent-MainContent-renders-multiple-thinking-messages-sequentially-correctly.snap.svg index 922534472a..0527f43327 100644 --- a/packages/cli/src/ui/components/__snapshots__/MainContent-MainContent-renders-multiple-thinking-messages-sequentially-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/MainContent-MainContent-renders-multiple-thinking-messages-sequentially-correctly.snap.svg @@ -6,40 +6,20 @@ ScrollableList AppHeader(full) - + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - - + + > - + Plan a solution - - + + ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Thinking... - - + + Initial analysis -<<<<<<< HEAD - - This is a multiple line paragraph for the first thinking message of how the model analyzes the - - problem. - - - Planning execution - - This a second multiple line paragraph for the second thinking message explaining the plan in - - detail so that it wraps around the terminal display. - - - Refining approach - - And finally a third multiple line paragraph for the third thinking message to refine the - - solution. -======= This is a multiple line paragraph for the first thinking message of how the @@ -58,6 +38,5 @@ And finally a third multiple line paragraph for the third thinking message to refine the solution. ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/MainContent.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/MainContent.test.tsx.snap index f33a6a3d78..7dab229ecd 100644 --- a/packages/cli/src/ui/components/__snapshots__/MainContent.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/MainContent.test.tsx.snap @@ -147,110 +147,48 @@ exports[`MainContent > renders a subagent with a complete box including bottom b `; exports[`MainContent > renders mixed history items (user + gemini) with single line padding between them 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/components/MainContent.tsx:40:36 - - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) +"ScrollableList +AppHeader(full) +▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ + > User message +▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ +✦ Gemini response + Gemini response + Gemini response + Gemini response + Gemini response + Gemini response + Gemini response + Gemini response + Gemini response + Gemini response " `; exports[`MainContent > renders multiple history items with single line padding between them 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"ScrollableList +AppHeader(full) +✦ Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 + Gemini message 1 - src/ui/components/MainContent.tsx:40:36 - - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) +✦ Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 + Gemini message 2 " `; diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg index 3835b0e9c5..a9673bc3b7 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Initial-Rendering-should-render-settings-list-with-visual-indicators.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + false - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update - true - - - Enable automatic updates. - - - - + true + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg index 50e5777c45..72a11cad81 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-accessibility-settings-enabled-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + true* - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update - true - - - Enable automatic updates. - - - - + true + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg index 5061bb3b99..8f4daa80ae 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-all-boolean-settings-disabled-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + false* - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update true* - - - Enable automatic updates. - - - - + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg index 3835b0e9c5..a9673bc3b7 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-default-state-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + false - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update - true - - - Enable automatic updates. - - - - + true + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg index 3835b0e9c5..a9673bc3b7 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-file-filtering-settings-configured-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + false - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update - true - - - Enable automatic updates. - - - - + true + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg index 8a4dcc4fe7..4068847a9c 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-focused-on-scope-selector-correctly.snap.svg @@ -4,136 +4,136 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + Settings - - - - - ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - - - Search to filter - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - + + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + + + Search to filter + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + + + Vim Mode - false - - - Enable Vim keybindings - - - - + false + + + Enable Vim keybindings + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update - true - - - Enable automatic updates. - - - - + true + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + > Apply To - - - + + + - - + + 1. - - + + User Settings - - - + + + 2. Workspace Settings - - + + 3. System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg index 6ef98e8546..93ba308209 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-mixed-boolean-and-number-settings-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + false* - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update false* - - - Enable automatic updates. - - - - + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg index 3835b0e9c5..a9673bc3b7 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-tools-and-security-settings-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + false - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update - true - - - Enable automatic updates. - - - - + true + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg index 6be691ef01..b49d53d02c 100644 --- a/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/SettingsDialog-SettingsDialog-Snapshot-Tests-should-render-various-boolean-settings-enabled-correctly.snap.svg @@ -4,142 +4,142 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + > Settings - - - - + + + + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + + S - earch to filter + earch to filter - - + + ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ - - - - - - - - + + + + + + + + - - + + Vim Mode - - + + true* - - - - - Enable Vim keybindings - - - - - + + + + + Enable Vim keybindings + + + + + Default Approval Mode - Default - - - The default approval mode for tool execution. 'default' prompts for approval, 'au… - - - - + Default + + + The default approval mode for tool execution. 'default' prompts for approval, 'au… + + + + Enable Auto Update false* - - - Enable automatic updates. - - - - + + + Enable automatic updates. + + + + Enable Notifications - false - - - Enable run-event notifications for action-required prompts and session completion. - - - - + false + + + Enable run-event notifications for action-required prompts and session completion. + + + + Enable Plan Mode - true - - - Enable Plan Mode for read-only safety during planning. - - - - + true + + + Enable Plan Mode for read-only safety during planning. + + + + Plan Directory - undefined - - - The directory where planning artifacts are stored. If not specified, defaults t… - - - - + undefined + + + The directory where planning artifacts are stored. If not specified, defaults t… + + + + Plan Model Routing - true - - - Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… - - - - + true + + + Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pr… + + + + Retry Fetch Errors - true - - - Retry on "exception TypeError: fetch failed sending request" errors. - - - - - - - - - + true + + + Retry on "exception TypeError: fetch failed sending request" errors. + + + + + + + + + Apply To - - - + + + - - + + User Settings - - - + + + Workspace Settings - - + + System Settings - - - - - (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) - - - - ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ + + + + + (Use Enter to select, Ctrl+L to reset, Tab to change focus, Esc to close) + + + + ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/Table-Table-should-render-headers-and-data-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/Table-Table-should-render-headers-and-data-correctly.snap.svg index 0311088a52..fca715c952 100644 --- a/packages/cli/src/ui/components/__snapshots__/Table-Table-should-render-headers-and-data-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/Table-Table-should-render-headers-and-data-correctly.snap.svg @@ -6,7 +6,7 @@ ID Name - ──────────────────────────────────────────────────────────────────────────────────────────────────── + ──────────────────────────────────────────────────────────────────────────────────────────────────── 1 Alice 2 diff --git a/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-custom-cell-rendering.snap.svg b/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-custom-cell-rendering.snap.svg index 1779bece56..870e292d66 100644 --- a/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-custom-cell-rendering.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-custom-cell-rendering.snap.svg @@ -5,7 +5,7 @@ Value - ──────────────────────────────────────────────────────────────────────────────────────────────────── + ──────────────────────────────────────────────────────────────────────────────────────────────────── 20 \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-inverse-text-rendering.snap.svg b/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-inverse-text-rendering.snap.svg index bf5b8f2165..508eca9a5b 100644 --- a/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-inverse-text-rendering.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/Table-Table-should-support-inverse-text-rendering.snap.svg @@ -5,7 +5,7 @@ Status - ──────────────────────────────────────────────────────────────────────────────────────────────────── + ──────────────────────────────────────────────────────────────────────────────────────────────────── Active diff --git a/packages/cli/src/ui/components/__snapshots__/ThemeDialog.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/ThemeDialog.test.tsx.snap index 3e9bd7023f..2b9090e237 100644 --- a/packages/cli/src/ui/components/__snapshots__/ThemeDialog.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/ThemeDialog.test.tsx.snap @@ -1,289 +1,202 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Initial Theme Selection > should default to a dark theme when terminal background is dark and no theme is set 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ThemeDialog (src/ui/components/ThemeDialog.tsx:88:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Select Theme Preview │ +│ ▲ ┌─────────────────────────────────────────────────┐ │ +│ 1. ANSI Dark │ │ │ +│ 2. Atom One Dark │ 1 # function │ │ +│ 3. Ayu Dark │ 2 def fibonacci(n): │ │ +│ ● 4. Default Dark (Matches terminal) │ 3 a, b = 0, 1 │ │ +│ 5. Dracula Dark │ 4 for _ in range(n): │ │ +│ 6. GitHub Dark │ 5 a, b = b, a + b │ │ +│ 7. Holiday Dark │ 6 return a │ │ +│ 8. Shades Of Purple Dark │ │ │ +│ 9. Solarized Dark │ 1 - print("Hello, " + name) │ │ +│ 10. Tokyo Night Dark │ 1 + print(f"Hello, {name}!") │ │ +│ 11. ANSI Light │ │ │ +│ 12. Ayu Light └─────────────────────────────────────────────────┘ │ +│ ▼ │ +│ │ +│ (Use Enter to select, Tab to configure scope, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " `; exports[`Initial Theme Selection > should default to a light theme when terminal background is light and no theme is set 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ThemeDialog (src/ui/components/ThemeDialog.tsx:88:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Select Theme Preview │ +│ ▲ ┌─────────────────────────────────────────────────┐ │ +│ 1. ANSI Light │ │ │ +│ 2. Ayu Light │ 1 # function │ │ +│ ● 3. Default Light │ 2 def fibonacci(n): │ │ +│ 4. GitHub Light │ 3 a, b = 0, 1 │ │ +│ 5. Google Code Light │ 4 for _ in range(n): │ │ +│ 6. Solarized Light │ 5 a, b = b, a + b │ │ +│ 7. Xcode Light │ 6 return a │ │ +│ 8. ANSI Dark (Incompatible) │ │ │ +│ 9. Atom One Dark (Incompatible) │ 1 - print("Hello, " + name) │ │ +│ 10. Ayu Dark (Incompatible) │ 1 + print(f"Hello, {name}!") │ │ +│ 11. Default Dark (Incompatible) │ │ │ +│ 12. Dracula Dark (Incompatible) └─────────────────────────────────────────────────┘ │ +│ ▼ │ +│ │ +│ (Use Enter to select, Tab to configure scope, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " `; exports[`Initial Theme Selection > should use the theme from settings even if terminal background suggests a different theme type 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ThemeDialog (src/ui/components/ThemeDialog.tsx:88:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Select Theme Preview │ +│ ▲ ┌─────────────────────────────────────────────────┐ │ +│ ● 1. ANSI Dark │ │ │ +│ 2. Atom One Dark │ 1 # function │ │ +│ 3. Ayu Dark │ 2 def fibonacci(n): │ │ +│ 4. Default Dark (Matches terminal) │ 3 a, b = 0, 1 │ │ +│ 5. Dracula Dark │ 4 for _ in range(n): │ │ +│ 6. GitHub Dark │ 5 a, b = b, a + b │ │ +│ 7. Holiday Dark │ 6 return a │ │ +│ 8. Shades Of Purple Dark │ │ │ +│ 9. Solarized Dark │ 1 - print("Hello, " + name) │ │ +│ 10. Tokyo Night Dark │ 1 + print(f"Hello, {name}!") │ │ +│ 11. ANSI Light │ │ │ +│ 12. Ayu Light └─────────────────────────────────────────────────┘ │ +│ ▼ │ +│ │ +│ (Use Enter to select, Tab to configure scope, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " `; exports[`ThemeDialog Snapshots > should render correctly in scope selector mode 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ThemeDialog (src/ui/components/ThemeDialog.tsx:88:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Apply To │ +│ ● 1. User Settings │ +│ 2. Workspace Settings │ +│ 3. System Settings │ +│ │ +│ (Use Enter to apply scope, Tab to select theme, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " `; exports[`ThemeDialog Snapshots > should render correctly in theme selection mode (isDevelopment: false) 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ThemeDialog (src/ui/components/ThemeDialog.tsx:88:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Select Theme Preview │ +│ ▲ ┌─────────────────────────────────────────────────┐ │ +│ ● 1. ANSI Dark (Matches terminal) │ │ │ +│ 2. Atom One Dark │ 1 # function │ │ +│ 3. Ayu Dark │ 2 def fibonacci(n): │ │ +│ 4. Default Dark │ 3 a, b = 0, 1 │ │ +│ 5. Dracula Dark │ 4 for _ in range(n): │ │ +│ 6. GitHub Dark │ 5 a, b = b, a + b │ │ +│ 7. Holiday Dark │ 6 return a │ │ +│ 8. Shades Of Purple Dark │ │ │ +│ 9. Solarized Dark │ 1 - print("Hello, " + name) │ │ +│ 10. Tokyo Night Dark │ 1 + print(f"Hello, {name}!") │ │ +│ 11. ANSI Light │ │ │ +│ 12. Ayu Light └─────────────────────────────────────────────────┘ │ +│ ▼ │ +│ │ +│ (Use Enter to select, Tab to configure scope, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " `; exports[`ThemeDialog Snapshots > should render correctly in theme selection mode (isDevelopment: true) 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ThemeDialog (src/ui/components/ThemeDialog.tsx:88:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ +│ │ +│ > Select Theme Preview │ +│ ▲ ┌─────────────────────────────────────────────────┐ │ +│ ● 1. ANSI Dark (Matches terminal) │ │ │ +│ 2. Atom One Dark │ 1 # function │ │ +│ 3. Ayu Dark │ 2 def fibonacci(n): │ │ +│ 4. Default Dark │ 3 a, b = 0, 1 │ │ +│ 5. Dracula Dark │ 4 for _ in range(n): │ │ +│ 6. GitHub Dark │ 5 a, b = b, a + b │ │ +│ 7. Holiday Dark │ 6 return a │ │ +│ 8. Shades Of Purple Dark │ │ │ +│ 9. Solarized Dark │ 1 - print("Hello, " + name) │ │ +│ 10. Tokyo Night Dark │ 1 + print(f"Hello, {name}!") │ │ +│ 11. ANSI Light │ │ │ +│ 12. Ayu Light └─────────────────────────────────────────────────┘ │ +│ ▼ │ +│ ╭─────────────────────────────────────────────────╮ │ +│ │ DEVELOPER TOOLS (Not visible to users) │ │ +│ │ │ │ +│ │ How do colors get applied? │ │ +│ │ • Hex: Rendered exactly by modern terminals. │ │ +│ │ Not overridden by app themes. │ │ +│ │ • Blank: Uses your terminal's default │ │ +│ │ foreground/background. │ │ +│ │ • Compatibility: On older terminals, hex is │ │ +│ │ approximated to the nearest ANSI color. │ │ +│ │ • ANSI Names: 'red', 'green', etc. are mapped │ │ +│ │ to your terminal app's palette. │ │ +│ │ │ │ +│ │ Value Name │ │ +│ │ #0000… backgroun Main terminal background │ │ +│ │ d.primary color │ │ +│ │ #5F5… backgroun Subtle background for │ │ +│ │ d.message message blocks │ │ +│ │ #5F5… backgroun Background for the input │ │ +│ │ d.input prompt │ │ +│ │ #00… background. Background highlight for │ │ +│ │ focus selected/focused items │ │ +│ │ #005… backgrou Background for added lines │ │ +│ │ nd.diff. in diffs │ │ +│ │ added │ │ +│ │ #5F0… backgroun Background for removed │ │ +│ │ d.diff.re lines in diffs │ │ +│ │ moved │ │ +│ │ #FFFFF text.prim Primary text color (uses │ │ +│ │ F ary terminal default if blank) │ │ +│ │ #AFAFAF text.secon Secondary/dimmed text │ │ +│ │ dary color │ │ +│ │ #87AFFF text.link Hyperlink and highlighting │ │ +│ │ color │ │ +│ │ #D7AFFF text.accen Accent color for │ │ +│ │ t emphasis │ │ +│ │ #FFFFFF text.res Color for model response │ │ +│ │ ponse text (uses terminal default │ │ +│ │ if blank) │ │ +│ │ #878787 border.def Standard border color │ │ +│ │ ault │ │ +│ │ #AFAFAFui.comme Color for code comments and │ │ +│ │ nt metadata │ │ +│ │ #AFAFA ui.symbol Color for technical symbols │ │ +│ │ F and UI icons │ │ +│ │ #87AFF ui.active Border color for active or │ │ +│ │ F running elements │ │ +│ │ #87878 ui.dark Deeply dimmed color for │ │ +│ │ 7 subtle UI elements │ │ +│ │ #D7FFD ui.focus Color for focused elements │ │ +│ │ 7 (e.g. selected menu items, │ │ +│ │ focused borders) │ │ +│ │ #FF87AFstatus.err Color for error messages │ │ +│ │ or and critical status │ │ +│ │ #D7FFD7status.suc Color for success messages │ │ +│ │ cess and positive status │ │ +│ │ #FFFFA status.wa Color for warnings and │ │ +│ │ F rning cautionary status │ │ +│ │ #4796E4 ui.gradien │ │ +│ │ #847ACE t │ │ +│ │ #C3677F │ │ +│ ╰─────────────────────────────────────────────────╯ │ +│ │ +│ (Use Enter to select, Tab to configure scope, Esc to close) │ +│ │ +╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ " `; diff --git a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg index a452792c60..8e57fe107e 100644 --- a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-handle-security-warning-height-correctly.snap.svg @@ -4,110 +4,110 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - + ╭──────────────────────────────────────────────────────────────────────────────╮ + ? Shell Executes a bash command with a deceptive URL - 3 of 3 - - - ... 6 hidden (Ctrl+O) ... - - - + 3 of 3 + + + ... 6 hidden (Ctrl+O) ... + + + echo "Line 44" - - - - + + + + echo "Line 45" - - - - + + + + echo "Line 46" - - - - + + + + echo "Line 47" - - - - + + + + echo "Line 48" - - - - + + + + echo "Line 49" - - - - + + + + echo "Line 50" - - - - + + + + curl https://täst.com - - - - ╰──────────────────────────────────────────────────────────────────────────╯ - - - - + + + + ╰──────────────────────────────────────────────────────────────────────────╯ + + + + Warning: Deceptive URL(s) detected: - - - - + + + + Original: - https://täst.com/ - - + https://täst.com/ + + Actual Host (Punycode): - https://xn--tst-qla.com/ - - - - + https://xn--tst-qla.com/ + + + + Allow execution of [echo] ? - - - - - + + + + + - - + + 1. - - + + Allow once - - - + + + 2. Allow for this session - - + + 3. No, suggest changes (esc) - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg index 105d3593a9..a257a1253c 100644 --- a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-edit-diffs.snap.svg @@ -4,541 +4,541 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - + ╭──────────────────────────────────────────────────────────────────────────────╮ + ? replace Replaces content in a file - - - ╭──────────────────────────────────────────────────────────────────────────╮ - - - - ... 13 hidden (Ctrl+O) ... - - - - - - - 7 - - + + + ╭──────────────────────────────────────────────────────────────────────────╮ + + + + ... 13 hidden (Ctrl+O) ... + + + + + + + 7 + + + - - + + const - + newLine7 = - + true - + ; - - - - - - - 8 - - - - - - + + + + + + + 8 + + + - + + const - + oldLine8 = - + true - + ; - - - - - - - 8 - - + + + + + + + 8 + + + - - + + const - + newLine8 = - + true - + ; - - - - - - - 9 - - - - - - + + + + + + + 9 + + + - + + const - + oldLine9 = - + true - + ; - - - - - - - 9 - - + + + + + + + 9 + + + - - + + const - + newLine9 = - + true - + ; - - - - - - 10 - - - - - - + + + + + + 10 + + + - + + const - + oldLine10 = - + true - + ; - - - - - - 10 - - + + + + + + 10 + + + - - + + const - + newLine10 = - + true - + ; - - - - - - 11 - - - - - - + + + + + + 11 + + + - + + const - + oldLine11 = - + true - + ; - - - - - - 11 - - + + + + + + 11 + + + - - + + const - + newLine11 = - + true - + ; - - - - - - 12 - - - - - - + + + + + + 12 + + + - + + const - + oldLine12 = - + true - + ; - - - - - - 12 - - + + + + + + 12 + + + - - + + const - + newLine12 = - + true - + ; - - - - - - 13 - - - - - - + + + + + + 13 + + + - + + const - + oldLine13 = - + true - + ; - - - - - - 13 - - + + + + + + 13 + + + - - + + const - + newLine13 = - + true - + ; - - - - - - 14 - - - - - - + + + + + + 14 + + + - + + const - + oldLine14 = - + true - + ; - - - - - - 14 - - + + + + + + 14 + + + - - + + const - + newLine14 = - + true - + ; - - - - - - 15 - - - - - - + + + + + + 15 + + + - + + const - + oldLine15 = - + true - + ; - - - - - - 15 - - + + + + + + 15 + + + - - + + const - + newLine15 = - + true - + ; - - - - - - 16 - - - - - - + + + + + + 16 + + + - + + const - + oldLine16 = - + true - + ; - - - - - - 16 - - + + + + + + 16 + + + - - + + const - + newLine16 = - + true - + ; - - - - - - 17 - - - - - - + + + + + + 17 + + + - + + const - + oldLine17 = - + true - + ; - - - - - - 17 - - + + + + + + 17 + + + - - + + const - + newLine17 = - + true - + ; - - - - - - 18 - - - - - - + + + + + + 18 + + + - + + const - + oldLine18 = - + true - + ; - - - - - - 18 - - + + + + + + 18 + + + - - + + const - + newLine18 = - + true - + ; - - - - - - 19 - - - - - - + + + + + + 19 + + + - + + const - + oldLine19 = - + true - + ; - - - - - - 19 - - + + + + + + 19 + + + - - + + const - + newLine19 = - + true - + ; - - - - - - 20 - - - - - - + + + + + + 20 + + + - + + const - + oldLine20 = - + true - + ; - - - - - - 20 - - + + + + + + 20 + + + - - + + const - + newLine20 = - + true - + ; - - - - ╰──────────────────────────────────────────────────────────────────────────╯ - - + + + + ╰──────────────────────────────────────────────────────────────────────────╯ + + Apply this change? - - - - - + + + + + - - + + 1. - - + + Allow once - - - + + + 2. Allow for this session - - + + 3. Modify with external editor - - + + 4. No, suggest changes (esc) - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg index b35e36560e..3f2d8451a8 100644 --- a/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg +++ b/packages/cli/src/ui/components/__snapshots__/ToolConfirmationQueue-ToolConfirmationQueue-height-allocation-and-layout-should-render-the-full-queue-wrapper-with-borders-and-content-for-large-exec-commands.snap.svg @@ -4,217 +4,217 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - + ╭──────────────────────────────────────────────────────────────────────────────╮ + ? Shell Executes a bash command - 2 of 3 - - - ╭──────────────────────────────────────────────────────────────────────────╮ - - - - ... 22 hidden (Ctrl+O) ... - - - - + 2 of 3 + + + ╭──────────────────────────────────────────────────────────────────────────╮ + + + + ... 22 hidden (Ctrl+O) ... + + + + echo "Line 23" - - - - + + + + echo "Line 24" - - - - + + + + echo "Line 25" - - - - + + + + echo "Line 26" - - - - + + + + echo "Line 27" - - - - + + + + echo "Line 28" - - - - + + + + echo "Line 29" - - - - + + + + echo "Line 30" - - - - + + + + echo "Line 31" - - - - + + + + echo "Line 32" - - - - + + + + echo "Line 33" - - - - + + + + echo "Line 34" - - - - + + + + echo "Line 35" - - - - + + + + echo "Line 36" - - - - + + + + echo "Line 37" - - - - + + + + echo "Line 38" - - - - + + + + echo "Line 39" - - - - + + + + echo "Line 40" - - - - + + + + echo "Line 41" - - - - + + + + echo "Line 42" - - - - + + + + echo "Line 43" - - - - + + + + echo "Line 44" - - - - + + + + echo "Line 45" - - - - + + + + echo "Line 46" - - - - + + + + echo "Line 47" - - - - + + + + echo "Line 48" - - - - + + + + echo "Line 49" - - - - + + + + echo "Line 50" - - - - ╰──────────────────────────────────────────────────────────────────────────╯ - - + + + + ╰──────────────────────────────────────────────────────────────────────────╯ + + Allow execution of [echo] ? - - - - - + + + + + - - + + 1. - - + + Allow once - - - + + + 2. Allow for this session - - + + 3. No, suggest changes (esc) - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-a-Rejected-tool-call.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-a-Rejected-tool-call.snap.svg index 06e22bb58c..96d89e7416 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-a-Rejected-tool-call.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-a-Rejected-tool-call.snap.svg @@ -1,68 +1,11 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - DenseToolMessage - (src/ui/components/messages/DenseToolMessage.tsx:275:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + - + read_file + Reading important.txt \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-an-Accepted-file-edit-with-diff-stats.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-an-Accepted-file-edit-with-diff-stats.snap.svg index 06e22bb58c..7b21bd65a0 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-an-Accepted-file-edit-with-diff-stats.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage-DenseToolMessage-Visual-Regression-matches-SVG-snapshot-for-an-Accepted-file-edit-with-diff-stats.snap.svg @@ -1,68 +1,33 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - DenseToolMessage - (src/ui/components/messages/DenseToolMessage.tsx:275:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + + edit + test.ts + → Accepted + ( + +1 + , + -1 + ) + + 1 + + + - + + + old + + 1 + + + + + + + new \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage.test.tsx.snap index 9c30f8f2a1..01bb88b00e 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/DenseToolMessage.test.tsx.snap @@ -13,147 +13,18 @@ exports[`DenseToolMessage > Toggleable Diff View (Alternate Buffer) > shows diff " `; -exports[`DenseToolMessage > Visual Regression > matches SVG snapshot for a Rejected tool call 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - DenseToolMessage (src/ui/components/messages/DenseToolMessage.tsx:275:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" -`; +exports[`DenseToolMessage > Visual Regression > matches SVG snapshot for a Rejected tool call 1`] = `" - read_file Reading important.txt"`; exports[`DenseToolMessage > Visual Regression > matches SVG snapshot for an Accepted file edit with diff stats 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +" ✓ edit test.ts → Accepted (+1, -1) - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - DenseToolMessage (src/ui/components/messages/DenseToolMessage.tsx:275:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + 1 - old + 1 + new " `; exports[`DenseToolMessage > does not render result arrow if resultDisplay is missing 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - DenseToolMessage (src/ui/components/messages/DenseToolMessage.tsx:275:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +" o test-tool Test description " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/GeminiMessage.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/GeminiMessage.test.tsx.snap index d838bbbf78..6e624485e2 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/GeminiMessage.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/GeminiMessage.test.tsx.snap @@ -1,241 +1,42 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` - Raw Markdown Display Snapshots > renders pending state with renderMarkdown=false 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"✦ Test **bold** and \`code\` markdown - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) + \`\`\`javascript + const x = 1; + \`\`\` " `; exports[` - Raw Markdown Display Snapshots > renders pending state with renderMarkdown=true 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"✦ Test bold and code markdown - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) + 1 const x = 1; " `; exports[` - Raw Markdown Display Snapshots > renders with renderMarkdown=false '(raw markdown with syntax highlightin…' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"✦ Test **bold** and \`code\` markdown - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) + \`\`\`javascript + const x = 1; + \`\`\` " `; exports[` - Raw Markdown Display Snapshots > renders with renderMarkdown=true '(default)' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"✦ Test bold and code markdown - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) + 1 const x = 1; " `; exports[` - Raw Markdown Display Snapshots > wraps long lines correctly in raw markdown mode 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"✦ This is a long + line that should + wrap correctly + without + truncation " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ShellToolMessage.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ShellToolMessage.test.tsx.snap index d7dfc5812b..38700b92de 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ShellToolMessage.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ShellToolMessage.test.tsx.snap @@ -291,193 +291,33 @@ exports[` > Snapshots > renders in Alternate Buffer mode whi `; exports[` > Snapshots > renders in Cancelled state with partial output 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ - Shell Command A shell command │ +│ │ +│ Partial output before cancellation │ " `; exports[` > Snapshots > renders in Error state 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ x Shell Command A shell command │ +│ │ +│ Error output │ " `; exports[` > Snapshots > renders in Executing state 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ Shell Command A shell command │ +│ │ +│ Test result │ " `; exports[` > Snapshots > renders in Success state (history mode) 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ Shell Command A shell command │ +│ │ +│ Test result │ " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-filters-out-progress-dots-and-empty-lines.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-filters-out-progress-dots-and-empty-lines.snap.svg index a8d5bdabb8..e7cdbd5960 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-filters-out-progress-dots-and-empty-lines.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-filters-out-progress-dots-and-empty-lines.snap.svg @@ -5,10 +5,10 @@ Thinking... - - + + Thinking - - Done + + Done \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-normalizes-escaped-newline-tokens.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-normalizes-escaped-newline-tokens.snap.svg index df5a83213e..660d8b4fa1 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-normalizes-escaped-newline-tokens.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-normalizes-escaped-newline-tokens.snap.svg @@ -5,10 +5,10 @@ Thinking... - - + + Matching the Blocks - - Some more text + + Some more text \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-Thinking-header-when-isFirstThinking-is-true.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-Thinking-header-when-isFirstThinking-is-true.snap.svg index 44486ee432..38647281df 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-Thinking-header-when-isFirstThinking-is-true.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-Thinking-header-when-isFirstThinking-is-true.snap.svg @@ -5,10 +5,10 @@ Thinking... - - + + Summary line - - First body line + + First body line \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-full-mode-with-left-border-and-full-text.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-full-mode-with-left-border-and-full-text.snap.svg index 7a08cb4936..0294b63f30 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-full-mode-with-left-border-and-full-text.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-full-mode-with-left-border-and-full-text.snap.svg @@ -5,10 +5,10 @@ Thinking... - - + + Planning - - I am planning the solution. + + I am planning the solution. \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-multiple-thinking-messages-sequentially-correctly.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-multiple-thinking-messages-sequentially-correctly.snap.svg index e2ac895f80..b7f8a52358 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-multiple-thinking-messages-sequentially-correctly.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-multiple-thinking-messages-sequentially-correctly.snap.svg @@ -5,26 +5,26 @@ Thinking... - - + + Initial analysis - - This is a multiple line paragraph for the first thinking message of how the - - model analyzes the problem. - - + + This is a multiple line paragraph for the first thinking message of how the + + model analyzes the problem. + + Planning execution - - This a second multiple line paragraph for the second thinking message - - explaining the plan in detail so that it wraps around the terminal display. - - + + This a second multiple line paragraph for the second thinking message + + explaining the plan in detail so that it wraps around the terminal display. + + Refining approach - - And finally a third multiple line paragraph for the third thinking message to - - refine the solution. + + And finally a third multiple line paragraph for the third thinking message to + + refine the solution. \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-subject-line-with-vertical-rule-and-Thinking-header.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-subject-line-with-vertical-rule-and-Thinking-header.snap.svg index ae80c38984..350a0cc61f 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-subject-line-with-vertical-rule-and-Thinking-header.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-renders-subject-line-with-vertical-rule-and-Thinking-header.snap.svg @@ -5,10 +5,10 @@ Thinking... - - + + Planning - - test + + test \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-uses-description-when-subject-is-empty.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-uses-description-when-subject-is-empty.snap.svg index bade5ecd87..ce2b2a4686 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-uses-description-when-subject-is-empty.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ThinkingMessage-ThinkingMessage-uses-description-when-subject-is-empty.snap.svg @@ -5,8 +5,8 @@ Thinking... - - + + Processing details \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg index f5ab99d463..ffc73fdd5e 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-edit-diffs.snap.svg @@ -4,509 +4,509 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - - ... 10 hidden (Ctrl+O) ... - - - - - 6 - - - - - - + ╭──────────────────────────────────────────────────────────────────────────────╮ + + ... 10 hidden (Ctrl+O) ... + + + + + 6 + + + - + + const - + oldLine6 = - + true - + ; - - - - - 6 - - + + + + + 6 + + + - - + + const - + newLine6 = - + true - + ; - - - - - 7 - - - - - - + + + + + 7 + + + - + + const - + oldLine7 = - + true - + ; - - - - - 7 - - + + + + + 7 + + + - - + + const - + newLine7 = - + true - + ; - - - - - 8 - - - - - - + + + + + 8 + + + - + + const - + oldLine8 = - + true - + ; - - - - - 8 - - + + + + + 8 + + + - - + + const - + newLine8 = - + true - + ; - - - - - 9 - - - - - - + + + + + 9 + + + - + + const - + oldLine9 = - + true - + ; - - - - - 9 - - + + + + + 9 + + + - - + + const - + newLine9 = - + true - + ; - - - - 10 - - - - - - + + + + 10 + + + - + + const - + oldLine10 = - + true - + ; - - - - 10 - - + + + + 10 + + + - - + + const - + newLine10 = - + true - + ; - - - - 11 - - - - - - + + + + 11 + + + - + + const - + oldLine11 = - + true - + ; - - - - 11 - - + + + + 11 + + + - - + + const - + newLine11 = - + true - + ; - - - - 12 - - - - - - + + + + 12 + + + - + + const - + oldLine12 = - + true - + ; - - - - 12 - - + + + + 12 + + + - - + + const - + newLine12 = - + true - + ; - - - - 13 - - - - - - + + + + 13 + + + - + + const - + oldLine13 = - + true - + ; - - - - 13 - - + + + + 13 + + + - - + + const - + newLine13 = - + true - + ; - - - - 14 - - - - - - + + + + 14 + + + - + + const - + oldLine14 = - + true - + ; - - - - 14 - - + + + + 14 + + + - - + + const - + newLine14 = - + true - + ; - - - - 15 - - - - - - + + + + 15 + + + - + + const - + oldLine15 = - + true - + ; - - - - 15 - - + + + + 15 + + + - - + + const - + newLine15 = - + true - + ; - - - - 16 - - - - - - + + + + 16 + + + - + + const - + oldLine16 = - + true - + ; - - - - 16 - - + + + + 16 + + + - - + + const - + newLine16 = - + true - + ; - - - - 17 - - - - - - + + + + 17 + + + - + + const - + oldLine17 = - + true - + ; - - - - 17 - - + + + + 17 + + + - - + + const - + newLine17 = - + true - + ; - - - - 18 - - - - - - + + + + 18 + + + - + + const - + oldLine18 = - + true - + ; - - - - 18 - - + + + + 18 + + + - - + + const - + newLine18 = - + true - + ; - - - - 19 - - - - - - + + + + 19 + + + - + + const - + oldLine19 = - + true - + ; - - - - 19 - - + + + + 19 + + + - - + + const - + newLine19 = - + true - + ; - - - - 20 - - - - - - + + + + 20 + + + - + + const - + oldLine20 = - + true - + ; - - - - 20 - - + + + + 20 + + + - - + + const - + newLine20 = - + true - + ; - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ Apply this change? - + - - + + 1. - - + + Allow once - + 2. Allow for this session 3. diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg index 01176c6b91..68e2eb2247 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-height-allocation-and-layout-should-expand-to-available-height-for-large-exec-commands.snap.svg @@ -4,145 +4,145 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - - ... 19 hidden (Ctrl+O) ... - - + ╭──────────────────────────────────────────────────────────────────────────────╮ + + ... 19 hidden (Ctrl+O) ... + + echo "Line 20" - - + + echo "Line 21" - - + + echo "Line 22" - - + + echo "Line 23" - - + + echo "Line 24" - - + + echo "Line 25" - - + + echo "Line 26" - - + + echo "Line 27" - - + + echo "Line 28" - - + + echo "Line 29" - - + + echo "Line 30" - - + + echo "Line 31" - - + + echo "Line 32" - - + + echo "Line 33" - - + + echo "Line 34" - - + + echo "Line 35" - - + + echo "Line 36" - - + + echo "Line 37" - - + + echo "Line 38" - - + + echo "Line 39" - - + + echo "Line 40" - - + + echo "Line 41" - - + + echo "Line 42" - - + + echo "Line 43" - - + + echo "Line 44" - - + + echo "Line 45" - - + + echo "Line 46" - - + + echo "Line 47" - - + + echo "Line 48" - - + + echo "Line 49" - - + + echo "Line 50" - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ Allow execution of [echo]? - + - - + + 1. - - + + Allow once - + 2. Allow for this session 3. diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg index 55d3be97e5..a30b871f41 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting.snap.svg @@ -4,36 +4,36 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - + ╭──────────────────────────────────────────────────────────────────────────────╮ + echo "hello" - - + + for i in 1 2 3; do - - + + echo $i - - + + done - - ╰──────────────────────────────────────────────────────────────────────────────╯ + + ╰──────────────────────────────────────────────────────────────────────────────╯ Allow execution of [echo]? - + - - + + 1. - - + + Allow once - + 2. Allow for this session 3. diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.compact.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.compact.test.tsx.snap index c647b9afa2..a60ac429c7 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.compact.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.compact.test.tsx.snap @@ -1,181 +1,33 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`ToolGroupMessage Compact Rendering > does not add an extra empty line between a compact tool and a standard tool 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +" ✓ ReadFolder Listing files → file1.txt +╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ non-compact-tool Doing something │ +│ │ +│ some large output │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[`ToolGroupMessage Compact Rendering > does not add an extra empty line between a standard tool and a compact tool 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ non-compact-tool Doing something │ +│ │ +│ some large output │ +╰──────────────────────────────────────────────────────────────────────────╯ + ✓ ReadFolder Listing files → file1.txt " `; exports[`ToolGroupMessage Compact Rendering > does not add an extra empty line if a compact tool has a dense payload 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +" ✓ ReadFolder Listing files → file1.txt + ✓ ReadFile Reading file → read file " `; exports[`ToolGroupMessage Compact Rendering > renders consecutive compact tools without empty lines between them 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +" ✓ ReadFolder Listing files → file1.txt file2.txt + ✓ ReadFolder Listing files → file3.txt " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap index a06c77efbc..270f8e1b8f 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolGroupMessage.test.tsx.snap @@ -1,319 +1,78 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` > Ask User Filtering > filtering logic for status='error' and hasResult='error message' 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ x Ask User │ +│ │ +│ error message │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Ask User Filtering > filtering logic for status='success' and hasResult='test result' 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ Ask User │ +│ │ +│ test result │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Ask User Filtering > shows other tools when ask_user is filtered out 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ other-tool A tool for testing │ +│ │ +│ Test result │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Border Color Logic > uses gray border when all tools are successful and no shell commands 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test result │ +│ │ +│ ✓ another-tool A tool for testing │ +│ │ +│ Test result │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Border Color Logic > uses yellow border for shell commands even when successful 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ run_shell_command A tool for testing │ +│ │ +│ Test result │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Golden Snapshots > renders canceled tool calls > canceled_tool 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ - canceled-tool A tool for testing │ +│ │ +│ Test result │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Golden Snapshots > renders empty tool calls array 1`] = `""`; exports[` > Golden Snapshots > renders header when scrolled 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ tool-1 Description 1. This is a long description that will need to b… │ ▄ +│──────────────────────────────────────────────────────────────────────────│ █ +│ line3 │ █ +│ line4 │ █ +│ line5 │ █ +│ │ █ +│ ✓ tool-2 Description 2 │ █ +│ │ █ +│ line1 │ █ +│ line2 │ █ +╰──────────────────────────────────────────────────────────────────────────╯ █ " `; @@ -355,137 +114,31 @@ exports[` > Golden Snapshots > renders multiple tool calls w `; exports[` > Golden Snapshots > renders single successful tool call 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test result │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Golden Snapshots > renders tool call with outputFile 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ tool-with-file Tool that saved output to file │ +│ │ +│ Test result │ +│ Output too long and was saved to: /path/to/output.txt │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Golden Snapshots > renders two tool groups where only the last line of the previous group is visible 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╰──────────────────────────────────────────────────────────────────────────╯ +╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ tool-2 Description 2 │ +│ │ ▄ +│ line1 │ █ +╰──────────────────────────────────────────────────────────────────────────╯ █ " `; @@ -496,136 +149,39 @@ exports[` > Golden Snapshots > renders update_topic tool cal `; exports[` > Golden Snapshots > renders with limited terminal height 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ tool-with-result Tool with output │ +│ │ +│ This is a long result that might need height constraints │ +│ │ +│ ✓ another-tool Another tool │ +│ │ +│ More output here │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; exports[` > Golden Snapshots > renders with narrow terminal width 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────╮ +│ ✓ very-long-tool-name-that-mig… │ +│ │ +│ Test result │ +╰──────────────────────────────────╯ " `; exports[` > Height Calculation > calculates available height correctly with multiple tools with results 1`] = ` -" - ERROR (0 , __vite_ssr_import_12__.isVisibleInToolGroup) is not a function - - src/ui/components/messages/ToolGroupMessage.tsx:130:9 - - 127: () => - 128: allToolCalls.filter((t) => - 129: // Use the unified visibility utility - 130: isVisibleInToolGroup( - 131: buildToolVisibilityContextFromDisplay(t), - 132: isLowErrorVerbosity ? 'low' : 'full', - 133: ), - - - (src/ui/components/messages/ToolGroupMessage.tsx:130:9) - - at Array.filter ()\\t - - (src/ui/components/messages/ToolGroupMessage.tsx:128:20) - -mountMem - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:4272:23) - - -Object.useMe - o (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 4920:18) - -process.env.NODE_ENV.expor - s.useMemo (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli- - kilo-code-grep-only2/gemini-cli/node_modules/react/cjs/react.developmen - t.js:1251:34) - - ToolGroupMessage (src/ui/components/messages/ToolGroupMessage.tsx:126:28) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) +"╭──────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Result 1 │ +│ │ +│ ✓ test-tool A tool for testing │ +│ │ +│ Result 2 │ +│ │ +│ ✓ test-tool A tool for testing │ +│ │ +╰──────────────────────────────────────────────────────────────────────────╯ " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolMessage.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolMessage.test.tsx.snap index 09beed770e..ec5643e773 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolMessage.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolMessage.test.tsx.snap @@ -1,563 +1,94 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` > JSON rendering > renders pretty JSON in ink frame 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ { │ +│ "a": 1, │ +│ "b": 2 │ +│ } │ " `; exports[` > ToolStatusIndicator rendering > shows ? for Confirming status 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ? test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows - for Canceled status 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ - test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows MockRespondingSpinner for Executing status when streamingState is Responding 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows o for Pending status 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ o test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows paused spinner for Executing status when streamingState is Idle 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows paused spinner for Executing status when streamingState is WaitingForConfirmation 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows x for Error status 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ x test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > ToolStatusIndicator rendering > shows ✓ for Success status 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > renders AnsiOutputText for AnsiOutput results 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ hello │ " `; exports[` > renders DiffRenderer for diff results 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ 1 - old │ +│ 1 + new │ " `; @@ -572,155 +103,26 @@ exports[` > renders McpProgressIndicator with percentage and mess `; exports[` > renders basic tool information 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test result │ " `; exports[` > renders emphasis correctly 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing ← │ +│ │ +│ Test result │ " `; exports[` > renders emphasis correctly 2`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case - terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per - application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bot - om-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini - _cli/gemini-cli-kilo-code-grep-only2/gemini-cli/node_mo - dules/react-reconciler/cjs/react-reconciler.development - .js:15859:20) - -renderWithHo - ks (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemin - i-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconcil - er/cjs/react-reconciler.development.js:3221:22) - -updateFunctionCom - onent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/ - gemini-cli-kilo-code-grep-only2/gemini-cli/node_modules/reac - t-reconciler/cjs/react-reconciler.development.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cl - i-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/r - eact-reconciler.development.js:8009:18) - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gem - ini-cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reco - nciler/cjs/react-reconciler.development.js:12834:22) - -workLoopSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini- - cli-kilo-code-grep-only2/gemini-cli/node_modules/react-reconciler/c - js/react-reconciler.development.js:12644:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test result │ " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageFocusHint.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageFocusHint.test.tsx.snap index 5de9c5d624..8da15d7fdb 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageFocusHint.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageFocusHint.test.tsx.snap @@ -1,194 +1,30 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Focus Hint > 'ShellToolMessage' > shows focus hint after delay even with NO output > after-delay-no-output 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ Shell Command A tool for testing (Tab to focus) │ +│ │ " `; exports[`Focus Hint > 'ShellToolMessage' > shows focus hint after delay even with NO output > initial-no-output 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ Shell Command A tool for testing │ +│ │ " `; exports[`Focus Hint > 'ShellToolMessage' > shows focus hint after delay with output > after-delay-with-output 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ Shell Command A tool for testing (Tab to focus) │ +│ │ " `; exports[`Focus Hint > 'ShellToolMessage' > shows focus hint after delay with output > initial-with-output 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ShellToolMessage (src/ui/components/messages/ShellToolMessage.tsx:65:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ Shell Command A tool for testing │ +│ │ " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageRawMarkdown.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageRawMarkdown.test.tsx.snap index 4a9029d791..43140c27d1 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageRawMarkdown.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolMessageRawMarkdown.test.tsx.snap @@ -1,50 +1,10 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` - Raw Markdown Display Snapshots > renders with renderMarkdown=false, useAlternateBuffer=false '(raw markdown, regular buffer)' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test **bold** and \`code\` markdown │ " `; @@ -57,98 +17,18 @@ exports[` - Raw Markdown Display Snapshots > renders with renderM `; exports[` - Raw Markdown Display Snapshots > renders with renderMarkdown=true, useAlternateBuffer=false '(constrained height, regular buffer -…' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test bold and code markdown │ " `; exports[` - Raw Markdown Display Snapshots > renders with renderMarkdown=true, useAlternateBuffer=false '(default, regular buffer)' 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"╭──────────────────────────────────────────────────────────────────────────────╮ +│ ✓ test-tool A tool for testing │ +│ │ +│ Test bold and code markdown │ " `; diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay-ToolResultDisplay-truncates-ANSI-output-when-maxLines-is-provided-even-if-availableTerminalHeight-is-undefined.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay-ToolResultDisplay-truncates-ANSI-output-when-maxLines-is-provided-even-if-availableTerminalHeight-is-undefined.snap.svg index 6e5af4097b..619362a3f4 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay-ToolResultDisplay-truncates-ANSI-output-when-maxLines-is-provided-even-if-availableTerminalHeight-is-undefined.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay-ToolResultDisplay-truncates-ANSI-output-when-maxLines-is-provided-even-if-availableTerminalHeight-is-undefined.snap.svg @@ -1,68 +1,33 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/hooks/useAlternateBuffer.ts:16:44 - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled - (src/ui/hooks/useAlternateBuffer.ts:16:44) - - - useAlternateBuffer - (src/ui/hooks/useAlternateBuffer.ts:21:10) - - - ToolResultDisplay - (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + ... 26 hidden (Ctrl+O) ... + Line 27 + Line 28 + Line 29 + Line 30 + Line 31 + Line 32 + Line 33 + Line 34 + Line 35 + Line 36 + Line 37 + Line 38 + Line 39 + Line 40 + Line 41 + Line 42 + Line 43 + Line 44 + Line 45 + Line 46 + Line 47 + Line 48 + Line 49 + Line 50 \ No newline at end of file diff --git a/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay.test.tsx.snap b/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay.test.tsx.snap index ca67fb36fa..2175679bfa 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolResultDisplay.test.tsx.snap @@ -1,50 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`ToolResultDisplay > does not fall back to plain text if availableHeight is set and not in alternate buffer 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"Some result " `; @@ -54,242 +11,25 @@ exports[`ToolResultDisplay > keeps markdown if in alternate buffer even with ava `; exports[`ToolResultDisplay > renders ANSI output result 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"ansi content " `; exports[`ToolResultDisplay > renders file diff result 1`] = ` " - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) + No changes detected. " `; -exports[`ToolResultDisplay > renders nothing for todos result 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" -`; +exports[`ToolResultDisplay > renders nothing for todos result 1`] = `""`; exports[`ToolResultDisplay > renders string result as markdown by default 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"Some result " `; exports[`ToolResultDisplay > renders string result as plain text when renderOutputAsMarkdown is false 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"**Some result** " `; @@ -310,97 +50,48 @@ Line 5 `; exports[`ToolResultDisplay > truncates ANSI output when maxLines is provided, even if availableTerminalHeight is undefined 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) -" +"... 26 hidden (Ctrl+O) ... +Line 27 +Line 28 +Line 29 +Line 30 +Line 31 +Line 32 +Line 33 +Line 34 +Line 35 +Line 36 +Line 37 +Line 38 +Line 39 +Line 40 +Line 41 +Line 42 +Line 43 +Line 44 +Line 45 +Line 46 +Line 47 +Line 48 +Line 49 +Line 50" `; exports[`ToolResultDisplay > truncates very long string results 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - ToolResultDisplay (src/ui/components/messages/ToolResultDisplay.tsx:56:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) +"... 250 hidden (Ctrl+O) ... +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaa " `; diff --git a/packages/cli/src/ui/components/views/__snapshots__/ToolsList.test.tsx.snap b/packages/cli/src/ui/components/views/__snapshots__/ToolsList.test.tsx.snap index 0fc54be351..ad50106858 100644 --- a/packages/cli/src/ui/components/views/__snapshots__/ToolsList.test.tsx.snap +++ b/packages/cli/src/ui/components/views/__snapshots__/ToolsList.test.tsx.snap @@ -1,50 +1,17 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` > renders correctly with descriptions 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Available Gemini CLI tools: - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) + - Test Tool One (test-tool-one) + This is the first test tool. + - Test Tool Two (test-tool-two) + This is the second test tool. + 1. Tool descriptions support markdown formatting. + 2. note use this tool wisely and be sure to consider how this tool interacts with word wrap. + 3. important this tool is awesome. + - Test Tool Three (test-tool-three) + This is the third test tool. " `; diff --git a/packages/cli/src/ui/utils/__snapshots__/CodeColorizer-colorizeCode-does-not-let-colors-from-ansi-escape-codes-leak-into-colorized-code.snap.svg b/packages/cli/src/ui/utils/__snapshots__/CodeColorizer-colorizeCode-does-not-let-colors-from-ansi-escape-codes-leak-into-colorized-code.snap.svg index 3ea7fc41d8..89450d03e0 100644 --- a/packages/cli/src/ui/utils/__snapshots__/CodeColorizer-colorizeCode-does-not-let-colors-from-ansi-escape-codes-leak-into-colorized-code.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/CodeColorizer-colorizeCode-does-not-let-colors-from-ansi-escape-codes-leak-into-colorized-code.snap.svg @@ -8,7 +8,7 @@ 1 line 2 - with + with red background line 3 diff --git a/packages/cli/src/ui/utils/__snapshots__/MarkdownDisplay.test.tsx.snap b/packages/cli/src/ui/utils/__snapshots__/MarkdownDisplay.test.tsx.snap index 48674e1f4f..5bbf668848 100644 --- a/packages/cli/src/ui/utils/__snapshots__/MarkdownDisplay.test.tsx.snap +++ b/packages/cli/src/ui/utils/__snapshots__/MarkdownDisplay.test.tsx.snap @@ -1,1441 +1,212 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[` > renders a simple paragraph 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Hello, world. " `; -exports[` > renders nothing for empty text 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) -" -`; +exports[` > renders nothing for empty text 1`] = `""`; exports[` > with 'Unix' line endings > correctly parses a mix of markdown elements 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Main Title - src/ui/hooks/useAlternateBuffer.ts:16:44 +Here is a paragraph. - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { + - List item 1 + - List item 2 - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) + 1 some code - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +Another paragraph. " `; exports[` > with 'Unix' line endings > handles a table at the end of the input 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Some text before. +| A | B | +|---| +| 1 | 2 | " `; exports[` > with 'Unix' line endings > handles unclosed (pending) code blocks 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 let y = 2; " `; exports[` > with 'Unix' line endings > hides line numbers in code blocks when showLineNumbers is false 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" const x = 1; " `; exports[` > with 'Unix' line endings > inserts a single space between paragraphs 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Paragraph 1. - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +Paragraph 2. " `; exports[` > with 'Unix' line endings > renders a fenced code block with a language 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 const x = 1; + 2 console.log(x); " `; exports[` > with 'Unix' line endings > renders a fenced code block without a language 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 plain text " `; exports[` > with 'Unix' line endings > renders headers with correct levels 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Header 1 +Header 2 +Header 3 +Header 4 " `; exports[` > with 'Unix' line endings > renders horizontal rules 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Hello +--- +World +--- +Test " `; exports[` > with 'Unix' line endings > renders nested unordered lists 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" * Level 1 + * Level 2 + * Level 3 " `; exports[` > with 'Unix' line endings > renders ordered lists 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1. First item + 2. Second item " `; exports[` > with 'Unix' line endings > renders tables correctly 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"┌──────────┬──────────┐ +│ Header 1 │ Header 2 │ +├──────────┼──────────┤ +│ Cell 1 │ Cell 2 │ +│ Cell 3 │ Cell 4 │ +└──────────┴──────────┘ " `; exports[` > with 'Unix' line endings > renders unordered lists with different markers 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" - item A + * item B + + item C " `; exports[` > with 'Unix' line endings > shows line numbers in code blocks by default 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 const x = 1; " `; exports[` > with 'Windows' line endings > correctly parses a mix of markdown elements 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Main Title - src/ui/hooks/useAlternateBuffer.ts:16:44 +Here is a paragraph. - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { + - List item 1 + - List item 2 - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) + 1 some code - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +Another paragraph. " `; exports[` > with 'Windows' line endings > handles a table at the end of the input 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Some text before. +| A | B | +|---| +| 1 | 2 | " `; exports[` > with 'Windows' line endings > handles unclosed (pending) code blocks 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 let y = 2; " `; exports[` > with 'Windows' line endings > hides line numbers in code blocks when showLineNumbers is false 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" const x = 1; " `; exports[` > with 'Windows' line endings > inserts a single space between paragraphs 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function +"Paragraph 1. - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +Paragraph 2. " `; exports[` > with 'Windows' line endings > renders a fenced code block with a language 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 const x = 1; + 2 console.log(x); " `; exports[` > with 'Windows' line endings > renders a fenced code block without a language 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 plain text " `; exports[` > with 'Windows' line endings > renders headers with correct levels 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Header 1 +Header 2 +Header 3 +Header 4 " `; exports[` > with 'Windows' line endings > renders horizontal rules 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"Hello +--- +World +--- +Test " `; exports[` > with 'Windows' line endings > renders nested unordered lists 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" * Level 1 + * Level 2 + * Level 3 " `; exports[` > with 'Windows' line endings > renders ordered lists 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1. First item + 2. Second item " `; exports[` > with 'Windows' line endings > renders tables correctly 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +"┌──────────┬──────────┐ +│ Header 1 │ Header 2 │ +├──────────┼──────────┤ +│ Cell 1 │ Cell 2 │ +│ Cell 3 │ Cell 4 │ +└──────────┴──────────┘ " `; exports[` > with 'Windows' line endings > renders unordered lists with different markers 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" - item A + * item B + + item C " `; exports[` > with 'Windows' line endings > shows line numbers in code blocks by default 1`] = ` -" - ERROR config.getUseTerminalBuffer is not a function - - src/ui/hooks/useAlternateBuffer.ts:16:44 - - 13: // Right now this is convenient as it allows us to special case terminalBuffer - 14: // rendering like we special case alternateBuffer rendering. - 15: export const isAlternateBufferEnabled = (config: Config): boolean => - 16: config.getUseAlternateBuffer() || config.getUseTerminalBuffer(); - 17: - 18: // This is read from Config so that the UI reads the same value per application session - 19: export const useAlternateBuffer = (): boolean => { - - - isAlternateBufferEnabled (src/ui/hooks/useAlternateBuffer.ts:16:44) - - useAlternateBuffer (src/ui/hooks/useAlternateBuffer.ts:21:10) - - MarkdownDisplayInternal (src/ui/utils/MarkdownDisplay.tsx:39:29) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -updateSimpleMemoComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-c - ode-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler. - development.js:6328:14) - -updateMemoCompon - nt (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code- - grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.developm - ent.js:6261:13) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8423:18) - - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) +" 1 const x = 1; " `; diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-column-widths-based-on-ren-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-column-widths-based-on-ren-.snap.svg index 323ec9ae58..b61fdf5b7c 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-column-widths-based-on-ren-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-column-widths-based-on-ren-.snap.svg @@ -4,39 +4,6 @@ -<<<<<<< HEAD - ┌────────┬────────┬────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├────────┼────────┼────────┤ - - 123456 - - Normal - - Short - - - Short - - 123456 - - Normal - - - Normal - - Short - - 123456 - - └────────┴────────┴────────┘ -======= ┌────────┬────────┬────────┐ Col 1 @@ -68,6 +35,5 @@ 123456 └────────┴────────┴────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-width-correctly-for-conten-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-width-correctly-for-conten-.snap.svg index 4e297e04da..4e9bd715e3 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-width-correctly-for-conten-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-calculates-width-correctly-for-conten-.snap.svg @@ -4,45 +4,6 @@ -<<<<<<< HEAD - ┌───────────────────────────────────┬───────────────────────────────┬─────────────────────────────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├───────────────────────────────────┼───────────────────────────────┼─────────────────────────────────┤ - - Visit Google ( - https://google.com - ) - - Plain Text - - More Info - - - Info Here - - Visit Bing ( - https://bing.com - ) - - Links - - - Check This - - Search - - Visit Yahoo ( - https://yahoo.com - ) - - └───────────────────────────────────┴───────────────────────────────┴─────────────────────────────────┘ -======= ┌───────────────────────────────────┬───────────────────────────────┬─────────────────────────────────┐ Col 1 @@ -80,6 +41,5 @@ ) └───────────────────────────────────┴───────────────────────────────┴─────────────────────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-does-not-parse-markdown-inside-code-s-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-does-not-parse-markdown-inside-code-s-.snap.svg index acaf59e19c..102a7a0b8a 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-does-not-parse-markdown-inside-code-s-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-does-not-parse-markdown-inside-code-s-.snap.svg @@ -4,40 +4,6 @@ -<<<<<<< HEAD - ┌─────────────────┬──────────────────────┬──────────────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├─────────────────┼──────────────────────┼──────────────────┤ - - **not bold** - - _not italic_ - - ~~not strike~~ - - - [not link](url) - - <u>not underline</u> - - https://not.link - - - Normal Text - - More Code: - *test* - - ***nested*** - - └─────────────────┴──────────────────────┴──────────────────┘ -======= ┌─────────────────┬──────────────────────┬──────────────────┐ Col 1 @@ -70,6 +36,5 @@ ***nested*** └─────────────────┴──────────────────────┴──────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-nested-markdown-styles-recurs-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-nested-markdown-styles-recurs-.snap.svg index 2f3b61c137..5019120e9a 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-nested-markdown-styles-recurs-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-nested-markdown-styles-recurs-.snap.svg @@ -4,45 +4,6 @@ -<<<<<<< HEAD - ┌─────────────────────────────┬─────────────────────────────┬─────────────────────────────┐ - - Header 1 - - Header 2 - - Header 3 - - ├─────────────────────────────┼─────────────────────────────┼─────────────────────────────┤ - - Bold with - Italic - and Strike - - Normal - - Short - - - Short - - Bold with - Italic - and Strike - - Normal - - - Normal - - Short - - Bold with - Italic - and Strike - - └─────────────────────────────┴─────────────────────────────┴─────────────────────────────┘ -======= ┌─────────────────────────────┬─────────────────────────────┬─────────────────────────────┐ Header 1 @@ -80,6 +41,5 @@ and Strike └─────────────────────────────┴─────────────────────────────┴─────────────────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-non-ASCII-characters-emojis-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-non-ASCII-characters-emojis-.snap.svg index ef84a36d3a..27f5f1bc26 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-non-ASCII-characters-emojis-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-non-ASCII-characters-emojis-.snap.svg @@ -4,32 +4,6 @@ -<<<<<<< HEAD - ┌──────────────┬────────────┬───────────────┐ - - Emoji 😃 - - Asian 汉字 - - Mixed 🚀 Text - - ├──────────────┼────────────┼───────────────┤ - - Start 🌟 End - - 你好世界 - - Rocket 🚀 Man - - - Thumbs 👍 Up - - こんにちは - - Fire 🔥 - - └──────────────┴────────────┴───────────────┘ -======= ┌──────────────┬────────────┬───────────────┐ Emoji 😃 @@ -54,6 +28,5 @@ Fire 🔥 └──────────────┴────────────┴───────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-wrapped-bold-headers-without-showing-markers.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-wrapped-bold-headers-without-showing-markers.snap.svg index 071adb218b..5f7e1b8405 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-wrapped-bold-headers-without-showing-markers.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-handles-wrapped-bold-headers-without-showing-markers.snap.svg @@ -4,47 +4,6 @@ -<<<<<<< HEAD - ┌─────────────┬───────┬─────────┐ - - Very Long - - Short - - Another - - - Bold Header - - - Long - - - That Will - - - Header - - - Wrap - - - - ├─────────────┼───────┼─────────┤ - - Data 1 - - Data - - Data 3 - - - - 2 - - - └─────────────┴───────┴─────────┘ -======= ┌─────────────┬───────┬─────────┐ Very Long @@ -84,6 +43,5 @@ └─────────────┴───────┴─────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-3x3-table-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-3x3-table-correctly.snap.svg index f3e55b4229..44764e2a9c 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-3x3-table-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-3x3-table-correctly.snap.svg @@ -4,39 +4,6 @@ -<<<<<<< HEAD - ┌──────────────┬──────────────┬──────────────┐ - - Header 1 - - Header 2 - - Header 3 - - ├──────────────┼──────────────┼──────────────┤ - - Row 1, Col 1 - - Row 1, Col 2 - - Row 1, Col 3 - - - Row 2, Col 1 - - Row 2, Col 2 - - Row 2, Col 3 - - - Row 3, Col 1 - - Row 3, Col 2 - - Row 3, Col 3 - - └──────────────┴──────────────┴──────────────┘ -======= ┌──────────────┬──────────────┬──────────────┐ Header 1 @@ -68,6 +35,5 @@ Row 3, Col 3 └──────────────┴──────────────┴──────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-complex-table-with-mixed-content-lengths-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-complex-table-with-mixed-content-lengths-correctly.snap.svg index a32f89f2b9..9a3a8eba66 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-complex-table-with-mixed-content-lengths-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-complex-table-with-mixed-content-lengths-correctly.snap.svg @@ -4,401 +4,6 @@ -<<<<<<< HEAD - ┌─────────────────────────────┬──────────────────────────────┬─────────────────────────────┬──────────────────────────────┬─────┬────────┬─────────┬───────┐ - - Comprehensive Architectural - - Implementation Details for - - Longitudinal Performance - - Strategic Security Framework - - Key - - Status - - Version - - Owner - - - Specification for the - - the High-Throughput - - Analysis Across - - for Mitigating Sophisticated - - - - - - - Distributed Infrastructure - - Asynchronous Message - - Multi-Regional Cloud - - Cross-Site Scripting - - - - - - - Layer - - Processing Pipeline with - - Deployment Clusters - - Vulnerabilities - - - - - - - - Extended Scalability - - - - - - - - - - Features and Redundancy - - - - - - - - - - Protocols - - - - - - - - ├─────────────────────────────┼──────────────────────────────┼─────────────────────────────┼──────────────────────────────┼─────┼────────┼─────────┼───────┤ - - The primary architecture - - Each message is processed - - Historical data indicates a - - A multi-layered defense - - INF - - Active - - v2.4 - - J. - - - utilizes a decoupled - - through a series of - - significant reduction in - - strategy incorporates - - - - - Doe - - - microservices approach, - - specialized workers that - - tail latency when utilizing - - content security policies, - - - - - - - leveraging container - - handle data transformation, - - edge computing nodes closer - - input sanitization - - - - - - - orchestration for - - validation, and persistent - - to the geographic location - - libraries, and regular - - - - - - - scalability and fault - - storage using a persistent - - of the end-user base. - - automated penetration - - - - - - - tolerance in high-load - - queue. - - - testing routines. - - - - - - - scenarios. - - - Monitoring tools have - - - - - - - - - The pipeline features - - captured a steady increase - - Developers are required to - - - - - - - This layer provides the - - built-in retry mechanisms - - in throughput efficiency - - undergo mandatory security - - - - - - - fundamental building blocks - - with exponential backoff to - - since the introduction of - - training focusing on the - - - - - - - for service discovery, load - - ensure message delivery - - the vectorized query engine - - OWASP Top Ten to ensure that - - - - - - - balancing, and - - integrity even during - - in the primary data - - security is integrated into - - - - - - - inter-service communication - - transient network or service - - warehouse. - - the initial design phase. - - - - - - - via highly efficient - - failures. - - - - - - - - - protocol buffers. - - - Resource utilization - - The implementation of a - - - - - - - - Horizontal autoscaling is - - metrics demonstrate that - - robust Identity and Access - - - - - - - Advanced telemetry and - - triggered automatically - - the transition to - - Management system ensures - - - - - - - logging integrations allow - - based on the depth of the - - serverless compute for - - that the principle of least - - - - - - - for real-time monitoring of - - processing queue, ensuring - - intermittent tasks has - - privilege is strictly - - - - - - - system health and rapid - - consistent performance - - resulted in a thirty - - enforced across all - - - - - - - identification of - - during unexpected traffic - - percent cost optimization. - - environments. - - - - - - - bottlenecks within the - - spikes. - - - - - - - - - service mesh. - - - - - - - - - └─────────────────────────────┴──────────────────────────────┴─────────────────────────────┴──────────────────────────────┴─────┴────────┴─────────┴───────┘ -======= ┌─────────────────────────────┬──────────────────────────────┬─────────────────────────────┬──────────────────────────────┬─────┬────────┬─────────┬───────┐ Comprehensive Architectural @@ -792,6 +397,5 @@ └─────────────────────────────┴──────────────────────────────┴─────────────────────────────┴──────────────────────────────┴─────┴────────┴─────────┴───────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-long-headers-and-4-columns-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-long-headers-and-4-columns-correctly.snap.svg index 324a809615..525c940e5d 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-long-headers-and-4-columns-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-long-headers-and-4-columns-correctly.snap.svg @@ -4,63 +4,6 @@ -<<<<<<< HEAD - ┌───────────────┬───────────────┬──────────────────┬──────────────────┐ - - Very Long - - Very Long - - Very Long Column - - Very Long Column - - - Column Header - - Column Header - - Header Three - - Header Four - - - One - - Two - - - - ├───────────────┼───────────────┼──────────────────┼──────────────────┤ - - Data 1.1 - - Data 1.2 - - Data 1.3 - - Data 1.4 - - - Data 2.1 - - Data 2.2 - - Data 2.3 - - Data 2.4 - - - Data 3.1 - - Data 3.2 - - Data 3.3 - - Data 3.4 - - └───────────────┴───────────────┴──────────────────┴──────────────────┘ -======= ┌───────────────┬───────────────┬──────────────────┬──────────────────┐ Very Long @@ -116,6 +59,5 @@ Data 3.4 └───────────────┴───────────────┴──────────────────┴──────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-mixed-emojis-As-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-mixed-emojis-As-.snap.svg index b432139c97..1f17db93f0 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-mixed-emojis-As-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-mixed-emojis-As-.snap.svg @@ -4,32 +4,6 @@ -<<<<<<< HEAD - ┌───────────────┬───────────────────┬────────────────┐ - - Mixed 😃 中文 - - Complex 🚀 日本語 - - Text 📝 한국어 - - ├───────────────┼───────────────────┼────────────────┤ - - 你好 😃 - - こんにちは 🚀 - - 안녕하세요 📝 - - - World 🌍 - - Code 💻 - - Pizza 🍕 - - └───────────────┴───────────────────┴────────────────┘ -======= ┌───────────────┬───────────────────┬────────────────┐ Mixed 😃 中文 @@ -54,6 +28,5 @@ Pizza 🍕 └───────────────┴───────────────────┴────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-Asian-chara-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-Asian-chara-.snap.svg index af9dd672d9..6c972e3d29 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-Asian-chara-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-Asian-chara-.snap.svg @@ -4,32 +4,6 @@ -<<<<<<< HEAD - ┌──────────────┬─────────────────┬───────────────┐ - - Chinese 中文 - - Japanese 日本語 - - Korean 한국어 - - ├──────────────┼─────────────────┼───────────────┤ - - 你好 - - こんにちは - - 안녕하세요 - - - 世界 - - 世界 - - 세계 - - └──────────────┴─────────────────┴───────────────┘ -======= ┌──────────────┬─────────────────┬───────────────┐ Chinese 中文 @@ -54,6 +28,5 @@ 세계 └──────────────┴─────────────────┴───────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-emojis-and-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-emojis-and-.snap.svg index b7ada3a746..634bacd780 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-emojis-and-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-a-table-with-only-emojis-and-.snap.svg @@ -4,32 +4,6 @@ -<<<<<<< HEAD - ┌──────────┬───────────┬──────────┐ - - Happy 😀 - - Rocket 🚀 - - Heart ❤️ - - ├──────────┼───────────┼──────────┤ - - Smile 😃 - - Fire 🔥 - - Love 💖 - - - Cool 😎 - - Star ⭐ - - Blue 💙 - - └──────────┴───────────┴──────────┘ -======= ┌──────────┬───────────┬──────────┐ Happy 😀 @@ -54,6 +28,5 @@ Blue 💙 └──────────┴───────────┴──────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-complex-markdown-in-rows-and-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-complex-markdown-in-rows-and-.snap.svg index 8be54228e7..f9f741204c 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-complex-markdown-in-rows-and-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-complex-markdown-in-rows-and-.snap.svg @@ -4,53 +4,6 @@ -<<<<<<< HEAD - ┌───────────────┬─────────────────────────────┐ - - Feature - - Markdown - - ├───────────────┼─────────────────────────────┤ - - Bold - - Bold Text - - - Italic - - Italic Text - - - Combined - - Bold and Italic - - - Link - - Google ( - https://google.com - ) - - - Code - - const x = 1 - - - Strikethrough - - Strike - - - Underline - - Underline - - └───────────────┴─────────────────────────────┘ -======= ┌───────────────┬─────────────────────────────┐ Feature @@ -96,6 +49,5 @@ Underline └───────────────┴─────────────────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-headers-are-em-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-headers-are-em-.snap.svg index 0a0e67b25c..f2b003e8cc 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-headers-are-em-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-headers-are-em-.snap.svg @@ -4,19 +4,6 @@ -<<<<<<< HEAD - ┌────────┬────────┐ - - - - ├────────┼────────┤ - - Data 1 - - Data 2 - - └────────┴────────┘ -======= ┌────────┬────────┐ @@ -28,6 +15,5 @@ Data 2 └────────┴────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-there-are-more-.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-there-are-more-.snap.svg index c39f7ecf58..536d14651e 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-there-are-more-.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-renders-correctly-when-there-are-more-.snap.svg @@ -4,24 +4,6 @@ -<<<<<<< HEAD - ┌──────────┬──────────┬──────────┐ - - Header 1 - - Header 2 - - Header 3 - - ├──────────┼──────────┼──────────┤ - - Data 1 - - Data 2 - - - └──────────┴──────────┴──────────┘ -======= ┌──────────┬──────────┬──────────┐ Header 1 @@ -38,6 +20,5 @@ └──────────┴──────────┴──────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-strips-bold-markers-from-headers-and-renders-them-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-strips-bold-markers-from-headers-and-renders-them-correctly.snap.svg index 5d24200434..311b252b0e 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-strips-bold-markers-from-headers-and-renders-them-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-strips-bold-markers-from-headers-and-renders-them-correctly.snap.svg @@ -4,25 +4,6 @@ -<<<<<<< HEAD - ┌─────────────┬───────────────┬──────────────┐ - - Bold Header - - Normal Header - - Another Bold - - ├─────────────┼───────────────┼──────────────┤ - - Data 1 - - Data 2 - - Data 3 - - └─────────────┴───────────────┴──────────────┘ -======= ┌─────────────┬───────────────┬──────────────┐ Bold Header @@ -40,6 +21,5 @@ Data 3 └─────────────┴───────────────┴──────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-all-long-columns-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-all-long-columns-correctly.snap.svg index aa7cd3430f..b9fc91ff4f 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-all-long-columns-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-all-long-columns-correctly.snap.svg @@ -4,52 +4,6 @@ -<<<<<<< HEAD - ┌────────────────┬────────────────┬─────────────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├────────────────┼────────────────┼─────────────────┤ - - This is a very - - This is also a - - And this is the - - - long text that - - very long text - - third long text - - - needs wrapping - - that needs - - that needs - - - in column 1 - - wrapping in - - wrapping in - - - - column 2 - - column 3 - - └────────────────┴────────────────┴─────────────────┘ -======= ┌────────────────┬────────────────┬─────────────────┐ Col 1 @@ -94,6 +48,5 @@ column 3 └────────────────┴────────────────┴─────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-columns-with-punctuation-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-columns-with-punctuation-correctly.snap.svg index 02d12b2ea2..429127b4d2 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-columns-with-punctuation-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-columns-with-punctuation-correctly.snap.svg @@ -4,51 +4,6 @@ -<<<<<<< HEAD - ┌───────────────────┬───────────────┬─────────────────┐ - - Punctuation 1 - - Punctuation 2 - - Punctuation 3 - - ├───────────────────┼───────────────┼─────────────────┤ - - Start. Stop. - - Semi; colon: - - At@ Hash# - - - Comma, separated. - - Pipe| Slash/ - - Dollar$ - - - Exclamation! - - Backslash\ - - Percent% Caret^ - - - Question? - - - Ampersand& - - - hyphen-ated - - - Asterisk* - - └───────────────────┴───────────────┴─────────────────┘ -======= ┌───────────────────┬───────────────┬─────────────────┐ Punctuation 1 @@ -92,6 +47,5 @@ Asterisk* └───────────────────┴───────────────┴─────────────────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-long-cell-content-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-long-cell-content-correctly.snap.svg index 9b01c008c9..7d1c6bef69 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-long-cell-content-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-long-cell-content-correctly.snap.svg @@ -4,35 +4,6 @@ -<<<<<<< HEAD - ┌───────┬─────────────────────────────┬───────┐ - - Col 1 - - Col 2 - - Col 3 - - ├───────┼─────────────────────────────┼───────┤ - - Short - - This is a very long cell - - Short - - - - content that should wrap to - - - - - multiple lines - - - └───────┴─────────────────────────────┴───────┘ -======= ┌───────┬─────────────────────────────┬───────┐ Col 1 @@ -60,6 +31,5 @@ └───────┴─────────────────────────────┴───────┘ ->>>>>>> origin/main \ No newline at end of file diff --git a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-mixed-long-and-short-columns-correctly.snap.svg b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-mixed-long-and-short-columns-correctly.snap.svg index dbe037fc19..58813f4cd5 100644 --- a/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-mixed-long-and-short-columns-correctly.snap.svg +++ b/packages/cli/src/ui/utils/__snapshots__/TableRenderer-TableRenderer-wraps-mixed-long-and-short-columns-correctly.snap.svg @@ -4,36 +4,6 @@ -<<<<<<< HEAD - ┌───────┬──────────────────────────┬────────┐ - - Short - - Long - - Medium - - ├───────┼──────────────────────────┼────────┤ - - Tiny - - This is a very long text - - Not so - - - - that definitely needs to - - long - - - - wrap to the next line - - - └───────┴──────────────────────────┴────────┘ -======= ┌───────┬──────────────────────────┬────────┐ Short @@ -62,6 +32,5 @@ └───────┴──────────────────────────┴────────┘ ->>>>>>> origin/main \ 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-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 2fdb644877..f52f42f205 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,74 +1,45 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/components/MainContent.tsx:40:36 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent - (src/ui/components/MainContent.tsx:40:36) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - - - renderRootSy - c - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - - - performWorkOnR - ot - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) + + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ + Gemini CLI + v1.2.3 + Tips for getting started: + 1. Create + GEMINI.md + files to customize your interactions + 2. + /help + for more information + 3. Ask coding questions, edit code or run commands + 4. Be specific for the best results + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + + 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 2fdb644877..32f2849814 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,74 +1,45 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/components/MainContent.tsx:40:36 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent - (src/ui/components/MainContent.tsx:40:36) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - - - renderRootSy - c - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - - - performWorkOnR - ot - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) + + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ + Gemini CLI + v1.2.3 + Tips for getting started: + 1. Create + GEMINI.md + files to customize your interactions + 2. + /help + for more information + 3. Ask coding questions, edit code or run commands + 4. Be specific for the best results + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + + 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 2fdb644877..f52f42f205 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,74 +1,45 @@ - + - + - - ERROR - config.getUseTerminalBuffer is not a function - src/ui/components/MainContent.tsx:40:36 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - - MainContent - (src/ui/components/MainContent.tsx:40:36) - - - Object.react-stack-bott - m-frame - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - - - renderWithHoo - s - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - - - updateFunctionComp - nent - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - - - beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) - - - runWithFiberIn - EV - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - - - performUnitOfW - rk - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - - - workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - - - renderRootSy - c - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - - - performWorkOnR - ot - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) + + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ + Gemini CLI + v1.2.3 + Tips for getting started: + 1. Create + GEMINI.md + files to customize your interactions + 2. + /help + for more information + 3. Ask coding questions, edit code or run commands + 4. Be specific for the best results + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + + 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 9e397e0561..31da966437 100644 --- a/packages/cli/src/ui/utils/__snapshots__/borderStyles.test.tsx.snap +++ b/packages/cli/src/ui/utils/__snapshots__/borderStyles.test.tsx.snap @@ -2,162 +2,69 @@ exports[`MainContent tool group border SVG snapshots > should render SVG snapshot for a pending search dialog (google_web_search) 1`] = ` " - ERROR config.getUseTerminalBuffer is not a function + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ - src/ui/components/MainContent.tsx:40:36 + Gemini CLI v1.2.3 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) +Tips for getting started: +1. Create GEMINI.md files to customize your interactions +2. /help for more information +3. Ask coding questions, edit code or run commands +4. Be specific for the best results - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) -" +╭──────────────────────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ google_web_search │ +│ │ +│ Searching... │ +╰──────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`MainContent tool group border SVG snapshots > should render SVG snapshot for a shell tool 1`] = ` " - ERROR config.getUseTerminalBuffer is not a function + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ - src/ui/components/MainContent.tsx:40:36 + Gemini CLI v1.2.3 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) +Tips for getting started: +1. Create GEMINI.md files to customize your interactions +2. /help for more information +3. Ask coding questions, edit code or run commands +4. Be specific for the best results - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) -" +╭──────────────────────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ run_shell_command │ +│ │ +│ Running command... │ +╰──────────────────────────────────────────────────────────────────────────────────────────────╯" `; exports[`MainContent tool group border SVG snapshots > should render SVG snapshot for an empty slice following a search tool 1`] = ` " - ERROR config.getUseTerminalBuffer is not a function + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ - src/ui/components/MainContent.tsx:40:36 + Gemini CLI v1.2.3 - 37: const uiState = useUIState(); - 38: const isAlternateBufferOrTerminalBuffer = useAlternateBuffer(); - 39: const config = useConfig(); - 40: const useTerminalBuffer = config.getUseTerminalBuffer(); - 41: const isAlternateBuffer = config.getUseAlternateBuffer(); - 42: - 43: const confirmingTool = useConfirmingTool(); - - MainContent (src/ui/components/MainContent.tsx:40:36) - -Object.react-stack-bott - m-frame (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kil - o-code-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-recon - ciler.development.js:15859:20) - -renderWithHoo - s (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gre - p-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js - :3221:22) - -updateFunctionComp - nent (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-cod - e-grep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.deve - lopment.js:6475:19) - -beginWor - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep-onl - y2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:8009:18) +Tips for getting started: +1. Create GEMINI.md files to customize your interactions +2. /help for more information +3. Ask coding questions, edit code or run commands +4. Be specific for the best results - -runWithFiberIn - EV (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:1738:13) - -performUnitOfW - rk (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12834:22) - -workLoopSyn - (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep- - only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:126 - 44:41) - -renderRootSy - c (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-grep - -only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development.js:1 - 2624:11) - -performWorkOnR - ot (/usr/local/google/home/akkr/Documents/kilo_code_gemini_cli/gemini-cli-kilo-code-gr - ep-only2/gemini-cli/node_modules/react-reconciler/cjs/react-reconciler.development. - js:12135:44) -" +╭──────────────────────────────────────────────────────────────────────────────────────────────╮ +│ ⊶ google_web_search │ +│ │ +│ Searching... │ +╰──────────────────────────────────────────────────────────────────────────────────────────────╯" `;