@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
29 lines • 871 B
TypeScript
/**
* Auto-Update System for Model Registry
* Handles daily background updates with intelligent timing and user feedback
*/
interface UpdateResult {
updated: boolean;
newModels: number;
newProviders: number;
timeTaken: number;
summary?: string;
}
export declare class AutoUpdater {
private readonly configDir;
private readonly statusFile;
private readonly registryFile;
private readonly userRegistryFile;
constructor();
private ensureConfigDir;
private getUpdateStatus;
private saveUpdateStatus;
private shouldCheckForUpdate;
private getCurrentRegistryStats;
checkForUpdatesAsync(): Promise<UpdateResult>;
performAutoUpdateIfNeeded(): Promise<UpdateResult | null>;
getLastUpdateInfo(): string;
}
export declare const autoUpdater: AutoUpdater;
export {};
//# sourceMappingURL=auto-updater.d.ts.map