MCPcopy Index your code
hub / github.com/codeaashu/claude-code / initialize

Method initialize

web/lib/api/files.ts:85–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 private initialize(): Promise<void> {
86 if (!this.initPromise) {
87 this.initPromise = this.doInitialize().catch((err) => {
88 this.initPromise = null;
89 throw err;
90 });
91 }
92 return this.initPromise;
93 }
94
95 /** Parse an SSE-streamed MCP response and return the first result text. */
96 private async parseSseResponse(res: Response): Promise<string> {

Callers 1

callToolMethod · 0.95

Calls 1

doInitializeMethod · 0.95

Tested by

no test coverage detected