Skip to content

Releases: carrilloapps/docgraph

v1.0.4 — gitignore-negation index fix + lean MCP search

Choose a tag to compare

@carrilloapps carrilloapps released this 04 Jul 19:04

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 to minimatch as 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 .gitignore uses ! (very common) now
    index correctly. Affected all prior 1.0.x releases.

Changed (from 1.0.3)

  • MCP search/explore/get_related return 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 via get_document. findMatches caps 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

Choose a tag to compare

@carrilloapps carrilloapps released this 04 Jul 18:22

Fixed

  • MCP tool results now render in clients. tools/call responses were sent as raw
    objects (e.g. { projectPath, stats }) instead of MCP's required CallToolResult
    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 a content: [{ type: "text", text }]
    block, with the original object also attached as structuredContent. 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

Choose a tag to compare

@carrilloapps carrilloapps released this 04 Jul 17:17

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 mcp subcommand runs the MCP server through the main CLI, enabling the short launch
    npx -y @carrilloapps/docgraph mcp — no -p or long binary name. The dedicated docgraph-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 --flag for 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