@adhdev/mesh-shared 1.0.82-rc.26 → 1.0.82-rc.27

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
@@ -708,8 +708,10 @@ function backfillCheckAt(quota, now) {
708
708
  function assessQuotaFreshness(quota, now = Date.now()) {
709
709
  const meta = quota.metadata;
710
710
  const kind = meta?.failureKind;
711
- const userMustAct = kind === "no-data" && quota.provider !== "codex-cli" || kind === "expired-token" && ["grok-cli", "kimi", "antigravity-cli"].includes(quota.provider);
711
+ const userMustAct = kind === "no-data" && quota.provider !== "codex-cli";
712
+ const awaitsCliUse = kind === "expired-token" && ["grok-cli", "kimi", "antigravity-cli"].includes(quota.provider);
712
713
  if (userMustAct) return hasReading(quota) ? { cue: "stale", userMustAct: true } : { userMustAct: true };
714
+ if (awaitsCliUse) return hasReading(quota) ? { cue: "stale", userMustAct: false } : { userMustAct: false };
713
715
  if (meta?.lastGoodWindows !== true) {
714
716
  const measuredAt = finiteMs(quota.updatedAt);
715
717
  if (hasReading(quota) && (measuredAt === void 0 || now - measuredAt >= QUOTA_BACKFILL_HORIZON_MS)) {