pi_codes/version.rs
1//! Version pin this crate is tested against.
2
3/// pi coding-agent release the live suite last passed against
4/// (`pi --version` reports this; npm package
5/// `@earendil-works/pi-coding-agent`). The live tier covers the
6/// credential-free RPC surface (state, models, bash, session commands)
7/// and the full deserialization suite; model-turn coverage requires a
8/// configured provider and is gated the same way.
9pub const TESTED_PI_VERSION: &str = "1.4.0";
10
11/// The pi release this crate's live suite last passed against — the
12/// machine-readable form of the crate's version convention. Kept in
13/// lockstep with the README by CI.
14pub fn tested_cli_version() -> &'static str {
15 TESTED_PI_VERSION
16}