@trigger.dev/sdk@4.3.3
triggerdotdev/trigger.dev@trigger.dev/sdk@4.3.3Jan 23, 2026by github-actions[bot]
AI Summary
Patch release adding support for Vercel AI SDK v6 and exposing idempotency details in the task context.
Key Highlights
- Added support for AI SDK v6 (Vercel AI SDK)
- Exposed user-provided idempotency key and scope in task context
New Features
- Added support for AI SDK v6 (Vercel AI SDK)
- Exposed user-provided idempotency key and scope in task context
Full Release Notes
### Patch Changes
- Add support for AI SDK v6 (Vercel AI SDK) ([#2919](https://github.com/triggerdotdev/trigger.dev/pull/2919))
- Updated peer dependency to allow `ai@^6.0.0` alongside v4 and v5
- Updated internal code to handle async validation from AI SDK v6's Schema type
- Expose user-provided idempotency key and scope in task context. `ctx.run.idempotencyKey` now returns the original key passed to `idempotencyKeys.create()` instead of the hash, and `ctx.run.idempotencyKeyScope` shows the scope ("run", "attempt", or "global"). ([#2903](https://github.com/triggerdotdev/trigger.dev/pull/2903))
- Updated dependencies:
- `@trigger.dev/core@4.3.3`