Files
Curtis 'Fjord' Hawthorne 503e42d6f8 codex-rs: prepare images for Responses Lite
Normalize user and tool-output images client-side when model metadata enables Responses Lite. Apply the transformation before history insertion and again during request construction for resumed sessions, preserving original bytes when no resize is needed and replacing only unprocessable images with bounded placeholder text.

Share image decoding, resizing, and token-accounting helpers; enforce 1 GiB pathological-input limits; and apply the Responses pixel and patch budgets while keeping non-Responses-Lite behavior unchanged.

Add unit and integration coverage for history insertion, request fallback, code-mode tool output, app-server user images, invalid data, resizing, and non-Lite URL forwarding.
2026-06-08 20:51:30 -07:00
..

codex-protocol

This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.

This crate should have minimal dependencies.

Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.