Skip to main content
Glama
MUSE-CODE-SPACE

Vibe Coding Documentation MCP (MUSE)

cache.d.ts1.13 kB
/** * Simple LRU Cache implementation for performance optimization */ export declare class LRUCache<K, V> { private cache; private maxSize; private ttl; constructor(options?: { maxSize?: number; ttl?: number; }); get(key: K): V | undefined; set(key: K, value: V): void; has(key: K): boolean; delete(key: K): boolean; clear(): void; get size(): number; } /** * Pre-compiled regex cache for pattern matching */ declare class RegexCache { private cache; get(pattern: string, flags?: string): RegExp; clear(): void; } export declare const regexCache: RegexCache; export declare const languageDetectionCache: LRUCache<string, string>; export declare const astAnalysisCache: LRUCache<string, unknown>; /** * Creates a hash for cache keys */ export declare function hashCode(str: string): string; /** * Memoization decorator for functions */ export declare function memoize<TArgs extends unknown[], TResult>(fn: (...args: TArgs) => TResult, keyFn?: (...args: TArgs) => string): (...args: TArgs) => TResult; export {}; //# sourceMappingURL=cache.d.ts.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MUSE-CODE-SPACE/vibe-coding-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server