hematite-cli 0.8.2

Senior SysAdmin, Network Admin, Data Analyst, and Software Engineer living in your terminal. A high-precision local AI agent harness for LM Studio, Ollama, and other local OpenAI-compatible runtimes that runs 100% on your own silicon. Reads repos, edits files, runs builds, inspects full network state and workstation telemetry, and runs real Python/JS for data analysis.
Documentation
use std::sync::OnceLock;

#[allow(dead_code)]
pub static TOOL_SCHEMA_CACHE: OnceLock<String> = OnceLock::new();

#[allow(dead_code)]
pub fn get_or_init_cache() -> &'static str {
    TOOL_SCHEMA_CACHE.get_or_init(|| {
        r#"[
            {
                "name": "SlimLspTool",
                "description": "Reads cargo check output explicitly mapping diagnostics, compiler suggestions, and broken lines natively without background socket locking.",
                "parameters": {}
            },
            {
                "name": "FileReadTool",
                "description": "Reads raw file text natively tracking the memory boundaries securely."
            },
            {
                "name": "GuardTool",
                "description": "Resolves exact canonical pathing shielding internal directory structures dynamically."
            }
        ]"#.to_string()
    })
}