← All Daily

Daily⁠ · ⁠ · Claude Code · 🌶️Nice to knowMild: nice to know Why: Headless jobs see the deadline coming

Claude Code warns before your sign-in ends

Your headless Claude Code jobs now get a heads-up before the stored sign-in runs out.

The latest release adds a one-line warning to claude -p text output starting 10 days before a stored claude.ai sign-in ends, and shows the end date in claude auth status.

What changed

Scripts and pipelines that run on a claude.ai login can now read the date it stops working. The release, published Nov 3, 2026, puts that date in two places.

  • claude auth status shows it as loginExpiresAt.
  • claude -p JSON results carry it as credential_expires_at.

Text output from claude -p also prints the warning on stderr during the last 10 days.

When it does run out

The sign-in failure now says the login reached its time limit, and in claude -p it names claude auth login and claude setup-token as the way back in.

What to do

If a scheduled job runs claude -p on a stored claude.ai sign-in, update Claude Code, then check credential_expires_at in the job’s JSON result or watch stderr for the warning, so you can sign in again before it lapses.

Also in this release

  • Claude Code stops installing or updating the IDE extension when it starts in an IDE terminal. Use /ide from an outside terminal or your editor’s extensions view instead.
  • Jobs no longer exit with Not logged in when another terminal or host signs in again to the same account and organization on the same home folder.

Source: Claude Code v2.1.318 release notes, Nov 3, 2026