mirror of
https://github.com/aljazceru/mcp-code.git
synced 2025-12-17 04:35:19 +01:00
7 lines
250 B
TypeScript
7 lines
250 B
TypeScript
import type { CodeSnippet } from "../types/index.js";
|
|
|
|
/**
|
|
* In-memory cache to store snippets by ID for efficient retrieval
|
|
* Used by list_snippets and fetch_snippet_by_id commands
|
|
*/
|
|
export const snippetsCache: Record<string, CodeSnippet> = {};
|