← 返回更新日志

Gemini CLI v0.8.0

2025-10-07 · GitHub 原文
## 更新内容 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/9283 中测试工作流调度 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/9265 中支持标准的 GitHub 发布存档格式 * 由 @kiranani 在 https://github.com/google-gemini/gemini-cli/pull/9310 中修复(拼写错误):修正一个误操作提交的 SHA * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/9246 中修复“手动发布”中 force_skip_tests 选项的损坏图标 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/9275 中为运行测试添加日志组 * 由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/9163 中实现(CI):将沙盒镜像推送到 DockerHub 而非 GHCR * 由 @geoffdowns 在 https://github.com/google-gemini/gemini-cli/pull/9332 中放宽 JSON 模式验证 * 由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/9481 中修复(测试):修复一个被禁用的测试 * 由 @srithreepo 在 https://github.com/google-gemini/gemini-cli/pull/9426 中记录对 Google AI Pro 和 AI Ultra 的支持 * 由 @lifefloating 在 https://github.com/google-gemini/gemini-cli/pull/9196 中实现:为重试逻辑和工具执行添加 AbortSignal 支持 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/9299 中修复(核心):修复无法取消编辑工具的问题 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/9503 中重构(核心):将思维解析逻辑提取到专用工具中 * 由 @capachino 在 https://github.com/google-gemini/gemini-cli/pull/9505 中更新文档(扩展):更新安装示例中使用的安全扩展 URL * 由 @jleong-stripe 在 https://github.com/google-gemini/gemini-cli/pull/9231 中实现动态客户端注册 - 如果配置中可用,则使用注册端点,而不是再次执行 OAuth 发现 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/9512 中修复 Windows 扩展安装问题 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/9278 中实现(集成):强制使用单一模型以获得更确定的端到端测试 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/9262 中实现(CLI):默认启用模型路由器并添加到设置对话框 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/9160 中实现(vscode-ide-companion):添加检查新版本发布的脚本 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/9510 中修复(核心):在 LLM 判断期间更新编辑工具错误类型 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/9518 中修复(核心):在 baseLLMClient 的生成选项中为重试设置最大尝试次数 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/9533 中修复(核心):在 baseLLMClient 中设置默认 maxAttempts * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/8954 中处理 releasemanual 的正确检出 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/8964 中发布:版本管理 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/9249 中更改补丁名称以保持一致性 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/9753 中更新(发布):将版本提升至 0.8.0-nightly.20250925.b1da8c21 * 由 @kiranani 在 https://github.com/google-gemini/gemini-cli/pull/9145 中添加(遥测):将字符级编辑指标添加到 Concord * 由 @eLyiN 在 https://github.com/google-gemini/gemini-cli/pull/8113 中实现(遥测):通过性能监控 API 增强指标(第 3/6 部分) * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/9405 中更新:在扩展列表中添加启用/禁用指示器 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/9540 中修复(核心):确保重试为传入选项的空值设置默认值 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/9763 中修复(核心):改进 API 错误重试逻辑 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/9517 中更新扩展时根据需要重新请求同意 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/9760 中修复扩展更新的重复信息消息 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/8636 中实现(转义 ANSI):在向用户显示之前转义模型输出中的 ANSI 控制代码 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/9538 中对无效扩展名抛出错误 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/9296 中修复(CI):端到端工作流与发布对齐 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/9768 中修复(UI):截断过长的加载文本 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/9769 中修复(zed):修复 Zed 集成中损坏的“自动”模型选择 * 由 @hugomurillomtz 在 https://github.com/google-gemini/gemini-cli/pull/9524 中测试:禁用所有 IDE 集成测试 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/9253 中修复(提示):防止模型回滚成功的更改 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/9780 中将扩展更新为插件以避免混淆 * 由 @miguelsolorio 在 https://github.com/google-gemini/gemini-cli/pull/9765 中取消设置默认主题中的前景色 * 由 @bobcatfish 在 https://github.com/google-gemini/gemini-cli/pull/9785 中修复(临时):不要在 Windows 上运行 ctrl+c 退出测试 * 由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/9786 中创建手动发布失败的问题,类似于其他发布过程... * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/9177 中添加扩展的集成测试 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/9536 中添加“入门”扩展文档 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/9772 中删除 shell-service.test.ts 并更改其他测试以覆盖相同功能 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/9758 中更新启用行为 + 信息 * 由 @geoffdowns 在 https://github.com/google-gemini/gemini-cli/pull/9574 中停止为 MCP 工具模式检查类型定义 * 由 @bobcatfish 在 https://github.com/google-gemini/gemini-cli/pull/9527 中测试:添加遥测指标验证并重构 TestRig * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/9964 中修复(依赖项):解决 ansi-regex 依赖冲突 * 由 @mistergarrison 在 https://github.com/google-gemini/gemini-cli/pull/9114 中使 --allowed-tools 在非交互模式下工作 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/9974 中重构(核心):从 Config 中提取文件过滤常量以打破循环依赖 * 由 @owenofbrien 在 https://github.com/google-gemini/gemini-cli/pull/9934 中为 run_shell_command 工具添加警告以避免命令替换... * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/9526 中修复(核心):在智能编辑中尽可能自动更正文件路径 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/9987 中更新(文档):添加 GitHub Action 以在更改时重建文档 * 由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/9985 中更新(文档):为文档组织添加 sidebar.json * 由 @WangWanyue 在 https://github.com/google-gemini/gemini-cli/pull/9984 中移除用户消息的边框并为 `>` 着色以改进 UI 和可读性 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/10006 中撤销“使 --allowed-tools 在非交互模式下工作” * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/9804 中实现:在发布工作流中使用 gemini-cli-robot 的 PAT * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/10012 中删除实际上不是集成测试的测试。 * 由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/10007 中 Mac 必需 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/10009 中撤销“修复(核心):在智能编辑中尽可能自动更正文件路径” * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/9263 中重新应用“实现(可访问性):实现集中式屏幕阅读器布局” * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/8505 中实现(IAP 支持):向 MCPServers 添加服务账号模拟提供程序以支持 Cloud Run 上的 IAP * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/10024 中使压缩算法稍微更具攻击性 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/10000 中实现(核心):使用 lastPromptTokenCount 来确定是否需要压缩 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/9972 中修复(UI):停止截断在 <static> 中渲染的模型输出 * 由 @Fridayxiao 在 https://github.com/google-gemini/gemini-cli/pull/4386 中实现(CLI):添加设置以在终端标题和任务栏图标中显示状态(或 Gemini 的思考) * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/10018 中修复(核心):在智能编辑中尽可能自动更正文件路径(跨平台) * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/10083 中为单选按钮添加键 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/10087 中修复(操作):将环境变量注入到夜间失败问题/问题正文中 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/9994 中修复 `-e <extension>` 对于已禁用扩展的问题 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/10164 中修复新扩展安装的 Windows 测试 * 由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/9261 中实现(基础设施)- 添加回滚更改的工作流 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/9983 中实现(核心):默认启用工具输出截断 * 由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/9506 中修复(基础设施)- 向发布分支添加 PR 编号 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/9264 中实现(核心):为 JSON 生成添加基于内容的重试 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/10173 中将 package-lock.json 更新为与 package.json 匹配。 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/10184 中更新 CI(发布):在计划的夜间工作流中默认跳过测试 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/9166 中更新(模拟工具):统一模拟工具定义的最后一步 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/10185 中修复 Windows 上的 Markdown 渲染 * 由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/9783 中修复(CLI):使 IDE 信任监听器也监听 IDE 状态变化... * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/10183 中实现扩展更新确认对话框 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/10010 中修复 `/tool` 和 `/mcp` 命令不直接写入终端转义码的问题 * 由 @miguelsolorio 在 https://github.com/google-gemini/gemini-cli/pull/9789 中实现:为 getStatusColor 工具添加红色阈值 * 由 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/8042 中减少窄屏幕上的边距,流动页脚内容 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/10198 中为 `/extensions update` 添加扩展名自动补全 * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/10216 中更新(格式化):修复 math.ts 的格式化 * 由 @dlynx13 在 https://github.com/google-gemini/gemini-cli/pull/10162 中修复(遥测):改进 Cloud Shell 表面类型检测以用于遥测目的 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/10186 中修复夜间发布 * 由 @kschaab 在 https://github.com/google-gemini/gemini-cli/pull/9788 中修复:A2A 服务器 - 将 liveOutput 和 response resultsDisplay 添加到序列化的工具调用结果中(关闭 #9520) * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/10203 中传递 "-e none" 时不记录有关无效扩展的错误 * 由 @mrcabbage972 在 https://github.com/google-gemini/gemini-cli/pull/10178 中为智能编辑工具实现正则表达式搜索/替换 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/10249 中恢复扩展启用的大小写不敏感性并添加测试 * 由 @gvking 在 https://github.com/google-gemini/gemini-cli/pull/9542 中修复 LLM 编辑修复器