MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / workBegins

Method workBegins

src/mcp/engine.ts:224–229  ·  view source on GitHub ↗

Call MCPEngineOptions.onWorkBegins the first time only.

()

Source from the content-addressed store, hash-verified

222
223 /** Call {@link MCPEngineOptions.onWorkBegins} the first time only. */
224 private workBegins(): void {
225 const begins = this.onWorkBegins;
226 if (!begins || this.closed) return;
227 this.onWorkBegins = null;
228 begins();
229 }
230
231 /**
232 * Walk up from `searchFrom` to find the nearest `.codegraph/` and open it.

Callers 3

noteToolCallMethod · 0.95
retryInitializeSyncMethod · 0.95
doInitializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected