From bfe18f0c838aeb0d6450e50a380381c27a913a8d Mon Sep 17 00:00:00 2001 From: Safi Date: Sat, 2 May 2026 16:50:33 +0100 Subject: [PATCH] fix: add context=import to JS/TS named-import edges (caught by PR #573 test) Co-Authored-By: Claude Sonnet 4.6 --- graphify/extract.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphify/extract.py b/graphify/extract.py index 94ddd200e..814318d8f 100644 --- a/graphify/extract.py +++ b/graphify/extract.py @@ -251,6 +251,7 @@ def _import_js(node, source: bytes, file_nid: str, stem: str, edges: list, str_p "source": file_nid, "target": _make_id(target_stem, sym), "relation": "imports", + "context": "import", "confidence": "EXTRACTED", "source_file": str_path, "source_location": f"L{line}",