bc-code-intelligence-mcp
Version:
BC Code Intelligence MCP Server - Complete Specialist Bundle with AI-driven expert consultation, seamless handoffs, and context-preserving workflows
56 lines • 1.91 kB
TypeScript
/**
* Enhanced Prompt Service
*
* Enhances MCP prompts with specialist routing and intelligent guidance.
* Integrates specialist discovery with workflow prompts for better user experience.
*/
import { SpecialistDiscoveryService } from './specialist-discovery.js';
import { SpecialistSessionManager } from './specialist-session-manager.js';
import { WorkflowService } from './workflow-service.js';
export interface EnhancedPromptOptions {
includeSpecialistSuggestions?: boolean;
maxSpecialistSuggestions?: number;
includeWorkflowGuidance?: boolean;
includeExamples?: boolean;
}
export interface EnhancedPromptResult {
originalContent: string;
specialistSuggestions?: SpecialistSuggestion[];
enhancedContent: string;
routingOptions: string[];
}
interface SpecialistSuggestion {
specialist_id: string;
title: string;
confidence: number;
reason: string;
example_query: string;
}
export declare class EnhancedPromptService {
private discoveryService;
private sessionManager;
private workflowService;
constructor(discoveryService: SpecialistDiscoveryService, sessionManager: SpecialistSessionManager, workflowService: WorkflowService);
/**
* Enhance a workflow prompt with specialist routing
*/
enhanceWorkflowPrompt(workflowType: string, userContext: string, originalGuidance: string, options?: EnhancedPromptOptions): Promise<EnhancedPromptResult>;
/**
* Build specialist routing section for prompts
*/
private buildSpecialistRoutingSection;
/**
* Generate example query for specialist in workflow context
*/
private generateExampleQuery;
/**
* Extract domain from workflow type
*/
private extractDomainFromWorkflow;
/**
* Get workflow context description
*/
private getWorkflowContext;
}
export {};
//# sourceMappingURL=enhanced-prompt-service.d.ts.map