sqlite-graphrag 1.1.4

Persistent GraphRAG memory for Claude Code, Codex, Cursor, and 24+ AI agents — one self-contained ~16 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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/schemas/prune-relations.schema.json",
  "title": "PruneRelationsResponse",
  "description": "Response emitted by `sqlite-graphrag prune-relations` on stdout as a single JSON line.",
  "type": "object",
  "required": ["action", "relation", "count", "entities_affected", "namespace", "elapsed_ms"],
  "additionalProperties": false,
  "properties": {
    "action":            { "type": "string", "enum": ["pruned", "dry_run"], "description": "Whether relationships were actually deleted or just counted." },
    "relation":          { "type": "string", "description": "The relation type that was pruned (e.g. 'mentions')." },
    "count":             { "type": "integer", "minimum": 0, "description": "Number of relationships deleted (or that would be deleted in dry_run)." },
    "entities_affected": { "type": "integer", "minimum": 0, "description": "Number of distinct entities whose degree was recalculated." },
    "namespace":              { "type": "string", "description": "Namespace in which the prune was executed." },
    "affected_entity_names":  { "type": "array", "items": { "type": "string" }, "description": "Names of entities whose degree was recalculated. Present only when --show-entities is used." },
    "elapsed_ms":             { "type": "integer", "minimum": 0, "description": "Handler wall-clock time in milliseconds." }
  }
}