Skip to content

Version Packages - #2929

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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 ab6072e Thanks @mattzcarey! - Experimental harnesses and Channels.

    • Remove the experimental AiSdkHarness (agents/harness/ai-sdk), with its createSendMessageTool and AI SDK conversion exports. Use Think or the Pi harness; to serve an agent through Channels, use ThinkHarness from agents/harness/think, which takes the same model and tools; existing AiSdkHarness transcripts stay in storage and are not carried over.
    • ThinkHarness no longer calls a tool's onInputStart, onInputDelta or onInputAvailable, and warns once for each tool that has one.
    • ThinkHarness offers a session's client tools after its own, as Think does.
    • ThinkHarness resolves 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).
    • ThinkHarness refuses a client tool result from anyone but the participant who started the turn (not_owner).
    • The harness store no longer corrupts long log entries containing emoji (#3054).
    • Channels: a message surface may carry a key that 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.
    • Channels applyChunks keeps a pending approval when the tool's input arrives late (#3145).
  • #3184 ab6072e Thanks @mattzcarey! - Storage and message size limits.

    • Agents now store up to 8 MB in one SQLite row (was 2 MB), as production allows. Event-log replay, Sessions search and getAgentToolChunks now page by size (16 MiB per frame or reply); a caller of getAgentToolChunks reads the rest by passing the last afterSequence until a call returns no chunks. Local development needs workerd 1.20260930 or later: wrangler 4.145.0+ and @cloudflare/vitest-plugin 1.9.1+; older local runtimes fail large writes with SQLITE_TOOBIG. See Adding to an existing project.
    • ROW_MAX_BYTES is removed from agents/chat (use ROW_VALUE_BYTES), and enforceRowSizeLimit is deprecated.
    • A callable whose result or stream chunk is over the WebSocket message limit (1 KiB under 32 MiB) answers with an error instead of leaving the call waiting (#2991, #3050).
    • setState and SQL statements over SQLite's size limits throw a SqlError that names the limit (#3063).
  • #3184 ab6072e Thanks @mattzcarey! - Sessions: compaction and search.

    • Sessions resolves what the model sees from the newest message back: compaction overlays apply at any length, reads cost what they return, and deleting messages keeps overlays applying (#2871). Behaviour changes: 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.
    • Long compacted chats no longer send raw history to the model (#3056).
    • A long session compacts in rounds instead of failing to load.
    • The next request no longer fails with "web_search_call was provided without its required reasoning item" (#3090).
    • Sessions takes an optional name (experimental): a second Sessions in the same Durable Object keeps its own transcripts, compactions, search and attachments.
    • Search no longer fails on a message larger than one row or overflows the stack on a long text (#3075, #3124, #3084).
  • #3184 ab6072e Thanks @mattzcarey! - Experimental agents/tasks API changes. See Tasks.

    • Snapshots and receipts carry status (was state), TaskRunState is now TaskStatus, failed is now error, cancelled is now aborted, and waiting is now pending with waitReason and wakeAt; stored runs are migrated.
    • cancel() now settles a run aborted at once, and nothing a cancelled attempt writes afterwards lands.
    • tasks.run() throws TaskInputConflictError when a reused runId or idempotencyKey comes with a different input, instead of returning the earlier run.
    • Tasks takes an optional name for more than one Tasks per object. See More than one Tasks.
    • A run that outlives its alarm is recovered within seconds of a reset instead of after 30 seconds (#3066).
  • #3184 ab6072e Thanks @mattzcarey! - Experimental: Think's context is recorded on the session. See Think context.

    • Each turn opens with the exact system prompt it was sent before, and a changed whenChanged: "remind" block is sent once, where it was first delivered, instead of moving every turn.
    • What changed in agents/context: freezeSystemPrompt, refreshSystemPrompt and reminder moved from ContextBlocks to the new experimental Context, and ContextBlocks no longer takes a prompt store. Context's promptStore option is read only.
    • A block the model writes with set_context is not sent back to it; one your code writes with setBlock() is sent once, after the next user message.
    • withCachedPrompt() stores are only read now, for prompts frozen before this release.

Patch Changes

  • #3184 ab6072e Thanks @mattzcarey! - Agent tools and sub-agents.

    • An agent-tool run whose child cannot stay up ends error instead of staying running (#3073).
    • A detached agent-tool run given up after its child was torn down now counts as settled, so it is no longer re-armed forever, while a late finish (including a failed-callback retry) is still delivered; onFinish gets the give-up once, not also an aborted for the cancel the give-up made (#2769). See Detached (background) runs.
    • An agent-tool run whose child's turn was cut off waits for the child's recovery (#3024), and runs started together run in order (#3144).
    • Think.startAgentToolRun takes an optional signal. See Agent tools.
    • Starting or waking many sub-agents at once no longer stalls after about 14 (#3077).
    • A sub-agent's work cut off by a reset resumes as soon as the root restarts (#3014, #3086).
    • A sub-agent of an agent addressed in a jurisdiction now reaches that agent (#3085).
    • Aged-media eviction runs for every sub-agent (#2974).
    • A sub-agent's broadcast followed by a direct send to a connection in the same call reaches that connection in that order (#3181).
    • A sub-agent upgraded from a version that kept chat streams in the old 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).
    • A sub-agent now handles the frames a client sends over its socket in the order they were sent, also when they arrive right after the socket opens (#3215).
  • #3184 ab6072e Thanks @mattzcarey! - Stored chat messages and tool calls.

    • Before each turn, tool calls and approvals left pending in earlier replies are failed (chat:transcript:repaired reports it), and continueLastTurn() returns "awaiting-client" while a reply waits on a client. See Client-side tools.
    • A streaming tool's final output now clears preliminary, so the call and its result are no longer dropped from later turns (#3143).
    • Overlapping text and reasoning parts no longer mix, and a streamed file keeps its filename (#3145).
    • Stored parts keep providerMetadata and toolMetadata (#3143).
    • A repeated tool result is a no-op, and an approval given before a tool's final input keeps that input (#2981).
    • AIChatAgent retention (maxPersistedMessages) no longer reads the whole transcript on every persist.
    • A chat message list frame over the WebSocket message limit is no longer sent, which production drops without a word; it is logged instead.
    • The client tools and body of the last chat request are kept with the conversation's Sessions storage and carried over once from where earlier releases kept them; one over the row budget is kept in memory only, with a warning, instead of failing the write.
  • #3184 ab6072e Thanks @mattzcarey! - Chat recovery after a restart or a dropped stream.

    • A request waiting behind a turn that a reset cut off now runs after the recovered turn (#2922). See Requests waiting behind an interrupted turn.
    • The recovery budget no longer grows by a conversation's whole history on each new isolate, which sealed long conversations with work_budget_exceeded (#3055).
    • Stopping a request being recovered always ends it aborted (#3027).
    • A turn found interrupted after a restart is skipped when the conversation moved on, its question is answered again when it is still the latest message, and the latest reply is continued.
    • Recovery no longer continues a reply twice and honours a provider's Retry-After (up to 60 seconds).
    • A rebuilt orphaned reply no longer repeats its parts (#2979).
    • Provider rate-limit, transient and context-overflow errors are recognised without classifyChatError. AIChatAgent recovers a rate-limited or transient error like a dropped stream when the error reaches it with its status (a toUIMessageStreamResponse() whose onError rethrows; the default masks it).
    • Recovery work units (maxRecoveryWork, ctx.work) now count ten stored chunks each. See Recovery work units.
    • A reply cut off twice by resets a few seconds apart is recovered again before a request queued behind it runs, so that request no longer leaves it unanswered.
    • A stop issued while the stall watchdog aborts a reply (for example from an abortRequest override) is a stop: the stalled reply is not recovered.
  • #3184 ab6072e Thanks @mattzcarey! - AIChatAgent and Think queue, stop and continue chat turns by the same rules.

    • A message sent while a turn runs is stored when its own turn starts, so the transcript reads U1, A1, U2, A2. See Message concurrency.
    • A stop also drops the auto-continuations waiting behind it (chat:continuation:dropped).
    • Auto-continuation runs only while the answered call's message is the last one; otherwise the next turn reads the result.
    • An aborted result carries reason: "stopped" or "interrupted".
    • A waiting message is no longer dropped except by a clear, and a request cancelled in the queue never runs (#2928).
    • A tool result answered with autoContinue just before a restart still continues the reply (#3101, #3142).
    • New events: chat:request:failed, chat:stream:stalled, and in Think tool:result, tool:approval and message:cancel.
    • A reply whose store fails runs onChatResponse with error.
    • An experimental_steering message stays in the transcript (#3143).
    • Under latest, merge and debounce, a request a newer one superseded stays superseded across a restart. Its question is stored with the newer request's, and a merge turn already at the front of the queue is no longer cancelled by a newer message.
    • agents/chat exports buildInClauseStrings again (deprecated), so a released @cloudflare/think 0.24.0 installed beside this agents loads.
  • #3184 ab6072e Thanks @mattzcarey! - Clients and reconnecting tabs.

    • useAgent and AgentClient connect 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.
    • A chat tab that joins a running reply gets live chunks again (#2703, #3068).
    • A tab is told a request's end once, after a stop or a reconnect too (#3074, #3135, #3064).
    • Connection state that is not a plain object keeps its shape (#2942).
  • #3184 ab6072e Thanks @mattzcarey! - Fibers, schedules, background jobs and workflows.

    • Fibers run as Task runs; runFiber(), startFiber() and the fiber methods are unchanged. See Durable execution.
    • A fiber whose recovery hook crashes the isolate no longer takes the agent down (#2970).
    • destroy() called from a scheduled callback sticks (#3083).
    • getSchedule() and getSchedules() work in a sub-agent instead of throwing (#3020).
    • A background job that keeps failing reaches onJobError instead of retrying forever or blocking other work (#3022, #3023, #3032).
    • Jobs pushed inside a sub-agent now run, and pending work survives a dropped alarm (#2977, #3012).
    • A rolled-back transaction no longer breaks later job writes (#3007), and a job whose capability a deploy dropped is kept for the deploy that restores it (#3025).
    • Retry delays (fiber recovery, chat recovery, Tasks backoff: "exponential", Think's notification retries) are jittered, so work that failed together does not retry together.
    • keepAlive() and keepAliveWhile() hold the object awake with one background job instead of a schedule heartbeat.
    • Work cut off by a reset resumes within 5 seconds instead of 30 (#3028).
    • An AgentWorkflow run survives an Agent reset between steps (#3052), and approveWorkflow() and rejectWorkflow() no longer go through an overridden sendWorkflowEvent().
  • #3184 ab6072e Thanks @mattzcarey! - MCP, email and stubs after a reset.

    • The MCP client checks server URLs with the same rules as web_fetch on every request, and now refuses more private and reserved addresses, .internal names and URLs with credentials; loopback stays allowed. See URL security.
    • AgentWorkflow, the MCP RPC transport and getAgentByName recover from an Agent reset instead of failing every later call (#2978).
    • replyToEmail() no longer adds a second Re: to a subject, and isAutoReplyEmail() ignores spaces around a header's value (#3207).
  • #2814 c7511f8 Thanks @github-actions! - Streamable HTTP initialize requests no longer read the session's stored initialize request first, removing one Durable Object round trip when a session starts.

  • #3184 ab6072e Thanks @mattzcarey! - agents/streams and event logs.

    • list() breaks created_at ties by insertion order, close({ commit }) rejects an async commit, and read/readBatches throw RangeError for a non-integer from or non-finite batchSize (#3062).
    • Streams takes an optional name (experimental) for a separate set of streams in its own tables.
    • Event-log frames from a sub-agent's sockets now reach the sub-agent (#3018).
    • ResumableStream from agents/chat is deprecated: AIChatAgent and Think no longer use it, and it stays only for @cloudflare/ai-chat 0.12.x and @cloudflare/think 0.24.x, which construct it. Upgrade them together with agents.

@cloudflare/think@0.25.0

Minor Changes

  • #3184 ab6072e Thanks @mattzcarey! - Experimental: Think's context is recorded on the session. See Think context.

    • Each turn opens with the exact system prompt it was sent before, and a changed whenChanged: "remind" block is sent once, where it was first delivered, instead of moving every turn.
    • What changed in agents/context: freezeSystemPrompt, refreshSystemPrompt and reminder moved from ContextBlocks to the new experimental Context, and ContextBlocks no longer takes a prompt store. Context's promptStore option is read only.
    • A block the model writes with set_context is not sent back to it; one your code writes with setBlock() is sent once, after the next user message.
    • withCachedPrompt() stores are only read now, for prompts frozen before this release.
  • #3184 ab6072e Thanks @mattzcarey! - Think: scheduled tasks, submissions and extensions.

    • Scheduled tasks from 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.
    • submitMessages stores each message whole instead of cutting messages over 1.8 MB; a submission over 16 MiB now throws TaskSerializationError. Metadata over about 1.8 MB is refused.
    • A messenger reply finished by chat recovery is retried with backoff until a send fails more than twelve hours after the first try or three resets in a row cut its attempts off, instead of eight scheduled retries and then the next wake.
    • A workflow prompt whose structured output exceeds a workflow event (1 MiB) ends error with that reason.
    • An extension's permissions.network hosts are enforced when the Worker re-exports HostBridgeLoopback (#3173). A context block's type in an extension manifest is now ignored, with a warning.

Patch Changes

  • #3184 ab6072e Thanks @mattzcarey! - Agent tools and sub-agents.

    • An agent-tool run whose child cannot stay up ends error instead of staying running (#3073).
    • A detached agent-tool run given up after its child was torn down now counts as settled, so it is no longer re-armed forever, while a late finish (including a failed-callback retry) is still delivered; onFinish gets the give-up once, not also an aborted for the cancel the give-up made (#2769). See Detached (background) runs.
    • An agent-tool run whose child's turn was cut off waits for the child's recovery (#3024), and runs started together run in order (#3144).
    • Think.startAgentToolRun takes an optional signal. See Agent tools.
    • Starting or waking many sub-agents at once no longer stalls after about 14 (#3077).
    • A sub-agent's work cut off by a reset resumes as soon as the root restarts (#3014, #3086).
    • A sub-agent of an agent addressed in a jurisdiction now reaches that agent (#3085).
    • Aged-media eviction runs for every sub-agent (#2974).
    • A sub-agent's broadcast followed by a direct send to a connection in the same call reaches that connection in that order (#3181).
    • A sub-agent upgraded from a version that kept chat streams in the old 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).
    • A sub-agent now handles the frames a client sends over its socket in the order they were sent, also when they arrive right after the socket opens (#3215).
  • #2980 a9262e5 Thanks @mattzcarey! - Requires agents 0.35.0 or later: upgrade agents together with this package.

  • #3184 ab6072e Thanks @mattzcarey! - Stored chat messages and tool calls.

    • Before each turn, tool calls and approvals left pending in earlier replies are failed (chat:transcript:repaired reports it), and continueLastTurn() returns "awaiting-client" while a reply waits on a client. See Client-side tools.
    • A streaming tool's final output now clears preliminary, so the call and its result are no longer dropped from later turns (#3143).
    • Overlapping text and reasoning parts no longer mix, and a streamed file keeps its filename (#3145).
    • Stored parts keep providerMetadata and toolMetadata (#3143).
    • A repeated tool result is a no-op, and an approval given before a tool's final input keeps that input (#2981).
    • AIChatAgent retention (maxPersistedMessages) no longer reads the whole transcript on every persist.
    • A chat message list frame over the WebSocket message limit is no longer sent, which production drops without a word; it is logged instead.
    • The client tools and body of the last chat request are kept with the conversation's Sessions storage and carried over once from where earlier releases kept them; one over the row budget is kept in memory only, with a warning, instead of failing the write.
  • #3184 ab6072e Thanks @mattzcarey! - Chat recovery after a restart or a dropped stream.

    • A request waiting behind a turn that a reset cut off now runs after the recovered turn (#2922). See Requests waiting behind an interrupted turn.
    • The recovery budget no longer grows by a conversation's whole history on each new isolate, which sealed long conversations with work_budget_exceeded (#3055).
    • Stopping a request being recovered always ends it aborted (#3027).
    • A turn found interrupted after a restart is skipped when the conversation moved on, its question is answered again when it is still the latest message, and the latest reply is continued.
    • Recovery no longer continues a reply twice and honours a provider's Retry-After (up to 60 seconds).
    • A rebuilt orphaned reply no longer repeats its parts (#2979).
    • Provider rate-limit, transient and context-overflow errors are recognised without classifyChatError. AIChatAgent recovers a rate-limited or transient error like a dropped stream when the error reaches it with its status (a toUIMessageStreamResponse() whose onError rethrows; the default masks it).
    • Recovery work units (maxRecoveryWork, ctx.work) now count ten stored chunks each. See Recovery work units.
    • A reply cut off twice by resets a few seconds apart is recovered again before a request queued behind it runs, so that request no longer leaves it unanswered.
    • A stop issued while the stall watchdog aborts a reply (for example from an abortRequest override) is a stop: the stalled reply is not recovered.
  • #3184 ab6072e Thanks @mattzcarey! - AIChatAgent and Think queue, stop and continue chat turns by the same rules.

    • A message sent while a turn runs is stored when its own turn starts, so the transcript reads U1, A1, U2, A2. See Message concurrency.
    • A stop also drops the auto-continuations waiting behind it (chat:continuation:dropped).
    • Auto-continuation runs only while the answered call's message is the last one; otherwise the next turn reads the result.
    • An aborted result carries reason: "stopped" or "interrupted".
    • A waiting message is no longer dropped except by a clear, and a request cancelled in the queue never runs (#2928).
    • A tool result answered with autoContinue just before a restart still continues the reply (#3101, #3142).
    • New events: chat:request:failed, chat:stream:stalled, and in Think tool:result, tool:approval and message:cancel.
    • A reply whose store fails runs onChatResponse with error.
    • An experimental_steering message stays in the transcript (#3143).
    • Under latest, merge and debounce, a request a newer one superseded stays superseded across a restart. Its question is stored with the newer request's, and a merge turn already at the front of the queue is no longer cancelled by a newer message.
    • agents/chat exports buildInClauseStrings again (deprecated), so a released @cloudflare/think 0.24.0 installed beside this agents loads.
  • #3184 ab6072e Thanks @mattzcarey! - Fibers, schedules, background jobs and workflows.

    • Fibers run as Task runs; runFiber(), startFiber() and the fiber methods are unchanged. See Durable execution.
    • A fiber whose recovery hook crashes the isolate no longer takes the agent down (#2970).
    • destroy() called from a scheduled callback sticks (#3083).
    • getSchedule() and getSchedules() work in a sub-agent instead of throwing (#3020).
    • A background job that keeps failing reaches onJobError instead of retrying forever or blocking other work (#3022, #3023, #3032).
    • Jobs pushed inside a sub-agent now run, and pending work survives a dropped alarm (#2977, #3012).
    • A rolled-back transaction no longer breaks later job writes (#3007), and a job whose capability a deploy dropped is kept for the deploy that restores it (#3025).
    • Retry delays (fiber recovery, chat recovery, Tasks backoff: "exponential", Think's notification retries) are jittered, so work that failed together does not retry together.
    • keepAlive() and keepAliveWhile() hold the object awake with one background job instead of a schedule heartbeat.
    • Work cut off by a reset resumes within 5 seconds instead of 30 (#3028).
    • An AgentWorkflow run survives an Agent reset between steps (#3052), and approveWorkflow() and rejectWorkflow() no longer go through an overridden sendWorkflowEvent().

@cloudflare/ai-chat@0.12.4

Patch Changes

  • #3184 ab6072e Thanks @mattzcarey! - Agent tools and sub-agents.

    • An agent-tool run whose child cannot stay up ends error instead of staying running (#3073).
    • A detached agent-tool run given up after its child was torn down now counts as settled, so it is no longer re-armed forever, while a late finish (including a failed-callback retry) is still delivered; onFinish gets the give-up once, not also an aborted for the cancel the give-up made (#2769). See Detached (background) runs.
    • An agent-tool run whose child's turn was cut off waits for the child's recovery (#3024), and runs started together run in order (#3144).
    • Think.startAgentToolRun takes an optional signal. See Agent tools.
    • Starting or waking many sub-agents at once no longer stalls after about 14 (#3077).
    • A sub-agent's work cut off by a reset resumes as soon as the root restarts (#3014, #3086).
    • A sub-agent of an agent addressed in a jurisdiction now reaches that agent (#3085).
    • Aged-media eviction runs for every sub-agent (#2974).
    • A sub-agent's broadcast followed by a direct send to a connection in the same call reaches that connection in that order (#3181).
    • A sub-agent upgraded from a version that kept chat streams in the old 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).
    • A sub-agent now handles the frames a client sends over its socket in the order they were sent, also when they arrive right after the socket opens (#3215).
  • #2980 a9262e5 Thanks @mattzcarey! - Requires agents 0.35.0 or later: upgrade agents together with this package.

  • #3184 ab6072e Thanks @mattzcarey! - Stored chat messages and tool calls.

    • Before each turn, tool calls and approvals left pending in earlier replies are failed (chat:transcript:repaired reports it), and continueLastTurn() returns "awaiting-client" while a reply waits on a client. See Client-side tools.
    • A streaming tool's final output now clears preliminary, so the call and its result are no longer dropped from later turns (#3143).
    • Overlapping text and reasoning parts no longer mix, and a streamed file keeps its filename (#3145).
    • Stored parts keep providerMetadata and toolMetadata (#3143).
    • A repeated tool result is a no-op, and an approval given before a tool's final input keeps that input (#2981).
    • AIChatAgent retention (maxPersistedMessages) no longer reads the whole transcript on every persist.
    • A chat message list frame over the WebSocket message limit is no longer sent, which production drops without a word; it is logged instead.
    • The client tools and body of the last chat request are kept with the conversation's Sessions storage and carried over once from where earlier releases kept them; one over the row budget is kept in memory only, with a warning, instead of failing the write.
  • #3184 ab6072e Thanks @mattzcarey! - Chat recovery after a restart or a dropped stream.

    • A request waiting behind a turn that a reset cut off now runs after the recovered turn (#2922). See Requests waiting behind an interrupted turn.
    • The recovery budget no longer grows by a conversation's whole history on each new isolate, which sealed long conversations with work_budget_exceeded (#3055).
    • Stopping a request being recovered always ends it aborted (#3027).
    • A turn found interrupted after a restart is skipped when the conversation moved on, its question is answered again when it is still the latest message, and the latest reply is continued.
    • Recovery no longer continues a reply twice and honours a provider's Retry-After (up to 60 seconds).
    • A rebuilt orphaned reply no longer repeats its parts (#2979).
    • Provider rate-limit, transient and context-overflow errors are recognised without classifyChatError. AIChatAgent recovers a rate-limited or transient error like a dropped stream when the error reaches it with its status (a toUIMessageStreamResponse() whose onError rethrows; the default masks it).
    • Recovery work units (maxRecoveryWork, ctx.work) now count ten stored chunks each. See Recovery work units.
    • A reply cut off twice by resets a few seconds apart is recovered again before a request queued behind it runs, so that request no longer leaves it unanswered.
    • A stop issued while the stall watchdog aborts a reply (for example from an abortRequest override) is a stop: the stalled reply is not recovered.
  • #3184 ab6072e Thanks @mattzcarey! - AIChatAgent and Think queue, stop and continue chat turns by the same rules.

    • A message sent while a turn runs is stored when its own turn starts, so the transcript reads U1, A1, U2, A2. See Message concurrency.
    • A stop also drops the auto-continuations waiting behind it (chat:continuation:dropped).
    • Auto-continuation runs only while the answered call's message is the last one; otherwise the next turn reads the result.
    • An aborted result carries reason: "stopped" or "interrupted".
    • A waiting message is no longer dropped except by a clear, and a request cancelled in the queue never runs (#2928).
    • A tool result answered with autoContinue just before a restart still continues the reply (#3101, #3142).
    • New events: chat:request:failed, chat:stream:stalled, and in Think tool:result, tool:approval and message:cancel.
    • A reply whose store fails runs onChatResponse with error.
    • An experimental_steering message stays in the transcript (#3143).
    • Under latest, merge and debounce, a request a newer one superseded stays superseded across a restart. Its question is stored with the newer request's, and a merge turn already at the front of the queue is no longer cancelled by a newer message.
    • agents/chat exports buildInClauseStrings again (deprecated), so a released @cloudflare/think 0.24.0 installed beside this agents loads.
  • #3184 ab6072e Thanks @mattzcarey! - Clients and reconnecting tabs.

    • useAgent and AgentClient connect 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.
    • A chat tab that joins a running reply gets live chunks again (#2703, #3068).
    • A tab is told a request's end once, after a stop or a reconnect too (#3074, #3135, #3064).
    • Connection state that is not a plain object keeps its shape (#2942).

@cloudflare/codemode@0.5.7

Patch Changes

  • #3129 f0a1bb7 Thanks @mattzcarey! - Fix grouping in TypeScript declarations generated from JSON Schema.

    • Typed arrays now render as Array<T>, so union and intersection item types stay inside the array. Nullable string items produce Array<string | null> instead of string | null[].
    • A schema whose type is a list, such as ["array", "null"] or ["object", "null"], now keeps its items and properties. It used to produce unknown[] | null, or drop | null from an object.
    • Union members of an allOf are parenthesised: (string | number) & Foo instead of string | number & Foo.
    • An empty anyOf, oneOf, allOf or type list no longer produces an empty type.

@cloudflare/worker-bundler@0.2.7

Patch Changes

  • #3098 e44ff29 Thanks @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 the python_workers_20250116 / python_workers_314 flags). Before, the bundler always fetched Python 3.12 wheels, which failed to import on newer dates. A wrangler.toml or wrangler.jsonc in 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

devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 775a2f3 to 65259e5 Compare November 22, 2026 09:22
devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 10 times, most recently from 3029025 to abbd619 Compare November 22, 2026 12:50
devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 5ac36e7 to 917d878 Compare November 22, 2026 13:00
devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 10 times, most recently from dac5f74 to 130f81b Compare November 22, 2026 17:16
devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 33a4dcd to c01c005 Compare November 22, 2026 17:22
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.

0 participants