summaryrefslogtreecommitdiff
path: root/packages/cli/src/gemini.tsx
AgeCommit message (Collapse)Author
2025-06-25fix: prepublish changes to package names (#1420)Brandon Keiji
2025-06-24Jacob314/max old space (#1314)Jacob Richman
2025-06-22Clearcut logging - initial implementation (#1274)owenofbrien
Flag-guarded initial implementation of a clearcut logger to collect telemetry data and send it to Concord for dashboards, etc.
2025-06-20fallback to gemini_api_key (#1255)matt korwel
2025-06-20Turn off debug logging of MaxSizedBox errors by default. (#1228)Jacob Richman
2025-06-20Make checkpoints configurable in settings.json (#1251)Louis Jimenez
2025-06-19Auth First Run (#1207)matt korwel
Co-authored-by: Tommaso Sciortino <[email protected]> Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-19Initialize geminiClient in noninteractive mode (#1222)Tommaso Sciortino
2025-06-18Refactor in preparation for Reauth (#1196)Tommaso Sciortino
2025-06-18Fix noise in headless mode on STDOUT (#1184)Allen Hutchison
2025-06-18feat: consolidate sandbox configurations into a single object (#1154)Brandon Keiji
2025-06-15refactor(cli): Use excludeTools for non-interactive mode (#1072)N. Taylor Mullen
2025-06-14centralize file filtering in `FileDiscoveryService` (#1039)Anas H. Sulaiman
2025-06-13reuse `GitIgnoreParser` for loading `.geminiignore` (#1025)Anas H. Sulaiman
2025-06-13Fix default extension context filename and update docs (#1024)Tommaso Sciortino
2025-06-13Handle telemetry in non-interactive mode (#1002)Jerop Kipruto
Changes: - Ensure proper shutdown in non-interactive mode - Ensures the initial user prompt is logged in non-interactive mode - Improve telemetry for streaming - handle chunks and input token count is now alongside other token counts in response To test: - Follow instructions in https://github.com/google-gemini/gemini-cli/blob/main/docs/core/telemetry.md#google-cloud - Run CLI in non-interactive mode and observe logs/metrics in GCP Logs Explorer and Metrics Explorer #750
2025-06-11Cache oauth credentials (#927)Tommaso Sciortino
2025-06-11Restore Checkpoint Feature (#934)Louis Jimenez
2025-06-11refactor: Centralize session ID generation and propagationjerop
2025-06-10Remove warnings for old env var names. (#920)Tommaso Sciortino
2025-06-10Allow simple extensions for registering MCPservers (#890)Tommaso Sciortino
2025-06-10Add a window title when CLI is launched (#787)Mark McDonald
2025-06-08Revert "Add batch editing capabilities to Edit Tool (#648)" (#857)N. Taylor Mullen
2025-06-08feat: Introduce session context and add session duration stat for `/stats` ↵Abhi
command (#854)
2025-06-07refactor: rename gemini-code to gemini-cli (#822)cperry-goog
2025-06-07Push model-switching logging into loadCliConfig (#815)Tommaso Sciortino
2025-06-07More version simplifiction. (#810)Tommaso Sciortino
2025-06-06Add batch editing capabilities to Edit Tool (#648)Keith Ballinger
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-06clean up version lookup code (#804)Tommaso Sciortino
2025-06-06Exit with an error message if parsing settings.json fails. (#747)Jacob Richman
2025-06-05Add support for `.geminiignore` file (#757)Eddie Santos
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-02Remove redundant variable. (#713)N. Taylor Mullen
2025-06-02Feat: Enable YOLO mode for non-interactive execution (#702)N. Taylor Mullen
2025-06-02feat(cli): add pro model availability check and fallback to flash (#608)Allen Hutchison
2025-06-01feat: Implement non-interactive mode for CLI (#675)N. Taylor Mullen
2025-05-30feat: Implement delayed Ctrl+C exit promptDaniel Young Lee
This change introduces a small delay after the first Ctrl+C press, prompting the user to press Ctrl+C again to exit. This helps prevent accidental termination of the application. - Added `exitOnCtrlC={false}` to the Ink render options in `gemini.tsx` to enable custom Ctrl+C handling. - Implemented logic in `App.tsx` to: - Display "Press Ctrl+C again to exit." for 2 seconds after the first Ctrl+C. - Exit the application if Ctrl+C is pressed again during this period. - Revert to normal operation if the second Ctrl+C is not pressed within the timeout. - Defined a constant `CTRL_C_PROMPT_DURATION_MS` for the timeout duration.
2025-05-30Rename server->core (#638)Tommaso Sciortino
2025-05-27feat: Allow cancellation of in-progress Gemini requests and pre-execution checksTaylor Mullen
- Implements cancellation for Gemini requests while they are actively being processed by the model. - Extends cancellation support to the logic within tools. This allows users to cancel operations during the phase where the system is determining if a tool execution requires user confirmation, which can include potentially long-running pre-flight checks or LLM-based corrections. - Underlying LLM calls for edit corrections (within and ) and next speaker checks can now also be cancelled. - Previously, cancellation of the main request was not possible until text started streaming, and pre-execution checks were not cancellable. - This change leverages the updated SDK's ability to accept an abort token and threads s throughout the request, tool execution, and pre-execution check lifecycle. Fixes https://github.com/google-gemini/gemini-cli/issues/531
2025-05-27refactor: use React strict mode (#569)Brandon Keiji