Claude Code β€” May 19 AM Release

Background sessions and model management improvements

Released: May 19, 2026 | Updated: May 22, 2026 at 12:48 AM

🎯 Major Feature Release

This release revolutionizes background session handling with /resume support, session-specific model selection, and 20+ stability improvements.

✨ New Features

/resume Now Supports Background Sessions

Sessions started via claude --bg or agent view now appear alongside interactive ones in the resume picker, marked with bg badge.

Before:

/resume

Only showed interactive sessions

After:

/resume

Shows both interactive + background sessions (bg badge)

Elapsed Duration for Background Agents

Background subagent completion notifications now show elapsed time:

"Agent completed Β· 3h 2m 5s"

Track long-running agent tasks at a glance. Perfect for overnight runs or complex multi-hour analysis workflows.

Session-Specific Model Selection

/model now changes the model for the current session only. Press d in the model picker to set a default for new sessions.

Model Selection Behavior:

  • /model β†’ Changes model for current session only
  • Press 'd' β†’ Sets default for all new sessions
  • Resumed sessions β†’ Keep the model they were using

Plugin Last Updated Display

/plugin browse and /plugin discover panes now show when each plugin was last updated. Make informed decisions about plugin freshness and maintenance activity.

Terminology Update: Usage Credits

Renamed "extra usage" to "usage credits" across CLI copy. Command /extra-usage is now /usage-credits (old name still works for backward compatibility).

πŸ› Bug Fixes

Startup Hang Fixed

Fixed startup hanging up to 75s when api.anthropic.com is unreachable β€” side-channel API calls now time out after 15s

Terminal Output Fixed

Fixed garbled terminal output after missed window-resize event β€” now self-heals on next frame instead of requiring Ctrl+L

Display Corruption Fixed

Fixed progressive terminal display corruption (stale/garbled glyphs) in very long sessions

VS Code Glitches Reduced

Reduced terminal rendering glitches in VS Code by reducing spinner animation color count

macOS FDA Crash Fixed

Fixed macOS background sessions crashing with "exit 1 before init" in Full Disk Access-protected folders

Image Extension Mismatch

Fixed unrecoverable conversation when reading file whose image extension doesn't match contents (e.g., HTML saved as .png)

Search Tool Errors

Fewer spurious tool errors during search: head/tail views satisfy read-before-edit check, "no matches" no longer reported as failure

/branch Fixed

Fixed /branch failing with "No conversation to branch" after entering worktree or in some background sessions

Escape Key Behavior

Fixed pressing Escape in AskUserQuestion notes field aborting the turn instead of returning to answer selection

Model Selection Persistence

Fixed model selection not applying when changed via IDE model picker; resumed sessions keep their model

Bedrock/Vertex Opus Fix

Fixed Bedrock and Vertex users unable to select "Opus (1M context)" from /model picker

Remote Session Login

Fixed remote-session login failing with "Can't access this organization" for users with forceLoginMethod set

MCP Paginated Tools

Fixed MCP servers with paginated tools/list responses only returning first page, silently dropping tools

Unsupported MIME Types

Fixed MCP images with unsupported MIME types (e.g., SVG) breaking conversation β€” now saved to disk

File Descriptor Exhaustion

Fixed file descriptor exhaustion when build runs inside skill directory β€” non-.md files no longer trigger skill reloads

Session Title Generation

Fixed session title being generated from plugin monitor output instead of user's first prompt

Skill in Headless Mode

Fixed Skill tool failing with permission error in headless mode

Plugin Cache Errors

Fixed plugins enabled in your settings showing "not cached" errors after first load on fresh machine

MCP Config Parsing

Fixed claude mcp list silently reporting no servers when .mcp.json can't be parsed

Background Side-Queries

Fixed background side-queries on custom ANTHROPIC_BASE_URL setups and Bedrock Mantle not using Haiku

Windows Scrolling

Fixed scrolling in attached background sessions on Windows β€” PgUp/PgDn, mouse wheel now work

Terminal Close Crash

Fixed crash when closing terminal while attached to background session

🎯 Key Improvements Summary

πŸ“‹ Background Sessions First-Class

Background sessions (claude --bg) are now first-class citizens. They appear in /resume picker, show elapsed duration, and integrate seamlessly with interactive sessions.

πŸŽ›οΈ Granular Model Control

Per-session model selection with /model, default setting with 'd' key, and model persistence across session resumes.

⚑ Startup Performance

5x faster timeout (75s β†’ 15s) when api.anthropic.com is unreachable. No more minute-long hangs on network issues.

πŸ–₯️ Terminal Stability

Self-healing terminal display after resize, reduced glitches in VS Code, fixed garbled output in long sessions.

πŸ’» Usage Examples

Start Background Session

claude --bg -p "Analyze this codebase"

Session runs in background, appears in /resume with "bg" badge

Resume Background Session

/resume

Select from list including background sessions marked with "bg"

Change Model for Current Session

/model

Select model for this session only

Set Default Model for New Sessions

Press 'd' in model picker

Sets default for all future sessions

Related Releases

Official Resources

← Back to What's New Setup Guide β†’