Claude Code 2.1.277
By Steven Van ·
Claude Code now reads AGENTS.md when a project has no CLAUDE.md, plus gateway proxy options and several stability fixes.
Claude Code 2.1.277 adds support for AGENTS.md: in a project with no CLAUDE.md file, Claude Code now reads AGENTS.md instead. Which file it reads can be changed under "Project instructions" in /config; this isn't yet available on Bedrock, Vertex, or Foundry.
The release also includes:
- A new CLAUDE_GATEWAY_PROXY_IS_EGRESS_BOUNDARY=1 setting for Claude apps gateways whose only egress is a forward proxy, so every outbound request hands the proxy the hostname instead of resolving it locally.
- An optional headers: map on Claude apps gateway upstreams, to send static headers to a proxy running in front of a provider.
- A line noting when a background task's update is waiting, shown if the task finishes while a panel such as /tasks is open.
- A fix for claude -p and Agent SDK sessions that could hang with no result after an internal error; they now report the error and exit with code 1.
- A fix for conversations failing every request with "text content blocks must be non-empty" when an earlier assistant turn held an empty text block beside other content, including after --resume.
- A fix for being unexpectedly logged out when an older Claude Code build, such as an IDE extension's bundled CLI, runs on the same machine as the current one.
See the full changelog entry for the complete list of fixes in this release.
Claude Code
Anthropic's agentic coding tool — Claude in your terminal, IDE, desktop app and browser, reading and editing your codebase, running commands, opening pull requests and working on tasks in the cloud.
View Claude Code →