Stephen Schoettler d21f571e21 fix: add null guards to usage sort comparators
Prevents crash when totals is undefined in byModel/byProvider/byAgent
sort comparators. Fixes 'Cannot read properties of undefined (reading
totalTokens)' crash that causes context overflow in active sessions.
2026-03-01 20:02:41 -08:00
..
2026-01-14 15:02:19 +00:00