Under the hood
API auth can now use a cached OAuth bearer token for eligible enterprise/team profiles.
The API auth-header builder now has a new branch that checks a combination of enterprise/team profile eligibility and OAuth scope status, and when satisfied, authenticates using a Bearer token from the cached OAuth credential's accessToken plus an anthropic-beta header, falling back to the existing API-key lookup otherwise.