@google/gemini-cli-core 0.48.0-preview.0 → 0.49.0-nightly.20260619.gc22137ea0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/bundled/chrome-devtools-mcp.mjs +269 -17
  2. package/dist/docs/changelogs/index.md +3 -0
  3. package/dist/docs/changelogs/preview.md +52 -28
  4. package/dist/docs/cli/gemini-md.md +2 -0
  5. package/dist/docs/cli/plan-mode.md +1 -0
  6. package/dist/docs/cli/session-management.md +1 -0
  7. package/dist/docs/cli/system-prompt.md +2 -0
  8. package/dist/docs/cli/telemetry.md +5 -0
  9. package/dist/docs/ide-integration/ide-companion-spec.md +2 -0
  10. package/dist/docs/ide-integration/index.md +4 -0
  11. package/dist/docs/local-development.md +2 -0
  12. package/dist/docs/reference/commands.md +4 -0
  13. package/dist/docs/reference/configuration.md +194 -0
  14. package/dist/docs/release-confidence.md +6 -0
  15. package/dist/docs/releases.md +2 -0
  16. package/dist/docs/resources/quota-and-pricing.md +1 -0
  17. package/dist/docs/resources/troubleshooting.md +13 -0
  18. package/dist/docs/tools/ask-user.md +2 -0
  19. package/dist/docs/tools/mcp-server.md +1 -0
  20. package/dist/google-gemini-cli-core-0.49.0-nightly.20260617.g4d3dcdce1.tgz +0 -0
  21. package/dist/src/agents/agentLoader.d.ts +20 -20
  22. package/dist/src/agents/auth-provider/api-key-provider.d.ts +1 -1
  23. package/dist/src/agents/auth-provider/api-key-provider.js.map +1 -1
  24. package/dist/src/agents/auth-provider/google-credentials-provider.d.ts +1 -1
  25. package/dist/src/agents/auth-provider/google-credentials-provider.js.map +1 -1
  26. package/dist/src/agents/auth-provider/http-provider.d.ts +1 -1
  27. package/dist/src/agents/auth-provider/http-provider.js.map +1 -1
  28. package/dist/src/agents/auth-provider/oauth2-provider.d.ts +1 -1
  29. package/dist/src/agents/auth-provider/oauth2-provider.js.map +1 -1
  30. package/dist/src/agents/local-executor.js +5 -4
  31. package/dist/src/agents/local-executor.js.map +1 -1
  32. package/dist/src/code_assist/types.d.ts +20 -20
  33. package/dist/src/generated/git-commit.d.ts +2 -2
  34. package/dist/src/generated/git-commit.js +2 -2
  35. package/dist/src/generated/git-commit.js.map +1 -1
  36. package/dist/src/ide/ide-client.js +4 -1
  37. package/dist/src/ide/ide-client.js.map +1 -1
  38. package/dist/src/policy/toml-loader.js +1 -1
  39. package/dist/src/policy/toml-loader.js.map +1 -1
  40. package/dist/src/services/executionLifecycleService.js +4 -1
  41. package/dist/src/services/executionLifecycleService.js.map +1 -1
  42. package/dist/src/telemetry/clearcut-logger/clearcut-logger.test.d.ts +1 -1
  43. package/dist/src/telemetry/clearcut-logger/clearcut-logger.test.js +1 -1
  44. package/dist/src/telemetry/clearcut-logger/clearcut-logger.test.js.map +1 -1
  45. package/dist/src/tools/mcp-client-manager.test.js +6 -6
  46. package/dist/src/tools/mcp-client-manager.test.js.map +1 -1
  47. package/dist/src/tools/mcp-client.js +5 -1
  48. package/dist/src/tools/mcp-client.js.map +1 -1
  49. package/dist/src/tools/tool-registry.js +1 -1
  50. package/dist/src/tools/tool-registry.js.map +1 -1
  51. package/dist/src/utils/editor.js +2 -1
  52. package/dist/src/utils/editor.js.map +1 -1
  53. package/dist/src/utils/filesearch/ignore.js +4 -1
  54. package/dist/src/utils/filesearch/ignore.js.map +1 -1
  55. package/dist/src/utils/gitIgnoreParser.js +4 -1
  56. package/dist/src/utils/gitIgnoreParser.js.map +1 -1
  57. package/dist/src/utils/googleQuotaErrors.js +1 -1
  58. package/dist/src/utils/googleQuotaErrors.js.map +1 -1
  59. package/dist/src/utils/ignoreFileParser.js +4 -1
  60. package/dist/src/utils/ignoreFileParser.js.map +1 -1
  61. package/dist/src/utils/llm-edit-fixer.js +2 -0
  62. package/dist/src/utils/llm-edit-fixer.js.map +1 -1
  63. package/dist/src/utils/schemaValidator.js +3 -2
  64. package/dist/src/utils/schemaValidator.js.map +1 -1
  65. package/dist/tsconfig.tsbuildinfo +1 -1
  66. package/package.json +76 -76
