[BUG] VSCode extension 2.1.129 command 'claude-vscode.editor.openLast' not found
Resolved 💬 6 comments Opened May 6, 2026 by uniqqqqque Closed May 6, 2026
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?
The Claude Code VS Code extension fails to activate on Windows v2.1.129. The extension bundle contains a hardcoded Linux CI path that is invalid on Windows, so no commands are registered. Clicking any Claude button or running any Claude command produces: "command 'claude-vscode.editor.openLast' not found"
What Should Happen?
The extension should activate successfully and Claude chat should open when clicking the Claude button or running commands from the Command Palette.
Error Messages/Logs
2026-05-06 09:39:38.261 [error] Activating extension Anthropic.claude-code failed due to an error:
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\denis\.vscode\extensions\anthropic.claude-code-2.1.129-win32-x64\extension.js:102:5407)
Steps to Reproduce
- Install Claude Code CLI: npm install -g @anthropic-ai/claude-code (v2.1.129)
- Install Claude Code VS Code extension v2.1.129 (anthropic.claude-code-2.1.129-win32-x64)
- Open VS Code on Windows
- Wait for extension to activate (onStartupFinished)
- Click the Claude button in the sidebar or run any Claude command via Ctrl+Shift+P
- Observe error: "command 'claude-vscode.editor.openLast' not found"
- Check Extension Host logs, extension fails to activate with the Linux path error above
Environment: Windows 11, Node.js v22.22.0, VS Code latest
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.128
Claude Code Version
2.1.129 (Claude Code)
Platform
Other
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