/** * MCP tool handlers: code-anchored agent memory. * (change: add-code-anchored-memory-staleness) * * remember — persist a durable, code-anchored note for any agent to recall later * recall — return memories relevant to a task, each with a deterministic * freshness verdict; an orphaned memory is NEVER served as * authoritative context (the bullet-proof guarantee). * * Notes live in .openlore/memory/notes.json, entirely separate from the decision * store and commit gate. Architectural decisions are recalled too (read-only) so * one call surfaces all anchored memory touching a task. Freshness is static * analysis only — no LLM. With no `task`, recall doubles as a memory-staleness * scan over everything persisted. */ export interface AnchorHint { symbol?: string; file?: string; } export declare function handleRemember(directory: string, content: string, anchorHints?: AnchorHint[], tags?: string[]): Promise; export declare function handleRecall(directory: string, task?: string, limit?: number, tokenBudget?: number): Promise; //# sourceMappingURL=memory.d.ts.map