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.

594 lines 21 kB
import { z } from 'zod'; export declare const moduleParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; export declare const moduleSelectionItemSchema: z.ZodObject<{ modulePath: z.ZodString; params: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; moduleKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { params: Record<string, string | number | boolean>; modulePath: string; moduleKey?: string | undefined; }, { params: Record<string, string | number | boolean>; modulePath: string; moduleKey?: string | undefined; }>; export declare const enhancedModuleSelectionItemSchema: z.ZodObject<{ modulePath: z.ZodString; moduleType: z.ZodString; params: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; moduleKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { params: Record<string, string | number | boolean>; modulePath: string; moduleType: string; moduleKey?: string | undefined; }, { params: Record<string, string | number | boolean>; modulePath: string; moduleType: string; moduleKey?: string | undefined; }>; export declare const globalParametersSchema: z.ZodObject<{ projectName: z.ZodString; projectDescription: z.ZodString; frontendPath: z.ZodString; backendPath: z.ZodString; backendPort: z.ZodNumber; databaseName: z.ZodOptional<z.ZodString>; apiPrefix: z.ZodString; enableTypeScript: z.ZodBoolean; enableTesting: z.ZodBoolean; enableDocker: z.ZodBoolean; enableCICD: z.ZodBoolean; }, "strip", z.ZodTypeAny, { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }, { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }>; export declare const moduleSelectionResponseSchema: z.ZodObject<{ globalParams: z.ZodObject<{ projectName: z.ZodString; projectDescription: z.ZodString; frontendPath: z.ZodString; backendPath: z.ZodString; backendPort: z.ZodNumber; databaseName: z.ZodOptional<z.ZodString>; apiPrefix: z.ZodString; enableTypeScript: z.ZodBoolean; enableTesting: z.ZodBoolean; enableDocker: z.ZodBoolean; enableCICD: z.ZodBoolean; }, "strip", z.ZodTypeAny, { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }, { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }>; moduleSelections: z.ZodArray<z.ZodObject<{ modulePath: z.ZodString; params: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; moduleKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { params: Record<string, string | number | boolean>; modulePath: string; moduleKey?: string | undefined; }, { params: Record<string, string | number | boolean>; modulePath: string; moduleKey?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { globalParams: { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }; moduleSelections: { params: Record<string, string | number | boolean>; modulePath: string; moduleKey?: string | undefined; }[]; }, { globalParams: { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }; moduleSelections: { params: Record<string, string | number | boolean>; modulePath: string; moduleKey?: string | undefined; }[]; }>; export declare const dynamicTemplateSchema: z.ZodObject<{ moduleName: z.ZodString; description: z.ZodString; type: z.ZodString; placeholders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; provides: z.ZodObject<{ techStack: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ name: z.ZodString; version: z.ZodOptional<z.ZodString>; rationale: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; version?: string | undefined; rationale?: string | undefined; }, { name: string; version?: string | undefined; rationale?: string | undefined; }>>>; directoryStructure: z.ZodOptional<z.ZodArray<z.ZodObject<{ path: z.ZodString; type: z.ZodEnum<["file", "directory"]>; content: z.ZodNullable<z.ZodString>; generationPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>; children: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; }, "strip", z.ZodTypeAny, { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }, { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }>, "many">>; dependencies: z.ZodOptional<z.ZodObject<{ npm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ dependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; devDependencies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, "strip", z.ZodTypeAny, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }>>>; }, "strip", z.ZodTypeAny, { npm?: Record<string, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }> | undefined; }, { npm?: Record<string, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }> | undefined; }>>; setupCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{ command: z.ZodString; context: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { command: string; context?: string | undefined; }, { command: string; context?: string | undefined; }>, "many">>; nextSteps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { dependencies?: { npm?: Record<string, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }> | undefined; } | undefined; techStack?: Record<string, { name: string; version?: string | undefined; rationale?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; nextSteps?: string[] | undefined; }, { dependencies?: { npm?: Record<string, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }> | undefined; } | undefined; techStack?: Record<string, { name: string; version?: string | undefined; rationale?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; nextSteps?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { type: string; description: string; moduleName: string; provides: { dependencies?: { npm?: Record<string, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }> | undefined; } | undefined; techStack?: Record<string, { name: string; version?: string | undefined; rationale?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; nextSteps?: string[] | undefined; }; placeholders?: string[] | undefined; }, { type: string; description: string; moduleName: string; provides: { dependencies?: { npm?: Record<string, { dependencies?: Record<string, string> | undefined; devDependencies?: Record<string, string> | undefined; }> | undefined; } | undefined; techStack?: Record<string, { name: string; version?: string | undefined; rationale?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; nextSteps?: string[] | undefined; }; placeholders?: string[] | undefined; }>; export declare const enhancedModuleSelectionResponseSchema: z.ZodObject<{ globalParams: z.ZodObject<{ projectName: z.ZodString; projectDescription: z.ZodString; frontendPath: z.ZodString; backendPath: z.ZodString; backendPort: z.ZodNumber; databaseName: z.ZodOptional<z.ZodString>; apiPrefix: z.ZodString; enableTypeScript: z.ZodBoolean; enableTesting: z.ZodBoolean; enableDocker: z.ZodBoolean; enableCICD: z.ZodBoolean; }, "strip", z.ZodTypeAny, { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }, { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }>; moduleSelections: z.ZodArray<z.ZodObject<{ modulePath: z.ZodString; moduleType: z.ZodString; params: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>; moduleKey: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { params: Record<string, string | number | boolean>; modulePath: string; moduleType: string; moduleKey?: string | undefined; }, { params: Record<string, string | number | boolean>; modulePath: string; moduleType: string; moduleKey?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { globalParams: { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }; moduleSelections: { params: Record<string, string | number | boolean>; modulePath: string; moduleType: string; moduleKey?: string | undefined; }[]; }, { globalParams: { projectName: string; projectDescription: string; frontendPath: string; backendPath: string; backendPort: number; apiPrefix: string; enableTypeScript: boolean; enableTesting: boolean; enableDocker: boolean; enableCICD: boolean; databaseName?: string | undefined; }; moduleSelections: { params: Record<string, string | number | boolean>; modulePath: string; moduleType: string; moduleKey?: string | undefined; }[]; }>; export declare const unifiedTemplateSchema: z.ZodObject<{ moduleName: z.ZodString; description: z.ZodString; type: z.ZodString; provides: z.ZodObject<{ techStack: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ name: z.ZodString; version: z.ZodOptional<z.ZodString>; rationale: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; rationale: string; version?: string | undefined; }, { name: string; rationale: string; version?: string | undefined; }>>>; directoryStructure: z.ZodOptional<z.ZodArray<z.ZodObject<{ path: z.ZodString; type: z.ZodEnum<["file", "directory"]>; content: z.ZodNullable<z.ZodString>; generationPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>; children: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; }, "strip", z.ZodTypeAny, { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }, { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }>, "many">>; setupCommands: z.ZodOptional<z.ZodArray<z.ZodObject<{ command: z.ZodString; context: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { command: string; context?: string | undefined; }, { command: string; context?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { techStack?: Record<string, { name: string; rationale: string; version?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; }, { techStack?: Record<string, { name: string; rationale: string; version?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { type: string; description: string; moduleName: string; provides: { techStack?: Record<string, { name: string; rationale: string; version?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; }; }, { type: string; description: string; moduleName: string; provides: { techStack?: Record<string, { name: string; rationale: string; version?: string | undefined; }> | undefined; directoryStructure?: { type: "directory" | "file"; path: string; content: string | null; children?: any[] | undefined; generationPrompt?: string | null | undefined; }[] | undefined; setupCommands?: { command: string; context?: string | undefined; }[] | undefined; }; }>; export type ModuleParameters = z.infer<typeof moduleParametersSchema>; export type ModuleSelectionItem = z.infer<typeof moduleSelectionItemSchema>; export type EnhancedModuleSelectionItem = z.infer<typeof enhancedModuleSelectionItemSchema>; export type GlobalParameters = z.infer<typeof globalParametersSchema>; export type ModuleSelectionResponse = z.infer<typeof moduleSelectionResponseSchema>; export type EnhancedModuleSelectionResponse = z.infer<typeof enhancedModuleSelectionResponseSchema>; export type DynamicTemplate = z.infer<typeof dynamicTemplateSchema>; export type UnifiedTemplate = z.infer<typeof unifiedTemplateSchema>; export declare function validateModuleSelectionResponse(data: unknown): data is ModuleSelectionResponse; export declare function validateDynamicTemplate(data: unknown): data is DynamicTemplate; export declare function validateEnhancedModuleSelectionResponse(data: unknown): data is EnhancedModuleSelectionResponse; export declare function validateUnifiedTemplate(data: unknown): data is UnifiedTemplate; export declare function validateModuleSelectionWithErrors(data: unknown): { success: boolean; data?: ModuleSelectionResponse; errors?: string[]; }; export declare function validateDynamicTemplateWithErrors(data: unknown): { success: boolean; data?: DynamicTemplate; errors?: string[]; }; export declare function validateEnhancedModuleSelectionWithErrors(data: unknown): { success: boolean; data?: EnhancedModuleSelectionResponse; errors?: string[]; }; export declare function validateUnifiedTemplateWithErrors(data: unknown): { success: boolean; data?: UnifiedTemplate; errors?: string[]; }; //# sourceMappingURL=moduleSelection.d.ts.map