mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## What changed Add optional `promptWellbeingResults` to answer moderation metadata. Each result contains the scored input item's ID, labels, and numeric scores. Preserve the results on live agent messages and when rebuilding thread history, and expose them in the app-server v2 schemas and Python SDK models. Ignore malformed wellbeing results when reading stored moderation so the moderation decision and its display instruction can still be applied. ## Testing Cover serialization round trips with and without a display instruction, and verify that older moderation records without wellbeing results deserialize. GitOrigin-RevId: b3ed41fb529e33638eb5486bf2a22ff8b926f82a
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.