3 Commits

Author SHA1 Message Date
461773c677 fix(usage): resolve Z.ai window assignment using limit IDs
Z.ai assigns both token and request limits the same generic "quota"
window ID, so findWindowLimits fell through to array-order fallback.
This caused the two bars to swap depending on API response order.

Add limit-ID-based matching (zai:tokens → current, zai:requests → week)
as a secondary tier after window-ID matching.
2026-05-04 06:24:28 -04:00
576f31b13a fix: use floor for duration minutes to prevent 60m overflow 2026-05-03 21:16:04 -04:00
c96da624fe feat: add configurable pi statusbar extension 2026-05-03 11:31:46 -04:00