Composer Output Tail Truncation

Describe the Bug

I noticed having Composer1 run and execute scripts (npm run tests) prefers to use tail 20 and as a result when you expand in chat or jump into the terminal instance you get limited info to last 20 lines… It seems to prefer this for a lot of commands.

Steps to Reproduce

  1. Have agent run a command (npm run tests) which creates a inline terminal in the chat.
  2. Observe that the command requested to run is changed to include .. tail .. 20.
  3. Expand the inline terminal, click expand or open terminal you only see the last 20 lines and loose context.

Expected Behavior

  • When I ask it to run a command it should run that command as instructed.
  • If I have a CLAUDE, AGENT, .cursorrules rule defined sure that should overrule it but in this case it seems to be Composer1
  • It should change command if needs to adapt.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.0-pre.22.patch.0 (Universal)
VSCode Version: 1.99.3
Commit: 159f7e129f630c2fad0f644285bdb14cc8a6e000
Date: 2025-11-10T22:59:27.440Z (6 hrs ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

Composer1

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is interesting - the Agent shouldn’t add tail 20 to your commands unless it’s intentionally trying to limit output size.

Could you share:

  • A screenshot showing the command you requested vs what actually ran in the terminal (including the tail 20 addition)
  • A specific example where this happens (e.g., the exact prompt you gave to Composer)
  • Whether you have any custom .cursorrules or modes configured

For now, you can work around this by running the full command in a separate terminal to see the complete output.

I’ll escalate this to the team once we have those details. Let me know.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.