The agent chat UI displays the same assistant reply twice. The web app the agent was editing only shows the related message once, so this is a Cursor chat rendering issue, not the app.
The duplicated text was a single assistant turn: 自動保存成功時は、画面上部の緑フラッシュで「保存しました」と出すようにしました(Swal 前と同じ見た目)。PR: …
Selecting that text in chat also produced two identical chat selections of the same paragraph.
Steps to Reproduce
Open a Cloud Agent conversation (agent id bc-bbbcfdba-88af-44e3-86cd-fb94542bb38d).
The agent posts one short reply about an autosave flash message.
In the Cursor chat, that same paragraph is shown twice.
The web app the agent changed shows only one flash message.
The same duplicated chat text was still visible after moving the conversation to a local agent.
From what we can see, the agent wrote that reply only once. The second copy most likely came from the chat view redrawing the conversation when Cursor reconnected to the cloud agent after the reply had finished. When you move a cloud agent to a local agent, the chat is carried over as it was shown, which is why the duplicate is still there afterwards. It looks like a display issue only: your code and the PR shouldn’t be affected.
To help us confirm, could you check two things?
Open the original cloud agent at cursor.com/agents (it may be under archived agents now) and see whether that reply shows once or twice there.
Let us know whether you were in the Agents Window or the chat panel in the editor, and whether the Cursor window was in the background or your Mac was asleep when the reply arrived.
If it happens again, it would also help to know whether running “Developer: Reload Window” from the command palette, before moving the agent to local, makes the extra copy go away.
1. I opened the original cloud agent in the browser. The reply shows only once there. The duplicate was only in the Cursor chat view, not on that page.
2. The Cursor window was in the foreground when the reply arrived. It was not in the background. This was the Cloud Agent conversation, which I later moved to a local agent. The extra copy was already in that chat and stayed after the move.
I have not seen it happen again, so I have not tried Developer: Reload Window yet.
Since the reply shows only once on cursor.com/agents, the extra copy came from how the Cursor desktop app displayed the conversation, not from the agent itself. Your code and the PR are not affected. I’ve passed this on to the team with the details you shared.
One more thing that would help: was the conversation open in the Agents Window, or in the chat panel inside an editor window?
If it happens again, try running “Developer: Reload Window” from the command palette before moving the agent to local, and let us know whether the extra copy goes away.