Skip to content

docs(npm): align README language and MCP tool counts with the root README - #1765

Merged
DeusData merged 1 commit into
mainfrom
docs/npm-readme-counts
Aug 20, 2026
Merged

docs(npm): align README language and MCP tool counts with the root README#1765
DeusData merged 1 commit into
mainfrom
docs/npm-readme-counts

Conversation

@DeusData

Copy link
Copy Markdown
Owner

Supersedes #967 (@ketpatil77) and #1268 (@nhtkylc91), each of which caught one half of this. Both credited via Co-authored-by.

pkg/npm/README.md claimed 159 languages / 14 MCP tools; the root README says 158 languages / 15 MCP tools. So the package README contradicted both the root README and, after a partial fix, itself.

  • 15 MCP tools is verifiable: the TOOLS[] table in src/mcp/mcp.c has exactly 15 entries (index_repository, search_graph, query_graph, trace_path, get_code_snippet, get_graph_schema, get_architecture, search_code, list_projects, delete_project, index_status, check_index_coverage, detect_changes, manage_adr, ingest_traces).
  • 158 languages is aligned, not re-derived: the root README states it consistently in five places, so this change makes the two agree rather than independently recounting.

Each stale figure appeared twice in the file (line 10 carries both), which is why neither original PR was complete on its own — and since they touch the same file, merging both would have required a rebase and still left line 10 wrong.

Worth flagging for a future docs pass

There are 159 grammar directories under internal/cbm/vendored/grammars/, which doesn't reconcile trivially with either figure — some languages share a grammar, and some CBM_LANG_* enums have no vendored grammar at all. If 158 is itself stale, that's a separate fix that should update the root README too; this PR deliberately doesn't touch it.

…ADME

pkg/npm/README.md claimed 159 languages and 14 MCP tools while the root
README says 158 languages and 15 MCP tools. The tool count is verifiably
wrong: the TOOLS[] table in src/mcp/mcp.c has 15 entries. The language
count is aligned to the root README, which states 158 consistently in
five places.

Each stale figure appeared twice; both occurrences of each are fixed, so
the package README no longer contradicts itself or the root README.

Distilled from two PRs that each caught one half: #967 by ketpatil77
(language count) and #1268 by nhtkylc91 (tool count). Neither fixed all
four occurrences, and both touched the same file, so they are combined
here with credit to both.

Note for whoever refreshes these next: 159 grammar directories exist
under internal/cbm/vendored/grammars/, which does not reconcile trivially
with either figure (some languages share a grammar; some enums have no
vendored grammar). This change deliberately does not re-derive the
number, only stops the two READMEs disagreeing.

Co-authored-by: ketpatil77 <ket.patil77@gmail.com>
Co-authored-by: nhtkylc91 <nhtkylc@hotmail.com>
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
@DeusData
DeusData enabled auto-merge August 20, 2026 13:34
@DeusData
DeusData merged commit 31819c9 into main Aug 20, 2026
61 of 63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant