mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
## What changed At session startup, derive `assistant_record_bytes` from the Sync Elastic per-entry token limit for retained user instructions. Use the default section limit when the configuration omits that section. Store the resolved byte limit in the optional `guardian_retention` field of `ThreadSettingsSnapshot` and update the app-server schema. Fixed-mode snapshots omit the field, and older snapshots can still be read. GitOrigin-RevId: a8de88c5bd0e35c4a114577e70fb0c858acb13c9
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.