Skip to content

grove v0.1.7

Choose a tag to compare

@devasur devasur released this 23 Jun 11:03
7a6c94c

What's new

Lines/columns are now 1-based across the whole surface (fixes #31)

The headline fix. Previously grove reported raw 0-based tree-sitter rows in
symbol-ids, outline, map, definition --at, and callers — so every citation
was one line low vs the grep -n / editor convention. v0.1.7 normalizes to
1-based everywhere (CLI, MCP, symbol-ids), so a grove-sourced file:line:col
round-trips straight into --at and matches what you see in your editor.

  • Symbol-ids are now <lang>:<relpath>#<name>@<line> (1-based).
  • grove definition --at <file:line:col> takes 1-based input.

callers now returns real coverage (fixes #33)

  • Includes all reference kinds (not just call) — type references,
    implementation references, etc. — so heavily-used class/type names return
    results instead of [].
  • Textual fallback: a whole-word grep pass finds references the tags query
    misses (type annotations, imports, dynamic dispatch), each tagged with
    provenance — structural (tree-sitter, high precision) or textual (grep,
    high recall).
  • CLI output now leads with path:line:col and marks each site [S]/[T].

Generated declaration files are skipped (fixes #32)

symbols / definition / callers now skip generated .d.ts / .d.cts /
.d.mts declaration files during directory walks, so they answer from real
source instead of machine-generated decls.

Note on v0.1.6

The v0.1.6 release notes and CHANGELOG listed #32 and #33, but those fixes were
not in the v0.1.6 tag's code (git merge-base --is-ancestor confirms; the
released v0.1.6 binary fails the generated-decls and callers-recall probes).
They ship here in v0.1.7, alongside #31. map (from #34, in v0.1.6) now also
reports 1-based lines.

Verification (Tier-1, agent-free, zero-token)

probe v0.1.6 v0.1.7
line-accuracy (#31) 0/9 9/9
generated-decls (#32) 0/2 2/2
callers-recall (#33) 1/3 3/3 (spring-boot 886, django 261, hugo 504)
map-graph (#34) 2/2 2/2

cargo test: 100 unit + 13 CLI pass, 0 warnings.

What's Changed

  • fix(engine): surface 1-based lines/cols, not raw tree-sitter rows (#31)
  • fix(ops): skip generated .d.ts declaration files in directory walks (#32)
  • fix(ops): broaden callers to all reference kinds + textual fallback (#33)
  • release: v0.1.7

Full Changelog: v0.1.6...v0.1.7