UNPKG

bc-code-intelligence-mcp

Version:

BC Code Intelligence MCP Server - Complete Specialist Bundle with AI-driven expert consultation, seamless handoffs, and context-preserving workflows

37 lines 1.46 kB
/** * Specialist Handoff MCP Tools * * Tools for seamless transitions between specialists while preserving context, * conversation history, and ensuring natural collaboration flow. */ import { Tool, CallToolRequest, CallToolResult } from '@modelcontextprotocol/sdk/types.js'; import { SpecialistSessionManager } from '../services/specialist-session-manager.js'; import { SpecialistDiscoveryService } from '../services/specialist-discovery.js'; import { MultiContentLayerService } from '../services/multi-content-layer-service.js'; export type HandoffType = 'transfer' | 'consultation' | 'collaboration' | 'escalation'; /** * Handoff tool definitions for MCP registration */ export declare const HANDOFF_TOOLS: Tool[]; /** * Specialist Handoff Tools Class * Handles handoff-related tool calls and maintains handoff context */ export declare class SpecialistHandoffTools { private sessionManager; private discoveryService; private layerService; constructor(sessionManager: SpecialistSessionManager, discoveryService: SpecialistDiscoveryService, layerService: MultiContentLayerService); /** * Get tool definitions for MCP registration */ getToolDefinitions(): Tool[]; /** * Handle tool calls */ handleToolCall(request: CallToolRequest): Promise<CallToolResult>; private handoffToSpecialist; private bringInSpecialist; private getHandoffSummary; } //# sourceMappingURL=handoff-tools.d.ts.map