@@ -229474,7 +229474,6 @@ chrome-devtools-mcp/build/src/third_party/index.js:
229474
229474
  *)
229475
229475
 
229476
229476
  chrome-devtools-mcp/build/src/polyfill.js:
229477
- chrome-devtools-mcp/build/src/Mutex.js:
229478
229477
  (**
229479
229478
  * @license
229480
229479
  * Copyright 2025 Google Inc.
@@ -229482,53 +229481,307 @@ chrome-devtools-mcp/build/src/Mutex.js:
229482
229481
  *)
229483
229482
 
229484
229483
  chrome-devtools-mcp/build/src/cli.js:
229484
+ (**
229485
+ * @license
229486
+ * Copyright 2025 Google LLC
229487
+ * SPDX-License-Identifier: Apache-2.0
229488
+ *)
229489
+
229485
229490
  chrome-devtools-mcp/build/src/logger.js:
229491
+ (**
229492
+ * @license
229493
+ * Copyright 2025 Google LLC
229494
+ * SPDX-License-Identifier: Apache-2.0
229495
+ *)
229496
+
229486
229497
  chrome-devtools-mcp/build/src/browser.js:
229498
+ (**
229499
+ * @license
229500
+ * Copyright 2025 Google LLC
229501
+ * SPDX-License-Identifier: Apache-2.0
229502
+ *)
229503
+
229487
229504
  chrome-devtools-mcp/build/src/issue-descriptions.js:
229505
+ (**
229506
+ * @license
229507
+ * Copyright 2025 Google LLC
229508
+ * SPDX-License-Identifier: Apache-2.0
229509
+ *)
229510
+
229488
229511
  chrome-devtools-mcp/build/src/DevToolsConnectionAdapter.js:
229512
+ (**
229513
+ * @license
229514
+ * Copyright 2025 Google LLC
229515
+ * SPDX-License-Identifier: Apache-2.0
229516
+ *)
229517
+
229518
+ chrome-devtools-mcp/build/src/Mutex.js:
229519
+ (**
229520
+ * @license
229521
+ * Copyright 2025 Google Inc.
229522
+ * SPDX-License-Identifier: Apache-2.0
229523
+ *)
229524
+
229489
229525
  chrome-devtools-mcp/build/src/DevtoolsUtils.js:
229526
+ (**
229527
+ * @license
229528
+ * Copyright 2025 Google LLC
229529
+ * SPDX-License-Identifier: Apache-2.0
229530
+ *)
229531
+
229490
229532
  chrome-devtools-mcp/build/src/tools/categories.js:
229533
+ (**
229534
+ * @license
229535
+ * Copyright 2025 Google LLC
229536
+ * SPDX-License-Identifier: Apache-2.0
229537
+ *)
229538
+
229491
229539
  chrome-devtools-mcp/build/src/tools/ToolDefinition.js:
229540
+ (**
229541
+ * @license
229542
+ * Copyright 2025 Google LLC
229543
+ * SPDX-License-Identifier: Apache-2.0
229544
+ *)
229545
+
229492
229546
  chrome-devtools-mcp/build/src/tools/snapshot.js:
229547
+ (**
229548
+ * @license
229549
+ * Copyright 2025 Google LLC
229550
+ * SPDX-License-Identifier: Apache-2.0
229551
+ *)
229552
+
229493
229553
  chrome-devtools-mcp/build/src/McpPage.js:
229554
+ (**
229555
+ * @license
229556
+ * Copyright 2025 Google LLC
229557
+ * SPDX-License-Identifier: Apache-2.0
229558
+ *)
229559
+
229494
229560
  chrome-devtools-mcp/build/src/PageCollector.js:
229561
+ (**
229562
+ * @license
229563
+ * Copyright 2025 Google LLC
229564
+ * SPDX-License-Identifier: Apache-2.0
229565
+ *)
229566
+
229495
229567
  chrome-devtools-mcp/build/src/tools/pages.js:
229568
+ (**
229569
+ * @license
229570
+ * Copyright 2025 Google LLC
229571
+ * SPDX-License-Identifier: Apache-2.0
229572
+ *)
229573
+
229574
+ chrome-devtools-mcp/build/src/utils/ExtensionRegistry.js:
229575
+ (**
229576
+ * @license
229577
+ * Copyright 2026 Google LLC
229578
+ * SPDX-License-Identifier: Apache-2.0
229579
+ *)
229580
+
229496
229581
  chrome-devtools-mcp/build/src/utils/files.js:
