//! Release manifest for the `code_graph-mcp` stub crate.
//!
//! Templated by `.github/workflows/release.yml` between
//! `make-manifest` and `publish-cargo`. See
//! `crates/code_graph/src/manifest.rs` for the design rationale.

/// Base URL for the GitHub Release that hosts the per-platform
/// binary archives.
pub const RELEASE_URL_BASE: &str = "https://github.com/Renso-AI/code-graph-dist/releases/download";

/// File-name stem of the prebuilt archive.
pub const ARCHIVE_PREFIX: &str = "code_graph-mcp";

/// The binary inside the archive.
pub const BINARY_NAME: &str = "code_graph-mcp";

/// SHA256 hex of each per-target archive, keyed by Rust target triple.
/// Templated at release time. An empty slice triggers placeholder mode.
pub const SHA256_BY_TARGET: &[(&str, &str)] = &[
    ("aarch64-apple-darwin", "cffebb494619b373ee081a71143aa2e138bb01957fa9449a8c795602d95d9763"),
    ("aarch64-unknown-linux-gnu", "3e59d57f3d41f9dafe24162ded7a1cc00cb0d78316d16489b14b61b79e9e0854"),
    ("x86_64-apple-darwin", "6fadaf216a06c4233da606ea3b155786095ad515298b071e6bf46ab13419b566"),
    ("x86_64-pc-windows-msvc", "25b2d79710d3338c17fb0766807f96a98ff3385a714cdc23f3f3ed755578db4e"),
    ("x86_64-unknown-linux-gnu", "8402bd12880f3195f05235be07f624ddc06ca9dba188cc0d8d8f402f1236e19a"),
];

/// Optional minisign public key (base64). Empty disables verification.
pub const MINISIGN_PUBKEY: &str = "";
