vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
48 lines • 2.1 kB
TypeScript
import { WorkflowResult } from '../../services/workflows/workflowExecutor.js';
import { UnifiedCommandContext } from './unified-command-gateway.js';
import { RecognizedIntent } from '../../tools/vibe-task-manager/types/nl.js';
import { OpenRouterConfig } from '../../types/workflow.js';
export interface WorkflowDetection {
shouldTriggerWorkflow: boolean;
workflowName?: string;
workflowType: 'simple' | 'compound' | 'sequential' | 'parallel';
nextSteps?: string[];
estimatedDuration?: number;
requiredTools?: string[];
}
export interface MultiToolWorkflowResult extends WorkflowResult {
triggeredWorkflows: string[];
parallelExecutions: number;
toolsUsed: string[];
crossToolContext: Record<string, unknown>;
}
export interface ToolCompatibilityResult {
compatible: boolean;
confidence: number;
suggestions: string[];
alternativeTools?: string[];
}
export declare class MultiToolWorkflowEngine {
private config;
private activeWorkflows;
private readonly workflowPatterns;
constructor(config: OpenRouterConfig);
analyzeWorkflowPotential(intent: RecognizedIntent, params: Record<string, unknown>, selectedTool: string, context: UnifiedCommandContext): Promise<WorkflowDetection>;
executeMultiToolWorkflow(workflowName: string, params: Record<string, unknown>, context: UnifiedCommandContext): Promise<MultiToolWorkflowResult>;
checkToolCompatibility(toolName: string, workflowName: string, context: UnifiedCommandContext): Promise<ToolCompatibilityResult>;
private executeSequentialWorkflow;
private executeParallelWorkflow;
private executeCompoundWorkflow;
private executeToolWithErrorHandling;
private prepareToolParams;
private extractReusableData;
private detectCompoundRequest;
private detectSequentialOpportunity;
private calculateToolCompatibility;
private semanticMatch;
private generateNextSteps;
private registerActiveWorkflow;
private unregisterActiveWorkflow;
private updateContextWithResults;
}
//# sourceMappingURL=multi-tool-workflow.d.ts.map