@trigger.dev/sdk 4.7.3 → 4.7.4

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.
Files changed (85) hide show
  1. package/dist/commonjs/v3/concurrencyLimits.d.ts +37 -7
  2. package/dist/commonjs/v3/concurrencyLimits.js +38 -70
  3. package/dist/commonjs/v3/concurrencyLimits.js.map +1 -1
  4. package/dist/commonjs/v3/index.d.ts +1 -1
  5. package/dist/commonjs/v3/index.js.map +1 -1
  6. package/dist/commonjs/v3/runs.d.ts +22 -1
  7. package/dist/commonjs/v3/runs.js +6 -3
  8. package/dist/commonjs/v3/runs.js.map +1 -1
  9. package/dist/commonjs/version.js +1 -1
  10. package/dist/esm/v3/concurrencyLimits.d.ts +37 -7
  11. package/dist/esm/v3/concurrencyLimits.js +38 -70
  12. package/dist/esm/v3/concurrencyLimits.js.map +1 -1
  13. package/dist/esm/v3/index.d.ts +1 -1
  14. package/dist/esm/v3/index.js.map +1 -1
  15. package/dist/esm/v3/runs.d.ts +22 -1
  16. package/dist/esm/v3/runs.js +6 -3
  17. package/dist/esm/v3/runs.js.map +1 -1
  18. package/dist/esm/version.js +1 -1
  19. package/docs/ai-chat/patterns/sub-agents.mdx +33 -0
  20. package/docs/apikeys.mdx +3 -3
  21. package/docs/billing-limits.mdx +1 -1
  22. package/docs/cli-env-commands.mdx +5 -4
  23. package/docs/cli-init-commands.mdx +27 -1
  24. package/docs/cli-login-commands.mdx +20 -0
  25. package/docs/cli-projects-commands.mdx +13 -1
  26. package/docs/cli-runs-commands.mdx +3 -2
  27. package/docs/cli-update-commands.mdx +9 -3
  28. package/docs/cli-whoami-commands.mdx +12 -0
  29. package/docs/concurrency.mdx +32 -0
  30. package/docs/config/extensions/audioWaveform.mdx +4 -1
  31. package/docs/config/extensions/overview.mdx +2 -0
  32. package/docs/config/extensions/prismaExtension.mdx +2 -3
  33. package/docs/config/extensions/puppeteer.mdx +3 -5
  34. package/docs/config/extensions/pythonExtension.mdx +9 -1
  35. package/docs/config/extensions/syncEnvVars.mdx +6 -0
  36. package/docs/deploy-environment-variables.mdx +1 -1
  37. package/docs/deployment/atomic-deployment.mdx +2 -0
  38. package/docs/deployment/dev-branches.mdx +5 -5
  39. package/docs/deployment/overview.mdx +8 -7
  40. package/docs/deployment/preview-branches.mdx +6 -3
  41. package/docs/errors-retrying.mdx +4 -4
  42. package/docs/how-it-works.mdx +5 -5
  43. package/docs/introduction.mdx +6 -0
  44. package/docs/limits.mdx +26 -8
  45. package/docs/logging.mdx +1 -1
  46. package/docs/machines.mdx +1 -1
  47. package/docs/mcp-introduction.mdx +8 -7
  48. package/docs/mcp-tools.mdx +15 -1
  49. package/docs/migrating-from-v3.mdx +1 -1
  50. package/docs/observability/dashboards.mdx +2 -0
  51. package/docs/observability/query.mdx +6 -2
  52. package/docs/private-networking/aws-console-setup.mdx +1 -1
  53. package/docs/private-networking/overview.mdx +1 -1
  54. package/docs/quick-start.mdx +3 -40
  55. package/docs/realtime/auth.mdx +1 -1
  56. package/docs/realtime/backend/input-streams.mdx +159 -0
  57. package/docs/realtime/backend/streams.mdx +25 -10
  58. package/docs/realtime/how-it-works.mdx +1 -1
  59. package/docs/realtime/react-hooks/overview.mdx +1 -1
  60. package/docs/realtime/react-hooks/streams.mdx +2 -2
  61. package/docs/realtime/react-hooks/subscribe.mdx +19 -3
  62. package/docs/realtime/react-hooks/triggering.mdx +2 -2
  63. package/docs/realtime/react-hooks/use-wait-token.mdx +1 -1
  64. package/docs/realtime/run-object.mdx +47 -24
  65. package/docs/replaying.mdx +26 -1
  66. package/docs/reports.mdx +4 -2
  67. package/docs/run-tests.mdx +2 -2
  68. package/docs/run-usage.mdx +3 -3
  69. package/docs/runs/heartbeats.mdx +2 -2
  70. package/docs/runs/list-best-practices.mdx +234 -0
  71. package/docs/runs/metadata.mdx +7 -10
  72. package/docs/runs.mdx +18 -8
  73. package/docs/self-hosting/env/supervisor.mdx +2 -0
  74. package/docs/self-hosting/env/webapp.mdx +5 -0
  75. package/docs/self-hosting/overview.mdx +26 -0
  76. package/docs/tags.mdx +6 -0
  77. package/docs/tasks/scheduled.mdx +11 -5
  78. package/docs/triggering.mdx +8 -0
  79. package/docs/troubleshooting-alerts.mdx +102 -3
  80. package/docs/troubleshooting.mdx +1 -1
  81. package/docs/upgrading-packages.mdx +3 -3
  82. package/docs/vercel-integration.mdx +13 -3
  83. package/docs/versioning.mdx +1 -1
  84. package/docs/wait-for-token.mdx +3 -3
  85. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"concurrencyLimits.js","sourceRoot":"","sources":["../../../src/v3/concurrencyLimits.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;;GAQG;AACH,MAAM,UAAU,IAAI,CAClB,OAAqC,EACrC,cAAkC;IAElC,MAAM,SAAS,GAAG,gBAAgB,CAAC,aAAa,EAAE,CAAC;IAEnD,MAAM,eAAe,GAAG,mBAAmB,CACzC;QACE,MAAM;QACN,IAAI,EAAE,0BAA0B;QAChC,IAAI,EAAE,OAAO;KACd,EACD,cAAc,CACf,CAAC;IAEF,OAAO,SAAS,CAAC,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AACnE,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,QAAQ,CACtB,IAAY,EACZ,cAAkC;IAElC,MAAM,SAAS,GAAG,gBAAgB,CAAC,aAAa,EAAE,CAAC;IAEnD,MAAM,eAAe,GAAG,mBAAmB,CACzC;QACE,MAAM;QACN,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;QACb,UAAU,EAAE;YACV,GAAG,iBAAiB,CAAC,EAAE,IAAI,EAAE,CAAC;YAC9B,GAAG,mBAAmB,CAAC;gBACrB,KAAK,EAAE,C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,gBAAgB,CAAC,aAAa,EAAE,CAAC;IAEnD,MAAM,eAAe,GAAG,mBAAmB,CACzC;QACE,MAAM;QACN,IAAI,EAAE,4BAA4B;QAClC,IAAI,EAAE,OAAO;QACb,UAAU,EAAE,eAAe,CAAC,IAAI,CAAC;KAClC,EACD,cAAc,CACf,CAAC;IAEF,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAC;AAC1E,CAAC"}
