← 返回更新日志

Gemini CLI v0.1.19

2025-08-12 · GitHub 原文
## 更新内容 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/5639 中为 useAtCompletion 重置逻辑添加测试 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5641 中更新了几个更诙谐的短语 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5609 中检测到模式深度错误时,检测并警告循环工具引用 * 由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/5643 中重构:使用 `google-github-actions/run-gemini-cli` 操作 * 由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/5644 中更新文档(setup-github):告知用户运行斜杠命令后的后续步骤 * 由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/5647 中更新文档(lint):修复关于如何在“修复”模式下运行 linter 的文档 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/5649 中更新文档:在 README 中添加 GitHub 集成部分 * 由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/5656 中修复:新工作流设置中缺少 coreTool * 由 @yashv6655 在 https://github.com/google-gemini/gemini-cli/pull/5492 中修复(核心):将 .mts 文件视为 TypeScript 模块而非视频文件 * 由 @brychanrobot 在 https://github.com/google-gemini/gemini-cli/pull/5648 中新增功能(文件搜索):添加对非递归文件搜索的支持 * 由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/5653 中新增功能:使 /setup-github 始终运行,并在适当时报错 * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/5481 中新增功能(mcp):为 `add`、`remove` 和 `list` 添加 `gemini mcp` 命令 * 由 @akhil29 在 https://github.com/google-gemini/gemini-cli/pull/5175 中修复:改进内存发现中的错误处理和路径处理 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5603 中新增功能(ide-mode):在 CLI 中添加对 IDE 内差异处理的支持 * 由 @agarwalravikant 在 https://github.com/google-gemini/gemini-cli/pull/5677 中修复:为 yolo 或非交互式模式发送用户工具确认决定 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/5613 中新增功能(核心):引入 `DeclarativeTool` 和 `ToolInvocation`。 * 由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/5601 中修复:用户取消响应时恢复用户输入 * 由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/5678 中修复(测试):修复测试错误 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/5610 中为在 VS Code 中运行的用户添加启用 IDE 集成的提示 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5694 中添加对模式不良工具的检测,并自动忽略它们并发出警告 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5685 中为最大模式深度错误处理添加集成测试 * 由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/5706 中修复测试:修复端到端测试 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/5161 中修复(核心):为截断的 read_file 进行提示工程。 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5618 中新增功能(ide-mode):支持使用编辑工具渲染 IDE 内差异 * 由 @sethvargo 在 https://github.com/google-gemini/gemini-cli/pull/5708 中新增功能(cli):从 GitHub API 获取 run-gemini-cli 版本 * 由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/5709 中实验:为文件夹信任添加功能实验标志 * 由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/5723 中修复(核心):改进命令生成失败情况下的错误信息 * 由 @DevMassive 在 https://github.com/google-gemini/gemini-cli/pull/5650 中新增功能:通过 fzf 集成改进 @-命令 文件路径补全 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/5733 中修复(测试):更新 mcp_server_cyclic_schema 测试 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/5730 中修复(actions):将 gha 机器人替换为 cla 允许列表中的 gemini-cli-robot * 由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/5725 中修复(日志记录):确保沙盒启动消息路由到 stderr * 由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/1805 中新增功能(代理):引入基础子代理架构 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5721 中为自动压缩添加上下文百分比阈值设置 * 由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/5684 中新增功能:除了 README 外,还打开仓库密钥页面 * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/5786 中修复(核心):使用 Flash 进行下一个发言者检查 * 由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/5744 中将 EditTool、GrepTool 和 GlobTool 迁移到 DeclarativeTool * 由 @dizzydroid 在 https://github.com/google-gemini/gemini-cli/pull/4482 中新增功能(cli):允许使用 CTRL+C (SIGINT) 退出身份验证菜单 * 由 @agmsb 在 https://github.com/google-gemini/gemini-cli/pull/5742 中修复(测试):在 cli 中添加缺失的依赖项以修复沙盒运行 * 由 @psinha40898 在 https://github.com/google-gemini/gemini-cli/pull/5102 中修复:重新渲染上下文使用指示器 * 由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/5780 中为 Vertex 和 Google 身份验证方法包含模式错误处理 * 由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/5798 中添加用户可以启用或禁用的新 folderTrust 设置 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/5727 中对 IDE 集成进行一些优化 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5793 中避免在非交互模式下两次加载和初始化 CLI 配置 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/5719 中更新 README 并降低配套扩展所需的 VS Code 版本 * 由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/5802 中更新工作流中的 `google-github-actions/run-gemini-cli` 版本 * 由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/5806 中更新(vscode 设置):更新 VsCode 设置以改善生活质量 * 由 @brychanrobot 在 https://github.com/google-gemini/gemini-cli/pull/5771 中优化性能(filesearch):使用异步 fzf 进行非阻塞文件搜索 * 由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/5795 中修复(核心):用稳健的正确性测试替换不稳定的性能测试 * 由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/5790 中更新(遥测):在 Firebase Studio 中使用 Gemini CLI 时记录 `FIREBASE_STUDIO` * 由 @richieforeman 在 https://github.com/google-gemini/gemini-cli/pull/5810 中更新(vscode):将推荐扩展列表添加到 vscode 设置中。 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/5651 中新增功能(ui):改进窄终端下的 UI 布局适配 * 由 @miguelsolorio 在 https://github.com/google-gemini/gemini-cli/pull/5796 中在主题中使用语义颜色 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/5809 中将 echo 工具添加到自动化分类工作流 * 由 @laurentsimon 在 https://github.com/google-gemini/gemini-cli/pull/5324 中修复:设置中允许的 MCP 服务器未显示在 /mcp 命令中 * 由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/5781 中修复(cli)- 将日志记录移入 CodeAssistServer * 由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/5820 中新增功能(质量):看到新类型的 Markdown 元素时重置 * 由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/5818 中更新文档:改进本地遥测示例 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/5734 中新增功能(遥测):防止 ClearcutLogger 中的内存泄漏 * 由 @agarwalravikant 在 https://github.com/google-gemini/gemini-cli/pull/5823 中修复 git 问题 5657,添加添加/删除代码行遥测 * 由 @akhil29 在 https://github.com/google-gemini/gemini-cli/pull/5688 中修复:在遥测中正确报告工具错误 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/5841 中修复(核心):添加缺失的 mnemonist 依赖项 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5808 中新增功能(ide-mode):当活动差异未聚焦时隐藏差异选项 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5804 中新增功能(ide-mode):将环境变量连接到沙盒 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5792 中新增功能(ide-mode):CLI 关闭时关闭所有打开的差异 * 由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/5815 中添加 FolderTrustDialog,在启动时显示并启用 folderTrust 设置 * 由 @shishu314 在 https://github.com/google-gemini/gemini-cli/pull/5842 中修复(cli)- 在 LoggingContentGenerator 中添加响应和错误的日志记录 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/5858 中使用斜杠命令而非上下文抽屉来显示编辑器中的打开文件,以减少 UI 闪烁 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/5860 中修复过多的控制台日志记录 + 移除不必要的 try catch * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5845 中为工具调度器添加请求队列 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/5857 中新增功能:添加隐藏代码块中行号的选项 * 由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/5856 中添加 MCP Roots 支持 * 由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/5864 中更新(发布):v0.1.18 * 由 @briandealwis 在 https://github.com/google-gemini/gemini-cli/pull/5245 中修复(核心):限制 oauth_creds.json 文件权限 * 由 @flowernotfound 在 https://github.com/google-gemini/gemini-cli/pull/5686 中新增功能(聊天):为 `/chat save` 添加覆盖确认对话框 * 由 @Lee-WonJun 在 https://github.com/google-gemini/gemini-cli/pull/5356 中集中键绑定逻辑并重构(重新打开) * 由 @JayadityaGit 在 https://github.com/google-gemini/gemini-cli/pull/5666 中新增功能:为 Gemini CLI 中的换行快捷键添加幽默提示 * 由 @y-okt 在 https://github.com/google-gemini/gemini-cli/pull/5866 中新增功能:从 cli 参数中移除 load-memory-from-include-directories 选项 * 由 @lifefloating 在 https://github.com/google-gemini/gemini-cli/pull/4453 中新增功能(cli)- 通过双击 ESC 清空增强输入用户体验 * 由 @Lee-WonJun 在 https://github.com/google-gemini/gemini-cli/pull/5884 中修复 [#5356] 小问题:移除重复绑定并添加完整的导航命令 * 由 @ali-aljufairi 在 https://github.com/google-gemini/gemini-cli/pull/4738 中新增功能(ui):添加 /settings 命令和 UI 面板 * 由 @ali-aljufairi 在 https://github.com/google-gemini/gemini-cli/pull/5909 中修复(设置):启用默认使用统计信息收集 * 由 @LyalinDotCom 在 https://github.com/google-gemini/gemini-cli/pull/5732 中更新文档(readme):为清晰度和用户体验进行全面改进 * 由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/5947 中更新文档(config):在文档中添加 showLineNumbers 选项 * 由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/5862 中新增功能:在所有日志中添加“surface”信息 * 由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/5986 中在两个窗格中显示 IDE 差异选项 * 由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/5985 中进行额外的 IDE 集成优化 * 由 @cornmander 在 https://github.com/google-gemini/gemini-cli/pull/5962 中新增功能(核心):为 GoogleCredentialProvider 添加主机验证 * 由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/5880 中修改描述 IDE 上下文生成的内容,使其仅包含初始更新后的增量 * 由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/5693 中使 ProjectIdRequiredError 错误更宽松 * 由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/5868 中更新:问题分类工作流标记重复问题 * 由 @sijieamoy