Anthropic: Claude Code v2.1.131 — Windows VS Code activation and Mantle x-api-key hotfix
Anthropic released Claude Code v2.1.131, a hotfix that resolves two bugs: a VS Code extension activation crash on Windows due to a hardcoded build path and a missing x-api-key header sent to Mantle inference endpoints. Binaries are published for all major platforms.
This article was generated using artificial intelligence from primary sources.
What does v2.1.131 fix?
Anthropic published Claude Code v2.1.131 on May 6, 2026, at 07:47 UTC — a hotfix release addressing two critical bugs reported on Windows and in the Mantle integration.
The first bug prevented activation of the Claude Code extension for Visual Studio Code. The bundled SDK contained a hardcoded build path in the createRequire polyfill — a path pointing to the build environment that did not exist on user systems. The result: the require() call failed before the extension had a chance to initialize.
What about Mantle authentication?
The second bug concerned authentication toward Mantle endpoints. Mantle is Anthropic’s internal model inference infrastructure used within Claude Code workflows.
The client was not sending the x-api-key HTTP header in requests, causing all API calls to Mantle to return HTTP 401 Unauthorized. The hotfix adds the header to the outgoing authentication configuration.
Which platforms are covered?
Binaries are published for macOS ARM64 and x64, Linux ARM64 and x64 (both glibc and musl variants), and Windows ARM64 and x64. The glibc + musl coverage matters for users running Claude Code inside Alpine Linux containers.
For context: createRequire is a Node.js function that creates a CommonJS-style require() call inside ECMAScript modules — it is used when modern ESM code needs to load older CommonJS modules. A hardcoded path in its polyfill means the build system left a reference to its own directory structure instead of a portable path, which breaks as soon as the binary leaves the CI environment.
Frequently Asked Questions
- Who should update immediately?
- Users of the Claude Code VS Code extension on Windows and anyone using Mantle inference endpoints — without updating, API calls return 401 Unauthorized.
- What is Mantle?
- Mantle is Anthropic's internal model inference infrastructure used within Claude Code workflows.
Related news
IBM: Enterprise Advantage gets Context Studio — Providence Health cut manager hiring time by 90%
arXiv:2605.02740: ReClaim — Foundation Model Trained on 200 Million Patient Records Achieves Mean AUC 75.6% on 1,000+ Medical Tasks
Anthropic Claude Code v2.1.128: 30+ Fixes, .zip Plugin Support and ~3× Lower cache_creation Cost for Sub-Agents