Commit Graph

518 Commits

Author SHA1 Message Date
Jacob MacDonald e3e7677753
Add integration test for maximum schema depth error handling (#5685) 2025-08-06 20:45:54 +00:00
Jacob MacDonald b3cfaeb6d3
Add detection of tools with bad schemas and automatically omit them with a warning (#5694) 2025-08-06 20:19:15 +00:00
joshualitt 6133bea388
feat(core): Introduce `DeclarativeTool` and `ToolInvocation`. (#5613) 2025-08-06 17:50:02 +00:00
agarwalravikant 882a97aff9
Fix to send user tool confirmation decision for yolo or non interacti… (#5677)
Co-authored-by: Ravikant Agarwal <ravikantag@google.com>
2025-08-06 17:46:42 +00:00
christine betts fde9849d48
[ide-mode] Add support for in-IDE diff handling in the CLI (#5603)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-06 17:36:05 +00:00
Akhil Appana 487818df27
fix: improve error handling and path processing in memory discovery (#5175)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Allen Hutchison <adh@google.com>
2025-08-06 17:19:43 +00:00
Bryant Chandler aab850668c
feat(file-search): Add support for non-recursive file search (#5648)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-06 06:33:27 +00:00
Yash Velagapudi 8b1d5a2e3c
fix(core): Treat .mts files as TypeScript modules instead of video files (#5492)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-06 06:15:53 +00:00
Jacob MacDonald 7e5a5e2da7
Detect and warn about cyclic tool refs when schema depth errors are encountered (#5609)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-06 01:48:00 +00:00
Bryant Chandler 12a9bc3ed9
feat(core, cli): Introduce high-performance FileSearch engine (#5136)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-05 23:18:03 +00:00
Shreya Keshive 268627469b
Refactor IDE client state management, improve user-facing error messages, and add logging of connection events (#5591)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-05 22:52:58 +00:00
Jacob MacDonald 6a72cd064b
check for the prompt capability before listing prompts from MCP servers (#5616)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-08-05 22:50:30 +00:00
sangwook aebe3ace3c
perf(core): implement parallel file processing for 74% performance improvement (#4763)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-08-05 22:47:18 +00:00
Mikhail Aksenov dadf05809c
feat: mcp - support audiences for OAuth2 (#5265) 2025-08-05 22:02:16 +00:00
Ramón Medrano Llamas 29c3825604
fix(mcp): clear prompt registry on refresh to prevent duplicates (#5385)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-08-05 21:59:31 +00:00
Gal Zahavi aacae1de43
fix(core): prevent UI shift after vim edit (#5315) 2025-08-05 21:55:54 +00:00
Luccas Paroni 2778c7d851
feat(core): Parse Multimodal MCP Tool responses (#5529)
Co-authored-by: Luccas Paroni <luccasparoni@google.com>
2025-08-05 19:19:47 +00:00
joshualitt 08f1431946
bug(core): fix `contentRangeTruncated` calculation. (#5329)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-05 18:52:39 +00:00
David East 43d5aaa798
fix(mcp): ensure authorization url is valid when containing query params (#5545)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-05 18:44:30 +00:00
Yuki Okita 5c8268b6f4
feat: Multi-Directory Workspace Support (part 3: configuration in settings.json) (#5354)
Co-authored-by: Allen Hutchison <adh@google.com>
2025-08-05 17:01:01 +00:00
N. Taylor Mullen c7a1de4983
chore(release): v0.1.17 (#5561) 2025-08-04 21:37:32 -07:00
Harold Mciver 99ba2f6424
Update MCP client to connect to servers with only prompts (#5290) 2025-08-04 21:38:23 +00:00
Shreya Keshive dca040908a
ide-mode flag cleanup (#5531) 2025-08-04 21:06:50 +00:00
Shreya Keshive 2180dd13dc
Improve user-facing error messages for IDE mode (#5522) 2025-08-04 21:06:17 +00:00
Jacob MacDonald 5caf23d627
remove unnecessary checks in WriteFileChecks.getDescription (#5526) 2025-08-04 19:12:33 +00:00
Sandy Tao b9fe4fc263
feat(cli): Handle Punctuation in @ Command Parsing (#5482) 2025-08-04 17:49:15 +00:00
owenofbrien 83a04c4755
Cloud Shell surface logging fix (#5364) 2025-08-04 16:48:46 +00:00
Kumbham Ajay Goud a8984a9b30
Fix: Preserve conversation history when changing auth methods via /auth (#5216)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-03 22:03:01 +00:00
N. Taylor Mullen 70478b92a9
chore(release): v0.1.16 (#5478) 2025-08-03 13:38:03 -07:00
TIRUMALASETTI PRANITH 15a1f1af9d
fix(config): Resolve duplicate config loading from home directory (#5090)
Co-authored-by: Allen Hutchison <adh@google.com>
Co-authored-by: Allen Hutchison <allen@hutchison.org>
2025-08-01 22:22:17 +00:00
Allen Hutchison 387706607d
fix(tests): refactor integration tests to be less flaky (#4890)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-01 21:33:33 +00:00
mrcabbage972 dccca91fc9
Switch utility calls to use the gemini-2.5-flash-lite model (#5193)
Co-authored-by: Anjali Sridhar <anjsridhar@gmail.com>
2025-08-01 21:11:51 +00:00
owenofbrien a6a386f72a
Propagate prompt (#5033) 2025-08-01 19:37:56 +00:00
Silvio Junior 7748e56153
[Fix Telemetry for tool calls, PR 1/n] Propagate tool reported errors via ToolCallResponseInfo and ToolResult (#5222) 2025-08-01 15:20:08 +00:00
Brian Ray dc9f17bb4a
New browser launcher for MCP OAuth. (#5261) 2025-08-01 05:47:22 +00:00
Sandy Tao f21ff09389
fix(core): Remove json output schema form the next speaker check prompt (#5325)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-01 01:17:52 +00:00
Tommaso Sciortino a3a432e3cf
Fix bug executing commands in windows whose flags contain spaces (#5317) 2025-08-01 00:27:07 +00:00
Paige Bailey 37a3f1e6b6
Add emacs support, as per user requests. :) (#1633)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: matt korwel <mattkorwel@google.com>
2025-07-31 22:46:04 +00:00
Yuki Okita f9a05401c1
feat: Multi-Directory Workspace Support (part2: add "directory" command) (#5241) 2025-07-31 19:02:08 +00:00
Niladri Das 9a6422f331
fix: CLAUDE.md compatibility for GEMINI.md '@' file import behavior (#2978)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Allen Hutchison <adh@google.com>
2025-07-31 16:36:50 +00:00
joshualitt ae86c7ba05
bug(core): UI reporting for truncated read_file. (#5155)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-31 16:31:14 +00:00
Sandy Tao 23c014e29c
Replace FlashDecidedToContinueEvent with NextSpeakerCheckEvent (#5257) 2025-07-31 04:47:04 +00:00
Gal Zahavi d06e17fbd9
Improve error message for discoverTools function (#4157) 2025-07-31 00:16:21 +00:00
christine betts 325bb89137
Add toggleable IDE mode setting (#5146) 2025-07-30 22:36:24 +00:00
Olcan ac1bb5ee42
confirm save_memory tool, with ability to see diff and edit manually for advanced changes that may override past memories (#5237) 2025-07-30 22:21:31 +00:00
christine betts 7bc8766542
Introduce IDE mode installer (#4877) 2025-07-30 21:26:31 +00:00
Yuki Okita c1fe688956
feat: Multi-Directory Workspace Support (part1: add `--include-directories` option) (#4605)
Co-authored-by: Allen Hutchison <adh@google.com>
2025-07-30 20:38:20 +00:00
Hyunsu Shin bcce1e7b84
perf(core): parallelize bfsFileSearch for 40% faster CLI startup (#5185) 2025-07-30 17:32:03 +00:00
Olcan bc23009f61
do not mention GEMINI.md in system prompt as it is not fixed and can confuse model as it is not mentioned by memory tool and memory file paths are generally not exposed to model (yet) (#5202) 2025-07-30 17:21:15 +00:00
N. Taylor Mullen fd434626c5
chore(release): v0.1.15 (#5163) 2025-07-29 22:03:54 -07:00
Sandy Tao 8985e489a5
Skip and reset loop checking around code blocks (#5144) 2025-07-30 04:05:03 +00:00
Tommaso Sciortino 327f915610
Fix typo in RFC 9728 impl (#5126) 2025-07-29 23:03:39 +00:00
Shreya Keshive 293bb82019
Adds centralized support to log slash commands + sub commands (#5128) 2025-07-29 20:20:37 +00:00
Daniel Lee 7356764a48
feat(commands): add custom commands support for extensions (#4703) 2025-07-29 01:40:47 +00:00
Gal Zahavi 871e0dfab8
feat: Add auto update functionality (#4686) 2025-07-29 00:56:52 +00:00
Shreya Keshive 83c4dddb7e
Only enable IDE integration if gemini-cli is running in the same path as open workspace (#5068) 2025-07-28 20:55:00 +00:00
Seth Troisi 1c1aa047ff
feat: Add tests for checkpoint tag sanitization (#4882) 2025-07-28 20:43:39 +00:00
Abhi b08679c906
Add new fallback state as prefactor for routing (#5065) 2025-07-28 19:55:50 +00:00
N. Taylor Mullen 9aef0a8e6c
Revert "feat: Add /config refresh command" (#5060) 2025-07-28 18:13:46 +00:00
Ramón Medrano Llamas 0170791800
feat: Add /config refresh command (#4993)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-07-28 15:46:43 +00:00
Shreya Keshive e275441651
Updates schema, UX and prompt for IDE context (#5046) 2025-07-28 15:03:22 +00:00
N. Taylor Mullen bd85070411
Revert "Propagate user_prompt_id to GenerateConentRequest for logging" (#5007) 2025-07-27 19:28:20 -07:00
Hiroaki Mitsuyoshi bce6eb5014
feat(chat): Implement /chat delete command (#2401) 2025-07-27 22:18:12 +00:00
Leeroy Ding 9ca48c00a6
fix: yolo mode not respected (#4972) 2025-07-27 21:42:26 +00:00
Abhi 0b5cc96362
(model) - Use Flash Lite For Next Speaker Checks (#4991) 2025-07-27 21:40:55 +00:00
owenofbrien b497791c59
Propagate user_prompt_id to GenerateConentRequest for logging (#4741) 2025-07-27 21:34:39 +00:00
Hyeladi Bassi a9f04eba2c
refactor(telemetry): enhance flushToClearcut method with retry logic and early return for empty events (#1601)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-27 18:18:27 +00:00
Brian Ray c45c14ee0e
Bug: add resource parameter to MCP OAuth Flow (#4981)
Co-authored-by: Your Name <you@example.com>
2025-07-27 18:09:45 +00:00
Abhi 576cebc928
feat: Add Shell Command Execution to Custom Commands (#4917) 2025-07-27 06:00:26 +00:00
Shreya Keshive 771cb229ab
fix: Clean up transport on IDE connection failure (#4902) 2025-07-26 01:57:34 +00:00
Abhi ca5dd28ab6
refactor(core): Centralize shell logic into ShellExecutionService (#4823) 2025-07-26 01:56:49 +00:00
Tommaso Sciortino 17331001a0
Run presubmit tests in windows as well as linux. (#4672)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-25 15:57:30 -07:00
Tommaso Sciortino aa71438684
Fix grep.test to work on windows. (#4889) 2025-07-25 21:32:28 +00:00
Tommaso Sciortino 23e0dc6960
Fix test to be windows compatible. (#4875) 2025-07-25 21:31:10 +00:00
Tommaso Sciortino be898710fe
Make glob.test.ts win compatible. (#4891) 2025-07-25 21:30:39 +00:00
Tommaso Sciortino 4c144e616d
Make fileDiscoveryService.test.ts win compatible (#4892) 2025-07-25 21:30:15 +00:00
Tommaso Sciortino 65aabfede8
Make oauth2 test windows compatible. (#4895) 2025-07-25 21:29:54 +00:00
christine betts eb65034117
Load and use MCP server prompts as slash commands in the CLI (#4828)
Co-authored-by: harold <haroldmciver@google.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-25 20:56:33 +00:00
Sandy Tao d76cedb68f
Implement hashing based loop detection (#4831) 2025-07-25 19:53:19 +00:00
matt korwel 820105e982
Safer Shell command Execution (#4795)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-25 19:25:32 +00:00
Tommaso Sciortino f0e3e6ee8a
Make shell.test.ts windows compatible (#4858) 2025-07-25 19:05:21 +00:00
christine betts 1b8ba5ca6b
[ide-mode] Create an IDE manager class to handle connecting to and exposing methods from the IDE server (#4797) 2025-07-25 17:46:55 +00:00
Tommaso Sciortino f379aa833f
Make errorReporting test windows compatible. (#4856) 2025-07-25 17:32:23 +00:00
Tommaso Sciortino e500eb5562
Fix read-file.test.ts to be windows compatible. (#4864) 2025-07-25 17:31:22 +00:00
Gal Zahavi 6321442865
feat(auth): Enhance non-interactive gcp auth (#4811) 2025-07-25 17:19:38 +00:00
Tommaso Sciortino 5d4b02ca85
Upgrade test to work on windows. (#4815) 2025-07-25 07:15:41 +00:00
Ramón Medrano Llamas 273e74c09d
feat: add /mcp refresh command (#4566) 2025-07-25 01:14:45 +00:00
Seth Troisi e9ee686ab6
Sanitize checkpoint tags (#4813) 2025-07-24 23:05:13 +00:00
anj-s f9930c2d36
Add support for logging the entire request and response object (#4725) 2025-07-24 18:45:53 +00:00
ashwinpvg d254d4ce00
Add Google credentials provider for authenticating with MCP servers (#4748) 2025-07-24 17:37:39 +00:00
Daniel Lee 3dd6e431df
feat: add GEMINI_CLI environment variable to spawned shell commands (#4791) 2025-07-24 17:13:00 +00:00
Sandy Tao 0ef9c0b792
Log prompt id when a loop is detected (#4765)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-24 05:37:28 +00:00
Tommaso Sciortino e21b5c95aa
Fix tests to work in windows (#4754) 2025-07-23 22:07:19 +00:00
Brandon Keiji d7a304bcff
feat(memory): make directory search limit on memory discovery configurable with settings.json (#4460) 2025-07-23 21:48:35 +00:00
smhendrickson 9d3164621a
add `--telemetry-outfile` flag (#4689) 2025-07-23 21:48:24 +00:00
Tommaso Sciortino 4fd7cf9177
Fix memoryDiscovery test to work in windows. (#4742) 2025-07-23 20:14:06 +00:00
Anjali Sridhar 2d1eafae95 Revert "wip"
This reverts commit 1de246236b.
2025-07-23 06:51:40 -07:00
Anjali Sridhar 1de246236b wip 2025-07-23 06:49:27 -07:00
Sandy Tao 7c3a84075d
Log flash continue (#4700) 2025-07-23 01:01:24 +00:00
Sandy Tao 67008d4643
Log when flash model decided to continue (#4698)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-23 00:31:57 +00:00