Commit Graph

447 Commits

Author SHA1 Message Date
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