From 04f05459f8b7402371294cd07d85b06f503b2456 Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Fri, 10 Apr 2026 17:47:27 +0000 Subject: [PATCH 1/8] feat: add /enhance command to improve user prompts This adds the /enhance command which uses an LLM to refine user prompts based on conversation history. Closes #25133 --- .gemini/settings.json | 11 +- .../cli/src/services/BuiltinCommandLoader.ts | 2 + .../cli/src/test-utils/mockCommandContext.ts | 1 + .../src/ui/commands/enhanceCommand.test.ts | 175 ++++++++++++++++++ .../cli/src/ui/commands/enhanceCommand.ts | 104 +++++++++++ packages/cli/src/ui/commands/types.ts | 6 + .../cli/src/ui/hooks/slashCommandProcessor.ts | 1 + .../src/ui/noninteractive/nonInteractiveUi.ts | 1 + 8 files changed, 298 insertions(+), 3 deletions(-) create mode 100644 packages/cli/src/ui/commands/enhanceCommand.test.ts create mode 100644 packages/cli/src/ui/commands/enhanceCommand.ts diff --git a/.gemini/settings.json b/.gemini/settings.json index 9051dc78de5..b1bcf87e720 100644 --- a/.gemini/settings.json +++ b/.gemini/settings.json @@ -1,11 +1,16 @@ { "experimental": { - "plan": true, "extensionReloading": true, "modelSteering": true, "memoryManager": true }, "general": { - "devtools": true + "devtools": true, + "plan": { + "enabled": true + } + }, + "agents": { + "overrides": {} } -} +} \ No newline at end of file diff --git a/packages/cli/src/services/BuiltinCommandLoader.ts b/packages/cli/src/services/BuiltinCommandLoader.ts index 66806f5ef17..30581f802ae 100644 --- a/packages/cli/src/services/BuiltinCommandLoader.ts +++ b/packages/cli/src/services/BuiltinCommandLoader.ts @@ -31,6 +31,7 @@ import { corgiCommand } from '../ui/commands/corgiCommand.js'; import { docsCommand } from '../ui/commands/docsCommand.js'; import { directoryCommand } from '../ui/commands/directoryCommand.js'; import { editorCommand } from '../ui/commands/editorCommand.js'; +import { enhanceCommand } from '../ui/commands/enhanceCommand.js'; import { extensionsCommand } from '../ui/commands/extensionsCommand.js'; import { footerCommand } from '../ui/commands/footerCommand.js'; import { helpCommand } from '../ui/commands/helpCommand.js'; @@ -133,6 +134,7 @@ export class BuiltinCommandLoader implements ICommandLoader { docsCommand, directoryCommand, editorCommand, + enhanceCommand, ...(this.config?.getExtensionsEnabled() === false ? [ { diff --git a/packages/cli/src/test-utils/mockCommandContext.ts b/packages/cli/src/test-utils/mockCommandContext.ts index 6eda7f3109f..63148b9d832 100644 --- a/packages/cli/src/test-utils/mockCommandContext.ts +++ b/packages/cli/src/test-utils/mockCommandContext.ts @@ -58,6 +58,7 @@ export const createMockCommandContext = ( pendingItem: null, setPendingItem: vi.fn(), loadHistory: vi.fn(), + setInput: vi.fn(), toggleCorgiMode: vi.fn(), toggleShortcutsHelp: vi.fn(), toggleVimEnabled: vi.fn(), diff --git a/packages/cli/src/ui/commands/enhanceCommand.test.ts b/packages/cli/src/ui/commands/enhanceCommand.test.ts new file mode 100644 index 00000000000..d3d5fc502a6 --- /dev/null +++ b/packages/cli/src/ui/commands/enhanceCommand.test.ts @@ -0,0 +1,175 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import { describe, it, expect, beforeEach, vi, type Mock } from 'vitest'; +import { enhanceCommand } from './enhanceCommand.js'; +import { type CommandContext } from './types.js'; +import { createMockCommandContext } from '../../test-utils/mockCommandContext.js'; +import { MessageType } from '../types.js'; +import { LlmRole } from '@google/gemini-cli-core'; + +describe('enhanceCommand', () => { + let mockContext: CommandContext; + let mockGenerateContent: Mock; + + beforeEach(() => { + mockGenerateContent = vi.fn(); + mockContext = createMockCommandContext({ + services: { + agentContext: { + promptId: 'test-prompt-id', + geminiClient: { + getHistory: vi.fn().mockReturnValue([ + { role: 'user', parts: [{ text: 'previous user msg' }] }, + { role: 'model', parts: [{ text: 'previous model msg' }] }, + ]), + }, + config: { + getModel: vi.fn().mockReturnValue('test-model'), + getContentGenerator: vi.fn().mockReturnValue({ + generateContent: mockGenerateContent, + }), + getGemini31LaunchedSync: vi.fn().mockReturnValue(true), + getHasAccessToPreviewModel: vi.fn().mockReturnValue(true), + }, + }, + }, + ui: { + addItem: vi.fn(), + setDebugMessage: vi.fn(), + }, + } as unknown as CommandContext); + }); + + it('should have the correct name and description', () => { + expect(enhanceCommand.name).toBe('enhance'); + expect(enhanceCommand.description).toBe( + 'Enhance a prompt with additional context and rephrasing', + ); + }); + + it('should show error if no prompt is provided', async () => { + if (!enhanceCommand.action) throw new Error('Action must be defined'); + + await enhanceCommand.action(mockContext, ''); + + expect(mockContext.ui.addItem).toHaveBeenCalledWith( + expect.objectContaining({ + type: MessageType.ERROR, + text: expect.stringContaining('Please provide a prompt'), + }), + ); + }); + + it('should call generateContent with correct parameters and show enhanced prompt', async () => { + if (!enhanceCommand.action) throw new Error('Action must be defined'); + + mockGenerateContent.mockResolvedValue({ + candidates: [ + { + content: { + parts: [{ text: 'Enhanced: do something' }], + }, + }, + ], + }); + + await enhanceCommand.action(mockContext, 'do something'); + + expect(mockGenerateContent).toHaveBeenCalledWith( + expect.objectContaining({ + model: 'test-model', + contents: [ + { role: 'user', parts: [{ text: 'previous user msg' }] }, + { role: 'model', parts: [{ text: 'previous model msg' }] }, + { role: 'user', parts: [{ text: 'do something' }] }, + ], + config: { + systemInstruction: { + role: 'system', + parts: [ + { + text: expect.stringContaining( + "Generate an enhanced version of the user's prompt", + ), + }, + ], + }, + }, + }), + 'test-prompt-id', + LlmRole.UTILITY_TOOL, + ); + + expect(mockContext.ui.addItem).toHaveBeenCalledWith( + expect.objectContaining({ + type: MessageType.INFO, + text: expect.stringContaining( + 'Enhanced prompt:\n\nEnhanced: do something', + ), + }), + ); + expect(mockContext.ui.setInput).toHaveBeenCalledWith( + 'Enhanced: do something', + ); + }); + + it('should clean the response from markdown and quotes', async () => { + if (!enhanceCommand.action) throw new Error('Action must be defined'); + + mockGenerateContent.mockResolvedValue({ + candidates: [ + { + content: { + parts: [{ text: '```markdown\n"Clean me"\n```' }], + }, + }, + ], + }); + + await enhanceCommand.action(mockContext, 'dirty prompt'); + + expect(mockContext.ui.addItem).toHaveBeenCalledWith( + expect.objectContaining({ + type: MessageType.INFO, + text: expect.stringContaining('Enhanced prompt:\n\nClean me'), + }), + ); + expect(mockContext.ui.setInput).toHaveBeenCalledWith('Clean me'); + }); + + it('should handle API errors gracefully', async () => { + if (!enhanceCommand.action) throw new Error('Action must be defined'); + + mockGenerateContent.mockRejectedValue(new Error('API Error')); + + await enhanceCommand.action(mockContext, 'test prompt'); + + expect(mockContext.ui.addItem).toHaveBeenCalledWith( + expect.objectContaining({ + type: MessageType.ERROR, + text: expect.stringContaining('Failed to enhance prompt: API Error'), + }), + ); + }); + + it('should handle empty response from model', async () => { + if (!enhanceCommand.action) throw new Error('Action must be defined'); + + mockGenerateContent.mockResolvedValue({ + candidates: [], + }); + + await enhanceCommand.action(mockContext, 'test prompt'); + + expect(mockContext.ui.addItem).toHaveBeenCalledWith( + expect.objectContaining({ + type: MessageType.ERROR, + text: expect.stringContaining('Empty response from model'), + }), + ); + }); +}); diff --git a/packages/cli/src/ui/commands/enhanceCommand.ts b/packages/cli/src/ui/commands/enhanceCommand.ts new file mode 100644 index 00000000000..f76ffa24f0a --- /dev/null +++ b/packages/cli/src/ui/commands/enhanceCommand.ts @@ -0,0 +1,104 @@ +/** + * @license + * Copyright 2026 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import { CommandKind, type SlashCommand } from './types.js'; +import { MessageType } from '../types.js'; +import { LlmRole, resolveModel } from '@google/gemini-cli-core'; +import type { Content } from '@google/genai'; + +const INSTRUCTION = + "Generate an enhanced version of the user's prompt, using the preceding conversation as context. Reply with ONLY the enhanced prompt - no conversation, explanations, lead-in, bullet points, placeholders, or surrounding quotes."; + +function clean(text: string) { + const stripped = text.replace(/^```\w*\n?|```$/g, '').trim(); + return stripped.replace(/^(['"])([\s\S]*)\1$/, '$2').trim(); +} + +export const enhanceCommand: SlashCommand = { + name: 'enhance', + description: 'Enhance a prompt with additional context and rephrasing', + kind: CommandKind.BUILT_IN, + autoExecute: true, + action: async (context, args) => { + const draft = args.trim(); + if (!draft) { + context.ui.addItem({ + type: MessageType.ERROR, + text: 'Please provide a prompt to enhance. Usage: /enhance ', + }); + return; + } + + const agentContext = context.services.agentContext; + if (!agentContext) { + context.ui.addItem({ + type: MessageType.ERROR, + text: 'Agent context not available.', + }); + return; + } + + const config = agentContext.config; + const contentGenerator = config.getContentGenerator(); + const promptId = agentContext.promptId; + + const model = resolveModel( + config.getModel(), + config.getGemini31LaunchedSync?.() ?? false, + false, + config.getHasAccessToPreviewModel?.() ?? true, + config, + ); + + context.ui.setDebugMessage('Enhancing prompt...'); + + try { + const history = agentContext.geminiClient?.getHistory() ?? []; + const contents: Content[] = [ + ...history, + { role: 'user', parts: [{ text: draft }] }, + ]; + + const response = await contentGenerator.generateContent( + { + model, + contents, + config: { + systemInstruction: { + role: 'system', + parts: [{ text: INSTRUCTION }], + }, + }, + }, + promptId, + LlmRole.UTILITY_TOOL, + ); + + const enhancedText = response.candidates?.[0]?.content?.parts?.[0]?.text; + + if (enhancedText) { + const cleanedText = clean(enhancedText); + context.ui.addItem({ + type: MessageType.INFO, + text: `Enhanced prompt:\n\n${cleanedText}`, + }); + context.ui.setInput(cleanedText); + } else { + context.ui.addItem({ + type: MessageType.ERROR, + text: 'Failed to enhance prompt: Empty response from model.', + }); + } + } catch (error) { + context.ui.addItem({ + type: MessageType.ERROR, + text: `Failed to enhance prompt: ${error instanceof Error ? error.message : String(error)}`, + }); + } finally { + context.ui.setDebugMessage(''); + } + }, +}; diff --git a/packages/cli/src/ui/commands/types.ts b/packages/cli/src/ui/commands/types.ts index 4065e075bf7..d0176386775 100644 --- a/packages/cli/src/ui/commands/types.ts +++ b/packages/cli/src/ui/commands/types.ts @@ -70,6 +70,12 @@ export interface CommandContext { * @param postLoadInput Optional text to set in the input buffer after loading history. */ loadHistory: (history: HistoryItem[], postLoadInput?: string) => void; + /** + * Sets the text in the input buffer. + * + * @param text The text to set. + */ + setInput: (text: string) => void; /** Toggles a special display mode. */ toggleCorgiMode: () => void; toggleDebugProfiler: () => void; diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts index 1839670df71..ab2d0444a8f 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts @@ -228,6 +228,7 @@ export const useSlashCommandProcessor = ( actions.setText(postLoadInput); } }, + setInput: (text) => actions.setText(text), setDebugMessage: actions.setDebugMessage, pendingItem, setPendingItem, diff --git a/packages/cli/src/ui/noninteractive/nonInteractiveUi.ts b/packages/cli/src/ui/noninteractive/nonInteractiveUi.ts index 00efd3f7fcd..715cd661d58 100644 --- a/packages/cli/src/ui/noninteractive/nonInteractiveUi.ts +++ b/packages/cli/src/ui/noninteractive/nonInteractiveUi.ts @@ -29,6 +29,7 @@ export function createNonInteractiveUI(): CommandContext['ui'] { clear: () => {}, setDebugMessage: (_message) => {}, loadHistory: (_newHistory) => {}, + setInput: (_text) => {}, pendingItem: null, setPendingItem: (_item) => {}, toggleCorgiMode: () => {}, From 48d7a7262bec37c2055440807ee99cc77dee7f94 Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Fri, 10 Apr 2026 18:37:40 +0000 Subject: [PATCH 2/8] feat(cli): add Alt+E keyboard shortcut for prompt enhancement This adds the Alt+E keyboard shortcut to quickly trigger the prompt enhancement functionality alongside the existing /enhance slash command. --- packages/cli/src/ui/components/Help.tsx | 6 + .../cli/src/ui/components/InputPrompt.tsx | 12 + .../cli/src/ui/components/ShortcutsHelp.tsx | 4 + ...efault-icon-in-standard-terminals.snap.svg | 26 +- ...-symmetric-icon-in-Apple-Terminal.snap.svg | 28 +- .../__snapshots__/AskUserDialog.test.tsx.snap | 91 --- ...r-Banner-handles-newlines-in-text.snap.svg | 21 +- ...anner-Banner-renders-in-info-mode.snap.svg | 25 +- .../ExitPlanModeDialog.test.tsx.snap | 108 ---- ...ts-the-active-item-in-the-preview.snap.svg | 242 +++---- ...s-correctly-with-default-settings.snap.svg | 236 +++---- ...Show-footer-labels-is-toggled-off.snap.svg | 228 +++---- .../__snapshots__/InputPrompt.test.tsx.snap | 21 - ...g-messages-sequentially-correctly.snap.svg | 48 +- ...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 +++---- .../__snapshots__/ShortcutsHelp.test.tsx.snap | 2 + ...render-headers-and-data-correctly.snap.svg | 2 +- ...uld-support-custom-cell-rendering.snap.svg | 2 +- ...ld-support-inverse-text-rendering.snap.svg | 2 +- ...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 +- ...syntax-highlighting-SVG-snapshot-.snap.svg | 12 +- packages/cli/src/ui/key/keyBindings.ts | 4 + ...pe-codes-leak-into-colorized-code.snap.svg | 2 +- ...lates-column-widths-based-on-ren-.snap.svg | 44 +- ...lates-width-correctly-for-conten-.snap.svg | 50 +- ...not-parse-markdown-inside-code-s-.snap.svg | 44 +- ...es-nested-markdown-styles-recurs-.snap.svg | 44 +- ...dles-non-ASCII-characters-emojis-.snap.svg | 36 +- ...d-headers-without-showing-markers.snap.svg | 70 +- ...rer-renders-a-3x3-table-correctly.snap.svg | 44 +- ...h-mixed-content-lengths-correctly.snap.svg | 610 +++++++++--------- ...g-headers-and-4-columns-correctly.snap.svg | 86 +-- ...ers-a-table-with-mixed-emojis-As-.snap.svg | 36 +- ...rs-a-table-with-only-Asian-chara-.snap.svg | 36 +- ...ers-a-table-with-only-emojis-and-.snap.svg | 36 +- ...ers-complex-markdown-in-rows-and-.snap.svg | 60 +- ...rs-correctly-when-headers-are-em-.snap.svg | 18 +- ...rs-correctly-when-there-are-more-.snap.svg | 28 +- ...eaders-and-renders-them-correctly.snap.svg | 28 +- ...-wraps-all-long-columns-correctly.snap.svg | 60 +- ...olumns-with-punctuation-correctly.snap.svg | 60 +- ...wraps-long-cell-content-correctly.snap.svg | 44 +- ...-long-and-short-columns-correctly.snap.svg | 44 +- ...-search-dialog-google_web_search-.snap.svg | 26 +- ...der-SVG-snapshot-for-a-shell-tool.snap.svg | 44 +- ...pty-slice-following-a-search-tool.snap.svg | 26 +- 60 files changed, 2320 insertions(+), 2518 deletions(-) diff --git a/packages/cli/src/ui/components/Help.tsx b/packages/cli/src/ui/components/Help.tsx index 2569623c801..5a0af7f9b57 100644 --- a/packages/cli/src/ui/components/Help.tsx +++ b/packages/cli/src/ui/components/Help.tsx @@ -153,6 +153,12 @@ export const Help: React.FC = ({ commands }) => ( {' '} - Open input in external editor + + + {formatCommand(Command.ENHANCE_PROMPT)} + {' '} + - Enhance the current prompt using an LLM + {formatCommand(Command.TOGGLE_YOLO)} diff --git a/packages/cli/src/ui/components/InputPrompt.tsx b/packages/cli/src/ui/components/InputPrompt.tsx index 0deb0c40d24..b53eaa5e164 100644 --- a/packages/cli/src/ui/components/InputPrompt.tsx +++ b/packages/cli/src/ui/components/InputPrompt.tsx @@ -1217,6 +1217,16 @@ export const InputPrompt: React.FC = ({ return true; } + // Alt+E for enhance prompt + if (keyMatchers[Command.ENHANCE_PROMPT](key)) { + const enhanceCmd = slashCommands.find((cmd) => cmd.name === 'enhance'); + if (enhanceCmd && enhanceCmd.action) { + // eslint-disable-next-line @typescript-eslint/no-floating-promises + enhanceCmd.action(commandContext, buffer.text); + } + return true; + } + // Ctrl+V for clipboard paste if (keyMatchers[Command.PASTE_CLIPBOARD](key)) { // eslint-disable-next-line @typescript-eslint/no-floating-promises @@ -1273,6 +1283,8 @@ export const InputPrompt: React.FC = ({ inputHistory, handleSubmit, shellHistory, + slashCommands, + commandContext, reverseSearchCompletion, handleClipboardPaste, resetCompletionState, diff --git a/packages/cli/src/ui/components/ShortcutsHelp.tsx b/packages/cli/src/ui/components/ShortcutsHelp.tsx index d94bf2b1d4f..9bbfbfce9d3 100644 --- a/packages/cli/src/ui/components/ShortcutsHelp.tsx +++ b/packages/cli/src/ui/components/ShortcutsHelp.tsx @@ -44,6 +44,10 @@ const buildShortcutItems = (): ShortcutItem[] => [ key: formatCommand(Command.OPEN_EXTERNAL_EDITOR), description: 'open external editor', }, + { + key: formatCommand(Command.ENHANCE_PROMPT), + description: 'enhance prompt', + }, ]; const Shortcut: React.FC<{ item: ShortcutItem }> = ({ item }) => ( 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 5c4c6426b78..73dc7b75582 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 eaa118754f1..1409c70ae0e 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 9da5591c70f..30caf0fb407 100644 --- a/packages/cli/src/ui/components/__snapshots__/AskUserDialog.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/AskUserDialog.test.tsx.snap @@ -11,17 +11,6 @@ Enter to submit · Esc to cancel " `; -exports[`AskUserDialog > Choice question placeholder > uses default placeholder when not provided 2`] = ` -"Select your preferred language: - - 1. TypeScript - 2. JavaScript -● 3. Enter a custom value - -Enter to submit · Esc to cancel -" -`; - exports[`AskUserDialog > Choice question placeholder > uses placeholder for "Other" option when provided 1`] = ` "Select your preferred language: @@ -33,17 +22,6 @@ Enter to submit · Esc to cancel " `; -exports[`AskUserDialog > Choice question placeholder > uses placeholder for "Other" option when provided 2`] = ` -"Select your preferred language: - - 1. TypeScript - 2. JavaScript -● 3. Type another language... - -Enter to submit · Esc to cancel -" -`; - exports[`AskUserDialog > Scroll Arrows (useAlternateBuffer: false) > shows scroll arrows correctly when useAlternateBuffer is false 1`] = ` "Choose an option @@ -58,20 +36,6 @@ Enter to select · ↑/↓ to navigate · Esc to cancel " `; -exports[`AskUserDialog > Scroll Arrows (useAlternateBuffer: false) > shows scroll arrows correctly when useAlternateBuffer is false 2`] = ` -"Choose an option - -▲ -● 1. Option 1 - Description 1 - 2. Option 2 - Description 2 -▼ - -Enter to select · ↑/↓ to navigate · Esc to cancel -" -`; - exports[`AskUserDialog > Scroll Arrows (useAlternateBuffer: true) > shows scroll arrows correctly when useAlternateBuffer is true 1`] = ` "Choose an option @@ -111,45 +75,6 @@ Enter to select · ↑/↓ to navigate · Esc to cancel " `; -exports[`AskUserDialog > Scroll Arrows (useAlternateBuffer: true) > shows scroll arrows correctly when useAlternateBuffer is true 2`] = ` -"Choose an option - -● 1. Option 1 - Description 1 - 2. Option 2 - Description 2 - 3. Option 3 - Description 3 - 4. Option 4 - Description 4 - 5. Option 5 - Description 5 - 6. Option 6 - Description 6 - 7. Option 7 - Description 7 - 8. Option 8 - Description 8 - 9. Option 9 - Description 9 - 10. Option 10 - Description 10 - 11. Option 11 - Description 11 - 12. Option 12 - Description 12 - 13. Option 13 - Description 13 - 14. Option 14 - Description 14 - 15. Option 15 - Description 15 - 16. Enter a custom value - -Enter to select · ↑/↓ to navigate · Esc to cancel -" -`; - exports[`AskUserDialog > Text type questions > renders text input for type: "text" 1`] = ` "What should we name this component? @@ -292,19 +217,3 @@ exports[`AskUserDialog > verifies "All of the above" visual state with snapshot Enter to select · ↑/↓ to navigate · Esc to cancel " `; - -exports[`AskUserDialog > verifies "All of the above" visual state with snapshot 2`] = ` -"Which features? -(Select all that apply) - - 1. [x] TypeScript - 2. [x] ESLint -● 3. [x] All of the above - Select all options - 4. [ ] Enter a custom value - Done - Finish selection - -Enter to select · ↑/↓ to navigate · Esc to cancel -" -`; 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 a6272e0fa90..0ef42abf460 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,17 +4,16 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - - L - i - n - e - 1 - - + ╭──────────────────────────────────────────────────────────────────────────────╮ + + L + i + ne + 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 89d219005d7..099969c109b 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,20 +4,15 @@ - ╭──────────────────────────────────────────────────────────────────────────────╮ - - I - n - f - o - M - e - s - s - a - g - e - - ╰──────────────────────────────────────────────────────────────────────────────╯ + ╭──────────────────────────────────────────────────────────────────────────────╮ + + I + nfo + Mes + sa + g + e + + ╰──────────────────────────────────────────────────────────────────────────────╯ \ No newline at end of file diff --git a/packages/cli/src/ui/components/__snapshots__/ExitPlanModeDialog.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/ExitPlanModeDialog.test.tsx.snap index 9e210e34381..073c106ceb3 100644 --- a/packages/cli/src/ui/components/__snapshots__/ExitPlanModeDialog.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/ExitPlanModeDialog.test.tsx.snap @@ -27,33 +27,6 @@ Enter to select · ↑/↓ to navigate · Ctrl+X to edit plan · Esc to cancel " `; -exports[`ExitPlanModeDialog > useAlternateBuffer: false > bubbles up Ctrl+C when feedback is empty while editing 2`] = ` -"Overview - -Add user authentication to the CLI application. - -Implementation Steps - - 1. Create src/auth/AuthService.ts with login/logout methods - 2. Add session storage in src/storage/SessionStore.ts - 3. Update src/commands/index.ts to check auth status - 4. Add tests in src/auth/__tests__/ - -Files to Modify - - - src/index.ts - Add auth middleware - - src/config.ts - Add auth configuration options - - 1. Yes, automatically accept edits - Approves plan and allows tools to run automatically - 2. Yes, manually accept edits - Approves plan but requires confirmation for each tool -● 3. Type your feedback... - -Enter to submit · Ctrl+X to edit plan · Esc to cancel -" -`; - exports[`ExitPlanModeDialog > useAlternateBuffer: false > calls onFeedback when feedback is typed and submitted 1`] = ` "Overview @@ -81,33 +54,6 @@ Enter to select · ↑/↓ to navigate · Ctrl+X to edit plan · Esc to cancel " `; -exports[`ExitPlanModeDialog > useAlternateBuffer: false > calls onFeedback when feedback is typed and submitted 2`] = ` -"Overview - -Add user authentication to the CLI application. - -Implementation Steps - - 1. Create src/auth/AuthService.ts with login/logout methods - 2. Add session storage in src/storage/SessionStore.ts - 3. Update src/commands/index.ts to check auth status - 4. Add tests in src/auth/__tests__/ - -Files to Modify - - - src/index.ts - Add auth middleware - - src/config.ts - Add auth configuration options - - 1. Yes, automatically accept edits - Approves plan and allows tools to run automatically - 2. Yes, manually accept edits - Approves plan but requires confirmation for each tool -● 3. Add tests - -Enter to submit · Ctrl+X to edit plan · Esc to cancel -" -`; - exports[`ExitPlanModeDialog > useAlternateBuffer: false > displays error state when file read fails 1`] = ` " Error reading plan: File not found " @@ -194,33 +140,6 @@ Enter to select · ↑/↓ to navigate · Ctrl+X to edit plan · Esc to cancel " `; -exports[`ExitPlanModeDialog > useAlternateBuffer: true > bubbles up Ctrl+C when feedback is empty while editing 2`] = ` -"Overview - -Add user authentication to the CLI application. - -Implementation Steps - - 1. Create src/auth/AuthService.ts with login/logout methods - 2. Add session storage in src/storage/SessionStore.ts - 3. Update src/commands/index.ts to check auth status - 4. Add tests in src/auth/__tests__/ - -Files to Modify - - - src/index.ts - Add auth middleware - - src/config.ts - Add auth configuration options - - 1. Yes, automatically accept edits - Approves plan and allows tools to run automatically - 2. Yes, manually accept edits - Approves plan but requires confirmation for each tool -● 3. Type your feedback... - -Enter to submit · Ctrl+X to edit plan · Esc to cancel -" -`; - exports[`ExitPlanModeDialog > useAlternateBuffer: true > calls onFeedback when feedback is typed and submitted 1`] = ` "Overview @@ -248,33 +167,6 @@ Enter to select · ↑/↓ to navigate · Ctrl+X to edit plan · Esc to cancel " `; -exports[`ExitPlanModeDialog > useAlternateBuffer: true > calls onFeedback when feedback is typed and submitted 2`] = ` -"Overview - -Add user authentication to the CLI application. - -Implementation Steps - - 1. Create src/auth/AuthService.ts with login/logout methods - 2. Add session storage in src/storage/SessionStore.ts - 3. Update src/commands/index.ts to check auth status - 4. Add tests in src/auth/__tests__/ - -Files to Modify - - - src/index.ts - Add auth middleware - - src/config.ts - Add auth configuration options - - 1. Yes, automatically accept edits - Approves plan and allows tools to run automatically - 2. Yes, manually accept edits - Approves plan but requires confirmation for each tool -● 3. Add tests - -Enter to submit · Ctrl+X to edit plan · Esc to cancel -" -`; - exports[`ExitPlanModeDialog > useAlternateBuffer: true > displays error state when file read fails 1`] = ` " Error reading plan: File not found " 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 d4da9c5fa03..6e5245543fa 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,155 +4,155 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + 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 + + + > - - + + [✓] - + 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 41b13e401b9..d724380d85a 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,150 +4,150 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + 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 + + + [ ] 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 08340ca8ac1..dd7e33dfe36 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,140 +4,140 @@ - ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ - - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────────╮ + + + 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 + + + [ ] 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__/InputPrompt.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap index f40887b3b9c..5a2819702e0 100644 --- a/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/InputPrompt.test.tsx.snap @@ -78,27 +78,6 @@ exports[`InputPrompt > mouse interaction > should toggle paste expansion on doub " `; -exports[`InputPrompt > mouse interaction > should toggle paste expansion on double-click 4`] = ` -"▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - > [Pasted Text: 10 lines] -▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ -" -`; - -exports[`InputPrompt > mouse interaction > should toggle paste expansion on double-click 5`] = ` -"▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - > [Pasted Text: 10 lines] -▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ -" -`; - -exports[`InputPrompt > mouse interaction > should toggle paste expansion on double-click 6`] = ` -"▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - > [Pasted Text: 10 lines] -▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ -" -`; - exports[`InputPrompt > snapshots > should not show inverted cursor when shell is focused 1`] = ` "▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ > 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 558118cdfbc..3ec2d271b36 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,37 +6,37 @@ ScrollableList AppHeader(full) - + ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ - - + + > - + Plan a solution - - + + ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ 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/__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 fc567671b85..511178138d8 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 a01eae091d9..f3ec5cb6ab5 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 d777591e701..cb77ce14f8b 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 fc567671b85..511178138d8 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 fc567671b85..511178138d8 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 3d11268effa..2943d6b87f4 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + > 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 0f619971c15..bbf906e5d2d 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 fc567671b85..511178138d8 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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 3a7a0580ff1..f312c569a93 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. … + + + + 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. + + + + Max Chat Model Attempts - 10 - - - Maximum number of attempts for requests to the main chat model. Cannot exceed 10. - - - - - - - - - + 10 + + + Maximum number of attempts for requests to the main chat model. Cannot exceed 10. + + + + + + + + + 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__/ShortcutsHelp.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/ShortcutsHelp.test.tsx.snap index 9e65c72f691..199f0ed63df 100644 --- a/packages/cli/src/ui/components/__snapshots__/ShortcutsHelp.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/ShortcutsHelp.test.tsx.snap @@ -13,6 +13,7 @@ exports[`ShortcutsHelp > renders correctly in 'narrow' mode on 'linux' 1`] = ` Alt+M raw markdown mode Ctrl+R reverse-search history Ctrl+X open external editor + Alt+E enhance prompt " `; @@ -29,6 +30,7 @@ exports[`ShortcutsHelp > renders correctly in 'narrow' mode on 'mac' 1`] = ` Option+M raw markdown mode Ctrl+R reverse-search history Ctrl+X open external editor + Option+E enhance prompt " `; 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 fca715c952c..0311088a521 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 870e292d66c..1779bece566 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 508eca9a5bf..bf5b8f2165a 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/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 e7cdbd59601..a8d5bdabb8e 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 660d8b4fa1c..df5a83213e7 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 38647281df9..44486ee4326 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 0294b63f30f..7a08cb49366 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 b7f8a523589..e2ac895f80e 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 350a0cc61f7..ae80c389845 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 ce2b2a4686e..bade5ecd873 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-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting-SVG-snapshot-.snap.svg b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting-SVG-snapshot-.snap.svg index d1396e23355..f1a062ccbdd 100644 --- a/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting-SVG-snapshot-.snap.svg +++ b/packages/cli/src/ui/components/messages/__snapshots__/ToolConfirmationMessage-ToolConfirmationMessage-should-render-multiline-shell-scripts-with-correct-newlines-and-syntax-highlighting-SVG-snapshot-.snap.svg @@ -15,15 +15,15 @@ $i done Allow execution of: 'echo'? - + - - + + 1. - - + + Allow once - + 2. Allow for this session 3. diff --git a/packages/cli/src/ui/key/keyBindings.ts b/packages/cli/src/ui/key/keyBindings.ts index c84f189664e..00e6fa38af1 100644 --- a/packages/cli/src/ui/key/keyBindings.ts +++ b/packages/cli/src/ui/key/keyBindings.ts @@ -77,6 +77,7 @@ export enum Command { NEWLINE = 'input.newline', OPEN_EXTERNAL_EDITOR = 'input.openExternalEditor', PASTE_CLIPBOARD = 'input.paste', + ENHANCE_PROMPT = 'input.enhancePrompt', // App Controls SHOW_ERROR_DETAILS = 'app.showErrorDetails', @@ -365,6 +366,7 @@ export const defaultKeyBindingConfig: KeyBindingConfig = new Map([ ], ], [Command.OPEN_EXTERNAL_EDITOR, [new KeyBinding('ctrl+x')]], + [Command.ENHANCE_PROMPT, [new KeyBinding('alt+e')]], [ Command.PASTE_CLIPBOARD, [ @@ -491,6 +493,7 @@ export const commandCategories: readonly CommandCategory[] = [ Command.NEWLINE, Command.OPEN_EXTERNAL_EDITOR, Command.PASTE_CLIPBOARD, + Command.ENHANCE_PROMPT, ], }, { @@ -597,6 +600,7 @@ export const commandDescriptions: Readonly> = { [Command.OPEN_EXTERNAL_EDITOR]: 'Open the current prompt or the plan in an external editor.', [Command.PASTE_CLIPBOARD]: 'Paste from the clipboard.', + [Command.ENHANCE_PROMPT]: 'Enhance the current prompt using an LLM.', // App Controls [Command.SHOW_ERROR_DETAILS]: 'Toggle detailed error information.', 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 89450d03e0d..3ea7fc41d8e 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__/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 b2704f56ba1..4b119debd84 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,36 +4,36 @@ - ┌────────┬────────┬────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├────────┼────────┼────────┤ - + ┌────────┬────────┬────────┐ + + Col 1 + + Col 2 + + Col 3 + + ├────────┼────────┼────────┤ + 123456 - + Normal - + Short - - + + Short - + 123456 - + Normal - - + + Normal - + Short - + 123456 - - └────────┴────────┴────────┘ + + └────────┴────────┴────────┘ \ 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 f6314062250..5be04c22e7d 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,42 +4,42 @@ - ┌───────────────────────────────────┬───────────────────────────────┬─────────────────────────────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├───────────────────────────────────┼───────────────────────────────┼─────────────────────────────────┤ - + ┌───────────────────────────────────┬───────────────────────────────┬─────────────────────────────────┐ + + Col 1 + + Col 2 + + Col 3 + + ├───────────────────────────────────┼───────────────────────────────┼─────────────────────────────────┤ + Visit Google ( - https://google.com + https://google.com ) - + Plain Text - + More Info - - + + Info Here - + Visit Bing ( - https://bing.com + https://bing.com ) - + Links - - + + Check This - + Search - + Visit Yahoo ( - https://yahoo.com + https://yahoo.com ) - - └───────────────────────────────────┴───────────────────────────────┴─────────────────────────────────┘ + + └───────────────────────────────────┴───────────────────────────────┴─────────────────────────────────┘ \ 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 08eab7e9464..18385b6def9 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,37 +4,37 @@ - ┌─────────────────┬──────────────────────┬──────────────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├─────────────────┼──────────────────────┼──────────────────┤ - + ┌─────────────────┬──────────────────────┬──────────────────┐ + + 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*** - - └─────────────────┴──────────────────────┴──────────────────┘ + + └─────────────────┴──────────────────────┴──────────────────┘ \ 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 b15120756bd..09a9f2d8cf9 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,42 +4,42 @@ - ┌─────────────────────────────┬─────────────────────────────┬─────────────────────────────┐ - - Header 1 - - Header 2 - - Header 3 - - ├─────────────────────────────┼─────────────────────────────┼─────────────────────────────┤ - + ┌─────────────────────────────┬─────────────────────────────┬─────────────────────────────┐ + + 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 - - └─────────────────────────────┴─────────────────────────────┴─────────────────────────────┘ + + └─────────────────────────────┴─────────────────────────────┴─────────────────────────────┘ \ 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 a4410812dd3..245c83836c0 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,29 +4,29 @@ - ┌──────────────┬────────────┬───────────────┐ - - Emoji 😃 - - Asian 汉字 - - Mixed 🚀 Text - - ├──────────────┼────────────┼───────────────┤ - + ┌──────────────┬────────────┬───────────────┐ + + Emoji 😃 + + Asian 汉字 + + Mixed 🚀 Text + + ├──────────────┼────────────┼───────────────┤ + Start 🌟 End - + 你好世界 - + Rocket 🚀 Man - - + + Thumbs 👍 Up - + こんにちは - + Fire 🔥 - - └──────────────┴────────────┴───────────────┘ + + └──────────────┴────────────┴───────────────┘ \ 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 99ba8aff43f..fce1dd85a18 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,44 +4,44 @@ - ┌─────────────┬───────┬─────────┐ - - Very Long - - Short - - Another - - - Bold Header - - - Long - - - That Will - - - Header - - - Wrap - - - - ├─────────────┼───────┼─────────┤ - + ┌─────────────┬───────┬─────────┐ + + Very Long + + Short + + Another + + + Bold Header + + + Long + + + That Will + + + Header + + + Wrap + + + + ├─────────────┼───────┼─────────┤ + Data 1 - + Data - + Data 3 - - - + + + 2 - - - └─────────────┴───────┴─────────┘ + + + └─────────────┴───────┴─────────┘ \ 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 ef39407726d..658756930e5 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,36 +4,36 @@ - ┌──────────────┬──────────────┬──────────────┐ - - Header 1 - - Header 2 - - Header 3 - - ├──────────────┼──────────────┼──────────────┤ - + ┌──────────────┬──────────────┬──────────────┐ + + 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 - - └──────────────┴──────────────┴──────────────┘ + + └──────────────┴──────────────┴──────────────┘ \ 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 251476d9e12..50230293e7d 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,398 +4,398 @@ - ┌─────────────────────────────┬──────────────────────────────┬─────────────────────────────┬──────────────────────────────┬─────┬────────┬─────────┬───────┐ - - 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 - - - - - - - - ├─────────────────────────────┼──────────────────────────────┼─────────────────────────────┼──────────────────────────────┼─────┼────────┼─────────┼───────┤ - + ┌─────────────────────────────┬──────────────────────────────┬─────────────────────────────┬──────────────────────────────┬─────┬────────┬─────────┬───────┐ + + 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. - - - - - - - - - └─────────────────────────────┴──────────────────────────────┴─────────────────────────────┴──────────────────────────────┴─────┴────────┴─────────┴───────┘ + + + + + + + + + └─────────────────────────────┴──────────────────────────────┴─────────────────────────────┴──────────────────────────────┴─────┴────────┴─────────┴───────┘ \ 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 828c7fd9fa2..d74bedaefa2 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,60 +4,60 @@ - ┌───────────────┬───────────────┬──────────────────┬──────────────────┐ - - Very Long - - Very Long - - Very Long Column - - Very Long Column - - - Column Header - - Column Header - - Header Three - - Header Four - - - One - - Two - - - - ├───────────────┼───────────────┼──────────────────┼──────────────────┤ - + ┌───────────────┬───────────────┬──────────────────┬──────────────────┐ + + 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 - - └───────────────┴───────────────┴──────────────────┴──────────────────┘ + + └───────────────┴───────────────┴──────────────────┴──────────────────┘ \ 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 3e76bc05e3e..06e999425db 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,29 +4,29 @@ - ┌───────────────┬───────────────────┬────────────────┐ - - Mixed 😃 中文 - - Complex 🚀 日本語 - - Text 📝 한국어 - - ├───────────────┼───────────────────┼────────────────┤ - + ┌───────────────┬───────────────────┬────────────────┐ + + Mixed 😃 中文 + + Complex 🚀 日本語 + + Text 📝 한국어 + + ├───────────────┼───────────────────┼────────────────┤ + 你好 😃 - + こんにちは 🚀 - + 안녕하세요 📝 - - + + World 🌍 - + Code 💻 - + Pizza 🍕 - - └───────────────┴───────────────────┴────────────────┘ + + └───────────────┴───────────────────┴────────────────┘ \ 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 7f31b515485..6ecfab57567 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,29 +4,29 @@ - ┌──────────────┬─────────────────┬───────────────┐ - - Chinese 中文 - - Japanese 日本語 - - Korean 한국어 - - ├──────────────┼─────────────────┼───────────────┤ - + ┌──────────────┬─────────────────┬───────────────┐ + + Chinese 中文 + + Japanese 日本語 + + Korean 한국어 + + ├──────────────┼─────────────────┼───────────────┤ + 你好 - + こんにちは - + 안녕하세요 - - + + 世界 - + 世界 - + 세계 - - └──────────────┴─────────────────┴───────────────┘ + + └──────────────┴─────────────────┴───────────────┘ \ 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 a3abd45c53b..80066df9eed 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,29 +4,29 @@ - ┌──────────┬───────────┬──────────┐ - - Happy 😀 - - Rocket 🚀 - - Heart ❤️ - - ├──────────┼───────────┼──────────┤ - + ┌──────────┬───────────┬──────────┐ + + Happy 😀 + + Rocket 🚀 + + Heart ❤️ + + ├──────────┼───────────┼──────────┤ + Smile 😃 - + Fire 🔥 - + Love 💖 - - + + Cool 😎 - + Star ⭐ - + Blue 💙 - - └──────────┴───────────┴──────────┘ + + └──────────┴───────────┴──────────┘ \ 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 b48572438b7..c061cb3efc6 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,50 +4,50 @@ - ┌───────────────┬─────────────────────────────┐ - - Feature - - Markdown - - ├───────────────┼─────────────────────────────┤ - + ┌───────────────┬─────────────────────────────┐ + + Feature + + Markdown + + ├───────────────┼─────────────────────────────┤ + Bold - + Bold Text - - + + Italic - + Italic Text - - + + Combined - + Bold and Italic - - + + Link - + Google ( - https://google.com + https://google.com ) - - + + Code - + const x = 1 - - + + Strikethrough - + Strike - - + + Underline - + Underline - - └───────────────┴─────────────────────────────┘ + + └───────────────┴─────────────────────────────┘ \ 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 180c7aeb56c..06b6e78c834 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,16 +4,16 @@ - ┌────────┬────────┐ - - - - ├────────┼────────┤ - + ┌────────┬────────┐ + + + + ├────────┼────────┤ + Data 1 - + Data 2 - - └────────┴────────┘ + + └────────┴────────┘ \ 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 685260b84de..5a088e52522 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,21 +4,21 @@ - ┌──────────┬──────────┬──────────┐ - - Header 1 - - Header 2 - - Header 3 - - ├──────────┼──────────┼──────────┤ - + ┌──────────┬──────────┬──────────┐ + + Header 1 + + Header 2 + + Header 3 + + ├──────────┼──────────┼──────────┤ + Data 1 - + Data 2 - - - └──────────┴──────────┴──────────┘ + + + └──────────┴──────────┴──────────┘ \ 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 bc33d9e78ac..b8812b1318d 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,22 +4,22 @@ - ┌─────────────┬───────────────┬──────────────┐ - - Bold Header - - Normal Header - - Another Bold - - ├─────────────┼───────────────┼──────────────┤ - + ┌─────────────┬───────────────┬──────────────┐ + + Bold Header + + Normal Header + + Another Bold + + ├─────────────┼───────────────┼──────────────┤ + Data 1 - + Data 2 - + Data 3 - - └─────────────┴───────────────┴──────────────┘ + + └─────────────┴───────────────┴──────────────┘ \ 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 d69f29ece48..843d0cb30f3 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,49 +4,49 @@ - ┌────────────────┬────────────────┬─────────────────┐ - - Col 1 - - Col 2 - - Col 3 - - ├────────────────┼────────────────┼─────────────────┤ - + ┌────────────────┬────────────────┬─────────────────┐ + + 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 - - └────────────────┴────────────────┴─────────────────┘ + + └────────────────┴────────────────┴─────────────────┘ \ 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 f16cdd29aed..6da29803e42 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,48 +4,48 @@ - ┌───────────────────┬───────────────┬─────────────────┐ - - Punctuation 1 - - Punctuation 2 - - Punctuation 3 - - ├───────────────────┼───────────────┼─────────────────┤ - + ┌───────────────────┬───────────────┬─────────────────┐ + + 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* - - └───────────────────┴───────────────┴─────────────────┘ + + └───────────────────┴───────────────┴─────────────────┘ \ 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 f46137df13a..7cd2e73d1a5 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,32 +4,32 @@ - ┌───────┬─────────────────────────────┬───────┐ - - Col 1 - - Col 2 - - Col 3 - - ├───────┼─────────────────────────────┼───────┤ - + ┌───────┬─────────────────────────────┬───────┐ + + Col 1 + + Col 2 + + Col 3 + + ├───────┼─────────────────────────────┼───────┤ + Short - + This is a very long cell - + Short - - - + + + content that should wrap to - - - - + + + + multiple lines - - - └───────┴─────────────────────────────┴───────┘ + + + └───────┴─────────────────────────────┴───────┘ \ 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 f517dc3632d..20886ddde06 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,33 +4,33 @@ - ┌───────┬──────────────────────────┬────────┐ - - Short - - Long - - Medium - - ├───────┼──────────────────────────┼────────┤ - + ┌───────┬──────────────────────────┬────────┐ + + Short + + Long + + Medium + + ├───────┼──────────────────────────┼────────┤ + Tiny - + This is a very long text - + Not so - - - + + + that definitely needs to - + long - - - + + + wrap to the next line - - - └───────┴──────────────────────────┴────────┘ + + + └───────┴──────────────────────────┴────────┘ \ 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 beaa2161624..02b0a7b3af7 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 @@ -4,29 +4,29 @@ - - - + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ - - - + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ - - - + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ - - + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ Gemini CLI - v1.2.3 + v1.2.3 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/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 85a715cc013..03c2a937595 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 @@ -4,42 +4,42 @@ - - - + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ - - - + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ - - - + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ - - + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ Gemini CLI - v1.2.3 + v1.2.3 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 - ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ - - + ╭──────────────────────────────────────────────────────────────────────────────────────────────╮ + + 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 beaa2161624..02b0a7b3af7 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 @@ -4,29 +4,29 @@ - - - + + + ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ - - - + + + █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ - - - + + + ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ - - + + ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ Gemini CLI - v1.2.3 + v1.2.3 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 From 8a8590c51626f885b64e4dcbf3ece4136bb45e1e Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Mon, 13 Apr 2026 18:16:27 +0000 Subject: [PATCH 3/8] 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 | 242 ++- ...-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 | 547 +------ ...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 | 138 +- ...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 | 141 +- .../__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, 4247 insertions(+), 11387 deletions(-) diff --git a/.gemini/settings.json b/.gemini/settings.json index 594a07360bc..914281c5c9b 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 f6681359c91..611f2e09085 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 - - 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 + + + + + + + + + + + + + + + + + + + + + +Notifications + +Composer " `; exports[`App > Snapshots > renders screen reader layout correctly 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) +"Notifications +Footer + + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ + + 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 +Composer " `; exports[`App > Snapshots > renders with dialogs visible 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) + ▝▜▄ ▗█▀▀▜▙▝█▛▀▀▌▜██▖▟██▘▜█▘▜██▖▝█▛▝█▛ + ▝▜▄ █▌ █▙▟ ▐█▝█▛▐█ ▐█ ▐█▝█▖█▌ █▌ + ▗▟▀ ▜▙ ▝█▛ █▌▝ ▖▐█ ▐█ ▐█ ▐█ ▝██▌ █▌ + ▝▀ ▀▀▀▀▘▝▀▀▀▀▘▀▀▘ ▀▀▘▀▀▘▀▀▘ ▝▀▀▝▀▀ + + Gemini CLI v1.2.3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +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 2fdb6448779..42e28aac6ad 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 610ebd01f3c..caebc9ae493 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 - - 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) +" > Can you edit InputPrompt.tsx for me? +▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ - -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 73dc7b75582..5c4c6426b78 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 1409c70ae0e..eaa118754f1 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 87a1646a738..cdc060d9d72 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 - - 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) - - 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) +"What should we name this component? + +> e.g., UserProfileCard + + +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 - - 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) - - 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 the variable name: + +> Enter your response + + +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 - - 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) - - 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 the database connection string: + +> Enter your response + + +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 - - 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) +"Which authentication method should we use? + +● 1. OAuth 2.0 + Industry standard, supports SSO + 2. JWT tokens + Stateless, good for APIs + 3. Enter a custom value + +Enter to select · ↑/↓ to navigate · Esc to cancel " `; exports[`AskUserDialog > renders question and options 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) +"Which authentication method should we use? + +● 1. OAuth 2.0 + Industry standard, supports SSO + 2. JWT tokens + Stateless, good for APIs + 3. Enter a custom value + +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 - - 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) +"← □ Framework │ □ Styling │ ≡ Review → + +Which framework? + +● 1. React + Component library + 2. Vue + Progressive framework + 3. Enter a custom value + +Enter to select · ←/→ to switch questions · Esc to cancel " `; exports[`AskUserDialog > shows keyboard hints 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) +"Which authentication method should we use? + +● 1. OAuth 2.0 + Industry standard, supports SSO + 2. JWT tokens + Stateless, good for APIs + 3. Enter a custom value + +Enter to select · ↑/↓ to navigate · Esc to cancel " `; exports[`AskUserDialog > shows progress header for multiple questions 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) -" -`; +"← □ Database │ □ ORM │ ≡ Review → -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) +Which database should we use? + +● 1. PostgreSQL + Relational database + 2. MongoDB + Document database + 3. Enter a custom value + +Enter to select · ←/→ to switch questions · Esc to cancel " `; -exports[`AskUserDialog > shows warning for unanswered questions on Review tab 2`] = ` +exports[`AskUserDialog > shows warning for unanswered questions on Review tab 1`] = ` "← □ 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 0ef42abf460..a6272e0fa90 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 099969c109b..89d219005d7 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 e142f64d2e9..a83fad40c7c 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 176ddb8058c..6d8034d7f9f 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 da7d04c75df..e3448b97cae 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 2480de84e85..d237b30f99d 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 - - src/ui/hooks/useAlternateBuffer.ts:16:44 +"Local Agents - 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 => { + - Local Agent (local_agent) + Local agent description. + Second line. - - 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) +Remote Agents - -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 4465e5002d7..7c9cc6473cb 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 70bcb744db3..5e04b96cb84 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 f53d2e54782..fcea0df1b10 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 f53d2e54782..5adfc3cb315 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 f53d2e54782..7df089a0563 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 f53d2e54782..f72c857aa9d 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 f53d2e54782..22dcd7b4c30 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 f53d2e54782..ac451d24722 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 f53d2e54782..ef6550eef84 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 f53d2e54782..b6d655a8d15 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 f53d2e54782..166f5725b73 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 f53d2e54782..46d7df69e40 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 f53d2e54782..d583a101835 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 f53d2e54782..0e2c0a1fbdc 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 f53d2e54782..e57d234d139 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 f53d2e54782..7d9249acb57 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 f53d2e54782..d562880d0da 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 f53d2e54782..5a102dc728d 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 16db52083fd..ab6fe9b9282 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 922534472a4..0527f43327b 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 f33a6a3d786..7dab229ecd3 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 - - 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) +✦ 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 + +✦ 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 3835b0e9c59..a9673bc3b71 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 50e5777c456..72a11cad81c 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 5061bb3b99d..8f4daa80ae7 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 3835b0e9c59..a9673bc3b71 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 3835b0e9c59..a9673bc3b71 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 8a4dcc4fe72..4068847a9c0 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 6ef98e85467..93ba308209c 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 3835b0e9c59..a9673bc3b71 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 6be691ef013..b49d53d02c6 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 0311088a521..fca715c952c 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 1779bece566..870e292d66c 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 bf5b8f2165a..508eca9a5bf 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 3e9bd7023ff..2b9090e237e 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 a452792c607..8e57fe107ef 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 105d3593a92..a257a1253c0 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 b35e36560ea..3f2d8451a8f 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 06e22bb58cd..96d89e7416d 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 06e22bb58cd..7b21bd65a0e 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 9c30f8f2a1e..01bb88b00e8 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 - - 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 " `; 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 d838bbbf788..6e624485e29 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 - - 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 => { +"✦ Test **bold** and \`code\` markdown - - 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 - - src/ui/hooks/useAlternateBuffer.ts:16:44 +"✦ Test bold and code markdown - 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 - - 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 => { +"✦ Test **bold** and \`code\` markdown - - 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 - - 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) +"✦ Test bold and code markdown - -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 d7dfc5812bb..38700b92de8 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 a8d5bdabb8e..e7cdbd59601 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 df5a83213e7..660d8b4fa1c 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 44486ee4326..38647281df9 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 7a08cb49366..0294b63f30f 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 e2ac895f80e..b7f8a523589 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 ae80c389845..350a0cc61f7 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 bade5ecd873..ce2b2a4686e 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 f5ab99d4639..ffc73fdd5ea 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 01176c6b916..68e2eb2247b 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 55d3be97e5c..a30b871f415 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 c647b9afa2d..a60ac429c71 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 a06c77efbce..270f8e1b8fa 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 09beed770ed..ec5643e7735 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 5de9c5d624b..8da15d7fdb0 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 4a9029d7917..43140c27d16 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 6e5af4097b1..619362a3f46 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 ca67fb36fa5..2175679bfab 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 0fc54be351a..ad50106858b 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 - - 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) +"Available Gemini CLI tools: - -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 3ea7fc41d8e..89450d03e0d 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 48674e1f4f7..5bbf6688484 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 - - 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) +"Paragraph 1. - -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 323ec9ae589..b61fdf5b7c5 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 4e297e04da1..4e9bd715e3b 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 acaf59e19c6..102a7a0b8a7 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 2f3b61c137c..5019120e9a0 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 ef84a36d3a1..27f5f1bc263 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 071adb218b9..5f7e1b8405f 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 f3e55b42298..44764e2a9c1 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 a32f89f2b98..9a3a8eba660 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 324a8096151..525c940e5d0 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 b432139c97e..1f17db93f04 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 af9dd672d9c..6c972e3d29a 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 b7ada3a7467..634bacd7808 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 8be54228e75..f9f741204c1 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 0a0e67b25c2..f2b003e8cc3 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 c39f7ecf587..536d14651ef 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 5d242004346..311b252b0e7 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 aa7cd3430f5..b9fc91ff4fc 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 02d12b2ea2c..429127b4d2d 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 9b01c008c9a..7d1c6bef699 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 dbe037fc19a..58813f4cd57 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 2fdb6448779..f52f42f2053 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 2fdb6448779..32f28498143 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 2fdb6448779..f52f42f2053 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 9e397e05618..31da9664376 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... │ +╰──────────────────────────────────────────────────────────────────────────────────────────────╯" `; From fcb859d9ecb17ddc0956c40befa341ada752c0cd Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Mon, 13 Apr 2026 19:08:41 +0000 Subject: [PATCH 4/8] fix(cli): address code review comments for /enhance command This commit addresses feedback by setting autoExecute to false for the enhance command, filtering out 'thought' parts from model responses, and sanitizing the output to prevent prompt injection. --- .../src/ui/commands/enhanceCommand.test.ts | 26 +++++++++++++++++++ .../cli/src/ui/commands/enhanceCommand.ts | 6 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/ui/commands/enhanceCommand.test.ts b/packages/cli/src/ui/commands/enhanceCommand.test.ts index d3d5fc502a6..54abc69d544 100644 --- a/packages/cli/src/ui/commands/enhanceCommand.test.ts +++ b/packages/cli/src/ui/commands/enhanceCommand.test.ts @@ -172,4 +172,30 @@ describe('enhanceCommand', () => { }), ); }); + it('should ignore thought parts and sanitize the output', async () => { + if (!enhanceCommand.action) throw new Error('Action must be defined'); + + mockGenerateContent.mockResolvedValue({ + candidates: [ + { + content: { + parts: [ + { thought: true, text: 'This is a thought.' }, + { text: 'Sanitized\nPrompt]' }, + ], + }, + }, + ], + }); + + await enhanceCommand.action(mockContext, 'dirty prompt'); + + expect(mockContext.ui.addItem).toHaveBeenCalledWith( + expect.objectContaining({ + type: MessageType.INFO, + text: expect.stringContaining('Enhanced prompt:\n\nSanitizedPrompt'), + }), + ); + expect(mockContext.ui.setInput).toHaveBeenCalledWith('SanitizedPrompt'); + }); }); diff --git a/packages/cli/src/ui/commands/enhanceCommand.ts b/packages/cli/src/ui/commands/enhanceCommand.ts index 5ceee1a84d3..e6d7e8008a9 100644 --- a/packages/cli/src/ui/commands/enhanceCommand.ts +++ b/packages/cli/src/ui/commands/enhanceCommand.ts @@ -78,7 +78,11 @@ export const enhanceCommand: SlashCommand = { LlmRole.UTILITY_TOOL, ); - const enhancedText = response.candidates?.[0]?.content?.parts?.[0]?.text; + const parts = response.candidates?.[0]?.content?.parts; + const enhancedText = parts + ?.find((part) => 'text' in part && !('thought' in part)) + ?.text?.replace(/\n/g, '') + ?.replace(/]/g, ''); if (enhancedText) { const cleanedText = clean(enhancedText); From 652c1e2f5eddc47a14eea17abb3f4564e016a4ed Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Tue, 28 Apr 2026 21:22:02 +0000 Subject: [PATCH 5/8] feat(cli): release enhance command behind an experimental flag and address review comments --- packages/cli/src/config/config.ts | 1 + packages/cli/src/config/settingsSchema.ts | 9 +++++++++ .../src/services/BuiltinCommandLoader.test.ts | 18 ++++++++++++++++++ .../cli/src/services/BuiltinCommandLoader.ts | 2 +- packages/cli/src/ui/commands/enhanceCommand.ts | 2 +- packages/core/src/config/config.ts | 7 +++++++ 6 files changed, 37 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index bd1f616c8c6..5da1e895c7f 100755 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -1035,6 +1035,7 @@ export async function loadCliConfig( extensionRegistryURI, enableExtensionReloading: settings.experimental?.extensionReloading, enableAgents: settings.experimental?.enableAgents, + enableEnhanceCommand: settings.experimental?.enhanceCommand ?? false, plan: settings.general?.plan?.enabled ?? true, voiceMode: settings.experimental?.voiceMode, tracker: settings.experimental?.taskTracker, diff --git a/packages/cli/src/config/settingsSchema.ts b/packages/cli/src/config/settingsSchema.ts index 5df30a20a5d..5b143efdb8d 100644 --- a/packages/cli/src/config/settingsSchema.ts +++ b/packages/cli/src/config/settingsSchema.ts @@ -2437,6 +2437,15 @@ const SETTINGS_SCHEMA = { description: 'Deprecated: Use general.topicUpdateNarration instead.', showInDialog: false, }, + enhanceCommand: { + type: 'boolean', + label: 'Enhance Command', + category: 'Experimental', + requiresRestart: true, + default: false, + description: 'Enable the experimental /enhance slash command.', + showInDialog: true, + }, }, }, extensions: { diff --git a/packages/cli/src/services/BuiltinCommandLoader.test.ts b/packages/cli/src/services/BuiltinCommandLoader.test.ts index d53273134c4..5ec9a1d3a62 100644 --- a/packages/cli/src/services/BuiltinCommandLoader.test.ts +++ b/packages/cli/src/services/BuiltinCommandLoader.test.ts @@ -171,6 +171,7 @@ describe('BuiltinCommandLoader', () => { isAdminEnabled: vi.fn().mockReturnValue(true), }), isVoiceModeEnabled: vi.fn().mockReturnValue(true), + isEnhanceCommandEnabled: vi.fn().mockReturnValue(true), getContentGeneratorConfig: vi.fn().mockReturnValue({ authType: 'other', }), @@ -310,6 +311,22 @@ describe('BuiltinCommandLoader', () => { expect(agentsCmd).toBeUndefined(); }); + it('should include enhance command when experimental enhance command is enabled', async () => { + (mockConfig.isEnhanceCommandEnabled as Mock).mockReturnValue(true); + const loader = new BuiltinCommandLoader(mockConfig); + const commands = await loader.loadCommands(new AbortController().signal); + const enhanceCmd = commands.find((c) => c.name === 'enhance'); + expect(enhanceCmd).toBeDefined(); + }); + + it('should exclude enhance command when experimental enhance command is disabled', async () => { + (mockConfig.isEnhanceCommandEnabled as Mock).mockReturnValue(false); + const loader = new BuiltinCommandLoader(mockConfig); + const commands = await loader.loadCommands(new AbortController().signal); + const enhanceCmd = commands.find((c) => c.name === 'enhance'); + expect(enhanceCmd).toBeUndefined(); + }); + describe('chat debug command', () => { it('should NOT add debug subcommand to chat/resume commands if not a nightly build', async () => { vi.mocked(isNightly).mockResolvedValue(false); @@ -398,6 +415,7 @@ describe('BuiltinCommandLoader profile', () => { isAdminEnabled: vi.fn().mockReturnValue(true), }), isVoiceModeEnabled: vi.fn().mockReturnValue(true), + isEnhanceCommandEnabled: vi.fn().mockReturnValue(true), getContentGeneratorConfig: vi.fn().mockReturnValue({ authType: 'other', }), diff --git a/packages/cli/src/services/BuiltinCommandLoader.ts b/packages/cli/src/services/BuiltinCommandLoader.ts index a9adb4f8e22..f393634fe53 100644 --- a/packages/cli/src/services/BuiltinCommandLoader.ts +++ b/packages/cli/src/services/BuiltinCommandLoader.ts @@ -136,7 +136,7 @@ export class BuiltinCommandLoader implements ICommandLoader { docsCommand, directoryCommand, editorCommand, - enhanceCommand, + ...(this.config?.isEnhanceCommandEnabled() ? [enhanceCommand] : []), ...(this.config?.getExtensionsEnabled() === false ? [ { diff --git a/packages/cli/src/ui/commands/enhanceCommand.ts b/packages/cli/src/ui/commands/enhanceCommand.ts index e6d7e8008a9..ecc24983925 100644 --- a/packages/cli/src/ui/commands/enhanceCommand.ts +++ b/packages/cli/src/ui/commands/enhanceCommand.ts @@ -21,7 +21,7 @@ export const enhanceCommand: SlashCommand = { name: 'enhance', description: 'Enhance a prompt with additional context and rephrasing', kind: CommandKind.BUILT_IN, - autoExecute: true, + autoExecute: false, action: async (context, args) => { const draft = args.trim(); if (!draft) { diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 11f7a248411..93d944f7cf4 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -709,6 +709,7 @@ export interface ConfigParameters { disabledSkills?: string[]; adminSkillsEnabled?: boolean; experimentalJitContext?: boolean; + enableEnhanceCommand?: boolean; autoDistillation?: boolean; experimentalMemoryV2?: boolean; experimentalAutoMemory?: boolean; @@ -950,6 +951,7 @@ export class Config implements McpContext, AgentLoopContext { private readonly vertexAiRouting: VertexAiRoutingConfig | undefined; private readonly enableAgents: boolean; + private readonly enableEnhanceCommand: boolean; private agents: AgentSettings; private readonly enableEventDrivenScheduler: boolean; private readonly skillsSupport: boolean; @@ -1116,6 +1118,7 @@ export class Config implements McpContext, AgentLoopContext { this.disableLoopDetection = params.disableLoopDetection ?? false; this._activeModel = params.model; this.enableAgents = params.enableAgents ?? true; + this.enableEnhanceCommand = params.enableEnhanceCommand ?? false; this.agents = params.agents ?? {}; this.disableLLMCorrection = params.disableLLMCorrection ?? true; this.planEnabled = params.plan ?? true; @@ -2972,6 +2975,10 @@ export class Config implements McpContext, AgentLoopContext { return this.planEnabled; } + isEnhanceCommandEnabled(): boolean { + return this.enableEnhanceCommand; + } + isVoiceModeEnabled(): boolean { return this.voiceMode; } From 7c3b3ce2192719a688db00d6558d8e24e3fc04c6 Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Tue, 28 Apr 2026 21:25:10 +0000 Subject: [PATCH 6/8] feat(settings): enable enhanceCommand in local settings --- .gemini/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gemini/settings.json b/.gemini/settings.json index 688d3474f13..71eeab72a64 100644 --- a/.gemini/settings.json +++ b/.gemini/settings.json @@ -6,7 +6,8 @@ "gemma": true, "memoryManager": true, "topicUpdateNarration": true, - "voiceMode": true + "voiceMode": true, + "enhanceCommand": true }, "general": { "devtools": true, From c741ce328bd073b56c04d719748d020e349e5810 Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Tue, 28 Apr 2026 22:01:14 +0000 Subject: [PATCH 7/8] docs(settings): regenerate settings documentation and schema --- docs/cli/settings.md | 1 + docs/reference/configuration.md | 5 +++++ docs/reference/keyboard-shortcuts.md | 1 + schemas/settings.schema.json | 7 +++++++ 4 files changed, 14 insertions(+) diff --git a/docs/cli/settings.md b/docs/cli/settings.md index 834750fdf98..6a90302664b 100644 --- a/docs/cli/settings.md +++ b/docs/cli/settings.md @@ -180,6 +180,7 @@ they appear in the UI. | Auto Memory | `experimental.autoMemory` | Automatically extract reusable skills from past sessions in the background. Review results with /memory inbox. | `false` | | Use the generalist profile to manage agent contexts. | `experimental.generalistProfile` | Suitable for general coding and software development tasks. | `false` | | Enable Context Management | `experimental.contextManagement` | Enable logic for context management. | `false` | +| Enhance Command | `experimental.enhanceCommand` | Enable the experimental /enhance slash command. | `false` | ### Skills diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 87bbd0756f7..74a96738802 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -1872,6 +1872,11 @@ their corresponding top-level category object in your `settings.json` file. - **Description:** Deprecated: Use general.topicUpdateNarration instead. - **Default:** `false` +- **`experimental.enhanceCommand`** (boolean): + - **Description:** Enable the experimental /enhance slash command. + - **Default:** `false` + - **Requires restart:** Yes + #### `skills` - **`skills.enabled`** (boolean): diff --git a/docs/reference/keyboard-shortcuts.md b/docs/reference/keyboard-shortcuts.md index 6f7a8cce4a6..80349efc0bc 100644 --- a/docs/reference/keyboard-shortcuts.md +++ b/docs/reference/keyboard-shortcuts.md @@ -94,6 +94,7 @@ available combinations. | `input.openExternalEditor` | Open the current prompt or the plan in an external editor. | `Ctrl+G`
`Ctrl+Shift+G` | | `input.deprecatedOpenExternalEditor` | Deprecated command to open external editor. | `Ctrl+X` | | `input.paste` | Paste from the clipboard. | `Ctrl+V`
`Cmd/Win+V`
`Alt+V` | +| `input.enhancePrompt` | Enhance the current prompt using an LLM. | `Alt+E` | #### App Controls diff --git a/schemas/settings.schema.json b/schemas/settings.schema.json index 893c1bde6c5..09e25596ab9 100644 --- a/schemas/settings.schema.json +++ b/schemas/settings.schema.json @@ -3181,6 +3181,13 @@ "markdownDescription": "Deprecated: Use general.topicUpdateNarration instead.\n\n- Category: `Experimental`\n- Requires restart: `no`\n- Default: `false`", "default": false, "type": "boolean" + }, + "enhanceCommand": { + "title": "Enhance Command", + "description": "Enable the experimental /enhance slash command.", + "markdownDescription": "Enable the experimental /enhance slash command.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `false`", + "default": false, + "type": "boolean" } }, "additionalProperties": false From 385fbbd9fb10a73c12a758c43877275cd0ad0967 Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Tue, 28 Apr 2026 22:12:11 +0000 Subject: [PATCH 8/8] test(core): increase event loop yield timeout in SimulationHarness to prevent flakiness --- packages/core/src/context/system-tests/simulationHarness.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/context/system-tests/simulationHarness.ts b/packages/core/src/context/system-tests/simulationHarness.ts index 23ea1b5e46f..1082041c570 100644 --- a/packages/core/src/context/system-tests/simulationHarness.ts +++ b/packages/core/src/context/system-tests/simulationHarness.ts @@ -103,7 +103,7 @@ export class SimulationHarness { ); // 3. Yield to event loop to allow internal async subscribers and orchestrator to finish - await new Promise((resolve) => setTimeout(resolve, 50)); + await new Promise((resolve) => setTimeout(resolve, 200)); // 3.1 Simulate what projectCompressedHistory does with the sync handlers let currentView = this.contextManager.getNodes();