vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
58 lines • 1.98 kB
TypeScript
import { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
export interface TaskAssignment {
id?: string;
taskId: string;
agentId: string;
sentinelPayload: string;
assignedAt: number;
priority: 'low' | 'normal' | 'high' | 'urgent';
estimatedDuration?: number;
deadline?: number;
metadata?: Record<string, unknown>;
}
declare class AgentTaskQueue {
private static instance;
private static isInitializing;
private queues;
private taskHistory;
private assignmentCounter;
private agentRegistryCache;
static getInstance(): AgentTaskQueue;
private static createSafeFallback;
private getAgentRegistry;
addTask(agentId: string, task: Omit<TaskAssignment, 'taskId' | 'assignedAt'>): Promise<string>;
private generateTaskId;
getTasks(agentId: string, maxTasks?: number): Promise<TaskAssignment[]>;
getQueueLength(agentId: string): Promise<number>;
getAllQueueLengths(): Promise<Record<string, number>>;
removeTask(taskId: string): Promise<boolean>;
getTask(taskId: string): Promise<TaskAssignment | undefined>;
private updateAgentTaskCount;
private sendSSETaskNotification;
findBestAgent(requiredCapabilities: string[]): Promise<string | null>;
clearAgentTasks(agentId: string): Promise<number>;
}
export declare const getAgentTasksTool: {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
agentId: {
type: string;
description: string;
};
maxTasks: {
type: string;
default: number;
minimum: number;
maximum: number;
description: string;
};
};
required: string[];
};
};
export declare function handleGetAgentTasks(args: Record<string, unknown>): Promise<CallToolResult>;
export { AgentTaskQueue };
//# sourceMappingURL=index.d.ts.map