## 主要变更
* 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
## What's Changed
* feat(plan): add integration tests for plan mode by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20214
* fix(acp): update auth handshake to spec by @skeshive in https://github.com/google-gemini/gemini-cli/pull/19725
* feat(core): implement robust A2A streaming reassembly and fix task continuity by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/20091
* feat(cli): load extensions in parallel by @scidomino in https://github.com/google-gemini/gemini-cli/pull/20229
* Plumb the maxAttempts setting through Config args by @kevinjwang1 in https://github.com/google-gemini/gemini-cli/pull/20239
* fix(cli): skip 404 errors in setup-github file downloads by @h30s in https://github.com/google-gemini/gemini-cli/pull/20287
* fix(cli): expose model.name setting in settings dialog for persistence by @achaljhawar in https://github.com/google-gemini/gemini-cli/pull/19605
* docs: remove legacy cmd examples in favor of powershell by @scidomino in https://github.com/google-gemini/gemini-cli/pull/20323
* feat(core): Enable model steering in workspace. by @joshualitt in https://github.com/google-gemini/gemini-cli/pull/20343
* fix: remove trailing comma in issue triage workflow settings json by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/20265
* feat(core): implement task tracker foundation and service by @anj-s in https://github.com/google-gemini/gemini-cli/pull/19464
* test: support tests that include color information by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20220
* feat(core): introduce Kind.Agent for sub-agent classification by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/20369
* Changelog for v0.30.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20252
* Update changelog workflow to reject nightly builds by @g-samroberts in https://github.com/google-gemini/gemini-cli/pull/20248
* Changelog for v0.31.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20249
* feat(cli): hide workspace policy update dialog and auto-accept by default by @Abhijit-2592 in https://github.com/google-gemini/gemini-cli/pull/20351
* feat(core): rename grep_search include parameter to include_pattern by @SandyTao520 in https://github.com/google-gemini/gemini-cli/pull/20328
* feat(plan): support opening and modifying plan in external editor by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20348
* feat(cli): implement interactive shell autocompletion by @mrpmohiburrahman in https://github.com/google-gemini/gemini-cli/pull/20082
* fix(core): allow /memory add to work in plan mode by @Jefftree in https://github.com/google-gemini/gemini-cli/pull/20353
* feat(core): add HTTP 499 to retryable errors and map to RetryableQuotaError by @bdmorgan in https://github.com/google-gemini/gemini-cli/pull/20432
* feat(core): Enable generalist agent by @joshualitt in https://github.com/google-gemini/gemini-cli/pull/19665
* Updated tests in TableRenderer.test.tsx to use SVG snapshots by @devr0306 in https://github.com/google-gemini/gemini-cli/pull/20450
* Refactor Github Action per b/485167538 by @google-admin in https://github.com/google-gemini/gemini-cli/pull/19443
* fix(github): resolve actionlint and yamllint regressions from #19443 by @jerop in https://github.com/google-gemini/gemini-cli/pull/20467
* fix: action var usage by @galz10 in https://github.com/google-gemini/gemini-cli/pull/20492
* feat(core): improve A2A content extraction by @adamfweidman in https://github.com/google-gemini/gemini-cli/pull/20487
* fix(cli): support quota error fallbacks for all authentication types by @sehoon38 in https://github.com/google-gemini/gemini-cli/pull/20475
* fix(core): flush transcript for pure tool-call responses to ensure BeforeTool hooks see complete state by @krishdef7 in https://github.com/google-gemini/gemini-cli/pull/20419
* feat(plan): adapt planning workflow based on complexity of task by @jerop in https://github.com/google-gemini/gemini-cli/pull/20465
* fix: prevent orphaned processes from consuming 100% CPU when terminal closes by @yuvrajangadsingh in https://github.com/google-gemini/gemini-cli/pull/16965
* feat(core): increase fetch timeout and fix [object Object] error stringification by @bdmorgan in https://github.com/google-gemini/gemini-cli/pull/20441
* [Gemma x Gemini CLI] Add an Experimental Gemma Router that uses a LiteRT-LM shim into the Composite Model Classifier Strategy by @sidwan02 in https://github.com/google-gemini/gemini-cli/pull/17231
* docs(plan): update documentation regarding supporting editing of plan files during plan approval by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20452
* test(cli): fix flaky ToolResultDisplay overflow test by @jwhelangoog in https://github.com/google-gemini/gemini-cli/pull/20518
* ui(cli): reduce length of Ctrl+O hint by @jwhelangoog in https://github.com/google-gemini/gemini-cli/pull/20490
* fix(ui): correct styled table width calculations by @devr0306 in https://github.com/google-gemini/gemini-cli/pull/20042
* Avoid overaggressive unescaping by @scidomino in https://github.com/google-gemini/gemini-cli/pull/20520
* feat(telemetry) Instrument traces with more attributes and make them available to OTEL users by @heaventourist in https://github.com/google-gemini/gemini-cli/pull/20237
* Add support for policy engine in extensions by @chrstnb in https://github.com/google-gemini/gemini-cli/pull/20049
* Docs: Update to Terms of Service & FAQ by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/20488
* Fix bottom border rendering for search and add a regression test. by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20517
* fix(core): apply retry logic to CodeAssistServer for all users by @bdmorgan in https://github.com/google-gemini/gemini-cli/pull/20507
* Fix extension MCP server env var loading by @chrstnb in https://github.com/google-gemini/gemini-cli/pull/20374
* feat(ui): add 'ctrl+o' hint to truncated content message by @jerop in https://github.com/google-gemini/gemini-cli/pull/20529
* Fix flicker showing message to press ctrl-O again to collapse. by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20414
* fix(cli): hide shortcuts hint while model is thinking or the user has typed a prompt + add debounce to avoid flicker by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/19389
* feat(plan): update planning workflow to encourage multi-select with descriptions of options by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20491
* refactor(core,cli): useAlternateBuffer read from config by @psinha40898 in https://github.com/google-gemini/gemini-cli/pull/20346
* fix(cli): ensure dialogs stay scrolled to bottom in alternate buffer mode by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20527
* fix(core): revert auto-save of policies to user space by @Abhijit-2592 in https://github.com/google-gemini/gemini-cli/pull/20531
* Demote unreliable test. by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20571
* fix(core): handle optional response fields from code assist API by @sehoon38 in https://github.com/google-gemini/gemini-cli/pull/20345
* fix(cli): keep thought summary when loading phrases are off by @LyalinDotCom in https://github.com/google-gemini/gemini-cli/pull/20497
* feat(cli): add temporary flag to disable workspace policies by @Abhijit-2592 in https://github.com/google-gemini/gemini-cli/pull/20523
* Disable expensive and scheduled workflows on personal forks by @dewitt in https://github.com/google-gemini/gemini-cli/pull/20449
* Moved markdown parsing logic to a separate util file by @devr0306 in https://github.com/google-gemini/gemini-cli/pull/20526
* fix(plan): prevent agent from using ask_user for shell command confirmation by @Adib234 in https://github.com/google-gemini/gemini-cli/pull/20504
* fix(core): disable retries for code assist streaming requests by @sehoon38 in https://github.com/google-gemini/gemini-cli/pull/20561
* feat(billing): implement G1 AI credits overage flow with billing telemetry by @gsquared94 in https://github.com/google-gemini/gemini-cli/pull/18590
* feat: better error messages by @gsquared94 in https://github.com/google-gemini/gemini-cli/pull/20577
* fix(ui): persist expansion in AskUser dialog when navigating options by @jerop in https://github.com/google-gemini/gemini-cli/pull/20559
* fix(cli): prevent sub-agent tool calls from leaking into UI by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/20580
* fix(cli): Shell autocomplete polish by @jacob314 in https://github.com/google-gemini/gemini-cli/pull/20411
* Changelog for v0.31.0-preview.1 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20590
* Add slash command for promoting behavioral evals to CI blocking by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20575
* Changelog for v0.30.1 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/20589
* Add low/full CLI error verbosity mode for cleaner UI by @LyalinDotCom in https://github.com/google-gemini/gemini-cli/pull/20399
* Disable Gemini PR reviews on draft PRs. by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20362
* Docs: FAQ update by @jkcinouye in https://github.com/google-gemini/gemini-cli/pull/20585
* fix(core): reduce intrusive MCP errors and deduplicate diagnostics by @spencer426 in https://github.com/google-gemini/gemini-cli/pull/20232
* docs: fix spelling typos in installation guide by @campox747 in https://github.com/google-gemini/gemini-cli/pull/20579
* Promote stable tests to CI blocking. by @gundermanc in https://github.com/google-gemini/gemini-cli/pull/20581
* feat(core): enable contiguous parallel admission for Kind.Agent tools by @abhipatel12 in https://github.com/google-gemini/gemini-cli/pull/20583
* Enforce import/no-duplicates as error by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/19797
* fix: merge duplicate imports in sdk and test-utils packages (1/4) by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/19777
* fix: merge duplicate imports in a2a-server package (2/4) by @Nixxx19 in https://github.com/google-gemini/gemini-cli/pull/19781
## New Contributors
* @achaljhawar made their first contribution in https://github.com/google-gemini/gemini-cli/pull/19605
* @mrpmohiburrahman made their first contribution in https://github.com/google-gemini/gemini-cli/pull/20082
* @Jefftree made their first contribution in https://github.com/google-gemini/gemini-cli/pull/20353
* @krishdef7 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/20419
* @sidwan02 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/17231
* @heaventourist made their first contribution in https://github.com/google-gemini/gemini-cli/pull/20237
* @campox747 made their first contribution in https://github.com/google-gemini/gemini-cli/pull/20579
**Full Changelog**: https://github.com/google-gemini/gemini-cli/compare/v0.31.0-preview.3...v0.32.0-preview.0