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

92 lines 2.78 kB
/** * Expert CLI Commands - Advanced features for power users * * Provides expert-level commands for pipeline debugging, performance analysis, * monitoring, and system optimization. */ export interface ExpertCommandResult { success: boolean; data?: any; message?: string; error?: string; metadata?: Record<string, any>; } export declare class ExpertCLICommands { /** * PIPELINE DEBUGGING AND ANALYSIS */ /** * Deep pipeline analysis for a conversation */ debugConversation(conversationId: string, options?: { verbose?: boolean; includeMetrics?: boolean; includeTraces?: boolean; }): Promise<ExpertCommandResult>; /** * Profile pipeline performance */ profilePipeline(profileName?: string, options?: { duration?: string; includeComparison?: boolean; realTime?: boolean; }): Promise<ExpertCommandResult>; /** * Analyze performance bottlenecks */ analyzeBottlenecks(timeframe?: string): Promise<ExpertCommandResult>; /** * MONITORING AND ALERTING */ /** * Configure advanced alerts */ configureAlerts(action: 'list' | 'add' | 'update' | 'remove' | 'test', params?: any): Promise<ExpertCommandResult>; /** * Monitor system health and alerts */ monitorDashboard(options?: { live?: boolean; duration?: number; format?: 'json' | 'table' | 'summary'; }): Promise<ExpertCommandResult>; /** * PERFORMANCE ANALYSIS */ /** * Compare performance across time periods */ comparePerformance(baseline: string, current: string, focus?: 'performance' | 'cost' | 'quality'): Promise<ExpertCommandResult>; /** * Get optimization recommendations */ getOptimizationRecommendations(focus?: 'performance' | 'cost' | 'quality'): Promise<ExpertCommandResult>; /** * EXPORT AND REPORTING */ /** * Export metrics for external monitoring tools */ exportMetrics(format?: 'json' | 'csv' | 'prometheus', options?: { timeframe?: string; components?: string[]; }): Promise<ExpertCommandResult>; /** * Helper methods */ private generateConversationInsights; private calculatePerformanceImprovement; private generateBottleneckRecommendations; private generateDashboardRecommendations; private generateComparisonRecommendations; private generateFocusInsights; private generateImplementationPlan; private formatAlertsAsCSV; private startRealTimeProfiler; private startLiveMonitoring; } /** * Global expert CLI commands instance */ export declare const expertCLI: ExpertCLICommands; //# sourceMappingURL=expert-cli-commands.d.ts.map