/** * context — tiered memory context loader, inspired by Hermes Agent's * OpenViking memory provider (L0 → L1 → L2 progressive loading). * * Three tiers trade latency for richness: * * L0 ~100 tokens Top-3 memories by salience × FSRS retrievability. * Names + first 80 chars of definition only. * Designed to be injected into every system prompt with * near-zero latency (no LLM call, one vector search). * * L1 ~2k tokens Semantic top-15 with full definitions, tags, and * immediate graph edges (one hop). Suitable for the * working memory section of a system prompt or a * context-window refresh mid-conversation. * * L2 full Multi-anchor retrieval across 4 query reformulations * with Borda-count consensus, spreading activation (2 * hops), and full memory metadata including provenance * and FSRS state. Use when you need the richest possible * recall and can tolerate extra latency. * * All tiers use HyDE query expansion by default (disable with hyde: false). * Results are always filtered to faded=false and sorted by composite score. */ import type { ToolDefinition } from '../mcp/tools.js'; export declare const contextTool: ToolDefinition; //# sourceMappingURL=context.d.ts.map