Preserve ordered message content through the shared Runtime - #12
Merged
Merged
Conversation
SaladDay
marked this pull request as ready for review
September 22, 2026 04:36
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.
User message content was flattened into a scalar prompt before execution. This change carries ordered messages through initial, prepared and active Runtime input. Adapters translate native content and aggregate consumption receipts. Codex and Claude SDK qualify inline PNG/JPEG on
environment:none; text-only adapters reject images explicitly.Public persistence and Items retain content order and image references. Image admission checks apply only to image-bearing operations, preserving ordinary text queueing. Private daemon wire
0.4.0and Claude bridge protocol2replace the obsolete string interface without a compatibility fallback.Validation:
make -o check-web checkand local Node 22/pnpm 10.30.3make check-webpassed, including 73 browser cases. Full servermake checkwas attempted and stopped at missing Chrome. Shared input race checks, deterministic PostgreSQL cancellation/deletion regression and OpenAPI generation passed. No SQL query/schema changes.Workspace images, remote URLs, MiniMax images and complete upstream image/error semantics remain gaps. Live visual fixtures were PNG; JPEG has deterministic coverage. This is bounded qualification, not full protocol compatibility. Coverage and evidence are in
contracts/agents-api/message-input.md.Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.