Cursor WSL Extension and Agent Issue
Environment
- Cursor Version: 0.47.1 (aafb3fe1326c939656bd06f325a9e17679aeec70, x64)
- OS: Windows 10 with WSL2
- WSL Distribution: Debian (Default)
Issues
1. WSL Extension Version Downgrade
- Cursor forcefully downgrades the WSL extension to version 0.81.8
- When manually installing the latest VSCode WSL extension (0.88.5), Cursor automatically reverts it back to 0.81.8 upon restart
- This happens even when making the extension directory read-only
- The downgrade occurs despite the latest version (0.88.5) being stable and working in VSCode
2. Agent WSL Integration
- The Cursor AI agent cannot properly interact with the Debian WSL environment
- When running WSL commands through the agent, it only returns “Debian (Default)” instead of actual command output
- Normal terminal in Cursor works fine with WSL
- This appears to be related to the outdated WSL extension version
Steps to Reproduce
-
WSL Extension Downgrade:
- Install latest WSL extension (0.88.5) in Cursor
- Restart Cursor
- Check extension version - it’s automatically downgraded to 0.81.8
-
Agent WSL Issue:
- Try to run any WSL command through the AI agent
- Commands only return “Debian (Default)” instead of actual output
- Same commands work correctly in normal Cursor terminal
Expected Behavior
- Cursor should either support the latest WSL extension version or document why it requires an older version
- Agent should properly interact with WSL environment like the normal terminal does
- WSL commands through the agent should return actual command output
Additional Context
- Only Debian WSL distribution is installed (removed others to eliminate interference)
- Normal terminal in Cursor works correctly with WSL
- VSCode with the same WSL extension (0.88.5) works properly
- Attempted various settings.json configurations without success
Impact
This issue affects:
- Development workflow when using WSL
- AI agent’s ability to assist with WSL-based development tasks
- Overall integration between Cursor and WSL environment
Possible Solutions
- Update Cursor to support latest WSL extension version
- Document why older version is required and fix agent integration
- Provide configuration options to override extension version control