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
28 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
agents@0.35.0
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.ThinkHarnessno longer calls a tool'sonInputStart,onInputDeltaoronInputAvailable, and warns once for each tool that has one.ThinkHarnessoffers a session's client tools after its own, asThinkdoes.ThinkHarnessresolves its tools once per turn attempt, so a change to the tool set applies from the next attempt, not between steps. A cut-off call whose tool the new attempt no longer has is answered with a tool error, where the turn used to wait for a client that would never answer (#3194).ThinkHarnessrefuses a client tool result from anyone but the participant who started the turn (not_owner).keythat stays the same across messages of one place; an inbound email's surface carries its thread root, so a thread that writes twice is one surface answered at its latest message.applyChunkskeeps a pending approval when the tool's input arrives late (#3145).#3184
ab6072eThanks @mattzcarey! - Storage and message size limits.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_BYTESis removed fromagents/chat(useROW_VALUE_BYTES), andenforceRowSizeLimitis deprecated.setStateand SQL statements over SQLite's size limits throw aSqlErrorthat names the limit (#3063).#3184
ab6072eThanks @mattzcarey! - Sessions: compaction and search.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): a second Sessions in the same Durable Object keeps its own transcripts, compactions, search and attachments.#3184
ab6072eThanks @mattzcarey! - Experimentalagents/tasksAPI changes. See Tasks.status(wasstate),TaskRunStateis nowTaskStatus,failedis nowerror,cancelledis nowaborted, andwaitingis nowpendingwithwaitReasonandwakeAt; stored runs are migrated.cancel()now settles a runabortedat once, and nothing a cancelled attempt writes afterwards lands.tasks.run()throwsTaskInputConflictErrorwhen a reusedrunIdoridempotencyKeycomes with a different input, instead of returning the earlier run.namefor more than one Tasks per object. See More than one Tasks.#3184
ab6072eThanks @mattzcarey! - Experimental: Think's context is recorded on the session. See Think context.whenChanged: "remind"block is sent once, where it was first delivered, instead of moving every turn.agents/context:freezeSystemPrompt,refreshSystemPromptandremindermoved fromContextBlocksto the new experimentalContext, andContextBlocksno longer takes a prompt store.Context'spromptStoreoption is read only.set_contextis not sent back to it; one your code writes withsetBlock()is sent once, after the next user message.withCachedPrompt()stores are only read now, for prompts frozen before this release.Patch Changes
#3184
ab6072eThanks @mattzcarey! - Agent tools and sub-agents.errorinstead of stayingrunning(#3073).onFinishgets the give-up once, not also anabortedfor the cancel the give-up made (#2769). See Detached (background) runs.Think.startAgentToolRuntakes an optionalsignal. See Agent tools.cf_ai_chat_stream_*tables now empties those tables instead of dropping them, so its first start cannot reset the storage of its agent tree (#3192).#3184
ab6072eThanks @mattzcarey! - Stored chat messages and tool calls.chat:transcript:repairedreports it), andcontinueLastTurn()returns"awaiting-client"while a reply waits on a client. See Client-side tools.preliminary, so the call and its result are no longer dropped from later turns (#3143).filename(#3145).providerMetadataandtoolMetadata(#3143).AIChatAgentretention (maxPersistedMessages) no longer reads the whole transcript on every persist.#3184
ab6072eThanks @mattzcarey! - Chat recovery after a restart or a dropped stream.work_budget_exceeded(#3055).aborted(#3027).Retry-After(up to 60 seconds).classifyChatError.AIChatAgentrecovers a rate-limited or transient error like a dropped stream when the error reaches it with its status (atoUIMessageStreamResponse()whoseonErrorrethrows; the default masks it).maxRecoveryWork,ctx.work) now count ten stored chunks each. See Recovery work units.abortRequestoverride) is a stop: the stalled reply is not recovered.#3184
ab6072eThanks @mattzcarey! -AIChatAgentandThinkqueue, stop and continue chat turns by the same rules.U1, A1, U2, A2. See Message concurrency.chat:continuation:dropped).abortedresult carriesreason: "stopped"or"interrupted".autoContinuejust before a restart still continues the reply (#3101, #3142).chat:request:failed,chat:stream:stalled, and inThinktool:result,tool:approvalandmessage:cancel.onChatResponsewitherror.experimental_steeringmessage stays in the transcript (#3143).latest,mergeand debounce, a request a newer one superseded stays superseded across a restart. Its question is stored with the newer request's, and amergeturn already at the front of the queue is no longer cancelled by a newer message.agents/chatexportsbuildInClauseStringsagain (deprecated), so a released@cloudflare/think0.24.0 installed beside thisagentsloads.#3184
ab6072eThanks @mattzcarey! - Clients and reconnecting tabs.useAgentandAgentClientconnect to an Agent whose startup takes more than 4 seconds (the handshake timeout is now 15 s) and spread their reconnects after a restart. See Client SDK.#3184
ab6072eThanks @mattzcarey! - Fibers, schedules, background jobs and workflows.runFiber(),startFiber()and the fiber methods are unchanged. See Durable execution.destroy()called from a scheduled callback sticks (#3083).getSchedule()andgetSchedules()work in a sub-agent instead of throwing (#3020).onJobErrorinstead of retrying forever or blocking other work (#3022, #3023, #3032).backoff: "exponential", Think's notification retries) are jittered, so work that failed together does not retry together.keepAlive()andkeepAliveWhile()hold the object awake with one background job instead of a schedule heartbeat.AgentWorkflowrun survives an Agent reset between steps (#3052), andapproveWorkflow()andrejectWorkflow()no longer go through an overriddensendWorkflowEvent().#3184
ab6072eThanks @mattzcarey! - MCP, email and stubs after a reset.web_fetchon every request, and now refuses more private and reserved addresses,.internalnames and URLs with credentials; loopback stays allowed. See URL security.AgentWorkflow, the MCP RPC transport andgetAgentByNamerecover from an Agent reset instead of failing every later call (#2978).replyToEmail()no longer adds a secondRe:to a subject, andisAutoReplyEmail()ignores spaces around a header's value (#3207).#2814
c7511f8Thanks @github-actions! - Streamable HTTPinitializerequests no longer read the session's stored initialize request first, removing one Durable Object round trip when a session starts.#3184
ab6072eThanks @mattzcarey! -agents/streamsand event logs.list()breakscreated_atties by insertion order,close({ commit })rejects anasynccommit, andread/readBatchesthrowRangeErrorfor a non-integerfromor non-finitebatchSize(#3062).name(experimental) for a separate set of streams in its own tables.ResumableStreamfromagents/chatis deprecated:AIChatAgentandThinkno longer use it, and it stays only for@cloudflare/ai-chat0.12.x and@cloudflare/think0.24.x, which construct it. Upgrade them together withagents.@cloudflare/think@0.25.0
Minor Changes
#3184
ab6072eThanks @mattzcarey! - Experimental: Think's context is recorded on the session. See Think context.whenChanged: "remind"block is sent once, where it was first delivered, instead of moving every turn.agents/context:freezeSystemPrompt,refreshSystemPromptandremindermoved fromContextBlocksto the new experimentalContext, andContextBlocksno longer takes a prompt store.Context'spromptStoreoption is read only.set_contextis not sent back to it; one your code writes withsetBlock()is sent once, after the next user message.withCachedPrompt()stores are only read now, for prompts frozen before this release.#3184
ab6072eThanks @mattzcarey! - Think: scheduled tasks, submissions and extensions.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.submitMessagesstores each message whole instead of cutting messages over 1.8 MB; a submission over 16 MiB now throwsTaskSerializationError. Metadata over about 1.8 MB is refused.errorwith that reason.permissions.networkhosts are enforced when the Worker re-exportsHostBridgeLoopback(#3173). A context block'stypein an extension manifest is now ignored, with a warning.Patch Changes
#3184
ab6072eThanks @mattzcarey! - Agent tools and sub-agents.errorinstead of stayingrunning(#3073).onFinishgets the give-up once, not also anabortedfor the cancel the give-up made (#2769). See Detached (background) runs.Think.startAgentToolRuntakes an optionalsignal. See Agent tools.cf_ai_chat_stream_*tables now empties those tables instead of dropping them, so its first start cannot reset the storage of its agent tree (#3192).#2980
a9262e5Thanks @mattzcarey! - Requiresagents0.35.0 or later: upgradeagentstogether with this package.#3184
ab6072eThanks @mattzcarey! - Stored chat messages and tool calls.chat:transcript:repairedreports it), andcontinueLastTurn()returns"awaiting-client"while a reply waits on a client. See Client-side tools.preliminary, so the call and its result are no longer dropped from later turns (#3143).filename(#3145).providerMetadataandtoolMetadata(#3143).AIChatAgentretention (maxPersistedMessages) no longer reads the whole transcript on every persist.#3184
ab6072eThanks @mattzcarey! - Chat recovery after a restart or a dropped stream.work_budget_exceeded(#3055).aborted(#3027).Retry-After(up to 60 seconds).classifyChatError.AIChatAgentrecovers a rate-limited or transient error like a dropped stream when the error reaches it with its status (atoUIMessageStreamResponse()whoseonErrorrethrows; the default masks it).maxRecoveryWork,ctx.work) now count ten stored chunks each. See Recovery work units.abortRequestoverride) is a stop: the stalled reply is not recovered.#3184
ab6072eThanks @mattzcarey! -AIChatAgentandThinkqueue, stop and continue chat turns by the same rules.U1, A1, U2, A2. See Message concurrency.chat:continuation:dropped).abortedresult carriesreason: "stopped"or"interrupted".autoContinuejust before a restart still continues the reply (#3101, #3142).chat:request:failed,chat:stream:stalled, and inThinktool:result,tool:approvalandmessage:cancel.onChatResponsewitherror.experimental_steeringmessage stays in the transcript (#3143).latest,mergeand debounce, a request a newer one superseded stays superseded across a restart. Its question is stored with the newer request's, and amergeturn already at the front of the queue is no longer cancelled by a newer message.agents/chatexportsbuildInClauseStringsagain (deprecated), so a released@cloudflare/think0.24.0 installed beside thisagentsloads.#3184
ab6072eThanks @mattzcarey! - Fibers, schedules, background jobs and workflows.runFiber(),startFiber()and the fiber methods are unchanged. See Durable execution.destroy()called from a scheduled callback sticks (#3083).getSchedule()andgetSchedules()work in a sub-agent instead of throwing (#3020).onJobErrorinstead of retrying forever or blocking other work (#3022, #3023, #3032).backoff: "exponential", Think's notification retries) are jittered, so work that failed together does not retry together.keepAlive()andkeepAliveWhile()hold the object awake with one background job instead of a schedule heartbeat.AgentWorkflowrun survives an Agent reset between steps (#3052), andapproveWorkflow()andrejectWorkflow()no longer go through an overriddensendWorkflowEvent().@cloudflare/ai-chat@0.12.4
Patch Changes
#3184
ab6072eThanks @mattzcarey! - Agent tools and sub-agents.errorinstead of stayingrunning(#3073).onFinishgets the give-up once, not also anabortedfor the cancel the give-up made (#2769). See Detached (background) runs.Think.startAgentToolRuntakes an optionalsignal. See Agent tools.cf_ai_chat_stream_*tables now empties those tables instead of dropping them, so its first start cannot reset the storage of its agent tree (#3192).#2980
a9262e5Thanks @mattzcarey! - Requiresagents0.35.0 or later: upgradeagentstogether with this package.#3184
ab6072eThanks @mattzcarey! - Stored chat messages and tool calls.chat:transcript:repairedreports it), andcontinueLastTurn()returns"awaiting-client"while a reply waits on a client. See Client-side tools.preliminary, so the call and its result are no longer dropped from later turns (#3143).filename(#3145).providerMetadataandtoolMetadata(#3143).AIChatAgentretention (maxPersistedMessages) no longer reads the whole transcript on every persist.#3184
ab6072eThanks @mattzcarey! - Chat recovery after a restart or a dropped stream.work_budget_exceeded(#3055).aborted(#3027).Retry-After(up to 60 seconds).classifyChatError.AIChatAgentrecovers a rate-limited or transient error like a dropped stream when the error reaches it with its status (atoUIMessageStreamResponse()whoseonErrorrethrows; the default masks it).maxRecoveryWork,ctx.work) now count ten stored chunks each. See Recovery work units.abortRequestoverride) is a stop: the stalled reply is not recovered.#3184
ab6072eThanks @mattzcarey! -AIChatAgentandThinkqueue, stop and continue chat turns by the same rules.U1, A1, U2, A2. See Message concurrency.chat:continuation:dropped).abortedresult carriesreason: "stopped"or"interrupted".autoContinuejust before a restart still continues the reply (#3101, #3142).chat:request:failed,chat:stream:stalled, and inThinktool:result,tool:approvalandmessage:cancel.onChatResponsewitherror.experimental_steeringmessage stays in the transcript (#3143).latest,mergeand debounce, a request a newer one superseded stays superseded across a restart. Its question is stored with the newer request's, and amergeturn already at the front of the queue is no longer cancelled by a newer message.agents/chatexportsbuildInClauseStringsagain (deprecated), so a released@cloudflare/think0.24.0 installed beside thisagentsloads.#3184
ab6072eThanks @mattzcarey! - Clients and reconnecting tabs.useAgentandAgentClientconnect to an Agent whose startup takes more than 4 seconds (the handshake timeout is now 15 s) and spread their reconnects after a restart. See Client SDK.@cloudflare/codemode@0.5.7
Patch Changes
#3129
f0a1bb7Thanks @mattzcarey! - Fix grouping in TypeScript declarations generated from JSON Schema.Array<T>, so union and intersection item types stay inside the array. Nullable string items produceArray<string | null>instead ofstring | null[].typeis a list, such as["array", "null"]or["object", "null"], now keeps itsitemsandproperties. It used to produceunknown[] | null, or drop| nullfrom an object.allOfare parenthesised:(string | number) & Fooinstead ofstring | number & Foo.anyOf,oneOf,allOfortypelist no longer produces an empty type.@cloudflare/worker-bundler@0.2.7
Patch Changes
e44ff29Thanks @mattzcarey! - Python packages with native extensions (pyyaml, numpy, pydantic-core and others) now install wheels for the Python the Worker's compatibility date picks: 3.12 before 2025-09-29, 3.13 until 2026-09-07, 3.14 from 2026-09-08 (or thepython_workers_20250116/python_workers_314flags). Before, the bundler always fetched Python 3.12 wheels, which failed to import on newer dates. Awrangler.tomlorwrangler.jsoncin a Python project is no longer uploaded as a module. Packages installed from PyPI take the newest final release, not a newer pre-release.@cloudflare/agent-think@0.0.22
Patch Changes
ab6072e,a9262e5,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,ab6072e,c7511f8,ab6072e,ab6072e,ab6072e,ab6072e]: