Change8

v0.21.0-nightly.20251219.70696e364

Gemini CLI
5 features2 fixes3 improvementsclithemestools

Summary

This release introduces several new capabilities, including TOML parsing for agents and enhanced context injection via a new core tool. Key fixes address an infinite loop during prompt completion and improve the sorting and display of command suggestions in the UI. Users will also benefit from improved robustness in model statistics display.

New Features

  • Added support for parsing agent configuration from TOML files.
  • Introduced a core tool that automatically adds all context from the core package.
  • Enabled support for friendly names and descriptions within hooks.
  • Added functionality to detect the background color of the environment.
  • Enabled passing additional environment variables to shell execution contexts.

Bug Fixes

  • Fixed an issue that caused an infinite loop during prompt completion when an error occurred.
  • Fixed UI behavior to show command suggestions even when there is a perfect match, and ensured suggestions are sorted correctly.

Improvements

  • Updated detailed model statistics display to use a new shared Table class for improved robustness.
  • Treated all HTTP 429 errors as retryableQuotaError.
  • Added "3.0" to the list of allowed sensitive keywords.

Related Documentation

Gemini CLI Documentation