@trigger.dev/sdk 4.5.11 → 4.5.12
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/dist/commonjs/v3/ai.js +6 -19
- package/dist/commonjs/v3/ai.js.map +1 -1
- package/dist/commonjs/v3/auth.d.ts +3 -3
- package/dist/commonjs/v3/chat-client.d.ts +5 -4
- package/dist/commonjs/v3/chat-client.js +2 -6
- package/dist/commonjs/v3/chat-client.js.map +1 -1
- package/dist/commonjs/v3/retry.d.ts +1 -1
- package/dist/commonjs/v3/retry.js +1 -2
- package/dist/commonjs/v3/retry.js.map +1 -1
- package/dist/commonjs/v3/runs.d.ts +2 -6
- package/dist/commonjs/v3/runs.js.map +1 -1
- package/dist/commonjs/v3/schedules/api.d.ts +8 -1
- package/dist/commonjs/v3/schedules/index.d.ts +11 -6
- package/dist/commonjs/v3/schedules/index.js +2 -0
- package/dist/commonjs/v3/schedules/index.js.map +1 -1
- package/dist/commonjs/v3/schedules/index.test.d.ts +1 -0
- package/dist/commonjs/v3/schedules/index.test.js +49 -0
- package/dist/commonjs/v3/schedules/index.test.js.map +1 -0
- package/dist/commonjs/v3/schedules/index.types.test.d.ts +1 -0
- package/dist/commonjs/v3/schedules/index.types.test.js +93 -0
- package/dist/commonjs/v3/schedules/index.types.test.js.map +1 -0
- package/dist/commonjs/v3/shared.d.ts +2 -3
- package/dist/commonjs/v3/shared.js +14 -0
- package/dist/commonjs/v3/shared.js.map +1 -1
- package/dist/commonjs/v3/test/mock-chat-agent.d.ts +1 -1
- package/dist/commonjs/v3/test/mock-chat-agent.js.map +1 -1
- package/dist/commonjs/v3/test/test-session-handle.d.ts +1 -31
- package/dist/commonjs/v3/test/test-session-handle.js +0 -2
- package/dist/commonjs/v3/test/test-session-handle.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/ai.js +6 -19
- package/dist/esm/v3/ai.js.map +1 -1
- package/dist/esm/v3/auth.d.ts +3 -3
- package/dist/esm/v3/chat-client.d.ts +5 -4
- package/dist/esm/v3/chat-client.js +2 -6
- package/dist/esm/v3/chat-client.js.map +1 -1
- package/dist/esm/v3/retry.d.ts +1 -1
- package/dist/esm/v3/retry.js +1 -2
- package/dist/esm/v3/retry.js.map +1 -1
- package/dist/esm/v3/runs.d.ts +2 -6
- package/dist/esm/v3/runs.js.map +1 -1
- package/dist/esm/v3/schedules/api.d.ts +8 -1
- package/dist/esm/v3/schedules/index.d.ts +11 -6
- package/dist/esm/v3/schedules/index.js +2 -0
- package/dist/esm/v3/schedules/index.js.map +1 -1
- package/dist/esm/v3/schedules/index.test.d.ts +1 -0
- package/dist/esm/v3/schedules/index.test.js +47 -0
- package/dist/esm/v3/schedules/index.test.js.map +1 -0
- package/dist/esm/v3/schedules/index.types.test.d.ts +1 -0
- package/dist/esm/v3/schedules/index.types.test.js +91 -0
- package/dist/esm/v3/schedules/index.types.test.js.map +1 -0
- package/dist/esm/v3/shared.d.ts +2 -3
- package/dist/esm/v3/shared.js +15 -1
- package/dist/esm/v3/shared.js.map +1 -1
- package/dist/esm/v3/test/mock-chat-agent.d.ts +1 -1
- package/dist/esm/v3/test/mock-chat-agent.js.map +1 -1
- package/dist/esm/v3/test/test-session-handle.d.ts +1 -31
- package/dist/esm/v3/test/test-session-handle.js +1 -1
- package/dist/esm/v3/test/test-session-handle.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/docs/apikeys.mdx +159 -27
- package/docs/realtime/auth.mdx +3 -1
- package/docs/self-hosting/env/supervisor.mdx +1 -0
- package/docs/tasks/scheduled.mdx +45 -0
- package/package.json +3 -15
package/docs/apikeys.mdx
CHANGED
|
@@ -1,54 +1,186 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "API keys"
|
|
3
|
-
description: "
|
|
3
|
+
description: "Authenticate backend requests with environment-specific API keys."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**API keys authenticate backend requests to a specific Trigger.dev project and environment.** Each environment can have multiple keys, with optional scopes and restrictions attached.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
<Warning>
|
|
9
|
+
API keys grant access to your Trigger.dev environment. Store them in a secret manager or backend
|
|
10
|
+
environment variable, never commit them to source control, and never expose them in frontend code.
|
|
11
|
+
</Warning>
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
## Find your API keys
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
Open your project in the dashboard, select an environment, and open the [**API keys**](https://cloud.trigger.dev/_/apikeys) page.
|
|
16
|
+
|
|
17
|
+
API keys belong to one environment. A Development key cannot access Production, and a Production key cannot access Staging.
|
|
13
18
|
|
|
14
19
|
<Note>
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
Every team member has their own Development environment and keys. Copy the Development key from
|
|
21
|
+
your own API keys page so local requests run against your machine.
|
|
17
22
|
</Note>
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
## Configure the SDK
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
Set `TRIGGER_SECRET_KEY` in your backend environment. The SDK reads it automatically for operations such as triggering tasks and retrieving runs.
|
|
22
27
|
|
|
23
28
|
```bash .env
|
|
24
|
-
TRIGGER_SECRET_KEY="
|
|
25
|
-
|
|
29
|
+
TRIGGER_SECRET_KEY="tr_prod_sk_…"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
To configure the SDK in code, pass the key to `configure`:
|
|
33
|
+
|
|
34
|
+
```ts Your backend code
|
|
35
|
+
import { configure, tasks } from "@trigger.dev/sdk";
|
|
36
|
+
import type { sendEmail } from "./trigger/send-email";
|
|
37
|
+
|
|
38
|
+
configure({
|
|
39
|
+
secretKey: process.env.TRIGGER_SECRET_KEY,
|
|
40
|
+
previewBranch: "my-branch", // Only needed for preview branches
|
|
41
|
+
baseURL: "https://mytrigger.example.com", // Optional
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
await tasks.trigger<typeof sendEmail>("send-email", {
|
|
45
|
+
to: "user@example.com",
|
|
46
|
+
});
|
|
26
47
|
```
|
|
27
48
|
|
|
28
|
-
|
|
49
|
+
If you self-host Trigger.dev, set `TRIGGER_API_URL` or pass `baseURL` to `configure`:
|
|
29
50
|
|
|
30
51
|
```bash .env
|
|
52
|
+
TRIGGER_SECRET_KEY="tr_prod_…"
|
|
31
53
|
TRIGGER_API_URL="https://trigger.example.com"
|
|
32
|
-
TRIGGER_PREVIEW_BRANCH="my-branch" # Only needed for preview branches
|
|
33
54
|
```
|
|
34
55
|
|
|
35
|
-
The default URL is `https://api.trigger.dev`.
|
|
56
|
+
The default API URL is `https://api.trigger.dev`.
|
|
57
|
+
|
|
58
|
+
## Create a key
|
|
36
59
|
|
|
37
|
-
|
|
60
|
+
Create a separate key for each service or integration that accesses Trigger.dev.
|
|
38
61
|
|
|
39
|
-
|
|
62
|
+
<Note>
|
|
63
|
+
Creating and revoking keys requires permission to manage API keys for the selected environment.
|
|
64
|
+
The dashboard disables these actions when your role does not have permission.
|
|
65
|
+
</Note>
|
|
40
66
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
67
|
+
<Steps titleSize="h3">
|
|
68
|
+
<Step title="Open the API keys page">
|
|
69
|
+
Select the project and environment the integration needs to access, then open [**API keys**](https://cloud.trigger.dev/_/apikeys).
|
|
70
|
+
</Step>
|
|
71
|
+
<Step title="Create the key">
|
|
72
|
+
Click **New API key**, enter a descriptive name, and optionally set an expiration date. Names can
|
|
73
|
+
contain up to 64 characters.
|
|
74
|
+
</Step>
|
|
75
|
+
<Step title="Choose its access">
|
|
76
|
+
Select an access preset. For task-aware presets, choose all tasks or up to 10 task identifiers.
|
|
77
|
+
</Step>
|
|
78
|
+
<Step title="Copy and store the secret">
|
|
79
|
+
Copy the key into your secret manager or backend environment. Trigger.dev shows the complete
|
|
80
|
+
value only once.
|
|
81
|
+
</Step>
|
|
82
|
+
</Steps>
|
|
83
|
+
|
|
84
|
+
## Access presets
|
|
85
|
+
|
|
86
|
+
Access presets define what a key can do. Some presets require a paid plan. The dashboard shows which presets your organization can use — see [pricing](https://trigger.dev/pricing).
|
|
87
|
+
|
|
88
|
+
| Preset | Access |
|
|
89
|
+
| --- | --- |
|
|
90
|
+
| **Trigger only** | Trigger runs and batches for all or selected tasks. Trigger responses include scoped public access tokens for the runs and batches they create |
|
|
91
|
+
| **Task operator** | Trigger all or selected tasks and inspect or operate on their runs |
|
|
92
|
+
| **Observer** | Read runs, tasks, batches, logs, traces, and queues |
|
|
93
|
+
| **Operator** | Observe and operate on runs and queues, and trigger tasks |
|
|
94
|
+
| **Deploy only** | Deploy versions, sync environment variables, and manage Preview branches |
|
|
95
|
+
| **Variables only** | Read and write environment variables in this environment |
|
|
96
|
+
| **No restrictions** | Full access to the environment |
|
|
97
|
+
|
|
98
|
+
**Trigger only** and **Task operator** can be restricted to selected tasks. Task restrictions use task identifiers, such as `send-email`. A request involving multiple tasks — such as a batch trigger — succeeds only when the key can access every task in the request, so a task-restricted key can batch-trigger only its selected tasks.
|
|
99
|
+
|
|
100
|
+
## Deploy with an API key
|
|
101
|
+
|
|
102
|
+
Set a key in `TRIGGER_ACCESS_TOKEN` to authenticate `trigger deploy` without logging in.
|
|
103
|
+
|
|
104
|
+
<CodeGroup>
|
|
105
|
+
|
|
106
|
+
```bash npm
|
|
107
|
+
TRIGGER_ACCESS_TOKEN="tr_prod_sk_…" npx trigger.dev@latest deploy
|
|
108
|
+
```
|
|
109
|
+
</CodeGroup>
|
|
44
110
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
111
|
+
The key must belong to the target environment. Use a Production key for the default deployment, a Staging key with `--env staging`, or a key from the Preview environment with `--env preview`. A Preview deployment key can create and archive Preview branches and sync their environment variables.
|
|
112
|
+
|
|
113
|
+
<Note>
|
|
114
|
+
The deploy CLI reads environment API keys from `TRIGGER_ACCESS_TOKEN`, not
|
|
115
|
+
`TRIGGER_SECRET_KEY`. Setting an API key in `TRIGGER_ACCESS_TOKEN` takes precedence over a saved
|
|
116
|
+
CLI login.
|
|
117
|
+
</Note>
|
|
118
|
+
|
|
119
|
+
## Expire and revoke keys
|
|
120
|
+
|
|
121
|
+
Set an expiration date when creating a key if the integration only needs temporary access. An expired key stops authenticating automatically.
|
|
50
122
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
123
|
+
Revoking a key takes effect immediately and cannot be reversed. Requests using the key fail, and the key can no longer create public access tokens. Create a replacement before revoking a key when you need to rotate it without interrupting the integration.
|
|
124
|
+
|
|
125
|
+
Removing a team member does not revoke keys they created. Review and revoke their keys separately when their access changes.
|
|
126
|
+
|
|
127
|
+
## Root keys
|
|
128
|
+
|
|
129
|
+
<Warning>
|
|
130
|
+
Root keys are legacy, and are likely to be deprecated in the future. We recommend against using them.
|
|
131
|
+
</Warning>
|
|
132
|
+
|
|
133
|
+
Each environment has a single legacy root key. It can be regenerated, which creates a new value immediately. The previous root key remains valid for 24 hours so you can update services without downtime, then stops authenticating.
|
|
134
|
+
|
|
135
|
+
Public access tokens signed with the previous root key remain valid until the earlier of their own expiration and the end of the 24-hour grace period.
|
|
136
|
+
|
|
137
|
+
## Create public access tokens
|
|
138
|
+
|
|
139
|
+
API keys can be used to create scoped [Public Access Tokens](/realtime/auth) using `auth.createPublicToken()`.
|
|
140
|
+
|
|
141
|
+
To do so with the newer non-root keys, you must use `@trigger.dev/sdk` version 4.5.8 or later. Creating public tokens with non-root keys has the following restrictions:
|
|
142
|
+
|
|
143
|
+
- The token must request at least one scope.
|
|
144
|
+
- Its scopes cannot exceed the key's access.
|
|
145
|
+
- Its expiration cannot exceed 30 days.
|
|
146
|
+
|
|
147
|
+
<Note>
|
|
148
|
+
Revoking or expiring an API key does not revoke tokens it already created. Those tokens remain valid until their own expiration, unless the environment's root key is regenerated.
|
|
149
|
+
</Note>
|
|
150
|
+
|
|
151
|
+
## Target Preview and Development branches
|
|
152
|
+
|
|
153
|
+
Preview and named Development branches use their parent environment's keys. Select the branch by setting `TRIGGER_PREVIEW_BRANCH` alongside the environment key:
|
|
154
|
+
|
|
155
|
+
```bash .env
|
|
156
|
+
TRIGGER_SECRET_KEY="tr_preview_sk_…"
|
|
157
|
+
TRIGGER_PREVIEW_BRANCH="feature/new-checkout"
|
|
54
158
|
```
|
|
159
|
+
|
|
160
|
+
The SDK sends the branch automatically. When calling the API directly, send the same value in the `x-trigger-branch` header.
|
|
161
|
+
|
|
162
|
+
## Self-hosting
|
|
163
|
+
|
|
164
|
+
Self-hosted installations support multiple keys with **No restrictions**. The restricted access presets are available in Trigger.dev Cloud.
|
|
165
|
+
|
|
166
|
+
Keep your instance and SDK current before creating keys. Calling a public-token API with a key on a server that does not support server-minted tokens returns an upgrade error; use the root key until the server is upgraded.
|
|
167
|
+
|
|
168
|
+
## Security recommendations
|
|
169
|
+
|
|
170
|
+
- Create one key per service or integration instead of sharing keys.
|
|
171
|
+
- Choose the narrowest access preset and task selection that supports the integration.
|
|
172
|
+
- Store keys in a secret manager and inject them as backend environment variables.
|
|
173
|
+
- Set expiration dates for temporary integrations and deployment credentials.
|
|
174
|
+
- Revoke keys when an integration or team member no longer needs access.
|
|
175
|
+
- Never put an API key in frontend code. Use scoped [Public Access Tokens](/realtime/auth) for client-side access.
|
|
176
|
+
|
|
177
|
+
## Next steps
|
|
178
|
+
|
|
179
|
+
<CardGroup cols={2}>
|
|
180
|
+
<Card title="Trigger tasks" icon="bolt" href="/triggering">
|
|
181
|
+
Trigger tasks from your backend with an environment API key.
|
|
182
|
+
</Card>
|
|
183
|
+
<Card title="Realtime authentication" icon="key" href="/realtime/auth">
|
|
184
|
+
Create scoped public tokens for frontend and realtime access.
|
|
185
|
+
</Card>
|
|
186
|
+
</CardGroup>
|
package/docs/realtime/auth.mdx
CHANGED
|
@@ -128,9 +128,11 @@ const publicToken = await auth.createPublicToken({
|
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
- If `expirationTime` is a string, it will be treated as a time span
|
|
131
|
-
- If `expirationTime` is a number, it will be treated as a Unix timestamp
|
|
131
|
+
- If `expirationTime` is a number, it will be treated as a Unix timestamp in **seconds**
|
|
132
132
|
- If `expirationTime` is a `Date`, it will be treated as a date
|
|
133
133
|
|
|
134
|
+
When using non-root API keys (recommended), the expiration cannot be more than 30 days in the future.
|
|
135
|
+
|
|
134
136
|
The format used for a time span is the same as the [jose package](https://github.com/panva/jose), which is a number followed by a unit. Valid units are: "sec", "secs", "second", "seconds", "s", "minute", "minutes", "min", "mins", "m", "hour", "hours", "hr", "hrs", "h", "day", "days", "d", "week", "weeks", "w", "year", "years", "yr", "yrs", and "y". It is not possible to specify months. 365.25 days is used as an alias for a year. If the string is suffixed with "ago", or prefixed with a "-", the resulting time span gets subtracted from the current unix timestamp. A "from now" suffix can also be used for readability when adding to the current unix timestamp.
|
|
135
137
|
|
|
136
138
|
### Auto-generated tokens
|
|
@@ -48,6 +48,7 @@ mode: "wide"
|
|
|
48
48
|
| `KUBERNETES_NAMESPACE` | No | default | The namespace that runs should be in. |
|
|
49
49
|
| `KUBERNETES_WORKER_NODETYPE_LABEL` | No | v4-worker | Nodes for runs need `nodetype=<this>`. Empty: any node. |
|
|
50
50
|
| `KUBERNETES_RUNNER_TOLERATIONS` | No | — | Run pod tolerations. CSV: `key=value:effect`/`key:effect`. |
|
|
51
|
+
| `KUBERNETES_ORG_PLACEMENT_OVERRIDES` | No | — | Per-org run pod placement. JSON keyed by internal org ID. |
|
|
51
52
|
| `KUBERNETES_IMAGE_PULL_SECRETS` | No | — | Image pull secrets (CSV). |
|
|
52
53
|
| `KUBERNETES_EPHEMERAL_STORAGE_SIZE_LIMIT` | No | 10Gi | Ephemeral storage size limit. Applies to all runs. |
|
|
53
54
|
| `KUBERNETES_EPHEMERAL_STORAGE_SIZE_REQUEST` | No | 2Gi | Ephemeral storage size request. Applies to all runs. |
|
package/docs/tasks/scheduled.mdx
CHANGED
|
@@ -140,6 +140,50 @@ To use imperative schedules you need to do two things:
|
|
|
140
140
|
1. Define a task in your code using `schedules.task()`.
|
|
141
141
|
2. Attach 1+ schedules to the task either using the dashboard or the SDK.
|
|
142
142
|
|
|
143
|
+
## Spreading runs with windows
|
|
144
|
+
|
|
145
|
+
By default a schedule runs at its exact cron time. When many schedules share the same cron pattern, such as a daily `0 9 * * *`, they all fire at the same time and load your downstream systems as well as ours. A **window** spreads those runs out: each schedule is assigned a stable time within the window after its cron time, so the load is smoothed while each schedule keeps firing at a predictable, repeatable moment.
|
|
146
|
+
|
|
147
|
+
The assigned time is deterministic. A given schedule always lands at the same offset for a given interval, so runs don't jump around between occurrences. And you can always see exactly when the next run will start.
|
|
148
|
+
|
|
149
|
+
Set a `window` as either:
|
|
150
|
+
|
|
151
|
+
- **An absolute duration** in whole minutes or hours, up to 24 hours: `"30m"`, `"2h"`, `"24h"`. Absolute windows are capped at the next cron time, so a run is never delayed past its following occurrence.
|
|
152
|
+
- **A percentage** of the interval between runs: `"30%"`, `"100%"`. A `"50%"` window on an hourly schedule spreads runs across the first 30 minutes of each hour.
|
|
153
|
+
|
|
154
|
+
Set `"0m"` (or `"0%"`) for no spreading — the run fires at its exact cron time.
|
|
155
|
+
|
|
156
|
+
Declarative schedules set the window on the `cron` object:
|
|
157
|
+
|
|
158
|
+
```ts
|
|
159
|
+
export const dailyReport = schedules.task({
|
|
160
|
+
id: "daily-report",
|
|
161
|
+
cron: {
|
|
162
|
+
pattern: "0 0 * * *",
|
|
163
|
+
// spread this run across the 30 minutes after midnight
|
|
164
|
+
window: "30m",
|
|
165
|
+
},
|
|
166
|
+
run: async (payload) => {},
|
|
167
|
+
});
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Imperative schedules set it when creating or updating a schedule, either in the dashboard form or through the SDK:
|
|
171
|
+
|
|
172
|
+
```ts
|
|
173
|
+
const createdSchedule = await schedules.create({
|
|
174
|
+
task: dailyReport.id,
|
|
175
|
+
cron: "0 0 * * *",
|
|
176
|
+
window: "30m",
|
|
177
|
+
deduplicationKey: "user_123456-daily-report",
|
|
178
|
+
});
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
<Note>
|
|
182
|
+
The payload `timestamp` and `upcoming` values are always the nominal cron times, not the assigned
|
|
183
|
+
times. When you retrieve a schedule, `nextRun` is the nominal cron time and `nextRunEffectiveAt`
|
|
184
|
+
is the assigned time the run will actually start.
|
|
185
|
+
</Note>
|
|
186
|
+
|
|
143
187
|
## Supported cron syntax
|
|
144
188
|
|
|
145
189
|
```
|
|
@@ -198,6 +242,7 @@ These are the options when creating a schedule:
|
|
|
198
242
|
| Task | The id of the task you want to attach to. |
|
|
199
243
|
| Cron pattern | The schedule in cron format. You can also describe it in natural language and press "Generate" to fill this in. |
|
|
200
244
|
| Timezone | The timezone the schedule will run in. Defaults to "UTC" |
|
|
245
|
+
| Window | An optional [window](#spreading-runs-with-windows) to spread runs after their cron time, e.g. `30m`, `2h`, or `50%`. |
|
|
201
246
|
| External id | An optional external id, usually you'd use a userId. |
|
|
202
247
|
| Deduplication key | An optional deduplication key. If you pass the same value, it will update rather than create. Scoped per project, not per environment. |
|
|
203
248
|
| Environments | The environments this schedule will run in. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trigger.dev/sdk",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.12",
|
|
4
4
|
"description": "trigger.dev Node.JS SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -66,30 +66,18 @@
|
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@opentelemetry/api": "1.9.1",
|
|
68
68
|
"@opentelemetry/semantic-conventions": "1.41.1",
|
|
69
|
-
"@trigger.dev/core": "4.5.
|
|
70
|
-
"
|
|
71
|
-
"cronstrue": "^2.21.0",
|
|
72
|
-
"debug": "^4.3.4",
|
|
73
|
-
"evt": "^2.4.13",
|
|
74
|
-
"slug": "^6.0.0",
|
|
75
|
-
"ulid": "^2.3.0",
|
|
76
|
-
"uncrypto": "^0.1.3",
|
|
77
|
-
"ws": "^8.11.0"
|
|
69
|
+
"@trigger.dev/core": "4.5.12",
|
|
70
|
+
"uncrypto": "^0.1.3"
|
|
78
71
|
},
|
|
79
72
|
"devDependencies": {
|
|
80
73
|
"@ai-sdk/provider": "3.0.8",
|
|
81
74
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
82
|
-
"@types/debug": "^4.1.7",
|
|
83
75
|
"@types/react": "^19.2.14",
|
|
84
|
-
"@types/slug": "^5.0.3",
|
|
85
|
-
"@types/ws": "^8.5.3",
|
|
86
76
|
"ai": "^6.0.116",
|
|
87
77
|
"ai-v7": "npm:ai@7.0.0-canary.159",
|
|
88
|
-
"encoding": "^0.1.13",
|
|
89
78
|
"rimraf": "^6.0.1",
|
|
90
79
|
"tshy": "^4.1.3",
|
|
91
80
|
"tsx": "4.17.0",
|
|
92
|
-
"typed-emitter": "^2.1.0",
|
|
93
81
|
"typescript": "7.0.2",
|
|
94
82
|
"zod": "3.25.76"
|
|
95
83
|
},
|