← 返回更新日志

Gemini CLI v0.1.18-nightly.250812.26fe587b

2025-08-12 · GitHub 原文
## 更新内容 * 通过 @sethtroisi 在 https://github.com/google-gemini/gemini-cli/pull/2904 中,使 /chat 命令的标签成为必需项 * 通过 @vachan-shetty 在 https://github.com/google-gemini/gemini-cli/pull/2898 中,降低压缩历史记录的阈值 * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/2892 中,在帮助信息中添加 shift+tab 提示 * 通过 @eddie-santos 在 https://github.com/google-gemini/gemini-cli/pull/3035 中,更新通知模板 * 通过 @mpcarolin 在 https://github.com/google-gemini/gemini-cli/pull/3061 中,修复 README 中的拼写错误 * 通过 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/3062 中,feat(workflows):添加自动化和计划性的 PR 分类 * 通过 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/3082 中,refactor(ci):改进 PR 分类 * 通过 @acktsap 在 https://github.com/google-gemini/gemini-cli/pull/2722 中,docs:修复 CONTRIBUTING.md 中的拼写错误 * 通过 @joshmoon827 在 https://github.com/google-gemini/gemini-cli/pull/2781 中,fix:移除不必要的空白字符 * 通过 @fnune 在 https://github.com/google-gemini/gemini-cli/pull/3100 中,在 ANSI 主题中使用 AccentBlue: 'blue' 替代硬编码的 #0000FF * 通过 @devpool007 在 https://github.com/google-gemini/gemini-cli/pull/2491 中,fix:显示 ctrl+s 快捷键以展开调试控制台 #2002 * 通过 @rmedranollamas 在 https://github.com/google-gemini/gemini-cli/pull/3117 中,feat(cli):为小屏幕更新 ASCII 艺术字 * 通过 @SunskyXH 在 https://github.com/google-gemini/gemini-cli/pull/2118 中,fix(client):在 flashFallbackHandler 中从配置获取模型 * 通过 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/3147 中,修复了传递给 Clearcut 的 Google 用户 ID * 通过 @joshmoon827 在 https://github.com/google-gemini/gemini-cli/pull/3128 中,为核心工具方法添加和改进 JSDoc 注释 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/2652 中,重构 text-buffer 以使用 reducer * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/2852 中,发布:利用 Github Actions 和标签进行发布 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3202 中,修复夜间版本的标签 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3204 中,Mk 夜间发布标签格式化 * 通过 @kumar-mithlesh 在 https://github.com/google-gemini/gemini-cli/pull/3203 中,chore:拼写错误修复 * 通过 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/3167 中,ci:更新 issue 模板以使用 GitHub 警报 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3206 中,Mk 夜间发布标签格式化 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3254 中,对标签进行签名 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3264 中,Mk 对夜间发布提交进行签名 * 通过 @doggy8088 在 https://github.com/google-gemini/gemini-cli/pull/2862 中,修复 deployment.md 中的命令使用问题 * 通过 @nedn 在 https://github.com/google-gemini/gemini-cli/pull/3247 中,文档:更新 gemini-cli README.md 要求 Node.js 版本 20+ * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3277 中,feat:将最低 Node.js 版本更新为 20 * 通过 @didier-durand 在 https://github.com/google-gemini/gemini-cli/pull/3284 中,修复多个文件中的拼写错误 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3285 中,Mk nohup * 通过 @0ldh 在 https://github.com/google-gemini/gemini-cli/pull/3183 中,fix:小拼写错误 * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/3333 中,fix(cli):分组已取消的工具调用响应以防止 API 错误 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3321 中,发布:清理和精简 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3335 中,清理发布提示 * 通过 @BigUncle 在 https://github.com/google-gemini/gemini-cli/pull/3300 中,fix(core):清理工具参数以修复 400 API 错误 * 通过 @siba2893 在 https://github.com/google-gemini/gemini-cli/pull/2932 中,修复 #2922:防止在 shell 模式下将 @ 连接到有效路径 * 通过 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/2883 中,feat:在工具调度器中处理内联内容修改 * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/3339 中,将 @google/genai 更新至 1.8.0 * 通过 @psinha40898 在 https://github.com/google-gemini/gemini-cli/pull/3056 中,feat:添加用户启动警告,添加主目录检查 * 通过 @devpool007 在 https://github.com/google-gemini/gemini-cli/pull/3367 中,feat:在 /help 内部显示 YOLO 模式快捷键 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3418 中,发布杂项 * 通过 @y-okt 在 https://github.com/google-gemini/gemini-cli/pull/3349 中,feat(core):改进 isCommandAllowed 中的错误消息 * 通过 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/3416 中,fix:在 .env 中为 settings.json 变量替换时尊重环境变量 * 通过 @zfflxx 在 https://github.com/google-gemini/gemini-cli/pull/3362 中,修复表格标题和行的嵌套 Markdown 渲染 #3331 * 通过 @zfflxx 在 https://github.com/google-gemini/gemini-cli/pull/3387 中,@file 不尊重配置 respectGitIgnore=false (#3382) * 通过 @PugazhendhiDev 在 https://github.com/google-gemini/gemini-cli/pull/3229 中,feat:添加 .svg 支持 * 通过 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/3456 中,将 Gemini CLI Action 工作流迁移到直接 WIF 认证 * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/3360 中,重新启用 shell 工具使用中的反引号 * 通过 @jdemeulenaere 在 https://github.com/google-gemini/gemini-cli/pull/2976 中,将 excludeTools 和 includeTools 添加到 mcpServers 配置 * 通过 @gennadiycivil 在 https://github.com/google-gemini/gemini-cli/pull/3023 中,添加新测试以验证当提供 Authorization 头时 * 通过 @teeler 在 https://github.com/google-gemini/gemini-cli/pull/3464 中,添加 --allowed_mcp_server_names 标志 * 通过 @mainroach 在 https://github.com/google-gemini/gemini-cli/pull/3043 中,fix:EditTool 可能会覆盖对同一文件的人工编辑 * 通过 @chrisheecho 在 https://github.com/google-gemini/gemini-cli/pull/3060 中,更新 README.md 以显示 Vertex 的 API 密钥用法 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3467 中,移除不需要的代码 * 通过 @sambhavKhanna 在 https://github.com/google-gemini/gemini-cli/pull/2919 中,fix(cli):防止 Tab 键自动执行不完整的斜杠命令 * 通过 @teeler 在 https://github.com/google-gemini/gemini-cli/pull/3469 中,refactor:将 allowed_mcp_server_names 重命名为 allowed-mcp-server-names * 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/3175 中,feature(commands) - 重构斜杠命令 + 面向未来的愿景 * 通过 @mboshernitsan 在 https://github.com/google-gemini/gemini-cli/pull/3070 中,使 Gemini CLI 能够在 Cloud Shell 中重用用户的认证 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3483 中,在启动时初始化 MCP 工具一次,而不是每次认证时 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3491 中,修复拼写错误并为认证验证添加测试 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3493 中,修复认证对话框中的双 "esc" 错误 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3489 中,发布和打包:清理 * 通过 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/3500 中,chore:在 --help 消息中添加通用用法消息 * 通过 @warjiang 在 https://github.com/google-gemini/gemini-cli/pull/3093 中,ci:在复刻的仓库中禁用计划任务 * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/3506 中,修复 Windows 上 start.js 中的无限循环 * 通过 @Aisha630 在 https://github.com/google-gemini/gemini-cli/pull/2707 中,style:将执行时间格式化为分钟、秒 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3049 中,压缩时保留最近的历史记录 * 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/3511 中,修复夜间发布 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/2881 中,改进函数调用参数验证和类型检查 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3545 中,不强制要求前导斜杠,因为在 Windows 上并非如此 * 通过 @mboshernitsan 在 https://github.com/google-gemini/gemini-cli/pull/1381 中,改进认证环境变量验证逻辑和消息传递,以检测混淆 GenAI SDK 的设置 * 通过 @bbiggs 在 https://github.com/google-gemini/gemini-cli/pull/3191 中,添加命令行选项以启用和列出扩展 * 通过 @mboshernitsan 在 https://github.com/google-gemini/gemini-cli/pull/3560 中,fix:尊重 DEBUG 和 CLI_TITLE 环境变量 * 通过 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/3541 中,refactor:将所有标志合并为使用连字符(弃用下划线标志) * 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/3568 中,修复模型检查中的错误请求 * 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/3235 中,fix(auth):不要盲目地默认使用 API 密钥认证 * 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/2972 中,chore(deps):添加 Dependabot 配置 * 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/2992 中,chore:添加 CodeQL 分析 * 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/3557 中,固定 shell-quote 的版本 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3592 中,chore(deps):将 gaxios 从 6.7.1 升级到 7.1.1 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3590 中,chore(deps):将 yargs 从 17.7.2 升级到 18.0.0 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3586 中,chore(deps-dev):将 esbuild 从 0.25.5 升级到 0.25.6 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3587 中,chore(deps-dev):将 globals 从 16.2.0 升级到 16.3.0 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3582 中,chore(deps):升级 mime-types 和 @types/mime-types * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3576 中,chore(deps):将 actions/create-github-app-token 从 1 升级到 2 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3575 中,chore(deps):将 dorny/test-reporter 从 1 升级到 2 * 通过 @Principal-Ideal 在 https://github.com/google-gemini/gemini-cli/pull/3570 中,chore:修复拼写错误 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3581 中,chore(deps):将 ws 从 8.18.2 升级到 8.18.3 * 通过 @kdozlo 在 https://github.com/google-gemini/gemini-cli/pull/3537 中,docs(contributing):在 GEMINI_SANDBOX 示例中提及 macOS Seatbelt * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3583 中,chore(deps):将 google-auth-library 从 9.15.1 升级到 10.1.0 * 通过 @dependabot[bot] 在 https://github.com/google-gemini/gemini-cli/pull/3589 中,chore(deps):将 dotenv 从 16.6.1 升级到 17.1.0 * 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/3610 中,fix(deps):回滚 yargs 升级并修复 npx 回归问题 * 通过 @swissspidy 在 https://github.com/google-gemini/gemini-cli/pull/3515 中,为 `--help`