← 返回更新日志

Gemini CLI v0.32.0-preview.0 预发布

2026-02-27 · GitHub 原文
## 主要变更 * feat(plan): 为计划模式添加集成测试 by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20214 * fix(acp): 根据规范更新认证握手流程 by @skeshive in https://github.com/google-gemini/gemini-cli/pull/19725 * feat(core): 实现稳健的 A2A 流重组并修复任务连续性 by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/20091 * feat(cli): 并行加载扩展 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/20229 * 将 maxAttempts 设置贯穿 Config 参数 by @kevinjwang1 in https://github.com/google-gemini/gemini-cli/pull/20239 * fix(cli): 在 setup-github 文件下载时跳过 404 错误 by @h30s in https://github.com/google-gemini/gemini-cli/pull/20287 * fix(cli): 在设置对话框中公开 model.name 设置以实现持久化 by @achaljhawar in https://github.com/google-gemini/gemini-cli/pull/19605 * docs: 移除遗留的 cmd 示例,改用 PowerShell by @scidomino in https://github.com/google-gemini/gemini-cli/pull/20323 * feat(core): 在工作区中启用模型引导 by @joshualitt in https://github.com/google-gemini/gemini-cli/pull/20343 * fix: 移除问题分类工作流设置 JSON 中的尾随逗号 by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/20265 * feat(core): 实现任务跟踪基础架构与服务 by @anj-s in https://github.com/google-gemini/gemini-cli/pull/19464 * test: 支持包含颜色信息的测试 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20220 * feat(core): 引入 Kind.Agent 用于子代理分类 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/20369 * v0.30.0 更新日志 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20252 * 更新更新日志工作流以拒绝夜间构建 by @g-samroberts in https://github.com/google-gemini/gemini-cli/pull/20248 * v0.31.0-preview.0 更新日志 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20249 * feat(cli): 隐藏工作区策略更新对话框并默认自动接受 by @Abhijit-2592 in https://github.com/google-gemini/gemini-cli/pull/20351 * feat(core): 将 grep_search 的 include 参数重命名为 include_pattern by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/20328 * feat(plan): 支持在外部编辑器中打开和修改计划 by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20348 * feat(cli): 实现交互式 shell 自动补全 by @mrpmohiburrahman in https://github.com/google-gemini/gemini-cli/pull/20082 * fix(core): 允许在计划模式下使用 /memory add by @Jefftree in https://github.com/google-gemini/gemini-cli/pull/20353 * feat(core): 将 HTTP 499 添加到可重试错误并映射到 RetryableQuotaError by @bdmorgan in https://github.com/google-gemini/gemini-cli/pull/20432 * feat(core): 启用通才代理 by @joshualitt in https://github.com/google-gemini/gemini-cli/pull/19665 * 更新 TableRenderer.test.tsx 中的测试以使用 SVG 快照 by @devr0306 in https://github.com/google-gemini/gemini-cli/pull/20450 * 根据 b/485167538 重构 GitHub Action by @google-admin in https://github.com/google-gemini/gemini-cli/pull/19443 * fix(github): 解决 #19443 导致的 actionlint 和 yamllint 回归问题 by @jerop in https://github.com/google-gemini/gemini-cli/pull/20467 * fix: 操作变量使用 by @galz10 in https://github.com/google-gemini/gemini-cli/pull/20492 * feat(core): 改进 A2A 内容提取 by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/20487 * fix(cli): 为所有身份验证类型支持配额错误回退 by @sehoon38 in https://github.com/google-gemini/gemini-cli/pull/20475 * fix(core): 刷新仅工具调用响应的转录,以确保 BeforeTool 钩子看到完整状态 by @krishdef7 in https://github.com/google-gemini/gemini-cli/pull/20419 * feat(plan): 根据任务复杂性调整计划工作流 by @jerop in https://github.com/google-gemini/gemini-cli/pull/20465 * fix: 防止终端关闭时孤立进程占用 100% CPU by @yuvrajangadsingh in https://github.com/google-gemini/gemini-cli/pull/16965 * feat(core): 增加获取超时并修复 [object Object] 错误字符串化 by @bdmorgan in https://github.com/google-gemini/gemini-cli/pull/20441 * [Gemma x Gemini CLI] 在复合模型分类器策略中添加使用 LiteRT-LM 填充的试验性 Gemma 路由器 by @sidwan02 in https://github.com/google-gemini/gemini-cli/pull/17231 * docs(plan): 更新关于在计划批准期间支持编辑计划文件的文档 by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20452 * test(cli): 修复易失败的 ToolResultDisplay 溢出测试 by @jwhelangoog in https://github.com/google-gemini/gemini-cli/pull/20518 * ui(cli): 缩短 Ctrl+O 提示长度 by @jwhelangoog in https://github.com/google-gemini/gemini-cli/pull/20490 * fix(ui): 修正样式化表格宽度计算 by @devr0306 in https://github.com/google-gemini/gemini-cli/pull/20042 * 避免过度激进的取消转义 by @scidomino in https://github.com/google-gemini/gemini-cli/pull/20520 * feat(telemetry) 使用更多属性检测跟踪并使其对 OTEL 用户可用 by @heaventourist in https://github.com/google-gemini/gemini-cli/pull/20237 * 在扩展中支持策略引擎 by @chrstnb in https://github.com/google-gemini/gemini-cli/pull/20049 * 文档:更新服务条款和常见问题 by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/20488 * 修复搜索的底部边框渲染并添加回归测试 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20517 * fix(core): 为所有用户将重试逻辑应用于 CodeAssistServer by @bdmorgan in https://github.com/google-gemini/gemini-cli/pull/20507 * 修复扩展 MCP 服务器环境变量加载 by @chrstnb in https://github.com/google-gemini/gemini-cli/pull/20374 * feat(ui): 在截断内容消息中添加 'ctrl+o' 提示 by @jerop in https://github.com/google-gemini/gemini-cli/pull/20529 * 修复再次按 ctrl-O 以折叠的闪烁提示 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20414 * fix(cli): 在模型思考或用户输入提示时隐藏快捷键提示 + 添加防抖以避免闪烁 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/19389 * feat(plan): 更新计划工作流以鼓励使用选项描述进行多选 by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20491 * refactor(core,cli): 从配置读取 useAlternateBuffer by @psinha40898 in https://github.com/google-gemini/gemini-cli/pull/20346 * fix(cli): 确保在备用缓冲区模式下对话框保持滚动到底部 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20527 * fix(core): 恢复策略到用户空间的自动保存 by @Abhijit-2592 in https://github.com/google-gemini/gemini-cli/pull/20531 * 降低不可靠测试的优先级 by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20571 * fix(core): 处理代码辅助 API 中的可选响应字段 by @sehoon38 in https://github.com/google-gemini/gemini-cli/pull/20345 * fix(cli): 在加载短语关闭时保留思想摘要 by @LyalinDotCom in https://github.com/google-gemini/gemini-cli/pull/20497 * feat(cli): 添加临时标志以禁用工作区策略 by @Abhijit-2592 in https://github.com/google-gemini/gemini-cli/pull/20523 * 在个人 fork 上禁用昂贵和计划的工作流 by @dewitt in https://github.com/google-gemini/gemini-cli/pull/20449 * 将 markdown 解析逻辑移至单独的实用文件 by @devr0306 in https://github.com/google-gemini/gemini-cli/pull/20526 * fix(plan): 防止代理在 shell 命令确认时使用 ask_user by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20504 * fix(core): 为代码辅助流式请求禁用重试 by @sehoon38 in https://github.com/google-gemini/gemini-cli/pull/20561 * feat(billing): 实现 G1 AI 信用超额流程并包含计费遥测 by @gsquared94 in https://github.com/google-gemini/gemini-cli/pull/18590 * feat: 改进错误消息 by @gsquared94 in https://github.com/google-gemini/gemini-cli/pull/20577 * fix(ui): 在 AskUser 对话框中导航选项时保持展开状态 by @jerop in https://github.com/google-gemini/gemini-cli/pull/20559 * fix(cli): 防止子代理工具调用泄露到 UI by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/20580 * fix(cli): Shell 自动补全优化 by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20411 * v0.31.0-preview.1 更新日志 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20590 * 添加斜杠命令以将行为评估提升为 CI 阻塞 by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20575 * v0.30.1 更新日志 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20589 * 添加低/完整 CLI 错误详细程度模式以获得更简洁的 UI by @LyalinDotCom in https://github.com/google-gemini/gemini-cli/pull/20399 * 在草稿 PR 上禁用 Gemini PR 审查 by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20362 * 文档:常见问题更新 by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/20585 * fix(core): 减少侵入性 MCP 错误并去重诊断信息 by @spencer426 in https://github.com/google-gemini/gemini-cli/pull/20232 * docs: 修复安装指南中的拼写错误 by @campox747 in https://github.com/google-gemini/gemini-cli/pull/20579 * 将稳定测试提升为 CI 阻塞 by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20581 * feat(core): 为 Kind.Agent 工具启用连续并行准入 by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/20583 * 将 import/no-duplicates 强制为错误 by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/19797 * fix: 在 sdk 和 test-utils 包中合并重复导入 (1/4) by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/19777 * fix: 在 a2a-server 包中合并重复导入 (2/4) by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/19781 ## 新贡献者 * @achaljhawar 在 https://github.com/google-gemini/gemini-cli/pull/19605 中首次贡献 * @mrpmohiburrahman 在 https://github.com/google-gemini/gemini-cli/pull/20082 中首次贡献 * @Jefftree 在 https://github.com/google-gemini/gemini-cli/pull/20353 中首次贡献 * @krishdef7 在 https://github.com/google-gemini/gemini-cli/pull/20419 中首次贡献 * @sidwan02 在 https://github.com/google-gemini/gemini-cli/pull/17231 中首次贡献 * @heaventourist 在 https://github.com/google-gemini/gemini-cli/pull/20237 中首次贡献 * @campox747 在 https://github.com/google-gemini/gemini-cli/pull/20579 中首次贡献 **完整更新日志**: https://github.com/google-gemini/gemini-cli/compare/v0.31.0-preview.3...v0.32.0-preview.0