@@ -24,7 +24,7 @@ import type { Context } from "./shared.js";
24
24
  import type { ApiClientConfiguration, TaskRunContext } from "@trigger.dev/core/v3";
25
25
  export type { ApiClientConfiguration, TaskRunContext };
26
26
  export { ApiError, AuthenticationError, BadRequestError, ConflictError, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, UnprocessableEntityError, AbortTaskRunError, OutOfMemoryError, CompleteTaskWithOutput, ChatChunkTooLargeError, isChatChunkTooLargeError, logger, type LogLevel, } from "@trigger.dev/core/v3";
27
- export { runs, type RunShape, type AnyRunShape, type TaskRunShape, type RealtimeRun, type AnyRealtimeRun, type RetrieveRunResult, type AnyRetrieveRunResult, type BulkAction, } from "./runs.js";
27
+ export { runs, type RunShape, type AnyRunShape, type TaskRunShape, type RealtimeRun, type AnyRealtimeRun, type RetrieveRunResult, type AnyRetrieveRunResult, type BulkAction, type ReplayRunOptions, } from "./runs.js";
28
28
  export * as schedules from "./schedules/index.js";
29
29
  export { deployments, type RetrieveCurrentDeploymentResponseBody, type ApiDeploymentListResponseItem, } from "./deployments.js";
30
30
  export * as envvars from "./envvars.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v3/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAqB,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAA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OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { AnyRetrieveRunResult, AnyRunShape, ApiRequestOptions, CreateBulkCancelActionOptions, CreateBulkReplayActionOptions, InferRunTypes, ListBulkActionsQueryParams, ListProjectRunsQueryParams, ListRunsQueryParams, RescheduleRunRequestBody, RetrieveRunResult, RunShape, RealtimeRun, AnyRealtimeRun, RunSubscription, TaskRunShape, AnyBatchedRunHandle, AsyncIterableStream, ApiPromise, RealtimeRunSkipColumns, AbortBulkActionResponseBody, BulkActionObject, CanceledRunResponse, CreateBulkActionResponseBody, CursorPagePromise, ListRunResponseItem, ReplayRunResponse, RetrieveRunResponse } from "@trigger.dev/core/v3";
1
+ import type { AnyRetrieveRunResult, AnyRunShape, ApiRequestOptions, CreateBulkCancelActionOptions, CreateBulkReplayActionOptions, InferRunTypes, ListBulkActionsQueryParams, ListProjectRunsQueryParams, ListRunsQueryParams, RescheduleRunRequestBody, RetrieveRunResult, RunShape, RealtimeRun, AnyRealtimeRun, RunSubscription, TaskRunShape, AnyBatchedRunHandle, AsyncIterableStream, ApiPromise, RealtimeRunSkipColumns, AbortBulkActionResponseBody, BulkActionObject, CanceledRunResponse, CreateBulkActionResponseBody, CursorPagePromise, IdempotencyKey, ListRunResponseItem, ReplayRunResponse, RetrieveRunResponse, TriggerOptions } from "@trigger.dev/core/v3";
2
2
  import type { AnyRunHandle, AnyTask } from "./shared.js";
