MCPcopy Create free account
hub / github.com/WJX20/claude-code / constructor

Method constructor

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

createAbortControllerFunction · 0.85

Tested by

no test coverage detected