← 返回更新日志

Gemini CLI v0.36.0-nightly.20260318.e2658ccda 预发布

2026-03-18 · GitHub 原文
## 更新内容 * build(ci): 通过 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/22237 修复了合并提交时误触发评估的问题 * fix(core): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22255 明确向策略引擎传递 messageBus 以保存 MCP 工具 * feat(core): 通过 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/22115 将 packages/core 完全迁移至 AgentLoopContext * feat(core): 通过 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/22196 提高子代理回合和时间限制 * feat(core): 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22082 为即时上下文发现检测文件系统工具 * refactor(ui): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22256 提取纯会话浏览器工具 * fix(plan): 通过 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/22074 修复 AskUser 评估 * fix(settings): 通过 @student-ankitpandit 在 https://github.com/google-gemini/gemini-cli/pull/21865 防止 j/k 导航键拦截编辑缓冲区输入 * feat(skills): 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/21790 改进异步 PR 审查工作流和日志记录 * refactor(cli): 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/22190 将 getErrorMessage 工具整合至核心 * fix(core): 通过 @afarber 在 https://github.com/google-gemini/gemini-cli/pull/18095 在保存设置失败时显示描述性错误信息 * docs(core): 通过 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/22178 添加远程子代理认证指南 * docs: 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22345 彻底重写子代理文档并添加 /agents 命令 * refactor(ui): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22348 提取 SessionBrowser 静态 UI 组件 * test: 通过 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/22356 添加 Object.create 上下文回归测试和工具确认集成测试 * feat(tracker): 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22060 为追踪工具返回 TodoList 显示 * feat(agent): 通过 @cynthialong0-0 在 https://github.com/google-gemini/gemini-cli/pull/21775 为浏览器代理添加允许域名限制 * chore/release: 通过 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/22251 将版本提升至 0.35.0-nightly.20260313.bb060d7a9 * 通过 @chrstnb 在 https://github.com/google-gemini/gemini-cli/pull/22332 将密钥链回退移至密钥链服务 * feat(core): 通过 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/22231 集成 SandboxManager 以沙盒化所有进程生成工具 * fix(cli): 通过 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/22353 支持终端协议中的 CJK 输入和完整 Unicode 标量值 * 通过 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/22253 提升稳定测试 * feat(tracker): 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22379 添加追踪器策略 * feat(security): 通过 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/21941 添加 disableAlwaysAllow 设置以禁用自动批准 * 通过 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/22378 回退“fix(cli): 在启动时验证 --model 参数” * fix(mcp): 通过 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/20231 处理 OAuth 验证中的等效根资源 URL * fix(core): 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22382 为任务追踪器使用会话特定临时目录 * 通过 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/22397 修复配置未定义的问题 * fix(core): 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22234 在启用即时上下文时去重项目内存 * feat(prompts): 通过 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/21503 实现用于减少冗长的主题-动作-摘要模型 * fix(core): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22407 修复手动删除子代理历史记录 * 通过 @kevinjwang1 在 https://github.com/google-gemini/gemini-cli/pull/22224 添加注册表变量 * 通过 @kevinjwang1 在 https://github.com/google-gemini/gemini-cli/pull/22302 向 ModelConfigService 添加 ModelDefinitions * fix(cli): 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/21942 改进技能的命令冲突处理 * fix(core): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22484 将用户设置与扩展提供的 MCP 服务器合并 * fix(core): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22494 跳过不完整 MCP 配置的发现并解决合并竞争条件 * fix(automation): 通过 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/22558 加强陈旧 PR 关闭者权限和维护者检测 * fix(automation): 通过 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/22561 在检查受保护标签前评估陈旧性 * feat(agent): 通过 @cynthialong0-0 在 https://github.com/google-gemini/gemini-cli/pull/22213 用预构建包替换浏览器代理 chrome devtool mcp 的运行时 npx * perf: 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22384 优化 TrackerService 依赖检查 * docs(policy): 通过 @kawasin73 在 https://github.com/google-gemini/gemini-cli/pull/22264 从 commandPrefix 示例中移除尾随空格 * fix(a2a-server): 通过 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/22661 解决不安全的赋值 lint 错误 * fix: 通过 @sripasg 在 https://github.com/google-gemini/gemini-cli/pull/22230 调整 ToolGroupMessage 过滤以隐藏确认并显示已取消的工具调用 * 通过 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/22408 禁止 Object.create() 和 reflect * 通过 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/22665 保护专业模型使用 * refactor(core): 通过 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/22270 创建 AgentSession 抽象以整合代理接口 * docs(changelog): 通过 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/22529 从发行说明中移除内部命令 * feat: 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22386 启用子代理 * feat(extensions): 通过 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/21772 为扩展更新实现加密完整性验证 * feat(tracker): 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22437 完善 UI 排序和格式化 * 通过 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/22220 为 v0.34.0-preview.2 添加更新日志 * fix(core): 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22679 修复 read_file、read_many_files 和 memoryDiscovery 中的三个即时上下文 bug * refactor(core): 通过 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/22544 引入 InjectionService,支持源感知注入和后端原生后台补全 * Linux 沙盒 bubblewrap 由 @DavidAPierce 在 https://github.com/google-gemini/gemini-cli/pull/22680 实现 * feat(core): 通过 @bdmorgan 在 https://github.com/google-gemini/gemini-cli/pull/22202 提高思维签名重试弹性 * feat(core): 通过 @aishaneeshah 在 https://github.com/google-gemini/gemini-cli/pull/22217 为 web_fetch 实现第 2 阶段安全性和一致性改进 * refactor(core): 通过 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/22674 用 ExecuteOptions 包替换位置执行参数 * feat(config): 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22736 默认启用即时上下文加载 * fix(config): 通过 @kevin-ramdass 在 https://github.com/google-gemini/gemini-cli/pull/22744 确保在初始化期间将 discoveryMaxDirs 传递给全局配置 * fix(plan): 通过 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/22668 在计划模式中允许 get_internal_docs * 通过 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/22393 为 v0.34.0-preview.3 添加更新日志 * feat(core): 通过 @akh64bit 在 https://github.com/google-gemini/gemini-cli/pull/22708 为子代理工具隔离奠定基础 * fix(core): 通过 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/22754 在 truncateString 中处理代理对 * fix(cli): 通过 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/22800 在设置对话框中覆盖 j/k 导航以修复搜索输入冲突 * feat(plan): 通过 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/22365 为多选 AskUser 问题添加“以上全部”选项 * docs: 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22734 将包特定的 GEMINI.md 上下文分发到每个包 * fix(cli): 通过 @Jomak-x 在 https://github.com/google-gemini/gemini-cli/pull/20375 在单词/行删除后清理过时的粘贴占位符元数据 * refactor(core): 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22766 使即时内存放置与分层上下文模型对齐 * Linux 沙盒 seccomp 由 @DavidAPierce 在 https://github.com/google-gemini/gemini-cli/pull/22815 实现 * 通过 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/22730 为 v0.33.2 添加更新日志 * feat(core): 通过 @akh64bit 在 https://github.com/google-gemini/gemini-cli/pull/22712 实现多注册表架构和子代理工具过滤 * 通过 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/22752 为 v0.34.0-preview.4 添加更新日志 * fix(devtools): 通过 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/22181 为控制台警告和错误使用主题感知文本颜色 * 通过 @kevinjwang1 在 https://github.com/google-gemini/gemini-cli/pull/22578 向 ModelConfigService 添加动态模型解析支持 * chore(release): 通过 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/22858 将版本提升至 0.36.0-nightly.20260317.2f90b4653 * fix(cli): 通过 @mattKorwel 在 https://github.com/google-gemini/gemini-cli/pull/22606 在 useLogger 中使用活动 sessionId 并改进恢复鲁棒性 * fix(cli): 通过 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/22772 在 settings.json 中扩展策略路径的波浪号 * fix(core): 通过 @spencer426 在 https://github.com/google-gemini/gemini-cli/pull/22211 为终端回退添加可操作警告 (#14426) * feat(tracker): 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22442 将任务追踪器协议集成到核心系统提示中 * chore: 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/22865 添加测试后构建钩子并修复缺失依赖 * feat(a2a): 通过 @alisa-alisa 在 https://github.com/google-gemini/gemini-cli/pull/22389 添加代理确认命令并增强注册表发现 * fix(cli): 通过 @sakshisemalti 在 https://github.com/google-gemini/gemini-cli/pull/21380 自动将所有 VSCode 工作区文件夹添加到 Gemini 上下文 * feat: 通过 @anj-s 在 https://github.com/google-gemini/gemini-cli/pull/22735 为任务和待办事项添加“已阻止”状态 * refactor(cli): 通过 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/22868 移除 ShellToolMessage.tsx 中的多余换行符 ## 新贡献者 * @student-ankitpandit 在 https://github.com/google-gemini/gemini-cli/pull/21865 中首次贡献 * @cynthialong0-0 在 https://github.com/google-gemini/gemini-cli/pull/21775 中首次贡献 * @kawasin73 在 https://github.com/google-gemini/gemini-cli/pull/22264 中首次贡献 * @Jomak-x 在 https://github.com/google-gemini/gemini-cli/pull/20375 中首次贡献 * @sakshisemalti 在 https://github.com/google-gemini/gemini-cli/pull/21380 中首次贡献 **完整更新日志**: https://github.com/google-gemini/gemini-cli/compare/v0.35.0-nightly.20260314.3038fdce2...v0.36.0-nightly.20260318.e2658ccda