/** * Chat Memory Skill * * Persistent memory and task history for the chat agent, backed by Dolt. * Adds tables to the existing .zibby/memory/ database (open/closed — does * not modify existing test memory tables). * * Inspired by OpenClaw's 4-layer architecture: * Layer 1: Session context (chat history — handled by chat.js) * Layer 2: Facts & context (this skill — chat_memory table) * Layer 3: Session summaries (this skill — chat_sessions table) * Layer 4: Search (this skill — memory_recall with SQL LIKE) * * Also tracks task history for cross-session persistence. */ export declare function _resetInitCache(): void; export declare function _mem0DbPaths(cwd: any): { dir: string; vectorDbPath: string; historyDbPath: string; }; export declare function _resolveMem0Config(cwd: any): { llm: { provider: string; config: { apiKey?: string; model: string; baseURL: string; }; }; embedder: { provider: string; config: { apiKey?: string; model: string; embeddingDims: number; baseURL: string; }; }; vectorStore: { provider: string; config: { dimension: number; dbPath: string; }; }; historyDbPath: string; }; export declare function _resolveMemoryAdapter(cwd: any, context: any): Promise; export declare function _resolveMem0Infer(arg: any, cwd: any): Promise; export declare const chatMemorySkill: any;