Releases: carrilloapps/docgraph
Releases · carrilloapps/docgraph
Release list
v1.0.4 — gitignore-negation index fix + lean MCP search
Fixed (critical)
- Gitignore negation rules no longer wipe the whole index. A
.gitignore
re-include rule (a line starting with!, e.g.!.vscode/settings.json) was
passed verbatim tominimatchas an exclude pattern; a leading!makes
minimatch match everything except the pattern, so the entire project was
excluded and zero documents were indexed. Negations are now skipped and a
leading/is normalized. Repos whose.gitignoreuses!(very common) now
index correctly. Affected all prior 1.0.x releases.
Changed (from 1.0.3)
- MCP
search/explore/get_relatedreturn lean, excerpt-based results
({ id, path, title, language, extension, score, snippets }+count) instead
of full document bodies — a few hits no longer balloon to 100k+ characters.
Full text is fetched on demand viaget_document.findMatchescaps at 6
excerpts per document.
📦 npm: https://www.npmjs.com/package/@carrilloapps/docgraph
npm install --save-dev @carrilloapps/docgraph
v1.0.2 — MCP tool output renders in clients
Fixed
- MCP tool results now render in clients.
tools/callresponses were sent as raw
objects (e.g.{ projectPath, stats }) instead of MCP's requiredCallToolResult
shape, so Claude Code and other MCP clients showed empty output for every tool
(search,explore,get_stats,list_documents, …) even though the data was
computed correctly. Results are now wrapped in acontent: [{ type: "text", text }]
block, with the original object also attached asstructuredContent. Protocol
responses (initialize,tools/list,resources/*) are unchanged.
📦 npm: https://www.npmjs.com/package/@carrilloapps/docgraph
npm install --save-dev @carrilloapps/docgraph
v1.0.1 — short command & binary aliases
Short command forms alongside the long ones, plus a hardening fix.
Added
- Short binary aliases:
dg(docgraph),dg-mcp(docgraph-mcp),dg-install(docgraph-install). docgraph mcpsubcommand runs the MCP server through the main CLI, enabling the short launch
npx -y @carrilloapps/docgraph mcp— no-por long binary name. The dedicateddocgraph-mcp
binary still works identically.- Subcommand aliases:
i(index),ri(reindex),w(watch),s/q(search),ls(list),
st(stats),stj(stats-json),src(sources),cfg(settings),prov(providers),
ex(exclude),imp(import),exp(export).
Fixed
- The MCP server no longer mistakes a leading
--flagfor the project path when arguments are
forwarded (e.g.docgraph mcp --read-only), which also prevents stray flag-named directories.
📦 npm: https://www.npmjs.com/package/@carrilloapps/docgraph
npm install --save-dev @carrilloapps/docgraph