Repository navigation
中文
修复开启插件后,带 Codex 多智能体工具的请求首轮就失败的问题(可能表现为 502 或上游 schema 拒绝)。 对应 Issue #2。
CPA 插件执行路径可能把协作工具参数的 number 改成 integer,导致上游拒绝保留工具的定义。v0.1.3 从客户端原始声明中还原这类误改,保留 collaboration 工具,不靠删除工具绕过错误。
- 覆盖首轮、516 续接、HTTP/SSE、WebSocket 以及动态
additional_tools声明。 - 原本就是
integer的参数继续保持整数;模型映射、其他工具和 CPA 的正常请求处理不整体替换。 - 缺少或无法对应原始声明时不猜测类型。不需要新增配置,续接规则和预算不变,SDK 仍固定
v8.0.13。
验证
- 五个平台各通过 Go unit/race/vet、decoder/schema 各 15 秒 fuzz、48 项 Python 回归,以及原库和 ZIP 内库各 46 项原生 ABI 检查。五平台构建
- 同一 Windows 正式 DLL 通过 CPA 8.0.13 的 50 项既有回归、8.0.47 的 18 项工具 schema 专项,以及 8.0.53 的 2 项工具专项和 2 项预热检查,共 72 项隔离用例。
- CPA 集成使用本地模拟上游,不是全面真实模型或质量验收;Linux/macOS 的实际 CPA 集成仍待独立验证。用户已反馈试用候选版的新旧聊天均正常,该反馈不扩大为所有边界的验收。
更新
在 CPA/ECPA 插件商店更新 CodexReflow;手动指定版本时填写 v0.1.3。提供 Windows x64、Linux x64/ARM64、macOS Intel/Apple Silicon 五个 ZIP 和统一 checksums.txt。
建议等正在生成的请求结束后更新。保留旧版本以便回退;不要同时启用 CodexComp 和 CodexReflow 接管同一模型。续接仍会增加 token 消耗和等待时间,不保证答案质量提升。
English
Fixes first-request failures when Codex collaboration tools are present, potentially surfaced as a 502 or an upstream schema rejection. See Issue #2.
CPA's plugin executor may normalize a collaboration parameter from number to integer, invalidating a reserved tool schema. v0.1.3 restores the matching original type from the client's declaration, keeping collaboration tools instead of removing them.
- Covers initial requests, 516 continuations, HTTP/SSE, WebSocket replays and scoped dynamic
additional_toolsdeclarations. - Preserves legitimate integers, other tools, model mappings and unrelated host transformations. Missing or ambiguous originals are left unchanged rather than guessed.
- No new configuration. Continuation policy and budgets are unchanged; CPA SDK remains pinned to
v8.0.13.
Verification and update
All five native platforms passed Go unit/race/vet, both 15-second fuzz targets, 48 Python tests, and 46 ABI scenarios against each built and packaged library. The exact Windows release DLL also passed 72 isolated CPA checks across 8.0.13, 8.0.47 and 8.0.53. These use synthetic upstreams; they do not establish comprehensive live-model or Linux/macOS CPA integration acceptance.
Update through the CPA/ECPA Plugin Store or specify v0.1.3. Assets cover Windows x64, Linux x64/ARM64 and macOS Intel/Apple Silicon, with SHA256 checksums. Wait for active generations to finish before updating and retain the previous version for rollback. Continuation costs additional tokens/time and does not guarantee better answers.