vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
41 lines • 1.45 kB
TypeScript
import { ClassInfo, FunctionInfo, ClassPropertyInfo, FileInfo } from '../codeMapModel.js';
import { UniversalOptimizationConfig } from '../types.js';
import { EnhancementConfig } from '../config/enhancementConfig.js';
export interface PublicInterface {
keyMethods: FunctionInfo[];
keyProperties: ClassPropertyInfo[];
getterSetterPairs: PropertyPair[];
inheritance: string;
}
export interface PropertyPair {
name: string;
hasGetter: boolean;
hasSetter: boolean;
type: string;
}
export declare class UniversalClassOptimizer {
private config?;
constructor(config?: EnhancementConfig | undefined);
optimizeClassInfo(cls: ClassInfo, _config: UniversalOptimizationConfig): string;
private extractPublicInterface;
isPublicMember(member: {
accessModifier?: string;
access?: string;
name: string;
}): boolean;
isGetterSetter(method: {
name: string;
}): boolean;
private isGetterSetterProperty;
identifyGetterSetterPairs(methods: FunctionInfo[]): PropertyPair[];
private formatCriticalClass;
private formatStandardClass;
private formatMinimalClass;
private extractInheritanceInfo;
private compressDescription;
calculateFileImportance(fileInfo: FileInfo): number;
private calculateClassImportance;
private calculateMethodImportance;
private calculatePropertyImportance;
}
//# sourceMappingURL=universalClassOptimizer.d.ts.map