@adhdev/mesh-shared 1.0.82-rc.25 → 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.
@@ -147,6 +147,7 @@ export interface FollowedRemoteProjectEntry {
147
147
  updatedAt: number | string;
148
148
  unfollowedAt?: number | string;
149
149
  revokedAt?: number | string;
150
+ revokedReason?: string;
150
151
  lastCursor?: string | null;
151
152
  coordinatorSessionId?: string | null;
152
153
  lastErrorCode?: string;
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)) {