@trigger.dev/sdk 4.0.0-v4-beta.28 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -9
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,28 +4,48 @@
|
|
|
4
4
|
<source media="(prefers-color-scheme: light)" srcset="https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/3f5ad4c1-c4c8-4277-b622-290e7f37bd00/public">
|
|
5
5
|
<img alt="Trigger.dev logo" src="https://imagedelivery.net/3TbraffuDZ4aEf8KWOmI_w/a45d1fa2-0ae8-4a39-4409-f4f934bfae00/public">
|
|
6
6
|
</picture>
|
|
7
|
-
|
|
8
|
-
### Open source background jobs with no timeouts
|
|
9
7
|
|
|
10
|
-
[
|
|
8
|
+
[](https://www.npmjs.com/package/@trigger.dev/sdk)
|
|
9
|
+
[](https://www.npmjs.com/package/@trigger.dev/sdk)
|
|
10
|
+
[](https://github.com/triggerdotdev/trigger.dev)
|
|
11
|
+
[](https://www.typescriptlang.org/)
|
|
12
|
+
[](https://opensource.org/licenses/MIT)
|
|
13
|
+
[](https://github.com/triggerdotdev/trigger.dev)
|
|
11
14
|
|
|
12
|
-
[
|
|
15
|
+
[Discord](https://trigger.dev/discord) | [Website](https://trigger.dev) | [Issues](https://github.com/triggerdotdev/trigger.dev/issues) | [Docs](https://trigger.dev/docs) | [Examples](https://trigger.dev/docs/examples)
|
|
13
16
|
|
|
14
17
|
</div>
|
|
15
18
|
|
|
16
19
|
# Official TypeScript SDK for Trigger.dev
|
|
17
20
|
|
|
18
|
-
The Trigger.dev SDK is a TypeScript/JavaScript library that allows you to define and trigger tasks in your
|
|
21
|
+
The Trigger.dev SDK is a TypeScript/JavaScript library that allows you to define and trigger tasks in your projects.
|
|
19
22
|
|
|
20
|
-
## About
|
|
23
|
+
## About Trigger.dev
|
|
21
24
|
|
|
22
|
-
Trigger.dev is an open source platform and
|
|
25
|
+
Trigger.dev is an open source platform for building and deploying fully-managed AI agents and workflows. Write workflows in normal async TypeScript for everything from simple tasks to long-running AI agents, heavy media processing, complex real-time systems and more. Complete with full observability, managed queues, and elastic infrastructure which handles the horizontal scaling.
|
|
26
|
+
|
|
27
|
+
## Core features
|
|
28
|
+
|
|
29
|
+
- Task creation and execution
|
|
30
|
+
- CLI for development and deployment
|
|
31
|
+
- Build system with extensions
|
|
32
|
+
- Management API for runs, schedules, and environment variables
|
|
33
|
+
|
|
34
|
+
## Key Components:
|
|
35
|
+
|
|
36
|
+
- Tasks: Background jobs written in TypeScript/JavaScript
|
|
37
|
+
- CLI: Commands for login, init, dev, deploy
|
|
38
|
+
- Build Extensions: Customize builds (Prisma, Python, FFmpeg, etc.)
|
|
39
|
+
- Management API: Programmatic control over runs and resources
|
|
23
40
|
|
|
24
41
|
## Getting started
|
|
25
42
|
|
|
26
|
-
|
|
43
|
+
There are two ways to get started:
|
|
44
|
+
|
|
45
|
+
1. Create an account in our [web app](https://cloud.trigger.dev), create a new project and follow the instructions in the onboarding. Build and deploy your first task in minutes.
|
|
46
|
+
2. [Manual setup](https://trigger.dev/docs/manual-setup) in your existing project.
|
|
27
47
|
|
|
28
|
-
## SDK
|
|
48
|
+
## SDK documentation
|
|
29
49
|
|
|
30
50
|
For more information on our SDK, refer to our [docs](https://trigger.dev/docs/introduction).
|
|
31
51
|
|
package/dist/commonjs/version.js
CHANGED
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "4.0.
|
|
1
|
+
export const VERSION = "4.0.1";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trigger.dev/sdk",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "trigger.dev Node.JS SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@opentelemetry/api": "1.9.0",
|
|
45
45
|
"@opentelemetry/semantic-conventions": "1.36.0",
|
|
46
|
-
"@trigger.dev/core": "4.0.
|
|
46
|
+
"@trigger.dev/core": "4.0.1",
|
|
47
47
|
"chalk": "^5.2.0",
|
|
48
48
|
"cronstrue": "^2.21.0",
|
|
49
49
|
"debug": "^4.3.4",
|