← 返回更新日志

Codex rust-v0.46.0

2025-10-09 · GitHub 原文
## 亮点 ### MCP 支持增强 我们正在大幅改进对 MCP 服务器的连接支持,包括支持支持流式 HTTP 服务器,并可选择配置持有者令牌或 OAuth 登录。 在 `config.toml` 中启用 `experimental_use_rmcp_client = true` 标志即可使用新的 MCP 协议栈。如遇问题,请在 GitHub 创建 issue 并添加 `mcp` 标签。我们计划近期移除实验性标志,并将持续扩展 MCP 支持功能。 ## 更新内容 * [MCP] 修复持有者令牌授权头问题 - @gpeal 在 https://github.com/openai/codex/pull/4846 * 在执行 codex resume 后退出时打印恢复说明 - @nornagon-openai 在 https://github.com/openai/codex/pull/4695 * TokenCountEvent 使用 Number 而非 BigInt - @ccy-oai 在 https://github.com/openai/codex/pull/4856 * 简化请求体断言 - @pakrym-oai 在 https://github.com/openai/codex/pull/4845 * 修复 zsh 补全功能 - @tamird 在 https://github.com/openai/codex/pull/4692 * [云任务] 使用工作区依赖 - @tamird 在 https://github.com/openai/codex/pull/4693 * 简化并行处理 - @pakrym-oai 在 https://github.com/openai/codex/pull/4829 * [TUI] 移除底部内边距 - @gpeal 在 https://github.com/openai/codex/pull/4854 * [TUI] 差异显示中行号的动态宽度 - @nornagon-openai 在 https://github.com/openai/codex/pull/4664 * [TUI] 修复换行问题 - @nornagon-openai 在 https://github.com/openai/codex/pull/4674 * 修复不稳定测试 - @jif-oai 在 https://github.com/openai/codex/pull/4878 * 添加 `list_dir` 工具 - @jif-oai 在 https://github.com/openai/codex/pull/4817 * [TUI] 真彩色终端上的呼吸动画 - @nornagon-openai 在 https://github.com/openai/codex/pull/4853 * [TUI] 移除 /review 的临时提示 - @dedrisian-oai 在 https://github.com/openai/codex/pull/4896 * 设置 codex SDK TypeScript 发起者信息 - @pakrym-oai 在 https://github.com/openai/codex/pull/4894 * [TUI] 优化对话记录显示模式 - @nornagon-openai 在 https://github.com/openai/codex/pull/4848 * [TUI] 切换到 tree-sitter-highlight 的 bash 高亮 - @nornagon-openai 在 https://github.com/openai/codex/pull/4666 * 移除实验性前缀 - @rakesh-oai 在 https://github.com/openai/codex/pull/4907 * [MCP] 添加明确指定凭据存储的功能 - @gpeal 在 https://github.com/openai/codex/pull/4857 * [MCP] 通过 `codex mcp add` 命令支持流式 HTTP 服务器,并重构持有者令牌处理 - @gpeal 在 https://github.com/openai/codex/pull/4904 * 添加 `grep_files` 工具功能 - @jif-oai 在 https://github.com/openai/codex/pull/4820 * CLI 上下键/回车键优化 - @jif-oai 在 https://github.com/openai/codex/pull/4944 * 优化 log_sse_event() 函数,移除闭包参数 - @bolinfest 在 https://github.com/openai/codex/pull/4953 * 压缩时截断处理 - @jif-oai 在 https://github.com/openai/codex/pull/4942 * 修复显示制表符时的对话记录渲染问题 - @dedrisian-oai 在 https://github.com/openai/codex/pull/4911 * [TUI] 硬编码 xterm 调色板,优化前景背景色渐变 - @nornagon-openai 在 https://github.com/openai/codex/pull/4957 * [MCP] 添加 `enabled` 配置字段 - @gpeal 在 https://github.com/openai/codex/pull/4917 * 使上下文行永久显示 - @dedrisian-oai 在 https://github.com/openai/codex/pull/4699 * [MCP] 为 MCP 服务器添加认证状态显示 - @gpeal 在 https://github.com/openai/codex/pull/4918 * [TUI] 修复终端调色板的偏移问题 - @nornagon-openai 在 https://github.com/openai/codex/pull/4967 * 创建别名功能 - @rakesh-oai 在 https://github.com/openai/codex/pull/4971 * 设置对话名称 - @dedrisian-oai 在 https://github.com/openai/codex/pull/4974 * 暂时回滚 /name 命令 - @dedrisian-oai 在 https://github.com/openai/codex/pull/4978 ## 新贡献者 * @ccy-oai 首次贡献于 https://github.com/openai/codex/pull/4856 * @tamird 首次贡献于 https://github.com/openai/codex/pull/4692 **完整更新日志**: https://github.com/openai/codex/compare/rust-v0.45.0...rust-v0.46.0