Claude CodeRelease

Claude Code 2.1.318 surfaces sign-in expiry and cross-account roles

Claude Code 2.1.318 records answers when mods are enabled, lets gateway upstreams assume a role in another AWS account for per-developer cost attribution, and allows a mod's fork to set effort. claude auth status and claude -p JSON output now include the claude.ai sign-in expiry, with a stderr warning starting 10 days before it ends. Cloud sessions can start without a repository.

  • Sign-in expiry appears in auth status and -p JSON output.
  • A warning starts 10 days before expiry.
  • Gateway cross-account assume_role and repository-free cloud sessions.
New featureCompatibility

Original evidence · 2026-11-03 16h

Claude Code Releases ↗Based on original text

Why it matters

Visibility into sign-in expiry reduces interruptions in long-running automated tasks caused by expired credentials.