Files
codex/codex-rs/tui/src/version.rs
dank-openai a7c5f106cb version: share build-aware display version
Move the build git SHA display value into codex-utils-cli so codex --version, TUI headers, status lines, and status cards render the same version string.

(cherry picked from commit 9eeaac2f278e7babd768c1818aeb8f95e0022ebf)
(cherry picked from commit 97e4866de8026afdbe9f40c8fadf294d422b27df)
2026-05-02 10:49:47 -04:00

5 lines
195 B
Rust

/// The current Codex CLI version as embedded at compile time.
pub const CODEX_CLI_VERSION: &str = env!("CARGO_PKG_VERSION");
pub(crate) use codex_utils_cli::version::CODEX_CLI_DISPLAY_VERSION;