//! 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", "a78bf019589962701374da84f5c56e2b2b85ad95ad381831ab299e7be032dd28"),
    ("aarch64-unknown-linux-gnu", "47a4f9f79bb3ff0d4292d9a3e99e47992c57f0919b0e64ca63b5ea3817cbf4ec"),
    ("x86_64-apple-darwin", "208034fa7bafc57078f997eaab7dd6dd7d535b828d60030f9cef69eba742cf5c"),
    ("x86_64-pc-windows-msvc", "8d84fcb54ae27584bff5dfb65819e1038eff338b01075c99d86783c609ceddb8"),
    ("x86_64-unknown-linux-gnu", "7d0e93a54ff2894032785232337244f85ef366e1f71703880ec286326bbabdac"),
];

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