Agent loses terminal output

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Often in the middle of a chat session with an agent, the agent is suddenly unable to see the terminal results. This either results in the agent incorrectly thinking they have fixed the problem I prompted them to solve, or it gets stuck in a loop trying more and more irrelevant things after already having solved the problem.

Steps to Reproduce

I have not found a consistent way to reproduce it, but it seems to eventually infect any chat session eventually

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11 (Universal)
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Additional Information

Sometimes if I reload the window or start a new chat session, it is able to be fixed. So it seems to only affect existing chat sessions after enough terminal commands, but sometimes it can happen even within the first user prompt.

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Could you try again on 1.6.14? We think it’s resolved

I’m on 1.6.23 and still seeing this issue.

Claude 4 Sonnet runs:

poetry run pytest tests/unit...

Tests complete with full output:

test session starts...
.
.  # full pytest output here
.
1 failed, 3 passed, 18 warnings in 0.33s

Agent thinks:
The test command seems to be running but not producing any output. Let me try a simpler approach to see if the tests are working.

This is really the only consistent pain point I’ve had using Cursor, but it’s been happening since forever and it would be really great if this issue could finally be solved.

Cursor Version Output:
Version: 1.6.23
VSCode Version: 1.99.3
Commit: 9b5f3f4f2368631e3455d37672ca61b6dce85430
Date: 2025-09-15T21:49:07.231Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.2.0

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Maybe I’m not using this correctly, but I would expect that refering a terminal would fetch the content of that terminal and make it available to the agent. This is not working though. Writing “Fix lint errors in @terminal” does not make agent aware of the content of that terminal window.

Steps to Reproduce

Try to reference the terminal for fixing bugs.

Expected Behavior

The agent should be aware of the content of the terminal.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.45
VSCode Version: 1.99.3
Commit: 3ccce8f55d8cca49f6d28b491a844c699b8719a0
Date: 2025-09-22T18:22:38.013Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-32-generic

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’ve actually been experiencing this issue for quite some time, but I thought it might fix itself over time — unfortunately, it hasn’t.

Currently, I’m on version 1.6.45, and the problem still exists. I remember also noticing the same issue in v1.7, but since that release was unstable, I rolled back to the older version.

The issue: when we tag a message in the chat as terminal, it doesn’t recognize or process it.

Steps to Reproduce

…

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Also the copy and paste feature in the terminal does not work. Ctrl+c stops the terminal.

cursor 1.6.45 cursor 1.6.45

The issue also occurs in the current conversation. I started a new conversation and added the terminal — it detected the terminal. But the feature to select an output in the terminal and copy it with Ctrl+C still doesn’t work.

@deanrie

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I ran some commands in a terminal window, and then asked the Agent if it could see the output of said commands, and it told me that it couldn’t, that it didn’t have visibility (check screenshot).

This problem came since I updated Cursor to the latest version (1.5.11). In the older version that I had prior, the Agent was able to visualize the terminal without issues.

Steps to Reproduce

  1. Open a terminal window.
  2. Run a command in it.
  3. Ask the Agent if it can see it by referencing it with “@”.
  4. Agent says that it can’t.

Expected Behavior

…same as above…
4) Agent says that it can see the output.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, please update to version 1.6 and let me know if the issue still persists.

The issue persists.

Thanks for the extra info. Is this happening in a new chat, or has your chat been around for a while? Could you also share the request ID? To do that, you’ll need to turn off Privacy Mode.

On a new chat.

Here’s the request ID: 28c5fb95-8a0b-4b77-a75e-16bdc8a921d2

My problem was solved when I updated to version 1.7.17.

For me, it didn’t, and I updated to 1.7.17 after seeing your message.

Version: 1.7.17
VSCode Version: 1.99.3
Commit: 34881053400013f38e2354f1479c88c9067039a0
Date: 2025-09-29T03:10:26.099Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.6.0

Any updates on this one?

It’s a bit annoying having to copy/paste the entire terminal output constantly to the agent instead of just tagging it in the conversation.

Hey, which version of Cursor are you using?

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Agent cannot see the output from terminal

Steps to Reproduce

Just ask agent to run some command that would produce the output from terminal.

Expected Behavior

There is an output in terminal and agent can see it.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.33
VSCode Version: 1.99.3
Commit: a84f941711ad680a635c8a3456002833186c4840
Date: 2025-10-03T03:28:06.574Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Version: 1.7.17
VSCode Version: 1.99.3
Commit: 34881053400013f38e2354f1479c88c9067039a0
Date: 2025-09-29T03:10:26.099Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.6.0

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The @Terminal tag works and I can select the correct console terminal from the list, but the content of the terminal is not attached to the chat.
When I ask the following:
Examing the console log here: @bash

I get the following:

The user wants me to examine console log for the application. I need to look for log files or run the application to see what's being logged to the console. Let me first check what log files might exist and also look at the application code to understand what logging is happening.
Let me start by searching for log files and understanding the logging setup in the application.

It has no context at all.

I know there is a workaround, but when will this in-chat feature get fixed?

Steps to Reproduce

Type @Terminal and select a terminal output to attach to chat.
Chat will have no context

Expected Behavior

Chat can read and analyze the log output

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.33 (user setup)
VSCode Version: 1.99.3
Commit: a84f941711ad680a635c8a3456002833186c4840
Date: 2025-10-03T03:28:06.574Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

For AI issues: which model did you use?

Sonned 4.5

Does this stop you from using Cursor

No - Cursor works, but with this issue

I’ve just updated, and same issue:

Version: 1.7.38
VSCode Version: 1.99.3
Commit: fe5d1728063e86edeeda5bebd2c8e14bf4d0f960
Date: 2025-10-06T18:18:58.523Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.6.0

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

If I try to attach a currently running terminal to a new chat (including but not limited to sandbox terminals spawned in an earlier conversation), it doesn’t work. If I click the “@” and type “term”, all I get is the option “Add new terminal”.

If I type “@terminal” I can pick any of them, but it doesn’t actually add the terminal to the chat, just a reference that doesn’t hold any information.

This is pretty annoying because I don’t want to have to restart my frontend and backend each time I switch between conversations.

I use WSL.

Steps to Reproduce

  • first start a terminal
  • then start a new chat
  • terminal cannot be added to chat :cry:

Expected Behavior

I can type “@term”, pick one, and that terminal will get added to the chat context.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.39 (user setup)
VSCode Version: 1.99.3
Commit: a9c77ceae65b77ff772d6adfe05f24d8ebcb2790
Date: 2025-10-08T00:33:20.352Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue