vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
40 lines • 1.5 kB
TypeScript
import { RecognizedIntent } from '../../tools/vibe-task-manager/types/nl.js';
import { UnifiedCommandContext } from './unified-command-gateway.js';
import { OpenRouterConfig } from '../../types/workflow.js';
export interface ToolCandidate {
tool: string;
confidence: number;
reason?: string;
matchType: 'semantic' | 'pattern' | 'keyword' | 'fallback';
}
export interface IntentWithToolSelection {
intent: RecognizedIntent;
toolCandidates: ToolCandidate[];
}
export declare class UnifiedIntentRegistry {
private static instance;
private toolConfigs;
private intentPatterns;
private keywordMappings;
private initialized;
private constructor();
static getInstance(): UnifiedIntentRegistry;
initialize(): Promise<void>;
recognizeIntentWithToolSelection(input: string, context: UnifiedCommandContext, _config: OpenRouterConfig): Promise<IntentWithToolSelection | null>;
private performSemanticMatching;
private performPatternMatching;
private performKeywordMatching;
private applyContextAwareBoosting;
private rankAndDeduplicateCandidates;
private createRecognizedIntent;
private buildIntentPatterns;
private buildKeywordMappings;
private calculatePatternConfidence;
private isToolRelevantToWorkflow;
private mapToolToIntent;
private mapConfidenceLevel;
private mapMethodType;
private extractEntitiesForTool;
private getEntityTypeForTool;
}
//# sourceMappingURL=intent-registry.d.ts.map