Skip to content

chore: rewrite v4.5.0 release content around AI Agents#3629

Merged
ericallam merged 1 commit into
mainfrom
chore/v4.5.0-release-content
May 15, 2026
Merged

chore: rewrite v4.5.0 release content around AI Agents#3629
ericallam merged 1 commit into
mainfrom
chore/v4.5.0-release-content

Conversation

@ericallam
Copy link
Copy Markdown
Member

Summary

Refocuses the v4.5.0 changeset and server-changes content on the public-facing AI features story, replacing the pre-release-internal diff framing that had accumulated in .changeset/ and .server-changes/. Pairs with the RC support PR — the next bot regeneration will pick up this content.

What's in here

Changeset rewrites

  • chat-agent.md rewritten as the headline AI Agents entry — written from the docs/ai-chat/ surface (not from internal pre-release diffs). Covers useChat integration, multi-turn durability via Sessions, lifecycle hooks, stop generation, tool approvals (HITL), pending messages + background injection, actions, typed state primitives, chat.toStreamTextOptions(), multi-tab coordination, network resilience, and the first-turn fast path (chat.headStart).
  • New ai-prompts.md — announces the Prompts feature publicly for the first time. Code-defined templates, deploy-versioning, dashboard overrides, AI SDK telemetry integration, chat.agent integration via chat.prompt.set() + chat.toStreamTextOptions(), full management SDK.
  • sessions-primitive.md expanded — calls out tasks.triggerAndSubscribe() and sessions.list as standalone primitives (not just chat.agent infrastructure).
  • chat-agent-on-boot-hook.md trimmed — drops "if you previously…" pre-release migration framing.
  • Deletes 4 changesets that described pre-release-internal migrations or were circular ("groundwork for the upcoming chat.agent" — chat.agent ships in the same release).

Server-changes rewrites (.server-changes/)

Five new entries for the dashboard surface of the AI feature set:

  • Agents list page
  • Agent Playground
  • Sessions dashboard
  • Prompts dashboard (list with usage sparklines + detail with template / Generations / Metrics / Versions tabs + override UI)
  • Models registry (provider-grouped catalog with cross-tenant usage metrics)
  • AI generation span inspector on run traces
  • Runs list Task source filter (Standard / Scheduled / Agent)
  • Run-detail Agent view (segmented control)

Each entry is 1–2 sentences, no bullets, no implementation file paths — fits as a single bullet in a future changelog.

Three older .server-changes/ files were merged or split into the cleaner taxonomy above and deleted.

Out of scope

Non-AI-feature server-changes (admin-tabs, queue-length-cap fix, worker-deployment race, streamdown upgrade, etc.) and changesets (idempotency-key cap, sigsegv retry, locals-key fix, plugin auth, region filters, etc.) are untouched.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 15, 2026

🦋 Changeset detected

Latest commit: 2f7a79f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@trigger.dev/sdk Minor
@trigger.dev/core Minor
@trigger.dev/python Minor
@internal/sdk-compat-tests Patch
references-ai-chat Patch
d3-chat Patch
references-d3-openai-agents Patch
references-nextjs-realtime Patch
references-realtime-hooks-test Patch
references-realtime-streams Patch
references-telemetry Patch
@trigger.dev/build Minor
trigger.dev Minor
@trigger.dev/plugins Minor
@trigger.dev/redis-worker Minor
@trigger.dev/schema-to-json Minor
@internal/cache Patch
@internal/clickhouse Patch
@internal/llm-model-catalog Patch
@trigger.dev/rbac Minor
@internal/redis Patch
@internal/replication Patch
@internal/run-engine Patch
@internal/schedule-engine Patch
@internal/testcontainers Patch
@internal/tracing Patch
@internal/tsql Patch
@internal/zod-worker Patch
@trigger.dev/react-hooks Minor
@trigger.dev/rsc Minor
@trigger.dev/database Minor
@trigger.dev/otlp-importer Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 15, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 59b2acac-fb6d-4f3d-b840-141db92d0e7a

📥 Commits

Reviewing files that changed from the base of the PR and between 981b39d and 2f7a79f.

📒 Files selected for processing (19)
  • .changeset/ai-prompts.md
  • .changeset/chat-actions-no-turn.md
  • .changeset/chat-agent-delta-wire-snapshots.md
  • .changeset/chat-agent-on-boot-hook.md
  • .changeset/chat-agent.md
  • .changeset/chat-head-start.md
  • .changeset/chat-ready-core-additions.md
  • .changeset/sessions-primitive.md
  • .server-changes/agent-playground.md
  • .server-changes/agent-view-sessions.md
  • .server-changes/agents-dashboard.md
  • .server-changes/ai-span-inspector.md
  • .server-changes/models-registry.md
  • .server-changes/playground-trigger-config-fields.md
  • .server-changes/prompts-dashboard.md
  • .server-changes/run-agent-view.md
  • .server-changes/runs-task-source-filter.md
  • .server-changes/sessions-dashboard-and-task-source-filter.md
  • .server-changes/sessions-dashboard.md
