Change8

v0.28.0

Gemini CLI
14 features16 fixes13 improvementscliextensionsmcpthemestools

Summary

This release introduces several new capabilities, including the /prompt-suggest command and support for custom themes in extensions. Key fixes address issues with streaming hook warnings, credential exposure, and Vim mode usability. Users will also benefit from improved startup information display and updated undo/redo keybindings.

New Features

  • Added the /prompt-suggest slash command for generating prompt suggestions.
  • Enabled activity logging for non-interactive mode and evaluations.
  • Added support for custom deny messages in policy rules.
  • Added support for custom themes in extensions.
  • Updated undo/redo keybindings to Cmd+Z/Alt+Z and Shift+Cmd+Z/Shift+Alt+Z.
  • Display user identity (auth, email, tier) on startup.
  • Show hooksConfig.enabled status in the settings dialog.
  • Added support for the positron IDE.
  • Added support for the GOOGLE_GENAI_API_VERSION environment variable.
  • Implemented interactive and non-interactive consent flows for OAuth.
  • Implemented dynamic policy registration for subagents.
  • Preserved End-Of-Line (EOL) characters in files during operations.
  • Created a generic Checklist component and refactored the Todo component.
  • Added an npx smoke test to verify tool installability.

Bug Fixes

  • Fixed verification of audio/video MIME types using content checks.
  • Suppressed duplicate hook failure warnings that occurred during streaming.
  • Fixed unintended credential exposure to MCP Servers.
  • Fixed persistence and restoration of workspace directories upon session resume.
  • Fixed wrapping issues caused by fixed-width characters in the UX.
  • Fixed activity log directory path in evals to use an absolute path.
  • Fixed listing of installed extensions when an update target is missing.
  • Fixed handling of PAT tokens and credentials during git remote URL parsing.
  • Fixed error display by using returnDisplay for error results.
  • Fixed detection of 'bun' as a package manager.
  • Prevented a ghost border from appearing for the AskUserDialog.
  • Resolved an error thrown when processing sensitive values.
  • Fixed an issue where GIT_CONFIG_GLOBAL was not used to isolate the shadow git repo configuration.
  • Fixed the Cloud Shell authentication setting key.
  • Fixed the HalfLinePaddedBox rendering issue in screenreader mode.
  • Fixed Vim mode issues, ensuring it starts in insert mode and unblocking F12 and ctrl-X.

Improvements

  • Aligned hooks enable/disable behavior with skills and improved completion.
  • Included authentication method information in the /bug report command.
  • Added an email privacy note to the bug_report template.
  • Wrapped text to next lines in the /oncall command output.
  • Renamed the advanced features admin setting.
  • Made the breaking value optional in extension configuration non-optional.
  • Fixed issues related to the docs-writer skill.
  • Isolated and cleaned up truncated tool outputs.
  • Updated cell border color and added a test file for table rendering.
  • Changed the height for the ToolConfirmationQueue.
  • Updated truncate dots to be shorter in tables.
  • Optimized token calculation and added support for multimodal tool responses.
  • Removed the legacy tools.enableHooks setting during hooks refactoring.

Related Documentation

Gemini CLI Documentation