Skip to main content

Module version

Module version 

Source
Expand description

Version parsing and comparison utilities.

Beyond parsing, this module declares the range of codex-cli versions this wrapper is tested against, and classifies an installed binary against it via CliVersionStatus.

The range is not an assertion of intent. Both bounds are exercised by the contract check in tests/contract.rs, which runs against each of them in CI and fails if any flag or config key the builders emit has stopped being accepted. Bumping these constants means adding that version to the CI matrix and fixing whatever drift the check reports.

Re-exports§

pub use crate::types::CliVersion;
pub use crate::types::CliVersionStatus;
pub use crate::types::VersionParseError;

Constants§

TESTED_CLI_VERSION_MAX
Highest codex-cli version this wrapper is tested against.
TESTED_CLI_VERSION_MIN
Lowest codex-cli version this wrapper is tested against.