Finding / cursor
2026-10-24-cursor-stable-sdk-updates-improve-background-work-and-failure-reporting-with-a-new-zod-dependency
Stable SDK updates improve background work and failure reporting, with a new zod dependency obligation. SDK 1.0.38 fixes background children being cancelled when their launching tool returns, persists required Max Mode, honors configurable MCP startup time, and surfaces Computer Use events. It requires the consuming project to supply a compatible zod. Version 1.0.39 adds Python failure codes/messages and fixes per-send MCP additions dropping configured servers. Version 1.0.40 can preserve streamed output in memory after local-store failure, while warning that a checkpoint may be unavailable.
Channel: tagged-release. Half: both. Date: 2026-10-16 and 2026-10-20.
Operator consequence: Upgrade with an explicit zod dependency and check child completion, error fields and checkpoint warnings in the embedding. These changes can remove retries and lifecycle glue, but a returned answer after a store failure is not proof that a run can resume after process exit. Do not replay streaming runs merely because one-off SDK requests acquired a transient retry.
Receipt
Finding metadata
Run: 2026-10-24-weekly-digest-2026-10-13_2026-10-24-frontier-v0
Finding ID: 2026-10-24-cursor-stable-sdk-updates-improve-background-work-and-failure-reporting-with-a-new-zod-dependency
Profile citations
- cursor / claim / stable-sdk-lifecycle-and-zod
Source links
Primary links, including exact changelog lines when available.
- official docs2026-10-24-cursor-stable-sdk-updates-improve-background-work-and-failure-reporting-with-a-new-zod-dependencyregistry.npmjs.org/@cursor/sdk/-/sdk-1.0.40.tgzofficial docs2026-10-24-cursor-stable-sdk-updates-improve-background-work-and-failure-reporting-with-a-new-zod-dependencyregistry.npmjs.org/@cursor/sdk/-/sdk-1.0.37.tgztagged commit file2026-10-24-cursor-stable-sdk-updates-improve-background-work-and-failure-reporting-with-a-new-zod-dependencycursor/sdk-bridge / proto/sdk/v1/sdk_messages.protoofficial docs2026-10-24-cursor-stable-sdk-updates-improve-background-work-and-failure-reporting-with-a-new-zod-dependencycursor.com/docs/release-notes/sdk