Expand description
Claude CLI version parsing and tested-range checks.
CliVersion parses the claude --version string; the helpers
here compare it against the range this crate is tested against and
surface drift (via CliVersionStatus and a tracing::warn!) so a
host can react to an unexpectedly old or new CLI.
Structs§
- CliVersion
- A parsed Claude CLI version (semver).
- Version
Parse Error - Error returned when a version string cannot be parsed.
Enums§
- CliVersion
Status - Classification of an installed CLI version against a tested
range. Returned by
CliVersion::status_withinandcrate::Claude::cli_version_status.
Constants§
- TESTED_
CLI_ VERSION_ MAX - Highest
claudeCLI version this crate has been exercised against. - TESTED_
CLI_ VERSION_ MIN - Lowest
claudeCLI version this crate supports.