Gemini CLI enforces server authentication and fixes session resumption

The preview release tightens server security and improves cross-platform file and session handling for developers using the command-line tool.

Reported · Source · github.com

Gemini CLI v0.70.0 fixes by component
a2a-server
Enforces bearer token authentication and request input validation
CLI session resumption
Resumes most recently active session instead of most recently started
CLI Windows paths
Expands home-relative paths using tilde and backslash
Core package
Handles nested .gitignore negations under dir/ patterns
github.com

According to the Gemini CLI release notes, the update enforces bearer token authentication and request input validation in the a2a-server component. The command-line interface now resumes the most recently active session rather than the most recently started one.

The release also fixes Windows path handling and file filtering. The CLI now expands Windows home-relative paths that use a tilde and backslash, and the core package handles nested .gitignore negations under directory patterns.