Yuki Okita
21c6480b65
Refac: Centralize storage file management ( #4078 )
...
Co-authored-by: Taylor Mullen <ntaylormullen@google.com>
2025-08-20 01:55:47 +00:00
Gal Zahavi
f1575f6d8d
feat(core): refactor shell execution to use node-pty ( #6491 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-19 23:03:51 +00:00
bl-ue
36ea986cfe
feat(sessions): Introduce core ChatRecordingService for automatic conversation saving ( #5221 )
2025-08-19 00:39:57 +00:00
Conrad Irwin
fb3ceb0da4
Read and write files through Zed ( #6169 )
...
Co-authored-by: Agus Zubiaga <agus@zed.dev>
2025-08-18 22:29:45 +00:00
Richie Foreman
2998f27f70
chore(compiler): Enable strict property access TS compiler flag. ( #6255 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-17 16:43:21 +00:00
Abhi
33b9bdb11e
feat(cli): Introduce arguments for shell execution in custom commands ( #5966 )
2025-08-17 04:02:54 +00:00
Gal Zahavi
1a2906a8ad
Revert #6088 ( #6328 )
2025-08-15 17:27:33 +00:00
Gal Zahavi
980091cbc2
feat(core): refactor shell execution to use node-pty ( #6088 )
2025-08-14 20:40:12 +00:00
Sandy Tao
26fe587b44
skip loop check if it is currently inside a loop ( #6022 )
2025-08-11 23:45:31 +00:00
Wanlin Du
f52d073dfb
chore: migrate from responseSchema to use responseJsonSchema. ( #4814 )
2025-08-11 23:04:58 +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
Richie Foreman
4782113ceb
fix(core): Improve errors in situations where the command spawn does … ( #5723 )
2025-08-06 23:31:42 +00:00
Tommaso Sciortino
a3a432e3cf
Fix bug executing commands in windows whose flags contain spaces ( #5317 )
2025-08-01 00:27:07 +00:00
Sandy Tao
8985e489a5
Skip and reset loop checking around code blocks ( #5144 )
2025-07-30 04:05:03 +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
4c144e616d
Make fileDiscoveryService.test.ts win compatible ( #4892 )
2025-07-25 21:30:15 +00:00
Sandy Tao
d76cedb68f
Implement hashing based loop detection ( #4831 )
2025-07-25 19:53:19 +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
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
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
christine betts
1969d805f2
[ide-mode] Use active files and selected text in user prompt ( #4614 )
2025-07-21 20:52:02 +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
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
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
Shreya Keshive
b09bc66560
Adds the user's active file in the IDE to the footer ( #4154 )
2025-07-15 14:19:59 +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
Abhi
9dc812dd4b
fix(checkpoint): Prevent silent failure and enable for non-Git projects ( #4144 )
2025-07-14 17:23:51 +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
Louis Jimenez
383212034c
Provide a .gitconfig for shadow repos ( #1294 )
2025-06-22 00:13:03 -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
Louis Jimenez
443465a805
Clear out untracked files when restoring a checkpoint ( #1139 )
2025-06-17 22:01:42 -04:00
Louis Jimenez
dd679a6cdb
Move the shadow git repository to the user's home dir ( #1013 )
2025-06-16 06:30:02 +00:00
Anas H. Sulaiman
4873fce791
centralize file filtering in `FileDiscoveryService` ( #1039 )
2025-06-14 14:25:34 +00:00
Tommaso Sciortino
28e656f882
Improve some tools to support abortSignal ( #997 )
2025-06-12 19:46:00 -07:00
DeWitt Clinton
f2ab6d08c4
Improve the performance of filename completion over large repositories. ( #938 )
2025-06-12 07:09:38 -07:00
Louis Jimenez
e0f4f428fc
Restore Checkpoint Feature ( #934 )
2025-06-11 15:33:09 -04: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
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