megacode-agent-sdk 0.32.0

Drive a MEGA harness agent session from a Rust program.
Documentation
//! The pinned digests of this SDK's harness release (spec slice-ar R12.5),
//! written by `scripts/sdk/pin.sh` from the signed release; empty until a
//! release is pinned. `scripts/sdk/package.sh` refuses to package empty or
//! malformed pins.

/// One target's SHA-256 digests, 64 lowercase hex characters each.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Pin {
    /// Of the release archive, as downloaded.
    pub archive_sha256: &'static str,
    /// Of the `harness` executable inside it.
    pub executable_sha256: &'static str,
}

/// The harness version the pins are for; a crate of another version has no
/// pins.
pub const PINS_VERSION: &str = "0.32.0";

/// `(target, pin)` for each release target.
pub const PINS: &[(&str, Pin)] = &[
    (
        "x86_64-unknown-linux-musl",
        Pin {
            archive_sha256: "ceb8b615db2fcecad4e03225056d1b6617bb63dd523947092f90a32f3405db22",
            executable_sha256: "0e1fbbcd6e1f978ac5ff8b3c013b3c2a6c2d3092a204d5361a40b34b1a58bf61",
        },
    ),
    (
        "aarch64-apple-darwin",
        Pin {
            archive_sha256: "cb03669d1ddc597c1ed55923a52e059c72efbed5ee9c2d9dfb92426d0da56fa3",
            executable_sha256: "3d107df15245a556903ad0491d29664887beed00ecaad122fa3a265c6b3abce9",
        },
    ),
    (
        "x86_64-apple-darwin",
        Pin {
            archive_sha256: "1c0e607526d18496774dd464ac0e5d2a16c04de7f8e0242c08cb167ca2867a74",
            executable_sha256: "5e1effda774874c0d4142718cfe8a1e0542f97472d684ac49c4bc1f39e4f9d32",
        },
    ),
];