codegraph
codegraph copied to clipboard
Preserve selected source bodies in codegraph output
Summary
- Return the selected symbol body from
codegraph_node includeCode=truefor container symbols instead of replacing classes/interfaces with member outlines - Trim long context code blocks from the middle so both the opening context and tail lines remain visible
- Add regression coverage for container bodies and long code blocks with important tail content
Testing
npx vitest run __tests__/context.test.ts __tests__/symbol-lookup.test.tsnpm run buildgit diff --check