@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and
49 lines (48 loc) • 1.41 kB
TypeScript
/**
* Interactive Setup Utilities for NeuroLink CLI
*
* Provides interactive configuration wizard with provider selection,
* credential collection, testing, and environment file management.
*/
import { AIProviderName } from "../../lib/core/types.js";
export interface ProviderConfig {
id: AIProviderName;
name: string;
description: string;
envVars: Array<{
key: string;
prompt: string;
secure?: boolean;
default?: string;
optional?: boolean;
}>;
}
export declare const PROVIDER_CONFIGS: ProviderConfig[];
export interface SetupResult {
selectedProviders: AIProviderName[];
credentials: Record<string, string>;
envFileBackup?: string;
testResults: Array<{
provider: AIProviderName;
status: "working" | "failed";
error?: string;
responseTime?: number;
}>;
}
/**
* Run the interactive setup wizard
*/
export declare function runInteractiveSetup(quiet?: boolean): Promise<SetupResult>;
/**
* Test provider connectivity using existing logic
*/
export declare function testProviderConnectivity(providers: AIProviderName[], quiet?: boolean): Promise<Array<{
provider: AIProviderName;
status: "working" | "failed";
error?: string;
responseTime?: number;
}>>;
/**
* Display setup summary
*/
export declare function displaySetupSummary(result: SetupResult, quiet?: boolean): void;