chore(deps): update dependency ai to ^6.0.240 - #71
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/ai-sdk
branch
from
August 6, 2026 07:56
596d228 to
6cad627
Compare
Deploying stackhacker-ui-web with
|
| Latest commit: |
798de0d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://62d6891c.stackhacker-ui-web.pages.dev |
| Branch Preview URL: | https://renovate-ai-sdk.stackhacker-ui-web.pages.dev |
renovate
Bot
force-pushed
the
renovate/ai-sdk
branch
from
August 6, 2026 08:11
6cad627 to
798de0d
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 contains the following updates:
^6.0.170→^6.0.240Release Notes
vercel/ai (ai)
v6.0.240Compare Source
Patch Changes
b28367e]v6.0.239Compare Source
Patch Changes
d3d9e0b]v6.0.238Compare Source
Patch Changes
9ecdefe: Prevent validated downloads on Node.js from reaching private or internal services through DNS aliases or DNS rebinding by validating and pinning every resolved address at connection time.26d10c0: support overriding model call settings for individualprepareStepinvocations7767170: Preserve provider metadata from empty text deltas instreamText.9ecdefe]87fb433]v6.0.237Compare Source
Patch Changes
f6020d7: Avoid synthesizing client tool errors for invalid provider-executed tool calls.de438f5]v6.0.236Compare Source
v6.0.235Compare Source
Patch Changes
5d7b986]v6.0.234Compare Source
Patch Changes
1efdef8: fix(ai): bound media-type sniffing decode for ID3-prefixed inputMedia-type detection stripped ID3 tags before the ~18-byte prefix cap, decoding the entire base64 attachment (plus a full-size copy) whenever the data began with
ID3/SUQz. This turned the intended O(1) sniff into an O(N) decode of the whole attachment. Detection now decodes at most a bounded prefix and skips the ID3 tag within that bound, keeping cost O(1) in input size on all paths (image, audio, and combined).49414cf: Return response piping promises so callers can catch stream read and write errors.Updated dependencies [
e7d064f]v6.0.233Compare Source
Patch Changes
fe410e7: fix: detect MP4 audio from its ftyp box during transcriptionaf7188c: fix(ai): preserve tool parts when tool call IDs repeat across stepsa09f944]v6.0.232Compare Source
Patch Changes
7644a61: Preserve provider options when combining consecutive tool messages.v6.0.231Compare Source
Patch Changes
926f5a0: Allow UI message chunks to include fields added by newer server versions.4c5a22f: Propagate abort reasons when generation is cancelled during tool execution.842a383: Prevent tools excluded byactiveToolsfrom being parsed or executed.2dd1aab]e567091]v6.0.230Compare Source
Patch Changes
19093fd: fix(ai): callonInputStartbeforeonInputAvailableduring non-streaming tool calls19093fd]v6.0.229Compare Source
Patch Changes
49a3098]v6.0.228Compare Source
Patch Changes
5e624ac]v6.0.227Compare Source
Patch Changes
6ace546: Fix chatonFinishhandling when overlapping requests clear the active response before a resume stream finishes.v6.0.226Compare Source
Patch Changes
94219a2: Allow validating assistant UI messages with empty parts so persisted errored responses remain loadable.b1be847: Prevent pending tool executions from enqueueing results after a model stream error closes the result stream.06fb54c]bc46977]v6.0.225Compare Source
Patch Changes
7c48ed8]v6.0.224Compare Source
Patch Changes
982aa3e]v6.0.223Compare Source
Patch Changes
a452291]v6.0.222Compare Source
Patch Changes
e1af05f: feat (video): support video (not just image) reference inputs ininputReferencesfor reference-to-video generation2bfb16a]34b5acc]e1af05f]1ce0d1c]v6.0.221Compare Source
v6.0.220Patch Changes
158d027: Sort tool results by their tool call order when converting generation output to response messages.eb3cdd9: FixextractJsonMiddlewarepreserving leading whitespace in the final streamed text suffix when no markdown fence prefix was stripped.7dea716]4f7fe37]0952964]v6.0.219v6.0.218Patch Changes
ea1e95b: feat(mcp): add maxRetries option for failed mcp tool callsea1e95b]v6.0.217Patch Changes
fa850e6: feat (video): add first-classframeImagesandinputReferencescall options for video generation95bc6fd]f6b2159]fa850e6]v6.0.216Patch Changes
f6689df]13b6a72]v6.0.215Patch Changes
f66ac32: fix(ai): prune orphaned tool-approval responses inpruneMessagesWhen pruning a specific tool by name (
toolCalls: [{ type, tools: [...] }]),pruneMessagesleft the tool'stool-approval-responsein place while removing itstool-approval-requestandtool-call. The tool name of an approval response was resolved per-message, but approval responses live in a separatetoolmessage from their approval request, so the name could never be resolved and the response was always kept. Tool name resolution is now done across all messages, so approval requests and responses are pruned together.v6.0.214Patch Changes
b30e43a]v6.0.213Patch Changes
f19334d: feat (video): add first-classgenerateAudiocall optionfb601aa]f19334d]v6.0.212Patch Changes
932c680]v6.0.211Patch Changes
6ce12b0]4cb4414]v6.0.210Patch Changes
1b40ac7: Publish all packages under the@ai-v6dist tag.1b40ac7]v6.0.209Compare Source
v6.0.208Compare Source
v6.0.207Compare Source
Patch Changes
779f5cd: fix(provider-utils): cancel response body on download rejection to prevent socket leakWhen a download was rejected early — because the
Content-Lengthheader exceeded the size limit, the response status was not ok, or a redirect resolved to a blocked URL — the fetch response body was left unconsumed and uncancelled. With WHATWG Fetch/undici this leaves the underlying TCP socket open instead of returning it to the connection pool, allowing an attacker-controlled origin to exhaust file descriptors and cause a denial of service. The body is now cancelled on all early-rejection paths inreadResponseWithSizeLimit,download, anddownloadBlob, andfetchWithValidatedRedirectscancels each redirect hop's body before following or rejecting the next hop.Updated dependencies [
5bfde36]Updated dependencies [
779f5cd]v6.0.206Compare Source
Patch Changes
e962dda]v6.0.205Compare Source
Patch Changes
6160ced]c9b8abd]v6.0.204Compare Source
v6.0.203Compare Source
Patch Changes
f42aa79: fix: harden download URL SSRF guard against hostname and redirect bypassesvalidateDownloadUrland the file download helpers (downloadBlob,download) could be bypassed in several ways when handling untrusted URLs:localhost.,myhost.local.) skipped the localhost/.localblocklist.::127.0.0.1), IPv4-translated (::ffff:0:127.0.0.1), and NAT64 (64:ff9b::127.0.0.1, including the64:ff9b:1::/48local-use prefix) — were not decoded and checked against the private IPv4 ranges.fetchhad already followed them, so the request to a redirect target (e.g. an internal/metadata address) had already been issued before the check ran.100.64.0.0/10, used by some cloud providers for internal traffic), benchmarking (198.18.0.0/15), IETF protocol assignments (192.0.0.0/24), the reserved240.0.0.0/4block (including the255.255.255.255broadcast address), and IPv6 site-local (fec0::/10) and multicast (ff00::/8).The validator now strips trailing dots before the hostname checks and fully expands IPv6 addresses to detect embedded private IPv4 targets. The download helpers now follow redirects manually (
redirect: 'manual'), re-validating each hop before requesting it, so an unsafe redirect target is never fetched. When a redirect cannot be inspected because the runtime returns an opaque response, the helpers fail closed (reject the redirect) on the server; only in a real browser — where SSRF is not reachable (fetch is constrained by CORS and cannot reach a server's internal network or cloud-metadata endpoints) — is the redirect followed natively so legitimate redirected downloads keep working.5291f7e: Harden stream text processing and middleware against prototype pollution from stream part IDs.b4b575a: fix: redact server error details from UI message streams by defaultstreamText(...).toUIMessageStream()andcreateUIMessageStreamdefaulted theironErrorcallback togetErrorMessage, which serializes the raw error (error.toString()/JSON.stringify(error)) into the client-facing{ type: 'error', errorText }chunk — and also intotool-output-errorparts. The documented default was() => 'An error occurred.', so applications relying on the documented behavior were unknowingly streaming server exception details (internal hostnames, paths, provider request data, validation inputs) to end users.The default
onErrornow returns the documented generic'An error occurred.'. Raw error details are only emitted when the developer explicitly supplies anonErrorhandler. This also redactstool-output-errorand invalid-tool-input error text by default; pass anonErrorto surface richer messages.Updated dependencies [
bfa5864]Updated dependencies [
f42aa79]v6.0.202Compare Source
Patch Changes
942f2f8: fix(security): re-validate tool approvals from client message history before executionThe approval-replay path in
generateText/streamTextreconstructed approved tool calls from the client-supplied messages array and executed them without re-validating input against the tool's schema or re-checking that the tool actually requires approval. A client could forge an assistant message with a pre-approved tool-call part and have the server execute a tool with attacker-chosen arguments.The replay path now verifies the HMAC signature (when
experimental_toolApprovalSecretis configured), re-validates tool-call input against the tool's input schema, and re-resolves whether the tool requires approval before execution.Updated dependencies [
942f2f8]v6.0.201Compare Source
Patch Changes
0c8c0ed: fix(ai): return schema-transformed elements in array output modePreviously final array output validation checked each element against the schema but returned the raw model output. Array output now returns the validated values so Zod transforms, coercions, defaults, and pipes are applied consistently with object output.
v6.0.200Compare Source
Patch Changes
14098e7: fix(ai): rejectstreamTextresult promises withNoOutputGeneratedErrorwhen the model stream ends without producing any output. Previously such streams resolved with an empty step. Incomplete streams with partial output still resolve with the partial result.2cabe9c: Harden UI message stream processing against prototype pollution from chunk IDs.v6.0.199Compare Source
Patch Changes
49d9364: fix(ai): add approval guard for denied tool outputs3851e29]2a91a17]v6.0.198Compare Source
Patch Changes
ff16d3b]v6.0.197Compare Source
v6.0.196Compare Source
Patch Changes
286b7a2]v6.0.195Compare Source
v6.0.194Compare Source
v6.0.193Compare Source
Patch Changes
af580ea: fix(ai): do not re-validate tool input for output-error parts in validateUIMessagesv6.0.192Compare Source
Patch Changes
4084fcd]v6.0.191Compare Source
Patch Changes
27a1b22]v6.0.190Compare Source
Patch Changes
33b10a2]f6e4146]v6.0.189Compare Source
Patch Changes
356c3cf: fix(ai): make input optional on input-streaming UIMessagePart variantsv6.0.188Compare Source
Patch Changes
c98715a: AddallowSystemInMessagesoption toToolLoopAgent.This exposes the same option that exists on
streamTextandgenerateText, whetherrole: "system"messages are allowed in thepromptormessagesfields. When unset, system messages are rejected because they can create a prompt injection attack risk. Ideally, use theinstructionsoption instead. Set totrueto allow system messages, orfalseto explicitly reject them.The option can also be returned from
prepareCallfor dynamic per-call configuration.v6.0.187Compare Source
Patch Changes
6f4bb06]v6.0.185Compare Source
Patch Changes
488ef33]v6.0.184Compare Source
Patch Changes
40fc5e4: fix(ai): default missing embedding warnings to an empty arrayv6.0.183Compare Source
Patch Changes
363cefe]v6.0.182Compare Source
Patch Changes
e76a29a: fix(ai): download tool-result file URLsv6.0.180Compare Source
Patch Changes
253bd5a: fix(gateway): enable retry support for gateway errors57ec10f: fix URL of hero animation in README253bd5a]v6.0.178Compare Source
Patch Changes
ac6f27e: fix(ai): update opentelemetry pinned versionv6.0.177Compare Source
Patch Changes
5c73af8]v6.0.176Compare Source
Patch Changes
f591416: feat(ai): add toolMetadata for tool specific metdataf591416]v6.0.175Compare Source
Patch Changes
9a88b1d]v6.0.174Compare Source
Patch Changes
49f6d44]v6.0.173Compare Source
Patch Changes
7beadf0: feat(mcp): propagate the server name through dynamic tool parts7beadf0]v6.0.172Compare Source
v6.0.171Compare Source
Patch Changes
48f842a: fix(ai): enforcecallOptionsSchemaat runtime inToolLoopAgentToolLoopAgentSettings.callOptionsSchemawas declared and documented as a runtime schema foroptions, buttool-loop-agent.tsnever invoked it. Any invariant a developer encoded in the schema was silently bypassed at runtime, and uncheckedoptionsflowed straight intoprepareCalland anyinstructionstemplate that interpolated them.ToolLoopAgent.prepareCallnow validates caller-suppliedoptionsagainstcallOptionsSchema(when set) viasafeValidateTypes, throwingInvalidArgumentErroron failure before forwarding toprepareCall/generateText/streamText.a727da4: chore: ensure consistent import handling and avoid import duplicates or cycles5fee301: fix(mcp): prevent prototype pollution by using secureJsonParseUpdated dependencies [
a727da4]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.