← 返回更新日志

Codex rust-v0.31.0

2025-09-08 · GitHub 原文
### Codex 0.31.0 - https://github.com/openai/codex/pull/3182 在声明 MCP 服务器时增加了对 `startup_timeout_ms` 选项的支持 [(文档)](https://github.com/openai/codex/blob/main/docs/config.md#mcp_servers),这是一个备受期待的功能,特别是对 Windows 用户而言: - Issue: https://github.com/openai/codex/issues/3196 - Issue: https://github.com/openai/codex/issues/2346 - Issue: https://github.com/openai/codex/issues/2555 - PR: https://github.com/openai/codex/pull/3249 - PR: https://github.com/openai/codex/pull/3326 - PR: https://github.com/openai/codex/pull/3006 - 以及更多…… - 感谢 @Bit-urd 为 MCP 启动增加了更多容错性:https://github.com/openai/codex/pull/3243 - #3211 修复了在 macOS 上使用 `ctrl+v` 从访达粘贴图片的问题 ### 合并的 PR - [#3217] 添加了取消进行中的 oauth 登录以释放本地端口逻辑 - [#3220] feat(tui):在思考计时器中显示分钟/小时 - [#3223] 在 `/status` 输出中添加了 CLI 版本信息 - [#3176] [codex] 从 toml 文件中对模型家族配置的覆盖设置生效 - [#3226] chore:将 codex-rs/scripts/create_github_release.sh 重写为 Python - [#3228] chore:将 create_github_release 改为在临时目录中创建全新克隆 - [#3230] chore:使用 gh 替代 git 进行操作以避免本地克隆开销 - [#3231] fix:修改 create_github_release 以接受 --publish-alpha 或 --publish-release 参数 - [#3221] 将令牌使用量/上下文信息移至会话级别 - [#3285] 使用 ctrl + c 清除非空提示符 - [#3282] 使用 ConversationId 替代原始 Uuids - [#3300] docs:修复了 codex/README.md 中指向 "Memory with AGENTS.md" 部分的失效链接 - [#3182] feat(mcp):每个服务器的启动超时设置 - [#3294] chore(deps):将 /codex-rs 中的 insta 从 1.43.1 升级至 1.43.2 - [#3295] chore(deps):将 /codex-rs 中的 tree-sitter 从 0.25.8 升级至 0.25.9 - [#3296] chore(deps):将 /codex-rs 中的 clap 从 4.5.45 升级至 4.5.47 - [#3297] chore(deps):将 /codex-rs 中的 image 从 0.25.6 升级至 0.25.8 - [#3243] fix:改进 MCP 服务器初始化错误处理 #3196 #2346 #2555 - [#3211] tui:使用 ctrl+v 粘贴时检查文件列表 - [#3316] chore:升级至 actions/setup-node@v5 - [#3320] 添加 getUserAgent MCP 方法 - [#3319] 高亮显示提议的命令预览