pypi graphifyy 0.9.127
v0.9.127

57 minutes ago

A new set of terse file:line lookup commands (with agent instructions that route precise lookups to them), plus twenty-five community pull requests across extractor accuracy, incremental correctness, same-output performance, and robustness. The C++, bash, JavaScript, Python, Dart and Rust extractor changes alter extraction output, so the AST cache schema bumps (62 to 63) and those inputs re-extract on the first build after upgrading; everything else needs no rebuild.

Features

  • cli new terse lookup subcommands that return file:line answers in tens of tokens, a cheaper alternative to graphify query for precise structural lookups: graphify def/callers/callees/chain/importers/tests/outline. callers runs an rg cross-check and reports the call sites the graph has no edge for, so a lookup never silently under-reports. The install templates and skill now route precise lookups to these commands and keep query for broad "how does this feature span files" questions.

Extractor fixes

  • cpp a project-qualified type reference (ns::Clock::duration) binds only to a matching definition instead of over-binding onto an unrelated same-named symbol (#5776, thanks @ishyverma).
  • bash a source resolves through a variable a loaded file itself sets, last-load-wins and fail-closed on unknown bases (#5775, thanks @ishyverma).
  • javascript a require() outside a declarator (nested in an expression, an array, or returned) emits an import edge attributed to its enclosing callable (#5799, thanks @ishyverma).
  • python a call no longer fabricates an indirect_call to an unrelated same-named nested function when an enclosing-function variable shadows the name (#5798, thanks @ishyverma).
  • csharp extension calls on a static member (Category.Modifier.Probe()) resolve again (#5767, thanks @JensD-git).
  • extract a code-referenced stub never binds to a YAML mapping key (#5778, thanks @ishyverma).

Incremental correctness

  • build a carried-over external stub yields to the node a cold build resolves, so an incremental import does not stick to a stale stub after the file it names is added (#5768, thanks @0xkaushik-ai).
  • watch incremental widening re-extracts the right unchanged files when a Rust use item's module is added (#5751, thanks @ayushcodes10), a Python module or package joins or shadows a package (#5796, thanks @m3lonxd), and a co-indexed sourceless type stub must keep its salted id (#5800, thanks @0xkaushik-ai).

Performance (same output)

  • resolution JS/TS symbol facts fan out to a process pool (#5786, thanks @Max17190); Python cross-file uses resolve without a full tree walk (#5782, thanks @Max17190).
  • java package and import declarations are found with a tree-sitter query (#5784, thanks @Max17190).
  • watch per-source lookups in the incremental-partner scan are memoized (#5792, thanks @Max17190).
  • cache large raw-content hashes are streamed (#5755, thanks @sdivyanshu90).
  • affected base-class methods are indexed by label (#5756, thanks @sdivyanshu90).

Robustness

  • export null or empty _src/_tgt markers are ignored in to_canvas and to_html (#5789), and a hull toggle with --no-hulls, dense-graph auto-hide and alpha scaling are added (#5788). Thanks @Gaurav-meena95 and @m3lonxd.
  • analyze null or empty _src/_tgt markers are ignored in graph_diff (#5790, thanks @Gaurav-meena95).

Docs

Don't miss a new graphifyy release

NewReleases is sending notifications on new releases.