UNPKG

create-ai-chat-context-experimental

Version:

Phase 2: TypeScript rewrite - AI Chat Context & Memory System with conversation extraction and AICF format support (powered by aicf-core v2.1.0).

46 lines 1.21 kB
/** * This file is part of create-ai-chat-context-experimental. * Licensed under the GNU Affero General Public License v3.0 or later (AGPL-or-later). * See LICENSE file for details. */ import type { Result } from '../types/result.js'; export interface ConsolidationStats { totalChunksProcessed: number; chunksConsolidated: number; chunksDuplicated: number; filesWritten: number; timestamp: string; } /** * Consolidates cache chunks into unified memory files */ export declare class CacheConsolidationAgent { private orchestrator; private memoryWriter; private router; private cacheDir; private outputDir; private processedHashes; constructor(cwd?: string); /** * Consolidate all cache chunks */ consolidate(): Promise<Result<ConsolidationStats>>; /** * Find all chunk files across all platforms */ private findAllChunks; /** * Process a single chunk file */ private processChunk; /** * Extract messages from chunk */ private extractMessages; /** * Get consolidation stats */ getStats(): ConsolidationStats; } //# sourceMappingURL=CacheConsolidationAgent.d.ts.map