3
3
  export type { AnyRetrieveRunResult, AnyRunShape, RetrieveRunResult, RunShape, TaskRunShape, RealtimeRun, AnyRealtimeRun, };
4
4
  export declare const runs: {
@@ -26,6 +26,27 @@ declare function listRuns(projectRef: string, params?: ListProjectRunsQueryParam
26
26
  declare function listRuns(params?: ListRunsQueryParams, requestOptions?: ApiRequestOptions): CursorPagePromise<typeof ListRunResponseItem>;
27
27
  type RunId<TRunId> = TRunId extends AnyRunHandle | AnyBatchedRunHandle ? TRunId : TRunId extends AnyTask ? string : TRunId extends string ? TRunId : never;
28
28
  declare function retrieveRun<TRunId extends AnyRunHandle | AnyBatchedRunHandle | AnyTask | string>(runId: RunId<TRunId>, requestOptions?: ApiRequestOptions): ApiPromise<RetrieveRunResult<TRunId>>;
29
+ export type ReplayRunOptions = Pick<TriggerOptions, "metadata" | "tags" | "queue" | "concurrencyKey" | "machine" | "version" | "region" | "delay" | "ttl" | "idempotencyKeyTTL" | "maxAttempts" | "maxDuration" | "priority"> & {
30
+ /**
31
+ * The payload for the new run. Omit it to reuse the original run's payload.
32
+ */
33
+ payload?: unknown;
34
+ /**
35
+ * An idempotency key for the new run. A plain string is used as-is: unlike `trigger()`, it is
36
+ * not scoped to the current run. Use `idempotencyKeys.create()` for a scoped key.
37
+ */
38
+ idempotencyKey?: IdempotencyKey | string;
39
+ };
40
+ /**
41
+ * Replays a run: creates a new run of the same task from the original run's payload and options.
42
+ * Pass `options` to override any of them for the new run.
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * const { id } = await runs.replay("run_1234", { payload: { userId: "123" }, delay: "1h" });
47
+ * ```
48
+ */
49
+ declare function replayRun(runId: string, options?: ReplayRunOptions, requestOptions?: ApiRequestOptions): ApiPromise<ReplayRunResponse>;
29
50
  declare function replayRun(runId: string, requestOptions?: ApiRequestOptions): ApiPromise<ReplayRunResponse>;
30
51
  declare function cancelRun(runId: string, requestOptions?: ApiRequestOptions): ApiPromise<CanceledRunResponse>;
31
52
  declare function bulkCancelRuns(options: CreateBulkCancelActionOptions, requestOptions?: ApiRequestOptions): ApiPromise<CreateBulkActionResponseBody>;
@@ -126,8 +126,11 @@ async function resolvePayloadAndOutputUrls(run) {
126
126
  }
127
127
  return resolvedRun;
128
128
  }
129
- function replayRun(runId, requestOptions) {
129
+ function replayRun(runId, optionsOrRequestOptions, requestOptions) {
130
130
  const apiClient = apiClientManager.clientOrThrow();
131
+ const options = isRequestOptions(optionsOrRequestOptions)
132
+ ? undefined
133
+ : optionsOrRequestOptions;
131
134
  const $requestOptions = mergeRequestOptions({
132
135
  tracer,
133
136
  name: "runs.replay()",
@@ -144,8 +147,8 @@ function replayRun(runId, requestOptions) {
144
147
  style: "codepath",
145
148
  }),
146
149
  },
147
- }, requestOptions);
148
- return apiClient.replayRun(runId, $requestOptions);
150
+ }, isRequestOptions(optionsOrRequestOptions) ? optionsOrRequestOptions : requestOptions);
151
+ return apiClient.replayRun(runId, options, $requestOptions);
149
152
  }
150
153
  function cancelRun(runId, requestOptions) {
151
154
  const apiClient = apiClientManager.clientOrThrow();
@@ -1 +1 @@
1
- {"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/v3/runs.ts"],"names":[],"mappings":"AA8BA,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAEvF,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAYrC,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,QAAQ,EAAE,WAAW;IACrB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE;QACJ,MAAM,EAAE,cAAc;QACtB,MAAM,EAAE,cAAc;QACtB,QAAQ,EAAE,kBAAkB;QAC5B,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,cAAc;KACrB;IACD,IAAI;IACJ,cAAc;IACd,sBAAsB;IACtB,gBAAgB,EAAE,sBAAsB;IACxC,WAAW;CACZ,CAAC;AAaF,SAAS,QAAQ,CACf,kBAAiD,EACjD,eAAsF,EACtF,cAAkC;IAElC,MAAM,SAAS,GAAG,gBAAgB,CAAC,aAAa,EAAE,CAAC;IAEnD,MAAM,eAAe,GAAG,sBAAsB,CAC5C,kBAAkB,EACl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Aa,EAAE,CAAC;IAEnD,OAAO,SAAS,CAAC,gBAAgB,CAAwB,OAAO,CAAC,CAAC;AACpE,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,WAAW,CAAI,KAAa,EAAE,SAAiB;IAC5D,MAAM,SAAS,GAAG,gBAAgB,CAAC,aAAa,EAAE,CAAC;IAEnD,OAAO,MAAM,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AACvD,CAAC"}
@@ -1,2 +1,2 @@
1
- export const VERSION = "4.7.3";
1
+ export const VERSION = "4.7.4";
2
2
  //# sourceMappingURL=version.js.map
