Problem Description
When using Roo Code with multiple VS Code windows open simultaneously, the auto-approve settings configured in the first window are not properly applied to subsequent windows. Even though auto-approve is enabled in Window A, Window B still prompts for approval on every action.
Environment
- VS Code Version: (please fill in)
- Roo Code Version: (please fill in)
- Operating System: Windows/Linux/macOS (please specify)
- Reproducibility: Always
Steps to Reproduce
- Open VS Code Window A and enable auto-approve (select permissions like "Read files", "Edit files", etc., and toggle "Enabled" on)
- Open a second VS Code Window B (File → New Window)
- Open a different project folder in Window B
- Start a Roo Code task in Window B that requires file operations or command execution
- Observe that Roo Code prompts for approval on every action, despite auto-approve being enabled globally
Expected Behavior
Auto-approve settings should be synchronized across all VS Code windows, or at least persist correctly when opening new windows.
Actual Behavior
The second window ignores auto-approve settings and prompts for manual approval on every action, significantly disrupting the workflow.
Related Issues
This may be related to:
Additional Context
- The auto-approve toggle in the UI appears to be "Enabled" in both windows
- This issue occurs consistently when working with multiple projects simultaneously
- As a workaround, users have to manually toggle auto-approve off and on in each new window
Possible Root Cause
The extension state (specifically auto-approval configuration) may be stored per-extension-host rather than globally, causing desynchronization between VS Code windows which run separate Extension Host processes.
Problem Description
When using Roo Code with multiple VS Code windows open simultaneously, the auto-approve settings configured in the first window are not properly applied to subsequent windows. Even though auto-approve is enabled in Window A, Window B still prompts for approval on every action.
Environment
Steps to Reproduce
Expected Behavior
Auto-approve settings should be synchronized across all VS Code windows, or at least persist correctly when opening new windows.
Actual Behavior
The second window ignores auto-approve settings and prompts for manual approval on every action, significantly disrupting the workflow.
Related Issues
This may be related to:
Additional Context
Possible Root Cause
The extension state (specifically auto-approval configuration) may be stored per-extension-host rather than globally, causing desynchronization between VS Code windows which run separate Extension Host processes.