import { CacheManager } from "./cache"; import { ChunkingManager } from "./chunking"; /** * Process-wide singletons shared across all providers and server tools. * * Mirrors python `server._cache_manager` and `server._chunking_manager` which are * module-level singletons in `server.py`. Continuation tokens stored by a provider's * `fetch_*_docs` tool MUST be retrievable by the `get_next_chunk` server tool, so all * providers and tools MUST use these shared instances. */ export const cacheManager = new CacheManager(); export const chunkingManager = new ChunkingManager();