## 新功能
- 新增了本地对话历史搜索功能,支持不区分大小写的内容匹配和结果预览。(#23519, #23921)
- 将 `--profile` 作为 CLI、TUI 权限和沙箱流程中的主要配置文件选择器,并通过迁移指南拒绝旧版配置文件。(#23708, #23883, #23890, #24051, #24055, #24059, #24067, #24110)
- 改进了 MCP 设置,支持按服务器定位环境,并为可流式 HTTP 服务器提供 OAuth 选项。(#23583, #24120)
- 通过保留本地 `$ref`/`$defs` 结构并在暴露前压缩过大的模式,使连接器工具模式更加可靠。(#23357, #23904)
- 允许只读 MCP 工具在声明了 `readOnlyHint` 时并发运行。(#23750)
- 添加了更丰富的扩展和钩子上下文,包括扩展工具的对话历史以及钩子输入中的子代理身份。(#22882, #23963)
## 错误修复
- 通过重新连接过时的 exec-server WebSocket 客户端、在认证恢复后立即重试远程控制以及重试远程压缩 v2 流,提高了远程可靠性。(#23867, #23775, #23951)
- 修复了 Windows TUI 渲染损坏问题,在绘制前恢复虚拟终端模式。(#24082)
- 针对信用和支出上限失败,显示特定工作区的使用限制消息。(#24114)
- 允许插件技能重用共享的插件级图标资源。(#23776)
- 在同步自动审核运行时设置时,保留活动权限配置文件元数据。(#23956)
- 确保基于 Node 的工具遵循 Codex 管理的网络代理环境。(#23905)
## 文档
- 在 README 中记录了 curl 和 PowerShell 安装程序的路径。(#24106)
- 更新了开发者文档,推荐在仓库本地测试运行中使用 `just test` 而非直接使用 `cargo test`。(#23910)
- 在相关配置错误中添加了配置文件迁移文档的链接。(#23879)
## 杂项
- 简化了发布打包,涉及规范化的原生构件、可重用的 DotSlash 获取以及新的 macOS x64 zsh 构件。(#23833, #23836, #24129, #24165)
- 为 Codex 生成的 V8 构件添加了发布构建支持。(#23934)
- 添加了图像重新编码基准测试和连接器风格的 JSON Schema 策略测试数据。(#23935, #24152)
- 改进了 WebSocket 请求、轮次开始和远程压缩 v2 的追踪与分析功能。(#23581, #23980, #24146)
## 变更日志
完整变更日志:https://github.com/openai/codex/compare/rust-v0.133.0...rust-v0.134.0
- #23581 在未追踪的热身之后追踪逻辑 WebSocket 请求 @jif-oai
- #23718 [codex] 引导预算有限的目标扩展轮次 @jif-oai
- #23861 修复:cargo lock @jif-oai
- #23728 特性:在 v2 中保持远程压缩截断对等性 @jif-oai
- #23870 强制要求工具执行器规范 @jif-oai
- #23882 [codex] 稳定子代理启动钩子测试 @jif-oai
- #23876 重构:集中化工具暴露规划 @jif-oai
- #23879 杂项:在配置文件错误消息中链接文档 @jif-oai
- #23883 CLI:将配置文件 v2 标志重命名为 --profile @jif-oai
- #23835 文档:为 codex-cli/package.json 添加描述 @bolinfest
- #23583 通过显式环境路由 MCP 服务器 @starr-openai
- #23886 CLI:移除旧的配置文件 v1 管道 @jif-oai
- #23708 TUI:传递权限配置文件选择 @viyatb-oai
- #23833 打包:将 rg 清单移出 npm bin @bolinfest
- #23796 改进临时会话的 `/goal` 错误消息 @etraut-openai
- #23867 使用新会话重新连接断开的 exec-server WebSocket 客户端 @starr-openai
- #23792 TUI:对已完成的目标跳过目标替换提示 @etraut-openai
- #23519 [codex] 添加基于回滚的线程内容搜索 @fc-oai
- #22552 移除插件钩子功能标志 @abhinav-oai
- #23836 npm:移除遗留的包构件合成 @bolinfest
- #23921 [codex] 使线程搜索不区分大小写 @fc-oai
- #23775 修复(远程控制):在认证恢复后重试 @apanasenko-oai
- #22882 向钩子输入添加子代理身份 @abhinav-oai
- #22915 [3/4] TUI:通过应用服务器路由功能和内存开关 @etraut-openai
- #23776 修复:允许插件技能共享插件级图标资源 @xl-openai
- #23860 添加 Bedrock Mantle GovCloud 区域 @CHARLESPALEN-OAI
- #23956 修复自动审核权限配置文件覆盖 @etraut-openai
- #23357 特性:在工具输入模式中支持本地引用和定义 @celia-oai
- #23963 向扩展工具公开对话历史 @sayan-oai
- #23904 特性:尽力压缩大型工具模式 @celia-oai
- #23750 当注释为只读时允许并行 MCP 工具调用 @anp-oai
- #23905 [codex] 为托管网络代理启用 Node 环境代理 @rreichel3-oai
- #23890 MCP:在 --profile 下显示配置文件迁移指导 @jif-oai
- #24051 配置:移除旧的配置文件 v1 解析 @jif-oai
- #24055 配置:移除旧的配置文件写入路径 @jif-oai
- #24057 避免在活动代理子树遍历中的配置快照 @jif-oai
- #24061 otel:移除旧的配置文件使用遥测 @jif-oai
- #24059 修复:拒绝旧的配置文件选择器 @jif-oai
- #23934 CI:为发布构建使用 Codex 生成的 v8 构件 @cconger
- #24099 修复(应用服务器):修复可选的布尔注解 @owenlin0
- #23910 在文档中推荐 `just test` 而非 `cargo test` @anp-oai
- #23951 重试远程压缩 v2 请求 @rhan-oai
- #24081 TUI:使 `codex-tui.log` 为可选 @jif-oai
- #24102 CLI:推断主机沙箱后端 @bolinfest
- #24067 应用服务器:移除旧的配置文件配置表面 @jif-oai
- #23736 添加新的企业需求门控 @adams-oai
- #24117 [codex] 为 Windows 沙箱日志使用滚动文件 @iceweasel-oai
- #24106 文档:更新 README.md 以提及基于 curl 的安装程序 @bolinfest
- #24082 修复(TUI):在 TUI 渲染前恢复 Windows VT @fcoury-oai
- #24110 CLI:为 codex sandbox 支持 --profile @bolinfest
- #23980 向 TurnStartedEvent 添加 trace_id @mchen-oai
- #24120 支持 codex mcp add 中的 OAuth 选项 @mzeng-openai
- #23989 向 codex-api 添加类型化的 Images 客户端 @won-openai
- #24146 [codex-analytics] 拆分压缩 v2 分析实现 @rhan-oai
- #24129 打包:拆分 DotSlash 可执行文件获取 @bolinfest
- #24151 [codex] 使用 TurnInput 作为会话任务输入 @pakrym-oai
- #23935 [codex] 添加图像重新编码基准测试 @anp-oai
- #24152 杂项:添加 JSON Schema 策略测试数据覆盖 @celia-oai
- #24157 [codex] 移除外部客户端会话重置管道 @pakrym-oai
- #24114 从响应头显示工作区使用限制错误副本 @dhruvgupta-oai
- #24165 发布:构建 macOS x64 zsh 构件 @bolinfest
## New Features
- Added search across local conversation history, including case-insensitive content matches with result previews. (#23519, #23921)
- Made `--profile` the primary profile selector across CLI, TUI permissions, and sandbox flows, with legacy profile configs rejected through migration guidance. (#23708, #23883, #23890, #24051, #24055, #24059, #24067, #24110)
- Improved MCP setup with per-server environment targeting and OAuth options for streamable HTTP servers. (#23583, #24120)
- Made connector tool schemas more reliable by preserving local `$ref`/`$defs` structures and compacting oversized schemas before exposure. (#23357, #23904)
- Let read-only MCP tools run concurrently when they advertise `readOnlyHint`. (#23750)
- Added richer extension and hook context, including conversation history for extension tools and subagent identity in hook inputs. (#22882, #23963)
## Bug Fixes
- Improved remote reliability by reconnecting stale exec-server websocket clients, retrying remote control immediately after auth recovery, and retrying remote compaction v2 streams. (#23867, #23775, #23951)
- Fixed Windows TUI rendering corruption by restoring virtual terminal mode before drawing. (#24082)
- Displayed workspace-specific usage-limit messages for credit and spend-cap failures. (#24114)
- Allowed plugin skills to reuse shared plugin-level icon assets. (#23776)
- Preserved active permission profile metadata when syncing auto-review runtime settings. (#23956)
- Ensured Node-based tools honor Codex’s managed network proxy environment. (#23905)
## Documentation
- Documented the curl and PowerShell installer paths in the README. (#24106)
- Updated developer docs to prefer `just test` over direct `cargo test` for repo-local test runs. (#23910)
- Added profile migration documentation links to relevant config errors. (#23879)
## Chores
- Simplified release packaging around canonical native artifacts, reusable DotSlash fetching, and a new macOS x64 zsh artifact. (#23833, #23836, #24129, #24165)
- Added release-build support for Codex-produced V8 artifacts. (#23934)
- Added image re-encoding benchmarks and connector-style JSON schema policy fixtures. (#23935, #24152)
- Improved tracing and analytics for websocket requests, turn starts, and remote compaction v2. (#23581, #23980, #24146)
## Changelog
Full Changelog: https://github.com/openai/codex/compare/rust-v0.133.0...rust-v0.134.0
- #23581 Trace logical websocket request after untraced warmup @jif-oai
- #23718 [codex] Steer budget-limited goal extension turns @jif-oai
- #23861 fix: cargo lock @jif-oai
- #23728 feat: retain remote compaction truncation parity in v2 @jif-oai
- #23870 Make tool executor specs mandatory @jif-oai
- #23882 [codex] Stabilize subagent start hook test @jif-oai
- #23876 refactor: centralize tool exposure planning @jif-oai
- #23879 chore: link doc in profile error messages @jif-oai
- #23883 cli: rename profile v2 flag to --profile @jif-oai
- #23835 docs: add description to codex-cli/package.json @bolinfest
- #23583 Route MCP servers through explicit environments @starr-openai
- #23886 cli: remove legacy profile v1 plumbing @jif-oai
- #23708 tui: plumb permission profile selection @viyatb-oai
- #23833 packaging: move rg manifest out of npm bin @bolinfest
- #23796 Improve `/goal` error messages for ephemeral sessions @etraut-openai
- #23867 Reconnect disconnected exec-server websocket clients with fresh sessions @starr-openai
- #23792 TUI: skip goal replace prompt for completed goals @etraut-openai
- #23519 [codex] Add rollout-backed thread content search @fc-oai
- #22552 Remove plugin hooks feature flag @abhinav-oai
- #23836 npm: remove legacy package artifact synthesis @bolinfest
- #23921 [codex] Make thread search case-insensitive @fc-oai
- #23775 fix(remote-control): retry after auth recovery @apanasenko-oai
- #22882 Add subagent identity to hook inputs @abhinav-oai
- #22915 [3 of 4] tui: route feature and memory toggles through app server @etraut-openai
- #23776 fix: Allow plugin skills to share plugin-level icon assets @xl-openai
- #23860 Add Bedrock Mantle GovCloud region @CHARLESPALEN-OAI
- #23956 Fix auto-review permission profile override @etraut-openai
- #23357 feat: support local refs and defs in tool input schemas @celia-oai
- #23963 Expose conversation history to extension tools @sayan-oai
- #23904 feat: best-effort compact large tool schemas @celia-oai
- #23750 Allow parallel MCP tool calls when annotated readOnly @anp-oai
- #23905 [codex] Enable Node env proxy for managed network proxy @rreichel3-oai
- #23890 mcp: surface profile migration guidance under --profile @jif-oai
- #24051 config: remove legacy profile v1 resolution @jif-oai
- #24055 config: remove legacy profile write paths @jif-oai
- #24057 Avoid config snapshots in live agent subtree traversal @jif-oai
- #24061 otel: drop legacy profile usage telemetry @jif-oai
- #24059 fix: reject legacy profile selectors @jif-oai
- #23934 ci: Use codex produced v8 artifacts for release builds @cconger
- #24099 fix(app-server): fix optional bool annotations @owenlin0
- #23910 Prefer `just test` over `cargo test` in docs @anp-oai
- #23951 retry remote compaction v2 requests @rhan-oai
- #24081 tui: make `codex-tui.log` opt-in @jif-oai
- #24102 cli: infer host sandbox backend @bolinfest
- #24067 app-server: drop legacy profile config surface @jif-oai
- #23736 Add new enterprise requirement gate @adams-oai
- #24117 [codex] Use rolling files for Windows sandbox logs @iceweasel-oai
- #24106 docs: update README.md to mention curl-based installer @bolinfest
- #24082 fix(tui): restore Windows VT before TUI renders @fcoury-oai
- #24110 cli: support --profile for codex sandbox @bolinfest
- #23980 Add trace_id to TurnStartedEvent @mchen-oai
- #24120 Support OAuth options in codex mcp add @mzeng-openai
- #23989 Add typed Images client to codex-api @won-openai
- #24146 [codex-analytics] split compaction v2 analytics implementation @rhan-oai
- #24129 package: factor DotSlash executable fetching @bolinfest
- #24151 [codex] Use TurnInput for session task input @pakrym-oai
- #23935 [codex] Add image re-encoding benchmarks @anp-oai
- #24152 chore: add JSON schema policy fixture coverage @celia-oai
- #24157 [codex] Remove external client session reset plumbing @pakrym-oai
- #24114 Display workspace usage limit error copy from response header @dhruvgupta-oai
- #24165 release: build macOS x64 zsh artifact @bolinfest