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).
35 lines • 1 kB
TypeScript
/**
* 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.
*/
/**
* Claude Parser
* Extracts conversation data from Claude JSON export format
* October 2025
*/
import type { Message } from '../types/index.js';
import type { Result } from '../types/index.js';
/**
* Parse Claude JSON export format
* Converts claude-export JSON to standard Message format
*/
export declare class ClaudeParser {
/**
* Parse Claude export JSON data
*
* @param data - Claude export JSON data
* @returns Result with Message[] or error
*/
parse(data: unknown): Result<Message[]>;
/**
* Extract messages from Claude chat array
*/
private extractMessages;
/**
* Generate conversation ID from title
* Creates a slug-like ID from the title
*/
private generateConversationId;
}
//# sourceMappingURL=ClaudeParser.d.ts.map