Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.305 ·

claude plugin eval can now use your session's API key

Plugin eval runs now prefer an available API key, fall back to it if login fails, and pass it to test runs by file descriptor except on Windows

Group of 2 You'll notice No documentation found Bug Fixes
JSON All of v2.1.305
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
Bug FixesKind: in v2.1.305,
ImprovementsSection of the release

Unclear Not settled which runs use this credential lookup, so it is unclear which sessions now pick the API key over a login.

What

claude plugin eval runs tests on a plugin. It now handles an API key (a secret key used instead of signing in) for those test runs.

  • Picking a credential: when a key is available and OAuth sign-in is not forced, the key is used. It is also used as a fallback when the OAuth token is missing or cannot be refreshed. Before, the eval path returned nothing when an API key file descriptor or other key source was present.
  • Passing it on: when the session's credential is an API key, it is handed to the test runs through CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR.
  • Windows: there it stops with "claude plugin eval can't pass this session's API key to its test runs on Windows; set ANTHROPIC_API_KEY and run it again".
  • Gateways: gateway credentials still use CLAUDE_CODE_USE_GATEWAY and ANTHROPIC_BASE_URL.

Why

If you run evals with an API key, you no longer have to export the key yourself, except on Windows where you still need to set ANTHROPIC_API_KEY. Which credential your eval runs use may also differ from before.

Read from
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtNot settled which runs use this credential lookup, so it is unclear which sessions now pick the API key over a login.

See this entry in the whole of v2.1.305 →

Feedback