@@ -134,6 +134,39 @@ The parent LLM naturally calls this tool multiple times:
134
134
  2. `researchAgent({ conversationId: "competitors", message: "Go deeper on pricing" })` — same run, sub-agent has full context
135
135
  3. `researchAgent({ conversationId: "new-topic", message: "..." })` — different ID = different sub-agent
136
136
 
137
+ ## Limiting parallel sub-agents per session
138
+
139
+ Give every sub-agent task a shared named limit with a `perKey`, pass the parent session's id as each sub-agent's `concurrencyKey`, and raise that key's cap when the user picks a parallelism:
140
+
141
+ ```ts trigger/limits.ts
142
+ import { concurrencyLimit } from "@trigger.dev/sdk";
143
+
144
+ // one sub-agent at a time per session unless a session is given more
145
+ export const subagentsLimit = concurrencyLimit({ name: "subagents", perKey: 1 });
146
+ ```
147
+
148
+ ```ts trigger/research-agent.ts
149
+ export const researchAgent = chat.agent({
150
+ id: "research-agent",
151
+ concurrency: subagentsLimit,
152
+ // ...
153
+ });
154
+ ```
155
+
156
+ ```ts
157
+ // in the parent agent, once per session, when the user picks a parallelism of 3
158
+ await concurrencyLimits.override("subagents", { concurrencyKey: sessionId, perKey: 3 });
159
+
160
+ // every sub-agent for this session carries the session's key
161
+ const agent = new AgentChat({
162
+ agent: "research-agent",
163
+ id: conversationId,
164
+ triggerConfig: { concurrencyKey: sessionId },
165
+ });
166
+ ```
167
+
168
+ Three sub-agent runs for this session execute at once; a fourth waits. Other sessions keep the declared cap of one, and any tenant-level limit the sub-agent task also holds keeps applying. The override expires after 7 days by default (`ttl` sets it, up to 30 days), so a session that outlives that should call `override` again. See [Overriding a limit for one key](/concurrency#overriding-a-limit-for-one-key).
169
+
137
170
  ### Cross-turn persistence
138
171
 
139
172
  Sub-agent conversations persist across **parent turns** because the `Map` lives in the parent's process heap. When the parent suspends and restores via snapshot, the heap is preserved — the Map still has the conversations, the sessions still have the run IDs.
package/docs/apikeys.mdx CHANGED
@@ -75,7 +75,7 @@ The default API URL is `https://api.trigger.dev`.
75
75
 
76
76
  ## Access presets
77
77
 
78
- 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).
78
+ Access presets define what a key can do. On the Free and Hobby plans only the **No restrictions** preset is available. All other presets require the Pro or Enterprise plan.
79
79
 
80
80
  | Preset | Access |
81
81
  | --- | --- |
@@ -87,7 +87,7 @@ Access presets define what a key can do. Some presets require a paid plan. The d
87
87
  | **Variables only** | Read and write environment variables in this environment |
88
88
  | **No restrictions** | Full access to the environment |
89
89
 
90
- **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.
90
+ **Trigger only** and **Task operator** can be restricted to selected tasks, up to 10 tasks per key. 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.
91
91
 
92
92
  ## Deploy with an API key
93
93
 
@@ -124,7 +124,7 @@ Use `@trigger.dev/sdk` version 4.5.8 or later to create public tokens with envir
124
124
 
125
125
  - The token must request at least one scope.
126
126
  - Its scopes cannot exceed the key's access.
127
- - Its expiration cannot exceed 30 days.
127
+ - Its expiration cannot exceed 30 days (the default is 15 minutes).
128
128
 
129
129
  <Note>
130
130
  Revoking or expiring an API key does not revoke tokens it already created. Those tokens remain valid until their own expiration.
@@ -49,7 +49,7 @@ When your organization's spend reaches the billing limit, billable environments
49
49
  2. New runs can still be triggered and are queued, but they won't start executing. Queued runs incur no compute cost until they start.
50
50
  3. You have **24 hours** to review and decide what to do.
51
51
 
