mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## What changed Add `usage.attribution` to the `x-codex-exclude` header for Responses HTTP requests and WebSocket handshakes by default. Threads started with `experimentalRawEvents` keep receiving per-item attribution in raw responses. Subagents inherit the policy, and the app server restores it when a thread resumes with an existing raw-event subscription. ## Testing Cover the default exclusion, raw completion events with upstream usage, subagent inheritance, and resuming a closed subagent after both its runtime and its parent's runtime have unloaded. GitOrigin-RevId: 0dad92f97606300907f1294f09dd7845d1e6476f