Daniel Lee
5b6608ad84
feat(cli): add support for --prompt-interactive/-i flag ( #1743 )
2025-07-11 23:52:56 +00:00
Gaurav
764809753a
fix: `TypeError: Cannot read properties of undefined (reading 'authType')` ( #3914 )
2025-07-11 21:08:49 +00:00
Miguel Solorio
448838dea8
Add visual cues for nightly version ( #3701 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-11 20:43:57 +00:00
uttamkanodia14
93284281de
Logs the auth type in the user prompts, api responses and errors ( #3795 )
2025-07-11 16:47:46 +00:00
Seth Troisi
8a128d8dc6
Add NO_BROWSER environment variable to trigger offline oauth flow ( #3713 )
2025-07-11 01:59:02 +00:00
uttamkanodia14
063481faa4
Adding TurnId to Tool call and API responses and error logs. ( #3039 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-09 18:49:30 +00:00
N. Taylor Mullen
d094026b3b
fix(deps): revert yargs bump and fix npx regression ( #3610 )
2025-07-08 23:44:56 -07:00
Pascal Birchler
c8cf954e6e
fix(auth): do not blindly default to API key auth ( #3235 )
...
Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-08 22:10:36 +00:00
Marat Boshernitsan
2ed1b378cb
fix: Honor DEBUG and CLI_TITLE environment variables ( #3560 )
2025-07-08 19:34:17 +00:00
Billy Biggs
c0940a194e
Add a command line option to enable and list extensions ( #3191 )
2025-07-08 16:57:34 +00:00
Marat Boshernitsan
48c2aa296a
Enable Gemini CLI to reuse user's auth in Cloud Shell ( #3070 )
2025-07-07 22:02:13 +00:00
Tommaso Sciortino
357546a2aa
Initialize MCP tools once at start up instead of every time we auth. ( #3483 )
2025-07-07 22:01:59 +00:00
Pyush Sinha
39e8509452
feat: add user startup warnings, add home directory check ( #3056 )
2025-07-06 06:27:00 +00:00
matt korwel
4963a1eea8
Mk nohup ( #3285 )
2025-07-05 15:27:22 +00:00
Mithlesh kumar
f4923468dc
chore: typo fixes ( #3203 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
2025-07-04 15:38:43 +00:00
Tommaso Sciortino
fe125d59b9
Use the constant placeholders for ".gemini/settings.json" in gemini.tsx ( #2860 )
2025-07-01 18:00:21 +00:00
Tommaso Sciortino
c55b15f705
Improve LoadCodeAssist error handling ( #1645 )
2025-06-26 15:27:20 +00:00
Noritaka Kobayashi
dbe217828d
chore: fix typos in comment-out ( #1540 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-26 04:34:53 +00:00
Brandon Keiji
f6c36f75e3
fix: prepublish changes to package names ( #1420 )
2025-06-25 12:41:11 +00:00
Jacob Richman
75ed7aaa06
Jacob314/max old space ( #1314 )
2025-06-24 14:18:55 -07:00
owenofbrien
4cfab0a893
Clearcut logging - initial implementation ( #1274 )
...
Flag-guarded initial implementation of a clearcut logger to collect telemetry data and send it to Concord for dashboards, etc.
2025-06-22 14:26:48 +00:00
matt korwel
ef54e4ffbc
fallback to gemini_api_key ( #1255 )
2025-06-20 01:36:33 -07:00
Jacob Richman
05b1c8101f
Turn off debug logging of MaxSizedBox errors by default. ( #1228 )
2025-06-20 05:27:03 +00:00
Louis Jimenez
6c67618624
Make checkpoints configurable in settings.json ( #1251 )
2025-06-20 00:39:15 -04:00
matt korwel
04518b52c0
Auth First Run ( #1207 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-19 16:52:22 -07:00
Tommaso Sciortino
43203926b8
Initialize geminiClient in noninteractive mode ( #1222 )
2025-06-19 17:21:39 +00:00
Tommaso Sciortino
8bc3b415c9
Refactor in preparation for Reauth ( #1196 )
2025-06-18 16:34:00 -07:00
Allen Hutchison
fbc79c34c9
Fix noise in headless mode on STDOUT ( #1184 )
2025-06-18 11:40:15 -07:00
Brandon Keiji
332512853e
feat: consolidate sandbox configurations into a single object ( #1154 )
2025-06-18 17:01:00 +00:00
N. Taylor Mullen
4463671284
refactor(cli): Use excludeTools for non-interactive mode ( #1072 )
2025-06-15 16:05:40 -07:00
Anas H. Sulaiman
4873fce791
centralize file filtering in `FileDiscoveryService` ( #1039 )
2025-06-14 14:25:34 +00:00
Anas H. Sulaiman
bb67d31739
reuse `GitIgnoreParser` for loading `.geminiignore` ( #1025 )
2025-06-13 17:17:08 -04:00
Tommaso Sciortino
54f0d9d0e5
Fix default extension context filename and update docs ( #1024 )
2025-06-13 13:57:00 -07:00
Jerop Kipruto
b20c8389f3
Handle telemetry in non-interactive mode ( #1002 )
...
Changes:
- Ensure proper shutdown in non-interactive mode
- Ensures the initial user prompt is logged in non-interactive mode
- Improve telemetry for streaming - handle chunks and input token count is now alongside other token counts in response
To test:
- Follow instructions in https://github.com/google-gemini/gemini-cli/blob/main/docs/core/telemetry.md#google-cloud
- Run CLI in non-interactive mode and observe logs/metrics in GCP Logs Explorer and Metrics Explorer
#750
2025-06-13 03:44:17 -04:00
Tommaso Sciortino
24c61147b8
Cache oauth credentials ( #927 )
2025-06-11 13:26:41 -07:00
Louis Jimenez
e0f4f428fc
Restore Checkpoint Feature ( #934 )
2025-06-11 15:33:09 -04:00
jerop
d1e23b7c71
refactor: Centralize session ID generation and propagation
2025-06-11 01:18:40 -04:00
Tommaso Sciortino
97e08fc804
Remove warnings for old env var names. ( #920 )
2025-06-10 18:34:36 -07:00
Tommaso Sciortino
4e84431df3
Allow simple extensions for registering MCPservers ( #890 )
2025-06-10 15:48:39 -07:00
Mark McDonald
5673c5f267
Add a window title when CLI is launched ( #787 )
2025-06-10 11:54:51 +08:00
N. Taylor Mullen
d62dad5575
Revert "Add batch editing capabilities to Edit Tool ( #648 )" ( #857 )
2025-06-08 23:20:43 +00:00
Abhi
7868ef8229
feat: Introduce session context and add session duration stat for `/stats` command ( #854 )
2025-06-08 18:01:02 -04:00
cperry-goog
18d6a11c04
refactor: rename gemini-code to gemini-cli ( #822 )
2025-06-07 14:27:22 -07:00
Tommaso Sciortino
6ea4479064
Push model-switching logging into loadCliConfig ( #815 )
2025-06-07 11:12:30 -07:00
Tommaso Sciortino
680f4cdd61
More version simplifiction. ( #810 )
2025-06-07 10:54:23 -07:00
Keith Ballinger
0c86874677
Add batch editing capabilities to Edit Tool ( #648 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-06 22:54:37 -07:00
Tommaso Sciortino
76ec9122c0
clean up version lookup code ( #804 )
2025-06-06 16:21:20 -07:00
Jacob Richman
89aca349cf
Exit with an error message if parsing settings.json fails. ( #747 )
2025-06-06 09:56:45 -07:00
Eddie Santos
422c763a55
Add support for `.geminiignore` file ( #757 )
2025-06-05 10:15:27 -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