What changed

Cursor SDK 1.5.0 adds shell-tool-call-delta events for live stdout and stderr, exact step-started and step-completed events for local model calls, usage accounting for interrupted runs and clearer local-agent reconnection state. It also fixes credential-file permissions and local store boundaries.

Why it matters

Agent hosts can render long-running shell work and account for interrupted runs without waiting for completion, while the permission and store fixes reduce local credential and workspace leakage risk.

What to do

Upgrade one disposable TypeScript or Python host, handle the new delta type exhaustively, interrupt a shell run and verify streamed output, step counts, usage lower bounds, reconnection events, credential permissions and workspace store isolation.

Caveat

This is the Cursor SDK release, not the Cursor IDE or CLI release. Usage on a cut-off turn remains a lower bound, and choosing a sandbox binary or local store shifts trust into operator-controlled components.