chore(deps): update all non-major dependencies#272
Merged
Conversation
Contributor
Author
|
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 contains the following updates:
^1.0.43→^1.0.46^1.6.11→^1.6.14^0.4.5→^0.5.1^1.2.109→^1.2.111^1.2.83→^1.2.85^4.8.0→^4.8.2^3.5.34→^3.5.35>=0.13.2→>=0.14.4^6.0.191→^6.0.197^1.6.11→^1.6.14^5.11.0→^5.12.0^2.17.0→^2.18.111.3.0→11.5.210.33.4→10.34.1^2.5.128→^2.5.129^0.2.16→^0.2.17^2.9.14→^2.9.16^8.0.14→^8.0.16^4.1.7→^4.1.8^3.5.34→^3.5.35^3.3.1→^3.3.3Release Notes
vercel/ai (@ai-sdk/mcp)
v1.0.46Compare Source
Patch Changes
1f817db: fix(mcp): await addClientAuthentication in token exchange and refreshv1.0.45Compare Source
Patch Changes
ec5fceb: fix(mcp): respond to ping requests with an empty result per JSON-RPC spec (closes #6282)v1.0.44Compare Source
Patch Changes
77775a4: feat(mcp): exposestatusCode,url, andresponseBodyonMCPClientErrorfor HTTP transport failuresMCPClientErrornow carries structured HTTP context when it originates from thestreamable HTTP transport. This lets downstream consumers (e.g. agent frameworks
that need to decide whether to fall back from streamable HTTP to legacy SSE
transport per the MCP spec) branch on the actual response status without parsing
the error message string.
Fields are optional — they remain
undefinedfor stdio transport errors and fornon-response failures (network errors, aborts).
better-auth/better-auth (@better-auth/api-key)
v1.6.14Compare Source
Patch Changes
2d9781a,5a2d642,13abc79,9d3450a]:v1.6.13Compare Source
Patch Changes
#9794
e131d3aThanks @bytaesu! -verifyApiKeyrejected keys created under a non-defaultconfigIdwhen the request omittedconfigId. It now validates the key against its own configuration.Updated dependencies [
d3919dc,5f282bd,43c08a2,43c08a2,be32012,87c1a0c,5c3e248,9c8ded6,23d7cbf]:v1.6.12Compare Source
Patch Changes
#9759
f6bf451Thanks @ping-maxwell! - fix(api-key): add better-call as peer dependency to fix TS4023 declaration emitUpdated dependencies [
9bd53e1,23dbe1a,7a12072,09a1d50,a6f144a,f77060a,dcb2e6d,c92cd74,f5fcc9d,9d91eb7,a3b0c63,1b40dac,5626e1b,ad9ad82,62dabf6,276d67f,2d73fff,c5b9f93,ac96316,0a7cb70,015f96b,43cc49c,f5e29ea,1d372bb,3f8f310,83fa369,17cd433,c01b2f1,6b44606,04303a9,7bf5449,2b7937f]:electric-sql/pglite (@electric-sql/pglite)
v0.5.1Compare Source
Patch Changes
930e2d0: fix PGlite version; redeploy external extensionsv0.5.0Minor Changes
93d50aa: Upgrade to Postgres 18.3; move other extensions to their own npm packages;v0.4.6Patch Changes
2aa4d1a: Allow parsing of nulls in arrays #9972095d4e: Add ICU support.e937669: Restore process.exitCode54ed6dc: new API method copyToFs() and new param postgresqlconf817d073: restore exit codenuxt/ui (@nuxt/ui)
v4.8.2Compare Source
Bug Fixes
nameattribute (#6539) (f8186e2)localeprop (#6546) (ed2f955)v4.8.1Compare Source
Bug Fixes
method="post"to prevent credential leaking via GET before hydration (#6512) (7a0825a)tagPriorityto-2for inline style tag (2dac778)max-height(#6503) (f4d7cbe)vuejs/core (@vue/compiler-sfc)
v3.5.35Compare Source
Bug Fixes
ssrRenderSuspense(#14804) (4760997), closes nuxt/nuxt#28162Performance Improvements
cloudflare/agents (agents)
v0.14.4Compare Source
Patch Changes
#1693
6496c80Thanks @threepointone! - FixAIChatAgentorphaned-stream recovery merging a new assistant turn into the previous assistant message (#1691).When a stream was interrupted before its final assistant message was persisted (Durable Object hibernation, deploy churn, isolate restart, reconnect), orphan recovery reconstructed the message from stored chunks. If those chunks carried no provider
start.messageId— the common case — recovery fell back to the last assistant message in history. That is correct for a continuation, but wrong for a normal new turn after a later user message: the recovered chunks for the new turn were appended onto the previous assistant message, corrupting both the persisted transcript and future model context.The assistant message id allocated when a stream starts is now persisted in the resumable-stream metadata (
ResumableStream.start()recordsmessage_id). When the reconstructed chunks carry no providerstart.messageId— the common case, and the one that triggered the bug — orphan recovery now uses this stored id instead of the last-assistant fallback, so a new turn becomes its own message and a continuation still merges into the message it was extending (it stored the cloned last-assistant id). A providerstart.messageId, when present, still wins, matching the live path which adopts it for new turns. Stream rows written before this release have no stored id and keep the previous behavior (provider id if present, otherwise the last assistant message). The metadata migration adds a single column, guarded by a schema check so it runs only once.This also fixes two related variants of the same corruption on the durable (
chatRecovery) continuation path:toolCallIdalready exists on the message.onChatRecoveryreturned{ persist: false }— recovery would "continue" it by cloning the previous assistant message, merging the new turn into it. Recovery now detects that the conversation leaf is still the user message (no partial to continue) and re-runs the turn fresh, so it becomes its own message.@cloudflare/thinkis unaffected — its session-tree recovery already allocates a distinct message id per orphan and never falls back to the last assistant message.v0.14.3Compare Source
Patch Changes
1e49880Thanks @threepointone! - Batch and pack chat-persistence SQLite writes to reduce rows written and round-trips.agents:ResumableStreamnow packs each buffered group of stream chunks into a single SQLite row (a JSON array of chunk bodies) instead of writing one row per chunk. Single-chunk and large-chunk segments are stored unwrapped, and a per-segment byte cap keeps rows within the 2 MB SQLite row limit. This cuts chunk rows written / stored / scanned-on-replay by up to ~10×. Reads (replay, orphan reconstruction,getStreamChunks) transparently unpack both packed segments and legacy per-chunk rows, so existing stored data keeps working. Adds sharedbuildInClauseStringsandMAX_BOUND_PARAMShelpers exported fromagents/chat.@cloudflare/ai-chat: message cleanup (stale-row pruning andmaxPersistedMessagesenforcement) previously issued oneDELETEper row in a loop; it now deletes rows in batchedDELETE ... WHERE id IN (...)queries (capped at 100 bound parameters per query).@cloudflare/think:deleteSubmissions()cleanup previously issued oneDELETEper terminal submission (up to 500 per call); it now deletes rows in batchedDELETE ... WHERE submission_id IN (...)queries.@cloudflare/ai-chat&@cloudflare/think: chat-recovery incident TTL sweep previously deleted each stale incident with a separate awaitedstorage.delete(key)(which also defeats Durable Object write-coalescing); it now deletes incidents in batchedstorage.delete(keys)calls (up to 128 keys per call).v0.14.2Compare Source
Patch Changes
#1684
ab6dd95Thanks @threepointone! - warn whenchatRecoveryis configured inonStart()(applied too late for wake recovery)On every Durable Object wake the SDK evaluates chat-recovery budgets — and may seal an interrupted turn, firing
onExhausted— before the user'sonStart()runs (_checkRunFibers()is ordered ahead ofonStart()). AchatRecoveryconfig produced insideonStart()is therefore read as the built-in defaults at the moment recovery decides, so a configuredmaxRecoveryWork/shouldKeepRecovering/onExhaustedsilently never applies to the recovery that matters.This is now documented on
ChatRecoveryConfigand thechatRecoveryfields ofThink/AIChatAgent, and the SDK logs a one-time warning if it detectschatRecoverybeing reassigned duringonStart(). The warning fires both for a custom config object and forchatRecovery = true(enabling recovery / its defaults too late); assigningfalse(disabling) inonStart()is intentionally not warned, since recovery already ran with the pre-onStart()value and disabling it afterward is a benign no-op for that wake. The fix is to assignchatRecoveryas a class field or in the constructor.#1672
f96a2baThanks @threepointone! - fix(chat-recovery): a turn making forward progress now survives unbounded deploy churn; add a work budget +shouldKeepRecoveringrunaway guardDurable chat recovery used to bound a single incident with a non-resetting 15-minute wall-clock ceiling (
CHAT_RECOVERY_MAX_WINDOW_MS). That ceiling was overloaded — it served as both a recovery-duration bound and a runaway-loop guard — and it terminated healthy, actively-progressing turns that simply took longer than 15 minutes of wall-clock to finish while being repeatedly interrupted by a dense deploy window, sealing them withreason="max_recovery_window_exceeded"and discarding completed work.The two jobs are now decoupled (see
design/rfc-chat-recovery-work-budget.md):chatRecovery.maxRecoveryWorkcaps the produced content/tool units since an incident opened; exceeding it seals withreason="work_budget_exceeded". Defaults toInfinity— the SDK ships the mechanism but imposes no implicit cap, so it never terminates a progressing turn on its own.chatRecovery.shouldKeepRecovering(ctx)is consulted per recovery attempt from the second onward (only when no hard bound has already sealed the incident); returningfalseseals withreason="recovery_aborted". This is where integrators express token/cost/step budgets the SDK should not hardcode. A throwing predicate is logged and treated as "keep recovering".chatRecovery.noProgressTimeoutMs(default 5 min, resets on progress) is the primary stuck-turn bound, now overridable per agent instead of a hardcoded constant.New public types from
agents/chat:ChatRecoveryProgressContext. NewChatRecoveryConfigfields:maxRecoveryWork,shouldKeepRecovering,noProgressTimeoutMs.ChatRecoveryExhaustedContext.reasongainswork_budget_exceededandrecovery_aborted;max_recovery_window_exceededis retained as an open-string value but is no longer emitted.Both
@cloudflare/ai-chatand@cloudflare/think(which carries its own copy of the recovery engine) are updated identically. Defaults are unchanged except that a progressing turn is no longer terminated by wall-clock age.#1668
d40cc8aThanks @ghostwriternr! - Fix RPC resource leaks in workflows.Workflows that use
waitForApproval()orThinkWorkflow.prompt()now release their RPC stubs promptly, preventing resource leaks and the associated "RPC stub was not disposed" warnings in your logs.#1679
c8d1d32Thanks @threepointone! - fix(sub-agents): a facet sub-agent no longer touches the root DO's WebSockets, fixing a production-only "Cannot perform I/O on behalf of a different Durable Object (Native)" crash (#1677)A sub-agent (facet) that called
setState(),broadcast(), or otherwise enumerated connections — directly or indirectly via the internal_broadcastProtocol()— could crash in production withCannot perform I/O on behalf of a different Durable Object. ... (I/O type: Native). It reproduced when the root Agent held a live (hibernatable) WebSocket connection and the child facet was freshly bootstrapped; it never reproduced inwrangler dev/miniflare, which made it hard to catch.Root cause: the
Agentoverrides ofgetConnections()andgetConnection()fell through tosuper.getConnections()/super.getConnection()for facets too. On a facet, that resolves to the host/root DO's hibernatable WebSockets, and reading their attachments from the facet's I/O context is a cross-DO native I/O access that workerd aborts.setState()tripped it only incidentally, because_broadcastProtocol()enumerates connections to compute its exclude list before sending anything.Fix: a facet's client connections are all virtual (real sockets owned by the root and bridged in), so
getConnections()/getConnection()now return only the facet's virtual sub-agent connections and never fall through to the host DO's sockets. Delivery of facet state updates to clients connected directly to the sub-agent is unchanged.#1670
5d64940Thanks @threepointone! - Fix: a deploy that interrupts an in-flightrunAgentToolchild no longer abandons the still-running child asinterrupted.Parent recovery re-attaches to a still-running child and tails it to its real terminal. Previously that re-attach used a flat 120s wall-clock budget that was not reset by the child's forward progress, so a healthy child whose recovery legitimately ran longer than the budget was sealed
interrupted(and its already-completed work re-run from scratch), even while it was actively streaming.The re-attach budget is now progress-keyed: it bounds how long the parent waits with no forward progress from the child (resetting on every forwarded chunk), so a genuinely hung/silent child still seals
interruptedafter one no-progress window and can never block recovery forever, while a healthy child that keeps streaming is followed through to terminal. The parent re-arms (opens a fresh tail) only when the child's stream closes cleanly while it is still advancing — i.e. a re-evicted-but-progressing child. A full no-progress window (the child went silent) sealsno-progressimmediately even if the child streamed earlier in that window; it no longer grants a bonus window. This is both the honest stall signal and what keeps at most one pending tail reader alive per re-attach (no per-cycle reader accumulation).@cloudflare/thinkand@cloudflare/ai-chatadditionally finalize a child facet's own agent-tool run row as soon as its recovered turn settles — regardless of whether recovery took the continue path (_chatRecoveryContinue) or the pre-stream retry path (_chatRecoveryRetry) — so a re-attached parent collects the terminal result immediately instead of waiting out a full no-progress window after the child has already finished.This release also adds:
RunAgentToolResult, theagentTool()AgentToolFailureenvelope, theonAgentToolFinishlifecycle result, and theagent-tool-eventwire event (kind"interrupted") now carry a machine-readablereason(AgentToolInterruptedReason:"no-progress" | "window-exceeded" | "not-tailable" | "inspect-timeout" | "inspect-failed" | "recovery-deadline") and achildStillRunningboolean oninterruptedresults, so callers (and UIs) can branch on why a run was abandoned (and whether the child is still running) instead of pattern-matching the human-readableerrorprose.retryablestays coarse (alwaystrueforinterrupted); refine withreason/childStillRunning. These fields are persisted (schema bump), so they survive a reconnect replay — a client that reconnects after an interrupt reconstructs the samereason/childStillRunninga live client saw, rather thanundefined. The persisted cause is cleared when a softinterruptedrow is later repaired tocompleted/error.AgentStaticOptions—agentToolReattachNoProgressTimeoutMs(default 120000, the progress-keyed no-progress budget) andagentToolReattachMaxWindowMs(defaultInfinity— no implicit wall-clock cap) — let an Agent tune re-attach. The hard ceiling defaults to uncapped to mirror chat-recovery'smaxRecoveryWork: Infinity: a re-attached parent follows a healthy, still-advancing child for as long as it makes progress — exactly as it would on the live (never-evicted) path — so it never abandons a long-running-but-healthy child that simply outlasts a fixed wall clock under deploy churn. A hung/silent child is bounded by the no-progress budget; a content-runaway is bounded uniformly (live and recovery) by the child's ownmaxRecoveryWork/shouldKeepRecovering. Integrators that want a hard wall-clock cap (and thewindow-exceededchild teardown it triggers) can setagentToolReattachMaxWindowMsto a finite value. Symmetrically, settingagentToolReattachNoProgressTimeoutMstoInfinitynow means "never seal on no-progress" (a silent-but-alive child is followed until its stream closes or the hard ceiling fires) instead of silently skipping the wait —0remains the "don't wait, collect only an already-terminal child" sentinel.window-exceededceiling — where the child has had its full recovery window and is truly exhausted — it now cancels the child (childStillRunning: false) so it stops consuming a fiber / keep-alive.no-progressgive-ups stay soft (childStillRunning: true): the child is left running so a re-issue can still re-attach and repair it if it self-heals, preserving the repair-on-re-issue path. In both@cloudflare/thinkand@cloudflare/ai-chat,cancelAgentToolRunalso aborts an in-flight chat-recovery turn (not just the original in-isolate run) and releases live tails — Think sweeps its_submissionAbortControllers, ai-chat its requestAbortRegistry(abortAllRequests) — so a torn-down child stops grinding instead of finishing an orphaned recovered turn.#1680
8f9500aThanks @threepointone! - Remove the now-redundant_suppressProtocolBroadcastsfacet-bootstrap guard.This flag was added in #1425 to stop
_broadcastProtocol()from enumerating theparent DO's WebSockets during facet bootstrap (the cross-DO Native I/O crash,
#1410/#1677). The proper fix in #1679 makes
getConnections()/broadcast()facet-safe at the source — on a facet they return only virtual sub-agent
connections and route through the parent bridge, never touching the parent's own
sockets. With that, suppressing broadcasts during bootstrap is unnecessary, and
removing it also lets legitimate state sync run during the bootstrap window.
The separate request/WebSocket/email native-handle clearing from #1425 is
retained, since #1679 does not cover that vector.
#1675
d915bc6Thanks @threepointone! - The skill runner now importsjust-bashand@cloudflare/codemodestatically instead of dynamically, and both have moved from optional peer dependencies to regular dependencies ofagents. The dynamic imports were ineffective in bundled Workers (the bundler includes them eagerly regardless) and triggeredINEFFECTIVE_DYNAMIC_IMPORTwarnings when bundled alongside@cloudflare/think, which imports them statically.@cloudflare/thinkalso now statically imports its internalExtensionManagerinstead of dynamically, removing the third such warning.#1662
df6c0d6Thanks @threepointone! - Add opt-in recovery for mid-turn context-window overflow.Compaction only fires between turns (
Session.compactAfterchecks the threshold onappendMessage). A single long, tool-heavy turn grows the prompt step-by-step inside onestreamTextloop and can exceed the model's context window mid-turn, before the next pre-turn check — the provider then 400s ("prompt is too long"/context_length_exceeded) and the turn dies terminally. Think deliberately ships no provider-specific error matching, so it could neither detect nor recover from this.This adds opt-in, provider-agnostic recovery (all default off — no behavior change unless enabled), configured through a single
contextOverflowproperty onThink:classifyChatError(error, ctx)— the app maps a raw error (or the in-stream error string) to aChatErrorClassification("context_overflow" | "rate_limit" | "transient" | "fatal" | "unknown"). Same framework-owns-the-mechanism / app-owns-the-provider-knowledge split astokenCounter. The classification is also threaded toonChatError/observers viaChatErrorContext.classification. The bundled, exporteddefaultContextOverflowClassifiercovers the common providers (Anthropic, OpenAI, Google, Bedrock, …) for apps that do not need custom classification.contextOverflow.reactive+contextOverflow.maxRetries— when a turn fails with acontext_overflowthe app classified, Think discards the truncated partial, runssession.compact(), and re-runs the turn (bounded) from the compacted history instead of dying. The partial is intentionally not persisted: the retry restarts the turn from scratch, so keeping the cut-off partial would orphan a half-finished assistant message beside the recovered answer (and duplicate any tool work the retry re-issues). A no-op compaction or a spent budget surfaces the overflow terminally throughonChatErrorwithclassification: "context_overflow"— never a silent end, never an infinite loop. Wired into the WebSocket,chat()/RPC, and programmatic (saveMessages/submitMessages) turn paths.contextOverflow.proactive— a{ maxInputTokens, headroom?, maxCompactions? }pre-step guard: when the previous step's model-reportedusage.inputTokenscrossesmaxInputTokens * (headroom ?? 0.9), Think compacts in place and feeds the recompacted history into the upcoming step, heading off the provider 400 before it happens. Keys off model-reported usage (every provider reports it), not provider error strings. Bounded per step loop by its ownmaxCompactions(default 1, independent of the reactivemaxRetriesbudget).Also adds a
chat:context:compactedobservability event (agents) emitted (once) on both proactive and reactive compaction.Notes:
streamTextre-enqueues even top-level rejections as{ type: "error" }fullStream parts, andtoUIMessageStreampasses them through without throwing), so the in-stream seam catches them on every path; the thrown-error catch path does not need separate wiring.contextOverflow.reactiveis enabled butclassifyChatErrorwas never overridden.#1675
d915bc6Thanks @threepointone! - Theagents/viteplugin now stubsturndownby default.turndown(pulled in transitively byjust-bashfor the workspace bash tool and skill runner) runs a top-levelrequire()in its Node DOM fallback, which throwsReferenceError: require is not definedat Worker startup — even when the bash tool is never used. The plugin replaces it with an inert stub so Workers deploys stay clean. Opt out withagents({ stubTurndown: false })if your app usesturndowndirectly.v0.14.1Compare Source
Patch Changes
#1659
f99f890Thanks @threepointone! - Recover one-shot scheduled work (alarms) killed by a"This script has been upgraded…"deploy/code-update, not just"Durable Object reset because its code was updated."._executeScheduleCallbackonly re-runs a one-shot schedule row after a superseded-isolate error if the error matched/reset because its code was updated/i. The platform also surfaces the same failure class as"This script has been upgraded. Please send a new request to connect to the new version."(a stub/connection to a superseded script), which fell through to the swallow-and-delete branch — the one-shot row was deleted and the work abandoned. For a queued submission this orphaned the pending row with no driver (no alarm, no retry) until something unrelated woke the Durable Object, leaving the user on an indefinite spinner.The superseded-isolate matcher now recognizes both messages, so either causes the row to be preserved and re-run on the fresh isolate under the at-least-once alarm guarantee.
"Network connection lost."is intentionally not included (it is a connection error that may succeed on in-process retry, not an isolate replacement).#1661
41315b6Thanks @threepointone! - Enforce thetool_use.inputinvariant at the chat write boundary.A streamed tool call that finishes with no
input_json_deltaevents (the model called the tool with no args), or whose input surfaces as a stringified JSON blob, could persist a non-objectinput—null,undefined,"", an array, or a raw string. The Anthropic Messages API requirestool_use.inputto be a JSON object and rejects every subsequent turn withtool_use.input: Input should be an object(verified against the live API:{}→ 200, but"",[], and[{...}]all → 400). Because the bad shape lives in durable storage, the session is wedged across reconnects, redeploys, and DO evictions.applyChunkToParts(the shared accumulator used by@cloudflare/ai-chatand@cloudflare/think) now normalizes the finalized toolinputontool-input-available/tool-input-error: a plain object passes through untouched, a stringified-JSON object is parsed, and everything else (null/undefined/""/arrays/primitives/unparseable strings) collapses to{}. A newnormalizeToolInputhelper is exported fromagents/chatso read-side transcript repair can enforce the same invariant.#1665
13d6db0Thanks @threepointone! - Await Chat SDK state-agent cleanup scheduling during startup so tests and short-lived worker isolates do not leave dangling cleanup work.#1666
01a0b35Thanks @dcartertwo! - Fix MCP OAuth PKCE verifier lookup for overlapping authorization attempts.DurableObjectOAuthClientProvidernow binds pending PKCE verifiers to the OAuth callback state instead of storing a single verifier per client/server. Callback handling runs token exchange and verifier cleanup in the returned state's context, so older auth windows and retry churn no longer exchange an authorization code with another attempt's verifier.v0.14.0Compare Source
Minor Changes
#1623
4c8b371Thanks @threepointone! -agentTool()now returns a structured failure envelope instead of an opaque error string, so a parent agent can tell a transient interruption apart from a terminal failure.Previously every non-completed sub-agent run collapsed to
{ ok: false, error: string }. A child that was reset/superseded by a deploy or parent recovery (interrupted) looked identical to a genuine failure or an intentional cancellation, so the parent model would often parrot the interruption text back to the user as if the work had permanently failed.The failure value is now
AgentToolFailure:interrupted→retryable: true(the run never reached a logical outcome; re-dispatching can succeed), and now surfaces the underlying interruption reason viaerror.aborted(intentional cancellation) anderror(genuine failure) →retryable: false.This is backward compatible for consumers that read
ok/error; the newstatusandretryablefields let an orchestration harness (or a parent prompt convention) re-run an interrupted sub-agent automatically rather than reporting it as final.AgentToolFailureis exported fromagents.#1636
f5a0d00Thanks @threepointone! - Expose recovery incident identity and enrich theonExhaustedpayload soproducts can build a terminal-state policy without re-deriving anything (#1631).
ChatRecoveryContext(theonChatRecoveryargument) now includesrecoveryRootRequestId— the stable request ID for the whole continuationchain. Unlike
requestId, it doesn't change across chained continuations, soit's the right key for per-incident budget tracking / fresh-incident detection
without re-deriving identity from message IDs.
ChatRecoveryExhaustedContext(theonExhaustedargument) now carriesrecoveryRootRequestId,terminalMessage(the exact text shown to the user),partialText/partialParts(what the turn produced before it was given upon), and
streamId/createdAt— enough to render or persist a user-facingterminal banner AND emit correlated terminal telemetry (e.g. time-since-turn-start,
stream correlation) directly, without re-deriving anything.
All fields are additive. Applied across
agents(shared types),@cloudflare/think, and@cloudflare/ai-chat.#1584
87006e2Thanks @threepointone! - Add a framework-agnostic Agent Skills engine atagents/skills: skill sources (fromManifest, R2), aSkillRegistrythat produces a catalog prompt and AI SDK activation tools (activate_skill,read_skill_resource,run_skill_script), binary-safe resource reads, and qualified cross-skill resource paths. Bundled skills are imported through the Agents Vite plugin with theagents:skillsspecifier (defaulting to a./skillsdirectory), typed via ambiConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.