UNPKG

@kya-os/mcp-i

Version:

COMING SOON:Production-ready MCP Identity with automatic registration, key rotation, and optimized performance

37 lines (36 loc) 1.09 kB
export interface ClientInfo { sdkVersion: string; language: string; platform: string; runtime?: { name: string; version?: string; environment?: string; }; processingMode?: 'sync' | 'async'; metadata?: Record<string, any>; } export interface PlatformInfo { platform: string; runtime: string; version?: string; environment?: string; capabilities: { fileSystem: boolean; asyncRuntime: boolean; persistentStorage: boolean; longRunning: boolean; }; } export declare function detectPlatform(): PlatformInfo; export declare function generateClientInfo(options?: { processingMode?: 'sync' | 'async'; customMetadata?: Record<string, any>; }): ClientInfo; export declare function getPlatformRecommendations(platformInfo?: PlatformInfo): { storage: "file" | "memory" | "auto"; transport: "fetch" | "axios" | "auto"; processingMode: "sync" | "async"; logLevel: "debug" | "info" | "warn" | "error" | "silent"; }; export declare function getCachedPlatformInfo(): PlatformInfo;