v0.1.3
Bug Fixes
- E-commerce revenue metrics — the catalog shipped revenue metric ids without the required
<currency>token, so every e-commerce revenue query failed with "incorrectly specified metric" (4002). They now useym:s:ecommerce<currency>ConvertedRevenue(and the per-purchase/per-visit variants), verified against the live API.
Features
- Time-series date axis —
run_timeseriesnow returnstime_axis.dates, one calendar-aligned date per value (plusinterval_count), so you no longer reconstruct the axis with error-pronedate1 + indexmath. Labels are bucket starts matching how Metrica buckets/bytime(week = Monday; month/quarter/year = period start), correct even for a mid-period start date. - Actionable tool errors — errors now carry
structuredContent(status and error types) plus a recovery hint: re-authenticate on an expired/invalid token, back off when throttled, with distinct timeout and network messages. Request timeouts and network failures map to a typed, retryable error instead of an opaque one.
Improvements
- Pagination awareness — report responses warn when rows remain after the returned page (offset-aware, so the final page stays quiet) and expose
meta.total_rows_approximate. - Clearer comparisons —
run_comparisondocuments its delta convention (delta = B − A, segment A is the baseline) in the tool description and adelta_conventionfield. - Metadata guidance —
get_metadatanow flags the<currency>token for revenue metrics and recommends pullingym:s:robotPercentagewhen analyzing raw traffic.
Housekeeping
- Release notes now live in GitHub Releases; dropped
CHANGELOG.mdand the inert.dxtmanifest.json.
Full Changelog: v0.1.2...v0.1.3