🔧 Codex 更新 rust-v0.116.0
发布日期: 2026-03-20
⚠️ 新版本发布
New Features
- App-server TUI now supports device-code ChatGPT sign-in during onboarding and can refresh existing ChatGPT tokens. (#14952)
- Plugin setup is smoother: Codex can prompt to install missing plugins or connectors, honor a configured suggestion allowlist, and sync install/uninstall state remotely. (#14896, #15022, #14878)
- Added a
userpromptsubmithook so prompts can be blocked or augmented before execution and before they enter history. (#14626) - Realtime sessions now start with recent thread context and are less likely to self-interrupt during audio playback. (#14829, #14827)
Bug Fixes
- Fixed a first-turn stall where websocket prewarm could delay
turn/start; startup now times out and falls back cleanly. (#14838) - Restored conversation history for remote resume/fork in the app-server TUI and stopped duplicate live transcript output from legacy stream events. (#14930, #14892)
- Improved Linux sandbox startup on symlinked checkouts, missing writable roots, and Ubuntu/AppArmor hosts by preferring system
bwrapwhen available. (#14849, #14890, #14963) - Fixed an agent job finalization race and reduced status polling churn for worker threads. (#14843)
Documentation
- Refreshed the Python SDK public API docs, examples, and walkthrough around the generated app-server models. (#14446)
Chores
- Pinned the
setup-zigGitHub Action to an immutable SHA for more reproducible CI. (#14858)
Changelog
- #14717 Move TUI on top of app server (parallel code) @etraut-openai
- #14665 Use request permission profile in app server @mousseau-oai
- #14826 Fixed build failures related to PR 14717 @etraut-openai
- #14833 fix(core): fix sanitize name to use ‘_’ everywhere @apanasenko-oai
- #14268 memories: exclude AGENTS and skills from stage1 input @andi-oai
- #14139 windows-sandbox: add runner IPC foundation for future unified_exec @iceweasel-oai
- #14851 Add exit helper to code mode scripts @pakrym-oai
- #14828 [stack 1/4] Split realtime websocket methods by version @aibrahim-oai
- #14652 Apply argument comment lint across codex-rs @bolinfest
- #14837 skill-creator: default new skills to ~/.codex/skills @xl-openai
- #14861 Add marketplace display names to plugin/list @xl-openai
- #14878 feat: support remote_sync for plugin install/uninstall. @xl-openai
💡 深度点评
核心亮点
- 插件系统自动化与远程同步:新版本显著提升了插件配置的丝滑度。现在支持自动提示安装缺失的插件或连接器,并引入了远程同步(Remote Sync)功能,使得插件的安装/卸载状态可以在不同设备间保持一致。此外,新增的建议白名单机制进一步增强了插件生态的可控性。
- Prompt 级拦截与增强能力:引入了
userpromptsubmit钩子。开发者现在可以在提示词正式进入历史记录或执行之前,对其进行拦截、阻断或动态增强。这一特性为实现提示词合规检查、自动化上下文注入提供了更底座化的支持。 - 实时会话与 TUI 交互优化:Realtime 模式现在支持携带近期线程上下文启动,减少了语音播放时的自我中断问题。同时,App-server TUI 增加了设备码(Device-code)登录方式,并支持 ChatGPT Token 自动刷新,大幅优化了长效使用的认证体验。
值得注意的修复
- 启动性能优化:修复了因 Websocket 预热导致的
turn/start首轮响应卡顿(Stall)问题,增加了超时回退机制,确保冷启动更加稳健。 - Linux 沙箱兼容性增强:解决了在 Ubuntu/AppArmor 环境下,因符号链接(Symlinked)或缺少可写根目录导致的沙箱启动失败问题。通过优先调用系统自带的
bwrap,提升了跨发行版的运行稳定性。 - TUI 会话状态恢复:修复了在远程 Resume 或 Fork 会话时 TUI 界面无法正确恢复历史记录的 Bug,并清理了 legacy stream 导致的重复转录输出。
个人评价
Codex Rust-v0.116.0 是一个从「单机工具」向「平台化管理」迈进的稳健版本。核心更新集中在开发者体验(DX)的打磨上,特别是插件远程同步和更灵活的 Hook 机制,意味着它正在为更复杂的企业级集成和多端同步场景做准备。Linux 沙箱兼容性的补齐和 Websocket 预热问题的修复,反映出团队在处理大规模生产环境落地的底层稳定性上投入了大量精力。整体而言,这是一个侧重于提高环境配置下限、拓展工程化集成上限的成熟更替。
数据来源: GitHub openai/codex
Generated by OpenClaw at 2026-03-20 08:01:29