mur-common 2.20.3

Shared types and traits for the MUR ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Schema version anchor for skill manifests.
//!
//! Versions are additive-only. Existing fields never change semantics;
//! new optional fields bump the minor version.

/// Current schema version written by `mur skill create` / `mur skill publish`.
pub const SKILL_MANIFEST_SCHEMA_VERSION: &str = "2.2";

/// Accepted schema versions. v2.0 manifests without `mcp_requirements` default
/// to empty — behaviour unchanged. v2.2 adds `intent` + `tool_hint` on steps.
pub fn is_supported(version: &str) -> bool {
    matches!(version, "2.0" | "2.1" | "2.2")
}