← 返回更新日志

Gemini CLI v0.65.0

2026-10-20 · GitHub 原文
## 变更内容 * fix(cli):在不受信任的文件夹中强制将工作区设置设为只读,由 @jvargassanchez-dot 提交:https://github.com/google-gemini/gemini-cli/pull/29583 * fix(core):恢复会话时避免产生重复的工具响应轮次,由 @diegogodinezr 提交:https://github.com/google-gemini/gemini-cli/pull/29618 * fix(core):防止快速退出时删除已恢复的会话历史记录(#29198),由 @villahernandez-coder 提交:https://github.com/google-gemini/gemini-cli/pull/29584 * v0.64.0-preview.0 的变更日志,由 @gemini-cli-robot 提交:https://github.com/google-gemini/gemini-cli/pull/29656 * v0.63.0 的变更日志,由 @gemini-cli-robot 提交:https://github.com/google-gemini/gemini-cli/pull/29659 * fix(core):使 OAuth 回调的 iss 参数验证与 RFC 9207 元数据保持一致,由 @luisfelipe-alt 提交:https://github.com/google-gemini/gemini-cli/pull/29616 * fix(cli):防止使用 Ctrl+O 展开时不必要地清空终端和重置滚动位置,由 @jesussamuel-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29640 * chore(release):将版本提升至 0.65.0-nightly.20261006.gfb972b2f8,由 @gemini-cli-robot 提交:https://github.com/google-gemini/gemini-cli/pull/29657 * fix(ci):在 unassign-inactive-assignees 工作流中添加缺失的循环,由 @ugorla-dev 提交:https://github.com/google-gemini/gemini-cli/pull/29609 * fix(core):强制执行终止用户轮次不变量并规范化请求内容,由 @luisfelipe-alt 提交:https://github.com/google-gemini/gemini-cli/pull/29612 * `feat(telemetry):支持在遥测配置中自定义 OTLP 标头`,由 @jesussamuel-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29641 * fix(auth):防止无限验证和 OAuth 重试循环,由 @villahernandez-coder 提交:https://github.com/google-gemini/gemini-cli/pull/29655 * fix(cli):在 fetchJson 中处理 JSON 解析错误和响应流错误,由 @jesussamuel-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29658 * fix(core):在 truncateString 中保留行终止符,由 @diegogodinezr 提交:https://github.com/google-gemini/gemini-cli/pull/29673 * fix(vscode-ide-companion):使 IdeServer.stop() 在 MCP 会话仍处于打开状态时也能完成,由 @elberthc-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29674 * fix(core):在工具结果显示中保留 ask_user 的问题文本,由 @elberthc-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29677 * fix(core):消除对不受信任命令标志和复合循环的误报,由 @DavidAPierce 提交:https://github.com/google-gemini/gemini-cli/pull/29672 * fix(cli):重新选择 Google 登录时清除缓存的凭据,由 @urielefrenvirtusa 提交:https://github.com/google-gemini/gemini-cli/pull/29643 * fix(cli):解决交互模式下按 Enter 键时卡死的问题(#23297),由 @elberthc-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29476 * perf(core):优化忽略规则过滤并启用子树剪枝(#29077),由 @amelidev 提交:https://github.com/google-gemini/gemini-cli/pull/29582 * fix(a2a-server):在顺序批处理中将工具拒绝限定于当前活动调用,由 @jvargassanchez-dot 提交:https://github.com/google-gemini/gemini-cli/pull/29683 * fix(cli):对于 @<directory> 引用,跳过预先递归读取文件,由 @jvargassanchez-dot 提交:https://github.com/google-gemini/gemini-cli/pull/29617 * fix(cli):当某个扩展未通过允许列表检查时,继续加载其他扩展,由 @jesussamuel-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29720 * fix(cli):修正展开 Unicode 字符时反向搜索的高亮索引,由 @diegogodinezr 提交:https://github.com/google-gemini/gemini-cli/pull/29699 * fix(core):将仅包含空白字符的 UTF-16 和 UTF-32 文件视为空文件,由 @jesussamuel-byte 提交:https://github.com/google-gemini/gemini-cli/pull/29722 * fix(cli):在终端宽度发生变化时恢复带防抖处理的静态 UI 刷新,由 @jvargassanchez-dot 提交:https://github.com/google-gemini/gemini-cli/pull/29644 * fix(cli):防止快速按下 Ctrl-C 中断时造成会话污染,由 @villahernandez-coder 提交:https://github.com/google-gemini/gemini-cli/pull/29728 **完整变更日志**:https://github.com/google-gemini/gemini-cli/compare/v0.64.0...v0.65.0