mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
## What changed - Reattach recorded `executed_tool_calls` metadata when an output is included in a subsequent prompt. - Bound retained metadata to 32 KiB, prioritizing recent calls and reporting omitted calls in truncation metadata. - Drop retained entries after their corresponding outputs leave the prompt history. ## Testing - Cover metadata replay, cleanup after compaction, bounded retained history, and propagation through later tool requests. GitOrigin-RevId: 1c23a26123be3b7ad51c61f4ad522139b71bb773
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.