MCPcopy
hub / github.com/codeaashu/claude-code / constructor

Method constructor

src/QueryEngine.ts:200–207  ·  view source on GitHub ↗
(config: QueryEngineConfig)

Source from the content-addressed store, hash-verified

198 private loadedNestedMemoryPaths = new Set<string>()
199
200 constructor(config: QueryEngineConfig) {
201 this.config = config
202 this.mutableMessages = config.initialMessages ?? []
203 this.abortController = config.abortController ?? createAbortController()
204 this.permissionDenials = []
205 this.readFileState = config.readFileCache
206 this.totalUsage = EMPTY_USAGE
207 }
208
209 async *submitMessage(
210 prompt: string | ContentBlockParam[],

Callers

nothing calls this directly

Calls 1

createAbortControllerFunction · 0.85

Tested by

no test coverage detected