summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/InputPrompt.tsx
AgeCommit message (Collapse)Author
2025-07-30feat: Multi-Directory Workspace Support (part1: add `--include-directories` ↵Yuki Okita
option) (#4605) Co-authored-by: Allen Hutchison <[email protected]>
2025-07-25Vim mode (#3936)Sijie Wang
2025-07-25Fix bugs breaking drag and drop of files. (#4887)Jacob Richman
Co-authored-by: matt korwel <[email protected]>
2025-07-25[Refactor] Centralizes autocompletion logic within useCompletion (#4740)Sandy Tao
2025-07-21Various spelling improvements (#3497)Josh Soref
Signed-off-by: Josh Soref <[email protected]> Co-authored-by: Sandy Tao <[email protected]>
2025-07-21feat(cli):suggestion-navigation-shortcut (#3641)Seydulla Narkulyyev
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-07-20prefactor(commands): Command Service Prefactor for Extensible Commands (#4511)Abhi
2025-07-18improve command completion trigger logic based on cursor position (#4462)Sandy Tao
Co-authored-by: Jacob Richman <[email protected]>
2025-07-18feat(cli): allow executing commands on perfect match (#4397)Harold Mciver
Co-authored-by: Jenna Inouye <[email protected]>
2025-07-18feat(ui): hide cursor when terminal is unfocused (#4012)Keith Lyons
2025-07-17Fix #4220: allow up/down arrow to toggle history when only one sugges… (#4377)goldyonatan
2025-07-16feat(cli): clear input buffer on CTRL+C when not executing commands (#1729)Matias
Co-authored-by: Scott Densmore <[email protected]>
2025-07-14Add back support for escaping newline with a \ character (#4064)Billy Biggs
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-07feature(commands) - Refactor Slash Command + Vision For the Future (#3175)Abhi
2025-07-07fix(cli): Prevent Tab from auto-executing incomplete slash commands (#2919)Sambhav Khanna
Co-authored-by: matt korwel <[email protected]>
2025-07-05fix typos in diverse files (#3284)Didier Durand
Co-authored-by: Scott Densmore <[email protected]>
2025-07-01Improve slashCommand autoCompletion logic (#2776)Seth Troisi
2025-06-27Handle stdin for prompts using readline for escape character parsing (#1972)Billy Biggs
2025-06-25fix: prepublish changes to package names (#1420)Brandon Keiji
2025-06-19Fix flicker issues by ensuring all actively changing content fits in the ↵Jacob Richman
viewport (#1217)
2025-06-17feat: shell history (#1169)Abhi
2025-06-17Support escaping carriage returns with \ (#1127)Billy Biggs
2025-06-15Support completion of checkpoint names in /resume (#1063)Billy Biggs
2025-06-13feat(cli): support ctrl+d to exit (#878)Daniel Lee
Similar to ctrl+c, ctrl+d can now be used to exit the program. To avoid accidental exit, ctrl+d must be pressed twice in relatively quick succession (same as ctrl+c). Following common UX pattern, ctrl+d will be ignored when the input prompt is non-empty. This behavior is similar to how most shell (bash/zsh) behaves. To support this, I had to refactor so that text buffer is initialized outside of the InputPrompt component and instead do it on the main App component to allow input controller to have access to check the content of the text buffer.
2025-06-07Auto insert @ when dragging and dropping files. (#812)Jacob Richman
2025-06-07refactor: rename gemini-code to gemini-cli (#822)cperry-goog
2025-06-06feat(ui): add cursor to empty input prompt (#800)Jacob Richman
2025-06-05Allow themes to theme the UI (#769)Miguel Solorio
2025-06-03Fix several bugs in prompt history (#734)Marat Boshernitsan
Co-authored-by: Marat Boshernitsan <[email protected]>
2025-06-04Ignore folders files (#651)Keith Ballinger
# Add .gitignore-Aware File Filtering to gemini-cli This pull request introduces .gitignore-based file filtering to the gemini-cli, ensuring that git-ignored files are automatically excluded from file-related operations and suggestions throughout the CLI. The update enhances usability, reduces noise from build artifacts and dependencies, and provides new configuration options for fine-tuning file discovery. Key Improvements .gitignore File Filtering All @ (at) commands, file completions, and core discovery tools now honor .gitignore patterns by default. Git-ignored files (such as node_modules/, dist/, .env, and .git) are excluded from results unless explicitly overridden. The behavior can be customized via a new fileFiltering section in settings.json, including options for: Turning .gitignore respect on/off. Adding custom ignore patterns. Allowing or excluding build artifacts. Configuration & Documentation Updates settings.json schema extended with fileFiltering options. Documentation updated to explain new filtering controls and usage patterns. Testing New and updated integration/unit tests for file filtering logic, configuration merging, and edge cases. Test coverage ensures .gitignore filtering works as intended across different workflows. Internal Refactoring Core file discovery logic refactored for maintainability and extensibility. Underlying tools (ls, glob, read-many-files) now support git-aware filtering out of the box. Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-30Rename server->core (#638)Tommaso Sciortino
2025-05-30fix(cli): Clear input buffer before onSubmit in InputPrompt (#633)Allen Hutchison
2025-05-23Fix bug updating the cursor after navigating history. (#507)Jacob Richman
2025-05-21restore placeholder change likely dropped in a merge (#464)Olcan
2025-05-20feat: Allow Esc to exit shell modeTaylor Mullen
- Update InputPrompt.tsx to handle Esc key for exiting shell mode. - Modify ShellModeIndicator.tsx to reflect the new keybinding. Fixes https://buganizer.corp.google.com/issues/419087952
2025-05-20Merge InputPrompt and multiline-editor and move autocomplete logic directly ↵Jacob Richman
into InputPrompt (#453)
2025-05-20Implement additional readline-like keybindings, including alt-left arrow and ↵DeWitt Clinton
alt-right arrow. (#443) This change adds keybinding support for: - `Ctrl+B`: Moves the cursor backward one character. - `Ctrl+F`: Moves the cursor forward one character. - `Alt+Left Arrow`: Moves the cursor backward one word. - `Alt+Right Arrow`: Moves the cursor forward one word. Closes b/411469305.
2025-05-19ui tweaks (#442)Olcan
2025-05-18feat(cli): Introduce toggleable shell mode with enhanced UITaylor Mullen
- Implements a toggleable shell mode, removing the need to prefix every command with `!`. - Users can now enter and exit shell mode by typing `!` as the first character in an empty input prompt. - The input prompt visually indicates active shell mode with a distinct color and `! ` prefix. - Shell command history items (`user_shell`) are now visually differentiated from regular user messages. - This provides a cleaner and more streamlined user experience for frequent shell interactions. Fixes https://b.corp.google.com/issues/418509745
2025-05-14Add readline-like keybindings to the input prompts. (#354)DeWitt Clinton
New keybindings in the main input prompt (when auto-suggestions are not active): - `Ctrl+L`: Clears the entire screen. - `Ctrl+A`: Moves the cursor to the beginning of the current input line. - `Ctrl+E`: Moves the cursor to the end of the current input line. - `Ctrl+P`: Navigates to the previous command in the input history. - `Ctrl+N`: Navigates to the next command in the input history. In the multiline text editor (e.g., when editing a previous message): - `Ctrl+K`: Deletes text from the current cursor position to the end of the line ("kill line right").
2025-05-14Improvements to suggestions & slash commands (#344)Miguel Solorio
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-13First step refactoring InputPrompt (#335)Jacob Richman
2025-05-13Use `Enter` on slash commands to execute (#334)Miguel Solorio
2025-05-13Multiline editor (#302)Jacob Richman
Co-authored-by: Taylor Mullen <[email protected]>
2025-05-07Refactor: Enhance @-command, Autocomplete, and Input Stability (#279)Allen Hutchison
2025-05-02Cleanup low value comments. (#248)Jacob Richman
2025-05-02Add autocomplete for slash commandsSeth Troisi
2025-05-01Support escaping spaces in file paths. (#241)Jacob Richman
2025-04-30Add @ command suggestions in the UI. (#219)Allen Hutchison