megacode-agent-sdk 0.30.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.30.0";

/// `(target, pin)` for each release target.
pub const PINS: &[(&str, Pin)] = &[
    (
        "x86_64-unknown-linux-musl",
        Pin {
            archive_sha256: "392e7a3900e403517f7858b8edb724f75729f67599decd0964f3e2e2c801270b",
            executable_sha256: "276bbd95fe61399a26fbe636ccb87e8d6bdc37e9c96fa81a980c720e3c540081",
        },
    ),
    (
        "aarch64-apple-darwin",
        Pin {
            archive_sha256: "dd399eb5a0253c657730e4bd17945ddfbe2101223c8ed4dfbc03ae295790cf80",
            executable_sha256: "dec66a7df303b5c073a3927458d47d537ee88859c4955effb2f6580289e8c6dd",
        },
    ),
    (
        "x86_64-apple-darwin",
        Pin {
            archive_sha256: "2fe48afb28a62e00d7eb34980f3428b1b83b33f75f13c9a82c5cdc382a5460bf",
            executable_sha256: "6d4b98d47aa7868cfef737a61294db691f3ee3784059e47423e8608e18a3f21a",
        },
    ),
];