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

Method buildContext

src/index.ts:1901–1906  ·  view source on GitHub ↗

* Build context for a task * * Creates comprehensive context by: * 1. Running FTS search to find entry points * 2. Expanding the graph around entry points * 3. Extracting code blocks for key nodes * 4. Formatting output for Claude * * @param input - Task description (string o

(
    input: TaskInput,
    options?: BuildContextOptions
  )

Source from the content-addressed store, hash-verified

1899 * @returns TaskContext object or formatted string (markdown/JSON)
1900 */
1901 async buildContext(
1902 input: TaskInput,
1903 options?: BuildContextOptions
1904 ): Promise<TaskContext | string> {
1905 return this.contextBuilder.buildContext(input, options);
1906 }
1907
1908 // ===========================================================================
1909 // Database Management

Callers 3

context.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected