v0.1.17: Animal/veterinary and tobacco endpoints; typed errors[] with recovery hints; 401/403 service mapping
Animal/veterinary and tobacco endpoints; typed errors[] with recovery hints; 401/403 service mapping
Three enhancements shipped together — new domain coverage, better error contracts, and cleaner auth-failure handling.
Added:
openfda_search_animal_eventstool —animalandveterinary/eventendpoint, 1.3M+ records (#2)openfda_search_tobacco_reportstool —tobacco/problemendpoint (#2)tobacco/problemadded toopenfda_countendpoint list (#2)- Typed
errors[]contracts on all 8 tools:rate_limited,upstream_error,query_error,pagination_limit_reached— recovery hints surfaced incontent[]viactx.recoveryFor()(#5)
Fixed:
- HTTP 401 →
McpError(Unauthorized), non-retryable,data.reason: 'unauthorized'(#6) - HTTP 403 →
McpError(Forbidden), non-retryable,data.reason: 'forbidden'(#6)
269 tests pass; bun run devcheck clean.