229582
+ (**
229583
+ * @license
229584
+ * Copyright 2025 Google LLC
229585
+ * SPDX-License-Identifier: Apache-2.0
229586
+ *)
229587
+
229497
229588
  chrome-devtools-mcp/build/src/WaitForHelper.js:
229589
+ (**
229590
+ * @license
229591
+ * Copyright 2025 Google LLC
229592
+ * SPDX-License-Identifier: Apache-2.0
229593
+ *)
229594
+
229498
229595
  chrome-devtools-mcp/build/src/McpContext.js:
229596
+ (**
229597
+ * @license
229598
+ * Copyright 2025 Google LLC
229599
+ * SPDX-License-Identifier: Apache-2.0
229600
+ *)
229601
+
229602
+ chrome-devtools-mcp/build/src/formatters/ConsoleFormatter.js:
229603
+ (**
229604
+ * @license
229605
+ * Copyright 2026 Google LLC
229606
+ * SPDX-License-Identifier: Apache-2.0
229607
+ *)
229608
+
229609
+ chrome-devtools-mcp/build/src/formatters/IssueFormatter.js:
229610
+ (**
229611
+ * @license
229612
+ * Copyright 2026 Google LLC
229613
+ * SPDX-License-Identifier: Apache-2.0
229614
+ *)
229615
+
229616
+ chrome-devtools-mcp/build/src/formatters/NetworkFormatter.js:
229617
+ (**
229618
+ * @license
229619
+ * Copyright 2025 Google LLC
229620
+ * SPDX-License-Identifier: Apache-2.0
229621
+ * *)
229622
+
229499
229623
  chrome-devtools-mcp/build/src/formatters/SnapshotFormatter.js:
229624
+ (**
229625
+ * @license
229626
+ * Copyright 2025 Google LLC
229627
+ * SPDX-License-Identifier: Apache-2.0
229628
+ *)
229629
+
229500
229630
  chrome-devtools-mcp/build/src/trace-processing/parse.js:
229631
+ (**
229632
+ * @license
229633
+ * Copyright 2025 Google LLC
229634
+ * SPDX-License-Identifier: Apache-2.0
229635
+ *)
229636
+
229501
229637
  chrome-devtools-mcp/build/src/utils/pagination.js:
229638
+ (**
229639
+ * @license
229640
+ * Copyright 2025 Google LLC
229641
+ * SPDX-License-Identifier: Apache-2.0
229642
+ *)
229643
+
229502
229644
  chrome-devtools-mcp/build/src/McpResponse.js:
229645
+ (**
229646
+ * @license
229647
+ * Copyright 2025 Google LLC
229648
+ * SPDX-License-Identifier: Apache-2.0
229649
+ *)
229650
+
229651
+ chrome-devtools-mcp/build/src/SlimMcpResponse.js:
229652
+ (**
229653
+ * @license
229654
+ * Copyright 2026 Google LLC
229655
+ * SPDX-License-Identifier: Apache-2.0
229656
+ *)
229657
+
229658
+ chrome-devtools-mcp/build/src/telemetry/persistence.js:
229659
+ (**
229660
+ * @license
229661
+ * Copyright 2026 Google LLC
229662
+ * SPDX-License-Identifier: Apache-2.0
229663
+ *)
229664
+
229665
+ chrome-devtools-mcp/build/src/telemetry/types.js:
229666
+ (**
229667
+ * @license
229668
+ * Copyright 2026 Google LLC
229669
+ * SPDX-License-Identifier: Apache-2.0
229670
+ *)
229671
+
229672
+ chrome-devtools-mcp/build/src/telemetry/WatchdogClient.js:
229673
+ (**
229674
+ * @license
229675
+ * Copyright 2026 Google LLC
229676
+ * SPDX-License-Identifier: Apache-2.0
229677
+ *)
229678
+
229679
+ chrome-devtools-mcp/build/src/telemetry/ClearcutLogger.js:
229680
+ (**
229681
+ * @license
229682
+ * Copyright 2026 Google LLC
229683
+ * SPDX-License-Identifier: Apache-2.0
229684
+ *)
229685
+
229686
+ chrome-devtools-mcp/build/src/telemetry/metricUtils.js:
229687
+ (**
229688
+ * @license
229689
+ * Copyright 2026 Google LLC
229690
+ * SPDX-License-Identifier: Apache-2.0
229691
+ *)
229692
+
229503
229693
  chrome-devtools-mcp/build/src/tools/console.js:
