Skip to content

v0.4.2: output caps and error recovery hints

Latest

Choose a tag to compare

@cyanheads cyanheads released this 09 Jul 21:53
v0.4.2
9e03040

output caps and error recovery hints

Result-shaping caps for high-cardinality VEP and homology output, plus recovery hints on every declared error.

Added:

  • ensembl_predict_variant: max_transcript_consequences (default 10), max_pubmed_ids_per_variant (default 10), include_all_colocated_pubmed; output gains transcriptConsequencesTotal/pubmedTotal (#15)
  • ensembl_get_homology: max_results (default 25); sentinel 0 uncaps either tool (#15)
  • ctx.recoveryFor(reason) now spread into all 24 declared ctx.fail call sites across 8 tool/resource files, surfacing data.recovery.hint (#16)

Changed:

  • Default output for ensembl_predict_variant/ensembl_get_homology is now capped with a composed omission notice; ensembl_get_homology's totalCount reports the true available count, not the returned page length (#15)

139 tests pass; bun run devcheck clean.

CHANGELOG v0.4.2