Repository navigation
Version Packages - #2929
Open
github-actions[bot] wants to merge 1 commit into
Open
Version Packages#2929github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 22, 2026 09:22
775a2f3 to
65259e5
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
10 times, most recently
from
November 22, 2026 12:50
3029025 to
abbd619
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
November 22, 2026 13:00
5ac36e7 to
917d878
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
10 times, most recently
from
November 22, 2026 17:16
dac5f74 to
130f81b
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
November 22, 2026 17:22
33a4dcd to
c01c005
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
27 times, most recently
from
November 23, 2026 13:31
882008f to
3716115
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
[email protected]
Minor Changes
#3184
ab6072eThanks @mattzcarey! - Experimental harnesses and Channels.AiSdkHarness(agents/harness/ai-sdk), with itscreateSendMessageTooland AI SDK conversion exports. Use Think or the Pi harness; to serve an agent through Channels, useThinkHarnessfromagents/harness/think, which takes the samemodelandtools; existingAiSdkHarnesstranscripts stay in storage and are not carried over.ThinkHarness:recovery.maxAttempts(default 10) counts attempts without progress,recovery.backoffMsis removed, a cut-off tool reruns only if markedrecovery: "rerun", and tools'onInputStart,onInputDeltaandonInputAvailableare no longer called.ThinkHarnesstells the model when its tools changed, answers a cut-off call to a removed tool with an error instead of waiting, and emitsprefix-changed(#3194).ThinkHarnesstakes client tool results only from the turn's owner, runs on AI SDK 6, no longer hangs on an in-band stream error, and no longer corrupts long log entries with emoji (#3054).ThinkHarness'sonRecoverymay return{ continue, persist }beside"continue"and"abandon", wherepersist: falsedrops the interrupted reply, and its context carries the turn'sstash()data asrecoveryData.keygroups one place's messages, and a reset no longer double-posts an answer (#3145).fail(classifyContextOverflownow saysretryfor one), finishes a turn whose recovery gives up like any given-up reply, and names the reply an aborted operation kept (messageId).ThinkHarnesstakes shipped extensions through itsextensionsoption. The first is Code Mode,codemode()from the new experimental entryagents/harness/think/extensions: the model writes one script, and the other tools become functions it calls, each a recorded step with the tool hooks and approvals.CodemodeSandboxandsandboxExecutorrun the scripts in their own Durable Object.ThinkHarnesstool whoseexecuteresolves to an async iterable, rather than returning one, no longer reports progress: its last value is the result, as in the AI SDK.#3184
ab6072eThanks @mattzcarey! - Storage limits andagents/streams.getAgentToolChunksnow page by size (16 MiB per frame or reply); a caller ofgetAgentToolChunksreads the rest by passing the lastafterSequenceuntil a call returns no chunks. Local development needs workerd 1.20260930 or later:wrangler4.145.0+ and@cloudflare/vitest-plugin1.9.1+; older local runtimes fail large writes withSQLITE_TOOBIG. See Adding to an existing project.ROW_MAX_BYTESandenforceRowSizeLimitare removed fromagents/chat(useROW_VALUE_BYTES).SqlErrornaming the limit (#2991, #3050, #3063).agents/streamstakes an optionalname(experimental) and validates its arguments (#3062).#3184
ab6072eThanks @mattzcarey! - Sessions.addCompaction()throws on anchors that can never apply, overlapping hand-written overlays resolve to the one ending later, and reads that start at the root throw past 200,000 visible messages. Existing overlays are carried forward on start. See Sessions.name(experimental).#3184
ab6072eThanks @mattzcarey! - Experimentalagents/tasksAPI changes. See Tasks.status(wasstate),TaskRunStateis nowTaskStatus,failedis nowerror,cancelledis nowaborted, andwaitingis nowpendingwithwaitReasonandwakeAt; stored runs are migrated.cancel()settles a runabortedat once, andtasks.run()throwsTaskInputConflictErrorwhen a reusedrunIdoridempotencyKeyhas a different input.namefor more than one Tasks per object.#3184
ab6072eThanks @mattzcarey! - Think.getScheduledTasks()move to new storage, and existing task rows migrate forward on first start.getScheduledTasksScope()is removed: a sub-agent now arms its own declared tasks, and its root wakes it. See Scheduled tasks.agents/context:freezeSystemPrompt,refreshSystemPromptandremindermoved fromContextBlocksto the newContext,ContextBlocksno longer takes a prompt store, prompt stores are only read, turns keep their first system prompt, andset_contextblocks are not echoed back.messengerReplySnapshot,parseMessengerReplySnapshot,MessengerReplySnapshot,MESSENGER_REPLY_FIBER_NAME,DeliveryTaganddefaultDeliveryTagare removed,messengerReplyRecoveryMode()takes a stage,ThinkMessengerRuntimeno longer hashandleFiberRecovery(),hasLiveReply(),initialReplySnapshot()orexecuteLiveReply(), anddeliverMessengerReply()takesonStageinstead ofcheckpoint,fiberandsnapshotThread; a reply cut off by a reset answers again or apologizes, and replies a reset left open in [email protected] are carried forward.submitMessagesstores messages whole up to 16 MiB.deliverNoticebefore the first webhook no longer throws.permissions.networkwhen the Worker re-exportsHostBridgeLoopback(#3173).contextOverflow.proactiveon AI SDK 6, the steps after the guard compacted no longer send the whole history again.Patch Changes
#3184
ab6072eThanks @mattzcarey! - Agent tools and sub-agents.Think.startAgentToolRuntakes an optionalsignal.interruptedafter 2 s, and a throwingonAgentToolFinishgoes toonError.error, and a detached run without progress endsinterrupted, notrunning(#3073, #2467).onMilestonesgets a milestone reached before finishing (#2769, #3278).AIChatAgentagent-tool run is its chat turn: one durable run, so a reset of the child resumes it and a cancel ends it at once, and runs a released version kept, or that were in flight across the upgrade, carry on.#3184
ab6072eThanks @mattzcarey! - Stored chat messages.chat:transcript:repaired), andcontinueLastTurn()returns"awaiting-client"while a reply waits on a client.onChatResponseaserror(#2981).#3184
ab6072eThanks @mattzcarey! - Chat recovery.maxRecoveryWork,ctx.work) now count ten stored chunks each. See Recovery work units.classifyChatError, and recovery honoursRetry-After(up to 60 s).work_budget_exceeded(#3055).aborted, and the next message no longer waits out its backoff (#3027).error; it stayedrunning.chatRecovery.stableTimeoutMsis deprecated and has no effect: a recovered turn is the next attempt of the turn's own run, so there is no wait for a stable chat before it continues.AIChatAgentturn that is recovered keeps its request id and ends once, so a tab no longer sees an end withoutcome: "recovering"followed by a new request.saveMessagesandcontinueLastTurnresolve once recovery has finished the turn, with how it ended, instead of withreason: "interrupted".onErrorhears of anonChatMessagefailure once per turn, where a recoveredcontinueLastTurnreported it twice.continueLastTurnorwaitUntilStable: an interrupted turn is retried or continued as attempts of its own run, andAIChatAgentwarns once at start when a subclass overridescontinueLastTurn(decide recovery inonChatRecovery).AIChatAgentreply is waiting on a client tool or approval, its recovery ends at once withchat:recovery:skippedand reasonawaiting_client_interaction, and the client's answer starts an ordinary continuation.cf_agent_chat_recoveringoff beforecf_agent_message_updated.AIChatAgentstream whose recoveryonChatRecoverydeclines sends tabscf_agent_chat_recoveringon and then off.#3184
ab6072eThanks @mattzcarey! - Chat turns.agents,@cloudflare/ai-chatand@cloudflare/thinktogether.@cloudflare/ai-chatand@cloudflare/thinkrequireagents0.35.0 or later. Released@cloudflare/ai-chat0.12.x and@cloudflare/think0.24.x can't run a turn on thisagents, soagents/chatno longer keeps exports for them.TurnQueue,SubmitConcurrencyController,AbortRegistry,ResumableStream,ContinuationState,AutoContinuationController,buildInClauseStringsandenforceRowSizeLimitare removed, and an old pairing fails at bundle time with a missing export.U1, A1, U2, A2.abortedresult carriesreason: "stopped"or"interrupted", and anautoContinuetool result answered just before a restart still continues the reply (#3101, #3142).chat:request:failed,chat:stream:stalled,chat:continuation:dropped, and Think'stool:result,tool:approval,message:cancel.null.AIChatAgentrequest whoseonChatMessagereturns no response ends withoutcome: "skipped".AIChatAgentturn it reaches, and a request that was still waiting ends withoutcome: "skipped".AIChatAgentturn that recovery gives up on reports its end toonChatResponseonce, withstatus: "error"and the terminal message, afteronExhausted.AIChatAgentturns store their messages directly, so apersistMessagesoverride no longer sees a turn's writes.Thinkleaves the reasoning it ends in out of the model request only; a reply cut off in its reasoning is still removed. See Reasoning at the end of a reply.#3184
ab6072eThanks @mattzcarey! - Clients.useAgentandAgentClientwait up to 15 s for the handshake (was 4 s) and spread their reconnects.useAgentChatshows an accepted turn as busy, and Stop cancels it (#2741).#3184
ab6072eThanks @mattzcarey! - Schedules, jobs and workflows.onJobError(#3022, #3023, #3032, #3025, #3007).getSchedule()work in sub-agents, anddestroy()from a scheduled callback sticks (#3012, #3020, #3083).AgentWorkflowruns and stubs survive an Agent reset, andapproveWorkflow()andrejectWorkflow()skip an overriddensendWorkflowEvent()(#3052, #2978).deleteSubAgent()and a sub-agent'sdestroy()now empty the sub-agent's storage, and its own sub-agents' storage, on deployed Workers.#3184
ab6072eThanks @mattzcarey! - MCP, email and models.web_fetch, refusing more private addresses,.internalnames and URLs with credentials.getAgentByNamerecover from an Agent reset (#2978).replyToEmail()no longer adds a secondRe:(#3207).agents/models/pi-ai: anAbortErrorfromonResponseon Anthropic stops a fallback chain.@cloudflare/[email protected]
Minor Changes
#3184
ab6072eThanks @mattzcarey! - Think.getScheduledTasks()move to new storage, and existing task rows migrate forward on first start.getScheduledTasksScope()is removed: a sub-agent now arms its own declared tasks, and its root wakes it. See Scheduled tasks.agents/context:freezeSystemPrompt,refreshSystemPromptandremindermoved fromContextBlocksto the newContext,ContextBlocksno longer takes a prompt store, prompt stores are only read, turns keep their first system prompt, andset_contextblocks are not echoed back.messengerReplySnapshot,parseMessengerReplySnapshot,MessengerReplySnapshot,MESSENGER_REPLY_FIBER_NAME,DeliveryTaganddefaultDeliveryTagare removed,messengerReplyRecoveryMode()takes a stage,ThinkMessengerRuntimeno longer hashandleFiberRecovery(),hasLiveReply(),initialReplySnapshot()orexecuteLiveReply(), anddeliverMessengerReply()takesonStageinstead ofcheckpoint,fiberandsnapshotThread; a reply cut off by a reset answers again or apologizes, and replies a reset left open in [email protected] are carried forward.submitMessagesstores messages whole up to 16 MiB.deliverNoticebefore the first webhook no longer throws.permissions.networkwhen the Worker re-exportsHostBridgeLoopback(#3173).contextOverflow.proactiveon AI SDK 6, the steps after the guard compacted no longer send the whole history again.Patch Changes
#3184
ab6072eThanks @mattzcarey! - Agent tools and sub-agents.Think.startAgentToolRuntakes an optionalsignal.interruptedafter 2 s, and a throwingonAgentToolFinishgoes toonError.error, and a detached run without progress endsinterrupted, notrunning(#3073, #2467).onMilestonesgets a milestone reached before finishing (#2769, #3278).AIChatAgentagent-tool run is its chat turn: one durable run, so a reset of the child resumes it and a cancel ends it at once, and runs a released version kept, or that were in flight across the upgrade, carry on.#3184
ab6072eThanks @mattzcarey! - Stored chat messages.chat:transcript:repaired), andcontinueLastTurn()returns"awaiting-client"while a reply waits on a client.onChatResponseaserror(#2981).#3184
ab6072eThanks @mattzcarey! - Chat recovery.maxRecoveryWork,ctx.work) now count ten stored chunks each. See Recovery work units.classifyChatError, and recovery honoursRetry-After(up to 60 s).work_budget_exceeded(#3055).aborted, and the next message no longer waits out its backoff (#3027).error; it stayedrunning.chatRecovery.stableTimeoutMsis deprecated and has no effect: a recovered turn is the next attempt of the turn's own run, so there is no wait for a stable chat before it continues.AIChatAgentturn that is recovered keeps its request id and ends once, so a tab no longer sees an end withoutcome: "recovering"followed by a new request.saveMessagesandcontinueLastTurnresolve once recovery has finished the turn, with how it ended, instead of withreason: "interrupted".onErrorhears of anonChatMessagefailure once per turn, where a recoveredcontinueLastTurnreported it twice.continueLastTurnorwaitUntilStable: an interrupted turn is retried or continued as attempts of its own run, andAIChatAgentwarns once at start when a subclass overridescontinueLastTurn(decide recovery inonChatRecovery).AIChatAgentreply is waiting on a client tool or approval, its recovery ends at once withchat:recovery:skippedand reasonawaiting_client_interaction, and the client's answer starts an ordinary continuation.cf_agent_chat_recoveringoff beforecf_agent_message_updated.AIChatAgentstream whose recoveryonChatRecoverydeclines sends tabscf_agent_chat_recoveringon and then off.#3184
ab6072eThanks @mattzcarey! - Chat turns.agents,@cloudflare/ai-chatand@cloudflare/thinktogether.@cloudflare/ai-chatand@cloudflare/thinkrequireagents0.35.0 or later. Released@cloudflare/ai-chat0.12.x and@cloudflare/think0.24.x can't run a turn on thisagents, soagents/chatno longer keeps exports for them.TurnQueue,SubmitConcurrencyController,AbortRegistry,ResumableStream,ContinuationState,AutoContinuationController,buildInClauseStringsandenforceRowSizeLimitare removed, and an old pairing fails at bundle time with a missing export.U1, A1, U2, A2.abortedresult carriesreason: "stopped"or"interrupted", and anautoContinuetool result answered just before a restart still continues the reply (#3101, #3142).chat:request:failed,chat:stream:stalled,chat:continuation:dropped, and Think'stool:result,tool:approval,message:cancel.null.AIChatAgentrequest whoseonChatMessagereturns no response ends withoutcome: "skipped".AIChatAgentturn it reaches, and a request that was still waiting ends withoutcome: "skipped".AIChatAgentturn that recovery gives up on reports its end toonChatResponseonce, withstatus: "error"and the terminal message, afteronExhausted.AIChatAgentturns store their messages directly, so apersistMessagesoverride no longer sees a turn's writes.Thinkleaves the reasoning it ends in out of the model request only; a reply cut off in its reasoning is still removed. See Reasoning at the end of a reply.#3184
ab6072eThanks @mattzcarey! - Schedules, jobs and workflows.onJobError(#3022, #3023, #3032, #3025, #3007).getSchedule()work in sub-agents, anddestroy()from a scheduled callback sticks (#3012, #3020, #3083).AgentWorkflowruns and stubs survive an Agent reset, andapproveWorkflow()andrejectWorkflow()skip an overriddensendWorkflowEvent()(#3052, #2978).deleteSubAgent()and a sub-agent'sdestroy()now empty the sub-agent's storage, and its own sub-agents' storage, on deployed Workers.@cloudflare/[email protected]
Patch Changes
#3184
ab6072eThanks @mattzcarey! - Agent tools and sub-agents.Think.startAgentToolRuntakes an optionalsignal.interruptedafter 2 s, and a throwingonAgentToolFinishgoes toonError.error, and a detached run without progress endsinterrupted, notrunning(#3073, #2467).onMilestonesgets a milestone reached before finishing (#2769, #3278).AIChatAgentagent-tool run is its chat turn: one durable run, so a reset of the child resumes it and a cancel ends it at once, and runs a released version kept, or that were in flight across the upgrade, carry on.#3184
ab6072eThanks @mattzcarey! - Stored chat messages.chat:transcript:repaired), andcontinueLastTurn()returns"awaiting-client"while a reply waits on a client.onChatResponseaserror(#2981).#3184
ab6072eThanks @mattzcarey! - Chat recovery.maxRecoveryWork,ctx.work) now count ten stored chunks each. See Recovery work units.classifyChatError, and recovery honoursRetry-After(up to 60 s).work_budget_exceeded(#3055).aborted, and the next message no longer waits out its backoff (#3027).error; it stayedrunning.chatRecovery.stableTimeoutMsis deprecated and has no effect: a recovered turn is the next attempt of the turn's own run, so there is no wait for a stable chat before it continues.AIChatAgentturn that is recovered keeps its request id and ends once, so a tab no longer sees an end withoutcome: "recovering"followed by a new request.saveMessagesandcontinueLastTurnresolve once recovery has finished the turn, with how it ended, instead of withreason: "interrupted".onErrorhears of anonChatMessagefailure once per turn, where a recoveredcontinueLastTurnreported it twice.continueLastTurnorwaitUntilStable: an interrupted turn is retried or continued as attempts of its own run, andAIChatAgentwarns once at start when a subclass overridescontinueLastTurn(decide recovery inonChatRecovery).AIChatAgentreply is waiting on a client tool or approval, its recovery ends at once withchat:recovery:skippedand reasonawaiting_client_interaction, and the client's answer starts an ordinary continuation.cf_agent_chat_recoveringoff beforecf_agent_message_updated.AIChatAgentstream whose recoveryonChatRecoverydeclines sends tabscf_agent_chat_recoveringon and then off.#3184
ab6072eThanks @mattzcarey! - Chat turns.agents,@cloudflare/ai-chatand@cloudflare/thinktogether.@cloudflare/ai-chatand@cloudflare/thinkrequireagents0.35.0 or later. Released@cloudflare/ai-chat0.12.x and@cloudflare/think0.24.x can't run a turn on thisagents, soagents/chatno longer keeps exports for them.TurnQueue,SubmitConcurrencyController,AbortRegistry,ResumableStream,ContinuationState,AutoContinuationController,buildInClauseStringsandenforceRowSizeLimitare removed, and an old pairing fails at bundle time with a missing export.U1, A1, U2, A2.abortedresult carriesreason: "stopped"or"interrupted", and anautoContinuetool result answered just before a restart still continues the reply (#3101, #3142).chat:request:failed,chat:stream:stalled,chat:continuation:dropped, and Think'stool:result,tool:approval,message:cancel.null.AIChatAgentrequest whoseonChatMessagereturns no response ends withoutcome: "skipped".AIChatAgentturn it reaches, and a request that was still waiting ends withoutcome: "skipped".AIChatAgentturn that recovery gives up on reports its end toonChatResponseonce, withstatus: "error"and the terminal message, afteronExhausted.AIChatAgentturns store their messages directly, so apersistMessagesoverride no longer sees a turn's writes.Thinkleaves the reasoning it ends in out of the model request only; a reply cut off in its reasoning is still removed. See Reasoning at the end of a reply.#3184
ab6072eThanks @mattzcarey! - Clients.useAgentandAgentClientwait up to 15 s for the handshake (was 4 s) and spread their reconnects.useAgentChatshows an accepted turn as busy, and Stop cancels it (#2741).@cloudflare/[email protected]
Patch Changes
f0a1bb7Thanks @mattzcarey! - Types generated from JSON Schema group unions correctly, and atypelist such as["array", "null"]keeps itsitemsandproperties.@cloudflare/[email protected]
Patch Changes
e44ff29Thanks @mattzcarey! - Python packages with native extensions get wheels for the Python the compatibility date picks, not always 3.12.@cloudflare/[email protected]
Patch Changes
ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e]: