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.

107 lines 3.38 kB
import { CallToolResult } from '@modelcontextprotocol/sdk/types.js'; export interface AgentResponse { agentId: string; taskId: string; status: 'DONE' | 'ERROR' | 'PARTIAL'; response: string; completionDetails?: { filesModified?: string[]; testsPass?: boolean; buildSuccessful?: boolean; executionTime?: number; errorDetails?: string; partialProgress?: number; }; receivedAt?: number; metadata?: Record<string, unknown>; } declare class AgentResponseProcessor { private static instance; private static isInitializing; private responseHistory; private agentRegistryCache; private agentTaskQueueCache; static getInstance(): AgentResponseProcessor; private static createSafeFallback; private getAgentRegistry; private getAgentTaskQueue; processResponse(response: AgentResponse): Promise<void>; private validateResponse; private updateTaskStatus; private updateJobStatus; private updateAgentStatus; private broadcastTaskCompletion; getResponse(taskId: string): Promise<AgentResponse | undefined>; getAgentResponses(agentId: string): Promise<AgentResponse[]>; getResponseStats(): Promise<{ total: number; successful: number; failed: number; partial: number; averageExecutionTime: number; }>; } export declare const submitTaskResponseTool: { name: string; description: string; inputSchema: { type: string; properties: { agentId: { type: string; description: string; }; taskId: { type: string; description: string; }; status: { type: string; enum: string[]; description: string; }; response: { type: string; description: string; }; completionDetails: { type: string; properties: { filesModified: { type: string; items: { type: string; }; description: string; }; testsPass: { type: string; description: string; }; buildSuccessful: { type: string; description: string; }; executionTime: { type: string; description: string; }; errorDetails: { type: string; description: string; }; partialProgress: { type: string; minimum: number; maximum: number; description: string; }; }; }; }; required: string[]; }; }; export declare function handleSubmitTaskResponse(args: Record<string, unknown>): Promise<CallToolResult>; export { AgentResponseProcessor }; //# sourceMappingURL=index.d.ts.map