/** * MCP Router Types * Lightweight hierarchical router for 98%+ token reduction */ export interface McpServerConfig { command?: string; args?: string[]; env?: Record; url?: string; transport?: 'stdio' | 'http' | 'sse'; disabled?: boolean; } export interface McpConfig { mcpServers: Record; } export interface ToolDefinition { name: string; description: string; inputSchema: { type: 'object'; properties: Record; required?: string[]; }; serverName: string; serverConfig: McpServerConfig; } export interface ToolSearchResult { path: string; name: string; description: string; server: string; score: number; } export interface DiscoverToolsArgs { query: string; limit?: number; server?: string; } export interface ExecuteToolArgs { path: string; args?: Record; intent?: string; } export interface OutputCompressionStats { originalBytes: number; compressedBytes: number; savings: string; method: 'passthrough' | 'truncated' | 'indexed'; } export interface ToolRegistry { tools: Map; servers: Map; searchIndex: unknown; } export interface RouterStats { totalServers: number; totalTools: number; traditionalTokens: number; routerTokens: number; savings: string; } //# sourceMappingURL=types.d.ts.map