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.

45 lines 1.69 kB
import { OutputFormat, TaskType, XmlOutputValidation, JsonOutputValidation, YamlOutputValidation, ContextCuratorConfig } from '../types/context-curator.js'; import { ContextPackage } from '../types/output-package.js'; export interface TemplateVariables { projectName?: string; taskType: TaskType; userPrompt: string; refinedPrompt?: string; totalFiles: number; totalTokens: number; generationTimestamp: string; [key: string]: string | number | undefined; } export interface FormattedOutput { content: string; format: OutputFormat; size: number; validation: XmlOutputValidation | JsonOutputValidation | YamlOutputValidation; processingTimeMs: number; } export declare class OutputFormatterService { private static instance; private templateCache; private constructor(); static getInstance(): OutputFormatterService; formatOutput(contextPackage: ContextPackage, format: OutputFormat, config: ContextCuratorConfig, templateVariables?: Partial<TemplateVariables>): Promise<FormattedOutput>; private formatAsXML; private generateInnerXMLContent; private formatAsJSON; private formatAsYAML; private loadTemplate; private applyTemplateVariables; private validateXMLOutput; private validateJSONOutput; private validateYAMLOutput; private isValidationPassed; private isWellFormedXML; private isXMLSchemaCompliant; private extractAiAgentResponseFormat; private hasValidXMLEncoding; private isJSONSchemaCompliant; private hasRequiredJSONFields; private isYAMLSchemaCompliant; private hasRequiredYAMLFields; } //# sourceMappingURL=output-formatter.d.ts.map