Upgrade
npx trigger.dev@latest update # npm
pnpm dlx trigger.dev@latest update # pnpm
yarn dlx trigger.dev@latest update # yarn
bunx trigger.dev@latest update # bun
Self-hosted Docker image: ghcr.io/triggerdotdev/trigger.dev:v4.5.0-rc.2
Release notes
Read the full release notes: https://trigger.dev/changelog/v4-5-0-rc-2
What's changed
Improvements
- The per-turn merge now overlays the wire copy's tool-part state advancement onto the agent's existing chain —
state+ the matching resolution field (output/errorText/approval) come from the wire, everything else (text, reasoning, toolinput, provider metadata) stays whatever the snapshot orhydrateMessagesreturned. Previously a full-message replace overwrote those fields with whatever the client shipped, so a slimmed wire copy landed a tool call with noargumentson the next LLM call. Coversoutput-available/output-error(HITLaddToolOutput) andapproval-responded/output-denied(approval flow). TriggerChatTransport.sendMessagesandAgentChat.sendRawnow slim assistant messages that carry advanced tool parts. The wire payload is just{ id, role, parts: [<state + resolution field>] }forsubmit-messagecontinuations; everything else passes through. Reasoning blobs and full tool inputs no longer ride the wire on everyaddToolOutput/addToolApproveResponse, so continuation payloads stay well under the.in/appendcap on long agent loops.- Add
TriggerClientfor running multiple SDK clients side-by-side, each with its own auth, preview branch, and baseURL. Useful when a single process needs to trigger tasks or read runs across multiple projects, environments, or preview branches without mutating shared global state. (#3683)
Bug fixes
- Fix
chat.agentHITL continuations on reasoning-heavy turns. Two changes that work together: (#3719)
All packages: v4.5.0-rc.2
@trigger.dev/build, @trigger.dev/core, @trigger.dev/plugins, @trigger.dev/python, @trigger.dev/react-hooks, @trigger.dev/redis-worker, @trigger.dev/rsc, @trigger.dev/schema-to-json, @trigger.dev/sdk, trigger.dev
Full changelog: https://github.com/triggerdotdev/trigger.dev/compare/v4.4.0.2...v4.5.0-rc.2
Fetched May 23, 2026


