跳到主内容
精选85OpenAI Codex CLI(GitHub Releases)AI 编程与模型

Codex CLI 0.148.0:TUI 导出 Markdown、会话分叉、Bedrock 支持

0.148.0

原文
推荐理由

Codex CLI 是 AI 编程核心工具,本次新增的会话分叉、Markdown 导出与 Amazon Bedrock 内置支持显著扩展了工作流能力,建议升级体验。

New Features

新功能

  • Export complete TUI conversations to Markdown with /export, either to the clipboard or a new file. (#37358)
  • Fork sessions with codex exec fork, and archive or restore sessions from the TUI resume picker. (#37367, #37369, #37371)
  • Draft prompts while the TUI initializes, with resume and fork progress shown during startup. (#38642, #38788)
  • View estimated thread credits or cost in /status, status lines, and terminal titles for eligible workspaces. (#38281, #38282)
  • Use Amazon Bedrock Runtime as a built-in provider with AWS profile, region, and GPT-5.6 routing support. (#38470)
  • Hooks can now run commands asynchronously and invoke MCP tools. (#37533, #38705)
  • 使用 /export 将完整的 TUI 对话导出为 Markdown 格式,可导出到剪贴板或新文件。(#37358)
  • 使用 codex exec fork 分叉会话,并从 TUI 恢复选择器中归档或恢复会话。(#37367, #37369, #37371)
  • 在 TUI 初始化期间起草提示,启动时显示恢复和分叉进度。(#38642, #38788)
  • 在 /status、状态行和终端标题中查看符合条件的工作区的预估线程积分或成本。(#38281, #38282)
  • 使用 AWS 配置文件、区域和 GPT-5.6 路由支持,将 Amazon Bedrock Runtime 作为内置提供商。(#38470)
  • 钩子现在可以异步运行命令并调用 MCP 工具。(#37533, #38705)

Bug Fixes

错误修复

  • Model switches and settings updates no longer leave stale instructions behind or change an active turn midstream. (#37260, #38785)
  • Resumed sessions now restore their persisted working directory and approval policy, with more accurate transcript previews. (#37198, #37368, #38605)
  • Turns reconnect through temporary provider outages, and MCP servers recover after OAuth reauthentication without restarting Codex. (#37337, #37485, #38418)
  • TUI startup no longer lets buffered terminal input activate prompts accidentally, and onboarding appears when authentication is missing. (#38641, #38643, #38644)
  • Composer and transcript rendering now handle CRLF pastes, wrapped whitespace, and long URLs correctly. (#37709, #38380, #38704)
  • Sandbox restrictions now fail closed for denied or unreadable paths across Linux and Windows. (#37875, #38026, #38416, #38660)
  • 模型切换和设置更新不再留下过时的指令,也不会中途更改活动轮次。(#37260, #38785)
  • 恢复的会话现在会恢复其持久化的工作目录和审批策略,并显示更准确的转录预览。(#37198, #37368, #38605)
  • 轮次在临时提供商中断时重新连接,MCP 服务器在 OAuth 重新认证后恢复,无需重启 Codex。(#37337, #37485, #38418)
  • TUI 启动不再让缓冲的终端输入意外激活提示,并且在缺少身份验证时显示引导。(#38641, #38643, #38644)
  • Composer 和转录渲染现在正确处理 CRLF 粘贴、换行空白和长 URL。(#37709, #38380, #38704)
  • 沙箱限制现在在 Linux 和 Windows 上对拒绝或不可读的路径默认失败关闭。(#37875, #38026, #38416, #38660)

Documentation

文档

  • The bundled skill-creator guide is more focused, and validation now rejects unfinished TODO placeholders. (#38384)
  • 捆绑的技能创建者指南更加专注,验证现在拒绝未完成的 TODO 占位符。(#38384)

Changelog

变更日志

Full Changelog: rust-v0.147.0...rust-v0.148.0

完整变更日志:rust-v0.147.0...rust-v0.148.0

  • #37190 Interrupt cyber model turns after one Guardian denial @copyberry
  • #37191 Preserve legacy semantics during rollout migration @copyberry
  • #37198 Prefer persisted cwd when reading local threads @copyberry
  • #37199 Track thread archive analytics @copyberry
  • #37204 Add durable user-message queue dispatch @copyberry
  • #37206 Add a unified image budget @copyberry
  • #37210 Fetch remote installed plugins across all scopes @copyberry
  • #37211 Harden network proxy MITM authorization @copyberry
  • #37248 Cover remote MCP discovery timeout cleanup @copyberry
  • #37252 Allow agent roles on full-history forks @copyberry
  • #37260 Fix first-turn model switching and rollback @copyberry
  • #37261 Start cached MCP servers lazily for subagents @copyberry
  • #37267 Support plugin roots in the host skill loader @copyberry
  • #37273 Reuse MCP handlers across sampling steps @copyberry
  • #37279 Avoid cloning immutable metadata on tool search cache hits @copyberry
  • #37335 Fully repaint inline viewports after history overlap @copyberry
  • #37336 Use step environments for extension turn input @copyberry
  • #37337 Recover MCP servers after OAuth reauthentication @copyberry
  • #37338 Honor the configured ChatGPT origin in connector install URLs @copyberry
  • #37339 Reload app-server telemetry after account changes @copyberry
  • #37340 Consolidate deferred environment provisioning APIs @copyberry
  • #37341 Support content references for inline visualizations @copyberry
  • #37342 Preserve foreign cwd URIs for turn-input contributors @copyberry
  • #37343 Stage Bazel app-server test binaries in TEST_TMPDIR @copyberry
  • #37344 Fix subagent MCP startup status settling @copyberry
  • #37345 Send model routing hints to the Codex backend @copyberry
  • #37347 Track context windows per agent @copyberry
  • #37348 Add rollout migration tooling and background migration @copyberry
  • #37349 Mount a minimal /dev in full-filesystem Bubblewrap sandboxes @copyberry
  • #37350 Allow ThreadManager to customize thread ID generation @copyberry
  • #37352 Configure the default code-mode exec yield timeout @copyberry
  • #37354 Retry busy app-server test executable spawns @copyberry
  • #37356 Support agent identity endpoint overrides @copyberry
  • #37357 Clamp short wait_agent timeouts to the configured minimum @copyberry
  • #37358 Add Markdown conversation export to the TUI @copyberry
  • #37360 Use consistent TUI input placeholders @copyberry
  • #37363 Recognize MCP tool hook configurations @copyberry
  • #37366 Harden local MCP server process tree cleanup @copyberry
  • #37367 Add session forking to codex exec @copyberry
  • #37368 Restore approval policy when resuming threads @copyberry
  • #37369 Add session archiving to the resume picker @copyberry
  • #37371 Restore archived sessions from the resume picker @copyberry
  • #37389 Add tool namespace metadata configuration @copyberry
  • #37400 Rename the tool registry metadata setting @copyberry
  • #37406 Add a loader for executor-local config layers @copyberry
  • #37408 Add executor-local config reads to the exec server @copyberry
  • #37424 Cap project instructions across environments @copyberry
  • #37433 Expose multi-agent versions in model/list @copyberry
  • #37434 Add process diagnostics snapshots @copyberry
  • #37439 Add shared skill root loading interfaces @copyberry
  • #37440 Load plugin skill roots through the host skills service @copyberry
  • #37444 Unify plugin skill loading with the host skill service @copyberry
  • #37446 Preserve base instruction provenance across sessions @copyberry
  • #37447 Respect plugin skill availability in tool suggestions @copyberry
  • #37452 Unify plugin skill loading through the shared loader @copyberry
  • #37457 Remove the legacy core skill loader @copyberry
  • #37461 Remove the unused remote skills client @copyberry
  • #37466 Move skill config rule resolution into codex-config @copyberry
  • #37470 Expose app-server diagnostics through the experimental API @copyberry
  • #37477 Include call IDs in MCP requests and clarify metadata config @copyberry
  • #37478 Shard state unit tests under Bazel @copyberry
  • #37479 Report temporary directories in exec-server environment info @copyberry
  • #37480 Delegate remote process sandboxing to the executor @copyberry
  • #37483 Interrupt active code-mode cells with their turn @copyberry
  • #37485 Keep response streams alive through connection failures @copyberry
  • #37486 Expose runtime activity in server diagnostics @copyberry
  • #37488 Generalize skill locator aliases across providers @copyberry
  • #37489 Alias resource-backed skill locators under context pressure @copyberry
  • #37492 Include tool namespace inventory in turn metadata @copyberry
  • #37494 Add MCP event discovery and subscriptions @copyberry
  • #37497 Limit payload traces in diagnostic logs @copyberry
  • #37498 Preserve child waiters during process termination @copyberry
  • #37500 Remove the legacy code-mode tool metadata inventory @copyberry
  • #37503 Move host skill prompt injection into the skills extension @copyberry
  • #37504 Disable Nagle's algorithm for code-mode WebSockets @copyberry
  • #37505 Remove the codex-core-skills crate @copyberry
  • #37507 Include sandbox mode in response metadata @copyberry
  • #37510 Define the code-mode host gRPC protocol @copyberry
  • #37511 Enforce automatic review for managed models @copyberry
  • #37513 Reuse parent compactions in Guardian review sessions @copyberry
  • #37516 Ignore reusable command approvals for cyber models @copyberry
  • #37519 Expose auto-review ignore rules in config requirements @copyberry
  • #37527 Terminate timed-out hook process trees @copyberry
  • #37528 Keep external agent detection from blocking config requests @copyberry
  • #37530 Implement the gRPC code-mode host service @copyberry
  • #37533 Support asynchronous command hooks @copyberry
  • #37538 Expose execution mode in hook listings @copyberry
  • #37607 Prevent launch context from reaching child processes @copyberry
  • #37610 Add workload identity token exchange support @copyberry
  • #37618 Use step environments for Guardian approval reviews @copyberry
  • #37622 Include buffered turns when editing prompts @copyberry
  • #37190 在一次 Guardian 拒绝后中断 cyber 模型轮次 @copyberry
  • #37191 在滚动迁移期间保留旧语义 @copyberry
  • #37198 读取本地线程时优先使用持久化的 cwd @copyberry
  • #37199 跟踪线程归档分析 @copyberry
  • #37204 添加持久用户消息队列调度 @copyberry
  • #37206 添加统一的图像预算 @copyberry
  • #37210 跨所有作用域获取远程安装的插件 @copyberry
  • #37211 强化网络代理 MITM 授权 @copyberry
  • #37212 覆盖远程 MCP 发现超时清理 @copyberry
  • #37252 允许代理角色在完整历史分支上运行 @copyberry
  • #37260 修复首轮模型切换与回滚 @copyberry
  • #37261 为子代理懒启动缓存 MCP 服务器 @copyberry
  • #37267 在宿主技能加载器中支持插件根目录 @copyberry
  • #37273 在采样步骤间复用 MCP 处理器 @copyberry
  • #37279 避免在工具搜索缓存命中时克隆不可变元数据 @copyberry
  • #37335 历史重叠后完全重绘内联视口 @copyberry
  • #37336 使用步骤环境进行扩展轮次输入 @copyberry
  • #37337 OAuth 重新认证后恢复 MCP 服务器 @copyberry
  • #37338 在连接器安装 URL 中遵循配置的 ChatGPT 源 @copyberry
  • #37339 账户变更后重新加载应用服务器遥测 @copyberry
  • #37340 整合延迟环境配置 API @copyberry
  • #37341 支持内联可视化的内容引用 @copyberry
  • #37342 为轮次输入贡献者保留外部 cwd URI @copyberry
  • #37343 在 TEST_TMPDIR 中暂存 Bazel 应用服务器测试二进制文件 @copyberry
  • #37344 修复子代理 MCP 启动状态稳定问题 @copyberry
  • #37345 向 Codex 后端发送模型路由提示 @copyberry
  • #37347 按代理跟踪上下文窗口 @copyberry
  • #37348 添加回滚迁移工具和后台迁移 @copyberry
  • #37349 在完整文件系统 Bubblewrap 沙箱中挂载最小 /dev @copyberry
  • #37350 允许 ThreadManager 自定义线程 ID 生成 @copyberry
  • #37352 配置默认代码模式执行产出超时 @copyberry
  • #37354 重试繁忙应用服务器测试可执行文件的启动 @copyberry
  • #37356 支持代理身份端点覆盖 @copyberry
  • #37357 将短暂的 wait_agent 超时限制在配置的最小值 @copyberry
  • #37358 在 TUI 中添加 Markdown 对话导出功能 @copyberry
  • #37360 使用一致的 TUI 输入占位符 @copyberry
  • #37363 识别 MCP 工具钩子配置 @copyberry
  • #37366 加固本地 MCP 服务器进程树清理 @copyberry
  • #37367 在 codex exec 中添加会话分叉功能 @copyberry
  • #37368 恢复线程时恢复审批策略 @copyberry
  • #37369 在恢复选择器中添加会话归档功能 @copyberry
  • #37371 从恢复选择器中恢复已归档会话 @copyberry
  • #37389 添加工具命名空间元数据配置 @copyberry
  • #37400 重命名工具注册表元数据设置 @copyberry
  • #37406 添加执行器本地配置层的加载器 @copyberry
  • #37408 在 exec 服务器中添加执行器本地配置读取 @copyberry
  • #37424 跨环境限制项目指令 @copyberry
  • #37433 在 model/list 中暴露多代理版本 @copyberry
  • #37434 添加进程诊断快照 @copyberry
  • #37439 添加共享技能根加载接口 @copyberry
  • #37440 通过宿主技能服务加载插件技能根 @copyberry
  • #37444 统一插件技能加载与宿主技能服务 @copyberry
  • #37446 跨会话保留基础指令来源 @copyberry
  • #37447 在工具建议中尊重插件技能可用性 @copyberry
  • #37452 通过共享加载器统一插件技能加载 @copyberry
  • #37457 移除旧版核心技能加载器 @copyberry
  • #37461 移除未使用的远程技能客户端 @copyberry
  • #37466 将技能配置规则解析移入 codex-config @copyberry
  • #37470 通过实验性 API 暴露应用服务器诊断信息 @copyberry
  • #37477 在 MCP 请求中包含调用 ID 并澄清元数据配置 @copyberry
  • #37478 在 Bazel 下分片状态单元测试 @copyberry
  • #37479 在 exec-server 环境信息中报告临时目录 @copyberry
  • #37480 将远程进程沙箱化委托给执行器 @copyberry
  • #37483 在轮次中中断活动代码模式单元格 @copyberry
  • #37485 在连接失败时保持响应流存活 @copyberry
  • #37486 在服务器诊断中暴露运行时活动 @copyberry
  • #37488 跨提供者泛化技能定位器别名 @copyberry
  • #37489 在上下文压力下为资源支持的技能定位器设置别名 @copyberry
  • #37492 在轮次元数据中包含工具命名空间清单 @copyberry
  • #37494 添加 MCP 事件发现和订阅 @copyberry
  • #37497 限制诊断日志中的负载跟踪 @copyberry
  • #37498 在进程终止期间保留子等待者 @copyberry
  • #37500 移除旧版代码模式工具元数据清单 @copyberry
  • #37503 将主机技能提示注入移入技能扩展 @copyberry
  • #37504 为代码模式 WebSocket 禁用 Nagle 算法 @copyberry
  • #37505 移除 codex-core-skills crate @copyberry
  • #37507 在响应元数据中包含沙箱模式 @copyberry
  • #37510 定义代码模式主机 gRPC 协议 @copyberry
  • #37511 对托管模型强制执行自动审查 @copyberry
  • #37513 在Guardian审查会话中重用父级压缩 @copyberry
  • #37516 忽略网络模型的可重用命令审批 @copyberry
  • #37519 在配置要求中公开自动审查忽略规则 @copyberry
  • #37527 终止超时的钩子进程树 @copyberry
  • #37528 防止外部代理检测阻塞配置请求 @copyberry
  • #37530 实现gRPC代码模式主机服务 @copyberry
  • #37533 支持异步命令钩子 @copyberry
  • #37538 在钩子列表中公开执行模式 @copyberry
  • #37607 防止启动上下文传递给子进程 @copyberry
  • #37610 添加工作负载身份令牌交换支持 @copyberry
  • #37618 在Guardian审批审查中使用步骤环境 @copyberry
  • #37622 编辑提示时包含缓冲的轮次 @copyberry

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近