Gemini CLI v0.55.1 发布:多项安全修复与稳定性改进
Release v0.55.1
推荐理由
Gemini CLI 是 AI 编程 Agent 的核心工具,本次修复了多个安全漏洞(包括 RCE 风险)和关键稳定性问题,建议所有用户尽快升级到 v0.55.1。
What's Changed
变更内容
- fix/verify release npm ci ignore scripts by @rmedranollamas in #28116
- fix(ci): prevent workspace binary shadowing in release verification by @galdawave in #28132
- Feat/tool registry discovery by @ved015 in #28113
- fix(ci): prevent bad NPM releases and promote job crashes by @galdawave in #28147
- Changelog for v0.50.0-preview.1 by @gemini-cli-robot in #28150
- Fix no_proxy test by @jerrylin3321 in #28131
- chore(release): bump version to 0.51.0-nightly.20260625.g3fbf93e26 by @gemini-cli-robot in #28151
- Vertex base url update by @DavidAPierce in #28145
- fix(security): enforce case-insensitive sensitive path blocklist and vscode hitl by @luisfelipe-alt in #27966
- fix(core-tools): resolve defensive path resolution for at-reference files and fix macOS tests by @luisfelipe-alt in #28053
- feat(caretaker): implement Cloud Run webhook ingestion service by @chadd28 in #28015
- fix(core): resolve symbolic link directory escape in memory import processor by @luisfelipe-alt in #28233
- feat(caretaker): egress cloud run service skeleton by @chadd28 in #28167
- fix(sandbox): make ~/.gitconfig read-only in the macOS sandbox by @ompatel-aiml in #28221
- fix(core): preserve escape sequences in string literals for modern models by @luisfelipe-alt in #28299
- fix(core): strip thoughts from scrubbed history turns and resolve thought leakage by @amelidev in #27971
- Refactor: exclude transient CI configuration files from workspace context by @DavidAPierce in #28216
- feat(caretaker-triage): add triage worker core foundational modules by @chadd28 in #28163
- feat(caretaker-egress): implement octokit github action handler for egress service by @chadd28 in #28303
- chore(release): bump version to 0.52.0-nightly.20260707.g27a3da3e8 by @gemini-cli-robot in #28323
- Changelog for v0.51.0-preview.0 by @gemini-cli-robot in #28320
- Changelog for v0.50.0 by @gemini-cli-robot in #28322
- fix(core-tools): bypass LLM correction for JSON and IPYNB files in write_file and replace by @amelidev in #28223
- fix(core): use unambiguous previous intent label in fallback summary by @amelidev in #28343
- feat(caretaker-triage): implement main worker execution loop and egress action publisher by @chadd28 in #28306
- fix(privacy): show a clear message when the account has no Code Assist tier by @ompatel-aiml in #28304
- fix(core): enrich shared project quota limit errors with setup hint by @amelidev in #28391
- fix(a2a-server): ensure task cancellation aborts execution loop by @luisfelipe-alt in #28316
- fix(core): simplify plan mode write policy to support relative paths by @DavidAPierce in #28398
- feat(core): Bump node google-auth-library version to 10.9.0 by @jerrylin3321 in #28385
- chore/release: bump version to 0.52.0-nightly.20260715.gfa975395b by @gemini-cli-robot in #28402
- fix(core,a2a): group cancelled tool responses and coalesce consecutive roles to prevent 400 Bad Request by @luisfelipe-alt in #28407
- feat(caretaker-triage): implement LLM triage orchestrator and container build by @chadd28 in #28345
- refactor(cli): align macOS permissive Seatbelt profiles with deny-default model by @ompatel-aiml in #28424
- fix(core): mitigate infinite ReAct loops and prompt injection loops by @amelidev in #28429
- fix(a2a-server): enforce workspace trust and task isolation to prevent RCE by @luisfelipe-alt in #28470
- fix(core): sequentially verify cached credentials and restore GOOGLE_APPLICATION_CREDENTIALS fallback by @luisfelipe-alt in #28472
- feat(evals): add eval coverage report command by @ved015 in #28169
- Changelog for v0.53.0-preview.0 by @gemini-cli-robot in #28507
- Changelog for v0.52.0 by @gemini-cli-robot in #28508
- chore(release): bump version to 0.54.0-nightly.20260722.gf743ab579 by @gemini-cli-robot in #28510
- fix(caretaker): sanitize and wrap issue title in untrusted_context by @chadd28 in #28352
- chore(caretaker): update vitest to v3.2.4 and add package-lock.json files by @chadd28 in #28409
- fix(core): rotate session ID on model fallback to prevent stateful API errors by @amelidev in #28469
- feat(caretaker-triage): post comment before auto-closing issues by @chadd28 in #28411
- fix(core): enforce HTTPS for GoogleCredentialsAuthProvider to prevent cleartext leakage by @amelidev in #28517
- fix(core): filter out thought parts from getHistoryTurns when context management is disabled by @DavidAPierce in #28509
- fix(a2a-server): normalize CRLF line endings to LF in getProposedContent by @luisfelipe-alt in #28531
- fix(core): enforce explicit tag length and validation in file keychain by @luisfelipe-alt in #28523
- chore/release: bump version to 0.54.0-nightly.20260728.gbef611950 by @gemini-cli-robot in #28552
- feat(pr-generator-db): implement Firestore concurrency dual-locking and test ingestion utilities by @joneba-google in #28432
- feat(pr-generator-agent): implement Antigravity agent runner and prompt templates … by @joneba-google in #28434
- fix(core): skip merged function-response turns when finding the active loop by @adamfweidman in #28565
- chore(release): bump version to 0.55.0-nightly.20260728.gd29268d36 by @gemini-cli-robot in #28569
- Changelog for v0.54.0-preview.0 by @gemini-cli-robot in #28567
- Changelog for v0.53.0 by @gemini-cli-robot in #28568
- chore/release: bump version to 0.55.0-nightly.20260729.g3499c84f7 by @gemini-cli-robot in #28573
- fix(core): classify capacity exhaustion as terminal to prevent retry hangs by @luisfelipe-alt in #28599
- fix(core,cli): propagate InvalidStreamError details to UI for specific empty response guidance by @DavidAPierce in #28566
- fix(cli): fall back to embedded macOS seatbelt profiles if missing by @amelidev in #28551
- feat(pr-generator-core): add environment config parser, command executor, GitHub R… by @joneba-google in #28435
- feat(pr-generator-orchestrator): implement iterative bug-fixing state machine and container worker entrypoint by @joneba-google in #28433
- feat(pr-generator-infra): configure Cloud Run job, Workflows definition, and Dockerfile by @joneba-google in #28431
- fix(release): handle npm dist-tag deletion failures on registries that forbid it by @DavidAPierce in #28694
- fix(core): stop a new user message fusing into an unanswered tool response by @adamfweidman in #28700
- fix(core,cli): repair /compress session reload and quota-fallback tool response loss by @adamfweidman in #28672
- fix(core): preserve functionCall thoughtSignature when stripping thought parts by @sarbojitrana in #28607
- fix(core): unwrap and parse nested gaxios streaming errors from cause message by @luisfelipe-alt in #28689
- Changelog for v0.55.0-preview.1 by @gemini-cli-robot in #28706
- chore(release): bump version to 0.56.0-nightly.20260806.g761f604c1 by @gemini-cli-robot in #28707
- Changelog for v0.54.0 by @gemini-cli-robot in #28708
- Reclassifying Capacity Exhaustion as Terminal Error by @luisfelipe-alt in #28716
- feat(caretaker): update Firestore schema with error, and pr_number fields by @chadd28 in #28467
- feat(caretaker-triage): prompt hill-climbing & orchestrator updates by @chadd28 in #28524
- feat(caretaker): add triage Cloud Run job workflow by @chadd28 in #28468
- feat(caretaker-evals): add triage evaluation framework and judge runner by @chadd28 in #28530
- feat(caretaker-evals): add local golden issue collection and firestore sync tools by @chadd28 in #28532
- feat(caretaker): publish workable spec event to ready-for-code Pub/Sub topic by @chadd28 in #28588
- feat(caretaker): add GCP deployment script for caretaker agent services by @chadd28 in #28529
- feat(caretaker-evals): add Cloud Run job entrypoint for eval runner by @chadd28 in #28727
- fix(caretaker): clear lock on NEEDS_HUMAN transition by @chadd28 in #28601
- feat(ingestion): add issue comment handling and re-triage workflow by @chadd28 in #28690
- 修复/验证发布时 npm ci 忽略脚本,由 @rmedranollamas 在 #28116 中提交
- 修复(CI):在发布验证中防止工作区二进制文件遮蔽,由 @galdawave 在 #28132 中提交
- 功能/工具注册表发现,由 @ved015 在 #28113 中提交
- 修复(CI):防止错误的 NPM 发布和提升作业崩溃,由 @galdawave 在 #28147 中提交
- v0.50.0-preview.1 的变更日志,由 @gemini-cli-robot 在 #28150 中提交
- 修复 no_proxy 测试,由 @jerrylin3321 在 #28131 中提交
- chore(发布):将版本提升至 0.51.0-nightly.20260625.g3fbf93e26,由 @gemini-cli-robot 在 #28151 中提交
- Vertex 基础 URL 更新,由 @DavidAPierce 在 #28145 中提交
- 修复(安全):对敏感路径阻止列表和 vscode hitl 强制执行不区分大小写,由 @luisfelipe-alt 在 #27966 中提交
- 修复(核心工具):解决 at-reference 文件的防御性路径解析并修复 macOS 测试,由 @luisfelipe-alt 在 #28053 中提交
- 功能(看护者):实现 Cloud Run webhook 摄取服务,由 @chadd28 在 #28015 中提交
- 修复(核心):解决内存导入处理器中的符号链接目录逃逸,由 @luisfelipe-alt 在 #28233 中提交
- 功能(看护者):出口云运行服务骨架,由 @chadd28 在 #28167 中提交
- 修复(沙箱):在 macOS 沙箱中将 ~/.gitconfig 设为只读,由 @ompatel-aiml 在 #28221 中提交
- 修复(核心):为现代模型保留字符串字面量中的转义序列,由 @luisfelipe-alt 在 #28299 中提交
- 修复(核心):从清理后的历史轮次中剥离思考并解决思考泄漏,由 @amelidev 在 #27971 中提交
- 重构:从工作区上下文中排除临时 CI 配置文件,由 @DavidAPierce 在 #28216 中提交
- 功能(看护者-分流):添加分流工作器核心基础模块,由 @chadd28 在 #28163 中提交
- 功能(看护者-出口):为出口服务实现 octokit github 操作处理器,由 @chadd28 在 #28303 中提交
- chore(发布):将版本提升至 0.52.0-nightly.20260707.g27a3da3e8,由 @gemini-cli-robot 在 #28323 中提交
- v0.51.0-preview.0 的变更日志,由 @gemini-cli-robot 在 #28320 中提交
- v0.50.0 的变更日志,由 @gemini-cli-robot 在 #28322 中提交
- 修复(核心工具):在 write_file 和 replace 中绕过 LLM 对 JSON 和 IPYNB 文件的修正,由 @amelidev 在 #28223 中提交
- 修复(核心):在回退摘要中使用明确的先前意图标签,由 @amelidev 在 #28343 中提出
- 功能(维护者-分诊):实现主工作线程执行循环和出口动作发布器,由 @chadd28 在 #28306 中提出
- 修复(隐私):当账户没有 Code Assist 层级时显示清晰消息,由 @ompatel-aiml 在 #28304 中提出
- 修复(核心):为共享项目配额限制错误添加设置提示,由 @amelidev 在 #28391 中提出
- 修复(a2a-server):确保任务取消中止执行循环,由 @luisfelipe-alt 在 #28316 中提出
- 修复(核心):简化计划模式写入策略以支持相对路径,由 @DavidAPierce 在 #28398 中提出
- 功能(核心):将 node google-auth-library 版本升级到 10.9.0,由 @jerrylin3321 在 #28385 中提出
- 杂务/发布:将版本提升到 0.52.0-nightly.20260715.gfa975395b,由 @gemini-cli-robot 在 #28402 中提出
- 修复(核心,a2a):分组取消的工具响应并合并连续角色以防止 400 错误请求,由 @luisfelipe-alt 在 #28407 中提出
- 功能(维护者-分诊):实现 LLM 分诊编排器和容器构建,由 @chadd28 在 #28345 中提出
- 重构(命令行):将 macOS 宽松的 Seatbelt 配置文件与默认拒绝模型对齐,由 @ompatel-aiml 在 #28424 中提出
- 修复(核心):缓解无限 ReAct 循环和提示注入循环,由 @amelidev 在 #28429 中提出
- 修复(a2a-server):强制工作区信任和任务隔离以防止 RCE,由 @luisfelipe-alt 在 #28470 中提出
- 修复(核心):顺序验证缓存的凭据并恢复 GOOGLE_APPLICATION_CREDENTIALS 回退,由 @luisfelipe-alt 在 #28472 中提出
- 功能(评估):添加评估覆盖率报告命令,由 @ved015 在 #28169 中提出
- v0.53.0-preview.0 的变更日志,由 @gemini-cli-robot 在 #28507 中提出
- v0.52.0 的变更日志,由 @gemini-cli-robot 在 #28508 中提出
- 杂务(发布):将版本提升到 0.54.0-nightly.20260722.gf743ab579,由 @gemini-cli-robot 在 #28510 中提出
- 修复(维护者):在 untrusted_context 中清理并包装问题标题,由 @chadd28 在 #28352 中提出
- 杂务(维护者):将 vitest 更新到 v3.2.4 并添加 package-lock.json 文件,由 @chadd28 在 #28409 中提出
- 修复(核心):在模型回退时轮换会话 ID 以防止有状态 API 错误,由 @amelidev 在 #28469 中提出
- 功能(维护者-分诊):在自动关闭问题之前发布评论,由 @chadd28 在 #28411 中提出
- 修复(核心):为 GoogleCredentialsAuthProvider 强制使用 HTTPS 以防止明文泄漏,由 @amelidev 在 #28517 中提出
- 修复(核心):当上下文管理被禁用时,从 getHistoryTurns 中过滤掉思考部分,由 @DavidAPierce 在 #28509 中提出
- 修复(a2a-server):在getProposedContent中规范化CRLF行结束符为LF,由@luisfelipe-alt在#28531中完成
- 修复(core):在文件钥匙串中强制显式标签长度和验证,由@luisfelipe-alt在#28523中完成
- chore/release:将版本提升至0.54.0-nightly.20260728.gbef611950,由@gemini-cli-robot在#28552中完成
- 功能(pr-generator-db):实现Firestore并发双锁和测试摄取工具,由@joneba-google在#28432中完成
- 功能(pr-generator-agent):实现Antigravity代理运行器和提示模板…由@joneba-google在#28434中完成
- 修复(core):在查找活动循环时跳过合并的函数响应轮次,由@adamfweidman在#28565中完成
- chore(release):将版本提升至0.55.0-nightly.20260728.gd29268d36,由@gemini-cli-robot在#28569中完成
- v0.54.0-preview.0的变更日志,由@gemini-cli-robot在#28567中完成
- v0.53.0的变更日志,由@gemini-cli-robot在#28568中完成
- chore/release:将版本提升至0.55.0-nightly.20260729.g3499c84f7,由@gemini-cli-robot在#28573中完成
- 修复(core):将容量耗尽分类为终止状态以防止重试挂起,由@luisfelipe-alt在#28599中完成
- 修复(core,cli):将InvalidStreamError详细信息传播到UI以提供特定空响应指导,由@DavidAPierce在#28566中完成
- 修复(cli):如果缺少嵌入式macOS seatbelt配置文件则回退,由@amelidev在#28551中完成
- 功能(pr-generator-core):添加环境配置解析器、命令执行器、GitHub R…由@joneba-google在#28435中完成
- 功能(pr-generator-orchestrator):实现迭代式错误修复状态机和容器工作进程入口点,由@joneba-google在#28433中完成
- 功能(pr-generator-infra):配置Cloud Run作业、Workflows定义和Dockerfile,由@joneba-google在#28431中完成
- 修复(release):处理禁止删除dist-tag的注册表上的npm dist-tag删除失败,由@DavidAPierce在#28694中完成
- 修复(core):阻止新用户消息与未回答的工具响应融合,由@adamfweidman在#28700中完成
- 修复(core,cli):修复/compress会话重新加载和配额回退工具响应丢失,由@adamfweidman在#28672中完成
- 修复(core):在剥离思考部分时保留functionCall的thoughtSignature,由@sarbojitrana在#28607中完成
- 修复(core):从原因消息中解包并解析嵌套的gaxios流错误,由@luisfelipe-alt在#28689中完成
- v0.55.0-preview.1的变更日志,由@gemini-cli-robot在#28706中完成
- chore(release):将版本提升至0.56.0-nightly.20260806.g761f604c1,由@gemini-cli-robot在#28707中完成
- v0.54.0的变更日志,由@gemini-cli-robot在#28708中完成
- 由 @luisfelipe-alt 在 #28716 中将容量耗尽重新分类为终止错误
- 功能(caretaker):更新 Firestore 模式,添加 error 和 pr_number 字段,由 @chadd28 在 #28467 中实现
- 功能(caretaker-triage):提示爬山算法与编排器更新,由 @chadd28 在 #28524 中实现
- 功能(caretaker):添加 triage Cloud Run 作业工作流,由 @chadd28 在 #28468 中实现
- 功能(caretaker-evals):添加 triage 评估框架和裁判运行器,由 @chadd28 在 #28530 中实现
- 功能(caretaker-evals):添加本地黄金问题收集和 Firestore 同步工具,由 @chadd28 在 #28532 中实现
- 功能(caretaker):将可工作的规范事件发布到 ready-for-code Pub/Sub 主题,由 @chadd28 在 #28588 中实现
- 功能(caretaker):为 caretaker 代理服务添加 GCP 部署脚本,由 @chadd28 在 #28529 中实现
- 功能(caretaker-evals):为评估运行器添加 Cloud Run 作业入口点,由 @chadd28 在 #28727 中实现
- 修复(caretaker):在 NEEDS_HUMAN 转换时清除锁,由 @chadd28 在 #28601 中实现
- 功能(ingestion):添加问题评论处理和重新分诊工作流,由 @chadd28 在 #28690 中实现
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力