← 返回更新日志

Gemini CLI v0.3.0-preview.1

2025-08-28 · GitHub 原文
## 更新内容 * 功能:在 /setup-github 中更新 .gitignore,由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/6591 提交 * 重构:集中存储文件管理,由 @y-okt 在 https://github.com/google-gemini/gemini-cli/pull/4078 提交 * 更新 README.md,由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/6603 提交 * 功能:添加 Dependabot 配置,由 @cornmander 在 https://github.com/google-gemini/gemini-cli/pull/6604 提交 * 忽略不受信任文件夹的工作区设置,由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/6606 提交 * 为令牌生成添加权限规范,由 @cornmander 在 https://github.com/google-gemini/gemini-cli/pull/6595 提交 * 文档:更新输入清除功能的键盘快捷键,由 @lifefloating 在 https://github.com/google-gemini/gemini-cli/pull/6627 提交 * 依赖更新:将 google-github-actions/run-gemini-cli 从 0.1.10 升级到 0.1.11,由 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/6614 提交 * 添加 MCP 工具数量和 MCP 工具名称作为维度的更改,由 @agarwalravikant 在 https://github.com/google-gemini/gemini-cli/pull/6631 提交 * 测试(日志记录):为默认日志字段添加测试,由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/6583 提交 * 修复 README.md 中的格式问题,由 @aaabramov 在 https://github.com/google-gemini/gemini-cli/pull/6621 提交 * 功能(发布):更新夜间和预览版本的发布流程,由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/6643 提交 * 添加企业设置文档,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6076 提交 * 修复:README 中的拼写错误,由 @bravetux 在 https://github.com/google-gemini/gemini-cli/pull/6669 提交 * 修复:复制命令卡住的问题,由 @hritan 在 https://github.com/google-gemini/gemini-cli/pull/6482 提交 * 撤销“忽略不受信任文件夹的工作区设置”,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/6672 提交 * 修复 at 命令的竞态条件,由 @mrcabbage972 在 https://github.com/google-gemini/gemini-cli/pull/6663 提交 * 为 MCP 工具和已发现工具从 getDescription 返回 JSON 字符串化的参数,由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/6655 提交 * 修复:路线图中的拼写/语法错误,由 @bravetux 在 https://github.com/google-gemini/gemini-cli/pull/6675 提交 * 功能(核心):处理文件搜索路径中的特殊字符,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/6680 提交 * 功能(IDE 扩展):将工作区路径写入端口文件,由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/6659 提交 * 功能(IDE):改进 IDE 安装用户体验和反馈,由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/6677 提交 * 将 Dependabot PR 限制为安全更新,由 @cornmander 在 https://github.com/google-gemini/gemini-cli/pull/6657 提交 * 移除不必要的 FileErrorType,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/6697 提交 * 移除未使用的属性,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/6661 提交 * 测试(集成):为带有提示的 stdin 上下文添加失败测试,由 @allenhutchison 在 https://github.com/google-gemini/gemini-cli/pull/6158 提交 * 添加集成测试以确认环境变量传播,由 @cornmander 在 https://github.com/google-gemini/gemini-cli/pull/6696 提交 * 修复:更改损坏的表情符号,由 @bonggwan 在 https://github.com/google-gemini/gemini-cli/pull/6725 提交 * 功能(mcp-client):处理 httpUrl 的 401 错误,由 @yoichiro 在 https://github.com/google-gemini/gemini-cli/pull/6640 提交 * 修复(核心):避免对已取消的请求进行错误处理以防止崩溃,由 @pwrwpw 在 https://github.com/google-gemini/gemini-cli/pull/6039 提交 * 修复(指标):不将数值指标转换为字符串,由 @kiranani 在 https://github.com/google-gemini/gemini-cli/pull/6701 提交 * 信任级别更改时强制重启以重新加载设置,由 @shrutip90 在 https://github.com/google-gemini/gemini-cli/pull/6713 提交 * 功能(cli):提示补全,由 @3ks 在 https://github.com/google-gemini/gemini-cli/pull/4691 提交 * 企业文档的快速修复,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6753 提交 * 修复统计信息显示布局,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6758 提交 * 配置(lint 配置):将 test-utils 添加到 eslint 配置,由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/6768 提交 * 性能(核心):并行化内存发现文件操作以获得性能提升,由 @mag123c 在 https://github.com/google-gemini/gemini-cli/pull/5751 提交 * 针对非交互模式的 At 命令竞态条件错误修复,由 @mrcabbage972 在 https://github.com/google-gemini/gemini-cli/pull/6676 提交 * 修复:处理 Gemini 输出中的额外文本以进行去重工作流,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/6771 提交 * 功能(核心):在工具中用类型标注剩余的错误路径,由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/6699 提交 * 通过 stdio MCP 支持 IDE 连接,由 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/6417 提交 * 修复(文档):手册中聊天检查点的路径,由 @rfabbri 在 https://github.com/google-gemini/gemini-cli/pull/6303 提交 * 引入初始屏幕阅读器模式处理和标志,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6653 提交 * 功能(设置)支持编辑字符串设置,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/6732 提交 * 为 nonInteractiveToolExecutor 重用 CoreToolScheduler,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/6714 提交 * 测试(集成测试):将用户内存与测试运行隔离,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/6790 提交 * 修复(ide):在显示差异视图时保持焦点,由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/6795 提交 * 修复(控制台):修复“调试控制台”框中调试图标的渲染,由 @HunDun0Ben 在 https://github.com/google-gemini/gemini-cli/pull/6737 提交 * 修复:Ctrl+E 应移动到当前行尾,而不是缓冲区末尾,由 @mkusaka 在 https://github.com/google-gemini/gemini-cli/pull/6729 提交 * 修复(grep):grep 搜索中的内存溢出并增强测试覆盖率,由 @lifefloating 在 https://github.com/google-gemini/gemini-cli/pull/5911 提交 * 功能(搜索):添加禁用模糊搜索的选项,由 @brychanrobot 在 https://github.com/google-gemini/gemini-cli/pull/6510 提交 * 功能:将编程语言添加到 CLI 事件中,由 @nandakishorereddy-chundi 在 https://github.com/google-gemini/gemini-cli/pull/6071 提交 * 修复(工具):为 ReadManyFilesTool 添加文件列表结束标记,由 @vmiura 在 https://github.com/google-gemini/gemini-cli/pull/5967 提交 * 修复(检查点):改进 Git 问题的错误处理和消息传递,由 @bulkypanda 在 https://github.com/google-gemini/gemini-cli/pull/6801 提交 * 修复(cli):改进 stdin 处理并添加初始状态检查,由 @lifefloating 在 https://github.com/google-gemini/gemini-cli/pull/6747 提交 * 修复(核心):包含多字节字符的搜索结果中引用标记错位,由 @pokutuna 在 https://github.com/google-gemini/gemini-cli/pull/5956 提交 * 修复工作流设置中的无效 json,由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/6831 提交 * 修复(copyCommand):为 `/copy` 命令提供更友好的错误消息,由 @HunDun0Ben 在 https://github.com/google-gemini/gemini-cli/pull/6723 提交 * 修复(核心):正确合并多部分文本内容,由 @thisisrick25 在 https://github.com/google-gemini/gemini-cli/pull/6235 提交 * 功能(mcp):改进 MCP 提示参数解析,由 @jakemac53 在 https://github.com/google-gemini/gemini-cli/pull/6779 提交 * 错误(核心):修复“无更改”编辑,由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/6836 提交 * 修复(编辑器):修复使用 `modify with editor` 时 neovim 关闭的问题,由 @redoxahmii 在 https://github.com/google-gemini/gemini-cli/pull/5337 提交 * 功能(mcp):记录包含错误的 MCP 请求,由 @leehagoodjames 在 https://github.com/google-gemini/gemini-cli/pull/6778 提交 * 修复(发布):当未提供 ref 时回退到 github.sha,由 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/6862 提交 * 功能:添加明确的许可证选择和状态可见性,由 @JeongJaeSoon 在 https://github.com/google-gemini/gemini-cli/pull/6751 提交 * 在空块上重试消息流,由 @mrcabbage972 在 https://github.com/google-gemini/gemini-cli/pull/6777 提交 * 功能(cli):允许将主题指定为文件路径,由 @santhoshkumarCodes 在 https://github.com/google-gemini/gemini-cli/pull/6828 提交 * 功能(ci):为问题添加自我分配工作流,由 @davideast 在 https://github.com/google-gemini/gemini-cli/pull/6840 提交 * 记录流式响应的所有部分,由 @silviojr 在 https://github.com/google-gemini/gemini-cli/pull/6855 提交 * 支持来自 Zed 的提示中的所有内容类型,由 @agu-z 在 https://github.com/google-gemini/gemini-cli/pull/6756 提交 * 修复遇到不存在的包含目录时崩溃的问题,由 @gbbosak 在 https://github.com/google-gemini/gemini-cli/pull/6497 提交 * 更改 ToolResult.responseParts 的类型,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/6875 提交 * 修复(cli):支持沙箱配置文件路径中的特殊字符,由 @georgesmith46 在 https://github.com/google-gemini/gemini-cli/pull/2038 提交 * 内容错误重试的指标,由 @mrcabbage972 在 https://github.com/google-gemini/gemini-cli/pull/6870 提交 * 在将它们传递给 CountToken 之前过滤思考部分,由 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/6859 提交 * 添加对按键调试日志记录的支持以调查 #6227,由 @deepankarsharma 在 https://github.com/google-gemini/gemini-cli/pull/6844 提交 * 修复:斜杠命令补全菜单列宽和间距问题,由 @naaa760 在 https://github.com/google-gemini/gemini-cli/pull/5797 提交 * 修复(核心):跳过分隔符的循环检查,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/6893 提交 * 修复(cli):gemini 命令在 git bash 中卡住,由 @dumbbellcode 在 https://github.com/google-gemini/gemini-cli/pull/6397 提交 * 更新修补版本的说明,由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/6871 提交 * 功能(核心):在 glob 和 grep 工具之间共享文件列表模式,由 @Han5991 在 https://github.com/google-gemini/gemini-cli/pull/6359 提交 * 修复(cli):改进代理测试隔离和沙箱路径解析,由 @kookyleo 在 https://github.com/google-gemini/gemini-cli/pull/6555 提交 * 使用 ajv-formats 支持 JSON 模式格式,由 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/6949 提交 * 添加 `.prettierignore` 文件,由 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/6914 提交 * 添加(OTel):为 MalformedJsonEvent 添加 OTel 日志记录,由 @kiranani 在 https://github.com/google-gemini/gemini-cli/pull/6912 提交 * 引入系统默认值(相对于系统覆盖),由 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/6724 提交 * 配置(测试):安装并配置 vitest eslint 插件,由 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/3228 提交 * [扩展] 添加扩展管理安装命令,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6703 提交 * [扩展] 添加扩展卸载命令,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6877 提交 * 如果模型调用工具失败则显示错误而不是中止,由 @as-cii 在 https://github.com/google-gemini/gemini-cli/pull/7005 提交 * 修复:工具调用 UI 上错位的右边框以及多个工具调用 UI 中的间距问题,由 @bulkypanda 在 https://github.com/google-gemini/gemini-cli/pull/6941 提交 * [扩展] 添加扩展列表命令,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6879 提交 * 重构(ide):改进 IDE 检测发现,由 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/6765 提交 * 修复(键盘):为 Kitty 协议实现 Tab 和 Backspace 处理,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/7006 提交 * [扩展] 添加扩展更新命令,由 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/6878 提交 * 记录 yolo 模式 + 轮次数量,由 @shishu314 在 https://github.com/google-gemini/gemini-cli/p