Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.318 ·

SDK result messages can report when credentials expire

Result messages in the SDK have an optional credential_expires_at field

Use it now New Features
JSON All of v2.1.318
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.318,
What probably matters to youSection of the release
What

The SDK is the developer kit for building programs on Claude Code. The result message it sends at the end of a run has a new optional field, credential_expires_at.

Why

Programs built with the SDK can see when the credentials, meaning the login details in use, will expire.

Read from
Names in the bundlecredential_expires_at
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded the date a stored claude.ai sign-in ends to claude auth status (loginExpiresAt) and to claude -p JSON results (credential_expires_at)

See this entry in the whole of v2.1.318 →

Feedback