Commit graph

4 commits

Author SHA1 Message Date
Gergo Magyar
353c30d33f fix(review): keep notebook snippets parseable and File nodes honest
Parse Python snippets whose path is still .ipynb, treat the extract cache as an LRU, and stop expecting skipped notebooks to lack File nodes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 18:24:36 +00:00
Gergo Magyar
5535df854d fix(review): keep notebook JSON coordinates and extract once
Review findings: last-wins cells arrays, source-string line anchors, skip cells without source, reuse worker extraction for scope captures, and fail closed in embeddings.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 16:31:16 +00:00
Gergo Magyar
020bf6e4dc fix(review): keep notebook graph lines aligned with JSON
Join cells so tree-sitter rows match segment maps, remap CFG and
scope captures from 1-based extract lines, and highlight .ipynb as JSON.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 15:27:50 +00:00
Gergo Magyar
d2acefe016 feat: index Jupyter notebooks as Python via code-cell extraction
Extract .ipynb code cells in-process (Vue-style) and parse them with the
existing Python provider so notebook functions and imports join the graph
without executing kernels. Fixes #3371.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 14:49:09 +00:00