mirror of
https://github.com/openai/codex.git
synced 2026-08-31 14:28:48 +00:00
## Why World-state snapshots and merge patches are keyed collections of sections. Allowing their persisted `state` field to contain any JSON value required replay code to handle shapes that cannot represent world state. ## What changed - Type `WorldStateItem.state` and snapshot patches as JSON object maps. - Reconstruct full snapshots directly from those maps and apply patches without fallible arbitrary-value conversions. - Regenerate the app-server protocol schema for the object-only representation. GitOrigin-RevId: 3d7662b74f3dd1f3ccc5fdd0200074c13a73cbe5