Skip to content

v0.2.4: met_search_collections pagination, validation, and fail-fast timeout

Choose a tag to compare

@cyanheads cyanheads released this 17 Jul 01:32
v0.2.4
a5b46f7

met_search_collections pagination, validation, and fail-fast timeout

Offset paging and departmentId validation land alongside two bug fixes for the same tool.

Added:

  • offset pagination — nextOffset/remaining outputs; each page re-runs the upstream search and slices locally (#9)
  • departmentId validation — unrecognized IDs throw invalid_department, pointing to met_list_departments (#7)

Fixed:

  • invalid_date_range now carries the recovery hint on both throw sites (#6)
  • Broad met_search_collections queries fail fast with search_timeout (~10s) instead of retrying a deterministic timeout to exhaustion (~48s) (#11)

34 tests pass; bun run devcheck clean.

CHANGELOG v0.2.4