Where does the bug appear (feature/product)?
Cursor SDK
Describe the Bug
Summary
We are seeing intermittent production Cursor Cloud Agent runs where the SDK reports the run as finished, and usage/enrichment shows nonzero output tokens, but no assistant output is available from any SDK surface.
Stream Replay Detail
For run-f37134be-xxxxxxxxxxx-97b323f7c873, replaying the stream via Agent.getRun(…).stream() produced only:
[
{ "type": "status", "status": "FINISHED" },
{ "type": "status", "status": "FINISHED" }
]
There were no assistant events.
For a nearby healthy run, the same stream replay included many assistant events and run.wait().result contained non-empty text.
Pattern
This is intermittent and cross-surface:
- It is not tied to a single worker pod.
- Bad runs consistently have very low stream event counts, usually 2-4.
- The run is marked finished, not error.
- Usage can show nonzero output tokens even though no assistant text is available.
Impact
Our production integrations treat finished as success. When finished runs have empty assistant output, users receive blank replies.
Questions
- Is this related to Composer 2.5 / Composer 2.5 Fast capacity or model routing?
- Should SDK clients treat finished + undefined result + no assistantMessage as a retryable failure?
- Does @cursor/sdk 1.0.23 include any fix for this exact finished state, or only better error surfacing for status: “error” runs?
Steps to Reproduce
run.status is finished
run.wait() resolves with status: “finished”
run.wait().result is undefined
run.conversation() contains the user turn but no assistantMessage
Replaying run.stream() returns only FINISHED status events and no assistant events
Expected Behavior
Expected Behavior
If a run finishes successfully and reports nonzero output tokens, the assistant response should be available through at least one SDK surface:
run.wait().result
run.conversation() as an assistantMessage
run.stream() assistant events
If no assistant response can be produced, the run should not be marked as finished; it should return error with actionable error details.
Operating System
Linux
Version Information
SDK: @cursor/sdk 1.0.19 at the time of the affected production runs
Runtime: Cursor Cloud Agents
Node: >=22
Model reported in our task analytics: composer-2.5+standard
For AI issues: which model did you use?
composer-2.5
Does this stop you from using Cursor
Yes - Cursor is unusable
