René's URL Explorer Experiment


Title: feat(chat): hand run() a streamText with the managed options already applied by ericallam · Pull Request #4884 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(chat): hand run() a streamText with the managed options already applied by ericallam · Pull Request #4884 · triggerdotdev/trigger.dev

X Title: feat(chat): hand run() a streamText with the managed options already applied by ericallam · Pull Request #4884 · triggerdotdev/trigger.dev

Description: Summary Every run() had to spread chat.toStreamTextOptions(), and leaving it out dropped six things with no error: the managed prompt and its cache control, the registry-resolved model, the prompt's sampling config, telemetry, the skill tools, and the prepareStep that delivers steering, compaction and injected context. Before: import { chat } from "@trigger.dev/sdk/ai"; import { streamText, stepCountIs } from "ai"; import { anthropic } from "@ai-sdk/anthropic"; export const myChat = chat.agent({ id: "my-chat", tools: { myTool }, run: async ({ messages, tools, signal }) => streamText({ ...chat.toStreamTextOptions({ registry, tools }), model: anthropic("claude-sonnet-4-5"), system: "You are a helpful assistant.", messages, abortSignal: signal, stopWhen: stepCountIs(15), }), }); After: import { chat } from "@trigger.dev/sdk/ai"; import { stepCountIs } from "ai"; import { anthropic } from "@ai-sdk/anthropic"; export const myChat = chat.agent({ id: "my-chat", system: "You are a helpful assistant.", registry, tools: { myTool }, run: async ({ messages, tools, signal, streamText }) => streamText({ model: anthropic("claude-sonnet-4-5"), messages, tools, abortSignal: signal, stopWhen: stepCountIs(15), }), }); streamText comes from run's argument and shadows the one imported from ai, so the correct call is now the shorter one and the managed options cannot be lost by omission. chat.toStreamTextOptions() is unchanged and still supported, and is still the only option in a custom agent. What changes when your options collide with the managed ones Spread order decides the outcome today, and losing is silent: streamText({ ...chat.toStreamTextOptions(), tools: myTools }) // skill tools dropped streamText({ ...chat.toStreamTextOptions(), prepareStep: mine }) // steering, compaction and injection off The managed streamText merges instead. tools are passed into the helper so skill tools survive, and a prepareStep you pass runs after the managed one rather than replacing it. Everything else you name is left alone and wins, telemetry included. system is the exception: it can be set on chat.agent({ system }), through chat.prompt.set(), or at the call site, but only in one of them. Two at once throws and names the one that already owns it. No shape merges two system values across every supported AI SDK version, since v5 rejects an array of blocks and a structured block carries the provider options that make prompt caching work. chat.headStart and chat.startHeadStart buildStreamTextOptions supplies messages, stopWhen: stepCountIs(1) and abortSignal. Step 1 belongs to the route handler and step 2 onward to the agent, so re-setting stopWhen after a spread hands over a stream that has already run past step 1. Before: import { streamText, stepCountIs } from "ai"; export const POST = chat.headStart({ agentId: "my-chat", run: async ({ chat: helper }) => streamText({ ...helper.toStreamTextOptions({ tools: headStartTools }), model: anthropic("claude-sonnet-4-6"), system: "You are a helpful assistant.", }), }); After: export const POST = chat.headStart({ agentId: "my-chat", run: async ({ streamText }) => streamText({ model: anthropic("claude-sonnet-4-6"), system: "You are a helpful assistant.", tools: headStartTools, }), }); Passing messages, prompt, stopWhen or abortSignal to that streamText is a type error, with a runtime throw behind it for JavaScript callers. tools is yours to pass. The old shape only warned in prose. Also in here chat.agent() takes system, registry, cacheControl and systemProviderOptions, so a managed prompt's model and its cache breakpoint no longer have to be passed at the call site. ChatStreamText is exported for typing a loop factored out of run. The signature is taken from the AI SDK's own declaration: import type { streamText as aiStreamTextSignature } from "ai"; type AiStreamTextFn = typeof aiStreamTextSignature; The peer range spans ai v5, v6 and v7, whose options differ. typeof resolves to whichever version is installed, so generics and tool inference are the caller's own and a v8 option needs no change here. Actions. onAction no longer receives streamText or tools: an action is a state edit, and one that returns chat.turn() (added in #4816) is followed by run(), which already has both. The action docs on this branch describe that model. chat.toStreamTextOptions() now also applies chat.agent's system, registry, cacheControl and systemProviderOptions, so the spread form is equivalent to the streamText handed to run(), as the docs say; previously an agent's system prompt was silently dropped on that path. Those options are published on every boot, including for a hydrateMessages agent, which skips the snapshot boot block where they were first set. Verification Typecheck and the full suite pass on both ai@6.0.116 and ai@7.0.66. The option merge is a pure function so the merged object can be asserted directly, which is how experimental_telemetry being dropped was caught: most streamText options never reach the provider, so a test that observes the model cannot see them. Run end to end against a deployed agent with every run rewritten to the new form and no spread anywhere: steering, undo across a cold boot, and regenerate all still pass, a caller's own prepareStep runs while managed steering still fires inside the turn, and consecutive injections arrive one per turn. The handover-owned options are pinned by @ts-expect-error assertions in a typechecked test rather than only by the runtime throw.

