//! MCP resources — static documentation artifacts exposed to MCP clients.
//!
//! Resources are bundled at build time so the binary is self-contained.

const SKILL_MD: &str = include_str!("skill.md");
const GUIDE_MD: &str = include_str!("guide.md");

/// Static resource catalog: `(uri, name, description, mime_type, contents)`.
/// URIs use the `droidsaw:` scheme to signal these are server-owned
/// documentation, not file-system files.
pub fn resource_entries() -> &'static [(
    &'static str,
    &'static str,
    &'static str,
    &'static str,
    &'static str,
)] {
    &[
        (
            "droidsaw:///skill",
            "droidsaw-skill-guide",
            "Analyst workflow guide: mental model, goal→tool decision table, common scenarios, mistakes, cost warnings. Read this before starting a new APK analysis.",
            "text/markdown",
            SKILL_MD,
        ),
        (
            "droidsaw:///guide",
            "droidsaw-project-guide",
            "Output contract, full tool list with return shapes, chaining patterns, anti-patterns, error classes.",
            "text/markdown",
            GUIDE_MD,
        ),
    ]
}
