## 新功能
- MCP 工具现在在支持的情况下默认使用工具搜索,提升了工具发现能力,同时保持与旧模型和提供商的兼容性。(#29486)
- macOS 身份验证客户端在启用 `respect_system_proxy` 后可遵循系统代理、PAC 和 WPAD 设置。(#26709)
- 插件可通过本地清单和远程目录提供专用的深色模式徽标。(#29488)
- 应用可利用服务器提供的可见性和更快的模型元数据,显示更丰富的安全缓冲界面。(#29473)
## 错误修复
- 远程插件目录现在返回精选的特征插件排名。(#29485)
- 过期的 Amazon Bedrock 凭证现在会生成可操作的恢复指导,而非通用的授权错误。(#28992)
- 远程 stdio MCP 服务器现在接受以远程平台路径格式编写的绝对工作目录。(#29493)
- 远程 HTTP(S) 图像输入现在返回清晰的、模型可见的验证错误;内联数据 URL 和本地图像仍然支持。(#29417, #29419)
- 包含安全分类器无法检查的可执行 AST 区域的 PowerShell 命令现在需要批准。(#24092)
- 当所选模型缺少所需元数据时,代码模式现在会发出警告。(#29490)
## 杂项
- 更新了捆绑的 OpenSSL 和 esbuild 依赖项至已修补的版本。(#29487, #29489)
- 格式化程序运行成功时不再输出信息,失败时仍显示诊断信息。(#29467)
## 更新日志
完整更新日志:https://github.com/openai/codex/compare/rust-v0.142.1...rust-v0.142.2
- #28769 注册完整的 CDP 需求功能 @syuan-oai
- #29485 [codex] 为远程插件获取特征 ID @ericning-o
- #29487 升级捆绑的 OpenSSL 至 3.6.3 @jif-oai
- #29489 [codex] 更新 esbuild 至 0.28.1 @pakrym-oai
- #29488 [插件] 添加深色模式徽标元数据 @drewschuster-openai
- #29249 [codex] 将环境上下文迁移至模型世界状态 @pakrym-oai
- #29494 core: 包装令牌预算窗口上下文 @bolinfest
- #29417 [codex] 用模型可见的错误文本替换远程图像 @rka-oai
- #28360 feat(core): 在 ResponseItem 元数据中存储 turn_id @owenlin0
- #29486 [codex] 默认情况下为 MCP 工具使用工具搜索 @sayan-oai
- #29501 path-uri: 阐明主机本地路径转换 @anp-oai
- #29504 修复:世界状态响应项测试 @celia-oai
- #26704 TUI 插件共享 4 — 覆盖远程插件目录流程 @canvrno-oai
- #29419 [codex] 在应用服务器入口拒绝远程图像 @rka-oai
- #28992 chore: 改进过期的 Bedrock 凭证错误 @celia-oai
- #29467 格式化程序成功时静默输出 @anp-oai
- #26709 PAC 4 — 添加 macOS 系统代理解析器 @canvrno-oai
- #29490 chore: 在代码模式缺少模型元数据时发出警告 @celia-oai
- #29493 mcp: 接受远程 stdio 的外部绝对工作目录 @anp-oai
- #29473 传播安全缓冲处理元数据 @fc-oai
- #24092 [codex] 拒绝未转换的 PowerShell AST 区域 @bookholt-oai
## New Features
- MCP tools now use tool search by default when supported, improving tool discovery while preserving compatibility with older models and providers. (#29486)
- macOS authentication clients can honor system proxy, PAC, and WPAD settings when `respect_system_proxy` is enabled. (#26709)
- Plugins can provide dedicated dark-mode logos through local manifests and remote catalogs. (#29488)
- Apps can display richer safety-buffering UI using server-provided visibility and faster-model metadata. (#29473)
## Bug Fixes
- Remote plugin catalogs now return curated featured-plugin rankings. (#29485)
- Expired Amazon Bedrock credentials now produce actionable recovery guidance instead of a generic authorization error. (#28992)
- Remote stdio MCP servers now accept absolute working directories written in the remote platform’s path format. (#29493)
- Remote HTTP(S) image inputs now return clear model-visible validation errors; inline data URLs and local images remain supported. (#29417, #29419)
- PowerShell commands containing executable AST regions the safety classifier cannot inspect now require approval. (#24092)
- Code Mode now warns when the selected model lacks the required metadata. (#29490)
## Chores
- Updated bundled OpenSSL and esbuild dependencies to patched releases. (#29487, #29489)
- Successful formatter runs are now quiet while failures still show diagnostics. (#29467)
## Changelog
Full Changelog: https://github.com/openai/codex/compare/rust-v0.142.1...rust-v0.142.2
- #28769 Register full CDP requirements feature @syuan-oai
- #29485 [codex] fetch featured IDs for remote plugins @ericning-o
- #29487 Upgrade bundled OpenSSL to 3.6.3 @jif-oai
- #29489 [codex] Update esbuild to 0.28.1 @pakrym-oai
- #29488 [plugins] Add dark-mode logo metadata @drewschuster-openai
- #29249 [codex] migrate environment context to model world state @pakrym-oai
- #29494 core: wrap token budget window context @bolinfest
- #29417 [codex] replace remote images with model-visible error text @rka-oai
- #28360 feat(core): store turn_id on ResponseItem metadata @owenlin0
- #29486 [codex] Use tool search for MCP tools by default @sayan-oai
- #29501 path-uri: clarify host-native path conversion @anp-oai
- #29504 fix: world state response item test @celia-oai
- #26704 TUI Plugin Sharing 4 - cover remote plugin catalog flows @canvrno-oai
- #29419 [codex] reject remote images at app-server ingress @rka-oai
- #28992 chore: improve expired Bedrock credential errors @celia-oai
- #29467 Make formatter output quiet on success @anp-oai
- #26709 PAC 4 - Add macOS system proxy resolver @canvrno-oai
- #29490 chore: warn when Code Mode lacks model metadata @celia-oai
- #29493 mcp: accept foreign absolute cwd for remote stdio @anp-oai
- #29473 Propagate safety buffering treatment metadata @fc-oai
- #24092 [codex] Reject unlowered PowerShell AST regions @bookholt-oai