mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## What changed - Add `ContentItemKind` as an open-ended string classification and carry an optional list of kinds in `InternalChatMessageMetadataPassthrough`. - Keep unknown classification values intact during round trips, while treating a malformed `content_item_kinds` value as absent so the response item can still be loaded. ## Testing - Cover round trips for future classification values and deserialization of malformed metadata. GitOrigin-RevId: 5398cae5bb294a9f71ddd192e297177fab54a576
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.