[BUG] claude code 2.1.51 extention on cursor
Resolved 💬 4 comments Opened Feb 24, 2026 by mamadz98 Closed Feb 24, 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 bundled extension.js has a hardcoded Linux CI path (/home/runner/work/...) from Anthropic's build pipeline. It's not a path on my machine; it's a leftover artifact from GitHub Actions runner.
What Should Happen?
should run without issue
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'
Steps to Reproduce
Try an older version that doesn't have this bug:
In PowerShell:
cursor --install-extension anthropic.claude-code@2.1.49
Or
go to the extension page → click the gear icon → "Install Another Version" → try 2.1.49
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.51
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