Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.53 Home All releases olderv2.0.52 v2.0.54newer
Claude Code v2.0.53

OAuth Token Expiration Handling for Usage Data

What: The API usage data fetcher now checks if the OAuth token is expiring before making API calls, gracefully falling back to cached data instead of throwing errors.

Details:

  • Previously, the usage data fetch (VPA() at line 471623) would attempt API calls even with expiring tokens, potentially causing "Failed to load usage data" errors
  • Now checks if token expires within 5 minutes and returns null immediately if so
  • Falls back to cached usage data rather than displaying errors during token refresh windows
  • Evidence: VPA() at line 471623-471636 in v2.0.53, new check using W6() (OAuth token getter at line 163812) and Ym() (expiration checker at line 67497)

User impact: Fewer transient error messages when viewing API usage near token expiration times.

See this entry in the whole of v2.0.53 →