← 返回更新日志

Gemini CLI v0.11.0

2025-10-29 · GitHub 原文
## 更新内容 * chore(release): 版本号提升至 0.11.0-nightly.20251015.203bad7c,由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/11212 提交 * feat(core): 在消息总线中为 ASK_USER 策略决策连接 UI,由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/10630 提交 * feat(cli): 防止斜杠命令和 shell 命令排队,由 @MJjainam 在 https://github.com/google-gemini/gemini-cli/pull/11094 提交 * 更新 shell 工具调用颜色以用于已确认的操作,由 @miguelsolorio 在 https://github.com/google-gemini/gemini-cli/pull/11126 提交 * Docs: 修复 docs/changelogs/index.md 中的拼写错误,由 @Smetalo 在 https://github.com/google-gemini/gemini-cli/pull/11215 提交 * Docs: 修复 docs/get-started/index.md 中的拼写错误,由 @Smetalo 在 https://github.com/google-gemini/gemini-cli/pull/10793 提交 * 修复 --allowed-tools 在非交互模式下的行为,使其进行子字符串匹配以与交互模式保持一致,由 @mistergarrison 在 https://github.com/google-gemini/gemini-cli/pull/10944 提交 * refactor(actions): 从子操作中移除 checkout,由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/11219 提交 * 为无头模式添加对 output-format stream-jsonflag 的支持,由 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/10883 提交 * fix(infra) - 重新启用 GitHub 测试,由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/10839 提交 * fix(ci): 修复 a2a 发布,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11211 提交 * 安装扩展时不要总是回退到 git clone,由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/11229 提交 * feat(cli): 为 yargs 选项添加 nargs,由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/11132 提交 * 运行 "npm install" 后的更新,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11238 提交 * fix(ci): 确保清理 `false` 标签,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11232 提交 * 更新 README.md,由 @LyalinDotCom 在 https://github.com/google-gemini/gemini-cli/pull/11240 提交 * chore(subagents): 移除遗留的子代理代码,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11175 提交 * refactor: 将 `web_fetch` 工具名称移至 `tool-names.ts`,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11174 提交 * fix(e2e): 重构并取消跳过上下文压缩交互测试,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11086 提交 * feat: 目录自动补全时不添加尾部空格,由 @rmedranollamas 在 https://github.com/google-gemini/gemini-cli/pull/11227 提交 * 在 `gemini mcp list` 命令中包含扩展名,由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/11263 提交 * (fix): 为所有模式启用代码库调查器,由 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/11259 提交 * 更新扩展安装警告,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/11149 提交 * fix(ci): 使 release-rollback 操作正确支持非生产环境,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11244 提交 * Docs: 添加变更日志 v0.9.0,由 @jkcinouye 在 https://github.com/google-gemini/gemini-cli/pull/11237 提交 * feat(docs): 添加初始发布置信度文档,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/11069 提交 * feat: 在加载时间混合教育性提示和诙谐短语(有趣、微妙的学习...),由 @JayadityaGit 在 https://github.com/google-gemini/gemini-cli/pull/10569 提交 * fix: 更新文件夹信任文档以提及 MCP 服务器和文件命令...,由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/10842 提交 * fix(web-fetch): 在回退机制中尊重 Content-Type 头,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11284 提交 * feat: 添加 Markdown 切换键 (alt+m) 以在渲染和原始...之间切换,由 @srivatsj 在 https://github.com/google-gemini/gemini-cli/pull/10383 提交 * 在 scripts/clean.js 中使用 Node.js 内置模块替代 glob,由 @dewitt 在 https://github.com/google-gemini/gemini-cli/pull/11286 提交 * fix(infra) - 从 e2e 工作流中移除 e2e 维护者标签,由 @shishu314-alt 在 https://github.com/google-gemini/gemini-cli/pull/11028 提交 * 撤销 "fix(infra) - 从 e2e 工作流中移除 e2e 维护者标签",由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/11292 提交 * refactor: 移除已弃用的 --all-files 标志,由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/11228 提交 * 分支监管测试,由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/11304 提交 * 移除,由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/11310 提交 * fix(test): 修复闪烁集成测试的稳定性,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11308 提交 * Jacob314/safe home dir,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/10861 提交 * feat(auth): 改进认证对话框错误处理和消息传递,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11320 提交 * fix: 在权限对话框中添加文件夹名称,类似于启动对话框,由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/11278 提交 * 改进待办事项列表的渲染,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11315 提交 * fix(scripts): 改进去稳定性脚本的隔离性并取消跳过测试,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11325 提交 * feat(ui): 在 SettingsDialog 中添加 "Esc 关闭" 提示,由 @JayadityaGit 在 https://github.com/google-gemini/gemini-cli/pull/11289 提交 * feat: 移除已弃用的遥测标志,由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/11318 提交 * feat: 允许使用上箭头键编辑队列中的消息,由 @akhil29 在 https://github.com/google-gemini/gemini-cli/pull/10392 提交 * 内联 tree-sitter wasm 并添加运行时回退,由 @cornmander 在 https://github.com/google-gemini/gemini-cli/pull/11157 提交 * 跳过失败的测试,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/11337 提交 * 更新 package.json 以包含对 Ink 分支的 git 依赖,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/11330 提交 * fix(ux) 等待键盘输入时键盘输入挂起,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/10121 提交 * fix(accessibility) 在屏幕阅读器模式下允许换行,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/11317 提交 * 重构 `EditTool.Name` 以使用集中化的 `EDIT_TOOL_NAME`,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11343 提交 * fix: Linux 中复制命令延迟的处理,由 @hritan 在 https://github.com/google-gemini/gemini-cli/pull/6856 提交 * 撤销 "更新 package.json 以包含对 Ink 分支的 git 依赖。",由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/11365 提交 * docs(release): 在发布文档中添加关于开发/生产环境的信息,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11366 提交 * feat: 移除已弃用的标志,由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/11338 提交 * fix(prompt): 使交互式命令避免成为条件性的,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/11225 提交 * 移除 /mcp 命令的 ctrl-t 绑定,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11372 提交 * feat(cli): 在 shell ... 中抑制斜杠命令执行和建议,由 @MJjainam 在 https://github.com/google-gemini/gemini-cli/pull/11380 提交 * fix(scripts): 更新 get-release-version 以使用 yargs 解析,处理动态设置的包名,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11374 提交 * fix(cli): 启用并修复 MCP 命令测试的类型,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11385 提交 * feat: 为使用 Esc 键关闭对话框添加缺失的视觉提示,由 @JayadityaGit 在 https://github.com/google-gemini/gemini-cli/pull/11386 提交 * fix(release): 更新 create-patch-pr.js 以接受包名,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11400 提交 * 移除 MCP 提示并重新组织 MCP 斜杠命令,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11387 提交 * 仅在 disableUpdateNag 为 false 时检查更新,由 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/11405 提交 * fix: 使 @file 建议不区分大小写,由 @IamRiddhi 在 https://github.com/google-gemini/gemini-cli/pull/11394 提交 * fix: 在集成测试中取消设置选定的认证类型,以便本地设置...,由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/11322 提交 * 统一斜杠命令描述的样式,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11395 提交 * 添加扩展 ID,由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/11377 提交 * 记录所有用户设置以启用实验影响测量,由 @owenofbrien 在 https://github.com/google-gemini/gemini-cli/pull/11354 提交 * fix(cli): 为 ui/commands 测试启用类型检查,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11413 提交 * fix(infra) - 使文件系统交互测试仅检查工具调用,由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/11055 提交 * feat(logging): 通过专用工具集中调试日志记录,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11417 提交 * 移除对工作区扩展和迁移的支持,由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/11324 提交 * fix(cli): 为 ui/components 测试启用类型检查,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11419 提交 * refactor(tools): 将 shell 工具名称迁移到集中化的常量,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11418 提交 * 创建待办事项列表标签页,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11430 提交 * Docs: 修复 docs/cli/trusted-folders.md 中的 MCP 服务器链接,由 @Smetalo 在 https://github.com/google-gemini/gemini-cli/pull/11349 提交 * fix(config): 为配置测试启用类型检查,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11436 提交 * fix(ci): 在 Windows 上使用标准集成测试命令,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11437 提交 * feat(release): 为发布补丁 1 支持开发/生产环境,由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/11404 提交 * 将 shell:true 设为默认值并为 grep 添加 -I 参数,由 @gsehgal 在 https://github.com/google-gemini/gemini-cli/pull/11448 提交 * fix(cli): 为更多测试文件启用类型检查,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11455 提交 * 将组件重命名为 "TodoTray",由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/11469 提交 * fix: 更新 web_fetch 工具定义,以指示模型提供...,由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/11252 提交 * refactor(core): 集中工具名称以避免循环依赖 - Edit, Grep, Read,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11434 提交 * fix(cli): 修复 UI 钩子测试中的类型错误,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/11483 提交 * refactor(tools): 将所有工具名称移至 tool-names.ts,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/11493 提交 * 更新文档以指定 GEMINI_SYSTEM_MD 和 GEMINI_WRITE_SYSTEM_MD 的说明,由 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/9953 提交 * chore: 如果用户已中止请求,则不重试模型请求,由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/11224 提交 * fix(infra) - 创建一个空文件以测试 e2e 的触发工作流,由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/11022 提交 * fix(core): 在 gitignore 模式中保留转义字符,由 @EricRahm 在 https://github.com/google-gemini/gemini-cli/pull/11171 提交 * [第 5/6 部分] feat(telemetry):