Skip to content

Commit 7bde0fa

Browse files
authored
Merge branch 'main' into docs/735-actor-run-example-task-page
2 parents 426ae7c + e0e60ff commit 7bde0fa

817 files changed

Lines changed: 86230 additions & 13305 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@trigger.dev/core": patch
3+
"@trigger.dev/sdk": patch
4+
---
5+
6+
Fix the type of the handle returned by `batch.triggerByTask()`. It promised `runs`, `isCached` and `idempotencyKey`, which were never returned, so code like `results.runs[0]` compiled but threw at runtime. The handle is now typed as what it returns: `batchId`, `runCount` and `publicAccessToken`; use `batch.retrieve(batchId)` to get the run IDs, or `batch.triggerByTaskAndWait()` for typed results.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
"@trigger.dev/core": patch
4+
---
5+
6+
Fix `AgentChat` returning another turn's reply, or several replies joined together, instead of the answer to the message you sent: for example when continuing a chat without a saved `lastEventId`, sending two messages in a row, or when a run answers earlier messages first. Agents now mark where each turn starts and where steered messages join one on the output stream, so redeploy them on this version; with an older agent, a reply `AgentChat` can't match to your message is delivered when its turn completes instead of streamed. Custom readers of the session output stream must skip control records they don't recognise. A send aborted before its stream starts now asks the agent to stop.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
The bundled chat agent skills now use `claude-sonnet-5-5` in their examples. They used `claude-sonnet-4-5`, which Anthropic retires on November 30, 2026, so agents following the skills would have generated code that stops working.

‎.changeset/cli-zod-4-6-7.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Upgrade the CLI's `zod` dependency to 4.6.7.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
The MCP server's `trigger_task` tool now accepts `metadata`, `idempotencyKeyTTL`, `concurrencyKey`, `concurrency`, `debounce`, `lockToVersion` and `priority`, matching the options you can pass when triggering from the SDK or the dashboard. Calls without them behave as before.
6+
7+
`trigger_task` no longer sets a 10 minute ttl on its own when you pass any option, including existing ones such as `tags`. A run now gets the ttl you pass, otherwise the task's ttl, otherwise 10 minutes in dev and the server's maximum ttl elsewhere (14 days on Trigger.dev Cloud; no expiry on a self-hosted server without one), and a ttl longer than the server's maximum is capped at it. Pass `ttl: "10m"` to keep the old behaviour.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/core": patch
3+
---
4+
5+
Fix run metadata changes sometimes reaching the API only when the run finished, so realtime subscribers and parent runs didn't see progress while the task was still running. This also fixes a metadata `append` or `increment` occasionally being applied twice at the end of a run, and a new run that reused the previous run's process sometimes seeing that run's metadata values.

‎.changeset/suspend-retry-refused.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.env.schema‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ SECRET_PROXY_INTERCEPTOR_SOCKET=
1717
# Dedicated HMAC keys: {"activeKeyId":"k1","keys":{"k1":"<32-byte lowercase hex>"}}
1818
SECRET_PROXY_PLACEHOLDER_KEYS=
1919
# Dedicated resolver service bearer, unrelated to run tokens and encryption keys (at least 32 chars).
20+
# Ignored when WORKLOAD_IDENTITY_ISSUERS is set.
2021
SECRET_PROXY_SERVICE_TOKEN=
22+
# Comma-separated Kubernetes ServiceAccount token issuers trusted to call internal services
23+
# (the secret proxy resolver). When set, shared service tokens are refused.
24+
# @sensitive=false
25+
WORKLOAD_IDENTITY_ISSUERS=
26+
# @sensitive=false
27+
SECRET_PROXY_RELAY_SUBJECT=system:serviceaccount:v4-infra:secret-proxy-relay
2128
# Master gate for automatic enrollment; also requires the org/global environmentEncryptionEnabled flag.
2229
# Enable only after every reader supports versioned environment encryption.
2330
# @sensitive=false
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: feature
4+
---
5+
6+
Ask Trigger can now search your environment's logs by message, level, task, run, or time range when the Logs page is available.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
area: webapp
3+
type: improvement
4+
---
5+
6+
The audit log event panel now uses the same inspector layout as the run page.

0 commit comments

Comments
 (0)