-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.bugSomething isn't workingSomething isn't working
Description
Which version of the app are you using?
3.7.12
Which API Provider are you using?
VS Code LM API
Which Model are you using?
Claude 3.5 Sonnet
What happened?
Issue Description
Roo is unable to detect shell integration despite it being activated in the terminal. The message "Shell Integration Unavailable" persists across multiple shell configurations.
Steps to reproduce
Reproduction Steps
- Open VS Code Insiders
- Terminal shows "Shell integration activated"
- Attempt to execute commands through Roo
- Roo displays: "Shell Integration Unavailable"
Relevant API REQUEST output
Additional context
Shell Integration Issue with Roo Extension
Environment
- VS Code: Version 1.98.0-insider (system setup)
- Roo Extension: Version 3.7.12
- OS: Windows 11
- PowerShell Version: 7
Issue Description
Roo is unable to detect shell integration despite it being activated in the terminal. The message "Shell Integration Unavailable" persists across multiple shell configurations.
Reproduction Steps
- Open VS Code Insiders
- Terminal shows "Shell integration activated"
- Attempt to execute commands through Roo
- Roo displays: "Shell Integration Unavailable"
Shells Tested
PowerShell 7
- Shell integration shows as activated
- Command line shows proper integration script loading:
Command line: C:\Program Files\PowerShell\7\pwsh.exe '-noexit' '-command' 'try { . "c:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1" } catch {}'
Git Bash
- Shell integration shows as activated
- Command line shows proper integration script loading:
Command line: C:\Program Files\Git\bin\bash.exe '--init-file' 'c:\Program Files\Microsoft VS Code Insiders\resources\app/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh'
WSL Ubuntu
- Shell integration attempted but encountered similar issues
Configurations Attempted
- Default VS Code terminal settings
- Explicit shell integration settings in settings.json
- Custom shell integration script loading through profile
- Environment variables for shell detection
- Multiple terminal profile configurations
Expected Behavior
- Roo should detect and use the shell integration that VS Code reports as activated
Actual Behavior
- Roo consistently shows "Shell Integration Unavailable"
- Terminal shows "Shell integration activated"
- Commands execute successfully in the terminal
- Output is visible in the terminal but not to Roo
Additional Notes
- Shell integration is confirmed working in VS Code itself (visible in terminal hover)
- Commands execute successfully and show output in terminal
- The issue persists across shell types and configurations
- Terminal initialization can be slow in some configurations
dosubot, emscape and lalitgehani
Metadata
Metadata
Assignees
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done