sqlite-graphrag 1.2.7

Persistent GraphRAG memory for Claude Code, Codex, Cursor, and 27 AI agents — one self-contained ~19 MiB Rust binary, zero daemon. Never re-explain your codebase again. Hybrid retrieval (FTS5 BM25 + cosine similarity + multi-hop graph traversal) surfaces the right memory in milliseconds. Embedding and entity enrichment run as parallel REST calls against your cloud LLM — no fragile headless subprocesses, no ONNX runtime, no model downloads. Soft-delete with full version history, transactional atomic writes, BLAKE3-tracked mutations. OAuth-only: raw API keys ABORT the spawn.
Documentation
//! CLI argument structs and command surface (clap-based).
//!
//! Defines `Cli` and all subcommand enums; contains no business logic.
//!
//! Split by surface: `globals` holds the root parser and its flags,
//! `commands` the subcommand enum and its classification, and
//! `value_enums` the `ValueEnum` types shared across argument structs.
//! Every public item is re-exported here, so `crate::cli::X` keeps resolving
//! exactly as before for every caller.

mod commands;
mod globals;
mod value_enums;

// Backend choice enums live in `backend_choice` (Wave C1).
pub use crate::backend_choice::{EmbeddingBackendChoice, LlmBackendChoice};
pub use commands::Commands;
pub use globals::Cli;
pub use value_enums::{GraphExportFormat, MemoryType};

#[cfg(test)]
#[path = "../cli_json_only_format_tests.rs"]
mod json_only_format_tests;

#[cfg(test)]
#[path = "../cli_heavy_concurrency_tests.rs"]
mod heavy_concurrency_tests;

/// GAP-SG-31/33/34/35/30: parse-time contracts for the Fase G clap fixes.
#[cfg(test)]
#[path = "../cli_fase_g_parsing_tests.rs"]
mod fase_g_parsing_tests;