//! 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", "ad2ff5db3965490a19f31a88f6620c3d42b9ab6ccbe4c63c112468bb2d5b85a8"),
    ("aarch64-unknown-linux-gnu", "21952e3bc7aed94e04e2e7a0ec849c6d7c8f067288e25ba3a13cd251b80cec98"),
    ("x86_64-apple-darwin", "d4e491c0c875dc568d8e60d268c26116e6a40544d807745ebc40289dd699d41c"),
    ("x86_64-pc-windows-msvc", "287cadc088ac6be87f93770a9f2a7f628d22c3309f4fb49fe7a038ade77ecd47"),
    ("x86_64-unknown-linux-gnu", "c2e278bba9ced2572f46621bbda61f69f6b1bd16341c9fbe111db0cb347fb411"),
];

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