← 返回更新日志

Gemini CLI v0.1.18

2025-08-06 · GitHub 原文
## 更新内容 * feat(cli): 通过 @krikera 在 https://github.com/google-gemini/gemini-cli/pull/2803 中添加 hideBanner 设置以禁用启动横幅 * 通过 @nick-popovic 在 https://github.com/google-gemini/gemini-cli/pull/4092 中修复 Makefile 中构建目标的重复帮助文本 * 通过 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/4049 中在调试模式下显示来自 mcp 服务器的 stderr 输出 * 通过 @doggy8088 在 https://github.com/google-gemini/gemini-cli/pull/3381 中修复 Markdown 标题级别问题 * 通过 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/4051 中添加 /extensions 命令的文档 * 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/3917 中引入 VSCode 配套扩展 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/3927 中为 IDE 集成添加功能标志 * fix(docs): 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/3781 中澄清 README 中的全局安装说明 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/3797 中将 '/auth' 更新为使用新的斜杠命令架构 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/4141 中避免未压缩的历史记录以函数响应开始 * fix(checkpoint): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4144 中防止静默失败并支持非 Git 项目 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3880 中重构 MCP 代码以便重用和测试 * 通过 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/4150 中修复遥测日志记录中的循环引用 JSON 序列化问题 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4158 中使 @ 命令排序文件时不包含扩展名 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/3919 中引入可中断简单循环的循环检测服务 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4193 中记录两种类型的循环检测 * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4202 中将 /privacy 迁移到新架构 * 纯重构:通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/4163 中整合 isWithinRoot() 函数调用 * 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/3759 中更新到 yargs v18 * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4207 中迁移 /about * 通过 @srithreepo 在 https://github.com/google-gemini/gemini-cli/pull/4178 中发布路线图 * feat: 通过 @devpool007 在 https://github.com/google-gemini/gemini-cli/pull/3371 中添加当用户使用 node -v <20 时的警告 #2930 * 修复:通过 @Jvr2022 在 https://github.com/google-gemini/gemini-cli/pull/2763 中标准化 README 中 "Troubleshooting Guide" 的大小写 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4154 中将用户在 IDE 中的活动文件添加到页脚 * [ide-mode] 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4147 中在活动文件更改时流式传输通知 * 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/4140 中仅在 settings.json 中明确设置时才启用工具摘要 * feat(tool): 通过 @sambhavKhanna 在 https://github.com/google-gemini/gemini-cli/pull/3095 中按字母顺序排序工具列表以获得确定性输出 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4240 中将 API 密钥包含在头部而不是 URL 中 * 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/4244 中撤销 Node <20 警告 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4241 中上传配套 VS Code 扩展的 VSIX * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/4252 中撤销 "Update to yargs v18 (#3759)" * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4146 中将 `/stats` 更新为使用新的斜杠命令架构 * 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4135 中为设置中的允许/排除 MCP 服务器名称添加支持 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4229 中将 `/extensions` 更新为新的斜杠命令架构 * 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4255 中在 VSCode 扩展中动态设置端口,并在 gemini-cli 中读取并发送初始通知 * [ide-mode] 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4264 中将活动文件线程化传递到系统提示词 * 通过 @elvinagam 在 https://github.com/google-gemini/gemini-cli/pull/2233 中更新 MaxSizedBox.tsx * 通过 @Lee-WonJun 在 https://github.com/google-gemini/gemini-cli/pull/4227 中改进斜杠命令中的 altName 补全行为 * 通过 @cdemeke 在 https://github.com/google-gemini/gemini-cli/pull/3086 中澄清当通过 Google De... 提供 Gemini Code Assist 时 * refactor: 通过 @HunDun0Ben 在 https://github.com/google-gemini/gemini-cli/pull/2857 中优化 "/chat list" 和 "/chat resume" 的显示信息 * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4271 中迁移 compress 命令 * 通过 @emeryray2002 在 https://github.com/google-gemini/gemini-cli/pull/3678 中将 MCP 斜杠命令移动到新系统 * feat(cli): 通过 @matias-casal 在 https://github.com/google-gemini/gemini-cli/pull/1729 中在未执行命令时按 CTRL+C 清除输入缓冲区 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4256 中在后台运行模型可用性检查以加速启动 * chore: 通过 @ramonfigueiredo 在 https://github.com/google-gemini/gemini-cli/pull/4249 中更新 release-docker.yaml 中的编号 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4133 中将 `/docs` 更新为新的斜杠命令架构 * 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4308 中撤销 "[ide-mode] Thread active file through to system prompt" * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4254 中将配套 VS Code 扩展 VSIX 作为构建/发布的一部分包含 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4236 中将 `/tools` 更新为新的斜杠命令架构 * fix: 通过 @wanlin31 在 https://github.com/google-gemini/gemini-cli/pull/4176 中将 google/genai 更新到 v1.9.0 并为 MCP 相关工具切换到 parametersJsonSchema * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4311 中对 IDE 模式进行次要用户体验更新 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4265 中添加 /ide status 和 /ide install 命令来管理 IDE 集成 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4153 中将 `/editor` 更新为新的斜杠命令架构 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4331 中对 IDE 配套服务器进行次要重构 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4246 中将 `/bug` 更新为新的斜杠命令架构 * 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4259 中将 `/quit` 更新为使用新的斜杠命令架构 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4348 中修复在每个其他事件上重置循环计数的问题 * bug(ux): 通过 @nsalerni 在 https://github.com/google-gemini/gemini-cli/pull/4162 中在运行 /clear 命令时更新上下文百分比 * [ide-mode] 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4312 中将活动文件添加到用户模型请求中 * 在 start_session_event 中记录 surface 字段。同时记录 sessio... 通过 @uttamkanodia14 在 https://github.com/google-gemini/gemini-cli/pull/4362 * (fix) - 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4374 中修复命令迁移导致的退出快捷键回归问题 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4382 中将 companionPort 不存在的情况更新为警告,以便用户仍可继续运行 /ide install * 通过 @azorlu80 在 https://github.com/google-gemini/gemini-cli/pull/3999 中修复文本缓冲区中的 ANSI 转义崩溃 (#3987) * feat(cli): 通过 @warjiang 在 https://github.com/google-gemini/gemini-cli/pull/2526 在 cli 中添加显式代理选项 * 通过 @meteorcloudy 在 https://github.com/google-gemini/gemini-cli/pull/4304 中修复 `--checkpointing` 的检查点文档链接 * 通过 @ConradIrwin 在 https://github.com/google-gemini/gemini-cli/pull/4266 中实现 Zed 集成 * 修复 #4220:当只有一个建议时允许上下箭头切换历史记录... 通过 @goldyonatan 在 https://github.com/google-gemini/gemini-cli/pull/4377 * 通过 @miguelsolorio 在 https://github.com/google-gemini/gemini-cli/pull/4320 中为选择列表添加编号 * 通过 @seuros 在 https://github.com/google-gemini/gemini-cli/pull/4296 中将 ESLint 及相关包更新到最新版本 * fix: 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/4289 中移除直接的 gaxios 依赖 * 通过 @kamja44 在 https://github.com/google-gemini/gemini-cli/pull/4287 中测试/添加 loadcodeassist 模拟 * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4388 中迁移 restore 命令 * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4419 中迁移 /corgi * fix(cli): 通过 @y-okt 在 https://github.com/google-gemini/gemini-cli/pull/4052 中在本地运行 gemini-cli 时不显示更新可用消息 * feat(ui): 通过 @Lyonk71 在 https://github.com/google-gemini/gemini-cli/pull/4012 中在终端失去焦点时隐藏光标 * 通过 @miguelsolorio 在 https://github.com/google-gemini/gemini-cli/pull/4396 中改进浅色主题颜色 * feat(auth): 通过 @chux0519 在 https://github.com/google-gemini/gemini-cli/pull/3532 中增强 OAuth 回调以提供强大的 Docker 支持 * (fix): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/4428 中修复损坏的发布和端到端工作流 * feat(cli): 通过 @haroldmciver-go 在 https://github.com/google-gemini/gemini-cli/pull/4397 中允许在完全匹配时执行命令 * MCP OAuth 第 1 部分 - OAuth 基础设施 通过 @emeryray2002 在 https://github.com/google-gemini/gemini-cli/pull/4316 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4337 中实现使用 LLM 进行循环检查 * 通过 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/3977 中在显示中展示被阻止的 MCP 服务器 * [ide-mode] 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/4329 中每 30 秒发送一次 ping 以防止客户端关闭连接 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/4459 中尽可能为 MCP 工具使用简单名称 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/4462 中基于光标位置改进命令补全触发逻辑 * 通过 @skeshive 在 https://github.com/google-gemini/gemini-cli/pull/4470 中在输入框上方的上下文部分显示打开的 IDE 文件,而不是在页脚中 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/4409 中演示后台代理 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/4407 中添加 /background 命令(当配置了后台代理时) * 通过 @mboshernitsan 在 https://github.com/google-gemini/gemini-cli/pull/4475 中自动检测非交互式环境并回退到基于代码的手动身份验证流程 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/4479 中撤销后台代理提交 * 通过 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/4469 中使 shell 输出保持一致 * feat(core): 通过 @y-okt 在 https://github.com/google-gemini/gemini-cli/pull/4440 中显示被拒绝的确认代码差异 * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/4508 中简化 MCP 连接错误 * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/4514 中延长 mcp-server 超时时间 * chore(release): 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/4515 中发布 v0.1.13 * fix: 通过 @osbornesec 在 https://github.com/google-gemini/gemini-cli/pull/3417 中防止 GitIgnoreParser 对根路径出现 RangeError * 通过 @ali-aljufairi 在 https://github.com/google-gemini/gemini-cli/pull/2639 中实现自定义主题逻辑功能 * feat: 通过 @psinha40898 在 https://github.com/google-gemini/gemini-cli/pull/3727 中在 settings 和相应的工具调用中完整实现 .geminiignore *