Skip to content

v2.7.8: ctx.enrich enrichmentTrailer for result-set context parity

Choose a tag to compare

@cyanheads cyanheads released this 30 May 04:04
· 27 commits to main since this release
v2.7.8
e9801d7

ctx.enrich enrichmentTrailer for result-set context parity

Result-set context (effective query, totals, applied filters, empty-result
notices) relocated to ctx.enrich across pubmed_search_articles,
pubmed_europepmc_search, pubmed_find_related, and pubmed_lookup_mesh.
Both structuredContent and content[] trailer now carry the same context.

Changed:

  • Result-set context relocated to ctx.enrich — effective query, match totals, applied filters, queried sources, and empty-result recovery notices now reach both structuredContent and content[] trailer
  • enrichmentTrailer render/label: appliedFilters/appliedSources render as markdown bullets; scalar fields use Title-Case labels; structuredContent always keeps raw structured value
  • format script split: format runs safe Biome autofixes only; format:unsafe adds --unsafe; AGENTS.md added to package.json files[]

Dependency bumps:

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

Fixed:

  • server-config test: escaped MCPB placeholder literals avoid Biome noTemplateCurlyInString

624 tests pass; bun run devcheck clean.