@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 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
- [Discord](https://trigger.dev/discord) | [Website](https://trigger.dev) | [Issues](https://github.com/triggerdotdev/trigger.dev/issues) | [Docs](https://trigger.dev/docs)
8
+ [![npm version](https://img.shields.io/npm/v/@trigger.dev/sdk.svg)](https://www.npmjs.com/package/@trigger.dev/sdk)
9
+ [![npm downloads](https://img.shields.io/npm/dm/@trigger.dev/sdk.svg)](https://www.npmjs.com/package/@trigger.dev/sdk)
10
+ [![GitHub stars](https://img.shields.io/github/stars/triggerdotdev/trigger.dev?style=social)](https://github.com/triggerdotdev/trigger.dev)
11
+ [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](https://www.typescriptlang.org/)
12
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
13
+ [![Open Source](https://img.shields.io/badge/Open%20Source-%E2%9D%A4-red)](https://github.com/triggerdotdev/trigger.dev)
11
14
 
12
- [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/triggerdotdev.svg?style=social&label=Follow%20%40trigger.dev)](https://twitter.com/triggerdotdev)
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 project.
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 SDK which allows you to create long-running background jobs. Write normal async code, deploy, and never hit a timeout.
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
- The quickest way to get started is to 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.
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 usage
48
+ ## SDK documentation
29
49
 
30
50
  For more information on our SDK, refer to our [docs](https://trigger.dev/docs/introduction).
31
51
 
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "4.0.0-v4-beta.28";
4
+ exports.VERSION = "4.0.1";
5
5
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const VERSION = "4.0.0-v4-beta.28";
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.0-v4-beta.28",
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.0-v4-beta.28",
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",