Commit graph

1104 commits

Author SHA1 Message Date
김세은
1962b51d8d
fix: ensure positional prompt arguments work with extensions flag (#10077)
Co-authored-by: Allen Hutchison <adh@google.com>
2025-10-08 20:32:05 +00:00
Gal Zahavi
467a305f26
chore(shell): Enable interactive shell by default (#10661) 2025-10-08 20:28:19 +00:00
Abhi
c0552ceb22
feat(core): add telemetry for subagent execution (#10456) 2025-10-08 12:42:33 -07:00
Abhi
8aa730082e
refactor(core): Centralize 'write_todos_list' tool name (#10690) 2025-10-08 16:34:56 +00:00
Zack Birkenbuel
8980276b20
Rationalize different Extension typings (#10435) 2025-10-08 14:31:41 +00:00
Adrian Arribas
8cd2ec7c9b
[Part 4/6] feat(telemetry): add memory monitor with activity-aware recording and tests (#8122)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-10-07 23:23:17 +00:00
Shreya Keshive
c195a9aa3b
fix(core): Use 127.0.0.1 for IDE client connection (#10658) 2025-10-07 20:26:35 +00:00
Victor May
ed0d1a0ba3
Get around the initial empty response from gemini-2.5-flash. (#10508) 2025-10-07 19:05:33 +00:00
Sandy Tao
e705f45c5f
fix(core): retain user message in history on stream failure (#10608) 2025-10-06 23:32:35 +00:00
bl-ue
974ab66b7a
feat(sessions): Add automatic session cleanup and retention policy (#7662) 2025-10-06 19:34:00 +00:00
mistergarrison
d9fdff339a
Re-submission: Make --allowed-tools work in non-interactive mode (#10289)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-10-06 19:15:21 +00:00
owenofbrien
7db79e145e
Stop logging tool call error message to clearcut (#10511) 2025-10-03 21:18:57 +00:00
Gaurav
319f43fa23
fix: handle request retries and model fallback correctly (#9407) 2025-10-03 20:24:50 +00:00
Silvio Junior
ee3e4017c3
Add function processOutput to AgentDefinition and typing for an agent's output (#10447) 2025-10-03 17:21:08 +00:00
Jacob MacDonald
3f79d7e5bb
Fix oauth support for MCP servers (#10427) 2025-10-03 16:23:55 +00:00
Sandy Tao
3b92f127a9
refactor(core): Unify retry logic and remove schema depth check (#10453) 2025-10-03 16:08:27 +00:00
sgnagnarella
43bac6a038
Adding list sub command to memoryCommand to list the path of GEMINI.md files (#10108)
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2025-10-02 21:46:54 +00:00
Vasily Tsybenko
0c6f9d2898
fix: prevent tools discovery error for prompt-only MCP servers (#10367)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2025-10-02 19:47:58 +00:00
Silvio Junior
63efcb6b66
Modify GCLI system prompt to conditionally use the CodebaseInvestigator (#10419) 2025-10-02 19:37:44 +00:00
Abhi
a6af7bbb46
refactor(agents): implement submit_final_output tool for agent completion (#10377) 2025-10-02 18:07:58 +00:00
Jerop Kipruto
eae8b8b1a1
fix(core): use constant for tool_output_truncated event name (#10372) 2025-10-02 16:51:14 +00:00
anthony bushong
aa8b2abe3d
fix(core): add telemetry support for smart edit correction events (#10378)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-02 01:35:45 +00:00
Victor May
8174e1d5b8
Smart Edit Strategy Logging (#10345)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-01 21:53:53 +00:00
Abhi
331ae7dbdf
feat: Add enableSubagents configuration and wire up subagent registration (#9988) 2025-10-01 20:54:00 +00:00
Jerop Kipruto
5b16771567
feat(telemetry): add OpenTelemetry GenAI semantic convention metrics (#10343) 2025-10-01 20:24:55 +00:00
Silvio Junior
7e493f4a9e
Codebase Investigator: Separate initial query from system prompt and apply templateStrings in query and initialMessages (#10282) 2025-10-01 20:21:01 +00:00
Shreya Keshive
f3152fa7fb
chore(release): bump version to 0.9.0-nightly.20251001.163dba7e (#10362) 2025-10-01 20:19:39 +00:00
Christie Warwick (Wilson)
5c6f006634
Refactor metrics definitions to be easily understandable (#10215) 2025-10-01 13:33:47 +00:00
Allen Hutchison
f207ea94d6
fix(memory): ignore @ inside code blocks (#10201) 2025-10-01 01:24:33 +00:00
Abhi
794d92a79d
refactor(agents): Introduce Declarative Agent Framework (#9778) 2025-09-30 21:00:54 +00:00
Gal Zahavi
6695c32aa2
fix(shell): improve shell output presentation and usability (#8837) 2025-09-30 20:44:58 +00:00
Vikram Pasupathy
953935d67c
Fix a cache collision bug in the llm edit fixer (#9542)
Co-authored-by: anthony bushong <agmsb@users.noreply.github.com>
2025-09-30 16:58:32 +00:00
Victor May
ec08129fba
Regex Search/Replace for Smart Edit Tool (#10178) 2025-09-30 16:06:03 +00:00
Dmytro Salnyk
1d24f95a3f
fix(telemetry): Improve Cloud Shell surface type detection for telemetry purposes (#10162) 2025-09-30 10:35:34 +00:00
Adam Weidman
0c3fcb7030
chore(mocktools): final step in unify mock tool definitions (#9166) 2025-09-29 20:43:06 +00:00
Sandy Tao
ac4a79223a
feat(core): Add content-based retries for JSON generation (#9264) 2025-09-29 19:27:15 +00:00
Sandy Tao
8a2c2dc73f
feat(core): Enable tool output truncation by default (#9983) 2025-09-29 16:30:37 +00:00
anthony bushong
1bd75f060d
fix(core): auto-correct file paths in smart edit where possible (x-platform) (#10018) 2025-09-27 23:16:51 +00:00
Sandy Tao
ffcd996366
feat(core): Use lastPromptTokenCount to determine if we need to compress (#10000) 2025-09-27 18:56:10 +00:00
Tommaso Sciortino
93694c6a65
Make compression algo slightly more aggressive (#10024) 2025-09-27 12:15:53 +00:00
Adam Weidman
db51e3f4cd
feat(iap support): Add service account impersonation provider to MCPServers to support IAP on Cloud Run (#8505)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-09-27 08:12:24 +00:00
Gal Zahavi
eb1a6a6091
Revert "fix(core): auto-correct file paths in smart edit where possible" (#10009) 2025-09-27 01:05:48 +00:00
Gal Zahavi
24c15b9d43
Revert "Make --allowed-tools work in non-interactive mode" (#10006) 2025-09-26 16:22:02 -07:00
anthony bushong
0d22b22c82
fix(core): auto-correct file paths in smart edit where possible (#9526) 2025-09-26 20:05:15 +00:00
owenofbrien
e909993dd1
Added warning to avoid command substitution in run_shell_command tool… (#9934)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-26 18:16:05 +00:00
Abhi
3d7cb3fb8a
refactor(core): Extract file filtering constants from Config to break circular dependency (#9974) 2025-09-26 17:37:00 +00:00
mistergarrison
e8a065cb9f
Make --allowed-tools work in non-interactive mode (#9114)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-09-26 17:03:35 +00:00
matt korwel
8a16165a9b
fix(deps): resolve ansi-regex dependency conflict (#9964) 2025-09-26 10:00:54 -07:00
geoffdowns
11c995e9fa
Stop checking MCP tool schemas for type definitions (#9574)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
Co-authored-by: anthony bushong <agmsb@users.noreply.github.com>
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
Co-authored-by: Jacob MacDonald <jakemac@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: christine betts <chrstn@uw.edu>
Co-authored-by: Adam Weidman <65992621+adamfweidman@users.noreply.github.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: Shreya Keshive <skeshive@gmail.com>
Co-authored-by: HugoMurillo <mhugorodrigo@google.com>
Co-authored-by: Shreya Keshive <shreyakeshive@google.com>
Co-authored-by: Miguel Solorio <miguelsolorio@google.com>
Co-authored-by: Christie Warwick (Wilson) <bobcatfish@gmail.com>
Co-authored-by: shrutip90 <shruti.p90@gmail.com>
2025-09-26 04:42:21 +00:00
Gal Zahavi
6535b71c35
fix(prompt): Prevent model from reverting successful changes (#9253) 2025-09-25 20:54:44 +00:00
Sandy Tao
e209724789
fix(core): Improve API error retry logic (#9763) 2025-09-25 17:57:00 +00:00
anthony bushong
4caaa2a8e8
fix(core): ensure retry sets defaults for nullish values passed into options (#9540)
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2025-09-25 17:33:00 +00:00
Adrian Arribas
f80eb71068
[Part 3/6] feat(telemetry): enhance metrics with performance monitoring APIs (#8113) 2025-09-25 16:12:46 +00:00
Shardul Natu
135d3401cd
add(telemetry): Add character-level edit metrics to Concord (#9145)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
2025-09-25 16:09:56 +00:00
matt korwel
fab279f0fd
chore(release): bump version to 0.8.0-nightly.20250925.b1da8c21 (#9753)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-25 14:23:19 +00:00
anthony bushong
275a12fd45
fix(core): set default maxAttempts in baseLLMClient (#9533) 2025-09-25 01:18:26 +00:00
anthony bushong
8abe7e151c
fix(core): plumb max attempts for retry to generate options in baseLLMClient (#9518) 2025-09-24 22:25:15 +00:00
anthony bushong
05c962af1f
fix(core): update edit tool error type during llm judgements (#9510) 2025-09-24 22:19:19 +00:00
jleong-stripe
e0ba7e4ffb
For dynamic client registration - use registration endpoint in config if available instead of performing OAuth discovery again (#9231) 2025-09-24 20:53:42 +00:00
Abhi
22740ddceb
refactor(core): Extract thought parsing logic into a dedicated utility (#9503) 2025-09-24 19:38:36 +00:00
Sandy Tao
ad59be0c81
fix(core): Fix unable to cancel edit tool (#9299) 2025-09-24 19:16:00 +00:00
fuyou
66c2184fe5
feat: Add AbortSignal support for retry logic and tool execution (#9196)
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-09-24 19:10:55 +00:00
geoffdowns
4f49341ce9
relax JSON schema validation (#9332)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2025-09-24 16:55:32 +00:00
Jacob Richman
c6f8ecc227
Fix missing exports that were causing the build to fail locally. (#9277) 2025-09-23 23:52:34 +00:00
Victor May
4bd4cd697b
Log Model Slash Commands (#9250) 2025-09-23 22:06:03 +00:00
Sandy Tao
28c3901513
feat(logging): Add model name to content retry events (#9266) 2025-09-23 21:34:17 +00:00
Abhi
c12b87ed03
fix(routing): Round latency to integer for telemetry (#9242) 2025-09-23 21:29:12 +00:00
shishu314
98461ff667
metrics(extension) - Add logging for disable extension (#9238)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-23 18:37:35 +00:00
Abhi
c93eed6384
fix(core): Compression was broken when routing enabled (#9183) 2025-09-23 04:44:07 +00:00
Sandy Tao
712dc245ac
fix(quality): Retry invalid stream only 1 time (#9169) 2025-09-23 00:15:55 +00:00
Sandy Tao
4cdf9207f3
feat(core): Log invalid stream type (#9168) 2025-09-22 23:39:44 +00:00
Allen Hutchison
6328ca512f
Fix: Only log message bus debug info when feature is enabled (#9156) 2025-09-22 23:08:48 +00:00
Sandy Tao
9c4d1594ac
Fix(quality): Refine Stream Validation Logic (#9150) 2025-09-22 21:40:09 +00:00
Allen Hutchison
bcc4d81d19
feat: add message bus integration for tool confirmation (#8938) 2025-09-22 19:03:20 +00:00
Jerop Kipruto
c0c7ad10ca
feat(config): Support telemetry configuration via environment variables (#9113) 2025-09-22 18:23:06 +00:00
shishu314
10392ad344
Telemtry(extensions) - Add logging for extension events (#8339)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-22 16:55:43 +00:00
Jacob MacDonald
34c14b7dd2
Store installed release version as a part of install metadata (#9122) 2025-09-22 16:42:35 +00:00
Jerop Kipruto
57272f84b1
fix(telemetry): disable OTLP when telemetry-outfile is set (#9117) 2025-09-22 16:40:30 +00:00
shishu314
edd988be60
Fix(metrics) - Add exit hook for cleanup in Optl sdk (#8930)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-22 14:01:52 +00:00
Shreya Keshive
8fdb61aabf
feat(ide): Read IDE info from discovery file (#8760) 2025-09-22 00:54:18 +00:00
Tommaso Sciortino
62b49ab14a
Fix incompatibilities with package.json (#8949) 2025-09-20 18:38:03 +00:00
anj-s
44691a4ce6
(feat): Add a ToDo tool to track ongoing task lists (#8761)
Co-authored-by: joshualitt <joshualitt@google.com>
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
Co-authored-by: Jacob MacDonald <jakemac@google.com>
Co-authored-by: Shreya Keshive <skeshive@gmail.com>
2025-09-20 13:01:02 +00:00
joshualitt
7681c595b5
Revert "feat(third_party) Port get-ripgrep." (#8923) 2025-09-19 18:08:41 +00:00
joshualitt
6e4236bf76
feat(third_party) Port get-ripgrep. (#8514) 2025-09-19 15:13:28 +00:00
matt korwel
509444d059
Improve CI Times by 70% (#8530) 2025-09-18 16:29:40 -07:00
Shardul Natu
bbcc906133
add(mcp): Add MCP Server name to ToolCallEvent OTel logging (#7829)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2025-09-18 22:00:11 +00:00
Jacob MacDonald
22b7d86574
Add support for auto-updating git extensions (#8511) 2025-09-18 21:49:47 +00:00
Allen Hutchison
afba59a953
feat(cli): configure policy engine from existing settings (#8348) 2025-09-18 20:44:23 +00:00
Gal Zahavi
a34e375193
refactor(shell): Send AnsiOutput when ShowColor is false (#8647) 2025-09-18 20:04:46 +00:00
Shreya Keshive
db5b49b2ca
refactor(ide): replace DetectedIde enum with IDE_DEFINITIONS object (#8698) 2025-09-18 19:23:24 +00:00
Sandy Tao
2c754d71e3
fix(ui): Track last prompt token count in processStream (#8650) 2025-09-18 18:46:56 +00:00
shishu314
bcfd50b45b
metrics(extensions) - Add logging methods for extensions operations (#8702)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-18 18:01:36 +00:00
Tommaso Sciortino
853ae56e7e
Improve compression splitpoint logic. (#8691) 2025-09-18 17:59:13 +00:00
gemini-cli[bot]
f8678f9e9d
chore(release): bump version to 0.7.0-nightly.20250918.2722473a (#8667)
Co-authored-by: mkorwel <matt.korwel@gmail.com>
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-18 00:42:21 +00:00
Adrian Arribas
407373dcd6
[Part 2/6] feat(telemetry): add activity detector with user interaction tracking (#8111) 2025-09-17 23:56:00 +00:00
Sarah Price
d54cdd8802
fix(mcp): Display OAuth authentication messages in CLI UI instead of debug console (#6919)
Co-authored-by: Yoichiro Tanaka <yoichiro6642@gmail.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-09-17 22:25:33 +00:00
christine betts
eddd13d70e
Add simple extensions release flow support (#8498) 2025-09-17 22:14:01 +00:00
matt korwel
0cae7caaab
chore(release): bump version to 0.7.0-nightly.20250917.0b10ba2c (#8645)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-17 20:53:53 +00:00
Tommaso Sciortino
0559040c0f
Fix automatic compression bug (#8599) 2025-09-17 20:12:06 +00:00
Tommaso Sciortino
e76dda37ad
Serialize function calls that mutate state (#8513) 2025-09-17 18:45:04 +00:00
Arya Gummadi
678e947f21
fix(tests): improve test reliability and performance (#8395) 2025-09-17 17:12:33 +00:00
MRK
4df8dbaa0d
Fix to issue #736 resulting in GEMINI_CLI_AUTH_TYPE not getting populated most of the time in the start_session events (#8508)
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
Co-authored-by: Arya Gummadi <aryagummadi@google.com>
2025-09-17 06:08:23 +00:00
Abhi
f5dca8b7f7
refactor(core): Remove generateJson from GeminiClient (#8529) 2025-09-17 00:59:13 +00:00
Srinath Padmanabhan
1407327a14
Simplify error messages when user runs into daily quotas. (#8556)
Co-authored-by: Srinath Padmanabhan <srithreepo@google.com>
2025-09-16 22:39:18 +00:00
Shreya Keshive
cf9b6ec1f6
fix(ide): increase IDE open / close tool timeouts (#8587) 2025-09-16 22:38:17 +00:00
Abhi
a0079785af
feat(telemetry): Add telemetry and metrics for model routing (#8518) 2025-09-16 20:53:58 +00:00
Jerop Kipruto
88272cba8b
feat: add direct Google Cloud telemetry exporters (#8541) 2025-09-16 19:13:57 +00:00
Tommaso Sciortino
4e5c1fce8d
Remove unused code. (#8497) 2025-09-16 19:12:45 +00:00
Gal Zahavi
986b9fe7e9
refactor: Replace exec with spawn (#8510) 2025-09-16 19:03:17 +00:00
shishu314
c999b7e354
feat(security) - Encrypted oauth flag (#8101)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-16 14:05:29 +00:00
Abhi
1634d5fcca
refactor(core): Use BaseLlmClient for utility LLM calls in edit corrector (#8443) 2025-09-16 00:46:41 +00:00
Abhi
bee5b638dd
feat(routing): Introduce Classifier-based Model Routing Strategy (#8455) 2025-09-15 23:51:25 +00:00
Shreya Keshive
2cc0c1a808
feat(ide): add auth token support to IdeClient (#8490)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
2025-09-15 23:22:31 +00:00
Sandy Tao
f7ff26ba65
feat(logging): Add clearcut logging for disabling loop detection (#8503) 2025-09-15 21:12:39 +00:00
Hadi Minooei
2e12a67198
update shell info (#8489) 2025-09-15 20:27:19 +00:00
Tommaso Sciortino
7353bda8ff
Remove unused method. (#8486) 2025-09-15 18:17:07 +00:00
shishu314
e28a043f3d
feat(security) - Use hybrid token storage when flag is enabled (#8010)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-15 18:05:17 +00:00
Sandy Tao
97475071e1
fix(tests): Cleans up setup test and fix behavior test (#8391) 2025-09-15 16:36:35 +00:00
Abhi
b5af662477
refactor(core): Move generateEmbedding to BaseLlmClient (#8442) 2025-09-15 15:33:30 +00:00
Abhi
c1de070a5e
refactor(core): Migrate next speaker check to use BaseLlmClient (#8424) 2025-09-15 04:15:18 +00:00
Abhi
12720a9fa7
refactor(core): Use BaseLlmClient for LLM-based loop detection (#8427) 2025-09-14 03:07:33 +00:00
Abhi
f11d79a931
fix(stats): Use request model as fallback for stats logging (#8423) 2025-09-14 01:03:46 +00:00
Hadi Minooei
35aeb3f420
Remove conflicting shell Directory checks (#7845)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-09-13 17:33:12 +00:00
fuyou
73466b626d
Fix dollar sign replacement bug in file editing (#7871)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-09-13 06:05:43 +00:00
Sandy Tao
5a05fb0dd0
fix(core): stop streaming request on loop detection (#8377) 2025-09-12 23:44:24 +00:00
Sandy Tao
b416508ef1
feat(core): Cap shell output truncation threshold to the remaining context window size (#8379) 2025-09-12 22:11:41 +00:00
Sandy Tao
4f91037af4
fix(core): Include the latest user request in countTokens for compression (#8375) 2025-09-12 21:13:16 +00:00
Abhi
c15774ce68
# feat(routing): Introduce useModelRouter feature flag (#8366) 2025-09-12 19:57:07 +00:00
Shreya Keshive
1f9564223b
fix(ide): Correct IDE client temp dir and port matching (#8270) 2025-09-12 17:49:37 +00:00
shishu314
8a5e692373
Metric(extension) - Add logging for uninstalling extension (#8293)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-12 17:38:54 +00:00
Jacob MacDonald
e89012efa8
Make a stateful extensions list component, with update statuses (#8301)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-12 16:20:04 +00:00
Shreya Keshive
8810ef2f40
refactor(ide): Improve IDE diff communication protocol (#8338) 2025-09-12 15:44:24 +00:00
joshualitt
68035591da
feat(core): Enable ripgrep by default. (#7427) 2025-09-11 23:46:07 +00:00
joshualitt
2ccb9839d3
feat(core): Re-download rg binary if it is deleted. (#8126) 2025-09-11 22:18:29 +00:00
Sandy Tao
aba2a9932c
fix(core): Default skipNextSpeakerCheck to true when the setting is not manually set (#8295) 2025-09-11 21:11:06 +00:00
Gal Zahavi
181898cb5d
feat(shell): enable interactive commands with virtual terminal (#6694) 2025-09-11 20:27:27 +00:00
Shreya Keshive
8969a232ec
feat(ide): Check for IDE diffing capabilities before opening diffs (#8266) 2025-09-11 20:17:57 +00:00
Tommaso Sciortino
39af7115d1
Move IdeClient.connect() to initializeApp(). (#8282) 2025-09-11 20:07:57 +00:00
Tommaso Sciortino
d892cde0b0
Refactor IdeContextStore (#8278) 2025-09-11 18:22:20 +00:00
Abhi
538e6cd19a
feat(routing): Initialize model routing architecture (#8153) 2025-09-11 17:38:50 +00:00
shishu314
5504f933e1
fix(metrics) - Remove the error field from ApiResponseEvent (#8207)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-11 17:35:17 +00:00
Allen Hutchison
ba85aa49c7
feat(core): Tool Confirmation Message Bus foundation (PR 1 of 3) (#7835) 2025-09-11 16:39:17 +00:00
Sandy Tao
095351bf39
feat(telemetry): Add content length to tool calls and log tool output truncation event (#8014) 2025-09-11 15:40:46 +00:00
Jerop Kipruto
8f4321b1ca
feat: add telemetry for output format usage (#8223) 2025-09-11 13:42:10 +00:00
Sandy Tao
78744cfbca
feat(ui): Add confirmation dialog for disabling loop detection for current session (#8231) 2025-09-11 05:20:13 +00:00
Tommaso Sciortino
03e3c59bf0
Fix compression issues (#8225) 2025-09-10 23:04:20 +00:00
Jerop Kipruto
514767c88b
Structured JSON Output (#8119) 2025-09-10 20:19:47 +00:00
Gaurav
db99fc70b6
fix: gitignore handling (#8177) 2025-09-10 19:48:07 +00:00
Gaurav
de2903b101
fix: make bfsFileSearch more efficient (#8173) 2025-09-10 18:39:02 +00:00
HugoMurillo
30b13c6357
fix(#7039): broken IDE integration for multi-edit/multi-write flows (#8159) 2025-09-10 18:21:46 +00:00
Tommaso Sciortino
0e3a0d7dc5
Add .geminiignore support to the glob tool. (#8086) 2025-09-10 16:54:50 +00:00
matt korwel
0d03f4ea9d
Release Process vNext (#8152)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-10 08:28:58 +00:00
matt korwel
5032b27011
0.4.0 (#8136) 2025-09-10 00:23:44 +00:00
Richie Foreman
76182dbfbf
fix(ide companion extension): Don't show the installation confirmation message in Firebase Studio (#8097)
Co-authored-by: Roman Nurik <roman@nurik.net>
2025-09-10 00:20:14 +00:00
Shelakh
7d77f0287d
[Part 1/6] feat(telemetry): add rate limiter and high-water mark tracker with tests (#8110) 2025-09-09 22:49:10 +00:00
Shreya Keshive
ae20aee837
feat(ide): Update context filtering to be done CLI-side + update port discovery logic (#8107) 2025-09-09 22:47:14 +00:00
Billy Biggs
de5a31c3b6
Limit recursion when looking for .gitignore files (#8103)
Co-authored-by: cornmander <shikhman@google.com>
2025-09-09 21:45:37 +00:00
Sandy Tao
54744958fa
feat(core): Only summarize long tool output for shell command (#8039) 2025-09-09 20:01:25 +00:00
Shreya Keshive
94187114e9
refactor(ide): extract IDE context types into a separate file (#8037) 2025-09-09 16:16:00 +00:00
christine betts
02f67d3c57
Add clearcut logging for extensions install command (#8057)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-09-09 16:12:56 +00:00
Abhi
1eaf21f6a2
refactor(core): Introduce LlmUtilityService and promptIdContext (#7952) 2025-09-09 05:14:15 +00:00
Tommaso Sciortino
2b05cf3bb4
Allow users to type while waiting for MCP servers (#8021) 2025-09-08 23:37:36 +00:00
joshualitt
f0bbfe5f0a
feat(core): Download ripgrep at runtime, if enabled. (#7818) 2025-09-08 21:44:56 +00:00
Tommaso Sciortino
c8dfab9ec6
Fix maxOutputTokens compression bug. (#8026) 2025-09-08 21:15:28 +00:00
Abhi
f6f2fff724
refactor: Centralize and improve model fallback handling (#7634) 2025-09-08 20:19:52 +00:00
Shreya Keshive
1788f04f5c
fix(ide): fix crash on windows when null command is returned (#8007)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-09-08 14:53:28 +00:00
Tommaso Sciortino
6e26c88c2c
Pull contentGenerator out of GeminiClient and into Config. (#7825) 2025-09-07 20:00:03 +00:00
Shardul Natu
6a9c2859b7
add(logging): Add OTel logging for counting chars (#7903)
Co-authored-by: Shnatu <snatu@google.com>
2025-09-07 17:41:15 +00:00
Sandy Tao
c031f538df
chore(release): v0.3.4 (#7902)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-06 20:53:00 +00:00
Sandy Tao
13d39ef746
Fix(core): Do not retry if last chunk is empty with finishReason previous chunks are good (#7859) 2025-09-06 07:01:21 +00:00
Keith Lyons
885af07ddb
feat(ui): Introduce useUI Hook and UIContext (#5488)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-09-06 05:39:02 +00:00
Sandy Tao
fe15b04f33
chore(release): v0.3.3 (#7854)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-06 04:30:24 +00:00
Gaurav
a027010097
fix: handle vpc-sc violations in LoadCodeAssist method (#7824) 2025-09-06 02:55:33 +00:00
Sandy Tao
968e938949
Fix(core): Fix stream validation logic (#7832) 2025-09-05 23:22:54 +00:00
John Thomas
77f795192e
refactor: Extract path resolution logic into helper function (#6910) 2025-09-05 22:52:10 +00:00
Sandy Tao
dd23c77469
feat(core): Save large tool outputs to a file and return truncated lines (#6240) 2025-09-05 22:37:29 +00:00
DeWitt Clinton
c1b8708ef5
Add hidden property to slash commands (#7797) 2025-09-05 20:38:36 +00:00
Gal Zahavi
0e284457be
Revert "Fix dollar sign replacement bug in file editing (#7703)" (#7823) 2025-09-05 20:34:02 +00:00
christine betts
69da43eb70
Make 'source' a positional argument in extensions install and set flag to true (#7807) 2025-09-05 18:44:41 +00:00
Nick Salerni
a7bfab4d96
fix(token-usage): fix token usage recording for failed API calls (#7667)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-09-05 18:22:51 +00:00
shishu314
918ab3c2ec
feat(security) - Make oauth token storage implement the shared interface (#7802)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-05 16:08:50 +00:00
shishu314
af52b04e6f
Feat(security) - Create a class for Oauth credential (#7745)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-05 14:30:41 +00:00
fuyou
0bc0d23cb3
Fix dollar sign replacement bug in file editing (#7703) 2025-09-05 02:12:57 +00:00
Shreya Keshive
aea6230bcc
fix(process-utils): fix bug that prevented start-up when running process walking command fails (#7757) 2025-09-04 23:10:33 +00:00
Pascal Birchler
c38247ed5c
Reduce bundle size & check it in CI (#7395) 2025-09-04 21:00:27 +00:00
shishu314
35a841f71a
Feat(security) - Make the OAuthTokenStorage non static (#7716)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-04 20:42:47 +00:00
matt korwel
e088c06a9a
chore(release): v0.3.1 (#7742)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-04 12:57:14 -07:00
matt korwel
deda119bea
Takethree (#7740)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
Co-authored-by: christine betts <chrstn@uw.edu>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
Co-authored-by: anthony bushong <agmsb@users.noreply.github.com>
2025-09-04 19:27:51 +00:00
Shardul Natu
2aa25ba87b
add(telemetry): Add OTel logging for FileOperationEvent (#7082)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-04 17:20:46 +00:00
Shardul Natu
cda4280d74
fix(diffstats): Always return diff stats from EditTool (#7489)
Co-authored-by: Shnatu <snatu@google.com>
2025-09-04 17:20:40 +00:00
Tommaso Sciortino
cb43bb9ca4
Use IdeClient directly instead of config.ideClient (#7627) 2025-09-04 16:32:09 +00:00
Jacob MacDonald
45d494a8d8
improve performance of shell commands with lots of output (#7680) 2025-09-04 16:20:24 +00:00
anthony bushong
c31e37b30e
fix(core): tend to history with dangling function calls/responses (#7692) 2025-09-04 07:24:42 +00:00
Shardul Natu
cae4cacd6e
rename(telemetry): Update ai_(added|removed)_lines to model_(added|removed)_lines (#7577)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: Billy Biggs <bbiggs@google.com>
2025-09-04 03:54:52 +00:00
Gal Zahavi
3885f7b6ae
refactor(setting): Improve settings migration and tool loading (#7445)
Co-authored-by: psinha40898 <pyushsinha20@gmail.com>
2025-09-04 02:23:25 +00:00
Victor May
e7a4142b2a
Handle cleaning up the response text in the UI when a response stream retry occurs (#7416) 2025-09-04 02:00:16 +00:00
Silvio Junior
70900799d9
Enable smart edit by default on main (#7679) 2025-09-03 23:04:50 +00:00
Shardul Natu
af522f21fb
feat(telemetry): Add character counts to diff stats (#7619)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: cornmander <shikhman@google.com>
2025-09-03 22:51:20 +00:00
Rahat Ahmed
645133d9dd
Fix diff approval race between CLI and IDE (#7609)
Co-authored-by: Shreya Keshive <skeshive@gmail.com>
2025-09-03 20:53:57 +00:00
Arya Gummadi
876d091602
fix(auth): improve Google OAuth error handling and prevent empty error messages (#7539) 2025-09-03 20:51:29 +00:00
Sandy Tao
4b2c990368
fix(core): Fix more logging issues (#7674) 2025-09-03 20:09:38 +00:00
shrutip90
7c667e100e
Override Gemini CLI trust with VScode workspace trust when in IDE (#7433) 2025-09-03 18:44:26 +00:00
Sandy Tao
5ccf46b5a0
Fix(core): Log exact model version from API response (#7666) 2025-09-03 17:56:51 +00:00
Jacob MacDonald
d2ae869bb4
Simplify MCP server timeout configuration (#7661) 2025-09-03 17:34:32 +00:00
Gaurav
abddd2b6ee
feat: handle nested gitignore files (#7645)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-03 14:23:27 +00:00
owenofbrien
044c3a0e14
Log config.useSmartEdit to Clearcut (#7617) 2025-09-03 09:58:47 +00:00
fuyou
5c2bb990d8
fix(gitIgnore): prevent crash/error when processing malformed file paths in GitIgnoreParser (#7553)
Co-authored-by: Srinath Padmanabhan <17151014+srithreepo@users.noreply.github.com>
2025-09-03 06:19:20 +00:00
bl-ue
b5dd6f9ea6
feat(sessions): Integrate chat recording into GeminiChat (#6721) 2025-09-03 05:29:07 +00:00
Silvio Junior
edb346d4ed
Rename smart_edit to replace to align with the EditTool (#7621) 2025-09-03 00:38:59 +00:00
Jack Wotherspoon
39c35e7d61
chore: improve inclusive-language (#7558) 2025-09-03 00:09:28 +00:00
shishu314
f11322c710
feat(oauth) - Create hybrid storage class (#7610)
Co-authored-by: Shi Shu <shii@google.com>
2025-09-02 23:13:07 +00:00
Tommaso Sciortino
997136ae25
Enable citations by default for certain users. (#7438) 2025-09-02 16:36:24 +00:00
Abhi
5bac855697
refactor(core): Require model for utility calls (#7566) 2025-09-02 00:28:54 +00:00
Gaurav
ee06dd33df
update(deps): genai sdk now handles empty GEMINI_API_KEY correctly (#7377) 2025-09-01 00:55:19 +00:00
Bryan Morgan
17044876f6
Fix duplicate LOC counting due to diff_stat being passed in multiple places (#7483) 2025-08-31 11:41:28 +00:00
Shardul Natu
a167f28ead
fix(diffstats): Fix diff stats to correctly capture the edits (#7446)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: Gaurav <39389231+gsquared94@users.noreply.github.com>
2025-08-30 20:56:10 +00:00
Adam Weidman
45213103f6
chore(dedup): Mock tools refix (#7418) 2025-08-29 20:08:26 +00:00
Silvio Junior
d0c781a549
Smart Edit Tool (#6823) 2025-08-29 19:45:39 +00:00
Noritaka Kobayashi
da22deac17
refactor: remove redundant 'undefined' type or '?' (#2691) 2025-08-29 19:33:12 +00:00
Richie Foreman
5e5f2dffc0
fix(trust): Respect folder trust setting when reading GEMINI.md (#7409) 2025-08-29 18:12:36 +00:00
Manash
3529595e6c
fix(core): Fix permissions for oauth_creds.json (#6662) 2025-08-29 17:35:07 +00:00
chen
ea21f0fa03
refactor(core): reuse computeNewContent in performAddMemoryEntry (#6689)
Co-authored-by: chen893 <chenshuanglong@fuzhi.ai>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-08-29 17:35:00 +00:00
Pyush Sinha
f2bddfe054
fix: add flash lite with respect to api defaults (#4652)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
2025-08-29 16:20:50 +00:00
shrutip90
2a0e69d833
fix(trust): Update config.isTrustedFolder (#7373) 2025-08-29 02:41:33 +00:00
Tayyab3245
9037f25df7
fix(core): treat UTF16/32 BOM files as text and decode correctly (#6081)
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
Co-authored-by: jacob314 <jacob314@gmail.com>
2025-08-29 01:13:46 +00:00
Tommaso Sciortino
71ad272a1b
Show citations at the end of each turn (#7350) 2025-08-28 23:42:54 +00:00
shrutip90
a0fbe000ee
Skip MCP server connections in untrusted folders (#7358) 2025-08-28 22:46:27 +00:00
Pascal Birchler
03bcbcc10d
Add MCP loading indicator when initializing Gemini CLI (#6923) 2025-08-28 19:53:56 +00:00
Richie Foreman
a2faf34df8
fix(logging): Log NodeJS Version && Make Config.SessionID readonly (#7219) 2025-08-28 18:22:39 +00:00
Victor May
c35aebe109
Refine stream validation to prevent unnecessary retries (#7278) 2025-08-28 17:21:27 +00:00
N. Taylor Mullen
4b60cba66b
chore(release): v0.2.2 (#7319) 2025-08-28 09:08:03 -07:00
Davor Racic
92bb34fada
fix(process-utils): replace wmic with powershell for windows process (#7087)
Co-authored-by: Shreya Keshive <skeshive@gmail.com>
Co-authored-by: Arya Gummadi <aryagummadi@google.com>
2025-08-28 14:09:01 +00:00
shishu314
58f6828833
feat(cli) - Create base class for handling tokens stored in files (#7240)
Co-authored-by: Shi Shu <shii@google.com>
2025-08-28 13:54:12 +00:00
Gal Zahavi
5f16541c38
Revert "chore(cleanup): Consolidate MockTool definitions (#7228)" (#7283) 2025-08-28 04:06:50 +00:00
Abhi
bfdddcbd99
feat(commands): Enable @file processing in TOML commands (#6716) 2025-08-28 03:22:21 +00:00
Gal Zahavi
529c2649b8
Revert "Move mockTool into test-utils (#7245)" (#7277) 2025-08-28 03:05:47 +00:00
Shardul Natu
539a49bd24
add(telemetry): Add missing telemetry for UserPromptEvent (#6885)
Co-authored-by: Shnatu <snatu@google.com>
Co-authored-by: Arya Gummadi <aryagummadi@google.com>
2025-08-28 02:17:32 +00:00
Gal Zahavi
f22263c9e8
refactor: refactor settings to a nested structure (#7244) 2025-08-28 01:39:45 +00:00
anthony bushong
5e84006293
fix(e2e): add missing deps to fix sandbox module not found errors in cli/core (#7256) 2025-08-27 22:23:38 +00:00
Richie Foreman
cd2e237c73
fix(compression): Discard compression result if it results in more token usage (#7047) 2025-08-27 21:00:45 +00:00
Adam Weidman
da7901acaf
Move mockTool into test-utils (#7245) 2025-08-27 20:18:15 +00:00
Tommaso Sciortino
19f2a07efa
Fix shell argument parsing in windows (#7160) 2025-08-27 19:14:22 +00:00
Adam Weidman
f0146c8b85
chore(cleanup): Consolidate MockTool definitions (#7228) 2025-08-27 18:18:26 +00:00
shishu314
5cf1c7bf79
feat(cli) - Define base class for token storage (#7221)
Co-authored-by: Shi Shu <shii@google.com>
2025-08-27 17:49:20 +00:00
David East
023053ed92
fix(tests): Fix Firebase Studio to IDE detection tests (#7163) 2025-08-27 17:31:59 +00:00
Bryant Chandler
99a28e6b6a
fix: Enable disableFuzzySearch config option propagation (#7002)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-27 15:27:41 +00:00
uttamkanodia14
c7fc489005
Log Gemini CLI OS / Process platform in the clearcut (#7086) 2025-08-27 07:29:43 +00:00
N. Taylor Mullen
59cdf5933f
chore(release): v0.2.1 (#7200) 2025-08-27 00:04:08 -07:00
Lee James
3e74ff71b7
feat(errors): Make errors more informative (#7133) 2025-08-26 23:22:05 +00:00
shishu314
366483853e
feat(cli) - Define shared interface for storage (#7049)
Co-authored-by: Shi Shu <shii@google.com>
2025-08-26 21:03:11 +00:00