vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
45 lines • 1.38 kB
TypeScript
import { VibeTaskManagerConfig } from './config-loader.js';
export interface SchemaValidationResult {
valid: boolean;
errors: SchemaValidationError[];
warnings: SchemaValidationWarning[];
normalizedConfig?: VibeTaskManagerConfig;
}
export interface SchemaValidationError {
path: string;
message: string;
expectedType: string;
actualType: string;
actualValue: unknown;
}
export interface SchemaValidationWarning {
path: string;
message: string;
suggestion: string;
}
export interface SchemaField {
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
required: boolean;
default?: unknown;
min?: number;
max?: number;
enum?: unknown[];
pattern?: RegExp;
description: string;
validation?: (value: unknown) => boolean;
transform?: (value: unknown) => unknown;
children?: Record<string, SchemaField>;
}
export declare const CONFIG_SCHEMA: Record<string, SchemaField>;
export declare class ConfigSchemaValidator {
private static instance;
private constructor();
static getInstance(): ConfigSchemaValidator;
validateConfig(config: unknown): SchemaValidationResult;
private normalizeConfig;
private validateField;
private validateType;
generateDefaultConfig(): VibeTaskManagerConfig;
private extractDefaults;
}
//# sourceMappingURL=config-schema.d.ts.map