v0.1.9: enrichment adoption on search_entities and sparql_query
enrichment adoption on search_entities and sparql_query
wikidata_search_entities and wikidata_sparql_query now surface query echoes,
result totals, and empty-result guidance in a typed enrichment block reaching
both structuredContent and content[].
Changed:
- wikidata_search_entities: effectiveQuery, searchType, language, resultCount,
and notice surface via ctx.enrich. no_results error contract removed — zero
results return normally with enrichment.notice instead of a JSON-RPC error.
structuredContent renames: output.query → enrichment.effectiveQuery,
output.type → enrichment.searchType, output.message → enrichment.notice. - wikidata_sparql_query: output.rowCount removed; row count now in
enrichment.totalCount; enrichment.notice added for empty-result guidance.
Dependency bumps:
- @cyanheads/mcp-ts-core ^0.9.13 → ^0.9.16
55 tests pass; bun run devcheck clean.