Commit Graph

613 Commits

Author SHA1 Message Date
Richie Foreman 71f706cf29
feat(client/compression): Log telemetry when compressing chat context. (#6195) 2025-08-18 19:59:13 +00:00
uttamkanodia14 88fc6e5861
Sends Gemini CLI Client install id to Vertex and Gemini. (#6217) 2025-08-18 07:06:57 +00:00
Richie Foreman 2998f27f70
chore(compiler): Enable strict property access TS compiler flag. (#6255)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-17 16:43:21 +00:00
cornmander ec1fa954d1
Fix several IDE mode integration tests (#6408)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-17 07:55:39 +00:00
Abhi 33b9bdb11e
feat(cli): Introduce arguments for shell execution in custom commands (#5966) 2025-08-17 04:02:54 +00:00
Marat Boshernitsan bc60257e22
feat(oauth): Make oauth client a singleton to survive cache failures (#6348) 2025-08-16 05:05:59 +00:00
Billy Biggs d57cc0b930
Add support for HTTP OpenTelemetry exporters (#6357) 2025-08-16 01:10:21 +00:00
Sunny Sachanandani 4896c7739f
[ide-mode] Fix path delimiter for multi-root workspaces on Windows (#6273)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-15 22:58:31 +00:00
Evan Otero 5246aa11f4
Check for pending tool calls before appending IDE Context (#6317) 2025-08-15 22:04:47 +00:00
Wanlin Du de6c759c28
fix: allow user to use responseSchema as well. (#6336) 2025-08-15 20:59:01 +00:00
Tommaso Sciortino b55f19fdfc
use toMatchSnapshot in test (#6344) 2025-08-15 20:31:00 +00:00
Brian Ray 2c07dc0757
fixes for oauth spec - adds github oauth support. Resource paramater. (#6281) 2025-08-15 19:14:48 +00:00
Tommaso Sciortino 01b8a7565c
Fix shell tool description to be os-specific (#6335) 2025-08-15 19:08:29 +00:00
Gal Zahavi 1a2906a8ad
Revert #6088 (#6328) 2025-08-15 17:27:33 +00:00
joshualitt 8f2fa5a537
feat(core): Migrate MockTools to declarative pattern. (#6197) 2025-08-15 15:44:26 +00:00
LongYinan d2f4e2664e
chore: remove duplicated lockfile (#6291)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-08-15 15:39:58 +00:00
owenofbrien ddbe65e8c3
Add session id to session summary and /bug template (#6313)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-08-15 15:15:54 +00:00
cornmander 41c5195ed3
feat(shell): Include disallowed commands in block reason (#6278)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-15 14:37:49 +00:00
Shreya Keshive db347eeee8
IDE integration Gemini command multi-folder support + bump version (#6265)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-15 00:07:06 +00:00
HugoMurillo 8c0c8d7770
fix(#5340): unable to load chats with weird characters (#5969) 2025-08-14 23:24:57 +00:00
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