Commit Graph

593 Commits

Author SHA1 Message Date
Tommaso Sciortino 1a41ba7daf
Prevent writing outside of the workspace roots (#6178)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-14 22:59:37 +00:00
Lee James f47af1607a
bug(mcp): catch errors reported by GitHub MCP (#6194) 2025-08-14 22:30:05 +00:00
Gal Zahavi 980091cbc2
feat(core): refactor shell execution to use node-pty (#6088) 2025-08-14 20:40:12 +00:00
joshualitt 48af0456c1
feat(core): Migrate web-search, write-file, and discovered-tool. (#6188)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-14 20:28:33 +00:00
christine betts 5c5fc89eb1
[ide-mode] Support multi-folder workspaces (#6177) 2025-08-14 20:12:57 +00:00
christine betts af93a10a92
[ide-mode] Write port to file in ide-server (#5811)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-14 18:09:19 +00:00
christine betts d6403c67ee
[ide-mode] Suggest the extension name in the installation messages (#6182) 2025-08-14 14:57:36 +00:00
owenofbrien dd55a82a28
Log CLI version and git commit hash (v2) (#6176) 2025-08-14 10:12:26 +00:00
matt korwel 3e004048cf
chore(release): v0.1.21 (#6207)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-08-14 06:14:25 +00:00
Sandy Tao c63185dae7
feat(deps): Update @google/genai to 1.13.0 (#6184) 2025-08-14 02:12:11 +00:00
Allen Hutchison 6d01ba65a2
refactor: remove modelCheck feature (#6185) 2025-08-14 00:25:45 +00:00
Richie Foreman d6f74ea2f0
chore(telemetry): Add various surface detection to `determineSurface` for logging. (#6074)
Co-authored-by: christine betts <chrstn@uw.edu>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-13 21:45:53 +00:00
Gaurav f9a1e8eb6f
fix: use server-returned project for gca free tier auth (#6113) 2025-08-13 21:04:58 +00:00
Richie Foreman 2dbd5ecdc8
chore(cli/slashcommands): Add status enum to SlashCommandEvent telemetry (#6166) 2025-08-13 20:37:08 +00:00
Sandy Tao 61047173a8
fix(core): Discard thought signature when switching from Gemini API Key to OAuth (#6090)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-13 20:33:04 +00:00
Richie Foreman a90aeb3d8f
chore(build/compiler): Enable a bunch of strict TS compiler options. (#6138) 2025-08-13 20:17:38 +00:00
Harold Mciver 8fae227e8d
fix: Prevent duplicate or inactive tools/prompts after server refresh (#5850) 2025-08-13 19:31:24 +00:00
joshualitt c0c0e9b7a0
feat(core): Migrate read_many_files, shell, and web_fetch. (#6167) 2025-08-13 19:27:09 +00:00
joshualitt 904f4623b6
feat(core): Continue declarative tool migration. (#6114) 2025-08-13 18:57:37 +00:00
Jacob Richman e4473a9007
Revert "chore(cli/slashcommands): Add status enum to SlashCommandEvent telemetry" (#6161) 2025-08-13 18:13:18 +00:00
shrutip90 38876b738f
Add support for trustedFolders.json config file (#6073) 2025-08-13 18:06:31 +00:00
Adam Weidman b61a63aef4
move errorParsing.ts to core (#6159) 2025-08-13 17:57:11 +00:00
Deepankar Sharma 9c7fb870c1
Add terminal setup command for Shift+Enter and Ctrl+Enter support (#3289)
Co-authored-by: jacob314 <jacob314@gmail.com>
2025-08-13 17:32:54 +00:00
Agus Zubiaga d3fda9dafb
Zed integration schema upgrade (#5536)
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Ben Brandt <benjamin@zed.dev>
2025-08-13 15:58:26 +00:00
Richie Foreman 150103e5dd
chore(cli/slashcommands): Add status enum to SlashCommandEvent telemetry (#6023) 2025-08-13 15:42:38 +00:00
Jerop Kipruto 431a312d4d
Show OpenTelemetry SDK initialization & shutdown in debug mode only (#6096) 2025-08-13 01:38:45 +00:00
Shreya Keshive 3a87712c1a
Launch VS Code IDE Integration (#6063) 2025-08-12 21:08:07 +00:00
christine betts 74fd0841d0
[ide-mode] Update installation logic and nudge (#6068) 2025-08-12 20:08:47 +00:00
Shreya Keshive 4ecfb478b0
chore(release): v0.1.19 (#6069)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-08-12 18:37:49 +00:00
Richie Foreman 7cc6b8c270
chore(usage telemetry): Freshen up Clearcut logging (#6013)
Co-authored-by: christine betts <chrstn@uw.edu>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-12 18:31:59 +00:00
owenofbrien 5d1d40fa2e
Fix: log api response error status codes (#6015)
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com>
2025-08-12 16:51:21 +00:00
Sandy Tao 26fe587b44
skip loop check if it is currently inside a loop (#6022) 2025-08-11 23:45:31 +00:00
Wanlin Du d9fb08c9da
feat: migrate tools to use parametersJsonSchema. (#5330) 2025-08-11 23:12:41 +00:00
Wanlin Du f52d073dfb
chore: migrate from responseSchema to use responseJsonSchema. (#4814) 2025-08-11 23:04:58 +00:00
Shreya Keshive c7fd4c4a96
Start IDE connection after config initialization (#6018) 2025-08-11 22:09:47 +00:00
christine betts 94b6199943
[ide-mode] Update sandbox detection logic to support macos seatbelt (#6005)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-11 21:09:57 +00:00
christine betts c0f5f6a5f6
[ide-mode] Update handling of workspace paths (#6014)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-11 21:06:01 +00:00
christine betts 0e98641b51
Add support for VSCode-like editors (#5699)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-11 21:01:37 +00:00
Shreya Keshive 4656f17524
Reduce noisy IDE integration error message in standalone terminal (#6006) 2025-08-11 19:57:56 +00:00
Tommaso Sciortino 239ba63d28
Make ProjectIdRequiredError error more lenient (#5693) 2025-08-11 18:04:44 +00:00
Jacob Richman 2269f8a1a8
Modify content generated describing the ide context to only include deltas after the initial update (#5880) 2025-08-11 17:15:44 +00:00
cornmander aa5c80dec4
feat(core): add host validation to GoogleCredentialProvider (#5962)
Co-authored-by: Brian Ray <62354532+emeryray2002@users.noreply.github.com>
2025-08-11 16:40:30 +00:00
Shreya Keshive b0b12af2ce
Additional IDE integration polishes (#5985) 2025-08-11 16:27:45 +00:00
Lee James 2548facc79
feat: add "surface" to all logs (#5862) 2025-08-11 15:11:20 +00:00
Hiroaki Mitsuyoshi 6487cc1689
feat(chat): Add overwrite confirmation dialog to `/chat save` (#5686)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-09 06:59:22 +00:00
Brian de Alwis 191cc01bf5
fix(core): restrict oauth_creds.json file permissions (#5245)
Co-authored-by: cornmander <shikhman@google.com>
2025-08-09 03:05:30 +00:00
N. Taylor Mullen c184ec3224
chore(release): v0.1.18 (#5864) 2025-08-08 17:26:43 -07:00
Jacob MacDonald f35921a771
Add MCP Roots support (#5856)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-08 23:29:06 +00:00
Jacob MacDonald 69322e12e4
Add a request queue to the tool scheduler (#5845) 2025-08-08 21:50:35 +00:00
Shreya Keshive 9ac62565a0
Fix excessive console logging + remove unnecessary try catch (#5860) 2025-08-08 21:48:02 +00:00
shishu314 60bde58f29
fix(cli) - Adding logging for response and error in LoggingContentGenerator (#5842)
Co-authored-by: Shi Shu <shii@google.com>
2025-08-08 19:58:33 +00:00
christine betts 3af4913ef3
[ide-mode] Close all open diffs when the CLI gets closed (#5792) 2025-08-08 15:38:30 +00:00
christine betts 5ec4ea9b4d
[ide-mode] Wire up env variables to sandbox (#5804) 2025-08-08 15:35:47 +00:00
Gal Zahavi 51d09e720b
fix(core): Add missing mnemonist dependency (#5841) 2025-08-08 15:10:04 +00:00
Akhil Appana f5e0f16157
fix: properly report tool errors in telemetry (#5688)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-08 11:33:42 +00:00
agarwalravikant 5ab184fcaf
Fix for git issue 5657 to add lines of code added/removed telemetry (#5823)
Co-authored-by: Ravikant Agarwal <ravikantag@google.com>
2025-08-08 04:38:07 +00:00
Gal Zahavi 86eaa03f8a
feat(telemetry): Prevent memory leak in ClearcutLogger (#5734) 2025-08-08 01:53:39 +00:00
Sandy Tao e8815ba43c
feat(quality): Reset when seeing a new type of Markdown element (#5820) 2025-08-08 00:21:42 +00:00
shishu314 bae922a632
fix(cli) - Move logging into CodeAssistServer (#5781)
Co-authored-by: Shi Shu <shii@google.com>
2025-08-07 23:58:18 +00:00
Richie Foreman 9bc0a4aff3
chore(telemetry): Log `FIREBASE_STUDIO` when using Gemini CLI within Firebase Studio (#5790) 2025-08-07 22:50:48 +00:00
Allen Hutchison 0c32a4061d
fix(core): Replace flaky performance tests with robust correctness tests (#5795)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-07 22:38:21 +00:00
Bryant Chandler 9fc7115b86
perf(filesearch): Use async fzf for non-blocking file search (#5771)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-07 22:24:55 +00:00
Shreya Keshive 4d4eacfc40
Few IDE integration polishes (#5727) 2025-08-07 21:19:31 +00:00
Jacob MacDonald 19491b7b94
avoid loading and initializing CLI config twice in non-interactive mode (#5793) 2025-08-07 21:19:06 +00:00
shrutip90 53f8617b24
Add new folderTrust setting that the users can enable or disable (#5798) 2025-08-07 21:06:17 +00:00
Adam Weidman 3a3b138195
Include Schema Error Handling for Vertex and Google Auth methods (#5780)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-07 20:21:39 +00:00
joshualitt 8bac9e7d04
Migrate EditTool, GrepTool, and GlobTool to DeclarativeTool (#5744) 2025-08-07 17:05:37 +00:00
Sandy Tao 0d65baf928
Fix(core): Use Flash for next speaker check (#5786) 2025-08-07 16:18:53 +00:00
Jacob MacDonald 6ae75c9f32
Add a context percentage threshold setting for auto compression (#5721) 2025-08-07 14:34:40 +00:00
Abhi 36750ca49b
feat(agent): Introduce Foundational Subagent Architecture (#1805)
Co-authored-by: Colt McAnlis <colton@google.com>
2025-08-07 00:34:38 +00:00
DevMassive 9ac3e8b79e
feat: Improve @-command file path completion with fzf integration (#5650)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-06 23:41:04 +00:00
Richie Foreman 4782113ceb
fix(core): Improve errors in situations where the command spawn does … (#5723) 2025-08-06 23:31:42 +00:00
shrutip90 626844b539
experiment: Add feature exp flag for folder trust (#5709) 2025-08-06 22:27:21 +00:00
christine betts b55467c1dd
[ide-mode] Support rendering in-IDE diffs using the edit tool (#5618)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-06 20:55:29 +00:00
joshualitt 43510ed212
bug(core): Prompt engineering for truncated read_file. (#5161) 2025-08-06 20:52:04 +00:00
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