52
- If you don't act before the grace period ends, queued runs are canceled and new triggers are rejected for the rest of the billing cycle.
52
+ If you don't act before the grace period ends, new triggers are rejected until you increase or remove the limit (limits also reset at the start of each billing cycle). Queued runs stay queued until you resolve the limit and choose to resume or cancel them. If the limit is still in place when a new billing cycle starts, queued runs resume automatically. Runs that have a TTL still expire if they stay queued past it.
53
53
 
54
54
  <Note>
55
55
  Billing limits are **soft limits**, not instantaneous hard caps. Usage is evaluated on a short
@@ -7,7 +7,6 @@ description: "List, get, set, and pull environment variables for a Trigger.dev p
7
7
  import CommonOptions from "/snippets/cli-options-common.mdx";
8
8
  import ConfigFileOptions from "/snippets/cli-options-config-file.mdx";
9
9
  import ProjectRefOptions from "/snippets/cli-options-project-ref.mdx";
10
- import BranchOptions from "/snippets/cli-options-branch.mdx";
11
10
 
12
11
  These commands manage environment variables on a project environment. They default to `prod`. Use `--env staging` or `--env preview` (with `--branch`) for the other environments. There is no `dev` target: local `trigger dev` reads your local `.env`.
13
12
 
@@ -82,7 +81,7 @@ npx trigger.dev@latest env set STRIPE_KEY sk_live_abc --secret
82
81
 
83
82
  ## env pull
84
83
 
85
- Writes the project's environment variables to a local file. Defaults to `.env.local`. Fails if the file already exists unless you pass `--force`.
84
+ Writes the project's environment variables to a local file. Defaults to `.env.local`. Asks you to confirm before overwriting an existing file unless you pass `--force`. `TRIGGER_` system variables are omitted.
86
85
 
87
86
  ```bash
88
87
  npx trigger.dev@latest env pull
@@ -94,7 +93,7 @@ npx trigger.dev@latest env pull --output .env.trigger --force
94
93
  </ParamField>
95
94
 
96
95
  <ParamField body="Force" type="--force">
97
- Overwrite the output file if it exists.
96
+ Overwrite the output file if it exists, without asking.
98
97
  </ParamField>
99
98
 
100
99
  ## Options
@@ -105,7 +104,9 @@ npx trigger.dev@latest env pull --output .env.trigger --force
105
104
 
106
105
  <ConfigFileOptions />
107
106
  <ProjectRefOptions />
108
- <BranchOptions />
107
+ <ParamField body="Preview branch" type="--branch | -b">
108
+ Required when using `--env preview`. Specify the branch, e.g. `--branch my-branch` or `-b my-branch`.
109
+ </ParamField>
109
110
 
110
111
  ### Common options
111
112
 
@@ -24,6 +24,12 @@ yarn dlx trigger.dev@latest init
24
24
 
25
25
  </CodeGroup>
26
26
 
27
+ ## Arguments
28
+
29
+ <ParamField body="Project path" type="[path]">
30
+ The path to the project. Defaults to `.`.
31
+ </ParamField>
32
+
27
33
  ## Options
28
34
 
29
35
  <ParamField body="Javascript" type="--javascript">
@@ -36,7 +42,7 @@ yarn dlx trigger.dev@latest init
36
42
  </ParamField>
37
43
 
38
44
  <ParamField body="Package tag" type="--tag | -t">
39
- The version of the `@trigger.dev/sdk` package to install. Defaults to `latest`.
45
+ The version of the `@trigger.dev/sdk` package to install. Defaults to the CLI version.
40
46
  </ParamField>
41
47
 
42
48
  <ParamField body="Skip package install" type="--skip-package-install">
@@ -47,6 +53,26 @@ yarn dlx trigger.dev@latest init
47
53
  Override the existing config file if it exists.
48
54
  </ParamField>
49
55
 
56
+ <ParamField body="Project name" type="--project-name <name>">
57
+ The name of the project to create when your account has no projects yet.
58
+ </ParamField>
59
+
60
+ <ParamField body="Organization name" type="--org-name <name>">
61
+ The organization to create the first project in. Matches an existing organization by name, or creates it if you have none.
62
+ </ParamField>
63
+
64
+ <ParamField body="Runtime" type="-r, --runtime <runtime>">
65
+ The runtime to use: `node`, `node-22`, `node-24`, `node-26` or `bun`. Defaults to `node-24`.
66
+ </ParamField>
67
+
68
+ <ParamField body="Yes" type="-y, --yes">
69
+ Skip all prompts. Requires `--project-ref`, or `--project-name` with `--org-name` for a new account.
70
+ </ParamField>
71
+
72
+ <ParamField body="No browser" type="--no-browser">
73
+ Do not open the browser during login. Print the URL only.
74
+ </ParamField>
75
+
50
76
  <ParamField body="Package arguments" type="--pkg-args">
51
77
  Additional arguments to pass to the package manager. Accepts CSV for multiple args.
52
78
  </ParamField>
@@ -26,6 +26,26 @@ yarn dlx trigger.dev@latest login
26
26
 
27
27
  ## Options
28
28
 
29
+ <ParamField body="No browser" type="--no-browser">
30
+ Do not open the browser. Print the URL only.
31
+ </ParamField>
32
+
33
+ <ParamField body="Email" type="--email <email>">
34
+ Prefill the email on the login page.
35
+ </ParamField>
36
+
37
+ <ParamField body="Name" type="--name <name>">
38
+ Set your name after authorization. Only applies to a new account that has not set its details yet.
39
+ </ParamField>
40
+
41
+ <ParamField body="Cancel pending" type="--cancel-pending">
42
+ Cancel a pending login and keep the current account.
43
+ </ParamField>
44
+
45
+ <ParamField body="No wait" type="--no-wait">
46
+ Save the authorization and exit so login can be resumed later.
47
+ </ParamField>
48
+
29
49
  ### Common options
30
50
 
31
51
  These options are available on most commands.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: "CLI projects commands"
3
3
  sidebarTitle: "projects"
4
- description: "Create, inspect, and rename Trigger.dev projects from the terminal."
4
+ description: "List, create, inspect, and rename Trigger.dev projects from the terminal."
5
5
  ---
6
6
 
7
7
  import CommonOptions from "/snippets/cli-options-common.mdx";
@@ -37,6 +37,18 @@ yarn dlx trigger.dev@latest projects create
37
37
  The name of the new project.
38
38
  </ParamField>
39
39
 
40
+ ## projects list
41
+
42
+ Lists your projects with the runtime and version of their current Production deployment.
43
+
44
+ ```bash
45
+ npx trigger.dev@latest projects list
46
+ ```
47
+
48
+ <ParamField body="Needs update" type="--needs-update">
49
+ Only show projects using Node.js 21 in Production.
50
+ </ParamField>
51
+
40
52
  ## projects get
41
53
 
42
54
  Prints the name, ref, slug, organization, default runtime and region of a project.
@@ -7,7 +7,6 @@ description: "Use these commands to list, inspect, replay and cancel runs from y
7
7
  import CommonOptions from "/snippets/cli-options-common.mdx";
8
8
  import ConfigFileOptions from "/snippets/cli-options-config-file.mdx";
9
9
  import ProjectRefOptions from "/snippets/cli-options-project-ref.mdx";
10
- import BranchOptions from "/snippets/cli-options-branch.mdx";
11
10
 
12
11
  ## runs list
13
12
 
@@ -85,7 +84,9 @@ npx trigger.dev@latest runs cancel run_abc123
85
84
 
86
85
  <ConfigFileOptions />
87
86
  <ProjectRefOptions />
88
- <BranchOptions />
87
+ <ParamField body="Preview branch" type="--branch | -b">
88
+ Required when using `--env preview`. Specify the branch, e.g. `--branch my-branch` or `-b my-branch`.
89
+ </ParamField>
89
90
 
90
91
  ### Common options
91
92
 
@@ -14,19 +14,25 @@ Run the command like this:
14
14
  <CodeGroup>
15
15
 
16
16
  ```bash npm
