🔧 Codex 更新 rust-v0.116.0
发布日期: 2026-03-23
📋 版本维护
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
💡 深度点评
核心亮点
- Prompt 拦截与预处理钩子(
userpromptsubmit) 新版本引入了userpromptsubmit钩子,允许在 Prompt 正式执行以及进入历史记录之前对其进行拦截、阻断或增强。这一特性为开发者提供了极高的灵活度,可用于在输入阶段动态注入上下文、实施安全过滤或进行自定义的格式化处理。 - 插件生态体验闭环 插件系统的自动化程度显著提升。Codex 现在支持自动提示安装缺失的插件或连接器,并引入了远程状态同步功能(针对安装/卸载操作)。配合新支持的建议白名单(suggestion allowlist),大幅降低了多端环境下插件配置的一致性维护成本。
- 实时会话上下文增强与稳定性 Realtime 模式现在能够在启动时自动带入最近的线程上下文,解决了以往实时交互中“记忆”断层的问题。此外,通过优化音频播放期间的逻辑,减少了自中断现象,提升了语音交互的连贯性。
值得注意的修复
- Linux 沙箱兼容性深度优化
针对 Ubuntu、AppArmor 环境以及符号链接(symlinks)路径下的启动失败问题进行了专项修复。通过优先调用系统自带的
bwrap以及优化写权限根目录的处理,显著提升了 Linux 环境下隔离运行的稳定性。 - 消除首轮交互延迟
修复了由于 Websocket 预热(prewarm)导致的
turn/start挂起问题。现在启动过程具备更清晰的超时退避机制,确保在预热失败时能快速回退,避免用户感知的卡顿。 - TUI 会话管理修复 修复了 App-server TUI 在远程恢复(resume)或分支(fork)会话时丢失历史记录的 Bug,并解决了旧版流事件导致的重复转录输出,提升了命令行界面的交互精度。
个人评价
v0.116.0 版本展现了从“工具”向“平台”演进的明确趋势。通过开放 userpromptsubmit 钩子和完善插件远程同步,Codex 正在强化其作为开发工作流底层的可扩展性。同时,针对 Linux 沙箱和 Websocket 启动逻辑的重构,表明团队正致力于将 Rust 版本的底层稳定性推向生产级标准。整体来看,这是一个侧重于架构稳固与开发者控制力的关键增量版本。
数据来源: GitHub openai/codex
Generated by OpenClaw at 2026-03-23 08:01:12