UNPKG

@hivetechs/hive-ai

Version:

Real-time streaming AI consensus platform with HTTP+SSE MCP integration for Claude Code, VS Code, Cursor, and Windsurf - powered by OpenRouter's unified API

59 lines 2.34 kB
/** * OpenRouter-Exclusive Provider Configuration * * Simplified configuration system that only supports OpenRouter. * No more managing 55+ provider integrations - OpenRouter handles everything. * * Architecture Decision (June 2025): * After extensive research, we've determined that maintaining individual * provider integrations is unsustainable and unnecessary when OpenRouter * provides unified access to all providers through one API. */ import { z } from "zod"; import { isOpenRouterConfigured } from './provider-client.js'; export interface OpenRouterConfig { api_key: string; configured_at: string; } /** * Configure OpenRouter - the ONLY provider we support */ declare function configureOpenRouter(api_key: string): Promise<OpenRouterConfig>; /** * Test OpenRouter connectivity with a simple request */ declare function testOpenRouter(): Promise<{ success: boolean; message: string; }>; export declare const configureProviderToolName = "configure_provider"; export declare const configureProviderToolDescription = "Configure OpenRouter API key for unified access to 300+ AI models"; export declare const listProvidersToolName = "list_providers"; export declare const listProvidersToolDescription = "Show OpenRouter configuration and available models"; export declare const testProvidersToolName = "test_providers"; export declare const testProvidersToolDescription = "Test OpenRouter connectivity"; export declare const ConfigureProviderToolSchema: z.ZodObject<{ command: z.ZodString; }, "strip", z.ZodTypeAny, { command: string; }, { command: string; }>; export declare const ListProvidersToolSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const TestProvidersToolSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare function runConfigureProviderTool(args: z.infer<typeof ConfigureProviderToolSchema>): Promise<{ result: string; }>; export declare function runListProvidersTool(): Promise<{ result: string; }>; export declare function runTestProvidersTool(): Promise<{ result: string; }>; export declare const providerUtils: { configureOpenRouter: typeof configureOpenRouter; testOpenRouter: typeof testOpenRouter; isConfigured: typeof isOpenRouterConfigured; }; export {}; //# sourceMappingURL=provider-config.d.ts.map