Skip to main content

Module version

Module version 

Source
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).
VersionParseError
Error returned when a version string cannot be parsed.

Enums§

CliVersionStatus
Classification of an installed CLI version against a tested range. Returned by CliVersion::status_within and crate::Claude::cli_version_status.