//! 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", "4515abbcae37846ad1a43cbe3dd5a9c59d3ee52d3f515f46993671332472290c"),
    ("aarch64-unknown-linux-gnu", "057a0243695bc9858e611a4ed831c31131dd0cfb5cf47652d6fe024cd558676b"),
    ("x86_64-apple-darwin", "921ee24932551b416ba917bf64daac471a7dd91a4e466a6480c924a77f03fc4e"),
    ("x86_64-pc-windows-msvc", "49df3e916712ca1a4c3d88cefdb39421302c8188c4198105ccf7c35dedab38ef"),
    ("x86_64-unknown-linux-gnu", "6bf8d0387b1e1a7c5f1df6daa00553606b0f97430b183e953479c32111d1a415"),
];

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