Files
dev/code-rs/protocol
zeekay e9174f7756 fix(protocol): replace icu_decimal with simple number formatting
The icu_decimal crate uses Rc internally making DecimalFormatter
not thread-safe (not Send/Sync). This caused build failures with
OnceLock<DecimalFormatter> requiring Sync.

Replace with a simple implementation that:
- Formats numbers with thousands separators (comma for en-US)
- Supports SI suffixes (K/M/G) for token counts
- No external dependencies required
- Fully thread-safe

This removes the icu_decimal and icu_locale_core dependencies,
simplifying the dependency tree and avoiding version conflicts
between icu_* crates.
2026-01-24 09:44:15 -08:00
..

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.