Add Expand/Collapse for Agent responses in chat

Feature request for product/service

Cursor IDE

Describe the request

Currently, user prompts in the Agent chat support Expand/Collapse, which is great for keeping the chat flow readable. However, Agent responses (return) do not have Expand/Collapse functionality.

When an Agent performs complex, multi-step tasks (e.g., automated browser screenshots with stitching, multi-file code generation), the responses can become very long, making it difficult to scroll through the conversation and find specific steps.

Request: Please add Expand/Collapse support for Agent responses, similar to how user prompts work today.

Benefits:

Easier navigation in long Agent conversations
Better readability when reviewing multi-step task results
Consistent UX between prompts and responses

Operating System (if it applies)

Windows 10/11