@ooples/token-optimizer-mcp
Version:
Intelligent context window optimization for Claude Code - store content externally via caching and compression, freeing up your context window for what matters
14 lines • 489 B
TypeScript
/**
* Centralized cache helper functions
* Provides consistent caching interface across all tools
*/
import { CacheEngine } from '../core/cache-engine.js';
/**
* Get cached content with automatic decompression
*/
export declare function cacheGet(cache: CacheEngine, key: string): string | null;
/**
* Set cached content with automatic compression
*/
export declare function cacheSet(cache: CacheEngine, key: string, content: string): void;
//# sourceMappingURL=cache-helper.d.ts.map