maxpool 1.24.2 → 1.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tui.js +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maxpool",
3
- "version": "1.24.2",
3
+ "version": "1.24.3",
4
4
  "description": "Multi-account Claude Code proxy with adaptive, rate-aware load balancing across Claude accounts",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/tui.js CHANGED
@@ -2165,8 +2165,11 @@ export class TUI {
2165
2165
  if (rg?.eligible) for (const g of (rg.grants || [])) {
2166
2166
  if (g.usableNow && !g.expired && g.endsAt != null && g.endsAt < soonest) soonest = g.endsAt;
2167
2167
  }
2168
+ // Expiry is ALWAYS shown when a reset exists (owner 2026-10-01: "what is the
2169
+ // proper way to communicate if we have a reset, and when does it expire" —
2170
+ // both facts, always). Hours under 24h, days at or above.
2168
2171
  const days = soonest === Infinity ? null : (soonest - Date.now()) / 86400_000;
2169
- if (days != null && days < 7) {
2172
+ if (days != null) {
2170
2173
  suffix = days < 1 ? '~' + Math.max(1, Math.round(days * 24)) + 'h'
2171
2174
  : '~' + Math.max(1, Math.round(days)) + 'd';
2172
2175
  }