Skip to content

v0.2.6: Enrichment adoption — typed enrichment block on search/browse tools

Choose a tag to compare

@cyanheads cyanheads released this 30 May 09:28
v0.2.6
d958e8e

Enrichment adoption — typed enrichment block on search/browse tools

Search and browse tools now surface query echoes, true result totals, and empty-result guidance in a typed enrichment block that reaches both structuredContent and the content[] markdown trailer automatically.

Changed:

  • libofcongress_search, libofcongress_search_newspapers, libofcongress_browse_collections, libofcongress_search_subjects — enrichment adoption: effectiveQuery, totalCount, and notice in a typed enrichment block (both channels).
  • structuredContent — the message key (previously in domain output) moved to enrichment.notice; value and presence semantics unchanged.
  • All four search/browse tools — removed the unreachable empty_results error contract (#21); empty results return success with enrichment.notice guidance.

Dependency bumps:

  • @cyanheads/mcp-ts-core ^0.9.13 → ^0.9.16

81 tests pass; bun run devcheck clean.