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.
- package/package.json +1 -1
- package/src/tui.js +3 -3
package/package.json
CHANGED
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 =
|
|
36
|
-
//
|
|
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
|
|
2177
|
+
resetsCell = rpad(n > 0 ? green(String(n) + suffix) : gray('0'), RESETS_W);
|
|
2178
2178
|
}
|
|
2179
2179
|
|
|
2180
2180
|
if (a.type === 'provider') {
|