mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
Move business JSON out of control metadata, encode request snapshot headers compactly, and reuse encoded frames. Cache compiled configuration schemas and prepare plugin instances with bounded concurrency. Ignore unused plugin result fields and remove redundant business validation while preserving host authorization, resource ownership, and capacity limits. Keep response decoding failures local to their calls. Seal callback side effects before completing or cancelling RPC calls, and recover abandoned state migrations without allowing old owners to promote. Validation: SDK 112 tests and its doctest, Runtime 203 tests, Core 542 tests, 40 PostgreSQL plugin tests, and 16 architecture checks passed. Strict Clippy, formatting, and diff checks passed. BREAKING CHANGE: RPC protocol v4 changes frame payload layout and request snapshot header encoding. Plugins must update their SDK and protocol manifest version and be rebuilt. Co-authored-by: Codex <noreply@openai.com>