← 返回更新日志

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

2026-02-25 · 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 中新增功能(cli):退出时添加 `gemini --resume` 提示 * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/19017 中修复:优化 `ask_user` 对话框的高度计算 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/19300 中新增功能(cli):添加 `Alt+D` 以进行向前单词删除 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19455 中禁用:失败的评估测试 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/19369 中修复(cli):在 `ToolActionsContext` 中支持遗留的 `onConfirm` 回调 * 由 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/19367 中更新依赖(chore):将 `tar` 从 7.5.7 升级至 7.5.8 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19439 中修复(plan):当计划实验设置未启用但启动时的批准模式为计划时,允许安全回退 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19460 中新增:显式的 `color-convert` 依赖 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/18936 中新增功能(devtools):将 `devtools` 包迁移到单体仓库 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19438 中修复(core):澄清计划模式约束和退出机制 * 由 @LyalinDotCom 在 https://github.com/google-gemini/gemini-cli/pull/19056 中新增功能(cli):添加 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 中修复(ui):防止将空历史记录项添加到历史中 * 由 @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 中新增功能(core):为 MCP 进度更新添加支持 * 由 @godwiniheuwa 在 https://github.com/google-gemini/gemini-cli/pull/18429 中修复(core):在写入对话文件前确保目录存在 * 由 @imadraude 在 https://github.com/google-gemini/gemini-cli/pull/17198 中修复(ui):将 `ToolGroupMessage` 中的边距从上移到底部 * 由 @skyvanguard 在 https://github.com/google-gemini/gemini-cli/pull/17393 中修复(cli):将未知的斜杠命令视为常规输入而非显示错误 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/19307 中新增功能(core):实验性进行中的转向提示(第二部分) * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19467 中更新文档(plan):为计划模式命令添加文档 * 由 @syvb 在 https://github.com/google-gemini/gemini-cli/pull/18858 中修复(core):当模式看起来像 `ripgrep` 标志时修复 `ripgrep` 失败问题 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19451 中修复(cli):禁用 `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 中新增功能(cli):在 `@` 自动补全建议中包含 `/dir add` 目录 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/19453 中新增功能(admin):管理员设置仅在 `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 中新增功能(core):集中兼容性检查并添加 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 中修复(core):确保用户拒绝会更新工具结果以用于遥测 * 由 @Mervap 在 https://github.com/google-gemini/gemini-cli/pull/18898 中修复(acp):初始化配置 (#18897) * 由 @yuvrajangadsingh 在 https://github.com/google-gemini/gemini-cli/pull/17981 中修复(core):为 IDE 获取失败添加错误日志记录 * 由 @Mervap 在 https://github.com/google-gemini/gemini-cli/pull/18891 中新增功能(acp):支持 `set_mode` 接口 (#18890) * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/18443 中修复(core):基于工作区的健壮 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 中格式化:md 文件 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/19488 中新增功能(cli):添加 `experimental.useOSC52Copy` 设置 * 由 @LyalinDotCom 在 https://github.com/google-gemini/gemini-cli/pull/19347 中新增功能(cli):用枚举设置替换加载短语布尔值 * 由 @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 中修复(core):防止在 `auto-saved.toml` 中出现重复的工具批准条目 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19555 中修复(core):当 `os.cpus()` 为空时修复 `ClearcutLogger` 中的崩溃 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/19556 中更新依赖(chore):改进封装并删除未使用的导出 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/19434 中回滚:将通用可搜索列表添加回设置和扩展(…) * 由 @yunaseoul 在 https://github.com/google-gemini/gemini-cli/pull/19565 中修复(core):改进遥测的错误类型提取 * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/19529 中修复:移除 Composer 中的额外内边距 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19577 中新增功能(plan):支持配置自定义计划存储目录 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/19503 中迁移:将文件移至 `resource` 或 `references` 文件夹 * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/18682 中新增功能(policy):实现项目级策略支持 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/18791 中新增功能(core):为只读工具实现并行 FC * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19576 中更新技能(chore):添加 `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 中新增功能(core):为 Gemini 3 优化编辑和 `WriteFile` 工具架构 * 由 @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 中修复(plan):在 YOLO 模式中排除 `EnterPlanMode` 工具 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/18880 中更新依赖(chore):解决构建警告并更新依赖 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/18839 中新增功能(ui):为斜杠命令添加源指示器 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19644 中更新文档(plan):细化计划模式文档结构和流程 * 由 @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 中新增功能(cli):为数字小键盘 SS3 序列添加支持 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/19492 中新增功能(cli):通过配置发现和安全警告增强文件夹信任 * 由 @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 中新增功能(models):支持 Gemini 3.1 Pro Preview 及修复 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/19433 中新增功能(plan):在计划模式中强制执行只读约束 * 由 @spencer426 在 https://github.com/google-gemini/gemini-cli/pull/19562 中修复(cli):允许完美匹配的 `@` 路径补全在按 Enter 时提交 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19642 中修复(core):将 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 中回滚:回滚“为斜杠命令添加源指示器”功能 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/19288 中修复安全:在工具确认中实现欺骗性 URL 检测和披露 * 由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/19689 中修复(core):在无头模式下恢复身份验证同意并添加单元测试 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19706 中修复:修复 `code_assist` 文件夹中的不安全断言 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19687 中新增功能(cli):使 JetBrains 警告更具体 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/19685 中修复(cli):扩展对话框用户体验优化 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19726 中修复(cli):在对话框中对手动模型选择使用 `getDisplayString` * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/19707 中新增功能(policy):将“始终允许”持久化重新用于工作区级别 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19741 中修复(cli):重新启用 CLI 横幅 * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19736 中禁止并抑制:不安全的赋值 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/19526 中新增功能(core):将 `read_file` 迁移为使用基于 1 的 `start_line`/`end_line` 参数 * 由 @jwhelangoog 在 https://github.com/google-gemini/gemini-cli/pull/19010 中新增功能(cli):为标准和备用屏幕缓冲区 (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 中重构(core):移除错误工具中的不安全类型断言(第 1.1 阶段) * 由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/19767 中禁止:不安全的返回 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/19698 中修复(cli):从恢复历史记录中过滤子代理会话 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/19844 中更新依赖(chore):修复运行 `npm run lint` 时看到的 lint 错误 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/19861 中新增功能(core):从 Code Assist 身份验证中移除不必要的登录措辞 * 由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/19847 中修复(plan):按批准模式仪表板报告负时间份额 * 由 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/19867 中修复(core):在配额访问检查中允许任何预览模型 * 由 @nsalerni 在 https://github.com/google-gemini/gemini-cli/pull/19870 中修复(core):防止在 `replace`/`write_file` 中删除省略占位符 * 由 @Shivangisharma4 在 https://github.com/google-gemini/gemini-cli/pull/19890 中修复(core):为编辑工具添加唯一性保护 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19974 中重构(config):从设置中移除 `enablePromptCompletion` * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/19972 中重构(core):将会话转换逻辑移至核心 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19891 中修复:在重启时持久化手动模型选择 #19864 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19949 中修复(core):增加默认重试尝试次数并添加配额错误退避 * 由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/19991 中新增功能(core):为 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 中修复(plan):允许在 Windows 上进行计划模式写入并修复提示路径 * 由 @reyyanxahmed 在 https://github.com/google-gemini/gemini-cli/pull/19668 中修复(core):防止 OAuth 服务器在意外请求时崩溃 * 由 @sripasg 在 https://github.com/google-gemini/gemini-cli/pull/19547 中新增功能:将工具种类映射到显式的 `ACP.ToolKind` 值并更新测试… * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/20047 中更新依赖(chore):将 `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 中修复(core):防止 `McpClientManager` 在冲突期间状态损坏 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/19766 中修复(bundling):将 `devtools` 包复制到捆绑包中以进行运行时解析 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20024 中新增功能(policy):在策略引擎中支持 MCP 服务器通配符 * 由 @mmgok 在 https://github.com/google-gemini/gemini-cli/pull/20014 中更新文档(CONTRIBUTING):将 React DevTools 版本更新至 6 * 由 @aishaneeshah 在 https://github.com/google-gemini/gemini-cli/pull/19643 中新增功能(core):为 Gemini 3 优化工具描述和架构 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19557 中新增功能(core):实现实验性直接网络获取 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/20033 中新增功能(core):在 `replace` 工具中用 `allow_multiple` 替换 `expected_replacements` * 由 @aviralgarg05 在 https://github.com/google-gemini/gemini-cli/pull/19552 中修复(sandbox):强化图像打包完整性检查 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/18837 中修复(core):允许 MCP 服务器的环境变量扩展和显式覆盖 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20029 中新增功能(policy):在策略引擎中实现工具注释匹配 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/20035 中修复(core):防止工具调用更改会话活动模型 * 由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/20054 中修复(cli):在主目录中时跳过工作区策略加载 * 由 @ZafeerMahmood 在 https://github.com/google-gemini/gemini-cli/pull/16193 中修复(scripts):为 `lint.js` 添加 Windows (win32/x64) 支持 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19723 中修复(a2a-server):在代理中移除不安全类型断言 * 由 @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 中新增功能(cli):允许在批准时展开 MCP 工具的完整详细信息 * 由 @shrishabh 在 https://github.com/google-gemini/gemini-cli/pull/13193 中新增功能(security):引入 Conseca 框架 * 由 @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19745 中修复(cli):在 `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 中新增功能(policy):为 MCP 服务器传播工具注释 * 由 @reyyanxahmed 在 https://github.com/google-gemini/gemini-cli/pull/19680 中修复(a2a-server):将 `allowedTools` 设置传递给核心配置 * 由 @jasmeetsb 在 https://github.com/google-gemini/gemini-cli/pull/19772 中新增功能(mcp):为 MCP 工具进度添加进度条、节流和输入验证 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20178 中新增功能(policy):在策略引擎中集中计划模式工具可见性 * 由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/19284 中新增功能(browser):实现实验性浏览器代理 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/19432 中新增功能(plan):执行计划后总结工作 * 由 @h30s 在 https://github.com/google-gemini/gemini-cli/pull/20126 中修复(core):重启时创建新的 `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 中新增功能(plan):当用户手动退出计划模式时注入消息 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/19703 中新增功能(extensions):对本地扩展安装强制执行文件夹信任 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/19598 中新增功能(hooks):添加对 `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 中新增功能(telemetry):为 API 响应事件添加上下文细分 * 由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/20235 中更新文档:为相关主题添加嵌套子文件夹 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/20240 中新增功能(plan):支持计划模式的自动模型切换 ## 新贡献者 * @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 中完成了首次贡献 * @Nixxx19 在 https://github.com/google-gemini/gemini-cli/pull/19891 中完成了首次贡献 * @reyyanxahmed 在 https://github.com/google-gemini/gemini-cli/pull/19668 中完成了首次贡献 * @h30s 在 https://github.com/google-gemini/gemini-cli/pull/19782 中完成了首次贡献 * @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.0-preview.6...v0.31.0-preview.0