Claude Code v2.1.318 now tells you when your claude.ai sign-in ends

24 minutes ago

Claude Code v2.1.318: claude auth status now shows when your stored claude.ai sign-in ends, and claude -p warns 10 days ahead. Also: a broken ~/.claude.json is no longer replaced with defaults, the IDE extension no longer installs itself from an IDE terminal, cloud sessions can start without a repository, and background subagents move long shell commands aside after 3 minutes. https://github.com/anthropics/claude-code/releases/tag/v2.1.318 https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md https://github.com/anthropics/claude-code/compare/v2.1.317...v2.1.318

Ask about this presentation

Chapters

  1. 0:00When your sign-in ends
  2. 0:15Your config file survives
  3. 0:28IDE extension
  4. 0:45Cloud sessions without a repo
  5. 0:58Background subagents
  6. 1:10Three fixes
  7. 1:26The full changelog
Show transcript
  1. Claude Code now tells you when your stored claude.ai sign-in ends. claude auth status shows the date, and claude -p starts warning ten days ahead, so a scheduled job no longer just stops one morning.

    Slide text
    Claude Code

    Claude Code now tells you when your claude.ai sign-in ends

    claude auth status
    shows the date a stored claude.ai sign-in ends, as loginExpiresAt
    claude -p
    JSON results carry credential_expires_at; text output warns on stderr from 10 days before
    At the limit
    the failure says the sign-in ran out and names claude auth login and claude setup-token
    CHANGELOG.md · anthropics/claude-code
  2. If your ~/.claude.json file was damaged, a headless launch used to replace it with defaults. Now Claude Code refuses to start, says how to restore it, and leaves the file alone.

    Slide text
    Claude Code

    >A broken ~/.claude.json is no longer replaced with defaults

    Before
    a non-interactive launch replaced a ~/.claude.json that isn't valid JSON with defaults
    Now
    the start fails, says how to restore the file, and leaves it as is
    Network homes
    ~/.claude.json, settings and the stored login are less often deleted, emptied or replaced by an older copy
    CHANGELOG.md · anthropics/claude-code
  3. Starting Claude Code inside your editor's terminal used to install or update the IDE extension for you. It no longer does. Run /ide from an outside terminal, or update it from your editor's extensions view.

    Slide text
    Claude Code

    >Claude Code no longer installs its IDE extension from an IDE terminal

    Before
    starting Claude Code in an IDE terminal installed or updated the IDE extension
    Now
    it leaves the extension alone
    Instead
    run /ide from an outside terminal, or use your editor's extensions view
    CHANGELOG.md · anthropics/claude-code
  4. Cloud sessions on an Anthropic-hosted environment get a No repository option, so you can start one without picking a repo. And tools other than Playwright can now find the built-in Chromium.

    Slide text
    Claude Code

    >Cloud sessions can now start without a repository

    No repository
    a cloud session on an Anthropic-hosted environment can start without picking a repository
    Chrome names
    google-chrome and CHROME_PATH find the built-in Chromium, so tools other than Playwright can use it
    CHANGELOG.md · anthropics/claude-code
  5. A background subagent now moves a shell command to the background after three minutes, on every provider. That keeps the prompt cache from expiring while a long build or test run finishes.

    Slide text
    Claude Code

    >Background subagents move a long shell command aside after 3 minutes

    After 3 minutes
    a background subagent moves its running shell command to the background
    Providers
    all of them
    Why
    so the prompt cache doesn't expire while the command runs
    CHANGELOG.md · anthropics/claude-code
  6. Three fixes. --continue no longer loses your earlier conversation after a bad tool call. Mac sessions running many Bash commands stop stalling. And keys you type after sending a message no longer answer a permission prompt.

    Slide text
    Claude Code

    >Fixed: lost conversations, stalled Macs and stray keypresses

    --continue
    no longer loses the earlier conversation after a malformed tool call's retries run out
    macOS
    sessions with many running Bash commands no longer stall while memory grows
    Permission prompts
    keys typed just after sending a message no longer answer them
    CHANGELOG.md · anthropics/claude-code
  7. The Claude Code changelog lists dozens more fixes, for MCP, cloud sessions, VS Code and the gateway. If you run claude -p on a schedule, I'd update today. The sign-in warning alone is worth it.

    Slide text
    Claude Code

    Every change is in the Claude Code changelog

    https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

    CHANGELOG.md in anthropics/claude-code

    Run claude -p on a schedule? I'd update today.

    CHANGELOG.md · anthropics/claude-code

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York