官方更新 OpenAI Codex Releases 2026-08-29T09:57 正文 ok 194 words

OpenAI Codex 0.151.0 发布:增强 MCP 工具发现、扩展处理与沙箱安全性

英文标题:OpenAI Codex 0.151.0

OpenAI 发布 Codex 0.151.0,新增针对可选 MCP 服务器工具发现的可配置宽限期,并允许扩展程序在 MCP 工具结果发送至模型前进行检查或替换。插件目录现可合并各仓库配置,在项目 marketplace 无效时仍展示可用插件。此次更新还修复了权限配置、模型切换、远程沙箱执行、MCP 错误传递、子 Agent Token 预算及 Guardian 授权状态等问题。对开发者而言,该版本提升了基于 MCP 的 Agent 集成可靠性、远程执行环境的安全约束和复杂多 Agent 任务中的成本控制能力。
打开原文相关 12.1 · 机会 4
media1.1 KB media1.5 KB media42.5 KB

中文

新功能

  • 为从可选 MCP 服务器发现工具新增可配置的宽限期。(#41199)
  • 扩展程序现在可在 MCP 工具结果到达模型前对其进行检查或替换。(#41202)
  • 插件目录现在会合并各个仓库的配置;当项目 marketplace 无效时,会报告该问题,同时不会隐藏有效插件。(#41208)

Bug 修复

  • 在 TUI 会话轮次间保留已恢复的权限配置,并防止 /cd 削弱沙箱限制。(#41192)
  • 在切换模型或回退至其他模型时,保持工具可用性和推理力度设置正确。(#41195, #41206)
  • 通过使用执行器实际的主目录、操作系统和路径约定,改进远程沙箱的强制执行。(#41196, #41204, #41207, #41209)
  • 在 app-server 响应中保留结构化的 MCP 工具与资源错误。(#41196)
  • 将嵌套子 Agent 的 Token 使用量计入根目标预算。(#41183)
  • 防止过期的 Guardian 分类结果在权限状态变更后仍对操作进行授权。(#41196)

维护工作

  • 新增针对升级 stdin 审核和远程执行器 MCP 发现的遥测数据。(#41189, #41205)
  • 在缓慢或高并发的 CI 环境下,提升 Guardian WebSocket 及核心 fixture 测试的稳定性。(#41191, #41194)

更新日志

完整更新日志:rust-v0.150.0...rust-v0.151.0

English / 原文

New Features

  • Added a configurable grace period for discovering tools from optional MCP servers. (#41199)
  • Extensions can now inspect or replace MCP tool results before they reach the model. (#41202)
  • Plugin catalogs now combine per-repository configuration and report invalid project marketplaces without hiding valid plugins. (#41208)

Bug Fixes

  • Preserved restored permission profiles across TUI turns and prevented /cd from weakening sandbox restrictions. (#41192)
  • Kept tool availability and reasoning effort correct when switching models or falling back to another model. (#41195, #41206)
  • Improved remote sandbox enforcement using the executor’s actual home directory, operating system, and path conventions. (#41196, #41204, #41207, #41209)
  • Preserved structured MCP tool and resource errors in app-server responses. (#41196)
  • Counted nested subagent token usage toward root goal budgets. (#41183)
  • Prevented stale Guardian classifications from authorizing actions after permission state changes. (#41196)

Chores

  • Added telemetry for escalated stdin reviews and remote executor MCP discovery. (#41189, #41205)
  • Stabilized Guardian WebSocket and core fixture tests under slow or highly concurrent CI. (#41191, #41194)

Changelog

Full Changelog: rust-v0.150.0...rust-v0.151.0