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.

90 lines 3.19 kB
import { CommandContext } from '../../tools/vibe-task-manager/nl/command-gateway.js'; import { CommandProcessingResult } from '../../tools/vibe-task-manager/types/nl.js'; import { OpenRouterConfig } from '../../types/workflow.js'; export interface UnifiedCommandContext extends CommandContext { activeWorkflow?: string; workflowStack: string[]; toolHistory: Array<{ tool: string; intent: string; timestamp: Date; success: boolean; }>; preferredTools: Record<string, number>; } export interface UnifiedCommandProcessingResult extends CommandProcessingResult { selectedTool?: string; workflowTriggered?: boolean; alternativeTools?: Array<{ tool: string; confidence: number; reason: string; }>; contextData?: Record<string, unknown>; } export declare class UnifiedCommandGateway { private static unifiedInstance; private intentRegistry; private workflowEngine; private parameterExtractor; private openRouterConfig; private unifiedContextCache; private toolMetrics; private constructor(); static getInstance(config?: OpenRouterConfig): UnifiedCommandGateway; processUnifiedCommand(input: string, context?: Partial<UnifiedCommandContext>): Promise<UnifiedCommandProcessingResult>; executeUnifiedCommand(input: string, context?: Partial<UnifiedCommandContext>): Promise<{ success: boolean; result?: unknown; tool?: string; error?: string; processingTime: number; }>; private getOrCreateUnifiedContext; private recognizeUnifiedIntent; private selectOptimalTool; private validateUnifiedCommand; private validateToolSpecificParameters; private validateResearchManagerParams; private validatePRDGeneratorParams; private validateUserStoriesGeneratorParams; private validateTaskListGeneratorParams; private validateStarterKitGeneratorParams; private validateRulesGeneratorParams; private validateCodeMapGeneratorParams; private validateContextCuratorParams; private validateWorkflowRunnerParams; private validateJobResultParams; private validateAgentCoordinationParams; private validateProcessRequestParams; private validateWorkflowConsistency; private shouldRequireUnifiedConfirmation; private mapUnifiedIntentToToolParams; private createUnifiedFailureResult; private createUnifiedValidationErrorResult; private updateUnifiedContext; private updateToolMetrics; getUnifiedStatistics(): { totalCommands: number; toolDistribution: Record<string, number>; averageAccuracy: number; workflowUsage: number; topPerformingTools: Array<{ tool: string; score: number; }>; }; getConfig(): { maxProcessingTime: number; trackHistory: boolean; maxHistoryEntries: number; enableContextAware: boolean; autoExecuteThreshold: number; }; getStatistics(): { successRate: number; totalRequests: number; avgProcessingTime: number; }; } //# sourceMappingURL=unified-command-gateway.d.ts.map