vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
60 lines • 1.86 kB
TypeScript
import type { PRDInfo, ParsedPRD } from '../types/artifact-types.js';
export interface PRDResult {
success: boolean;
prdData?: ParsedPRD;
error?: string;
parsingTime?: number;
}
interface PRDIntegrationConfig {
maxAge: number;
enableCaching: boolean;
maxCacheSize: number;
enablePerformanceMonitoring: boolean;
}
export interface PRDMetadata {
filePath: string;
projectPath: string;
createdAt: Date;
fileSize: number;
version: string;
performanceMetrics: {
parsingTime: number;
fileSize: number;
featureCount: number;
sectionCount: number;
};
}
export interface PRDValidationResult {
isValid: boolean;
errors: string[];
warnings: string[];
completenessScore: number;
validatedAt: Date;
}
export type PRDDataType = 'overview' | 'features' | 'technical' | 'constraints' | 'metadata' | 'full_content';
export declare class PRDIntegrationService {
private static instance;
private config;
private prdCache;
private performanceMetrics;
private securityEngine;
private constructor();
private getSecurityEngine;
static getInstance(): PRDIntegrationService;
parsePRD(prdFilePath: string): Promise<PRDResult>;
detectExistingPRD(projectPath?: string): Promise<PRDInfo | null>;
private validatePRDPath;
private updatePRDCache;
private splitCompoundWord;
private extractPRDMetadataFromFilename;
private findPRDFiles;
private parsePRDContent;
private parsePRDSection;
getPRDMetadata(prdFilePath: string): Promise<PRDMetadata>;
clearCache(): void;
updateConfig(newConfig: Partial<PRDIntegrationConfig>): void;
getConfig(): PRDIntegrationConfig;
getPerformanceMetrics(): Map<string, PRDMetadata['performanceMetrics']>;
}
export {};
//# sourceMappingURL=prd-integration.d.ts.map