@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
150 lines • 3.84 kB
TypeScript
/**
* OpenRouter-Exclusive Guided Setup Wizard
*
* Simplified setup focusing on:
* 1. OpenRouter API key configuration
* 2. Model selection for 4-stage consensus pipeline
* 3. Profile creation
*
* No more complex provider management - OpenRouter handles everything.
*/
import { z } from "zod";
export declare class OpenRouterSetupWizard {
private rl;
initializeReadline(): void;
private prompt;
/**
* Main setup wizard flow
*/
runSetup(isFirstTimeUser?: boolean): Promise<void>;
/**
* First-time user flow - guided setup experience
*/
private firstTimeUserFlow;
/**
* Main menu with optional configuration
*/
showMainMenu(): Promise<void>;
/**
* Check if user wants to continue with setup
*/
private shouldContinueSetup;
/**
* Display current profiles in a nice format
*/
private displayProfiles;
/**
* Create new profile flow - guided model selection
*/
private createNewProfileFlow;
/**
* Get available templates that haven't been implemented yet
*/
private getAvailableTemplates;
/**
* Add all expert templates at once
*/
private addAllExpertTemplates;
/**
* Set a profile as default by name
*/
private setProfileAsDefault;
/**
* Expert templates flow
*/
private expertTemplatesFlow;
/**
* Custom model selection flow
*/
private customModelSelectionFlow;
/**
* Browse all models flow - explore models without creating a profile
*/
private browseAllModelsFlow;
/**
* View profiles flow
*/
private viewProfilesFlow;
/**
* Set default profile flow
*/
private setDefaultProfileFlow;
/**
* Delete profile flow with number selection
*/
private deleteProfileFlow;
/**
* Configuration flow for keys
*/
private configurationFlow;
/**
* Check for outdated profiles that need cleanup
*/
private checkForOutdatedProfiles;
/**
* Cleanup outdated profiles
*/
private cleanupOutdatedProfiles;
/**
* Ensure prerequisites (license and OpenRouter) are configured
*/
private ensurePrerequisites;
/**
* Implement expert template
*/
private implementExpertTemplate;
/**
* Setup Hive.AI License
*/
private setupLicense;
/**
* Setup OpenRouter API key
*/
private setupOpenRouter;
/**
* Ensure we have fresh model data from OpenRouter
*/
private ensureModelData;
/**
* Select models for each stage of the pipeline
*/
private selectModelsForPipeline;
/**
* Select a model for a specific stage
*/
private selectModelForStage;
/**
* Browse all available models
*/
private browseAllModels;
/**
* Select from models of a specific provider with pagination and search
*/
private selectFromProviderModels;
/**
* Create a pipeline profile
*/
private createProfile;
/**
* Show completion summary
*/
private showCompletionSummary;
/**
* Ask user if they want to create additional profiles
*/
private promptForNextAction;
close(): void;
}
export declare const GuidedSetupToolSchema: z.ZodObject<{
interactive: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
interactive: boolean;
}, {
interactive?: boolean | undefined;
}>;
export declare function runGuidedSetupTool(args: z.infer<typeof GuidedSetupToolSchema>): Promise<{
result: string;
}>;
export declare const guidedSetupToolName = "guided_setup_wizard";
export declare const guidedSetupToolDescription = "Interactive setup wizard for OpenRouter and 4-stage consensus pipeline";
//# sourceMappingURL=guided-setup-wizard.d.ts.map