Claude Code v2.1.273 Release - Gateway Hint Headers and Session Forking Added

Anthropic released Claude Code v2.1.273. Request headers for LLM gateways (request class, agent type, tool execution time, etc.) have been added and can be enab

Claude Code · Release v2.1.273 · 2026-09-15

Anthropic released Claude Code v2.1.273. Request headers for LLM gateways (request class, agent type, tool execution time, etc.) have been added and can be enabled with the CLAUDE_CODE_GATEWAY_HINT_HEADERS=1 environment variable. A feature to fork sessions started with remote control and run them in the background has been added. Authentication error messages (401/403) occurring in Bedrock, Vertex, and Foundry have been improved, and multiple bugs including Bash command handling that the permission checker cannot analyze and context meter calculation errors have been fixed.

weltiq perspective: Request metadata tracking becomes possible in API gateway integration environments, and improved cloud authentication error handling can enhance the stability and monitoring of automated trading bots.

Release Notes Excerpt

What's changed Added x-claude-code-request-class , x-claude-code-agent-type , x-claude-code-prev-tool-durations , x-claude-code-compaction and x-claude-code-context-compacted request headers for LLM gateways; opt in with CLAUDE_CODE_GATEWAY_HINT_HEADERS=1 Added a notification when an MCP server disconnects mid-session and automatic reconnection gives up, pointing at /mcp Added forking a session started with claude --remote-control or /remote-control from the Claude app; the fork runs as a background session on your computer Fixed Bash commands the permission checker cannot fully analyze skipping the prompt under permissions.blockReadsOutsideWorkingDirectories , and a subshell hiding a danger…

Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.273