Skip to content

v0.1.13: Fix field references and surface enrichment failure reason

Choose a tag to compare

@cyanheads cyanheads released this 04 Jun 09:04
v0.1.13
f6935f7

Fix field references and surface enrichment failure reason

biorxiv_get_published_version description referenced a non-existent field ('published')
instead of the normalized output field ('publishedJournalDoi'); recovery hint told agents
to look for 'NA' that normalization already strips. biorxiv_search_preprints now exposes
enrichment_error ('service_error' | 'not_found') so agents can decide whether to retry or
accept the EuropePMC fallback as authoritative.

Fixed:

  • biorxiv_get_published_version description and doi_not_found recovery hint corrected (#23)
  • biorxiv_search_preprints enriched=false cases now distinguishable via enrichment_error (#21)

Added:

  • enrichment_error field on biorxiv_search_preprints output (#21)
  • format() renders human-readable failure reason per result (#21)
  • 6 new tests for enrichment_error values and format rendering

144 tests pass; bun run devcheck clean.