summaryrefslogtreecommitdiff
path: root/packages/core
AgeCommit message (Collapse)Author
2025-06-09rename shell tool more intuitively as run_shell_command (from historical ↵Olcan
name of execute_bash_command inherited from terminal tool) (#869)
2025-06-09Add support for sorting files search by recency threshold followed by ↵anj-s
lexicographic sorting (#867)
2025-06-08fix mcp timeouts and missing description on mcp errors (#868)Olcan
2025-06-08Rollforward AST changes to unblock Sandboxing (#863)matt korwel
2025-06-09feat(core): Add .gitignore support to getFolderStructure (#865)N. Taylor Mullen
2025-06-08feat(git): Refactor gitignore handling to use `ignore` library instead of ↵N. Taylor Mullen
`minimatch` (#864)
2025-06-08Revert "Add batch editing capabilities to Edit Tool (#648)" (#857)N. Taylor Mullen
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-08Add tests for `core/utils/editor` (#851)Eddie Santos
2025-06-08fix(cli): correctly handle tool invocation cancellation (#844)N. Taylor Mullen
2025-06-08feat: Add flow to allow modifying edits during edit tool call (#808)Leo
2025-06-08fix(deps): externalize tree-sitter (#840)matt korwel
Submitting without approval to fix broken deployment on main. But also, we should lock this down.
2025-06-07refactor(core): remove comments from geminiChat.ts (#834)Keith Ballinger
2025-06-07Introduce ContentGeneratorConfig (#826)Tommaso Sciortino
2025-06-07Bryanmorgan/add mcp description support (#825)Bryan Morgan
2025-06-07refactor: rename gemini-code to gemini-cli (#822)cperry-goog
2025-06-07Eliminate createServerConfig() (#821)Tommaso Sciortino
2025-06-07Add embedder (#818)Eddie Santos
2025-06-07Creating Node AST Tool. (#756)matt korwel
2025-06-07Added /mcp command support and cleaned up broken tests (#817)Bryan Morgan
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-05Add support for configured mcp client timeout. (#775)N. Taylor Mullen
2025-06-05Introduce generate content interface (#755)Tommaso Sciortino
2025-06-05OpenTelemetry Integration & Telemetry Control Flag (#762)Jerop Kipruto
2025-06-05Bump default model to `gemini-2.5-pro-preview-06-05` (#765)Eddie Santos
2025-06-05Add support for `.geminiignore` file (#757)Eddie Santos
2025-06-05Checks for diff changes before displaying the code snippet (#751)anj-s
2025-06-05Jacob314/memory fixes (#754)Jacob Richman
Address multiple possible memory leaks found bystatic analysis of the codebase. The primary source of the leaks was event listeners on child processes and global objects that were not being properly removed, potentially causing their closures to be retained in memory indefinitely particularly for processes that did not exit. There are two commits. A larger one made by gemini CLI and a smaller one by me to make sure we always disconnect child processes as part of the cleanup methods. These changes may not actually fix any leaks but do look like reasonable defensive coding to avoid leaking event listeners or child processes. The following files were fixed: This is Gemini's somewhat overconfident description of what it did. packages/core/src/tools/shell.ts: Fixed a leak where an abortSignal listener was not being reliably removed. packages/cli/src/utils/readStdin.ts: Fixed a significant leak where listeners on process.stdin were never removed. packages/cli/src/utils/sandbox.ts: Fixed leaks in the imageExists and pullImage helper functions where listeners on spawned child processes were not being removed. packages/core/src/tools/grep.ts: Fixed three separate leaks in the isCommandAvailable check and the git grep and system grep strategies due to un-removed listeners on child processes. packages/core/src/tools/tool-registry.ts: Corrected a leak in the execute method of the DiscoveredTool class where listeners on the spawned tool process were not being removed.
2025-06-04feat(accessibility): Add option to disable loading phrases (#745)N. Taylor Mullen
2025-06-04refactor(core): Centralize tool response formatting (#743)N. Taylor Mullen
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-03Update configuration.md (#722)Cindy Xing
2025-06-03bandaid for broken mcp calls (#732)Olcan
2025-06-03fixed strip-ansi dep by installing it in core package (also ran npm install ↵Olcan
in cli package that resulted in the minor changes here) (#727)
2025-06-03feat: notify user when chat context is compressed (#724)Brandon Keiji
2025-06-03feat: compress chat history when we approach token limit (#711)Brandon Keiji
2025-06-03Modify shortenPath and add param validation (#663)anj-s
2025-06-03Add params check for writeTool (#708)anj-s
2025-06-03Fix: Ensure MCP tools are discovered from slow-starting servers (#717)N. Taylor Mullen
2025-06-03Refactor: Make MCP server discovery non-blocking (#716)N. Taylor Mullen
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-02upate to PR 669 (#700)Bryan Morgan
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-02React to Gemini API break - Thought Inclusion (#705)N. Taylor Mullen
2025-06-02Refactor: Centralize GeminiClient in Config (#693)Scott Densmore
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-02strip ansi from shell output (#699)Olcan
2025-06-02prefer to load gemini-specific .env file from .gemini folder when it exists ↵Olcan
there (#697)
2025-06-02feat(cli): add pro model availability check and fallback to flash (#608)Allen Hutchison