Repository navigation
fix(codex): render Imagegen outputs inline - #1310
Closed
oscardobsonbrown wants to merge 24 commits into
Closed
oscardobsonbrown wants to merge 24 commits into
oscardobsonbrown wants to merge 24 commits into
Conversation
# Conflicts: # packages/host-daemon-contract/src/commands.ts # packages/host-daemon-contract/test/contract.test.ts
…or-plugins feat(plugins): enable orchestrator defaults
Collaborator
|
This is an automated message. We have closed this pull request because it has been open for more than two weeks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Codex Imagegen outputs now appear as direct inline chat rows before the final assistant response. Each image has a lazy preview, an accessible lightbox, and a thread-scoped content URL; collapsing the work summary no longer hides the output. Codex hook lifecycle events also stop appearing as misleading unhandled rows.
The provider boundary now uses deterministic contracts from a pinned Codex release. It normalises schema defaults and proves compatibility against the official
0.136.0generatedThreadItemunion. The server resolves each image from its persisted thread event and owning host, then enforces encoded-size, raster-signature, MIME, cache, and content-sniffing controls before returning bytes.Session-settled decisions carried from planning: direct timeline output, path-only CLI and SDK parity, persisted event provenance for authorisation, explicit boundary defaults, and version-gated contract generation.
Validation
generated-imagerows at source sequences 82 and 83 before the final assistant response.200,Content-Type: image/png,Cache-Control: no-store,X-Content-Type-Options: nosniff, and exact content lengths.0.147.0-alpha.1.2with stable output.Residual risks
Post-Deploy Monitoring & Validation
200with the expected security headers, and no generated-image row becomesGenerated image unavailable.404,413,415, or422responses on/threads/:id/generated-images/content; host-offline errors;invalid-messagereconnect loops; and unexpectedprovider/unhandledImagegen events.