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
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
Tommaso Sciortino
30c68922a3
Fix windows bugs in atCommandProcessor.ts ( #4684 )
2025-07-23 00:18:57 +00:00
HyeongHo Jun
a00f1bb916
feat(core): add partUtils module with unit tests ( #4575 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-22 23:57:06 +00:00
Oliver Kowalke
5dce1df5db
feat(core): Resolve GEMINI_SYSTEM_MD case-insensitively ( #4538 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-22 17:23:04 +00:00
Brian Ray
258c848909
MCP OAuth Part 2 - MCP Client Integration ( #4318 )
...
Co-authored-by: Greg Shikhman <shikhman@google.com>
2025-07-22 13:34:56 +00:00
Tommaso Sciortino
138ff73821
Fix windows bugs + refactor tests. ( #4634 )
2025-07-22 05:21:37 +00:00
Abhi
9daead63dd
(feat): Initial Version of Custom Commands ( #4572 )
2025-07-22 04:34:55 +00:00
Marat Boshernitsan
5066bc5384
Refactor the logic for deciding whether to launch a browser into config ( #4622 )
2025-07-21 23:23:28 +00:00
BOYI
12765eb775
fix: character encoding issues in shell command processor ( #1949 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-07-21 22:26:40 +00:00
darkcocoa
4c3532d2b3
fix: Add warning message for token limit truncation ( #2260 )
...
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-07-21 21:57:11 +00:00
Josh Soref
dc2ac144b7
Various spelling improvements ( #3497 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-07-21 21:54:44 +00:00
Wen Sun
b4d00ab4fb
feat(edit): Prevent no-op edits ( #3520 )
2025-07-21 21:24:02 +00:00
christine betts
1969d805f2
[ide-mode] Use active files and selected text in user prompt ( #4614 )
2025-07-21 20:52:02 +00:00
Tommaso Sciortino
d7a57d85a3
Simplify streaming code for code assist server ( #4619 )
2025-07-21 20:44:43 +00:00
christine betts
9bdcdf97d8
[ide-mode] Keep track of recently-opened files and send them to the CLI ( #4463 )
2025-07-21 17:54:37 +00:00
sangwook
45b764943a
feat: Make file type detection and binary checks asynchronous ( #3286 ) ( #3288 )
2025-07-20 23:16:42 +00:00
Didier Durand
0f6405e28d
fix typos in diverse files ( #3550 )
...
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
Co-authored-by: Pascal Birchler <pascalb@google.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-20 22:36:34 +00:00
Cole Miller
7a9821607b
Check for zeditor if zed binary is not found ( #3680 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-20 19:35:21 +00:00
Pyush Sinha
a01b1219a3
feat: full implementation for .geminiignore in settings and respective tool calls ( #3727 )
2025-07-20 07:55:33 +00:00
Ali Al Jufairi
76b935d598
Feature custom themes logic ( #2639 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-20 07:51:18 +00:00
osbornesec
c0bfa388c5
fix: prevent RangeError in GitIgnoreParser for root paths ( #3417 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-20 07:12:53 +00:00
N. Taylor Mullen
fe00686c58
chore(release): v0.1.13 ( #4515 )
2025-07-19 13:40:55 -07:00
N. Taylor Mullen
412b78c5ab
Simplify MCP connection errors. ( #4508 )
2025-07-19 12:44:51 -07:00
Yuki Okita
73d5d988f5
feat(core): display declined confirmation code diff ( #4440 )
2025-07-19 17:47:09 +00:00
Tommaso Sciortino
4dbd9f30b6
Revert background agent commits ( #4479 )
2025-07-19 00:28:40 +00:00
Marat Boshernitsan
5b7b6fe608
Automatically detect non-interactive environments and fall back to a manual, code-based authentication flow ( #4475 )
2025-07-19 00:22:50 +00:00
Tommaso Sciortino
003609239f
Add /background commands (when background agent is configured) ( #4407 )
...
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-07-18 22:38:04 +00:00
Tommaso Sciortino
b5f5ea2c31
Use simple name for MCP tools where possible. ( #4459 )
2025-07-18 21:29:09 +00:00
Billy Biggs
18c3bf3a42
Summarize extensions and MCP servers on startup ( #3977 )
2025-07-18 18:45:00 +00:00
Sandy Tao
9dadf22958
Implement loop check with LLM ( #4337 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-18 16:33:46 +00:00
Brian Ray
c5761317f4
MCP OAuth Part 1 - OAuth Infrastructure ( #4316 )
2025-07-18 14:14:23 +00:00
Yongsheng Xu
91c69731c7
feat(auth): Enhance OAuth callback for robust Docker support ( #3532 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-18 01:55:26 +00:00
HyeongHo Jun
f0dc9690b7
Test/add loadcodeassist mock ( #4287 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-17 22:57:54 +00:00
Pascal Birchler
4b8838bea4
fix: remove direct gaxios dependency ( #4289 )
2025-07-17 22:54:19 +00:00
Conrad Irwin
761ffc6338
Zed integration ( #4266 )
...
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: mkorwel <matt.korwel@gmail.com>
2025-07-17 22:25:23 +00:00
warjiang
606a7702de
feat(cli): add explicit proxy option in cli ( #2526 )
...
Co-authored-by: Dcatfly <dcatfly@gmail.com>
2025-07-17 18:57:37 +00:00
uttamkanodia14
fc8c38b2bc
Logging surface field in the start_session_event. Also logging sessio… ( #4362 )
2025-07-17 15:53:59 +00:00
christine betts
cbda781f73
[ide-mode] Add active file to user model request ( #4312 )
2025-07-17 14:35:23 +00:00
Nick Salerni
0d64355be6
bug(ux): update context percentage when /clear command is run ( #4162 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-17 14:14:35 +00:00
Sandy Tao
ac8e98511e
Fix resetting loop counts on every other event ( #4348 )
2025-07-17 05:32:48 +00:00
Shreya Keshive
69a8ae6a89
Minor UX updates for IDE mode ( #4311 )
2025-07-16 21:33:56 +00:00
Wanlin Du
f6ee0d182b
fix: update google/genai to v1.9.0 and switch to parametersJsonSchema for MCP related tools ( #4176 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
2025-07-16 21:32:34 +00:00
christine betts
34c1b5811a
Revert "[ide-mode] Thread active file through to system prompt" ( #4308 )
2025-07-16 16:22:29 +00:00
Sandy Tao
cba272082d
Run model availability check in the background to speed up startup ( #4256 )
2025-07-16 04:13:30 +00:00
christine betts
222e362fc2
[ide-mode] Thread active file through to system prompt ( #4264 )
2025-07-15 22:20:00 +00:00
Sandy Tao
7b49560265
Include api key in header instead of in the URL ( #4240 )
2025-07-15 18:37:14 +00:00
Sambhav Khanna
40c4070846
feat(tool): sort tool list alphabetically for deterministic output ( #3095 )
...
Co-authored-by: Pascal Birchler <pascalb@google.com>
2025-07-15 18:35:35 +00:00
anj-s
d3ee9de3c3
Enable tool summarization only when explicitly set in settings.json ( #4140 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-15 17:22:31 +00:00
Shreya Keshive
b09bc66560
Adds the user's active file in the IDE to the footer ( #4154 )
2025-07-15 14:19:59 +00:00
Tommaso Sciortino
fefa7ecbea
Pure refactor: Consolidate isWithinRoot() function calling. ( #4163 )
2025-07-15 05:55:49 +00:00
Sandy Tao
886faa2990
Log the 2 types of loop detection ( #4193 )
2025-07-15 04:44:07 +00:00
Sandy Tao
734da8b9d2
Introduce loop detection service that breaks simple loop ( #3919 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-15 03:25:16 +00:00
Bryan Morgan
ff3722a3a7
Fix circular reference JSON serialization in telemetry logging ( #4150 )
2025-07-14 20:20:06 +00:00
Tommaso Sciortino
5008aea90d
Refactor MCP code for reuse and testing ( #3880 )
2025-07-14 18:19:33 +00:00
Abhi
9dc812dd4b
fix(checkpoint): Prevent silent failure and enable for non-Git projects ( #4144 )
2025-07-14 17:23:51 +00:00
Tommaso Sciortino
2f1d6234de
Don't start uncompressed history with a function response ( #4141 )
2025-07-14 17:09:11 +00:00
Shreya Keshive
fadc477001
Add feature flag for IDE integration ( #3927 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-14 16:04:08 +00:00
Billy Biggs
bc4182b9d2
Show stderr output from mcp servers in debug mode ( #4049 )
2025-07-14 04:42:22 +00:00
N. Taylor Mullen
8cf7f530e1
chore(release): v0.1.12 ( #4023 )
2025-07-12 23:09:54 -07:00
Sandy Tao
b29c02dd34
Fix not using flash for next speaker check ( #4016 )
2025-07-13 05:12:47 +00:00
N. Taylor Mullen
44ef0408f3
feat(tools): Centralize shell tool summarization ( #4009 )
2025-07-13 04:09:12 +00:00
N. Taylor Mullen
4442e893c3
fix(auth): Remove sharp edges from headless auth ( #3985 )
2025-07-12 15:42:47 -07:00
Yuki Okita
890982a811
fix(core): make the commented-out test workable ( #3885 )
2025-07-12 19:13:22 +00:00
Abhi
642d2e8d51
ensure system instruction also uses <state_snapshot> ( #3951 )
2025-07-12 06:15:56 +00:00
Jacob Richman
82bde57868
Fix issues that resulted in Gemini trying to use relative paths where absolute paths were required ( #3938 )
2025-07-12 00:49:26 +00:00
N. Taylor Mullen
6ebe97c704
chore(release): v0.1.11 ( #3939 )
2025-07-12 00:33:17 +00:00
Daniel Lee
5b6608ad84
feat(cli): add support for --prompt-interactive/-i flag ( #1743 )
2025-07-11 23:52:56 +00:00
uttamkanodia14
5b5f496436
Adds Flash Fallback logging and clearcut logging ( #3843 )
2025-07-11 21:10:25 +00:00
Gaurav
764809753a
fix: TypeError: Cannot read properties of undefined (reading 'authType') ( #3914 )
2025-07-11 21:08:49 +00:00
Seth Troisi
eab47b9131
Add oauth test ( #3916 )
2025-07-11 21:05:27 +00:00
Jack Wotherspoon
2826c7a1c6
feat: add headers support to SSE transport MCP servers ( #3902 )
2025-07-11 19:59:42 +00:00
Gaurav
8f12e8a114
fix: clearcut logging (retry #3744 ) ( #3751 )
2025-07-11 17:57:35 +00:00
uttamkanodia14
93284281de
Logs the auth type in the user prompts, api responses and errors ( #3795 )
2025-07-11 16:47:46 +00:00
anj-s
23197151c2
Summarize tool call outputs using tool specific summarizers ( #3745 )
2025-07-11 16:29:08 +00:00
Bryan Morgan
cdbe2fffd9
Added in proper checks for customer tiers in 429/Quota error messaging ( #3863 )
...
Co-authored-by: Ioannis Papapanagiotou <iduckhd@hotmail.com>
2025-07-11 15:25:30 +00:00
anj-s
c9e1e6d3bd
Add support for specifying maxSessionTurns via the settings configuration ( #3507 )
2025-07-11 14:55:03 +00:00
anj-s
0151a9e1a3
Remove extra logging in debug mode ( #3864 )
2025-07-11 14:43:51 +00:00
Tommaso Sciortino
166f5eaa66
Don't print MCP server logs. It's too noisy. ( #3867 )
2025-07-11 14:42:43 +00:00
trapezoid
daed8b0f90
chore(deps): Pin @google/genai to 1.8.0 ( #3834 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-11 06:58:32 +00:00
Seth Troisi
8a128d8dc6
Add NO_BROWSER environment variable to trigger offline oauth flow ( #3713 )
2025-07-11 01:59:02 +00:00
matt korwel
75a128e7ee
chore(release): v0.1.10 ( #3749 )
...
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com>
Co-authored-by: Aryan Sawant <156219699+aryanjsawant@users.noreply.github.com>
Co-authored-by: neo.alienson <neo@01man.com>
2025-07-10 16:55:22 +00:00
Aryan Sawant
316c0fa37b
Fix Patch for grep.test.ts ( #3747 )
2025-07-10 06:08:58 +00:00
matt korwel
58607b92df
Revert "fix: Use Email for Clearcut Logging and Refactor User Info Fetching" ( #3744 )
2025-07-09 21:51:37 -07:00
Gaurav
b7f8e1360f
fix: Use Email for Clearcut Logging and Refactor User Info Fetching ( #3620 )
2025-07-10 04:17:40 +00:00
uttamkanodia14
063481faa4
Adding TurnId to Tool call and API responses and error logs. ( #3039 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-09 18:49:30 +00:00
N. Taylor Mullen
725b23e37a
Revert "chore(deps): bump google-auth-library from 9.15.1 to 10.1.0 (… ( #3676 )
2025-07-09 18:19:28 +00:00
Bryan Morgan
8a6509ffeb
Remove auto-execution on Flash in the event of a 429/Quota failover ( #3662 )
...
Co-authored-by: Jenna Inouye <jinouye@google.com>
2025-07-09 17:55:56 +00:00
Bryan Morgan
b0cce95286
Improve quota- and resource-related 429 error handling, also taking Code Assist customer tiers into consideration ( #3609 )
2025-07-09 14:18:15 +00:00
dependabot[bot]
95782b7b47
chore(deps): bump google-auth-library from 9.15.1 to 10.1.0 ( #3583 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 06:01:18 +00:00
dependabot[bot]
c5abd7a302
chore(deps): bump dotenv from 16.6.1 to 17.1.0 ( #3589 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 06:01:06 +00:00
dependabot[bot]
698ec8172c
chore(deps): bump gaxios from 6.7.1 to 7.1.1 ( #3592 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 05:39:42 +00:00
Sandy Tao
0506b40a39
Fix bad request in model check ( #3568 )
2025-07-08 22:06:47 +00:00
Billy Biggs
c0940a194e
Add a command line option to enable and list extensions ( #3191 )
2025-07-08 16:57:34 +00:00
Marat Boshernitsan
f1647d9e19
Improve auth env var validation logic and messaging to detect settings that confuse GenAI SDK ( #1381 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-08 16:37:10 +00:00
Tommaso Sciortino
5c759d48c7
Don't enforce leading slash since that's not true on Windows ( #3545 )
2025-07-08 16:30:49 +00:00
Tommaso Sciortino
4dab31f1c8
Improve Function Call argument validation and typing ( #2881 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-08 06:48:44 +00:00
Tommaso Sciortino
0c70a99b56
Preserve recent history when compressing. ( #3049 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-08 06:32:09 +00:00
Marat Boshernitsan
48c2aa296a
Enable Gemini CLI to reuse user's auth in Cloud Shell ( #3070 )
2025-07-07 22:02:13 +00:00
Tommaso Sciortino
357546a2aa
Initialize MCP tools once at start up instead of every time we auth. ( #3483 )
2025-07-07 22:01:59 +00:00
Abhi
aa10ccba71
feature(commands) - Refactor Slash Command + Vision For the Future ( #3175 )
2025-07-07 20:45:44 +00:00
Tommaso Sciortino
2b135d0e9e
Remove unneeded code. ( #3467 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-07 19:35:29 +00:00
Colt McAnlis
8f4046c71a
fix: EditTool can clobber human edits to the same file. ( #3043 )
...
Co-authored-by: Colt McAnlis <colton@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-07 17:28:56 +00:00
Jordan Demeulenaere
355fb4ac67
Add excludeTools and includeTools to mcpServers config ( #2976 )
2025-07-07 16:34:26 +00:00
Gennadiy Civil
aa8e5776eb
Add new test to verify that when an Authorization header is provided ( #3023 )
2025-07-07 16:34:16 +00:00
N. Taylor Mullen
17dfa267d5
Re-enable backticks in shell tool usage. ( #3360 )
2025-07-07 16:15:10 +00:00
Pugazhendhi
524ede52d2
feat: add .svg support ( #3229 )
2025-07-07 05:51:32 +00:00
zfflxx
97d9386e3f
@file don't respect config respectGitIgnore=false ( #3382 ) ( #3387 )
...
Co-authored-by: Ryan Fang <ryan.fang@gllue.com>
2025-07-07 05:48:39 +00:00
Yuki Okita
87a44ec468
feat(core): improve error messages in isCommandAllowed ( #3349 )
2025-07-07 05:03:36 +00:00
N. Taylor Mullen
da9b1baa6e
Update @google/genai -> 1.8.0 ( #3339 )
2025-07-06 01:10:57 +00:00
Adam Weidman
9211905ff1
feat: Handle inline content modification in tool scheduler ( #2883 )
2025-07-05 23:19:41 +00:00
BigUncle
b564d4a088
fix(core): Sanitize tool parameters to fix 400 API errors ( #3300 )
2025-07-05 21:58:51 +00:00
Didier Durand
ab96676e36
fix typos in diverse files ( #3284 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-05 15:23:39 +00:00
matt korwel
47dc16d243
feat: Update minimum Node.js version to 20 ( #3277 )
2025-07-05 14:55:15 +00:00
matt korwel
d43ea268b0
Releasing: Utilizing Github Actions and Tagging for release. ( #2852 )
...
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-04 03:57:01 +00:00
moon jooho
8d3fec08e5
Add and improve JSDoc comments for core tool methods ( #3128 )
2025-07-04 00:13:02 +00:00
Bryan Morgan
654f8aeb61
Fixed Google User Id pass to Clearcut ( #3147 )
2025-07-03 20:54:35 +00:00
SunskyXH
ab63a5f183
fix(client): get model from config in flashFallbackHandler ( #2118 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-03 19:43:48 +00:00
Vachan
cd069fd436
Reduce the threshold for when we compress history. ( #2898 )
2025-07-02 00:18:13 +00:00
Seth Troisi
38445f63f0
make tag required for /chat ( #2904 )
2025-07-02 00:17:08 +00:00
Brandon Keiji
34935d6558
chore: bump version to 0.1.9 ( #2906 )
2025-07-01 23:30:04 +00:00
Bryan Morgan
dbe88f6e0e
Added support for session_id in API calls ( #2886 )
2025-07-01 23:16:09 +00:00
Allen Hutchison
e94decea39
feat(core): Add infinite loop protection to client ( #2793 )
2025-07-01 23:09:21 +00:00
Tommaso Sciortino
82afc75350
Special case mime type for ts file. ( #2902 )
2025-07-01 23:05:33 +00:00
Santhosh Kumar
0275ab0108
feat: add audio and video support to read_file ( #2556 )
2025-07-01 19:22:32 +00:00
MirzaSamadAhmedBaig
01186e3aff
Make clean script cross-platform ( #1990 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-01 15:30:18 +00:00
Tommaso Sciortino
3587054d32
Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE ( #2769 )
2025-07-01 00:11:54 +00:00
Tommaso Sciortino
0ca5c07135
Use structured prompt for compression. ( #2747 )
2025-07-01 00:04:33 +00:00
owenofbrien
f19b9ed4f8
Removed fallback logic for gaia id logging ( #2761 )
2025-06-30 22:51:17 +00:00
Tommaso Sciortino
505a5d617b
Fix CODE_ASSIST_ENDPOINT env var. ( #2712 )
2025-06-30 22:41:14 +00:00
Tommaso Sciortino
5c4c833ddd
Fix oauth credential caching. ( #2709 )
2025-06-30 15:47:01 +00:00
Jerop Kipruto
f3849627fc
feat(shell): Enable prefix matching for flexible command validation ( #2653 )
2025-06-30 15:42:35 +00:00
Abhi
770f862832
feat: Change /stats to include more detailed breakdowns ( #2615 )
2025-06-30 00:44:33 +00:00
Adam Spiers
0fd602eb43
feat: add support to remote MCP servers for custom HTTP headers ( #2477 )
2025-06-30 00:09:08 +00:00
Niladri Das
f848d35758
feat: modular GEMINI.md imports with @file.md syntax ( #1585 ) ( #2230 )
2025-06-29 22:51:47 +00:00
uttamkanodia14
ada4061a45
Fix clearcut-logger.ts to event name GEMINI_CLI_API_RESPONSE_TOOL_TOK… ( #1875 )
2025-06-29 22:14:13 +00:00
Bryan Morgan
cdb803b9a4
Added obfuscated google account ID to clearcut log messages ( #2593 )
2025-06-29 20:35:20 +00:00
Tim Rogers
dbe63e7234
fix: Correct pluralization of the number of occurrences in EditTool tool errors ( #2463 )
2025-06-29 19:53:59 +00:00
Jerop Kipruto
d8d78d73f9
feat: allow command-specific restrictions for ShellTool ( #2605 )
2025-06-29 19:32:26 +00:00
Noritaka Kobayashi
19a0276142
refactor: remove unnecessary "await" ( #2574 )
2025-06-29 19:15:27 +00:00
Noritaka Kobayashi
9ae2595bfd
refactor: remove unnecessary assertion ( #2579 )
2025-06-29 19:06:03 +00:00
yuki yano
c860dac233
feat: add Neovim editor support ( #1448 )
2025-06-29 17:25:22 +00:00
Noritaka Kobayashi
b980a47879
refactor: remove imported multiple times ( #1846 )
2025-06-29 09:09:15 +00:00
anj-s
7b86a2015f
Remove debug logs that are not actionable but numerous ( #2030 )
2025-06-29 02:33:53 +00:00
Leo
5d3a64d747
fix file extension in "modify flow" temp files ( #2478 )
2025-06-28 21:51:03 +00:00
Leo
601d9ba36d
fix edit retrigger ( #2306 )
2025-06-28 18:02:44 +00:00
Pyush Sinha
3518ff7663
feat: add VSCodium editor support ( #2299 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: Allen Hutchison <adh@google.com>
2025-06-28 17:44:31 +00:00
Kalle Ahlström
9665928860
chore: add proper pluralization handling for match in grep tool ( #2344 )
...
Co-authored-by: Allen Hutchison <adh@google.com>
2025-06-28 14:41:25 +00:00
Billy Biggs
25cdf9b762
Inline the description and schema of the shell tool in the source ( #1709 )
2025-06-28 09:53:03 +00:00
Mot
ad7839ea4c
quiet dotenv log message ( #2239 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-28 02:03:20 +00:00
Noritaka Kobayashi
221b066900
chore: fix typo in mcp-client ( #1555 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-28 01:14:59 +00:00
Brandon Keiji
e8d5dec380
chore: bump to 0.1.8 ( #2308 )
2025-06-28 00:08:16 +00:00
Brandon Keiji
19d2a0fb35
fix: add missing gaxios dependency ( #2302 )
2025-06-27 23:24:03 +00:00
Brandon Keiji
8d1d40cc7a
chore: bump to 0.1.6 ( #2285 )
2025-06-27 20:57:07 +00:00
Tommaso Sciortino
a2a46c7c67
Add privacy notice slash command ( #2059 )
2025-06-27 19:07:38 +00:00
Billy Biggs
582b4861a9
Use 2-space indent for saved checkpoint files ( #1152 ) ( #1977 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-06-27 13:39:27 +00:00
Brandon Keiji
bf873a1d85
feat: add prepublishOnly checks ( #2052 )
2025-06-26 23:49:43 +00:00
Brandon Keiji
d9892ada7f
fix: add repository field to package.jsons ( #2032 )
2025-06-26 22:36:34 +00:00
Bryan Morgan
560905154c
Updating the first user message to mention the product name ( #2037 )
2025-06-26 22:32:19 +00:00
anj-s
267173c7e8
Revert "feat: Add model selection logic ( #1678 )" ( #1983 )
2025-06-26 20:59:16 +00:00
Tommaso Sciortino
c55b15f705
Improve LoadCodeAssist error handling ( #1645 )
2025-06-26 15:27:20 +00:00
N. Taylor Mullen
24ccc9c457
feat: Add model selection logic ( #1678 )
2025-06-26 14:51:32 +00:00
Noritaka Kobayashi
dbe217828d
chore: fix typos in comment-out ( #1540 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-26 04:34:53 +00:00
Andrew Drozdov
b8ae12a109
Update geminiChat.ts ( #1681 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-26 04:27:35 +00:00
Brandon Keiji
01ff27709d
chore: bump to 0.1.5 ( #1731 )
2025-06-26 02:48:16 +00:00
Brandon Keiji
a8763abfb7
feat: add release trigger configuration ( #1697 )
2025-06-26 01:54:58 +00:00
Bryan Morgan
bb797ded7d
429 fix ( #1668 )
2025-06-26 01:45:38 +00:00
Tommaso Sciortino
79c647d486
Merge "Login with Google Workspace" auth option into "Login with Google" ( #1574 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-25 22:38:18 +00:00
zhiyue
b0cf9bcece
fix(telemetry): handle all promise rejections in ClearcutLogger ( #1557 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-25 20:14:44 +00:00
Seth Troisi
31f32421a3
Minor style changes to prompt ( #1578 )
2025-06-25 20:00:44 +00:00
Bryan Morgan
eacbb3551c
changed 429 failover from 3 consecutive to 2 for OAuth users ( #1579 )
2025-06-25 19:37:23 +00:00
matt korwel
6991ba1387
Version 0 1 1 ( #1426 )
2025-06-25 13:47:27 +00:00
Brandon Keiji
f6c36f75e3
fix: prepublish changes to package names ( #1420 )
2025-06-25 12:41:11 +00:00
Bryan Morgan
e356949d3f
[JUNE 25] Permanent failover to Flash model for OAuth users after persistent 429 errors ( #1376 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-24 22:48:55 +00:00
anj-s
418f67086b
Add the link to the privacy policy to the Usage Statistics section and remove debug logs ( #1393 )
2025-06-24 22:31:45 +00:00
Bryan Morgan
5099f104bc
[June 25] Fixed user agent string to be standards-compliant ( #1384 )
2025-06-24 09:11:09 -07:00
cornmander
a2ed4266aa
Update editor.ts ( #1371 )
2025-06-24 06:41:40 +00:00
Scott Densmore
324715ee8b
Add Zed Editor to Eidtor List ( #1372 )
2025-06-23 23:32:09 -07:00
Tommaso Sciortino
0abd2a644e
Improve Auth error messaging ( #1358 )
2025-06-24 01:37:41 +00:00
owenofbrien
37034045ae
Fix Clearcut logging wire format ( #1359 )
...
Fix for Clearcut logging wire format based on validation thread with Clearcut / Concord eng
2025-06-23 17:47:37 -07:00
Jerop Kipruto
aca034fdfe
Refactor usage statistics to be a top-level setting ( #1363 )
...
This commit refactors the `usageStatisticsEnabled` setting from a sub-property of the `telemetry` configuration to a top-level setting. This change simplifies the configuration by decoupling usage statistics from the telemetry settings.
The documentation has also been updated to reflect this change.
2025-06-24 00:29:31 +00:00
anj-s
3012684469
Fix duplicate startSession logs and duplicate logging events over the wire ( #1357 )
2025-06-24 00:05:42 +00:00
Jerop Kipruto
b443b5e800
Ensure telemetry events are flushed immediately ( #1344 )
...
The previous implementation used `flushIfNeeded` to batch most telemetry events, but it was not reliably sending them, leading to data loss. Notably, the `startSession` event, which already used `flushToClearcut`, was working correctly, indicating an issue with the batching logic itself.
This change replaces all calls to `flushIfNeeded` with `flushToClearcut` to align all event logging with the working `startSession` implementation and ensure that events are sent immediately. This prioritizes the reliability of data collection over network efficiency.
This is a temporary solution to prevent further data loss. The underlying issue with the batching mechanism in `flushIfNeeded` should be investigated and fixed in the future, at which point this change can be reverted.
2025-06-23 22:05:02 +00:00
Abhi
dc76bcc433
Add error messaging for 429 errors ( #1316 )
2025-06-23 21:30:13 +00:00
Jerop Kipruto
98f3a7066e
refactor: rename disableDataCollection to dataCollectionEnabled ( #1319 )
...
Renames the `disableDataCollection` flag to the more intuitive and positive `dataCollectionEnabled`.
This change improves code clarity by avoiding double negatives and making the purpose of the flag more direct. The logic has been inverted wherever the flag is used to accommodate the new naming convention.
Using a suffix like `"Enabled"` follows a common convention that improves readability.
- A condition like `if (dataCollectionEnabled)` reads like a natural language sentence ("if data collection is enabled"), which reduces cognitive load.
- Distinguishes the boolean flag (representing a state) from potential functions that would perform an action (e.g., `enableDataCollection()` or `disableDataCollection()`), avoiding ambiguity between checking a value and calling a function.
#750
2025-06-23 21:19:40 +00:00
Jerop Kipruto
4d88054d35
Fix batch flush to Clearcut ( #1337 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-23 21:12:58 +00:00
Jacob Richman
3e25c350f2
A couple of these log messages were now showing up every time on app startup ( #1335 )
2025-06-23 11:31:13 -07:00
N. Taylor Mullen
4b7307accb
Remove .gitignore logging from startup. ( #1323 )
2025-06-23 11:12:42 -07:00
owenofbrien
631591ce79
Enable clearcut logging by default ( #1309 )
...
Clearcut logging can now be disabled via disableDataCollection in user settings
2025-06-23 10:18:58 -07:00
Tommaso Sciortino
07880d43d2
Sanitize MCP FunctionDeclarations to workaround Vertex bug ( #1330 )
2025-06-23 09:13:53 -07:00
Billy Biggs
c9bea8e646
Plumb extension context filenames through for /memory refresh ( #1312 )
2025-06-22 16:17:05 -07:00
owenofbrien
4cfab0a893
Clearcut logging - initial implementation ( #1274 )
...
Flag-guarded initial implementation of a clearcut logger to collect telemetry data and send it to Concord for dashboards, etc.
2025-06-22 14:26:48 +00:00
Abhi
c9950b3cb2
feat: Add client-initiated tool call handling ( #1292 )
2025-06-22 01:35:36 -04:00
Louis Jimenez
383212034c
Provide a .gitconfig for shadow repos ( #1294 )
2025-06-22 00:13:03 -04:00
Billy Biggs
0779697da6
Add setting enableRecursiveFileSearch to control @-file completion ( #1290 )
2025-06-22 01:23:35 +00:00
Marlon Gamez
076f81f130
point Code Assist client to prod server ( #1201 )
2025-06-21 22:25:18 +00:00
Tommaso Sciortino
f9b2a33732
Remove packages/cli/README.md ( #1278 )
2025-06-21 16:43:01 +01:00
Brandon Keiji
1d32313a30
fix: remove circular references in core package ( #1271 ) ( #1272 )
2025-06-20 16:21:09 -07:00
N. Taylor Mullen
787c319e87
feat: Update default Gemini Flash model to 2.5 ( #1241 )
2025-06-20 05:54:00 +00:00
Abhi
fbbb6f2611
Bug fix telemetry token count ( #1250 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-20 05:45:29 +00:00
Louis Jimenez
6c67618624
Make checkpoints configurable in settings.json ( #1251 )
2025-06-20 00:39:15 -04:00
Louis Jimenez
ea63a8401e
Move the shell history our of the project .gemini to the home dir ( #1195 )
2025-06-19 23:53:24 -04:00
N. Taylor Mullen
7a419282c8
Tactical client lifetime fix. ( #1247 )
2025-06-19 19:54:36 -07:00
matt korwel
04518b52c0
Auth First Run ( #1207 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-19 16:52:22 -07:00
Tommaso Sciortino
1e5689e054
Set slice=true on tests to supress output. ( #1168 )
2025-06-19 15:27:00 -07:00
Abhi
0125547215
bug: removes raw api response from stdout ( #1224 )
2025-06-19 16:26:31 -04:00
anj-s
8e7fa7e233
Remove verification to prevent file reverts and endless loops ( #1213 )
2025-06-19 10:03:54 -07:00
Tommaso Sciortino
b49d55584e
Use Env Var directly instead of through GoogleAuth() ( #1202 )
2025-06-18 17:24:46 -07:00
Tommaso Sciortino
8bc3b415c9
Refactor in preparation for Reauth ( #1196 )
2025-06-18 16:34:00 -07:00
Allen Hutchison
fbc79c34c9
Fix noise in headless mode on STDOUT ( #1184 )
2025-06-18 11:40:15 -07:00
anj-s
c4c444d378
Cherry pick fix for enabling the agent to verify changes using tests ( #1185 )
2025-06-18 11:00:01 -07:00
Tommaso Sciortino
4662b058e8
CCPA Count Token support ( #1170 )
2025-06-18 10:29:42 -07:00
Brandon Keiji
332512853e
feat: consolidate sandbox configurations into a single object ( #1154 )
2025-06-18 17:01:00 +00:00
Tommaso Sciortino
3453b977b8
Support logging in with Application Default Credentials ( #1157 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-18 09:49:13 -07:00
anj-s
5b2cea8eda
Cherrypick endless loops fix onto release ( #1181 )
2025-06-18 09:27:23 -07:00
Tommaso Sciortino
cd03d96b34
Fix flakey test ( #1178 )
2025-06-18 08:34:22 -07:00
Louis Jimenez
9b34762d97
Move the logs.json to a project specific user home dir ( #1145 )
2025-06-18 09:56:21 -04:00
N. Taylor Mullen
0da4fd9d11
feat: update default gemini model to GA 2.5 pro ( #1173 )
2025-06-17 23:08:04 -07:00
Louis Jimenez
443465a805
Clear out untracked files when restoring a checkpoint ( #1139 )
2025-06-17 22:01:42 -04:00
Jacob MacDonald
e59c872b3d
code review followup for compress command ( #1097 )
...
Followup to https://github.com/google-gemini/gemini-cli/pull/986
2025-06-17 15:44:54 +00:00
Tommaso Sciortino
b3e26de862
Cache credentials in home dir, not working dir ( #1122 )
2025-06-16 19:31:32 -07:00
Tommaso Sciortino
98093e604a
Simplify Error handling in Code Assist onboarding ( #1123 )
2025-06-16 18:30:55 -07:00
Tommaso Sciortino
11f524c125
Propagate abort signal to ccpa generateContent. ( #1106 )
2025-06-16 13:24:42 -07:00
Marlon Gamez
42329e0258
fix: add httpOptions with headers field to CCPA client and set User-Agent header ( #1103 )
2025-06-16 12:03:06 -07:00
Mark McDonald
7e6fb7e874
Added sandbox error hint when MCP servers fail to launch in sandbox mode ( #972 )
2025-06-16 06:37:09 +00:00
Abhi
6af7a5c589
feat: clear should also clear chat history ( #1008 )
2025-06-16 06:33:59 +00:00
Louis Jimenez
dd679a6cdb
Move the shadow git repository to the user's home dir ( #1013 )
2025-06-16 06:30:02 +00:00
N. Taylor Mullen
197704c630
feat(test): Increase test coverage across CLI and Core packages ( #1089 )
2025-06-15 22:41:32 -07:00
Leo
5c8e49a0e3
bug: Fix modify edit ( #1078 )
2025-06-15 18:00:41 -07:00
Jerop Kipruto
714421c2da
Add file operation telemetry ( #1068 )
...
Introduces telemetry for file create, read, and update operations.
This change adds the `gemini_cli.file.operation.count` metric, recorded by the `read-file`, `read-many-files`, and `write-file` tools.
The metric includes the following attributes:
- `operation` (string: `create`, `read`, `update`): The type of file operation.
- `lines` (optional, Int): Number of lines in the file.
- `mimetype` (optional, string): Mimetype of the file.
- `extension` (optional, string): File extension of the file.
Here is a stacked bar chart of file operations by extension (`js`, `ts`, `md`):

Here is a stacked bar chart of file operations by type (`create`, `read`, `update`):

#750
cc @allenhutchison as discussed
2025-06-15 13:24:53 -07:00
Marat Boshernitsan
6d772a30c0
Stabilize prompts snapshot test by properly mocking the SANDBOX env var. ( #1067 )
...
Co-authored-by: Marat Boshernitsan <maratb@google.com>
2025-06-15 11:33:30 -07:00
Asad Memon
123ad20e9b
feat: Show model thoughts while loading ( #992 )
2025-06-15 18:19:05 +00:00
Asad Memon
b3d89a1075
feat: Add token stats in footer ( #909 )
2025-06-15 11:15:53 -07:00
Sijie Wang
7352cb403c
fix(core): Improve shell tool reliability and test portability ( #1036 )
2025-06-15 09:19:19 +00:00
Jerop Kipruto
ab932ffaa5
Telemetry: Improve API response logging with function call details ( #1064 )
2025-06-15 01:48:01 -04:00
Jerop Kipruto
53753f0455
Add telemetry command and refactor telemetry settings ( #1060 )
...
#750
### Telemetry Settings
Refactors telemetry configuration to use a nested `telemetry` object in `settings.json`, for example:
```json
{
"telemetry": {
"enabled": true,
"target": "gcp"
"log-prompts": "true"
},
"sandbox": false
}
```
The above includes
- Centralized telemetry settings under a `telemetry` object in `settings.json`.
- CLI flags for the `gemini` command to override all telemetry sub-settings:
- `--telemetry` / `--no-telemetry`
- `--telemetry-target <local|gcp>`
- `--telemetry-otlp-endpoint <URL>`
- `--telemetry-log-prompts` / `--no-telemetry-log-prompts`
- Updates `packages/cli/src/config/config.ts` and `packages/core/src/config/config.ts` to read from the new settings structure and respect the new CLI flags.
- Modifies `scripts/handle-telemetry.js`, `scripts/local_telemetry.js`, and `scripts/telemetry_utils.js` to align with the new settings structure.
- Updates `docs/core/telemetry.md` to reflect the new settings structure, CLI flags, and order of precedence.
- Renames `logUserPromptsEnabled` to `logPrompts` for brevity.
### `npm run telemetry`
Add a new `npm run telemetry` command that uses `scripts/telemetry.js`, automates the entire process of setting up a local and GCP telemetry pipelines, including configuring the necessary settings in the `.gemini/settings.json` workspace file and installing required binaries (e.g. `otelcol-contrib`).
---
```shell
$ npm run telemetry -- --target=gcp
> gemini-cli@0.1.0 telemetry
> node scripts/telemetry.js --target=gcp
⚙️ Using command-line target: gcp
🚀 Running telemetry script for target: gcp.
✨ Starting Local Telemetry Exporter for Google Cloud ✨
⚙️ Enabled telemetry in workspace settings.
🔧 Set telemetry OTLP endpoint to http://localhost:4317 .
🎯 Set telemetry target to gcp.
✅ Workspace settings updated.
✅ Using Google Cloud Project ID: foo-bar
🔑 Please ensure you are authenticated with Google Cloud:
- Run `gcloud auth application-default login` OR ensure `GOOGLE_APPLICATION_CREDENTIALS` environment variable points to a valid service account key.
- The account needs "Cloud Trace Agent", "Monitoring Metric Writer", and "Logs Writer" roles.
✅ otelcol-contrib already exists at /Users/jerop/github/gemini-cli/.gemini/otel/bin/otelcol-contrib
🧹 Cleaning up old processes and logs...
✅ Deleted old GCP collector log.
📄 Wrote OTEL collector config to /Users/jerop/github/gemini-cli/.gemini/otel/collector-gcp.yaml
🚀 Starting OTEL collector for GCP... Logs: /Users/jerop/github/gemini-cli/.gemini/otel/collector-gcp.log
⏳ Waiting for OTEL collector to start (PID: 17013)...
✅ OTEL collector started successfully on port 4317.
✨ Local OTEL collector for GCP is running.
🚀 To send telemetry, run the Gemini CLI in a separate terminal window.
📄 Collector logs are being written to: /Users/jerop/github/gemini-cli/.gemini/otel/collector-gcp.log
📊 View your telemetry data in Google Cloud Console:
- Logs: https://console.cloud.google.com/logs/query;query=logName%3D%22projects%2Ffoo-bar%2Flogs%2Fgemini_cli%22?project=foo-bar
- Metrics: https://console.cloud.google.com/monitoring/metrics-explorer?project=foo-bar
- Traces: https://console.cloud.google.com/traces/list?project=foo-bar
Press Ctrl+C to exit.
^C
👋 Shutting down...
⚙️ Disabled telemetry in workspace settings.
🔧 Cleared telemetry OTLP endpoint.
🎯 Cleared telemetry target.
✅ Workspace settings updated.
🛑 Stopping otelcol-contrib (PID: 17013)...
✅ otelcol-contrib stopped.
```
2025-06-15 00:47:32 -04:00
Keir Mierle
32dd298351
fix: Push tool calls to absolute paths ( #1055 ) ( #1057 )
...
Make several changes to guide the model to request absolute paths,
reducing frequent accidental relative path tool call failures.
- Switch the parameter name: path --> absolute_path.
- Update the tool definition to strongly require an absolute path.
- Update the system prompt to indicate absolute paths are required.
- Update the system prompt tool use examples to use absolute paths.
Test case:
Open GC in GC: "Locate the primary file calling genai"
- Expected: Model opens files with absolute path, successfully.
- Actual (pre-patch): Failure, attempts to read with relative path.
- Actual (post-patch): Success, attempts to read with absolute path.
2025-06-14 21:16:11 -07:00
Leo
2c6aae863a
Enable "modify" in write tool ( #1044 )
2025-06-14 11:20:04 -07:00
Bryan Morgan
93909a2dd3
Address b/424256913 - fixed error in correctStringEscaping() and improved backslash handling ( #1007 )
2025-06-14 13:39:34 -04:00
Anas H. Sulaiman
4873fce791
centralize file filtering in FileDiscoveryService ( #1039 )
2025-06-14 14:25:34 +00:00
Allen Hutchison
643bdf31d5
feat: Add custom URL support for the /bug command ( #1017 )
2025-06-14 07:00:24 +00:00
Jacob MacDonald
d5c6bb9740
Add /compress command to force a compression of the context ( #986 )
...
Related to https://b.corp.google.com/issues/423605555 - I figured this might be a simpler solution to start with, while still also being useful on its own even if we do implement that.
2025-06-14 04:21:40 +00:00
Marlon Gamez
defb0fac2c
fix: remove quota project override in non-streaming calls to CCPA ( #1032 )
2025-06-14 01:23:12 +00:00
Allen Hutchison
31b28ade01
Improvements to web-fetch tool ( #1030 )
2025-06-13 17:44:14 -07:00
Anas H. Sulaiman
8eb505fbba
initialize FileDiscoveryService once ( #1029 )
2025-06-13 17:25:59 -07:00
Brandon Keiji
209381f06f
fix: add micromatch to package deps ( #1020 )
2025-06-13 22:18:05 +00:00
Anas H. Sulaiman
bb67d31739
reuse GitIgnoreParser for loading .geminiignore ( #1025 )
2025-06-13 17:17:08 -04:00
Tommaso Sciortino
54f0d9d0e5
Fix default extension context filename and update docs ( #1024 )
2025-06-13 13:57:00 -07:00
Shreya Keshive
1fa41af918
Support MCP StreamableHTTPClientTransport ( #1014 )
2025-06-13 16:18:06 -04:00
Anas H. Sulaiman
1cefe21d2a
reuse filtering service in bfsFileSearch ( #1018 )
2025-06-13 14:57:03 -04:00
Anas H. Sulaiman
084b58a50e
reuse filtering service in getFolderStructure ( #1016 )
2025-06-13 14:26:31 -04:00
Jerop Kipruto
1f63f3331f
Revert "Telemetry: Auto-export to GCP if GOOGLE_CLOUD_PROJECT is set" ( #1011 )
2025-06-13 10:27:22 -07:00
Anas H. Sulaiman
9d04e04bc0
remove redundant isGitRepository helper` ( #1012 )
2025-06-13 12:45:07 -04:00
Billy Biggs
2a1ad1f5d9
Update contextFileName to support an optional list of strings ( #1001 )
2025-06-13 09:19:08 -07:00
Anas H. Sulaiman
34e0d9c0b6
cleanup unused allowBuildArtifacts ( #1010 )
2025-06-13 12:00:38 -04:00
Anas H. Sulaiman
c886f08525
cleanup unused customIgnorePatterns ( #1009 )
2025-06-13 11:49:48 -04:00
Shreya Keshive
1fcbdef994
Add web socket protocol support for IDE MCP server ( #987 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-06-13 09:30:44 -04:00
N. Taylor Mullen
7bcc60e996
refactor: Use default centralized Flash & Pro models everywhere ( #994 )
2025-06-13 08:25:42 +00:00
Jerop Kipruto
95e4a60a83
Telemetry: Auto-export to GCP if GOOGLE_CLOUD_PROJECT is set ( #1003 )
...
This change simplifies telemetry setup for users who want to integrate with GCP, as they no longer need to configure a local collector or an explicit endpoint if their project is already set up in the environment.
This change updates the telemetry system to automatically export traces, logs, and metrics to Google Cloud Platform (GCP) if the `GOOGLE_CLOUD_PROJECT` environment variable is set and no explicit `telemetryOtlpEndpoint` is configured by the user.
Key changes:
- The default `telemetryOtlpEndpoint` in `Config` is now an empty string.
- The `initializeTelemetry` SDK logic now prioritizes:
- User-defined `telemetryOtlpEndpoint`.
- `GOOGLE_CLOUD_PROJECT` for direct GCP export.
- Console exporters as a fallback.
- If an invalid `telemetryOtlpEndpoint` is provided, it falls back to console exporters with a warning.
#750
2025-06-13 03:51:41 -04:00
Jerop Kipruto
b20c8389f3
Handle telemetry in non-interactive mode ( #1002 )
...
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-13 03:44:17 -04:00
Marat Boshernitsan
8bb6eca915
Improvements to CLI's ability to perform refactoring. Includes additions to the system prompt and GEMINI.md. ( #955 )
...
Co-authored-by: Marat Boshernitsan <maratb@google.com>
Co-authored-by: DeWitt Clinton <dclinton@gmail.com>
2025-06-12 23:55:41 -07:00
Tommaso Sciortino
28e656f882
Improve some tools to support abortSignal ( #997 )
2025-06-12 19:46:00 -07:00
Marlon Gamez
1c7774e35b
Use allowedTiers from LoadCodeAssist response when calling OnboardUser ( #995 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jerop Kipruto <jerop@google.com>
Co-authored-by: Marat Boshernitsan <maratb@nitsan.org>
Co-authored-by: Marat Boshernitsan <maratb@google.com>
2025-06-13 02:32:13 +00:00
Tommaso Sciortino
431ee839a0
Code Assist cleanup and docs ( #993 )
2025-06-12 18:00:17 -07:00
matt korwel
9a11567f73
Revert "Make glob tool support abortSignal" ( #996 )
2025-06-13 00:53:10 +00:00
Marat Boshernitsan
181abde2ff
Reduce coupling between core and cli packages ( #961 )
...
Co-authored-by: Marat Boshernitsan <maratb@google.com>
2025-06-12 17:17:29 -07:00
Jerop Kipruto
3c3da655b0
Refactor OTEL logging for API calls ( #991 )
...
Refactor OpenTelemetry logging for API requests, responses, and errors. Moved logging responsibility from GeminiClient to GeminiChat for more detailed logging.
#750
2025-06-12 16:36:51 -07:00
Jerop Kipruto
6723c72fa5
telemetry: include user decisions in tool call logs ( #966 )
...
Add the user's decision (accept, reject, modify) to tool call telemetry to better understand user intent. The decision provides crucial context to the `success` metric, as a user can reject a call that would have succeeded or accept one that fails.
Also prettify the arguments json.
Example:

#750
2025-06-12 20:48:10 +00:00
Tommaso Sciortino
f8863f4d00
Make glob tool support abortSignal ( #988 )
2025-06-12 13:27:40 -07:00
Leo
ad2e47dc20
remove enable editor flag ( #984 )
2025-06-12 17:28:20 +00:00
Tommaso Sciortino
47ce39c46f
Convert CCPA requests to proper format ( #981 )
...
CCPA uses a different format than GenAi. This adds conversion code to get it to the right format.
Note that this doesn't work against the current ccpa staging server, The changes it needs are in cl/770266927
2025-06-12 09:33:49 -07:00
DeWitt Clinton
f2ab6d08c4
Improve the performance of filename completion over large repositories. ( #938 )
2025-06-12 07:09:38 -07:00
anj-s
6fc7028031
Revert "Add support for local logging per session ( #936 )" ( #970 )
2025-06-11 21:59:46 -07:00
Jerop Kipruto
89f682f081
Telemetry: Improve clarity of user prompt event ( #967 )
2025-06-11 21:43:00 -04:00
Leo
1ef68e0612
feat: External editor settings ( #882 )
2025-06-11 18:21:54 -07:00
anj-s
2dc79b3bd0
Add support for local logging per session ( #936 )
2025-06-11 15:05:41 -07:00
JingboWang1997-1
6ecdecbdcc
add excludeTools flag to settings.json config ( #957 )
2025-06-11 14:32:23 -07:00
Seth Troisi
122678cc09
clean chat history before /resume ( #949 )
2025-06-11 13:40:44 -07:00
matt korwel
4160d904da
Extensibility: Gemini.md files ( #944 )
2025-06-11 20:34:35 +00:00
Tommaso Sciortino
24c61147b8
Cache oauth credentials ( #927 )
2025-06-11 13:26:41 -07:00
jerop
c0580eaf4b
feat(telemetry): expand cli configuration event
...
Adds the following attributes to the event:
- embedding_model
- api_key_enabled
- code_assist_enabled
- debug_mode
- mcp_servers
This additional data will provide more insight into user configurations.
2025-06-11 16:22:35 -04:00
Louis Jimenez
e0f4f428fc
Restore Checkpoint Feature ( #934 )
2025-06-11 15:33:09 -04:00
jerop
03bc1f3141
feat(telemetry): Update API response in telemetry
...
Adds the text content of the API response to the telemetry event. This provides more context for debugging and analysis without logging the entire, potentially large, response object.
- Adds an optional field to the type.
- Updates to include the field in the logged attributes.
- Modifies the to extract the response text using and pass it to the logger.
- Adds a new test file for the telemetry loggers, including tests for the function to verify the new functionality.
2025-06-11 14:18:16 -04:00
jerop
d96af8bacd
refactor(telemetry): pass config object to telemetry functions
...
This commit refactors the telemetry system to pass a object to various logging and metrics functions. This change centralizes configuration management within the telemetry system, making it more modular and easier to maintain.
The constructor and various tool execution functions have been updated to accept the object, which is then passed down to the telemetry functions. This eliminates the need to pass individual configuration values, such as , through multiple layers of the application.
2025-06-11 13:24:41 -04:00
Allen Hutchison
1d7090b8ac
feat(core): Create BFS file search utility ( #903 )
2025-06-11 09:21:23 -07:00
jerop
7ba2b13870
update token usage with types
2025-06-11 10:38:07 -04:00
Anas Sulaiman
00c4527a1b
unify diff generation before and after an edit
2025-06-11 09:47:11 -04:00
jerop
3f5ac384cc
update from metrics and logs prefix from gemini_code to gemini_cli
2025-06-11 01:28:26 -04:00
jerop
d1e23b7c71
refactor: Centralize session ID generation and propagation
2025-06-11 01:18:40 -04:00
Tommaso Sciortino
95fdc66e7d
Register dependency added in PR:910 ( #925 )
2025-06-10 20:39:29 -07:00
Seth Troisi
fb6e2927f7
Remove unneeded mockRestore()s from tests ( #919 )
2025-06-10 20:32:00 -07:00
Seth Troisi
8e0d5076d6
Add [tag] to /save and /resume ( #916 )
2025-06-10 16:58:39 -07:00
Seth Troisi
36f58a34b4
logConversation
...
loadConversation
/resume
clean up for review
2025-06-10 16:14:42 -07:00
Tommaso Sciortino
d79dafc577
Basic code assist support ( #910 )
2025-06-10 16:00:13 -07:00
jerop
fa27bc832f
feat: enable gzip compression for otlp exporters
2025-06-10 17:30:50 -04:00
Abhi
9c3f34890f
feat: Add UI for /stats slash command ( #883 )
2025-06-10 15:59:52 -04:00
Olcan
e38d2078cc
restricted networking for all sandboxing methods, new seatbelt profiles, updated docs, fixes to sandbox build, debugging through sandbox ( #891 )
2025-06-10 08:58:37 -07:00
Tommaso Sciortino
895c1f132f
GEMINI_SANDBOX=false should disable seatbelt ( #888 )
2025-06-10 06:22:02 -07:00
Bryan Morgan
1e3abf96b5
addressed b/423798481 ( #887 )
2025-06-10 08:47:46 -04:00
Abhi
7f1252d364
feat: Display initial token usage metrics in /stats ( #879 )
2025-06-09 20:25:37 -04:00
Eddie Santos
6484dc9008
Add Windsurf in edit tool to modify changes, if installed ( #853 )
2025-06-09 16:01:06 -07:00
Tommaso Sciortino
5c9e526f0e
Code to support Oauth login ( #881 )
2025-06-09 15:14:06 -07:00
matt korwel
3b943c1582
Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility ( #784 )
2025-06-09 12:19:42 -07:00
Abhi
2182a1cd2c
Bump @google/genai dependency ( #870 )
2025-06-09 14:17:39 -04:00
Tommaso Sciortino
0613062fc8
Simplify user agent handling. ( #828 )
2025-06-09 09:31:27 -07:00
Olcan
87474e52d7
rename shell tool more intuitively as run_shell_command (from historical name of execute_bash_command inherited from terminal tool) ( #869 )
2025-06-09 08:57:30 -07:00
anj-s
c55a1d9012
Add support for sorting files search by recency threshold followed by lexicographic sorting ( #867 )
2025-06-09 08:07:24 -07:00
Olcan
a2fee6bdd3
fix mcp timeouts and missing description on mcp errors ( #868 )
2025-06-08 21:52:11 -07:00
matt korwel
37edbd8c18
Rollforward AST changes to unblock Sandboxing ( #863 )
2025-06-08 19:07:25 -07:00
N. Taylor Mullen
ccdd1df039
feat(core): Add .gitignore support to getFolderStructure ( #865 )
2025-06-09 01:42:38 +00:00
N. Taylor Mullen
72fa01f62d
feat(git): Refactor gitignore handling to use ignore library instead of minimatch ( #864 )
2025-06-08 18:32:19 -07:00
N. Taylor Mullen
d62dad5575
Revert "Add batch editing capabilities to Edit Tool ( #648 )" ( #857 )
2025-06-08 23:20:43 +00:00
Bryan Morgan
152af28a34
Bryanmorgan/add tool source description ( #856 )
2025-06-08 19:07:05 -04:00
N. Taylor Mullen
f2ea78d0e4
fix(tool-scheduler): Correctly pipe cancellation signal to tool calls ( #852 )
2025-06-08 22:42:49 +00:00
Eddie Santos
394312b9c2
Add tests for core/utils/editor ( #851 )
2025-06-08 19:42:42 +00:00
N. Taylor Mullen
241c404573
fix(cli): correctly handle tool invocation cancellation ( #844 )
2025-06-08 11:14:45 -07:00
Leo
9efca40dae
feat: Add flow to allow modifying edits during edit tool call ( #808 )
2025-06-08 10:56:58 -07:00
matt korwel
584286cfd9
fix(deps): externalize tree-sitter ( #840 )
...
Submitting without approval to fix broken deployment on main. But also, we should lock this down.
2025-06-08 02:05:55 -07:00
Keith Ballinger
569c977408
refactor(core): remove comments from geminiChat.ts ( #834 )
2025-06-07 22:20:59 -07:00
Tommaso Sciortino
389907ce65
Introduce ContentGeneratorConfig ( #826 )
2025-06-07 16:17:27 -07:00
Bryan Morgan
e95a6086fc
Bryanmorgan/add mcp description support ( #825 )
2025-06-07 18:30:56 -04:00
cperry-goog
18d6a11c04
refactor: rename gemini-code to gemini-cli ( #822 )
2025-06-07 14:27:22 -07:00
Tommaso Sciortino
d6cf4d5b0b
Eliminate createServerConfig() ( #821 )
2025-06-07 13:49:00 -07:00
Eddie Santos
27fdd1b6e6
Add embedder ( #818 )
2025-06-07 13:38:05 -07:00
matt korwel
f1a4e5d4d3
Creating Node AST Tool. ( #756 )
2025-06-07 12:07:58 -07:00
Bryan Morgan
28ff62e7b1
Added /mcp command support and cleaned up broken tests ( #817 )
2025-06-07 15:06:18 -04:00
Tommaso Sciortino
680f4cdd61
More version simplifiction. ( #810 )
2025-06-07 10:54:23 -07:00
Keith Ballinger
0c86874677
Add batch editing capabilities to Edit Tool ( #648 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-06 22:54:37 -07:00
N. Taylor Mullen
1ffe027d8a
Add support for configured mcp client timeout. ( #775 )
2025-06-05 20:35:00 +00:00
Tommaso Sciortino
e59e18251b
Introduce generate content interface ( #755 )
2025-06-05 13:26:38 -07:00
Jerop Kipruto
2ebf2fbc82
OpenTelemetry Integration & Telemetry Control Flag ( #762 )
2025-06-05 13:04:25 -07:00
Eddie Santos
e02868bb1a
Bump default model to gemini-2.5-pro-preview-06-05 ( #765 )
2025-06-05 11:52:36 -07:00
Eddie Santos
422c763a55
Add support for .geminiignore file ( #757 )
2025-06-05 10:15:27 -07:00
anj-s
78b2a28fb6
Checks for diff changes before displaying the code snippet ( #751 )
2025-06-05 06:48:03 -07:00
Jacob Richman
aa386d135b
Jacob314/memory fixes ( #754 )
...
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-05 06:40:33 -07:00
N. Taylor Mullen
afc30e314f
feat(accessibility): Add option to disable loading phrases ( #745 )
2025-06-04 07:46:57 +00:00
N. Taylor Mullen
d179b3aae4
refactor(core): Centralize tool response formatting ( #743 )
2025-06-04 07:24:25 +00:00
Keith Ballinger
c313762ba0
Ignore folders files ( #651 )
...
# 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 <ntaylormullen@google.com>
2025-06-04 04:40:46 +00:00
Cindy Xing
d85f09ac51
Update configuration.md ( #722 )
2025-06-03 21:33:02 -07:00
Olcan
80a445c7ae
bandaid for broken mcp calls ( #732 )
2025-06-03 14:40:36 -07:00
Olcan
00a9f654a3
fixed strip-ansi dep by installing it in core package (also ran npm install in cli package that resulted in the minor changes here) ( #727 )
2025-06-03 13:37:59 -07:00
Brandon Keiji
546e033081
feat: notify user when chat context is compressed ( #724 )
2025-06-03 19:19:49 +00:00
Brandon Keiji
fa5b616a10
feat: compress chat history when we approach token limit ( #711 )
2025-06-03 18:54:11 +00:00
anj-s
fffa06f0b1
Modify shortenPath and add param validation ( #663 )
2025-06-03 08:59:17 -07:00
anj-s
e9d43b9388
Add params check for writeTool ( #708 )
2025-06-03 07:47:27 -07:00
N. Taylor Mullen
c71d6ddc3b
Fix: Ensure MCP tools are discovered from slow-starting servers ( #717 )
2025-06-03 07:40:51 +00:00
N. Taylor Mullen
5f6f6a95a2
Refactor: Make MCP server discovery non-blocking ( #716 )
2025-06-03 06:37:02 +00:00
N. Taylor Mullen
8ab74ef1bb
Refactor: Use config.getGeminiClient() for GeminiClient instantiation ( #715 )
2025-06-03 05:30:52 +00:00
Brandon Keiji
74801e9004
refactor: maintain 1 GeminiChat per GeminiClient ( #710 )
2025-06-02 19:10:54 -07:00
Bryan Morgan
91fa770196
upate to PR 669 ( #700 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-02 16:59:38 -07:00
N. Taylor Mullen
8563e46ade
React to Gemini API break - Thought Inclusion ( #705 )
2025-06-02 23:32:45 +00:00
Scott Densmore
e428707e07
Refactor: Centralize GeminiClient in Config ( #693 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-02 14:55:51 -07:00
Olcan
1dcf0a4cbd
strip ansi from shell output ( #699 )
2025-06-02 14:50:12 -07:00
Olcan
8365c8f954
prefer to load gemini-specific .env file from .gemini folder when it exists there ( #697 )
2025-06-02 14:16:48 -07:00
Allen Hutchison
7f20425c98
feat(cli): add pro model availability check and fallback to flash ( #608 )
2025-06-02 13:55:54 -07:00
Olcan
59b6267b2f
allow toolDiscoveryCommand to return function declarations with or without a tool wrapper; fully document both toolDiscoveryCommand and toolCallCommand with examples and pointers to API docs ( #696 )
2025-06-02 13:41:49 -07:00
N. Taylor Mullen
58597c29d3
refactor: Update MCP tool discovery to use @google/genai - Also fixes JSON schema issues. ( #682 )
2025-06-02 20:39:25 +00:00
Tolik Malibroda
0795e55f0e
feat: Add --yolo mode that automatically accepts all tools executions ( #695 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-02 22:05:45 +02:00
Olcan
c5869db080
enable async tool discovery by making the registry accessor async; remove call to discoverTools that caused duplicate discovery ( #691 )
2025-06-02 09:56:32 -07:00
N. Taylor Mullen
27ba28ef76
fix: Refine model message consolidation for improved model interaction ( #685 )
2025-06-02 07:28:14 +00:00
N. Taylor Mullen
2828fc6d66
feat: Implement non-interactive mode for CLI ( #675 )
2025-06-01 23:11:37 +00:00
Bryan Morgan
f7a2442fac
Added replace tool ability to replace more than 1 occurrence ( #669 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-01 17:49:48 -04:00
N. Taylor Mullen
f2a8d39f42
refactor: Centralize tool scheduling logic and simplify React hook ( #670 )
2025-06-01 14:16:24 -07:00
Leo
edc12e416d
Update edit tool validation function to override validateToolParams ( #667 )
2025-06-01 11:18:43 -07:00
anj-s
9dae07784b
Fix for validating getDescription in read_file tool call ( #660 )
2025-06-01 00:02:00 -07:00
Bryan Morgan
b1d693786c
Revert "cleanup: removed duplicate check from Config.registerCoreTool()" ( #657 )
...
Didn't notice the casing difference - duh....
2025-05-31 20:52:52 +00:00
Bryan Morgan
b228923446
cleanup: removed duplicate check from Config.registerCoreTool() ( #656 )
2025-05-31 16:50:19 -04:00
Allen Hutchison
53bf778497
feat: allow custom filename for context files ( #654 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-05-31 12:49:28 -07:00
Olcan
0dbd12e295
expose shell process group id to model, along with instructions for how to terminate or signal the group ( #645 )
2025-05-30 23:25:44 -07:00
Tommaso Sciortino
21fba832d1
Rename server->core ( #638 )
2025-05-30 18:25:47 -07:00