Skip to content

Shell Integration Issue with Roo ExtensionΒ #1369

@Dayclone

Description

@Dayclone

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

  1. Open VS Code Insiders
  2. Terminal shows "Shell integration activated"
  3. Attempt to execute commands through Roo
  4. 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

  1. Open VS Code Insiders
  2. Terminal shows "Shell integration activated"
  3. Attempt to execute commands through Roo
  4. 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

  1. Default VS Code terminal settings
  2. Explicit shell integration settings in settings.json
  3. Custom shell integration script loading through profile
  4. Environment variables for shell detection
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions