Skip to content

CodexReflow v0.1.2 — WebSocket 预热修复 / Warmup fix

Choose a tag to compare

@chatwithgod chatwithgod released this 23 Oct 22:22

中文

本版本修复 Codex Desktop 的 WebSocket 预热请求触发 HTTP 400 的问题。

  • 预热正常通过:generate: false 请求交由 CPA 原生路径处理,保留空输入 [],后续生成可以继续使用同一条 WebSocket。
  • 保留空数组:普通生成请求在复制空 input 时也保持为 [],避免被错误编码成 null。
  • 补齐回归检查:新增空输入、非空输入预热路由和真实动态库的空数组检查,正式打包要求完整的 34 项原生 ABI 测试。
  • 依赖:CPA SDK 继续固定为 v8.0.13。

验证

  • 五个平台各通过 Go 单元测试、race、vet、15 秒 fuzz、47 项 Python 回归,以及构建库和 ZIP 内动态库各 34 项原生 ABI 检查。构建记录
  • 同一份 Windows 正式 DLL 通过 CPA 8.0.13 的 50 项 HTTP/WS、工具调用和续接回归,并通过 CPA 8.0.38 的 2 项预热与同连接后续请求检查。
  • 上述 CPA 检查使用本地模拟上游;Linux/macOS 的实际 CPA 集成尚未验收。

更新

在 CPA/ECPA 插件商店更新 CodexReflow;手动填写版本时使用 v0.1.2。本次提供 Windows x64、Linux x64/ARM64、macOS Intel/Apple Silicon 五个 ZIP 和统一的 checksums.txt。

续接仍会增加 token 消耗与等待时间,实际回答质量因请求而异。


English

CodexReflow v0.1.2 fixes HTTP 400 errors during Codex Desktop WebSocket warmup.

  • Warmup routing: Requests with generate: false stay on CPA's native path and preserve empty input arrays [], allowing subsequent generation on the same connection.
  • Empty input preservation: Ordinary streaming requests also keep empty input as [] instead of encoding it as null.
  • Regression coverage: Added empty/non-empty warmup route checks and compiled-library empty-array checks. Release packaging now requires all 34 native ABI scenarios.
  • Dependencies: CPA SDK remains pinned to v8.0.13.

Verification

  • All five native platforms passed Go unit/race/vet tests, 15-second fuzzing, 47 Python tests, and 34 ABI scenarios against both the built and ZIP-packaged libraries. CI run
  • The same Windows release DLL passed 50 isolated HTTP/WS, tool and continuation checks on CPA 8.0.13, plus 2 warmup/same-connection checks on CPA 8.0.38.
  • CPA integration used a local synthetic upstream. Linux/macOS CPA integration remains unvalidated.

Update

Update CodexReflow in the CPA/ECPA Plugin Store, or specify v0.1.2. Assets include ZIP packages for Windows x64, Linux x64/ARM64, and macOS Intel/Apple Silicon, plus checksums.txt.

Continuation consumes additional tokens and time; answer quality varies by request.

完整变更 / Full changelog