Stream Cursor Cloud Agent chat updates with richer empty-result errors - #68
Conversation
Prefer the Cloud Agents SSE run stream so AI Chat can show live status and assistant text, recover replies when terminal result is empty, and surface agent/run links when a run truly finishes without text. Co-authored-by: Damon <Modsofthenation@users.noreply.github.com>
|
Warning Review limit reached
Next review available in: 58 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
Comment |
Summary
AI Chat with the Cursor Cloud Agents provider used to block until the run finished, then show a bare
Cursor Cloud Agent finished with empty resultwhenrun.resultwas blank.This change:
/runs/{id}/streamSSE API into AI Chatresultfield is emptyJSON
POST /api/ai/chatremains supported; the UI requestsAccept: text/event-streamand falls back if needed. Polling is still used when the stream endpoint is unavailable (e.g. 410).Test plan
pnpm --filter @prm/api exec tsx --test src/ai.cursor.test.tspnpm --filter @prm/api typecheckpnpm --filter @prm/ui typecheck