gemini-cli[bot]
1de9052758
# Fix: Inconsistent Case-Sensitivity in GrepTool
...
This PR fixes an inconsistency in the `GrepTool` where the system grep strategy was case-sensitive, while the `git grep` and JavaScript fallback strategies were case-insensitive.
## Changes
- Added the `-i` flag to the `grepArgs` array in the system grep strategy within `packages/core/src/tools/grep.ts`.
- Added a unit test in `packages/core/src/tools/grep.test.ts` to verify that the `-i` flag is correctly passed to the system `grep` command.
## Impact
All search strategies in `GrepTool` now behave consistently with regard to case-sensitivity (defaulting to case-insensitive).
## Verification
- Ran `npm test -w @google/gemini-cli-core -- src/tools/grep.test.ts`.
- Verified that the `-i` flag is correctly passed to the `grep` command.
2026-04-29 22:47:00 +00:00
Michael Bleigh
3b7c17a22c
refactor(core): consolidate execute() arguments into ExecuteOptions ( #25101 )
2026-04-10 17:11:17 +00:00
Emily Hedlund
ca0e6f9bd9
test: fix Windows CI execution and resolve exposed platform failures ( #24476 )
2026-04-03 15:50:29 +00:00
Jarrod Whelan
1df5c98b33
feat(cli): implement compact tool output ( #20974 )
2026-03-30 23:43:29 +00:00
Ivan Porty
b5529c2475
fix(core): resolve ACP Operation Aborted Errors in grep_search ( #23821 )
...
Co-authored-by: Sri Pasumarthi <sripas@google.com >
2026-03-27 23:12:34 +00:00
Christian Gunderman
c5112cde46
fix(core): truncate excessively long lines in grep search output ( #21147 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-05 01:30:28 +00:00
nityam
28af4e127f
fix: merge duplicate imports in packages/core (3/4) ( #20928 )
2026-03-04 00:12:59 +00:00
Sandy Tao
39938000a9
feat(core): rename grep_search include parameter to include_pattern ( #20328 )
2026-02-26 04:16:21 +00:00
Christian Gunderman
5d98ed5820
Utilize pipelining of grep_search -> read_file to eliminate turns ( #19574 )
2026-02-21 00:36:10 +00:00
Christian Gunderman
2a08456ed0
Update prompt and grep tool definition to limit context size ( #18780 )
2026-02-11 19:20:51 +00:00
Christian Gunderman
0d034b8c18
Introduce limits for search results. ( #18767 )
2026-02-11 03:50:10 +00:00
N. Taylor Mullen
5f569fa103
refactor(core): centralize path validation and allow temp dir access for tools ( #17185 )
...
Co-authored-by: Your Name <joshualitt@google.com >
2026-01-27 21:17:40 +00:00
Adam Weidman
018dc0d5cf
fix(core): stream grep/ripgrep output to prevent OOM ( #17146 )
2026-01-26 21:52:19 +00:00
N. Taylor Mullen
ec7413456e
feat(core): improve shell redirection transparency and security ( #16486 )
2026-01-20 04:07:28 +00:00
Abhi
eec5d5ebf8
feat(core): restore MessageBus optionality for soft migration (Phase 1) ( #15774 )
2026-01-04 19:59:35 +00:00
Tommaso Sciortino
f05d937f39
Use consistent param names ( #12517 )
2025-11-06 23:03:52 +00:00
Pascal Birchler
0f031a7f89
Explict imports & exports with type modifier ( #3774 )
2025-08-25 22:04:53 +00:00
Pascal Birchler
ee4feea006
chore: consistently import node modules with prefix ( #3013 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-08-25 20:11:27 +00:00
sangwook
494a996ff8
feat(core): share file list patterns between glob and grep tools ( #6359 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Arya Gummadi <aryagummadi@google.com >
2025-08-23 04:35:00 +00:00
joshualitt
ec41b8db8e
feat(core): Annotate remaining error paths in tools with type. ( #6699 )
2025-08-21 21:40:18 +00:00
joshualitt
8bac9e7d04
Migrate EditTool, GrepTool, and GlobTool to DeclarativeTool ( #5744 )
2025-08-07 17:05:37 +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
Tommaso Sciortino
aa71438684
Fix grep.test to work on windows. ( #4889 )
2025-07-25 21:32: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
Tommaso Sciortino
fefa7ecbea
Pure refactor: Consolidate isWithinRoot() function calling. ( #4163 )
2025-07-15 05:55:49 +00:00
Aryan Sawant
316c0fa37b
Fix Patch for grep.test.ts ( #3747 )
2025-07-10 06:08:58 +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
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
Tommaso Sciortino
21fba832d1
Rename server->core ( #638 )
2025-05-30 18:25:47 -07:00