summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks
AgeCommit message (Collapse)Author
2025-06-10feat: Add UI for /stats slash command (#883)Abhi
2025-06-10addressed b/423798481 (#887)Bryan Morgan
2025-06-09feat: Display initial token usage metrics in /stats (#879)Abhi
2025-06-09Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility ↵matt korwel
(#784)
2025-06-08fix mcp timeouts and missing description on mcp errors (#868)Olcan
2025-06-08Bryanmorgan/add tool source description (#856)Bryan Morgan
2025-06-08fix(tool-scheduler): Correctly pipe cancellation signal to tool calls (#852)N. Taylor Mullen
2025-06-08feat: Introduce session context and add session duration stat for `/stats` ↵Abhi
command (#854)
2025-06-08feat: display commit hash in detached HEAD state (#832)Scott Densmore
2025-06-08fix(cli): correctly handle tool invocation cancellation (#844)N. Taylor Mullen
2025-06-07feat(cli): improve API error parsing and display (#829)Scott Densmore
2025-06-07Bryanmorgan/add mcp description support (#825)Bryan Morgan
2025-06-07refactor: rename gemini-code to gemini-cli (#822)cperry-goog
2025-06-07Added /mcp command support and cleaned up broken tests (#817)Bryan Morgan
2025-06-07More version simplifiction. (#810)Tommaso Sciortino
2025-06-06adding very important phrases (#802)cperry-goog
2025-06-06feat(cli): respect the NO_COLOR env variable (#772)Jacob Richman
2025-06-05refactor: remove unnecessary useRefs (#780)Brandon Keiji
2025-06-05OpenTelemetry Integration & Telemetry Control Flag (#762)Jerop Kipruto
2025-06-04Add `/tools` slash command to view available tools (#752)Eddie Santos
2025-06-04refactor(core): Centralize tool response formatting (#743)N. Taylor Mullen
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-06-03feat: notify user when chat context is compressed (#724)Brandon Keiji
2025-06-03feat(cli): randomize and expand witty loading phrases (#704)Allen Hutchison
2025-06-03Refactor: Use config.getGeminiClient() for GeminiClient instantiation (#715)N. Taylor Mullen
2025-06-02refactor: maintain 1 GeminiChat per GeminiClient (#710)Brandon Keiji
2025-06-02fix(cli): restore first-launch theme prompt (#703)Jacob Richman
2025-06-02strip ansi from shell output (#699)Olcan
2025-06-02feat(cli): add pro model availability check and fallback to flash (#608)Allen Hutchison
2025-06-02feat: Add --yolo mode that automatically accepts all tools executions (#695)Tolik Malibroda
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-02enable async tool discovery by making the registry accessor async; remove ↵Olcan
call to discoverTools that caused duplicate discovery (#691)
2025-06-02fix: Ensure all tool calls are complete before submitting responses (#689)N. Taylor Mullen
2025-06-01refactor: Centralize tool scheduling logic and simplify React hook (#670)N. Taylor Mullen
2025-05-31Fix: Make file path case-insensitive in @-command (#659)Scott Densmore
2025-05-31Test: Add comprehensive tests for useToolScheduler hookTaylor Mullen
- Introduces a suite of tests for the hook, covering various scenarios including: - Successful tool execution - Tool not found errors - Errors during - Errors during tool execution - Tool confirmation (approved and cancelled) - (currently skipped) - Live output updates - (currently skipped) - Cancellation of tool calls (before execution and during approval) - (currently skipped) - Execution of multiple tool calls - Preventing scheduling while other calls are running - (currently skipped) - Includes tests for the utility function to ensure correct mapping of tool call states to display objects. - Mocks dependencies like , , and individual instances. - Uses fake timers to control asynchronous operations. Note: Some tests involving complex asynchronous interactions (confirmations, live output, cancellations) are currently skipped due to challenges in reliably testing these scenarios with the current setup. These will be addressed in future work.
2025-05-30Fix: Update git branch watcher to use .git/logs/HEAD (#643)Scott Densmore
2025-05-30Rename server->core (#638)Tommaso Sciortino
2025-05-30feat: add --show_memory_usage flag to display memory usage in status bar (#606)Jacob Richman
2025-05-30add flags for markdown rendering and live updating to Tool to avoid ↵Olcan
special-casing shell tool by name, and open door for other tools to specify their rendering/updating (#629)
2025-05-30fix(sandbox): prepare package.json before building sandbox image (#626)Brandon Keiji
2025-05-30disable markdown rendering of shell tool output (#625)Olcan
2025-05-30tweaks to shell abort logic based on feedback (#618)Olcan
2025-05-30allow aborting of shell mode (!) commands, similar to shell tool commands. ↵Olcan
fix bug that prevented aborts after first abort. more robust killing logic (#616)
2025-05-30update shell output at an interval to reduce flicker (#614)Olcan
2025-05-29Refactor read-file and support images. (#480)Jacob Richman
2025-05-28fix(cli): Support multiple @file references in atCommandProcessor (#590)Allen Hutchison
2025-05-28feat: add git branch name to footer (#589)Brandon Keiji
2025-05-28much improved support for background processes, avoiding termination (via ↵Olcan
SIGPIPE) or eventual blocking (e.g. due to filled OS buffers) (#586)
2025-05-28Display git commit info in the /about section. (#567)DeWitt Clinton
This change detects the most recent git commit short hash and writes it to the `GIT_COMMIT_INFO` constant in `packages/cli/src/generated/git-commit.sh`, optionally appending the string "(local modifications)" if additional local changes after that commit are detected. If set, this string is displayed in the `/about` dialog as well as passed into the `/bug` template. Example: ``` > /about ╭───────────────────────────────────────────────────────────────────────────╮ │ │ │ About Gemini CLI │ │ │ │ CLI Version development │ │ Git Commit 43370ab (local modifications) │ │ Model gemini-2.5-pro-preview-05-06 │ │ Sandbox sandbox-exec (minimal) │ │ OS darwin v23.11.0 │ │ │ ╰───────────────────────────────────────────────────────────────────────────╯ ``` Additionally, this change updates `.gitignore` to ignore the generated files, `scripts/clean.sh` to remove them, and adds a `npm run generate` stage for this and any other generators we need to write.