vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
33 lines • 1.53 kB
TypeScript
import { RecognizedIntent } from '../../tools/vibe-task-manager/types/nl.js';
import { UnifiedCommandContext } from './unified-command-gateway.js';
import { ToolCandidate } from './intent-registry.js';
export interface ParameterExtractionResult {
parameters: Record<string, unknown>;
confidence: number;
source: 'context' | 'entities' | 'patterns' | 'inference' | 'defaults';
suggestions: string[];
missingRequired?: string[];
}
export declare class ContextAwareParameterExtractor {
private readonly toolSpecs;
extractParameters(intent: RecognizedIntent, input: string, context: UnifiedCommandContext, toolCandidates: ToolCandidate[]): Promise<Record<string, unknown>>;
mapToToolParameters(toolName: string, intent: RecognizedIntent, extractedParams: Record<string, unknown>, context: UnifiedCommandContext): Promise<Record<string, unknown>>;
private extractFromContext;
private extractFromEntities;
private extractFromPatterns;
private extractFromInference;
private combineExtractionResults;
private validateAndEnrichParameters;
private performBasicExtraction;
private mapEntityTypeToParameter;
private castParameterType;
private findAlternativeParameter;
private provideFallbackValue;
private addToolSpecificEnrichments;
private inferParameter;
private extractResearchPatterns;
private extractPRDPatterns;
private extractStarterKitPatterns;
private extractCodebasePatterns;
}
//# sourceMappingURL=context-aware-extraction.d.ts.map