Claude Code 2.1.268
The update fixes an HTTP 400 error on third-party endpoints and adds pricing, network and session controls for teams running a Claude apps gateway.
Claude Code 2.1.268 fixes two bugs that affected everyday use and adds a set of new controls for teams running a Claude apps gateway.
- Fixed every turn failing with an HTTP 400 error on third-party Anthropic-compatible endpoints (set via ANTHROPIC_BASE_URL) since version 2.1.265, caused by a regex in the Artifact tool's input schema that those endpoints reject.
- Fixed WebFetch hanging indefinitely on a server.
- Published artifacts now get a browser-tab icon, chosen by Claude to match each page.
- The plugin install, uninstall, update, enable and disable commands now support a --json flag, and rows from plugin list --json include errorDetails and noteDetails.
- claude auth status --json now includes a configDirectory field.
- Gateway admins can set pricing in gateway.yaml so signed-in Claude Code clients see matching rates in /cost and telemetry, allow logins from an organization's own public IPv4 block via the new gatewayInternalNetworks setting, and get a startup warning when access_control.allow_cidrs is empty, plus a one-time warning the first time a request arrives from a public address.
- claude self-hosted-runner gained a --remove-session-state flag, off by default, that deletes each session's per-session directories when the session ends.
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 →