chore: rewrite v4.5.0 release content around AI Agents#3629
Conversation
🦋 Changeset detectedLatest commit: 2f7a79f The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (19)
💤 Files with no reviewable changes (7)
✅ Files skipped from review due to trivial changes (11)
📜 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)
🔇 Additional comments (1)
WalkthroughThis 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)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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.
981b39d to
2f7a79f
Compare
## 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.
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.mdrewritten as the headline AI Agents entry — written from thedocs/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).ai-prompts.md— announces the Prompts feature publicly for the first time. Code-defined templates, deploy-versioning, dashboard overrides, AI SDK telemetry integration,chat.agentintegration viachat.prompt.set()+chat.toStreamTextOptions(), full management SDK.sessions-primitive.mdexpanded — calls outtasks.triggerAndSubscribe()andsessions.listas standalone primitives (not just chat.agent infrastructure).chat-agent-on-boot-hook.mdtrimmed — drops "if you previously…" pre-release migration framing.Server-changes rewrites (
.server-changes/)Five new entries for the dashboard surface of the AI feature set:
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.