summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/utils
AgeCommit message (Collapse)Author
2025-07-12fix(auth): Remove sharp edges from headless auth (#3985)N. Taylor Mullen
2025-07-12feat: Add clipboard image paste support for macOS (#1580)Jayson Dasher
Co-authored-by: Jacob Richman <[email protected]> Co-authored-by: Scott Densmore <[email protected]>
2025-07-12Fix extra whitespace in markdown rendering. (#3943)Jacob Richman
Co-authored-by: Scott Densmore <[email protected]>
2025-07-09Remove auto-execution on Flash in the event of a 429/Quota failover (#3662)Bryan Morgan
Co-authored-by: Jenna Inouye <[email protected]>
2025-07-09Improve quota- and resource-related 429 error handling, also taking Code ↵Bryan Morgan
Assist customer tiers into consideration (#3609)
2025-07-07Fix nested markdown Rendering for table headers and rows #3331 (#3362)zfflxx
Co-authored-by: Ryan Fang <[email protected]>
2025-07-01feat: Add markdown table rendering support (#1955)Tian Jian Wang
Co-authored-by: heartyguy <[email protected]> Co-authored-by: Allen Hutchison <[email protected]>
2025-07-01update check + tests (#2772)Eddie Santos
2025-07-01Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE (#2769)Tommaso Sciortino
2025-06-30feat: Change /stats to include more detailed breakdowns (#2615)Abhi
2025-06-29refactor: use for...of loop instead of traditional for loop (#1840)Noritaka Kobayashi
2025-06-26chore: fix typos in comment-out (#1540)Noritaka Kobayashi
Co-authored-by: Scott Densmore <[email protected]>
2025-06-25Merge "Login with Google Workspace" auth option into "Login with Google" (#1574)Tommaso Sciortino
Co-authored-by: Scott Densmore <[email protected]>
2025-06-25fix: prepublish changes to package names (#1420)Brandon Keiji
2025-06-25fix(update-notifier): resolve __dirname error on npx execution (#1406)matt korwel
2025-06-24fix: use correct directory for update checks (#1394)Marat Boshernitsan
2025-06-24feat: add custom message for 429 errors (#1366)Abhi
2025-06-23Add error messaging for 429 errors (#1316)Abhi
2025-06-22Jacob314/overflow notification and one MaxSizedBox bug fix (#1288)Jacob Richman
2025-06-20Prevent hard crashing on update notifier fail. (#1254)N. Taylor Mullen
2025-06-19Fix flicker issues by ensuring all actively changing content fits in the ↵Jacob Richman
viewport (#1217)
2025-06-17Auto-update notifications (#1110)Eddie Santos
2025-06-15feat: Adds shell command context to gemini history (#1076)Abhi
2025-06-14bug: Fix code colorizer (#1046)Leo
2025-06-13Replace logo with custom ASCII (#958)Miguel Solorio
2025-06-10feat: Add UI for /stats slash command (#883)Abhi
2025-06-07feat(cli): improve API error parsing and display (#829)Scott Densmore
2025-06-05Allow themes to theme the UI (#769)Miguel Solorio
2025-06-04Update light themes (#726)Miguel Solorio
2025-06-02Color enhancements (#680)Miguel Solorio
2025-06-01more strict italics: delimiters cannot be preceded/followed by \w or ↵Olcan
[./\\]\S (#677)
2025-05-30feat: add --show_memory_usage flag to display memory usage in status bar (#606)Jacob Richman
2025-05-19fix: Ensure user written `!` is treated opaquely if not in shell mode\n\n- ↵Taylor Mullen
Addresses an issue where commands prefixed with `!` (e.g., `!ls`) were incorrectly handled by the shell command processor if the `!` was added after initially typing the command.\n- Ensures that such commands are correctly forwarded to the Gemini model.\n- Updates `useGeminiStream` to be aware of shell mode to properly manage streaming state.\n\nFixes https://buganizer.corp.google.com/issues/418761305
2025-05-15Refactor: Improve UI rendering and address code review commentsTaylor Mullen
This commit addresses several code review comments primarily focused on improving the rendering and stability of the CLI UI. Key changes include: - Passing `isPending` and `availableTerminalHeight` props to `MarkdownDisplay` to enable more intelligent rendering of content, especially for pending messages and code blocks. - Adjusting height calculations in `ToolGroupMessage` and `ToolMessage` to more accurately reflect available space. - Refining the logic in `App.tsx` for measuring and utilizing terminal height, including renaming `footerRef` to `mainControlsRef` for clarity. - Ensuring consistent prop drilling for `isPending` and `availableTerminalHeight` through `HistoryItemDisplay`, `GeminiMessage`, and `GeminiMessageContent`. - In `MarkdownDisplay`, when `isPending` is true and content exceeds `availableTerminalHeight`, the code block will now be truncated with a "... generating more ..." message. If there's insufficient space even for the message, a simpler "... code is being written ..." will be shown.
2025-05-15Addressed code review commentsTaylor Mullen
2025-05-15Refactor: Replace MarkdownRenderer with MarkdownDisplay componentTaylor Mullen
- This commit refactors the Markdown rendering logic within the CLI UI. The existing `MarkdownRenderer.tsx` class-based component has been replaced with a new functional component `MarkdownDisplay.tsx`. - The `MarkdownDisplay` component is a React.memoized component for improved performance and maintains the same core Markdown parsing and rendering capabilities.
2025-05-11Remove terminal tool and dependencies.Taylor Mullen
- We now solely use the shell tool. This deletes all content around the legacy terminal tool so we can focus on improving the new Shell tool. - Remove instances from sandboxing, tests, utilities etc.
2025-05-09fix: Resolve infinite loopTaylor Mullen
- This change addresses and resolves an infinite loop. The patch ensures the loop condition is correctly handled, preventing its recurrence. - Added tests for markdownUtilities.test.ts Fixes: https://b.corp.google.com/issues/416795337 Signed-off-by: Gemini <My circuits hummed, and the loop was no more.>
2025-05-07Fix bugs from useGeminiStream refactor (#284)Tae Hyung Kim
2025-05-07Refactor: Enhance @-command, Autocomplete, and Input Stability (#279)Allen Hutchison
2025-05-06Fix rendering & indentation of bullets (numeric and *).Taylor Mullen
- Prior to this numeric bullets wouldn't have a period suffix and * bullets wouldn't be indented if they were nested. Fixes https://b.corp.google.com/issues/414266756
2025-05-06Revert "Support syntax highlighting for more languages (#246)" (#264)Jacob Richman
2025-05-04Support syntax highlighting for more languages (#246)Jacob Richman
2025-05-02Cleanup low value comments. (#248)Jacob Richman
2025-05-02Add autocomplete for slash commandsSeth Troisi
2025-04-30Added bang(!) commands as a shell passthroughSeth Troisi
2025-04-29Add @ command handling to useGeminiStream (#217)Allen Hutchison
* First integration of at commands into useGeminiStream.ts * feat: Integrate @ command for file/directory reading - Adds support for `@<path>` commands in the CLI UI to read file or directory contents using the `read_many_files` tool. - Refactors `useGeminiStream` hook to handle slash, passthrough, and @ commands before sending queries to the Gemini API. - Improves history item ID generation to prevent React duplicate key warnings. * fix: Handle additional text after @ command path - Modifies the `@` command processor to parse text following the file/directory path (e.g., `@README.md explain this`). - Includes both the fetched file content and the subsequent text in the query sent to the Gemini API. - Resolves the TODO item in `atCommandProcessor.ts`. * feat: Allow @ command anywhere in query and fix build - Update `atCommandProcessor` to correctly parse `@<path>` commands regardless of their position in the input string using regex. This enables queries like "Explain @README.md to me". - Fix build error in `useGeminiStream` by importing the missing `findSafeSplitPoint` function. * rename isPotentiallyAtCommand to isAtCommand * respond to review comments.
2025-04-29Refactor useGeminiStream to pull slash commands and passthrough comma… (#215)Allen Hutchison
* Refactor useGeminiStream to pull slash commands and passthrough commands into their own processors. * whitespace lint errors. * Add sugestions from code review.
2025-04-29First four independent files for @ commands. (#205)Allen Hutchison
2025-04-26Follow up fixes from flickering PR.Taylor Mullen
- The push for these changes didn't make it through.... Just doing a quick fix here which should have been in: https://github.com/google-gemini/gemini-code/pull/181