Skip to content

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

Latest

Choose a tag to compare

@carrilloapps carrilloapps released this 04 Jul 19:04
· 1 commit to main since this release

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