← 返回更新日志

Gemini CLI v0.38.0-preview.0 预发布

2026-04-08 · GitHub 原文
## 变更内容 * fix(cli): 在 /skills 重载后刷新斜杠命令列表,由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/24454 提交 * 更新 README.md 中的链接,由 @g-samroberts 在 https://github.com/google-gemini/gemini-cli/pull/22759 提交 * fix(core): 确保 complete_task 工具调用被记录到聊天历史中,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/24437 提交 * feat(policy): 在计划模式下明确允许使用 web_fetch,由 @Adib234 在 https://github.com/google-gemini/gemini-cli/pull/24456 提交 * fix(core): 重构 Linux 沙箱以修复 ARG_MAX 崩溃问题,由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/24286 提交 * feat(config): 添加 experimental.adk.agentSessionNoninteractiveEnabled 设置,由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/24439 提交 * v0.36.0-preview.8 的更新日志,由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/24453 提交 * feat(cli): 将默认 loadingPhrases 更改为 'off' 以隐藏提示,由 @keithguerin 在 https://github.com/google-gemini/gemini-cli/pull/24342 提交 * fix(cli): 确保在所有可拒绝工具被取消时代理停止,由 @NTaylorMullen 在 https://github.com/google-gemini/gemini-cli/pull/24479 提交 * fix(core): 增强沙箱可用性并修复构建错误,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24460 提交 * 终端序列化器优化,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24485 提交 * 自动配置内存,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24474 提交 * catch 块中未使用的错误变量不被允许,由 @alisa-alisa 在 https://github.com/google-gemini/gemini-cli/pull/24487 提交 * feat(core): 为技能提取添加后台内存服务,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/24274 提交 * feat: 为评估实现高信号 PR 回归检查,由 @alisa-alisa 在 https://github.com/google-gemini/gemini-cli/pull/23937 提交 * 修复 shell 输出显示,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24490 提交 * fix(ui): 解决各种工具输出处理周围不需要的垂直间距,由 @jwhelangoog 在 https://github.com/google-gemini/gemini-cli/pull/24449 提交 * revert(cli): 恢复复制模式下的输入框和页脚可见性,由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/24504 提交 * fix(cli): 防止在处理非数组数据时 AnsiOutputText 崩溃,由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/24498 提交 * feat(cli): 支持环境变量的默认值,由 @ruomengz 在 https://github.com/google-gemini/gemini-cli/pull/24469 提交 * 实现后台进程监控和检查工具,由 @cocosheng-g 在 https://github.com/google-gemini/gemini-cli/pull/23799 提交 * docs(browser-agent): 更新过时的浏览器代理文档,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/24463 提交 * fix: 在集成测试中启用 browser_agent 并添加 localhost 测试夹具,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/24523 提交 * fix(browser): 为 analyze_screenshot 处理 computer-use 模型检测,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/24502 提交 * feat(core): 落地 ContextCompressionService,由 @joshualitt 在 https://github.com/google-gemini/gemini-cli/pull/24483 提交 * feat(core): 通过 AsyncLocalStorage 限定子代理工作区目录范围,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/24445 提交 * 将 ink 版本更新至 6.6.7,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24514 提交 * fix(acp): 在提示中优雅地处理所有 InvalidStreamError 类型,由 @sripasg 在 https://github.com/google-gemini/gemini-cli/pull/24540 提交 * 修复 Windows 上 vim 编辑器未在 PATH 中时的崩溃问题,由 @Nagajyothi-tammisetti 在 https://github.com/google-gemini/gemini-cli/pull/22423 提交 * fix(core): 将项目内存目录移至 tmp 目录下,由 @SandyTao520 在 https://github.com/google-gemini/gemini-cli/pull/24542 提交 * 为 yesno 问题类型启用 'Other' 选项,由 @ruomengz 在 https://github.com/google-gemini/gemini-cli/pull/24545 提交 * fix(cli): 取消后清除过时的重试/加载状态 (#21096),由 @Aaxhirrr 在 https://github.com/google-gemini/gemini-cli/pull/21960 提交 * v0.37.0-preview.0 的更新日志,由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/24464 提交 * feat(core): 实现上下文感知的持久化策略批准,由 @jerop 在 https://github.com/google-gemini/gemini-cli/pull/23257 提交 * docs: 移动代理禁用说明并更新远程代理状态,由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/24559 提交 * feat(cli): 将 nonInteractiveCli 迁移至 LegacyAgentSession,由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/22987 提交 * fix(core): 核心文件系统中的不安全类型断言 #19712,由 @aniketsaurav18 在 https://github.com/google-gemini/gemini-cli/pull/19739 提交 * fix(ui): 在 /stats 中隐藏模型配额并重构配额显示,由 @danzaharia1 在 https://github.com/google-gemini/gemini-cli/pull/24206 提交 * v0.36.0 的更新日志,由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/24558 提交 * v0.37.0-preview.1 的更新日志,由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/24568 提交 * docs: 为内部文档链接添加缺失的 .md 扩展名,由 @ishaan-arora-1 在 https://github.com/google-gemini/gemini-cli/pull/24145 提交 * fix(ui): 修复表格样式,由 @devr0306 在 https://github.com/google-gemini/gemini-cli/pull/24565 提交 * fix(core): 将 includeDirectories 传递给沙箱配置,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24573 提交 * feat(ui): 启用 "TerminalBuffer" 模式以解决闪烁问题,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24512 提交 * docs: 阐明发布协调流程,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/24575 提交 * fix(core): 移除有问题的 PowerShell 转换并修复 Windows 沙箱中的原生 __write,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/24571 提交 * 添加关于如何在生产环境启动 React 并强制 React 进入生产模式的说明,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24590 提交 * feat(cli): 极简沙箱状态标签,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24582 提交 * Feat/browser agent metrics,由 @kunal-10-cloud 在 https://github.com/google-gemini/gemini-cli/pull/24210 提交 * test: 修复 Windows CI 执行并解决暴露的平台失败,由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/24476 提交 * feat(core,cli): 为主题优先显示摘要 (#24608),由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/24609 提交 * 显示颜色,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24613 提交 * feat(cli): 默认启用紧凑工具输出 (#24509),由 @jwhelangoog 在 https://github.com/google-gemini/gemini-cli/pull/24510 提交 * fix(core): 在激活时将技能系统指令注入子代理提示,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/24620 提交 * fix(core): 提升 Windows 沙箱可靠性并修复集成测试,由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/24480 提交 * fix(core): 确保沙箱批准被正确持久化并匹配主动扩展,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24577 提交 * feat(cli) 输入提示的滚动条,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/21992 提交 * 当未检测到转向更改时不运行 pr-eval 工作流,由 @alisa-alisa 在 https://github.com/google-gemini/gemini-cli/pull/24621 提交 * 修复主题标题的恢复,由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/24650 提交 * feat(core): 劝阻简单任务使用 update topic 工具,由 @Samee24 在 https://github.com/google-gemini/gemini-cli/pull/24640 提交 * fix(core): 确保全局临时目录始终在沙箱允许路径中,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24638 提交 * fix(core): 检测未初始化的行,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24646 提交 * docs: 更新沙箱文档和 toolSandboxing 设置,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24655 提交 * feat(cli): 增强工具确认 UI 和选择布局,由 @galz10 在 https://github.com/google-gemini/gemini-cli/pull/24376 提交 * feat(acp): 添加 `/about` 命令,由 @sripasg 在 https://github.com/google-gemini/gemini-cli/pull/24649 提交 * feat(cli): 为 /stats 添加角色特定指标,由 @cynthialong0-0 在 https://github.com/google-gemini/gemini-cli/pull/24659 提交 * 分割上下文,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24623 提交 * fix(cli): 从 shebang 中移除 -S 以修复 Windows 和 BSD 执行,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/24756 提交 * 修复主题标题可能连续发布的问题,由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/24759 提交 * fix(core): 在 BeforeModel 钩子覆盖中处理部分 llm_request,由 @krishdef7 在 https://github.com/google-gemini/gemini-cli/pull/22326 提交 * fix(ui): 改进旁白抑制并减少闪烁,由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/24635 提交 * fix(ui): 修复导致徽标闪烁的认证竞争条件,由 @devr0306 在 https://github.com/google-gemini/gemini-cli/pull/24652 提交 * fix(browser): 子代理调用后移除过早的浏览器清理,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/24753 提交 * 还原 "feat(core,cli): 为主题优先显示摘要 (#24608)",由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/24777 提交 * 放宽计划模式下的工具沙箱覆盖以匹配默认值,由 @DavidAPierce 在 https://github.com/google-gemini/gemini-cli/pull/24762 提交 * fix(cli): 尊重全局环境变量允许列表,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/24767 提交 * fix(cli): 确保技能列表输出到非交互式环境的标准输出,由 @spencer426 在 https://github.com/google-gemini/gemini-cli/pull/24566 提交 * 添加评估并修复不安全的克隆行为,由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/24457 提交 * fix(policy): 在计划模式下允许 complete_task,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/24771 提交 * feat(telemetry): 添加浏览器代理 ClearCut 指标,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/24688 提交 * feat(cli): 支持选择性主题扩展和点击展开,由 @Abhijit-2592 在 https://github.com/google-gemini/gemini-cli/pull/24793 提交 * 临时禁用 Windows 上的沙箱集成测试,由 @ehedlund 在 https://github.com/google-gemini/gemini-cli/pull/24786 提交 * 移除不稳定测试,由 @scidomino 在 https://github.com/google-gemini/gemini-cli/pull/24837 提交 * Alisa/批准按钮,由 @alisa-alisa 在 https://github.com/google-gemini/gemini-cli/pull/24645 提交 * feat(hooks): 在 UI 中显示钩子系统消息,由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/24616 提交 * fix(core): 端到端传播 BeforeModel 钩子模型覆盖,由 @krishdef7 在 https://github.com/google-gemini/gemini-cli/pull/24784 提交 * chore: 修复行为评估技能参考文件的格式,由 @abhipatel12 在 https://github.com/google-gemini/gemini-cli/pull/24846 提交 * fix: 在 Windows 上使用目录连接点进行技能链接,由 @enjoykumawat 在 https://github.com/google-gemini/gemini-cli/pull/24823 提交 * fix(cli): 防止重新挂载时多次增加横幅,由 @sehoon38 在 https://github.com/google-gemini/gemini-cli/pull/24843 提交 * feat(acp): 添加 `/help` 命令,由 @sripasg 在 https://github.com/google-gemini/gemini-cli/pull/24839 提交 * fix(core): 移除 tmux 备用缓冲区警告,由 @jackwotherspoon 在 https://github.com/google-gemini/gemini-cli/pull/24852 提交 * 改进沙箱错误匹配和缓存,由 @DavidAPierce 在 https://github.com/google-gemini/gemini-cli/pull/24550 提交 * feat(core): 添加代理协议 UI 类型和实验性标志,由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/24275 提交 * feat(core): 使用实验标志设置默认获取超时,由 @yunaseoul 在 https://github.com/google-gemini/gemini-cli/pull/24261 提交 * 还原 "fix(ui): 改进旁白抑制并减少闪烁 (#2…,由 @gundermanc 在 https://github.com/google-gemini/gemini-cli/pull/24857 提交 * refactor(cli): 移除交互式 shell 等待输入提示中的重复,由 @JayadityaGit 在 https://github.com/google-gemini/gemini-cli/pull/24801 提交 * refactor(core): 使 LegacyAgentSession 依赖项变为可选,由 @mbleigh 在 https://github.com/google-gemini/gemini-cli/pull/24287 提交 * v0.37.0-preview.2 的更新日志,由 @gemini-cli-robot 在 https://github.com/google-gemini/gemini-cli/pull/24848 提交 * fix(cli): 始终显示 shell 命令描述或实际命令,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24774 提交 * 添加 ept 大小标志并增加默认大小,由 @devr0306 在 https://github.com/google-gemini/gemini-cli/pull/24859 提交 * fix(core): 处置 Scheduler 以防止 McpProgress 监听器泄漏,由 @Anjaligarhwal 在 https://github.com/google-gemini/gemini-cli/pull/24870 提交 * fix(cli): 切换回 terminalBuffer=false 默认值并修复该模式引入的回归,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24873 提交 * feat(cli): 从 ctrl-x 切换到 ctrl+g,由 @jacob314 在 https://github.com/google-gemini/gemini-cli/pull/24861 提交 * fix: 隔离并发浏览器代理实例,由 @gsquared94 在 https://github.com/google-gemini/gemini-cli/pull/24794 提交 * docs: 更新 MCP 服务器 OAuth 重定向端口文档,由 @adamfweidman 在 https://github.com/google-gemini/gemini-cli/pull/24844 提交 ## 新贡献者 * @Nagajyothi-tammisetti 在 https://github.com/google-gemini/gemini-cli/pull/22423 中首次贡献 * @aniketsaurav18 在 https://github.com/google-gemini/gemini-cli/pull/19739 中首次贡献 * @danzaharia1 在 https://github.com/google-gemini/gemini-cli/pull/24206 中首次贡献 * @ishaan-arora-1 在 https://github.com/google-gemini/gemini-cli/pull/24145 中首次贡献 * @enjoykumawat 在 https://github.com/google-gemini/gemini-cli/pull/24823 中首次贡献 * @Anjaligarhwal 在 https://github.com/google-gemini/gemini-cli/pull/24870 中首次贡献 **完整更新日志**: https://github.com/google-gemini/gemini-cli/compare/v0.37.0-preview.2...v0.38.0-preview.0