Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After the latest Cursor update, the terminal tool called by the agent no longer inherits environment settings such as venv or direnv.
In previous versions, the terminal was executed directly in the project root with bash or zsh. This allowed the terminal tool to automatically load environment variables if direnv or similar tools were properly configured.
However, in the current version, the terminal seems to be launched in a different way, and now it requires explicitly activating venv or other environments. This breaks the expected workflow and reduces usability.
Steps to Reproduce
- Update Cursor to the latest version.
- Configure a project with
venvordirenv. - Use the agent to call the terminal tool.
- Observe that environment variables are not inherited.
Expected Behavior
The terminal tool should inherit the same environment settings as the default Cursor terminal, automatically recognizing venv, direnv, and other configurations without requiring explicit activation.
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
バージョン: 1.6.27 (user setup)
コミット: 1.99.3
日付: d750e54bba5cffada6d7b3d18e5688ba5e944ad0
Electron: 2025-09-17T20:21:17.042Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0
Does this stop you from using Cursor
No - Cursor works, but with this issue