muse_codes/version.rs
1//! Version pins this crate is tested against.
2
3/// Muse Code release the live suite last passed against
4/// (`muse --version` reports `Muse Code 1.0.3 (1.0.3-R2198.1)`). The
5/// 0.1.0 and 0.2.1 captures remain committed and still parse — 1.0.1's
6/// wire is a near-superset (its one observed break, `profile_id: null`
7/// on `run.model.configured`, is modeled as `Option`).
8pub const TESTED_MUSE_VERSION: &str = "1.0.3";
9
10/// Full build string of the tested binary.
11pub const TESTED_MUSE_BUILD: &str = "1.0.3-R2198.1";
12
13/// Envelope `schema_version` the models target.
14pub const STREAM_SCHEMA_VERSION: u32 = 1;
15
16/// The tested-against CLI release — the workspace-uniform accessor
17/// (`tested_cli_version()` exists in every crate here); alias of
18/// [`TESTED_MUSE_VERSION`]. Kept in lockstep with the README by CI.
19pub fn tested_cli_version() -> &'static str {
20 TESTED_MUSE_VERSION
21}
22
23/// The full build string of the tested release; alias of
24/// [`TESTED_MUSE_BUILD`].
25pub fn tested_cli_build() -> &'static str {
26 TESTED_MUSE_BUILD
27}