CATCH #2232
DETECTED OCT 21, 2026 22:19 UTC
THE CATCHscore 5/10
EXHIBIT 2232
Oct 21, 2026 22:19 UTC
github
anthropics/claude-code
Claude Code v2.1.307 adds API versioning, OpenTelemetry safety events, and numerous bug fixes across various features.
READY TO POST:
claude-code just got v2.1.307, bringing api versioning for claude-api and new opentelemetry safety events for tool calls. looks like more control and observability for devs.
big set of fixes and improvements in the latest claude-code update (v2.1.307). especially digging the better error recovery for unparseable tool calls and clearer browser sign-in. less headache for devs.
EVIDENCE — the receipts
anthropics/claude-code release: v2.1.307
name: v2.1.307
published: 2026-10-21T22:17:02Z
url: https://github.com/anthropics/claude-code/releases/tag/v2.1.307
## What's changed
- Added `/claude-api api-version` to move Claude API code to API version `2026-10-21`
- Added the `claude_code.safety_event` OpenTelemetry event for each tool call a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent back
- Fixed requests failing with a model-not-found error when `CLAUDE_CODE_DISABLE_1M_CONTEXT` is set and the model is an alias with the `[1m]` suffix, such as `opus[1m]`
- Fixed the `prompt-caching-scope` beta header being sent behind custom `ANTHROPIC_BASE_URL` gateways and on Foundry, where it has no effect
- Fixed MCP servers showing "needs authentication" in `claude -p` on macOS while the login keychain was locked; they now say why, and the next run after an unlock connects without a new sign-in
- Fixed MCP servers being reported as timed out, and staying failed in headless runs, when a macOS or Linux computer went to sleep while they were connecting
- Fixed HTTP MCP tool calls being sent twice when the connection closed mid-call; only read-only or idempotent tools are now retried
- Fixed a turn sometimes starting without an SDK MCP server's latest tools when a background task was running
- Fixed some "Autocompact is thrashing" errors in turns that read many PDF pages, images or other large tool results
- Fixed `/autocompact` in cloud sessions going back to the default window after the session restarted
- Fixed a conversation cleared with `/clear` sometimes coming back when a cloud or self-hosted runner session restarted
- Fixed `CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS` being ignored in Claude apps gateway sessions
- Fixed telemetry from Claude Desktop sessions behind a Claude apps gateway being rejected when `OTEL_EXPORTER_OTLP_HEADERS` is set
- Fixed `/permissions` > Recently denied not showing the denied shell command, and auto mode'
caught by the 20-minute sweep ·
the live wire · all receipts