mirror of
https://github.com/openai/codex.git
synced 2026-10-25 15:56:38 +00:00
## Why App-server request deserialization otherwise ignores unknown fields, so clients using the removed `permissionProfile` field could have their requested permission settings silently ignored. ## What changed - Reject `permissionProfile` with an invalid-params error on `thread/start`, `thread/resume`, `thread/fork`, and `turn/start`. - Direct clients to select a named profile through `permissions` instead. - Continue accepting unrelated unknown fields for forward compatibility. ## Testing - Cover rejection of the obsolete field on all four affected methods and verify that the connection remains usable. - Cover successful `thread/start` requests that combine named `permissions` with an unknown field. GitOrigin-RevId: a63764fb899bc5f212d60617dc32e911bde8073e