Skip to content

v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Aug 05:58
9113a21

Changed

  • map and graph are merged into one MCP tool. Pass path for a
    structural outline or symbol for relationships (callers, callees,
    importers, impact, path, explore) — never both. read and status are no
    longer separate MCP tools (an agent's own file reader and the automatic
    per-call refresh already cover them); both remain available from the shell
    as cgraph read and cgraph stats. MCP responses are no longer truncated
    to a default token budget — every tool still accepts an explicit budget
    to cap output on request.

Removed

  • The docs tool and dependency-doc extraction (src/deps/). Reading
    node_modules/site-packages/NuGet/Maven and fetching registry artifacts to
    build a usage-ranked API reference was a large, separately-maintained
    subsystem better served by a dedicated docs MCP server (e.g.
    Context7). cgraph docs, the MCP
    docs tool, and openProject(...).dependencies() are gone; map/graph
    still show external call edges from the existing import graph.

Added

  • Images are recognized by extension and never read. .png, .ico,
    .jpg, and similar formats used to be read fully into memory and hashed
    before the binary sniff threw them away, which made index/update look
    stuck on large icon sets or design assets for no reason. They now take the
    same stat-only fast path as oversized files, tagged with a distinct
    image skip reason (visible in update's "skipped by reason" and in
    doctor) instead of being folded into the generic binary count.
  • Unparsed files are findable again. find only ever searched symbols,
    so a file with none — an image, a binary, anything skipped as too-large,
    minified, or generated — was invisible to it even though the index knew it
    existed; map already listed such files but didn't say why they weren't
    parsed. find <name> now also matches on the path of unparsed files, map
    annotates each with its skip reason (e.g. (image), (too-large)) instead
    of a bare (not parsed), and graph gives a specific error when a target
    is an indexed file with no symbols rather than reporting it as unknown.

Install

npm install -g cgraph

Published to npm as cgraph@0.5.0 with build provenance.