Browser “Select Element” insert doesn't put element at cursor position

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

“Select Element” inserts into chat at bottom of latest message instead of at cursor/caret

Steps to Reproduce

Open Agent chat and type some text in the input (or place the caret mid-message / mid-draft).
Start or use a browser session associated with the agent (browser tools / Simple Browser / agent browser).
Use Select Element (or the equivalent element-picker control).
Click a DOM element in the browser.
Observe where the selected-element reference is inserted in the Agent chat.

Expected Behavior

The selected element (reference / chip / mention) is inserted at the current caret position in the Agent chat input.

Actual behavior
The selected element is inserted at the bottom of the latest chat window / message area, not where the cursor is in the Agent chat input. The caret position is ignored.

Operating System

Linux

Version Information

Linux — Ubuntu 22.04.5 LTS (Jammy)
Kernel: 6.8.0-138-generic

Version: 3.23.12
VS Code Extension API: 1.128.0
Commit: 2d29876d567da1607532b23bbf2cd5ddbca496f0
Date: 2026-10-01T04:41:16.627Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Linux x64 6.8.0-138-generic

Additional Information

Feature: Agent chat + browser Select Element
Impact: Cannot attach a selected element to a specific place in a draft reply; context lands at the wrong place, which breaks mid-message edits and multi-element workflows.

Does this stop you from using Cursor

No - Cursor works, but with this issue