Describe the Bug
There is no way for the background agent to access any of the secret.
Steps to Reproduce
- Create a secret MY_SECRET with some text into it
- Start a background agent and ask to check for MY_SECRET env variable
- The variable is not present in the background agent environment (verified by the agent or an explicit command in the terminal)
Expected Behavior
I define a secret and I am able to use it in the background agent environment
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.1 (Universal)
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:08:06.355Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor