Skip to content

v0.1.1: Null-parameters crash fix, hosted endpoint

Choose a tag to compare

@cyanheads cyanheads released this 15 Jun 17:50
· 4 commits to main since this release
v0.1.1
0e8e358

Null-parameters crash fix, hosted endpoint

openaq_list_countries threw when the /v3/countries API returned a country with null parameters. Guard applied at the handler mapping site. Hosted endpoint published at openaq.caseyjhand.com/mcp.

Fixed:

  • openaq_list_countries: (c.parameters ?? []).map(...) at the handler site; OpenAqCountry.parameters typed OpenAqParameterRef[] | null (#1)

Added:

Changed:

  • vitest ^4.1.8 → ^4.1.9

66 tests pass; bun run devcheck clean.