v0.1.1: International trade data via UN Comtrade
International trade data via UN Comtrade
Initial public release. 9 tools and 2 resources covering the full UN Comtrade workflow — country and HS code lookup, bilateral trade flows, balance computation, partner/commodity rankings, services trade, and data availability checks.
Fixed:
- Reference data load crash — Comtrade reference files wrap their arrays in a results envelope that wasn't being unwrapped
- isGroup / isLeaf normalization — live API returns booleans; types accepted only string | number
- comtrade_get_top_commodities aggrLevel filter — preview endpoint returns null for aggrLevel; infer from cmdCode length
- Startup log drop — reference-data-loaded message was emitted before the logger initialized
75 tests pass; bun run devcheck clean.