Open Graph Description: Summary Every run() had to spread chat.toStreamTextOptions(), and leaving it out dropped six things with no error: the managed prompt and its cache control, the registry-resolved model, the prompt&...

X Description: Summary Every run() had to spread chat.toStreamTextOptions(), and leaving it out dropped six things with no error: the managed prompt and its cache control, the registry-resolved model, the prompt&...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4884

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e41e520a-8121-675f-f20f-533ca2aabefd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2E8:35FB3F:33992FE:49689A1:6AFAFB51
html-safe-nonce9857990715d3d57bc34c842dbea4fbad926293a43396f72d01bf823db191e96c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkU4OjM1RkIzRjozMzk5MkZFOjQ5Njg5QTE6NkFGQUZCNTEiLCJ2aXNpdG9yX2lkIjoiMjEwNDIzODIyNTM4NjgzMDY3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbb2dfb87f8354e27d5614d8f0dc163a27d02c914ccf61150d3fd8455241198f5
hovercard-subject-tagpull_request:4434965877
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4884/files
twitter:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
og:image:altSummary Every run() had to spread chat.toStreamTextOptions(), and leaving it out dropped six things with no error: the managed prompt and its cache control, the registry-resolved model, the prompt&...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54f7a6886649661c85eee945cca0773566bfb4065370e0429b7c8f7204184650
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf8450eb633ec589502c42ff6f4072e40db65da3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4884%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4884%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
feat/chat-bound-streamtexthttps://github.com/triggerdotdev/trigger.dev/tree/feat/chat-bound-streamtext
Conversation 83 https://github.com/triggerdotdev/trigger.dev/pull/4884
Commits 46 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits
Checks 76 https://github.com/triggerdotdev/trigger.dev/pull/4884/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4884/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
feat(chat): hand run() a streamText with the managed options already applied https://github.com/triggerdotdev/trigger.dev/pull/4884/files#top
Show all changes 46 commits https://github.com/triggerdotdev/trigger.dev/pull/4884/files
c6c35d5 test: cover the head-start accumulator seed without hydrateMessages ericallam Aug 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/c6c35d59a7608bf0f4d3a982e688080b0a7eb3a8
5fef13f fix(chat): put injected steering messages into the accumulator ericallam Aug 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/5fef13fc1f9bfe9d28eaa13f59438aa3fe78929b
4b0f52a fix(chat): persist history an action rolled back ericallam Aug 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/4b0f52a3114a97157f4b1503ff1e940360087c0f
e399b60 fix(chat): make a response streamed from onAction part of the convers… ericallam Aug 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/e399b60e123237043e1e72c1c98ca08c2026973b
52bd98d fix(chat): route a system-role injection to the instructions lane ericallam Aug 20, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/52bd98d342b303fcc0ea0e56eff00371c10eab51
47f2f8f fix(chat): address review on the accumulator, instructions and action… ericallam Aug 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/47f2f8f2322aa9267d14596b5003f8ec58c4bb69
52772b5 fix(chat): report a failed action stream instead of committing it as … ericallam Aug 28, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/52772b5ea5f0014bda7ea2caabff14faf5d434b4
c6b0dbd docs(chat): note the instructions delivery path and one-shot injectio… ericallam Aug 29, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/c6b0dbd0f4e2231c6bcdbb56d9cbb050934686d8
e3318cf docs(ai-chat): say what an action persists under each persistence model ericallam Aug 29, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/e3318cf4fa286e4b0abe89908e67bc711c23526b
02e0a70 docs(ai-chat): delete the replaced answer in the regenerate example ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/02e0a70dca5e083a5abad6c97dd0f5736707da89
e6618cf docs(ai-chat): style-guide pass on the injection and action sections ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/e6618cfa06efe4d7ef1023c40149f50e83facf31
1f7fb5e docs(ai-chat): drop em dashes from the docs and changesets ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/1f7fb5e21e2a21a500047343320f8287ab28d007
3246d12 docs(ai-chat): drop the remaining em dashes from the actions and inje… ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/3246d12efdc1ae645e284ac20f03ac1500028489
86d67fa docs(chat): warn about the two upgrade hazards in the changesets ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/86d67fa4c1e27ae0a77d5efed8d8ddf2d0ad281c
e2737f6 fix(chat): consume injected instructions per turn, not per options build ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/e2737f6cf69a39e2015e9fc9f53c66305357b6a5
692c060 fix(chat): keep an injection made during the turn that consumed the lane ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/692c060bdbaf23af705609c520030c6f640a5d5f
900418d fix(chat): rebuild the model messages after a steering injection ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/900418d92b766c002421df3cd3f0a8fdc4e8348b
83fe5ef test(chat): cover the model-lane rebuild on a turn that captures no r… ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/83fe5ef97af99cb1852ec322df14277b8fb60452
6683e4b fix(chat): keep a steer in the lanes on the createSession surface ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/6683e4b19cdce3ee6c2b06a06f90491aa0b59f7b
bf82221 fix(chat): append a steer to the model lane instead of rebuilding it ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/bf822210fcc3a02a5232f3423d13eedcf2a70e57
dd06745 fix(chat): report a drained steer from a turn that fails ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/dd067456458a6bf2150912d7e056f0fff60890f7
a0a07bb test(chat): pin a one-shot instruction across an action ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/a0a07bb36cd7cc3e2dce27f73750cfb1a706acad
c9fe897 test(chat): use the spread form in the action-instruction test ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/c9fe897f0776d68ec2f18a57051e3c5796da6d00
4f535ac fix(chat): keep a steer's prepared form for later turns ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/4f535ac0f14e048502b231ecdd8777d77a8fb002
39ea541 fix(chat): reconcile a steer into the model lane when the turn fails ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/39ea54191ad056c77fe6972dd874a990d4bc6e5a
920c76d fix(chat): keep a failed action from counting as a turn ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/920c76db90daef9a6a794d150fa3fdf8ca024101
e348d61 fix(chat): move the snapshot cursor on a failed turn ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/e348d615207dd2a62dc45d8772ce20ff730d5914
0ef1caa docs(chat): cover the second review round in the changesets ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/0ef1caa9aa99d351b2ae8ae783d0729cb067612b
ae72c70 fix(chat): report a steer in the turn delta, and once after a history… ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/ae72c70687d40cac3658762f7e8c9c73884afcf7
62fd77c fix(chat): keep a prepared steer through a history edit and a failed … ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/62fd77c05cfe002b8b1bdf71a5f01d6cc31b50df
6482650 fix(chat): deliver plain onAction replies, and keep compaction throug… ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/6482650315530df6b63f7c6a5420f8561f4350a0
472eaf4 fix(chat): keep an instruction injected after an action for the next … ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/472eaf494440d5c5f0979ca84f587d203c870070
023432d feat(chat): send actions through useChat so their turns render ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/023432dfd9912ea344d82d490bd555fa0d4d4bff
d332a2a feat(chat): let an action become a turn with chat.turn() ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/d332a2adc3a072509f28d3ea8e9d021772f53c63
0cf59a2 fix(chat): persist an action's edit before its turn, and label that turn ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/0cf59a22ab4049f751a63dcf1ebb8dd9242af0f7
8d5d466 fix(chat): merge an action's metadata over the transport's clientData ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/8d5d46644d71acd9c9cdf34b318d39fb05756f5c
ee8f449 docs(chat): correct three changesets after the chat.turn() redesign ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/ee8f449c5695968277c5c570799ddfaf422892f7
cd39f8b feat(chat): hand run() a streamText that already has the managed options ericallam Sep 3, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/cd39f8b4d1b43b417da8c3ec1292d97b2e7f01ea
447c910 fix(sdk): fall back to the agent's tools in the managed streamText ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/447c910ad2ca58e4d9e86ba04699a88bed01e9c8
53b588e fix(chat): apply agent-level options in chat.toStreamTextOptions ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/53b588e100eefd5c2d7aa3b4b28ab816a1646318
977c22a refactor(chat): drop the streamText handed to onAction ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/977c22a9322f2381effd13b5fca8f03e77f746bb
0b66e8d docs(chat): describe actions as edits that can become turns ericallam Sep 4, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/0b66e8d291ebf3924f00dc86a9176a9967ea3da4
d4458ea docs(chat): the turn an action requests carries trigger action-turn ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/d4458ea89faf80f191b8fc012d89e10127cc0163
5728314 fix(chat): publish the agent options for hydrateMessages agents, and … ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/5728314bf11757377433ec4a6f681bba53c4a5e9
6db5dcb docs(chat): describe the action-turn branch, and fix two Head Start t… ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/6db5dcbd420bda719ff007a487eb56d6cf083af0
bf66457 docs(chat): list prompt among the Head Start owned options in the cha… ericallam Sep 5, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4884/commits/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4884/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
action-stream-into-conversation.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-32c27af5f29aa438d87dd98afd3f6e89f1fa4c325866f81c122bae1bc75ff410
createsession-steering-lanes.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-f7faebde36f6bc125ca5dfd5237a0402fb5be348e3703efa1b24823b95b40af7
inject-instructions-shape.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-47af475880827f353d9308587decf6fedeaf0b5a6cb4d1e205e485237438b5dd
inject-system-to-instructions.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-e4fa311ba2aba77505afaa41a2df8f5bf04cac77a24ac6c58dd16b13eeed9fe7
managed-streamtext-in-run.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-0e1834fb6962df3f706f0af0163540734d64cffd9f016bae81a38d5a6093e0b9
persist-action-history-mutations.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-28282756ca7123c4d613271ccea014d807ae13ad1ddc5e2e7c717a5ba418c6ec
steering-messages-accumulator.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-7b1d864b004ebb5780f1a1b45046bff818d089a18d193050a0669283ecae4fdf
use-chat-actions.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-9d85616124e273e371a7e65a43850623a1dc79fc3c6a884f592932149d6760a7
actions.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c6ec66f06c7e04b6b86490a24f651f07c35e1b2a50e52f0902ed20f14aa07dad
anatomy.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-5a7ee0c1cfb2e901feef16dfc546397e92fc1131cabf6c2388fb47e0ca87df41
backend.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-01e523dd00c7325581783f1e597004724567505451371706837f01c1724e3f54
background-injection.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c8ff055075af927f79f721e3bfbb2a6d4b23e56dd55a62a5fd3fbed3410c48f1
client-protocol.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-819a1ba7afd2b06146ffe45804f1a7995d727954e4103eb48e0074e14c6ca057
compaction.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-6b560d73c160d780e8e7d8a5e0e40e7037cac8c5130caf1c83c87045c52dd235
fast-starts.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-08c505bdbdd4d7c4e8227461df62a19bcf73ffee36f392fbed504190c435c6f7
frontend.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-0ca382a5d50361ead811d9e36ac14fe4767f49ee2e751b45b77cb45712902e87
migrating-from-a-route-handler.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-5635b98d1f83c24816de499da66a5631ba992ed385d28748bc46e36befa9c9ec
skills.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-bb7b1b26ce15d6f299542dcce7c6d07e4889f01da288f0b415b2a594af3ad59c
pending-messages.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-8221029e3926d4ab845c60011262851aa8c6f10af9790210471963d1cc4c3bec
prompt-caching.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-b54b356b6f9dcad6fff01cb1a9f3b828ddf1a07d112b1a0b42ebfbce445f7d68
quick-start.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-07f1f729c21559b35156e192d61df42eefe44cd9a87092dae5ca0abf5a93d023
reference.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-58e648685c48d39e8d19f714ccdb9a6eca84024f3490b656f62a0ff535a22f3d
testing.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-193042b9e11240ee8055e218e929250c8ab9bcf241f1537c5fa0da539a2bf9e2
tools.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-38c9135028fb06e5627d5ae4127eaa8ef07c1276e3ed3c15144e7f2dffdad0da
upgrade-guide.mdx https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-3806fb819b5f2718518db36a32a9a90aea8bfc99de07d9fd1da70062076d8d7b
SKILL.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-d6e28b26ca84ebdd419d79fdd6b4933ab889db93620618a0279841e2bc48f653
SKILL.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-8acf1b6ae24c5850a8616689bc2065c97e640543477597e5d23261505e06a069
SKILL.md https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-eecd88157e151b049d465ba8ff1da41c7a24a8d7c9365fe348e296f71b944f3b
ai-runtime-cjs.cts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-520e5e606c047ae854a3adf217e8078fc228b532d71dfa394a7daececf2a6898
ai-runtime.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-bcd611fb82c2e8cd926920bdb4110e0573b1c07d518a62df3af942c3a03698a6
ai.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-1a41664a01679e09d7182b5d113a193cea9eaad0f2092f68b4beca081617a53a
chat-react.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-bd66505962858e47bbc1ab2ae3b1422b22cd1365d0ff53a87e201b3c8d661372
chat-server.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-285bb70c688bf6dc3d3e34034620e85dfd77e2b36567fa8b1c2cc7db9ba583b9
chat-server.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-2a5ecaa706016614dfb6966b983452dfc2db84a6e51afb639233cfd1207cf8fc
chat.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-8a256830aa33eacdad4d7a46d7ef31368424eccb570236cc5b08f7e0a7876738
chat.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-fcabf40729dcab619f789d289291c0187dcc76366e51bf53dfe5bb6225587420
mock-chat-agent.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-d5b3e51c31466b619dfd277ca1526277dad3ff6d73a80fc63761c5d126afb73c
accumulator-steering-compaction.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-0749ffeb36640517697b9017856d9dcbd6b7c1f11670ae85175ee64f87fab36a
action-snapshot-cursor.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-22579e92aca41623390dc7b737648a67eb51f34e34446b7ed5e836cf32645a88
action-snapshot.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-3fd48fc368199b483c5f6f866b71558042e3c6e73721ab056a749072f84c9508
action-stream-accumulator.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c26520760e12cb8db16599fd62b700e7ed9a16460ed37a454db2f47bc8bbc5f3
action-turn.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-f7d4f8117367289b2cd02f65a7d9c085763c694ffc95ec65f08d398f606663b3
bound-streamtext.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-972e216a2ccb5d841dad03d29068199f6e02ac2bd6180207edbd6a4a1dda852c
chatHandover.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-ff1841c9aee3b33e838af89993f46858e1a1d10f9e45ac473196a7d69e232d11
createsession-steering-lanes.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-4cfc0f5ecff05a4c2b276e0f7c16af4d67cdf3aa1b7464de0f319aab53aa87a7
error-snapshot-cursor.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-aa4d6c905af0deb08422976cbb979e29c95eb77e6d14cd4ba6f5f07a279c2d07
hitl-uncompacts.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-ff792eb63736314560975b6202c106f0e3252c9a54d5bb29f9b136af2b5f2ce3
inject-system-instructions.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-6d59dc14c909853a6f59858bc85ca8cc115229aa6f64916eaa2a2c25b3bac3bf
instructions-action-replay.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-95fdac759fe490de1c3460237014e6f7916c1f0e28fd5c47419e1c62bbed3b6f
mockChatAgent.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-57bae465d6d60ad1ba7ad0a3d65dbd8febd0b8ad573c71def72beff99a0f6687
spread-form-agent-options.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-40705eb33227a287d1d46b92762f0e1d71ee226427213ea1a848c4ff15ca2e80
steering-accumulator.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-2323fec784896795b56a2f697837d25128dac3ea5ab3bc5daf6f08e2b3c781d2
steering-compaction-lanes.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-1620e2676f8a4ea24368afbf560c910576382906a55914a5ed7c8167cb16ab9b
steering-error-path.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-f8844330d460333ddaa6421e708cd05058384efc7e2491b7a8929ded6f72f048
steering-history-edit-once.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-e812ab15ed64d2d6fca502082b9c7ff7be35bd9b6110935cad12b232255065e8
steering-injection.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-4b24e7b007a38b17160e7a37f6091bae85e6545c69e4eea013069f99fd72463d
steering-prepare-transform.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-f1f5bbabb07e1929b4c701222361dd7d379c88b30ca4d0200149f9713745c6ea
.changeset/action-stream-into-conversation.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-32c27af5f29aa438d87dd98afd3f6e89f1fa4c325866f81c122bae1bc75ff410
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/action-stream-into-conversation.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/createsession-steering-lanes.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-f7faebde36f6bc125ca5dfd5237a0402fb5be348e3703efa1b24823b95b40af7
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/createsession-steering-lanes.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/inject-instructions-shape.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-47af475880827f353d9308587decf6fedeaf0b5a6cb4d1e205e485237438b5dd
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/inject-instructions-shape.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/inject-system-to-instructions.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-e4fa311ba2aba77505afaa41a2df8f5bf04cac77a24ac6c58dd16b13eeed9fe7
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/inject-system-to-instructions.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/managed-streamtext-in-run.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-0e1834fb6962df3f706f0af0163540734d64cffd9f016bae81a38d5a6093e0b9
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/managed-streamtext-in-run.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/persist-action-history-mutations.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-28282756ca7123c4d613271ccea014d807ae13ad1ddc5e2e7c717a5ba418c6ec
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/persist-action-history-mutations.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/steering-messages-accumulator.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-7b1d864b004ebb5780f1a1b45046bff818d089a18d193050a0669283ecae4fdf
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/steering-messages-accumulator.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
.changeset/use-chat-actions.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-9d85616124e273e371a7e65a43850623a1dc79fc3c6a884f592932149d6760a7
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/.changeset/use-chat-actions.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
docs/ai-chat/actions.mdxhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c6ec66f06c7e04b6b86490a24f651f07c35e1b2a50e52f0902ed20f14aa07dad
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/docs/ai-chat/actions.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c6ec66f06c7e04b6b86490a24f651f07c35e1b2a50e52f0902ed20f14aa07dad
https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c6ec66f06c7e04b6b86490a24f651f07c35e1b2a50e52f0902ed20f14aa07dad
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-c6ec66f06c7e04b6b86490a24f651f07c35e1b2a50e52f0902ed20f14aa07dad
docs/ai-chat/anatomy.mdxhttps://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-5a7ee0c1cfb2e901feef16dfc546397e92fc1131cabf6c2388fb47e0ca87df41
View file https://github.com/triggerdotdev/trigger.dev/blob/bf66457dfc4e8e9fbd6f06a1ee7b2cc6a0877395/docs/ai-chat/anatomy.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4884/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-5a7ee0c1cfb2e901feef16dfc546397e92fc1131cabf6c2388fb47e0ca87df41
https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-5a7ee0c1cfb2e901feef16dfc546397e92fc1131cabf6c2388fb47e0ca87df41
https://github.com/triggerdotdev/trigger.dev/pull/4884/files#diff-5a7ee0c1cfb2e901feef16dfc546397e92fc1131cabf6c2388fb47e0ca87df41
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4884/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.