Skip to content

rust-v0.162.0 + codex-cli patches

Choose a tag to compare

@github-actions github-actions released this 22 Oct 21:06
· 43 commits to main since this release

基于官方 rust-v0.162.0,应用了该 tag 专属补丁后编译的 Windows x64 版 codex.exe。补丁文件见 Release 附件 codex-cli.patch。

替换方法

解压后把 codex.exe 覆盖到 npm 包的 vendor 目录:

node_modules/@openai/codex/node_modules/@openai/codex-win32-x64/vendor/x86_64-pc-windows-msvc/bin/codex.exe

替换前建议备份原文件。用 codex --version 验证。

补丁内容

  • 模型请求进度用数据包体积代替 token 估算
  • 压缩横幅区分本地压缩 / 远程压缩
  • 重试上限 1000 次、固定 10 秒间隔
  • ServerOverloaded 等允许重试
  • cyber 警告降为 Warning
  • resume 忽略 provider 过滤
  • GPT-5.6 上下文 353k
  • 无输出时 Esc 快速改提示词
  • 日志等级 INFO