Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

Claude Code 2.1.318: sign-in expiry reporting and a long list of reliability fixes

Claude Code 2.1.318 reports when a stored claude.ai sign-in expires in `claude auth status` and in `claude -p` JSON output, and warns on stderr starting 10 days ahead. It adds an `effort` option to a mod's `$.model.fork` and `assume_role` for AWS upstreams in…

Published Read the original

Ranked #4 of 25 on Wednesday, November 4

Claude Code 2.1.318: sign-in expiry reporting and a long list of reliability fixes

Why it matters

Teams running Claude Code headless in CI can now detect an expiring sign-in before jobs start failing.

What happened

1 min read

Claude Code 2.1.318 reports when a stored claude.ai sign-in expires in `claude auth status` and in `claude -p` JSON output, and warns on stderr starting 10 days ahead. It adds an `effort` option to a mod's `$.model.fork` and `assume_role` for AWS upstreams in the Claude apps gateway. Most of the release is fixes: config-file safety on shared network home directories, MCP add/remove locking, cloud-session restarts and headless `-p` runs.

inscraper analysis

Our analysis

This is a maintenance release with no headline feature. The most useful change for teams is `credential_expires_at`, which makes expiry monitoring scriptable. The fixes for shared network home directories and for no longer overwriting an invalid `~/.claude.json` with defaults matter most in enterprise setups. Note the behaviour change: Claude Code no longer installs or updates the IDE extension from an IDE terminal, which may surprise some users.

More in Agents