Skip to content

v0.2.0: Flatten uniprot_get_entry output (breaking)

Choose a tag to compare

@cyanheads cyanheads released this 28 Jun 05:04
· 7 commits to main since this release
v0.2.0
7c92c82

Flatten uniprot_get_entry output (breaking)

Breaking relative to 0.1.1: uniprot_get_entry no longer wraps its output in a result key — read structuredContent.succeeded[]/failed[]/sections[] directly.

Changed:

  • uniprot_get_entry output flattened (breaking)result wrapper and discriminated union removed; output is a flat object with top-level kind ("full" | "outline") plus optional succeeded[]/failed[]/sections[]. Outline re-call guidance moves to enrichment.notice. (#2)

Fixed:

  • uniprot_get_sequence isoformsinclude_isoforms now routes through the search endpoint, which honors includeIsoform; the per-accession .fasta endpoint silently ignored the flag and returned only the canonical record. (#1)
  • uniprot_search_proteins custom fields — mandatory identity/provenance columns (MANDATORY_SEARCH_FIELDS) merged into every search request so a trimmed projection can no longer crash output validation on the missing entryName. (#3)

105 tests pass; bun run devcheck clean.