What's Changed
Telemetry cost reduction (#2977)
- TelemetryBuffer rollup windows — high-volume
session_compressedandcontext_injectedevents are now aggregated into 5-minute rollup windows (observer_turn_rollup,context_injected_rollup) before forwarding to PostHog, replacing ~45M individual events/month with ~20K rollup records. Cuts the projected PostHog bill from ~$7,700/mo to ~$10/mo without losing aggregate shape (counts, sums, averages, top model, per-outcome buckets). - Outcome visibility in
context_injected_rollup— addedoutcomes_ok/outcomes_errorbuckets so a window of 100% failed injections is distinguishable from one of zero-token successes.
CI
- Windows build pinned to
windows-2022— thewindows-latestimage moved towindows-2025(Visual Studio 18), which the bundlednode-gyp@11.5.0can't detect, breaking nativetree-sitterrebuilds. Pinned towindows-2022(VS2022) until node-gyp gains VS18 support.
Full Changelog: v13.6.1...v13.6.2