[BUG] Claude Code VS Code extension fails to activate on Windows with error:
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?
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'
Extension contains a hardcoded Linux build path that breaks activation on Windows. Version 2.1.129.
What Should Happen?
When I click the claude code logo the chat window should appear but it shows
command 'claude-vscode.editor.openLast' not found
Error Messages/Logs
Steps to Reproduce
Install VS Code on Windows
Install Claude Code for VS Code extension (version 2.1.129) from the marketplace
Open any project/folder in VS Code
Observe that the Claude Code tab shows a perpetual blue loading spinner
Click the Claude Code logo button in the toolbar
Error appears: command 'claude-vscode.editor.openLast' not found
Check Output → Extension Host log and see: 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'
Root cause: Extension contains a hardcoded Linux build server path that causes activation failure on Windows.
Expected: Extension activates successfully on Windows
Actual: Extension fails to activate, no commands register, all Claude Code buttons produce "command not found" errors
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.129
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