💤 Files with no reviewable changes (7)
  • .server-changes/sessions-dashboard-and-task-source-filter.md
  • .changeset/chat-agent-delta-wire-snapshots.md
  • .changeset/chat-head-start.md
  • .server-changes/playground-trigger-config-fields.md
  • .server-changes/agent-view-sessions.md
  • .changeset/chat-ready-core-additions.md
  • .changeset/chat-actions-no-turn.md
✅ Files skipped from review due to trivial changes (11)
  • .server-changes/models-registry.md
  • .server-changes/ai-span-inspector.md
  • .server-changes/agents-dashboard.md
  • .server-changes/runs-task-source-filter.md
  • .server-changes/run-agent-view.md
  • .server-changes/sessions-dashboard.md
  • .server-changes/prompts-dashboard.md
  • .server-changes/agent-playground.md
  • .changeset/ai-prompts.md
  • .changeset/sessions-primitive.md
  • .changeset/chat-agent.md
📜 Recent review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: typecheck / typecheck
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (1)
.changeset/chat-agent-on-boot-hook.md (1)

21-21: LGTM!


Walkthrough

This PR adds comprehensive changelog and feature documentation for the Trigger.dev AI Agents release. Changes include SDK documentation for the chat.agent runtime with session-based persistence, the new onBoot lifecycle hook, and a Sessions primitive for durable multi-run conversations. The AI Prompts feature documentation covers code-defined templates, environment overrides, Vercel AI SDK integration, and management APIs. Dashboard documentation describes new features: Agents page for task discovery, Agent Playground for testing, Sessions dashboard for conversation inspection, Prompts dashboard with override UI, Models reference catalog, AI generation span inspector, and task source filtering for the Runs list.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is largely incomplete relative to the template. While it includes a detailed summary and what's in the PR, it's missing required sections: Closes #, Testing, and Changelog (with checklist items). Add the issue number (Closes #), a Testing section describing how the changes were validated, and fill out the remaining checklist items with clear documentation of compliance.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: rewriting v4.5.0 release content to focus on AI Agents, which aligns with the changeset and .server-changes documentation updates throughout the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/v4.5.0-release-content

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot]

This comment was marked as resolved.

Refocuses the changeset and server-changes content on the public-facing v4.5.0 story:

- chat-agent.md becomes the headline AI Agents entry, written from the docs/ai-chat surface (not the pre-release-internal diff). useChat integration, headStart, Sessions, lifecycle hooks, HITL, multi-tab, network resilience.
- New ai-prompts.md announces the Prompts feature publicly (versioned templates, dashboard overrides, AI SDK + chat.agent integration).
- sessions-primitive.md expanded to call out tasks.triggerAndSubscribe and sessions.list.
- chat-agent-on-boot-hook.md trimmed; pre-release migration framing removed.
- Drops migration-from-pre-release changesets (chat-actions-no-turn, chat-agent-delta-wire-snapshots, chat-ready-core-additions, chat-head-start) — their content is either folded into the headline or no longer relevant for the first stable.

.server-changes/ rewritten to cover the dashboard side of AI features as 1-2-sentence entries: Agents list, Agent Playground, Sessions dashboard, Task source filter on Runs, Run-detail Agent view, Prompts dashboard with override UI, Models registry with cross-tenant metrics, AI generation span inspector.
@ericallam ericallam force-pushed the chore/v4.5.0-release-content branch from 981b39d to 2f7a79f Compare May 15, 2026 15:17
@ericallam ericallam marked this pull request as ready for review May 15, 2026 15:24
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@ericallam ericallam merged commit eedde27 into main May 15, 2026
22 checks passed
@ericallam ericallam deleted the chore/v4.5.0-release-content branch May 15, 2026 15:43
ericallam added a commit that referenced this pull request May 15, 2026
## Summary

Adds `.changeset/pre.json` to put the repo into changesets pre mode with
dist-tag `rc`. After this merges, the changesets bot regenerates the
existing release PR as `chore: release v4.5.0-rc.0`. Merging that PR
publishes the first release candidate of 4.5.0 to npm under `@rc`.

The pre-mode plumbing landed in #3628. The release content (chat.agent +
sessions + ai prompts + dashboard server-changes) landed in #3629.

## What ships when the bot PR merges

Under dist-tag `rc`:
-
`@trigger.dev/{sdk,core,build,react-hooks,redis-worker,plugins,python,rsc,schema-to-json}@4.5.0-rc.0`
- `trigger.dev@4.5.0-rc.0`

Plus:
- Docker image `ghcr.io/triggerdotdev/trigger.dev:v4.5.0-rc.0`
(immutable tag only — `:v4-beta` is not touched)
- Helm chart `oci://ghcr.io/triggerdotdev/charts/trigger.dev:4.5.0-rc.0`
- GitHub release `v4.5.0-rc.0` marked as Pre-release (no Latest badge)

What does NOT happen:
- npm `latest` stays at 4.4.6
- No marketing-site changelog PR (gated on `is_prerelease != 'true'`)
- Docker `:latest` not touched (we never push it anyway in this repo)

## Iteration

For subsequent rc.N: add a regular changeset to main, bot regenerates
the release PR as `v4.5.0-rc.N`. Merge to ship.

## Exiting pre mode

When ready to ship stable: `pnpm exec changeset pre exit`, push, merge
regenerated PR. That publishes `4.5.0` under `latest` and fires the
marketing-site dispatch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants