# Claude Code v2.1.311 is released with bug fixes and two new self-hosted runner flags

> Original title: v2.1.311

- Source: Claude Code · GitHub Releases
- Published: 2026-10-26T21:51:23.000Z
- Bad Influence: https://badinfluence.news/items/gfd5xbd021ebby20yrjk7mgud
- Original: https://github.com/anthropics/claude-code/releases/tag/v2.1.311

## Summary

Anthropic releases Claude Code v2.1.311, adding --hold-idle-file and --max-hold-min to self-hosted-runner to keep an idle session while the host reports processes it left running. The release also fixes many bugs, including startup freezes with long CLAUDE.md list items, subagents missing MCP tools, and stalled WebFetch and WebSearch calls in Cowork cloud sessions, which now fail after 300 seconds.
