mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## Why Executed-tool metadata for a Code Mode cell can span its `exec` and `wait` outputs. Consumers need to know whether that metadata contains the cell's full tool call inventory or only a partial record. ## What changed - Associate recorded tool calls with the originating Code Mode cell across `exec` and `wait` outputs. - Add a host-owned `tool_calls_complete` marker when recording finishes without dropped or truncated calls. The marker describes inventory completeness, not tool success. - Preserve the cell metadata through replay and pruning, and clear the completeness marker when prompt budgeting makes the record incomplete. ## Testing Add coverage for multi-wait cells, retries, interruptions, recording limits, argument truncation, prompt budgeting, and rejection of input-forged metadata. GitOrigin-RevId: 377014edec06aab42aadab78b8b5dccc0a1c83ba
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.