229694
+ (**
229695
+ * @license
229696
+ * Copyright 2025 Google LLC
229697
+ * SPDX-License-Identifier: Apache-2.0
229698
+ *)
229699
+
229700
+ chrome-devtools-mcp/build/src/tools/emulation.js:
229701
+ (**
229702
+ * @license
229703
+ * Copyright 2025 Google LLC
229704
+ * SPDX-License-Identifier: Apache-2.0
229705
+ *
229706
+ *)
229707
+
229504
229708
  chrome-devtools-mcp/build/src/utils/keyboard.js:
229709
+ (**
229710
+ * @license
229711
+ * Copyright 2025 Google LLC
229712
+ * SPDX-License-Identifier: Apache-2.0
229713
+ *)
229714
+
229505
229715
  chrome-devtools-mcp/build/src/tools/input.js:
229716
+ (**
229717
+ * @license
229718
+ * Copyright 2025 Google LLC
229719
+ * SPDX-License-Identifier: Apache-2.0
229720
+ *)
229721
+
229506
229722
  chrome-devtools-mcp/build/src/tools/memory.js:
229723
+ (**
229724
+ * @license
229725
+ * Copyright 2025 Google LLC
229726
+ * SPDX-License-Identifier: Apache-2.0
229727
+ *)
229728
+
229507
229729
  chrome-devtools-mcp/build/src/tools/network.js:
229730
+ (**
229731
+ * @license
229732
+ * Copyright 2025 Google LLC
229733
+ * SPDX-License-Identifier: Apache-2.0
229734
+ *)
229735
+
229508
229736
  chrome-devtools-mcp/build/src/tools/screenshot.js:
229737
+ (**
229738
+ * @license
229739
+ * Copyright 2025 Google LLC
229740
+ * SPDX-License-Identifier: Apache-2.0
229741
+ *)
229742
+
229509
229743
  chrome-devtools-mcp/build/src/tools/script.js:
229510
- chrome-devtools-mcp/build/src/tools/tools.js:
229511
- chrome-devtools-mcp/build/src/main.js:
229512
- chrome-devtools-mcp/build/src/index.js:
229513
229744
  (**
229514
229745
  * @license
229515
229746
  * Copyright 2025 Google LLC
229516
229747
  * SPDX-License-Identifier: Apache-2.0
229517
229748
  *)
229518
229749
 
229519
- chrome-devtools-mcp/build/src/utils/ExtensionRegistry.js:
229520
- chrome-devtools-mcp/build/src/formatters/ConsoleFormatter.js:
229521
- chrome-devtools-mcp/build/src/formatters/IssueFormatter.js:
229522
- chrome-devtools-mcp/build/src/SlimMcpResponse.js:
229523
- chrome-devtools-mcp/build/src/telemetry/persistence.js:
229524
- chrome-devtools-mcp/build/src/telemetry/types.js:
229525
- chrome-devtools-mcp/build/src/telemetry/WatchdogClient.js:
229526
- chrome-devtools-mcp/build/src/telemetry/ClearcutLogger.js:
229527
- chrome-devtools-mcp/build/src/telemetry/metricUtils.js:
229528
229750
  chrome-devtools-mcp/build/src/tools/slim/tools.js:
229751
+ (**
229752
+ * @license
229753
+ * Copyright 2026 Google LLC
229754
+ * SPDX-License-Identifier: Apache-2.0
229755
+ *)
229756
+
229757
+ chrome-devtools-mcp/build/src/tools/tools.js:
229758
+ (**
229759
+ * @license
229760
+ * Copyright 2025 Google LLC
229761
+ * SPDX-License-Identifier: Apache-2.0
229762
+ *)
229763
+
229529
229764
  chrome-devtools-mcp/build/src/version.js:
229765
+ (**
229766
+ * @license
229767
+ * Copyright 2026 Google LLC
229768
+ * SPDX-License-Identifier: Apache-2.0
229769
+ *)
229770
+
229530
229771
  chrome-devtools-mcp/build/src/server.js:
229772
+ (**
229773
+ * @license
229774
+ * Copyright 2026 Google LLC
229775
+ * SPDX-License-Identifier: Apache-2.0
229776
+ *)
229777
+
229531
229778
  chrome-devtools-mcp/build/src/utils/string.js:
229779
+ (**
229780
+ * @license
229781
+ * Copyright 2026 Google LLC
229782
+ * SPDX-License-Identifier: Apache-2.0
229783
+ *)
229784
+
229532
229785
  chrome-devtools-mcp/build/src/telemetry/flagUtils.js:
