@expiren/opencode-antigravity-auth 1.6.24 → 1.6.25

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/dist/index.js CHANGED
@@ -1762,6 +1762,9 @@ function getStatusBadge(status, account) {
1762
1762
  const suffix = overall.maxResetMs ? ` resets in ${formatWaitDuration(overall.maxResetMs)}` : "";
1763
1763
  return ` ${ANSI.red}[exhausted${suffix}]${ANSI.reset}`;
1764
1764
  }
1765
+ if (overall.health === "partial") {
1766
+ return ` ${ANSI.yellow}[limited]${ANSI.reset}`;
1767
+ }
1765
1768
  }
1766
1769
  switch (status) {
1767
1770
  case "active":
@@ -1794,11 +1797,12 @@ async function showAuthMenu(accounts) {
1794
1797
  if (acc.isCurrentAccount) return 0;
1795
1798
  if (acc.status === "active") {
1796
1799
  const overall = classifyOverallQuotaHealth(acc.cachedQuota);
1797
- if (overall.health === "exhausted") return 2;
1800
+ if (overall.health === "exhausted") return 3;
1801
+ if (overall.health === "partial") return 2;
1798
1802
  return 1;
1799
1803
  }
1800
- if (acc.status === "rate-limited") return 3;
1801
- return 4;
1804
+ if (acc.status === "rate-limited") return 4;
1805
+ return 5;
1802
1806
  };
1803
1807
  return statusOrder(a) - statusOrder(b);
1804
1808
  }).map((account, displayIndex) => {