Skip to content

Preserve image transparency metadata in app-server items - #37178

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/08527f37f23431df45fab1ed34eb82b2139b49d7
Aug 5, 2026
Merged

Preserve image transparency metadata in app-server items#37178
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/08527f37f23431df45fab1ed34eb82b2139b49d7

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026

Copy link
Copy Markdown

Preserve image transparency metadata in app-server items

What changed

  • Add transparentBackground to image-generation items and legacy completion events.
  • Map Images API backgrounds to true for transparent, false for opaque, and null for automatic or unavailable values.
  • Preserve the metadata in live notifications and persisted or resumed thread history while continuing to deserialize older items that omit it.

Testing

  • Cover transparent, opaque, and automatic backgrounds, including image edits and thread read/resume flows.
  • Verify the stable JSON shape and optional TypeScript field.
## What changed

- Add `transparentBackground` to image-generation items and legacy completion events.
- Map Images API backgrounds to `true` for transparent, `false` for opaque, and `null` for automatic or unavailable values.
- Preserve the metadata in live notifications and persisted or resumed thread history while continuing to deserialize older items that omit it.

## Testing

- Cover transparent, opaque, and automatic backgrounds, including image edits and thread read/resume flows.
- Verify the stable JSON shape and optional TypeScript field.

GitOrigin-RevId: 08527f37f23431df45fab1ed34eb82b2139b49d7
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/08527f37f23431df45fab1ed34eb82b2139b49d7 branch from 798c0a2 to 928bda8 Compare August 5, 2026 23:43
@copyberry
copyberry Bot merged commit 928bda8 into main Aug 5, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/08527f37f23431df45fab1ed34eb82b2139b49d7 branch August 5, 2026 23:44
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

5 participants