700fe91bec
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / publish-webapp (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker-v4 (push) Has been skipped
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @trigger.dev/build@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.3.3` ## trigger.dev@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.3.3` - `@trigger.dev/build@4.3.3` - `@trigger.dev/schema-to-json@4.3.3` ## @trigger.dev/core@4.3.3 ### 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)) - Fix batch trigger failing with "ReadableStream is locked" error when network failures occur mid-stream. Added safe stream cancellation that gracefully handles locked streams during retry attempts. ([#2917](https://github.com/triggerdotdev/trigger.dev/pull/2917)) - Add a maxDepth to flatten/unflattenAttributes to prevent possible issues ([#2890](https://github.com/triggerdotdev/trigger.dev/pull/2890)) ## @trigger.dev/python@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/sdk@4.3.3` - `@trigger.dev/core@4.3.3` - `@trigger.dev/build@4.3.3` ## @trigger.dev/react-hooks@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.3.3` ## @trigger.dev/redis-worker@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.3.3` ## @trigger.dev/rsc@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.3.3` ## @trigger.dev/schema-to-json@4.3.3 ### Patch Changes - Updated dependencies: - `@trigger.dev/core@4.3.3` ## @trigger.dev/sdk@4.3.3 ### 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` --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
132 lines
3.1 KiB
JSON
132 lines
3.1 KiB
JSON
{
|
|
"name": "@trigger.dev/sdk",
|
|
"version": "4.3.3",
|
|
"description": "trigger.dev Node.JS SDK",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/triggerdotdev/trigger.dev",
|
|
"directory": "packages/trigger-sdk"
|
|
},
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"tshy": {
|
|
"selfLink": false,
|
|
"main": true,
|
|
"module": true,
|
|
"project": "./tsconfig.build.json",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": "./src/v3/index.ts",
|
|
"./v3": "./src/v3/index.ts",
|
|
"./ai": "./src/v3/ai.ts"
|
|
},
|
|
"sourceDialects": [
|
|
"@triggerdotdev/source"
|
|
]
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"v3": [
|
|
"dist/commonjs/v3/index.d.ts"
|
|
],
|
|
"ai": [
|
|
"dist/commonjs/v3/ai.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist .tshy .tshy-build .turbo",
|
|
"build": "tshy && pnpm run update-version",
|
|
"dev": "tshy --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest",
|
|
"update-version": "tsx ../../scripts/updateVersion.ts",
|
|
"check-exports": "attw --pack ."
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "1.9.0",
|
|
"@opentelemetry/semantic-conventions": "1.36.0",
|
|
"@trigger.dev/core": "workspace:4.3.3",
|
|
"chalk": "^5.2.0",
|
|
"cronstrue": "^2.21.0",
|
|
"debug": "^4.3.4",
|
|
"evt": "^2.4.13",
|
|
"slug": "^6.0.0",
|
|
"ulid": "^2.3.0",
|
|
"uncrypto": "^0.1.3",
|
|
"uuid": "^9.0.0",
|
|
"ws": "^8.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.15.4",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/slug": "^5.0.3",
|
|
"@types/uuid": "^9.0.0",
|
|
"@types/ws": "^8.5.3",
|
|
"ai": "^6.0.0",
|
|
"encoding": "^0.1.13",
|
|
"rimraf": "^3.0.2",
|
|
"tshy": "^3.0.2",
|
|
"tsx": "4.17.0",
|
|
"typed-emitter": "^2.1.0",
|
|
"zod": "3.25.76"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^3.0.0 || ^4.0.0",
|
|
"ai": "^4.2.0 || ^5.0.0 || ^6.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"ai": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18.20.0"
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"@triggerdotdev/source": "./src/v3/index.ts",
|
|
"types": "./dist/esm/v3/index.d.ts",
|
|
"default": "./dist/esm/v3/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/v3/index.d.ts",
|
|
"default": "./dist/commonjs/v3/index.js"
|
|
}
|
|
},
|
|
"./v3": {
|
|
"import": {
|
|
"@triggerdotdev/source": "./src/v3/index.ts",
|
|
"types": "./dist/esm/v3/index.d.ts",
|
|
"default": "./dist/esm/v3/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/v3/index.d.ts",
|
|
"default": "./dist/commonjs/v3/index.js"
|
|
}
|
|
},
|
|
"./ai": {
|
|
"import": {
|
|
"@triggerdotdev/source": "./src/v3/ai.ts",
|
|
"types": "./dist/esm/v3/ai.d.ts",
|
|
"default": "./dist/esm/v3/ai.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/v3/ai.d.ts",
|
|
"default": "./dist/commonjs/v3/ai.js"
|
|
}
|
|
}
|
|
},
|
|
"main": "./dist/commonjs/v3/index.js",
|
|
"types": "./dist/commonjs/v3/index.d.ts",
|
|
"module": "./dist/esm/v3/index.js"
|
|
}
|