MCPcopy Create free account
hub / github.com/buct2012dbl/Dorchestrator / constructor

Method constructor

coding-agent/src/context/cache.ts:14–17  ·  view source on GitHub ↗
(maxSize: number = 1000, maxAge: number = 300000)

Source from the content-addressed store, hash-verified

12 private maxAge: number;
13
14 constructor(maxSize: number = 1000, maxAge: number = 300000) {
15 this.maxSize = maxSize;
16 this.maxAge = maxAge;
17 }
18
19 set(key: string, data: T): void {
20 // Evict old entries if cache is full

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected