Commit Graph

1196 Commits

Author SHA1 Message Date
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
Jacob Richman ad2ef080aa
Fix so legacy custom themes still load. (#4757)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-26 00:36:42 +00:00
Jacob Richman b089845f1c
fix(ui): remove extraneous whitespace from startup screen (#3990) 2025-07-26 00:36:19 +00:00
Jacob Richman 21fef1620d
Handle unhandled rejections more gracefully. (#4417)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2025-07-26 00:35:26 +00:00
Jacob Richman fb751c542b
Regression test for paste when the terminal lacks focus. (#4898) 2025-07-25 23:29:15 +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
Sijie Wang fbdc8d5ab3
Vim mode (#3936) 2025-07-25 22:36:42 +00: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
Jacob Richman de96887789
Fix bugs breaking drag and drop of files. (#4887)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-25 20:26:13 +00:00
Abhi 13b0971291
fix(ci): Fix failing release workflow by creating a self-contained bundle (#4888)
Co-authored-by: Jerop Kipruto <jerop@google.com>
2025-07-25 20:18:59 +00:00
Sandy Tao d76cedb68f
Implement hashing based loop detection (#4831) 2025-07-25 19:53:19 +00:00
Tommaso Sciortino 91f016d44a
Make restoreCommand test windows compatible. (#4873) 2025-07-25 19:26:09 +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 7ddbf97634
Fix userStartupWarnings to be windows compatible. (#4868) 2025-07-25 19:05:29 +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 3c16429fc4
Make useCompletion.test.ts windows compatible (#4766) 2025-07-25 17:32:59 +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
Allen Hutchison fb0db2dfd6
adh/bugfix/1563 (#4822) 2025-07-25 16:39:37 +00:00
christine betts 1d3ad9d075
Add drawer for active files in IDE mode (#4682)
Co-authored-by: Shreya <shreyakeshive@google.com>
2025-07-25 14:50:34 +00:00
Tommaso Sciortino 5d4b02ca85
Upgrade test to work on windows. (#4815) 2025-07-25 07:15:41 +00:00
Sandy Tao 1d7eb0d250
[Refactor] Centralizes autocompletion logic within useCompletion (#4740) 2025-07-25 04:41:35 +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
Shreya Keshive 30b6cf8a00
Add "Gemini CLI: Run" command shortcut (#4792) 2025-07-24 19:55:39 +00:00
christine betts 4e376c0447
[ide-mode] Send the cursor and selected text from the IDE server (#4621) 2025-07-24 19:54:41 +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
Shreya Keshive 6380bfe35c
Minor refactoring of VS Code companion extension code (#4761) 2025-07-24 05:32:55 +00:00
Thomas Burnham b1e0fb157b
feat(cli): display timestamp in /chat list (#4733)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-24 04:48:52 +00:00
Shreya Keshive 107ce8afa3
Polish companion extension README and package.json file ahead of publishing (#4729) 2025-07-24 00:08:25 +00:00
Tommaso Sciortino e9e2f55144
Fix InputPrompt.test.tsx to be windows compatible (#4736) 2025-07-23 22:49:09 +00:00
Miguel Solorio 2e28bb90a0
Update diff colors (#4747)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-23 22:39:22 +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 209c8783b4
Make ideCommand test windows compatible. (#4746) 2025-07-23 21:01:51 +00:00
Tommaso Sciortino 4fd7cf9177
Fix memoryDiscovery test to work in windows. (#4742) 2025-07-23 20:14:06 +00:00
Abhi bbe95f1eaa
feat(commands): Implement argument handling for custom commands via a prompt pipeline (#4702) 2025-07-23 20:11:23 +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
Jerop Kipruto e306b34a6e
feat(auth): support gemini api key and vertex auth in non-interactive mode (#4631) 2025-07-22 14:52:40 +00:00
Brian Ray 4d653c833a
MCP OAuth Part 3 - CLI/UI/Documentation (#4319)
Co-authored-by: Greg Shikhman <shikhman@google.com>
2025-07-22 14:05:36 +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
Seydulla Narkulyyev f7b4e74932
feat(cli):suggestion-navigation-shortcut (#3641)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-21 21:43:23 +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 f95674e646
Add env var to configure system settings path (#4339) 2025-07-21 20:14:07 +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
Yuki Okita 0996d91f0b
feat(cli): add warnings when gemini-cli is called in the root directory (#4542)
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-20 21:57:09 +00:00
Abhi 2a95c8287e
prefactor(commands): Command Service Prefactor for Extensible Commands (#4511) 2025-07-20 20:57: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
Devansh Sharma 8f85ac7de0
feat: Added /copy command for copying output to clipboard with new Command Service approach (#3706)
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-20 18:57:41 +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
Jacob Richman f650be2c3a
Make shell output consistent. (#4469) 2025-07-19 00:30:28 +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 04bbc60b97
Demo background agent (#4409)
Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
2025-07-18 22:21:46 +00:00
Shreya Keshive 73745ecd03
Display open IDE file in context section above input box rather than in the footer (#4470) 2025-07-18 22:14:46 +00:00
Sandy Tao 4915050ad4
improve command completion trigger logic based on cursor position (#4462)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-18 21:54:10 +00:00
Tommaso Sciortino b5f5ea2c31
Use simple name for MCP tools where possible. (#4459) 2025-07-18 21:29:09 +00:00
christine betts d7041a6595
[ide-mode] Send ping every 30 seconds to prevent client from closing connection (#4329) 2025-07-18 19:33:04 +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
Harold Mciver de27ea6095
feat(cli): allow executing commands on perfect match (#4397)
Co-authored-by: Jenna Inouye <jinouye@google.com>
2025-07-18 04:55:29 +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
Miguel Solorio 2f5eecfc49
Light theme color improvements (#4396) 2025-07-18 00:46:33 +00:00
Keith Lyons 8ade3e7ee2
feat(ui): hide cursor when terminal is unfocused (#4012) 2025-07-18 00:45:42 +00:00
Yuki Okita 584a50a342
fix(cli): not show update avaialble messages when running gemini-cli locally (#4052) 2025-07-18 00:44:45 +00:00