@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
36 lines • 1.01 kB
TypeScript
/**
* Database Diagnostics and Repair Tool
* Helps troubleshoot profile saving issues across different environments
*/
export interface DiagnosticResult {
issue: string;
severity: 'critical' | 'warning' | 'info';
description: string;
fix?: string;
}
export interface DatabaseDiagnostics {
databaseExists: boolean;
tablesExist: {
pipeline_profiles: boolean;
openrouter_models: boolean;
sync_metadata: boolean;
};
modelCount: number;
profileCount: number;
schemaVersion: string | null;
issues: DiagnosticResult[];
canCreateProfiles: boolean;
}
/**
* Run comprehensive database diagnostics
*/
export declare function runDatabaseDiagnostics(): Promise<DatabaseDiagnostics>;
/**
* Repair database issues automatically
*/
export declare function repairDatabase(): Promise<void>;
/**
* Reset database completely (nuclear option)
*/
export declare function resetDatabase(): Promise<void>;
//# sourceMappingURL=database-diagnostics.d.ts.map