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).

38 lines 1.27 kB
/** * This file is part of create-ai-chat-context-experimental. * Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). * See LICENSE file for details. */ /** * Conversation Summary Parser * Core foundation for Phase 2 - NO TRUNCATION * October 2025 */ import type { Message, ConversationSummary } from '../types/index.js'; import type { Result } from '../types/index.js'; /** * Parse and aggregate conversation messages into comprehensive summary * Preserves FULL content - NO TRUNCATION */ export declare class ConversationSummaryParser { /** * Extract comprehensive conversation summary from ALL messages * NO TRUNCATION - preserves full content * * @param messages - Array of messages to summarize * @returns Result with ConversationSummary or error */ extractSummary(messages: Message[]): Result<ConversationSummary>; /** * Calculate metrics about the conversation * @param messages - Messages to analyze * @returns ConversationMetrics */ private calculateMetrics; /** * Create empty conversation summary * @returns Empty ConversationSummary */ private emptyConversationSummary; } //# sourceMappingURL=ConversationSummaryParser.d.ts.map