aicf-core
Version:
Universal AI Context Format (AICF) - Enterprise-grade AI memory infrastructure with 95.5% compression and zero semantic loss
49 lines • 1.45 kB
TypeScript
interface ExtractorOptions {
limit?: number;
timeframe?: string;
}
interface Conversation {
id: string;
messages: Message[];
metadata: Record<string, any>;
}
interface Message {
id: string;
role: string;
content: string;
timestamp: number;
}
/**
* Universal AI Context Extractor
*
* Extracts conversation context from various AI assistants:
* - Warp AI (SQLite database) - ✅ Production Ready
* - Augment (Agent edit history) - ✅ Production Ready
* - Claude Desktop (IndexedDB/LocalStorage) - 🔧 Placeholder
* - Cursor AI (Extension Storage) - 🔧 Placeholder
* - GitHub Copilot (Extension Data) - 🔧 Placeholder
*/
export declare class ContextExtractor {
private readonly sources;
private readonly defaultSource;
constructor();
/**
* List available conversations from specified source
*/
listConversations(source?: string, options?: ExtractorOptions): Promise<Conversation[]>;
/**
* Extract full conversation context from specified source
*/
extractConversation(conversationId: string, source?: string, options?: ExtractorOptions): Promise<Conversation | null>;
/**
* Get available context sources
*/
getAvailableSources(): string[];
/**
* Check if a specific source is available
*/
isSourceAvailable(source: string): boolean;
}
export {};
//# sourceMappingURL=context-extractor.d.ts.map