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.

56 lines 1.74 kB
import { TieredCacheOptions } from './tieredCache.js'; import fsSync from 'fs'; export interface SourceCodeMetadata { filePath: string; hash: string; size: number; lastModified: number; language: string; processed: boolean; content?: string; } export interface ASTMetadata { filePath: string; sourceHash: string; rootType: string; rootStartByte: number; rootEndByte: number; structure?: MinimalASTStructure; } export interface ASTNode { type: string; startByte: number; endByte: number; children?: ASTNode[]; [key: string]: unknown; } export interface MinimalASTStructure { type: string; startByte: number; endByte: number; children?: MinimalASTStructure[]; childrenCount?: number; } export interface MetadataCacheOptions extends Partial<TieredCacheOptions> { name: string; cacheDir: string; } export declare class MetadataCache<T extends SourceCodeMetadata | ASTMetadata> { private cache; private name; constructor(options: MetadataCacheOptions); init(): Promise<void>; get(key: string): Promise<T | undefined>; set(key: string, value: T): Promise<void>; has(key: string): Promise<boolean>; delete(key: string): Promise<void>; clear(): Promise<void>; getStats(): unknown; static createSourceCodeMetadata(filePath: string, content?: string, stats?: fsSync.Stats): Promise<SourceCodeMetadata>; static createASTMetadata(filePath: string, sourceHash: string, rootNode: ASTNode): ASTMetadata; static extractMinimalStructure(node: ASTNode, options?: { maxDepth?: number; maxChildren?: number; }): MinimalASTStructure | null; } //# sourceMappingURL=metadataCache.d.ts.map