Files
oh-my-pi/packages
iacore 85e122cece fix(kimi): surface the 5h usage window reset time
The Kimi Code usages endpoint returns resetTime on each limit's detail
object, while window carries only duration/timeUnit. buildWindow() only
reads window fields, so the 5h row parsed to a window with durationMs but
no resetsAt — and omp usage renders "resets in …" only when
window.resetsAt is set. The Total quota row worked because toUsageLimit
falls back to row.resetsAt when no window exists, but the row.window ??
short-circuit bypassed that fallback for the 5h row.

Carry the row-level reset onto the window when the window itself has
none; an explicit window resetTime still wins.
2026-07-18 11:48:20 +08:00
..
2026-07-17 21:38:00 +02:00
2026-07-17 21:38:00 +02:00
2026-07-16 04:56:03 +02:00
2026-07-15 00:08:50 +02:00
2026-07-17 21:38:00 +02:00
2026-07-17 21:38:00 +02:00
2026-07-17 21:38:00 +02:00
2026-07-17 21:38:00 +02:00
2026-07-17 21:38:00 +02:00
2026-07-17 21:38:00 +02:00