feature
Claude Code

Claude Code 2.1.311: Self-hosted runner gains idle session options

Added --hold-idle-file and --max-hold-min flags to self-hosted-runner to keep idle sessions alive while the host reports processes it left running. This improves support for long-running deployments that need to maintain session state.

Stacks this affects

Claude Code ships in 4 tested stacks here.

Claude Code MCP setup
Code · Agent setup
$50/mo
Claude Code setup
Code · Agent setup
$50/mo
Claude Code only
Code · Workflow
$50/mo
Ship code with AI
Code · Workflow
$50/mo
All Claude Code changes and pricing

More Claude Code

featureCode Review adds findings-by-severity analytics card tracking trends over timefeaturePooled group budgets added to Claude apps gateway for shared spending limitsfeatureVSCode now supports Claude apps gateway sign-in from chat panel without terminalfeatureAdded CLAUDE_CODE_DISABLE_ULTRATHINK environment variable to control reasoning featurefeatureFile tools now require confirmation before editing organization settingsfeatureIdle compaction for Code tab summarizes long conversations