[BUG] claude-code v2.1.136 (win32-x64) fails to activate — hardcoded Linux CI build path in extension bundle
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Extension: anthropic.claude-code v2.1.136
Platform: Windows (win32-x64)
VS Code Version: latest stable
Symptoms
All claude-vscode.* commands fail with "command not found"
Extension silently fails to register any commands
Disable/re-enable and full VS Code restart have no effect
Root Cause
Extension host log shows activation failing with:
TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string.
Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
at Module.createRequire (node:internal/modules/cjs/loader:1922:13)
at Object.<anonymous> (c:\Users\..\.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579)
A Linux CI runner path (/home/runner/work/...) was baked into the win32 extension bundle at build time. This path does not exist on Windows and causes createRequire to throw on extension load, preventing all command registration.
Additional Notes
Workaround: Roll back to v2.1.133 via "Install Another Version" and disable auto-update
What Should Happen?
The VS Code extension should activate successfully on Windows, registering all commands (e.g. claude-vscode.editor.openLast) and functioning normally without any dependency on build-time CI runner paths.
Rolling back to .133 functions as expected.
Error Messages/Logs
TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string.
Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'
at Module.createRequire (node:internal/modules/cjs/loader:1922:13)
at Object.<anonymous> (c:\Users\..\.vscode\extensions\anthropic.claude-code-2.1.136-win32-x64\extension.js:103:5579)
Steps to Reproduce
Auto install/upgrade to .136
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.133
Claude Code Version
4.7 but not relevant, no claude functions load.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