← 返回更新日志

Gemini CLI v0.31.0

2026-02-27 · GitHub 原文
## 更新内容 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19240 中实现:使用范围读取、有限搜索并改进模糊编辑功能 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19266 中修复:底部边框颜色问题 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19363 中修复:版本说明生成器 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19172 中新增测试:为工具输出掩码添加行为测试 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19377 中更新文档:在 GEMINI.md 中明确预检说明 * 由 @Mag1ck 在 https://github.com/google-gemini/gemini-cli/pull/16285 中新增功能:在退出时添加 `gemini --resume` 提示 * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/19017 中优化:改进 `ask_user` 对话框的高度计算 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/19300 中新增功能:添加 `Alt+D` 快捷键以向前删除单词 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19455 中禁用:失败的评估测试 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/19369 中修复:在 `ToolActionsContext` 中支持遗留的 `onConfirm` 回调 * 由 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/19367 中更新依赖:将 `tar` 从 7.5.7 升级至 7.5.8 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19439 中修复:当实验性计划设置未启用但启动时批准模式为计划时,允许安全回退 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19460 中新增:添加显式的 `color-convert` 依赖 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/18936 中新增功能:将 `devtools` 包迁移到单一代码库中 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19438 中修复:阐明计划模式的约束和退出机制 * 由 @LyalinDotCom 在 https://github.com/google-gemini/gemini-cli/pull/19056 中新增功能:添加 macOS 运行事件通知(仅交互模式) * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/19361 中生成:v0.29.0 的更新日志 * 由 @devr0306 在 https://github.com/google-gemini/gemini-cli/pull/19014 中修复:防止向历史记录添加空条目 * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/19364 中生成:v0.30.0-preview.0 的更新日志 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19046 中新增功能:为核心添加对 MCP 进度更新的支持 * 由 @godwiniheuwa 在 https://github.com/google-gemini/gemini-cli/pull/18429 中修复:在写入对话文件前确保目录存在 * 由 @imadraude 在 https://github.com/google-gemini/gemini-cli/pull/17198 中修复:将 `ToolGroupMessage` 中的上边距移至下边距 * 由 @skyvanguard 在 https://github.com/google-gemini/gemini-cli/pull/17393 中修复:将未知的斜杠命令视为常规输入而非显示错误 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/19307 中新增实验性功能:进行中的转向提示(第2部分) * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19467 中更新文档:为计划模式命令添加文档 * 由 @syvb 在 https://github.com/google-gemini/gemini-cli/pull/18858 中修复:当模式类似 `ripgrep` 标志时,`ripgrep` 失败的问题 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19451 中修复:禁用 `Shift+Tab` 上的自动补全以保留模式循环 * 由 @garrettsparks 在 https://github.com/google-gemini/gemini-cli/pull/17332 中修改:对 OAuth 发现使用 `issuer` 而非 `authorization_endpoint` * 由 @jasmeetsb 在 https://github.com/google-gemini/gemini-cli/pull/19246 中新增功能:在 `@` 自动补全建议中包含 `/dir add` 目录 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/19453 中新增管理功能:管理员设置仅在 `adminControlsApplicable = true` 时应用,且获取错误应为致命错误 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19484 中格式化:`strict-development-rules` 命令 * 由 @spencer426 在 https://github.com/google-gemini/gemini-cli/pull/19478 中新增功能:集中兼容性检查并添加 TrueColor 检测 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19479 中清理:移除未使用的文件并更新索引和侧边栏 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19044 中迁移:核心渲染工具转为在渲染循环中使用 `xterm.js` * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/19496 中生成:v0.30.0-preview.1 的更新日志 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19502 中构建:用用户空间包替换已弃用的内置 `punycode` * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19508 中尝试修复:尝试修复 React 错误 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19494 中修复:间距问题 * 由 @abhiasap 在 https://github.com/google-gemini/gemini-cli/pull/18982 中修复:确保用户拒绝操作会更新工具结果以用于遥测 * 由 @Mervap 在 https://github.com/google-gemini/gemini-cli/pull/18898 中修复:初始化配置 (#18897) * 由 @yuvrajangadsingh 在 https://github.com/google-gemini/gemini-cli/pull/17981 中修复:为 IDE 获取失败添加错误日志记录 * 由 @Mervap 在 https://github.com/google-gemini/gemini-cli/pull/18891 中新增功能:支持 `set_mode` 接口 (#18890) * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/18443 中修复:基于工作区的稳健 IDE 连接发现 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19511 中稳定:使 Windows 测试稳定 * 由 @pdHaku0 在 https://github.com/google-gemini/gemini-cli/pull/17955 中修复:当没有 UI 监听器时避免工具确认超时 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/19474 中格式化:Markdown 文件 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/19488 中新增功能:添加 `experimental.useOSC52Copy` 设置 * 由 @LyalinDotCom 在 https://github.com/google-gemini/gemini-cli/pull/19347 中新增功能:用枚举设置替换加载短语布尔值 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19500 中更新:调整技能以适应生成的结果 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19499 中修复:消息过大问题 * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/19487 中修复:防止在 `auto-saved.toml` 中出现重复的工具批准条目 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19555 中修复:当 `os.cpus()` 为空时,防止 `ClearcutLogger` 崩溃 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/19556 中重构:改进封装并移除未使用的导出 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19434 中回滚:回滚“向设置和扩展添加通用可搜索列表...” * 由 @yunaseoul 在 https://github.com/google-gemini/gemini-cli/pull/19565 中修复:改进遥测的错误类型提取 * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/19529 中修复:移除 Composer 中的额外内边距 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19577 中新增功能:支持配置自定义计划存储目录 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19503 中迁移:将文件移至 `resources` 或 `references` 文件夹 * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/18682 中新增功能:实现项目级策略支持 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/18791 中新增功能:为只读工具实现并行函数调用 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19576 中更新技能:添加 `pr-address-comments` 技能以处理 PR 反馈 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19180 中重构 SDK:引入基于会话的架构 * 由 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/19593 中修复 CI:为问题分类工作流添加回退 JSON 提取 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/19476 中新增功能:为 Gemini 3 优化编辑和写文件工具的架构 * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/19585 中生成:v0.30.0-preview.3 的更新日志 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19570 中修复:在 YOLO 模式下排除 `EnterPlanMode` 工具 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/18880 中更新:解决构建警告并更新依赖 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/18839 中新增 UI 功能:为斜杠命令添加来源指示器 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19644 中更新文档:优化计划模式文档结构和流程 * 由 @jkcinouye 在 https://github.com/google-gemini/gemini-cli/pull/19568 中更新文档:更新关于 Gemini 3.1 的发布信息 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/19567 中修复安全:对 `web_fetch` 工具实施速率限制以缓解通过提示注入进行的 DDoS 攻击 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19029 中新增:`/extensions explore` 命令的初始实现 * 由 @maximus12793 在 https://github.com/google-gemini/gemini-cli/pull/19038 中修复:对反应式 OAuth 流程使用 `discoverOAuthFromWWWAuthenticate` (#18760) * 由 @alisa-alisa 在 https://github.com/google-gemini/gemini-cli/pull/19482 中更新:搜索功能 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/19659 中新增功能:添加对数字小键盘 SS3 序列的支持 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/19492 中新增功能:通过配置发现和安全警告增强文件夹信任 * 由 @spencer426 在 https://github.com/google-gemini/gemini-cli/pull/19584 中改进 UI:通过关闭和显示计数限制优化启动警告体验 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/19548 中新增 A2A 功能:添加 API 密钥身份验证提供程序 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19670 中发送遥测:随 `ACCEPT_FILE` 遥测发送已接受/移除的行 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19676 中新增模型功能:支持 Gemini 3.1 Pro Preview 及相关修复 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/19433 中新增计划功能:在计划模式中强制执行只读约束 * 由 @spencer426 在 https://github.com/google-gemini/gemini-cli/pull/19562 中修复:允许在 `Enter` 键上提交完全匹配的 `@` 路径补全 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19642 中修复:将 `503 Service Unavailable` 视为可重试的配额错误 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19595 中更新:更新 `sidebar.json` 以允许顶部导航选项卡 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/19026 中修复安全:从终端输出中剥离欺骗性 Unicode 字符 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19691 中修复:解决 Gemini CLI 中的 `'input.on' is not a function` 错误 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/19695 中回滚:回滚“为斜杠命令添加来源指示器”的 UI 功能 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/19288 中修复安全:在工具确认中实现欺骗性 URL 检测和披露 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/19689 中修复:在无头模式下恢复身份验证同意并添加单元测试 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19706 中修复:修复 `code_assist` 文件夹中的不安全断言 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19687 中新增功能:使 JetBrains 警告更具体 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19685 中修复:扩展对话框的用户体验优化 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19726 中修复:在对话框中使用 `getDisplayString` 进行手动模型选择 * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/19707 中新增策略功能:将“始终允许”持久化重新用于工作区级别 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19741 中修复:重新启用 CLI 横幅 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19736 中禁止:禁止并抑制不安全的赋值 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/19526 中新增功能:将 `read_file` 迁移为基于 1 的 `start_line`/`end_line` 参数 * 由 @jwhelangoog 在 https://github.com/google-gemini/gemini-cli/pull/19010 中改进功能:为标准和备用屏幕缓冲区(ASB)模式均改进 `CTRL+O` 体验 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19574 中利用:流水线化 `grep_search` -> `read_file` 以消除轮次 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/19750 中重构:移除错误工具中的不安全类型断言(第 1.1 阶段) * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19767 中禁止:禁止不安全的返回 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/19698 中修复:从恢复历史记录中过滤子代理会话 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/19844 中更新代码规范:修复运行 `npm run lint` 时看到的代码规范错误 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19861 中新增功能:从 Code Assist 身份验证中移除不必要的登录措辞 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19847 中修复:当按批准模式分时报告负时间份额时修复计划 * 由 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/19867 中修复:在配额访问检查中允许任何预览模型 * 由 @nsalerni 在 https://github.com/google-gemini/gemini-cli/pull/19870 中修复:防止在 `replace`/`write_file` 中遗漏占位符删除 * 由 @Shivangisharma4 在 https://github.com/google-gemini/gemini-cli/pull/19890 中修复:为编辑工具添加唯一性保护 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19974 中重构配置:从设置中移除 `enablePromptCompletion` * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/19972 中重构核心:将会话转换逻辑移至核心 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19891 中修复:在重启时持久化手动模型选择 (#19864) * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19949 中修复:增加默认重试次数并为配额错误添加退避机制 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19991 中新增功能:为 Gemini 3.1 添加策略链支持 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19794 中更新:更新命令参考和 `/stats` 命令 * 由 @owenofbrien 在 https://github.com/google-gemini/gemini-cli/pull/19905 中修复:解决非交互模式下的静默失败问题 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19658 中修复:允许在 Windows 上进行计划模式写入并修复提示路径 * 由 @reyyanxahmed 在 https://github.com/google-gemini/gemini-cli/pull/19668 中修复:防止 OAuth 服务器在意外请求时崩溃 * 由 @sripasg 在 https://github.com/google-gemini/gemini-cli/pull/19547 中新增功能:将工具种类映射到显式的 `ACP.ToolKind` 值并更新测试 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/20047 中限制:将 `gemini-automted-issue-triage` 限制为仅允许 `echo` * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/20041 中修复:允许请求头超过 16 个字符 * 由 @h30s 在 https://github.com/google-gemini/gemini-cli/pull/19782 中修复:防止 `McpClientManager` 在冲突期间状态损坏 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/19766 中修复打包:将 `devtools` 包复制到捆绑包中以进行运行时解析 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20024 中新增策略功能:在策略引擎中支持 MCP 服务器通配符 * 由 @mmgok 在 https://github.com/google-gemini/gemini-cli/pull/20014 中更新文档:将 React DevTools 版本更新至 6 * 由 @aishaneeshah 在 https://github.com/google-gemini/gemini-cli/pull/19643 中新增核心功能:为 Gemini 3 优化工具描述和架构 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19557 中新增实验性核心功能:实现直接网络获取 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/20033 中新增功能:在替换工具中用 `allow_multiple` 替换 `expected_replacements` * 由 @aviralgarg05 在 https://github.com/google-gemini/gemini-cli/pull/19552 中修复沙盒:加强镜像打包完整性检查 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/18837 中修复核心:允许 MCP 服务器的环境变量扩展和显式覆盖 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20029 中新增策略功能:在策略引擎中实现工具注释匹配 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/20035 中修复:防止工具调用更改会话活动模型 * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/20054 中修复:在家目录中时跳过工作区策略加载 * 由 @ZafeerMahmood 在 https://github.com/google-gemini/gemini-cli/pull/16193 中修复脚本:为 `lint.js` 添加 Windows (win32/x64) 支持 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19745 中修复 A2A 服务器:在代理中移除不安全类型断言 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19850 中修复:在切换身份验证类型时优雅处理损坏的令牌文件 (#19845) * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/20087 中修复:关键依赖漏洞 * 由 @kevinjwang1 在 https://github.com/google-gemini/gemini-cli/pull/20064 中新增:添加新设置以配置 `maxRetries` * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/20095 中稳定:稳定测试 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/20096 中强制:使 Windows 测试成为必测项 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/20088 中新增:将 3.1 pro preview 添加到行为评估中 * 由 @JagjeevanAK 在 https://github.com/google-gemini/gemini-cli/pull/19804 中新增功能:PR 速率限制 * 由 @y-okt 在 https://github.com/google-gemini/gemini-cli/pull/19916 中新增功能:允许在批准时展开 MCP 工具的完整详情 * 由 @shrishabh 在 https://github.com/google-gemini/gemini-cli/pull/13193 中新增安全功能:引入 Conseca 框架 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19745 中修复:在 `activityLogger` 中移除不安全类型断言 (#19713) * 由 @googlestrobe 在 https://github.com/google-gemini/gemini-cli/pull/18486 中新增功能:实现 `AfterTool` 尾部工具调用 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/20117 中修复 CI:修复 PR 速率限制器排除维护者的问题 * 由 @keithguerin 在 https://github.com/google-gemini/gemini-cli/pull/18721 中更新快捷键:将 `SectionHeader` 标题移至顶线下方并优化样式 * 由 @keithguerin 在 https://github.com/google-gemini/gemini-cli/pull/20141 中重构 UI:更新并简化主题中灰色颜色的使用 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/20154 中修复:`punycode2` 问题 * 由 @kiryltech 在 https://github.com/google-gemini/gemini-cli/pull/15842 中新增 IDE 功能:添加 `GEMINI_CLI_IDE_PID` 环境变量以覆盖 IDE 进程检测 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20083 中新增策略功能:为 MCP 服务器传播工具注释 * 由 @reyyanxahmed 在 https://github.com/google-gemini/gemini-cli/pull/19680 中修复 A2A 服务器:将 `allowedTools` 设置传递给核心配置 * 由 @jasmeetsb 在 https://github.com/google-gemini/gemini-cli/pull/19772 中新增 MCP 功能:为 MCP 工具进度添加进度条、节流和输入验证 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20178 中新增策略功能:在策略引擎中集中计划模式工具可见性 * 由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/19284 中新增浏览器功能:实现实验性浏览器代理 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19432 中新增计划功能:执行计划后总结工作 * 由 @h30s 在 https://github.com/google-gemini/gemini-cli/pull/20126 中修复核心:重启时创建新的 `McpClient` 以应用更新的配置 * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/20107 中生成:v0.30.0-preview.5 的更新日志 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/20152 中更新:更新包 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/20198 中修复:修复扩展环境目录加载问题 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/20207 中限制:将 `/assign` 限制为 `help-wanted` 问题 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20203 中新增功能:当用户手动退出计划模式时注入消息 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/19703 中新增扩展功能:对本地扩展安装强制执行文件夹信任 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19598 中新增钩子功能:添加对 `RuntimeHook` 函数的支持 * 由 @jkcinouye 在 https://github.com/google-gemini/gemini-cli/pull/20224 中更新文档:更新 UI 链接 * 由 @ishaanxgupta 在 https://github.com/google-gemini/gemini-cli/pull/16235 中新增功能:提示用户使用 `yes/no` 运行 `/terminal-setup` * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/20221 中修复:其他高危漏洞(`minimatch`, `cross-spawn`) * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/19699 中新增遥测功能:为 API 响应事件添加上下文细分 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/20235 中更新文档:为相关主题添加嵌套子文件夹 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20240 中新增计划功能:支持计划模式的自动模型切换 * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/20568 中修复补丁:将 58df1c6 cherry-pick 到 `release/v0.31.0-preview.0-pr-20374` 以修补版本 `v0.31.0-preview.0` 并创建版本 `0.31.0-preview.1` * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/20592 中修复补丁:将 `ea48bd9` cherry-pick 到 `release/v0.31.0-preview.1-pr-20577` [存在冲突] * 由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/20607 中修复补丁:将 `32e777f` cherry-pick 到 `release/v0.31.0-preview.2-pr-20531` 以修补版本 `v0.31.0-preview.2` 并创建版本 `0.31.0-preview.3` ## 新贡献者 * @skyvanguard 在 https://github.com/google-gemini/gemini-cli/pull/17393 中完成了首次贡献 * @syvb 在 https://github.com/google-gemini/gemini-cli/pull/18858 中完成了首次贡献 * @garrettsparks 在 https://github.com/google-gemini/gemini-cli/pull/17332 中完成了首次贡献 * @abhiasap 在 https://github.com/google-gemini/gemini-cli/pull/18982 中完成了首次贡献 * @pdHaku0 在 https://github.com/google-gemini/gemini-cli/pull/17955 中完成了首次贡献 * @maximus12793 在 https://github.com/google-gemini/gemini-cli/pull/19038 中完成了首次贡献 * @Shivangisharma4 在 https://github.com/google-gemini/gemini-cli/pull/19890 中完成了首次贡献 * @reyyanxahmed 在 https://github.com/google-gemini/gemini-cli/pull/19668 中完成了首次贡献 * @mmgok 在 https://github.com/google-gemini/gemini-cli/pull/20014 中完成了首次贡献 * @aviralgarg05 在 https://github.com/google-gemini/gemini-cli/pull/19552 中完成了首次贡献 * @ZafeerMahmood 在 https://github.com/google-gemini/gemini-cli/pull/16193 中完成了首次贡献 * @JagjeevanAK 在 https://github.com/google-gemini/gemini-cli/pull/19804 中完成了首次贡献 * @shrishabh 在 https://github.com/google-gemini/gemini-cli/pull/13193 中完成了首次贡献 * @googlestrobe 在 https://github.com/google-gemini/gemini-cli/pull/18486 中完成了首次贡献 * @kiryltech 在 https://github.com/google-gemini/gemini-cli/pull/15842 中完成了首次贡献 **完整更新日志**:https://github.com/google-gemini/gemini-cli/compare/v0.30.1...v0.31.0