UNPKG

vibe-coder-mcp

Version:

Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.

53 lines 1.76 kB
export interface ProcessedFileContent { content: string; isOptimized: boolean; totalLines: number; fullContentLines?: number; optimizedLines?: number; tokenEstimate: number; contentSections: ContentSection[]; processingMetadata: ProcessingMetadata; } export interface ContentSection { type: 'full' | 'optimized'; startLine: number; endLine: number; content: string; tokenCount: number; description: string; } export interface ProcessingMetadata { filePath: string; fileSize: number; processingTime: number; optimizationApplied: boolean; optimizationRatio?: number; contentType: string; encoding: string; } export interface FileProcessingOptions { locThreshold?: number; preserveComments?: boolean; preserveTypes?: boolean; maxContentLength?: number; allowedDirectory: string; } export declare class FileContentProcessor { private static readonly DEFAULT_LOC_THRESHOLD; private static readonly DEFAULT_MAX_CONTENT_LENGTH; static processFileContent(filePath: string, fileContent: string, options: FileProcessingOptions): Promise<ProcessedFileContent>; private static processLargeFile; private static optimizeContent; private static combineContentWithMarkers; private static detectContentType; private static mapToTokenEstimatorType; static readAndProcessFile(filePath: string, options: FileProcessingOptions): Promise<ProcessedFileContent>; static getProcessingStats(result: ProcessedFileContent): { totalLines: number; optimizationApplied: boolean; tokenEfficiency: number; processingTime: number; contentSectionCount: number; }; } //# sourceMappingURL=file-processor.d.ts.map