Changed
mapandgraphare merged into one MCP tool. Passpathfor a
structural outline orsymbolfor relationships (callers, callees,
importers, impact, path, explore) — never both.readandstatusare 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
ascgraph readandcgraph stats. MCP responses are no longer truncated
to a default token budget — every tool still accepts an explicitbudget
to cap output on request.
Removed
- The
docstool 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
docstool, andopenProject(...).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 madeindex/updatelook
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
imageskip reason (visible inupdate's "skipped by reason" and in
doctor) instead of being folded into the genericbinarycount. - Unparsed files are findable again.
findonly 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;mapalready 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), andgraphgives a specific error when a target
is an indexed file with no symbols rather than reporting it as unknown.
Install
npm install -g cgraphPublished to npm as cgraph@0.5.0 with build provenance.