claude-simple-status 1.3.0 → 1.3.1
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/statusline.mjs +1 -1
package/package.json
CHANGED
package/statusline.mjs
CHANGED
|
@@ -298,7 +298,7 @@ function getQuotaPressure(windowKey, utilization, resetsAtIso) {
|
|
|
298
298
|
|
|
299
299
|
const oldest = history.readings[0];
|
|
300
300
|
const elapsedMs = now - oldest.ts;
|
|
301
|
-
if (elapsedMs <
|
|
301
|
+
if (elapsedMs < 600_000) return null; // need at least 10 min of data to avoid noisy early-window spikes
|
|
302
302
|
|
|
303
303
|
const pctGained = utilization - oldest.pct;
|
|
304
304
|
if (pctGained <= 0) return 'safe'; // not growing
|