megacode-agent-sdk 0.31.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.31.0";

/// `(target, pin)` for each release target.
pub const PINS: &[(&str, Pin)] = &[
    (
        "x86_64-unknown-linux-musl",
        Pin {
            archive_sha256: "09961ca3908cbeb98efef53c53d39831d896c5947dfc239ca7b3782ab1f6b6a5",
            executable_sha256: "7875246a8825fa42c77bdda5a2f016f680f76c3e395305a09d6532a4fbf65395",
        },
    ),
    (
        "aarch64-apple-darwin",
        Pin {
            archive_sha256: "3f179e2bde1059a5fcbeed2b27b1fef082a206c4ab6131dde0cfc2330b5ab4f2",
            executable_sha256: "fc8da5ec63b93caf9a35f2bf844281c0ee59b7285dae6ccafc50f8eedd792cde",
        },
    ),
    (
        "x86_64-apple-darwin",
        Pin {
            archive_sha256: "64901a9ae175345f188b6d83aa4f5e74a2f8f600f66e38af428de67fca8e287d",
            executable_sha256: "202c9ae3c9a6bde597a5fcd99cb7847c018069bf3b293e6df668695ad05e1b25",
        },
    ),
];