mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
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.
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.