17
- npx trigger.dev@latest update
17
+ npx trigger.dev@latest update [path]
18
18
  ```
19
19
 
20
20
  ```bash pnpm
21
- pnpm dlx trigger.dev@latest update
21
+ pnpm dlx trigger.dev@latest update [path]
22
22
  ```
23
23
 
24
24
  ```bash yarn
25
- yarn dlx trigger.dev@latest update
25
+ yarn dlx trigger.dev@latest update [path]
26
26
  ```
27
27
 
28
28
  </CodeGroup>
29
29
 
30
+ ## Arguments
31
+
32
+ <ParamField body="Project path" type="[path]">
33
+ The directory that contains the `package.json` file. Defaults to `.`.
34
+ </ParamField>
35
+
30
36
  ## Options
31
37
 
32
38
  ### Common options
@@ -26,6 +26,18 @@ yarn dlx trigger.dev@latest whoami
26
26
 
27
27
  ## Options
28
28
 
29
+ <ParamField body="Config file" type="-c, --config <config file>">
30
+ The name of the config file.
31
+ </ParamField>
32
+
33
+ <ParamField body="Project ref" type="-p, --project-ref <project ref>">
34
+ The project ref. Overrides the project in the config file.
35
+ </ParamField>
36
+
37
+ <ParamField body="Env file" type="--env-file <env file>">
38
+ Path to a `.env` file to read `TRIGGER_PROJECT_REF` from. Defaults to `.env`, `.env.development`, `.env.local`, `.env.development.local` and `dev.vars` in the current directory.
39
+ </ParamField>
40
+
29
41
  ### Common options
30
42
 
31
43
  These options are available on most commands.
@@ -367,6 +367,38 @@ await concurrencyLimits.reset("openai");
367
367
 
368
368
  Overrides survive deploys: redeploying your code keeps an active override until you reset it.
369
369
 
370
+ ### Overriding a limit for one key
371
+
372
+ Pass `concurrencyKey` to override a limit's `perKey` for a single key, for example to let one session run more (or fewer) runs at once than the limit allows every other key:
373
+
374
+ ```ts
375
+ import { concurrencyLimits } from "@trigger.dev/sdk";
376
+
377
+ // this session may run 3 at once under "subagents", for the next 7 days
378
+ await concurrencyLimits.override("subagents", {
379
+ concurrencyKey: sessionId,
380
+ perKey: 3,
381
+ ttl: "7d",
382
+ });
383
+
384
+ // read it back: the key's bound, the override, and when it expires
385
+ const view = await concurrencyLimits.retrieve("subagents", { concurrencyKey: sessionId });
386
+ console.log(view.perKey.override, view.perKey.expiresAt, view.running);
387
+
388
+ // clear it early
389
+ await concurrencyLimits.reset("subagents", { concurrencyKey: sessionId });
390
+ ```
391
+
392
+ A per-key override behaves differently from a limit override:
393
+
394
+ - **It is temporary.** It expires after `ttl` (a duration such as `"7d"` or a number of seconds). The default is 7 days and the maximum is 30 days. Call `override` again to extend it. Nothing warns you when it lapses, so check `expiresAt` if a key must keep its cap for longer than a week.
395
+ - **It changes one limit only.** The limit's own bounds and every other limit the run holds are untouched. A tenant-wide limit keeps applying on top of a per-session override.
396
+ - **It applies to every task holding the limit**, because the key's pool under a shared named limit is one pool.
397
+ - **It needs a `perKey` to override.** A limit declared with only a `total` has no per-key bound, so the call is rejected, and if a later deploy removes a limit's `perKey` its per-key overrides stop applying. A task's inline limit is addressed as `task/<task-id>`. `total` is not per key, so `concurrencyKey` goes with `perKey` (and optionally `ttl`) and never with `total`; the SDK's types enforce this.
398
+ - **`perKey: 0` blocks the key.** A paused limit stays paused whatever the override says.
399
+ - **It does not stop runs.** Lowering a key's cap takes effect at the next run to start; runs already executing continue.
400
+ - **`reset(name)` without a key leaves per-key overrides alone**; clear them with `reset(name, { concurrencyKey })` or let them expire.
401
+
370
402
  ### Pausing a limit
371
403
 
372
404
  Pause a limit to stop every run holding it from being dequeued; runs that are already executing continue to completion. The configured bounds are kept, and resuming restores them:
@@ -14,7 +14,10 @@ export default defineConfig({
14
14
  project: "<project ref>",
15
15
  // Your other config settings...
16
16
  build: {
17
- extensions: [audioWaveform()], // uses verson 1.1.0 of audiowaveform by default
17
+ extensions: [audioWaveform()], // uses version 1.10.1 of audiowaveform by default
18
18
  },
19
19
  });
20
20
  ```