229533
229786
  (**
229534
229787
  * @license
@@ -229536,18 +229789,17 @@ chrome-devtools-mcp/build/src/telemetry/flagUtils.js:
229536
229789
  * SPDX-License-Identifier: Apache-2.0
229537
229790
  *)
229538
229791
 
229539
- chrome-devtools-mcp/build/src/formatters/NetworkFormatter.js:
229792
+ chrome-devtools-mcp/build/src/main.js:
229540
229793
  (**
229541
229794
  * @license
229542
229795
  * Copyright 2025 Google LLC
229543
229796
  * SPDX-License-Identifier: Apache-2.0
229544
- * *)
229797
+ *)
229545
229798
 
229546
- chrome-devtools-mcp/build/src/tools/emulation.js:
229799
+ chrome-devtools-mcp/build/src/index.js:
229547
229800
  (**
229548
229801
  * @license
229549
229802
  * Copyright 2025 Google LLC
229550
229803
  * SPDX-License-Identifier: Apache-2.0
229551
- *
229552
229804
  *)
229553
229805
  */
@@ -507,6 +507,7 @@ on GitHub.
507
507
  headlessly in notebook cells or interactively in the built-in terminal
508
508
  ([pic](https://imgur.com/a/G0Tn7vi))
509
509
  - 🎉**Gemini CLI Extensions:**
510
+
510
511
  - **Conductor:** Planning++, Gemini works with you to build out a detailed
511
512
  plan, pull in extra details as needed, ultimately to give the LLM guardrails
512
513
  with artifacts. Measure twice, implement once!
@@ -635,6 +636,7 @@ on GitHub.
635
636
  - **Announcement:**
636
637
  [https://developers.googleblog.com/en/making-the-terminal-beautiful-one-pixel-at-a-time/](https://developers.googleblog.com/en/making-the-terminal-beautiful-one-pixel-at-a-time/)
637
638
  - **🎉 New partner extensions:**
639
+
638
640
  - **Arize:** Seamlessly instrument AI applications with Arize AX and grant
639
641
  direct access to Arize support:
640
642
 
@@ -674,6 +676,7 @@ on GitHub.
674
676
  ![Codebase investigator subagent in Gemini CLI.](https://i.imgur.com/4J1njsx.png)
675
677
 
676
678
  - **🎉 New partner extensions:**
679
+
677
680
  - **🤗 Hugging Face extension:** Access the Hugging Face hub.
678
681
  ([gif](https://drive.google.com/file/d/1LEzIuSH6_igFXq96_tWev11svBNyPJEB/view?usp=sharing&resourcekey=0-LtPTzR1woh-rxGtfPzjjfg))
679
682
 
@@ -1,6 +1,6 @@
1
- # Preview release: v0.46.0-preview.0
1
+ # Preview release: v0.48.0-preview.0
2
2
 
3
- Released: June 3, 2026
3
+ Released: June 17, 2026
4
4
 
5
5
  Our preview release includes the latest, new, and experimental features. This
6
6
  release may not be as stable as our [latest weekly release](latest.md).
@@ -13,34 +13,58 @@ npm install -g @google/gemini-cli@preview
13
13
 
14
14
  ## Highlights
15
15
 
16
- - **Model Update:** Added support for transitioning to the Flash GA model when
17
- the experimental flag is enabled, providing access to the latest model
18
- improvements.
19
- - **Improved Stability:** Hardened PTY resize logic to prevent native crashes,
20
- ensuring a more robust terminal experience.
21
- - **Bug Fix:** Resolved an issue where an invalid `preferredEditor`
22
- configuration could lead to a notification spam loop.
23
- - **CI Enhancements:** Optimized Pull Request labeling and introduced batch
24
- workflows to improve development efficiency.
16
+ - **GDC Service Identity Support**: Added support for GDC air-gapped Service
17
+ Identity after a major auth library update.
18
+ - **Standardised Tool Outputs**: Standardised tool output formatting to ensure
19
+ consistency and readability across different CLI commands.
20
+ - **Static Evaluation Analyzer**: Introduced a new static evaluation source
21
+ analyzer to improve development and testing.
22
+ - **Vulnerability Prevention**: Hardened CLI security by preventing path
23
+ traversal vulnerabilities during the installation of Skills.
24
+ - **Configuration & Error Hardening**: Migrated the `coreTools` configuration
25
+ setting to `tools.core` and ensured zero-quota limits fail fast to prevent
26
+ infinite retry loops.
25
27
 
26
28
  ## What's Changed
27
29
 
28
- - fix(core): harden PTY resize against native crashes by @scidomino in
29
- [#27496](https://github.com/google-gemini/gemini-cli/pull/27496)
30
- - Changelog for v0.45.0-preview.0 by @gemini-cli-robot in
31
- [#27495](https://github.com/google-gemini/gemini-cli/pull/27495)
32
- - Changelog for v0.44.0 by @gemini-cli-robot in
33
- [#27569](https://github.com/google-gemini/gemini-cli/pull/27569)
34
- - fix(cli): prevent spam loop when preferredEditor is invalid by @Niralisj in
35
- [#25324](https://github.com/google-gemini/gemini-cli/pull/25324)
36
- - Adding quote by @scidomino in
37
- [#27571](https://github.com/google-gemini/gemini-cli/pull/27571)
38
- - Transition to flash GA model when experiment flag is present. by @DavidAPierce
39
- in [#27570](https://github.com/google-gemini/gemini-cli/pull/27570)
40
- - chore(ci): add optimized PR size labeler and batch workflows by @sripasg in
41
- [#27616](https://github.com/google-gemini/gemini-cli/pull/27616)
42
- - fix(ci): use pull_request_target trigger to grant write access on fork PRs by
43
- @sripasg in [#27637](https://github.com/google-gemini/gemini-cli/pull/27637)
30
+ - chore(release): bump version to 0.48.0-nightly.20260609.g3a13b8eeb by
31
+ @gemini-cli-robot in
32
+ [#27779](https://github.com/google-gemini/gemini-cli/pull/27779)
33
+ - ci(dependabot): enable cooldown period for npm packages by @ruomengz in
34
+ [#27743](https://github.com/google-gemini/gemini-cli/pull/27743)
35
+ - refactor(core): standardize tool output formatting by @galz10 in
36
+ [#27772](https://github.com/google-gemini/gemini-cli/pull/27772)
37
+ - ci: update workflow logging and policy configurations by @galz10 in
38
+ [#27853](https://github.com/google-gemini/gemini-cli/pull/27853)
39
+ - fix(core): Ensure zero-quota limits fail fast to prevent retry loop hang by
40
+ @luisfelipe-alt in
41
+ [#27698](https://github.com/google-gemini/gemini-cli/pull/27698)
42
+ - fix(core): handle multi-line escaped quotes in stripShellWrapper by
43
+ @sanchezcoraspe in
44
+ [#27467](https://github.com/google-gemini/gemini-cli/pull/27467)
45
+ - fix(cli): prevent path traversal vulnerabilities during skill install… by
46
+ @ompatel-aiml in
47
+ [#27767](https://github.com/google-gemini/gemini-cli/pull/27767)
48
+ - Fix/pending tools and trust overrides by @jvargassanchez-dot in
49
+ [#27854](https://github.com/google-gemini/gemini-cli/pull/27854)
50
+ - ci: use internal environment for scheduled nightly releases (#27865) by
51
+ @rmedranollamas in
52
+ [#27939](https://github.com/google-gemini/gemini-cli/pull/27939)
53
+ - feat(core): Support GDC air-gapped Service Identity after auth library update
54
+ by @sidhantgoyal-droid in
55
+ [#27956](https://github.com/google-gemini/gemini-cli/pull/27956)
56
+ - fix(cli): handle tmux false positive background detection by @amelidev in
57
+ [#27572](https://github.com/google-gemini/gemini-cli/pull/27572)
58
+ - Add static eval source analyzer by @ved015 in
59
+ [#27631](https://github.com/google-gemini/gemini-cli/pull/27631)
60
+ - fix(config): migrate coreTools setting to tools.core by @galz10 in
61
+ [#27947](https://github.com/google-gemini/gemini-cli/pull/27947)
62
+ - fix(core-tools): resolve defensive path resolution for at-reference files by
63
+ @luisfelipe-alt in
64
+ [#27943](https://github.com/google-gemini/gemini-cli/pull/27943)
65
+ - Revert "fix(core-tools): resolve defensive path resolution for at-reference
66
+ files" by @galz10 in
67
+ [#27992](https://github.com/google-gemini/gemini-cli/pull/27992)
44
68
 
45
69
  **Full Changelog**:
46
- https://github.com/google-gemini/gemini-cli/compare/v0.45.0-preview.1...v0.46.0-preview.0
70
+ https://github.com/google-gemini/gemini-cli/compare/v0.47.0-preview.0...v0.48.0-preview.0
@@ -16,10 +16,12 @@ sends them to the model with every prompt. The CLI loads files in the following
16
16
  order:
17
17
 
18
18
  1. **Global context file:**
19
+
19
20
  - **Location:** `~/.gemini/GEMINI.md` (in your user home directory).
20
21
  - **Scope:** Provides default instructions for all your projects.
21
22
 
22
23
  2. **Environment and workspace context files:**
24
+
23
25
  - **Location:** The CLI searches for `GEMINI.md` files in your configured
24
26
  workspace directories and their parent directories.
25
27
  - **Scope:** Provides context relevant to the projects you are currently
@@ -64,6 +64,7 @@ Gemini CLI takes action.
64
64
  reach an informal agreement on the approach before proceeding.
65
65
  3. **Review the plan:** Once you've agreed on the strategy, Gemini CLI creates
66
66
  a detailed implementation plan as a Markdown file in your plans directory.
67
+
67
68
  - **View:** You can open and read this file to understand the proposed
68
69
  changes.
69
70
  - **Edit:** Press `Ctrl+X` to open the plan directly in your configured
@@ -202,6 +202,7 @@ becoming too large and expensive.
202
202
  exchanges) allowed in a single session. Set to `-1` for unlimited (default).
203
203
 
204
204
  **Behavior when limit is reached:**
205
+
205
206
  - **Interactive mode:** The CLI shows an informational message and stops
206
207
  sending requests to the model. You must manually start a new session.
207
208
  - **Non-interactive mode:** The CLI exits with an error.
@@ -27,11 +27,13 @@ via a `.gemini/.env` file. See
27
27
  [Persisting Environment Variables](../get-started/authentication.mdx#persisting-environment-variables).
28
28
 
29
29
  - Use the project default path (`.gemini/system.md`):
30
+
30
31
  - `GEMINI_SYSTEM_MD=true` or `GEMINI_SYSTEM_MD=1`
31
32
  - The CLI reads `./.gemini/system.md` (relative to your current project
32
33
  directory).
33
34
 
34
35
  - Use a custom file path:
36
+
35
37
  - `GEMINI_SYSTEM_MD=/absolute/path/to/my-system.md`
36
38
  - Relative paths are supported and resolved from the current working
37
39
  directory.
@@ -64,6 +64,7 @@ and Cloud Logging.
64
64
  You must complete several setup steps before enabling Google Cloud telemetry.
65
65
 
66
66
  1. Set your Google Cloud project ID:
67
+
67
68
  - To send telemetry to a separate project:
68
69
 
69
70
  **macOS/Linux**
@@ -93,8 +94,10 @@ You must complete several setup steps before enabling Google Cloud telemetry.
93
94
  ```
94
95
 
95
96
  2. Authenticate with Google Cloud using one of these methods:
97
+
96
98
  - **Method A: Application Default Credentials (ADC)**: Use this method for
97
99
  service accounts or standard `gcloud` authentication.
100
+
98
101
  - For user accounts:
99
102
  ```bash
100
103
  gcloud auth application-default login
@@ -112,6 +115,7 @@ You must complete several setup steps before enabling Google Cloud telemetry.
112
115
  ```powershell
113
116
  $env:GOOGLE_APPLICATION_CREDENTIALS="C:\path\to\your\service-account.json"
114
117
  ```
118
+
115
119
  * **Method B: CLI Auth** (Direct export only): Simplest method for local
116
120
  users. Gemini CLI uses the same OAuth credentials you used for login. To
117
121
  enable this, set `useCliAuth: true` in your `.gemini/settings.json`:
@@ -133,6 +137,7 @@ You must complete several setup steps before enabling Google Cloud telemetry.
133
137
  > telemetry will be disabled.
134
138
 
135
139
  3. Ensure your account or service account has these IAM roles:
140
+
136
141
  - Cloud Trace Agent
137
142
  - Monitoring Metric Writer
138
143
  - Logs Writer
@@ -56,6 +56,7 @@ creating a "discovery file."
56
56
  }
57
57
  }
58
58
  ```
59
+
59
60
  - `port` (number, required): The port of the MCP server.
60
61
  - `workspacePath` (string, required): A list of all open workspace root paths,
61
62
  delimited by the OS-specific path separator (`:` for Linux/macOS, `;` for
@@ -187,6 +188,7 @@ The plugin **MUST** register an `openDiff` tool on its MCP server.
187
188
  - **Response (`CallToolResult`):** The tool **MUST** immediately return a
188
189
  `CallToolResult` to acknowledge the request and report whether the diff view
189
190
  was successfully opened.
191
+
190
192
  - On Success: If the diff view was opened successfully, the response **MUST**
191
193
  contain empty content (that is, `content: []`).
192
194
  - On Failure: If an error prevented the diff view from opening, the response
@@ -27,6 +27,7 @@ AI-generated code changes directly within your editor.
27
27
 
28
28
  - **Workspace context:** The CLI automatically gains awareness of your workspace
29
29
  to provide more relevant and accurate responses. This context includes:
30
+
30
31
  - The **10 most recently accessed files** in your workspace.
31
32
  - Your active cursor position.
32
33
  - Any text you have selected (up to a 16KB limit; longer selections will be
@@ -228,6 +229,7 @@ If you are using Gemini CLI within a sandbox, be aware of the following:
228
229
 
229
230
  - **Message:**
230
231
  `🔴 Disconnected: Failed to connect to IDE companion extension in [IDE Name]. Please ensure the extension is running. To install the extension, run /ide install.`
232
+
231
233
  - **Cause:** Gemini CLI could not find the necessary environment variables
232
234
  (`GEMINI_CLI_IDE_WORKSPACE_PATH` or `GEMINI_CLI_IDE_SERVER_PORT`) to connect
233
235
  to the IDE. This usually means the IDE companion extension is not running or
@@ -270,6 +272,7 @@ to connect using the provided PID.
270
272
 
271
273
  - **Message:**
272
274
  `🔴 Disconnected: Directory mismatch. Gemini CLI is running in a different location than the open workspace in [IDE Name]. Please run the CLI from one of the following directories: [List of directories]`
275
+
273
276
  - **Cause:** The CLI's current working directory is outside the workspace you
274
277
  have open in your IDE.
275
278
  - **Solution:** `cd` into the same directory that is open in your IDE and
@@ -284,6 +287,7 @@ to connect using the provided PID.
284
287
 
285
288
  - **Message:**
286
289
  `IDE integration is not supported in your current environment. To use this feature, run Gemini CLI in one of these supported IDEs: [List of IDEs]`
290
+
287
291
  - **Cause:** You are running Gemini CLI in a terminal or environment that is
288
292
  not a supported IDE.
289
293
  - **Solution:** Run Gemini CLI from the integrated terminal of a supported
@@ -59,6 +59,7 @@ You can view traces in the Jaeger UI for local development.
59
59
 
60
60
  This command configures your workspace for local telemetry and provides a
61
61
  link to the Jaeger UI (usually `http://localhost:16686`).
62
+
62
63
  - **Collector logs:** `~/.gemini/tmp/<projectHash>/otel/collector.log`
63
64
 
64
65
  2. **Run Gemini CLI:**
@@ -108,6 +109,7 @@ Trace for custom processing or routing.
108
109
 
109
110
  The script outputs links to view traces, metrics, and logs in the Google
110
111
  Cloud Console.
112
+
111
113
  - **Collector logs:** `~/.gemini/tmp/<projectHash>/otel/collector-gcp.log`
112
114
 
113
115
  3. **Run Gemini CLI:**
@@ -506,6 +506,7 @@ the dedicated [Custom Commands documentation](../cli/custom-commands.md).
506
506
  These shortcuts apply directly to the input prompt for text manipulation.
507
507
 
508
508
  - **Undo:**
509
+
509
510
  - **Keyboard shortcut:** Press **Ctrl+z** (Windows), **Cmd+z** (macOS), or
510
511
  **Alt+z** (Linux/WSL) to undo the last action in the input prompt.
511
512
 
@@ -519,6 +520,7 @@ At commands are used to include the content of files or directories as part of
519
520
  your prompt to Gemini. These commands include git-aware filtering.
520
521
 
521
522
  - **`@<path_to_file_or_directory>`**
523
+
522
524
  - **Description:** Inject the content of the specified file or files into your
523
525
  current prompt. This is useful for asking questions about specific code,
524
526
  text, or collections of files.
@@ -565,6 +567,7 @@ The `!` prefix lets you interact with your system's shell directly from within
565
567
  Gemini CLI.
566
568
 
567
569
  - **`!<shell_command>`**
570
+
568
571
  - **Description:** Execute the given `<shell_command>` using `bash` on
569
572
  Linux/macOS or `powershell.exe -NoProfile -Command` on Windows (unless you
570
573
  override `ComSpec`). Any output or errors from the command are displayed in
@@ -574,6 +577,7 @@ Gemini CLI.
574
577
  - `!git status` (executes `git status` and returns to Gemini CLI)
575
578
 
576
579
  - **`!` (Toggle shell mode)**
580
+
577
581
  - **Description:** Typing `!` on its own toggles shell mode.
578
582
  - **Entering shell mode:**
579
583
  - When active, shell mode uses a different coloring and a "Shell Mode