vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
57 lines • 2.05 kB
TypeScript
import { StarterKitDefinition, FileStructureItem } from './schema.js';
import { OpenRouterConfig } from '../../types/workflow.js';
export interface ParsedYamlModule {
moduleName: string;
description?: string;
type?: string;
placeholders?: string[];
provides: {
techStack?: Record<string, {
name: string;
version?: string;
rationale: string;
}>;
directoryStructure?: FileStructureItem[];
dependencies?: StarterKitDefinition['dependencies'];
setupCommands?: {
context?: string;
command: string;
}[];
};
_sourcePath?: string;
}
export declare function validateSetupCommandsFormat(setupCommands: unknown): {
isValid: boolean;
errors: string[];
};
export declare function generateSetupCommandsErrorContext(setupCommands: unknown, modulePathSegment: string): string;
interface ModuleParameters {
[placeholderKey: string]: string | number | boolean;
}
export declare class YAMLComposer {
private baseTemplatePath;
private config;
private generatedTemplateCache;
private templateAliases;
constructor(config: OpenRouterConfig, baseTemplatePath?: string);
private generateTemplateWithLLM;
private buildTemplateGenerationPrompt;
private generateDynamicTemplate;
loadAndParseYamlModule(modulePathSegment: string, researchContext?: string): Promise<ParsedYamlModule>;
private preprocessTemplateForValidation;
private fixDirectoryStructureItems;
private fixSetupCommandsFormat;
private trackSetupCommandsPreprocessing;
private substitutePlaceholders;
private mergeTechStacks;
private mergeDirectoryStructures;
private mergeDependencies;
private mergeSetupCommands;
compose(moduleSelections: Array<{
modulePath: string;
params: ModuleParameters;
moduleKey?: string;
}>, globalParams: ModuleParameters, researchContext?: string): Promise<StarterKitDefinition>;
}
export {};
//# sourceMappingURL=yaml-composer.d.ts.map