21
+
22
+ To use a different version, pass the `version` and `checksum` options to `audioWaveform()`.
23
+
@@ -51,6 +51,8 @@ Trigger.dev provides a set of built-in extensions that you can use to customize
51
51
  | [prismaExtension](/config/extensions/prismaExtension) | Using prisma in your Trigger.dev tasks |
52
52
  | [pythonExtension](/config/extensions/pythonExtension) | Execute Python scripts in your project |
53
53
  | [puppeteer](/config/extensions/puppeteer) | Use Puppeteer in your Trigger.dev tasks |
54
+ | [playwright](/config/extensions/playwright) | Use Playwright in your Trigger.dev tasks |
55
+ | [lightpanda](/config/extensions/lightpanda) | Use Lightpanda in your Trigger.dev tasks |
54
56
  | [ffmpeg](/config/extensions/ffmpeg) | Use FFmpeg in your Trigger.dev tasks |
55
57
  | [aptGet](/config/extensions/aptGet) | Install system packages in your build image |
56
58
  | [additionalFiles](/config/extensions/additionalFiles) | Copy additional files to your build image |
@@ -641,7 +641,7 @@ prismaExtension({
641
641
  ```prisma
642
642
  generator client {
643
643
  provider = "prisma-client-js"
644
- binaryTargets = ["native", "linux-arm64-openssl-3.0.x"]
644
+ binaryTargets = ["native", "debian-openssl-3.0.x"]
645
645
  }
646
646
  ```
647
647
 
@@ -885,7 +885,7 @@ export const db = new PrismaClient({
885
885
  generator client {
886
886
  provider = "prisma-client-js"
887
887
  output = "../src/generated/prisma"
888
- binaryTargets = ["native", "linux-arm64-openssl-3.0.x"]
888
+ binaryTargets = ["native", "debian-openssl-3.0.x"]
889
889
  }
890
890
 
891
891
  datasource db {
@@ -913,7 +913,6 @@ datasource db {
913
913
  prismaExtension({
914
914
  mode: "engine-only",
915
915
  version: "6.19.0",
916
- binaryTarget: "linux-arm64-openssl-3.0.x",
917
916
  });
918
917
  ```
919
918
 
@@ -4,6 +4,8 @@ sidebarTitle: "puppeteer"
4
4
  description: "Use the puppeteer build extension to enable support for Puppeteer in your project"
5
5
  ---
6
6
 
7
+ import ScrapingWarning from "/snippets/web-scraping-warning.mdx";
8
+
7
9
  <ScrapingWarning />
8
10
 
9
11
  To use Puppeteer in your project, add these build settings to your `trigger.config.ts` file:
@@ -21,10 +23,6 @@ export default defineConfig({
21
23
  });
22
24
  ```
23
25
 
24
- And add the following environment variable in your Trigger.dev dashboard on the Environment Variables page:
25
-
26
- ```bash
27
- PUPPETEER_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable",
28
- ```
26
+ The extension installs Chrome and sets `PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable` for deployed builds automatically, so you do not need to set it. Don't set it in your Dev environment: the extension does nothing in Dev, and locally Puppeteer uses the browser it downloads on install.
29
27
 
30
28
  Follow [this example](/guides/examples/puppeteer) to get setup with Trigger.dev and Puppeteer in your project.
@@ -103,6 +103,14 @@ export default defineConfig({
103
103
 
104
104
  This will install the packages specified in the `requirements.txt` file during the build process. You can then use these packages in your Python scripts.
105
105
 
106
+ You can also list requirements inline with the `requirements` option instead. You can't use it together with `requirementsFile`:
107
+
108
+ ```ts
109
+ pythonExtension({
110
+ requirements: ["pandas"],
111
+ });
112
+ ```
113
+
106
114
  <Note>
107
115
  The `requirementsFile` option is only available in production mode. In development mode, you can
108
116
  install the required packages manually using the `pip` command.
@@ -145,7 +153,7 @@ export const myStreamingScript = task({
145
153
  const result = python.stream.runScript("./python/my_script.py", ["hello", "world"]);
146
154
 
147
155
  // result is an async iterable/readable stream
148
- for await (const chunk of streamingResult) {
156
+ for await (const chunk of result) {
149
157
  console.log(chunk);
150
158
  }
151
159
  },
@@ -31,6 +31,9 @@ The callback is passed a context object with the following properties:
31
31
  - `environment`: The environment name that the task is being deployed to (e.g. `production`, `staging`, etc.)
32
32
  - `projectRef`: The project ref of the Trigger.dev project
33
33
  - `env`: The environment variables that are currently set in the Trigger.dev project
34
+ - `branch`: The preview branch name, if deploying to a preview branch (optional)
35
+
36
+ `syncEnvVars` also accepts a second argument with an `override` option (defaults to `true`). When `true`, synced variables overwrite variables with the same name that are already set in the environment you're deploying to. Set it to `false` to only sync variables that aren't set there yet.
34
37
 
35
38
  ### Marking variables as secrets
36
39
 
@@ -168,12 +171,15 @@ export default defineConfig({
168
171
  projectId: "your-vercel-project-id",
169
172
  vercelAccessToken: "your-vercel-access-token", // optional, we recommend to keep it as env variable
170
173
  vercelTeamId: "your-vercel-team-id", // optional
174
+ branch: "your-preview-branch", // optional
171
175
  }),
172
176
  ],
173
177
  },
174
178
  });
175
179
  ```
176
180
 
181
+ The `branch` option filters branch-specific Vercel variables for preview branches. It defaults to the `VERCEL_PREVIEW_BRANCH` environment variable, then the Trigger.dev preview branch. The access token is read from `VERCEL_ACCESS_TOKEN`, falling back to `VERCEL_TOKEN`.
182
+
177
183
  ### syncNeonEnvVars
178
184
 
179
185
  The `syncNeonEnvVars` build extension syncs environment variables from your Neon database project to Trigger.dev. It automatically detects branches and builds the appropriate database connection strings for your environment.
@@ -14,7 +14,7 @@ We deploy your tasks and scale them up and down when they are triggered. So any
14
14
  <Steps>
15
15
 
16
16
  <Step title="Go to the Environment Variables page">
17
- In the sidebar select the "Environment Variables" page, then press the "New environment variable"
17
+ In the sidebar select the "Environment Variables" page, then press the "Add new"
18
18
  button. ![Environment variables page](/images/environment-variables-page.jpg)
19
19
  </Step>
20
20
 
@@ -443,6 +443,8 @@ If you use the [Vercel integration](/vercel-integration), version skew protectio
443
443
 
444
444
  This covers production, staging and preview alike.
445
445
 
446
+ In production, the integration also gates the release on the task build. Each production deployment from your production branch carries a blocking **Trigger.dev Build** check, so a commit whose tasks fail to build never goes live and its runs never wait on a deployment that won't arrive. Re-run the **Trigger.dev deployment** check in GitHub to build that commit again. See [Production waits for your tasks](/vercel-integration#production-waits-for-your-tasks).
447
+
446
448
  ### Opting out
447
449
 
448
450
  Set `TRIGGER_AUTOMATIC_SKEW_VERSION_PROTECTION` to `0` on your Vercel project. A `0` you set today stays `0` through every subsequent build.