Three feature requests from the dogfooding agent (against a real TS / NestJS / Prisma monorepo) — all shipped. 13 tools now.
Added
references— the inverse offind: who uses a symbol (call sites, imports, type references), with the definition labelled. tree-sitter-backed, so a same-named string or comment is never a false positive — the reference workflow that used to force a fallback to grep.- Prisma schema lens —
overview/find/mapnow coverschema.prisma: models, enums, composite types, fields, and relations (each field classified scalar / relation / enum).mapgains aschemassection.
Changed
findlocates non-callable symbols —const/let/var,typealiases,interfaces,enums, not just functions/classes. A codebase's source-of-truth often lives inexport const …; now findable, withkindto distinguish.- JSON files get an honest "not structurally mapped — read it or grep for a key" note.
Fixed
- Reference classification compared node object identity (
===), which silently fails under web-tree-sitter (nodes are recreated per access) — now comparesnode.id. Caught while live-testing; every reference was mislabelled otherwise.
143 tests. Full changelog: v0.1.1...v0.1.2