pi-codes 1.2.0

Typed Rust SDK for the pi coding agent (earendil-works/pi): serde models of the `pi --mode json` event stream and the `pi --mode rpc` stdin/stdout command protocol, plus an async (Tokio) RPC client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Version pin this crate is tested against.

/// pi coding-agent release the live suite last passed against
/// (`pi --version` reports this; npm package
/// `@earendil-works/pi-coding-agent`). The live tier covers the
/// credential-free RPC surface (state, models, bash, session commands)
/// and the full deserialization suite; model-turn coverage requires a
/// configured provider and is gated the same way.
pub const TESTED_PI_VERSION: &str = "1.2.0";

/// The pi release this crate's live suite last passed against — the
/// machine-readable form of the crate's version convention. Kept in
/// lockstep with the README by CI.
pub fn tested_cli_version() -> &'static str {
    TESTED_PI_VERSION
}