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

33 lines 972 B
/** * Cache Management Utility * * Centralized cache clearing to prevent NPX caching issues and * ensure users always get the latest version of Hive AI tools. */ export interface CacheClearOptions { npm?: boolean; npx?: boolean; hive?: boolean; verbose?: boolean; } /** * Clear all system caches that could cause version conflicts */ export declare function clearAllCaches(options?: CacheClearOptions): Promise<void>; /** * Clear only NPX cache (most critical for version issues) */ export declare function clearNPXCache(): Promise<boolean>; /** * Force fresh download of Hive AI package */ export declare function forceFreshHiveDownload(): Promise<void>; /** * Detect if we're running from cached NPX vs fresh install */ export declare function isRunningFromNPXCache(): boolean; /** * Get cache clearing command for users to run manually */ export declare function getCacheClearCommand(): string; //# sourceMappingURL=cache-manager.d.ts.map