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 0.2.1 (0.2.1-R1215.1)`). The
5/// 0.1.0 captures remain committed and still parse — 0.2.1's wire is a
6/// superset (adds `task.lifecycle.failed` in practice and drops
7/// `correlation_facts` on pre-execution tool rejections).
8pub const TESTED_MUSE_VERSION: &str = "0.2.1";
9
10/// Full build string of the tested binary.
11pub const TESTED_MUSE_BUILD: &str = "0.2.1-R1215.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}