maxpool 1.24.4 → 1.24.5

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 +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maxpool",
3
- "version": "1.24.4",
3
+ "version": "1.24.5",
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
@@ -32,8 +32,8 @@ const vw = s => strip(s).length;
32
32
  const NAME_W = 20; // a.name.slice(0, NAME_W).padEnd(NAME_W) — fits a full email like 2solarmax@gmail.com (19)
33
33
  const PROVIDER_W = 9; // providerLabel(a).padEnd(PROVIDER_W) — fits "Anthropic"
34
34
  const STATUS_W = 13; // rpad(status, STATUS_W) — fits "throttled 59s"
35
- const RESETS_W = 3; // 'Rst' column — banked limit resets (cards/grants) the
36
- // pool can auto-redeem; '0' when none, count when some.
35
+ const RESETS_W = 6; // 'Rst' column — FIXED width (fits '2~21d'); a variable
36
+ // width ('0' vs '1~21d') shifted every quota bar per row.
37
37
  const ROW_PREFIX = ' '; // ' ' + sel(1) + cur(1) + ' ' — 4 cols before the name
38
38
 
39
39
  // Human provider name for the accounts-table "Provider" column. account.provider
@@ -2174,7 +2174,7 @@ export class TUI {
2174
2174
  : '~' + Math.max(1, Math.round(days)) + 'd';
2175
2175
  }
2176
2176
  }
2177
- resetsCell = rpad(n > 0 ? green(String(n) + suffix) : gray('0'), RESETS_W + (suffix ? 2 : 0));
2177
+ resetsCell = rpad(n > 0 ? green(String(n) + suffix) : gray('0'), RESETS_W);
2178
2178
  }
2179
2179
 
2180
2180
  if (a.type === 'provider') {