AST and semantic extraction engine for graphify.
Implements a two-pass extraction pipeline ported from the Python extract.py:
- Pass 1 (deterministic): regex-based AST extraction of functions, classes, imports, and call relationships from source code.
- Pass 2 (semantic): Claude API–based extraction of higher-level concepts from documents, papers, and images.