MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getInstance

Method getInstance

src/core/config/ContextProxy.ts:613–622  ·  view source on GitHub ↗
(context: vscode.ExtensionContext)

Source from the content-addressed store, hash-verified

611 }
612
613 static async getInstance(context: vscode.ExtensionContext) {
614 if (this._instance) {
615 return this._instance
616 }
617
618 this._instance = new ContextProxy(context)
619 await this._instance.initialize()
620
621 return this._instance
622 }
623}

Callers 5

executeMethod · 0.45
getSystemPromptMethod · 0.45
generatePromptFunction · 0.45

Calls 1

initializeMethod · 0.65

Tested by

no test coverage detected