Skip to content

chore(deps): update dependency ai to v7.0.177 - #4098

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-7.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-7.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ai (source) 7.0.159 → 7.0.177 age confidence

Release Notes

vercel/ai (ai)

v7.0.177

Compare Source

Patch Changes
  • e403988: add an interrupt option to steering so a steer can cancel a model call that has not produced output yet
  • b792b56: feat(ai): ship the AI SDK skill in the package at skills/ai-sdk for pnpm agent skills
  • Updated dependencies [700089c]

v7.0.176

Compare Source

Patch Changes

v7.0.175

Compare Source

Patch Changes

v7.0.174

Compare Source

Patch Changes
  • 3bea041: feat(ai): support output in startBatch and parse it in getBatchResults
  • 30d35eb: Fix streamText passing tools: undefined to experimental_transform factories when no tools are provided. Transforms now receive an empty tool set, matching the StreamTextTransform type.
  • fab7478: Fix locked stream errors when telemetry subscribers or integrations replace a model stream whose request or response metadata requires credential redaction.
  • 10ff0b1: add extraction model support to provider registries, custom providers and string model ids
  • 718824c: Prevent excessive memory and CPU usage when validating UI messages with deeply nested provider or tool metadata. validateUIMessages, safeValidateUIMessages, and the agent UI stream helpers validated JSON values in providerMetadata, callProviderMetadata, resultProviderMetadata, toolMetadata, and citation metadata with a recursive union schema that needed several times the memory of the value, so a valid request could exhaust the memory of a worker before the model was called. These values are now validated in a single pass and are no longer copied, except to remove __proto__ keys.
  • d99098a: Centralize empty extraction value normalization in experimental_extract, preserving missing-value behavior while removing duplicated conversion from extraction providers.
  • Updated dependencies [74042c5]
  • Updated dependencies [b8c01eb]
  • Updated dependencies [10ff0b1]
  • Updated dependencies [e878ab3]
  • Updated dependencies [d99098a]

v7.0.173

Compare Source

Patch Changes
  • 3c09e00: Prevent in-place schema validation or input refinement from changing approved tool arguments during approval replay.

  • f43ee39: fix(workflow): log the default step limit warning when WorkflowAgent.generate() stops at the default limit.

  • 7ce7ffc: fix(workflow): log provider warnings in WorkflowAgent

    WorkflowAgent.generate() and WorkflowAgent.stream() now log the warnings of every model call through the AI SDK warning logger, like ToolLoopAgent. The AI_SDK_LOG_WARNINGS global controls the output.

  • f6809e3: fix(workflow): align the prepareStep results of WorkflowAgent with ToolLoopAgent. Returned instructions (or the deprecated system) replace the instructions of the step and carry forward to later steps, returned providerOptions are merged with the agent options, and returned headers are merged over the headers of the call.

  • 2559173: feat(workflow): support toolApproval in WorkflowAgent

    WorkflowAgent accepts a toolApproval configuration in the constructor and per generate() or stream() call. The configuration takes precedence over a tool's needsApproval setting, and its functions run in workflow context, outside of the durable model steps. Calls that the configuration approves run in the same step, and calls that it denies receive an execution-denied tool result without pausing the workflow.

  • f1de9cb: feat(workflow): support the timeout object in WorkflowAgent

    generate() and stream() accept timeout: { totalMs, stepMs, firstChunkMs, chunkMs } in addition to a number. stepMs limits each model call. In stream(), firstChunkMs and chunkMs limit the wait for model output. Invalid timeout values are rejected with an InvalidArgumentError. A timeout now also ends a model step when the provider stream ignores the abort signal.

  • Updated dependencies [9baa2d0]

v7.0.172

Compare Source

Patch Changes
  • 79d2004: Require an explicit experimental_download hook for remote file URLs in experimental_extract and experimental_decide instead of silently downloading through global fetch. Callers can use createDownload({ fetch }) with a DNS-protected transport for untrusted URLs; inline file data continues to work without a hook.
  • Updated dependencies [6d50947]

v7.0.171

Compare Source

Patch Changes
  • 11323f9: Prevent excessive memory and CPU usage when validating malformed UI messages. validateUIMessages, safeValidateUIMessages, and the agent UI stream helpers reported the issues of every part schema for every invalid part, so a small request with many malformed parts could exhaust memory. Each part is now validated against the schemas for its type only, validation stops at the first invalid message or part, and an invalid JSON value in provider or tool metadata is reported as a single issue.

  • 2ebc78b: Forward the provider's configured fetch transport when downloading file inputs. Add a fetch option to createDownload so core downloads can also use guarded-fetch for opt-in DNS validation on Node.js. The function returned by createDownload can now also be passed as experimental_download to generateText and streamText, and experimental_download now also handles generated file URLs returned by the model, so one hook covers all core downloads. Document that the default URL checks do not resolve DNS and recommend the guarded transport or network egress controls for untrusted URLs.

    Keep Azure image and Vertex tool-result downloads separate from provider authentication wrappers so file hosts never receive Azure bearer tokens or Vertex Express Mode API keys.

    Pass the call's abort signal to custom download requests, including prompt assets and generated files, so experimental_download: createDownload({ fetch }) preserves cancellation and timeouts.

  • cb4fa52: add experimental extract api and extraction model spec

  • ceeee29: Warn when a UI message stream sends a tool error text that differs from the text the model received and then sends reasoning from a later step. By default, toUIMessageStream sends "An error occurred." to the client for a failed tool call, while the model receives the full error text during a multi-step call. Converting the stored UI messages back with convertToModelMessages then changes the tool result, and models that bind reasoning to the preceding messages (for example Anthropic models with preserved thinking) reject the request. The request still fails after this change; the warning and the updated documentation explain the cause and the available options.

  • 1a94af3: Send the error text of failed tool calls to the client as the model received it.

    toUIMessageStream and toUIMessageChunk replaced the error text of failed tool calls with "An error occurred." by default. The model had already received the full text during a multi-step call, so UI messages that were converted back with convertToModelMessages contained a different tool result. Models that bind reasoning to the preceding messages rejected that history (for example Anthropic models with preserved thinking, with HTTP 400 "The block is bound to a different conversation"), and other models continued from an error they never received.

    UI messages now keep the model's error text for tool execution errors and invalid tool calls. This text reaches the client. To keep details away from the model and the client, throw an error with a safe message from the tool's execute function. The error text of an invalid tool call contains the generated input, the validation messages of the input schema, or the names of the available tools; execute does not run for it. To restore the previous behavior, set the new redactToolErrors: true option. A provided onError keeps handling failed tool calls unless you set redactToolErrors: false. Stream errors are still masked by default.

  • Updated dependencies [640569d]

  • Updated dependencies [4e43721]

  • Updated dependencies [2ebc78b]

  • Updated dependencies [cb4fa52]

v7.0.170

Compare Source

Patch Changes
  • 91a67c2: Fix excessive CPU usage when streaming long arrays with Output.array or streamObject. Parse and validate completed elements incrementally instead of repeatedly processing the entire accumulated array on every text chunk.
  • 84b1cb0: Cancel pending send-now operations when a later stop or dispose occurs, preventing an abandoned chat's queued messages and history from being sent through a replacement transport.
  • Updated dependencies [eaeb37e]

v7.0.169

Compare Source

Patch Changes
  • 4311fa1: Use Zod Mini for internal validation schemas to reduce bundle size while preserving the public message schemas' classic Zod methods, error messages, and compatibility with supported Zod 3 and Zod 4 versions.
  • d9dd2b7: keep the request options when the useChat queue sends a tool approval first, and hold the queue while an async sendAutomaticallyWhen decides
  • Updated dependencies [4311fa1]
  • Updated dependencies [c160b74]
  • Updated dependencies [4311fa1]
  • Updated dependencies [838dd53]

v7.0.168

Compare Source

Patch Changes

v7.0.166

Compare Source

Patch Changes

v7.0.165

Compare Source

Patch Changes

v7.0.164

Compare Source

Patch Changes

v7.0.163

Compare Source

Patch Changes
  • 5d18351: fix(ai): detect downloaded audio types from bytes when servers return a generic or non-audio content type such as application/octet-stream

  • 8da48db: Respect recordInputs and recordOutputs when delivering telemetry events to integrations and the ai:telemetry channel. Filter nested content and omit raw span results when content recording is disabled, while preserving application results.

  • fd7e8a7: Preserve the order of text and complete function calls in streamed Google responses, including standalone thought signatures on empty text or reasoning parts.

    Keep provider metadata on empty text parts when converting results to response messages so it can be passed back in subsequent requests.

    Omit foreign-provider empty signature text when replaying history through Anthropic or Bedrock, preserving Bedrock’s existing native reasoning-history handling.

  • 36802d4: Support native URL transcription with an optional provider capability, keeping existing file-generation contracts unchanged. Groq sends HTTP(S) audio URLs through its url parameter without downloading and re-uploading them, avoiding the attachment upload limit. Supplying a custom download function retains local download behavior.

    For telemetry integrations, TranscriptionEndEvent.audio.byteLength and audio.mediaType can now be undefined when a provider fetches the audio URL natively. Check for missing values before using them as a number or string. Downloaded and inline audio continue to report their metadata; streaming transcription metadata is unchanged.

    Strip media fragments before sending URLs to Groq. If Groq rejects a redirect, fall back to the existing secure local downloader and file upload rather than failing previously working URL inputs. Other provider errors are preserved.

  • 933dae3: fix (ai): download deprecated file-url and image-url tool result content

    Tool result content parts that use the deprecated file-url and image-url
    types were converted to file parts with { type: 'url' } data, but they were
    never passed to the download function. When the model does not support the URL,
    the provider received a bare URL instead of the file contents, even though the
    replacement file part with { type: 'url' } data was downloaded and inlined.

    Downloaded legacy URL parts now use the same media type normalization as file
    parts, resolving generic types from the response header or image bytes.
    Legacy base64 data URLs also normalize to inline data with the media type from
    their data URL, matching replacement file parts.

  • e0143b0: feat(ai): support provider-owned realtime transports

    Add an optional createTransport interface and provider connection capability.

  • 934100c: Report the actual OpenAI Chat HTTP endpoint (also used by Azure Chat and Bedrock Mantle Chat) through optional request metadata and model-call end events. Record its host and port on OpenTelemetry chat spans without exposing URL credentials, paths, queries, or fragments. Expose only the sanitized HTTP origin in text and object generation results and step/finish callbacks. Providers that do not report an endpoint leave these attributes unset.

  • c389374: fix(ai): infer union output types when passing a union of schemas to Output.object and Output.array

    Previously, passing a schema whose type is a union of schemas (e.g. a schema selected from a map at runtime) failed to type-check because the output type was inferred from the first union member only. The output type is now inferred as the union of the schemas' output types.

  • 892af4d: feat (ai): re-export realtime server-connection and usage types

    Adds Experimental_RealtimeServerConnection, Experimental_RealtimeSessionIntent, and Experimental_RealtimeUsage aliases for the new experimental RealtimeModelV4 server-side spec types.

  • 1a1da8d: stream steering messages to the ui and keep them in converted messages

  • 41465fd: Expose optional transcription word timings separately from segments and accept shared timestampGranularities. Explicit provider timing settings take precedence. OpenAI now sends timestamp_granularities only with verbose_json and warns when a requested timing is unavailable or excluded.

  • 9754014: Add typed streaming heartbeat parts. Anthropic emits them only with includePings: true (disabled by default), without requiring raw chunks. Core forwards pings through stream retries without storing them as generated content or sending them to UI message streams. Consumers with exhaustive stream-part switches must handle the new ping union variant when upgrading, even when the opt-in is disabled. Typed pings do not flush partial words during stream smoothing.

  • 2e44144: Represent videos delivered directly to caller-managed storage with an explicit uploaded outcome. Video generation reports uploadedVideos without downloading or synthesizing video bytes; access video only when videos is nonempty.

  • Updated dependencies [722d4a9]

  • Updated dependencies [acea2b5]

  • Updated dependencies [89aff56]

  • Updated dependencies [41465fd]

  • Updated dependencies [2e44144]

  • Updated dependencies [36802d4]

  • Updated dependencies [ef2dfb5]

  • Updated dependencies [e0143b0]

  • Updated dependencies [934100c]

  • Updated dependencies [892af4d]

  • Updated dependencies [892af4d]

  • Updated dependencies [89aff56]

  • Updated dependencies [32acf43]

  • Updated dependencies [41465fd]

  • Updated dependencies [9754014]

  • Updated dependencies [4bb73b0]

  • Updated dependencies [2e44144]

v7.0.162

Compare Source

Patch Changes
  • 857ca45: Restore server-defined tool metadata, dynamic status, and title when validating tool approval continuations so approval policies receive the same tool definition fields as new model calls.
  • 4d6d830: Support a single telemetry operation for durable WorkflowAgent runs, including the prompt, final output, steps, and tools. Events recorded in the workflow are reported on completion or suspension with their original timestamps. For OpenTelemetry, pass the same OpenTelemetryIdGenerator instance as the tracer provider's idGenerator and sampler and as new OpenTelemetry({ durable }). This explicit bridge carries parent trace context and sampling across steps, reports model spans live with provider requests nested beneath them, and reconstructs the enclosing invoke_agent tree when the run completes. Without the bridge, existing live per-model tracing is preserved. Add typed experimental durable context hooks for telemetry integrations; remove reliance on process-global ID-generator detection.
  • Updated dependencies [fa15312]

v7.0.161

Compare Source

Patch Changes
  • 51ca5b7: fix(ai): support cross-realm Uint8Array and ArrayBuffer in DefaultGeneratedFile
  • 51ca5b7: fix(ai): handle cross-realm Uint8Array and ArrayBuffer in data-content and file-part-data
  • 51ca5b7: fix(ai): support cross-realm binary buffers and circular structures in cloneModelMessages
  • Updated dependencies [51ca5b7]
  • Updated dependencies [dc6f1c3]
  • Updated dependencies [4ae6986]

v7.0.160

Compare Source

Patch Changes
  • a71172d: fix(ai): clarify inverted smoothStream prefix error message

  • cf27969: add steering.queue() to send a message once the current task is done

  • 17b6923: fix(ai): validate streamed data parts against dataPartSchemas

    processUIMessageStream looked up dataPartSchemas by the full chunk type (data-weather) instead of the bare part name (weather), so useChat / Chat never validated streamed data parts. Invalid data parts now raise a TypeValidationError.

  • Updated dependencies [2099d45]

  • Updated dependencies [d05ff62]


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge (squash) November 3, 2026 00:33
@github-actions github-actions Bot added the type: chore Routine tasks like conversions, reorganization, and maintenance work. label Nov 3, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 1a806c6 to 1e144d4 Compare November 3, 2026 05:03
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.161 chore(deps): update dependency ai to v7.0.162 Nov 3, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 1e144d4 to b2918a6 Compare November 5, 2026 01:49
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.162 chore(deps): update dependency ai to v7.0.163 Nov 5, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch 2 times, most recently from 7fbadc8 to 15ae197 Compare November 6, 2026 23:19
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.163 chore(deps): update dependency ai to v7.0.164 Nov 6, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 15ae197 to ffa9664 Compare November 7, 2026 22:22
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.164 chore(deps): update dependency ai to v7.0.165 Nov 7, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from ffa9664 to a5e19eb Compare November 9, 2026 05:59
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.165 chore(deps): update dependency ai to v7.0.166 Nov 9, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from a5e19eb to 6908092 Compare November 10, 2026 19:02
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.166 chore(deps): update dependency ai to v7.0.168 Nov 10, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 6908092 to 8d0b38b Compare November 11, 2026 01:27
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.168 chore(deps): update dependency ai to v7.0.169 Nov 11, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 8d0b38b to e23aae9 Compare November 11, 2026 21:42
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.169 chore(deps): update dependency ai to v7.0.170 Nov 11, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from e23aae9 to 169479e Compare November 12, 2026 23:42
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.170 chore(deps): update dependency ai to v7.0.171 Nov 12, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 169479e to db78c1b Compare November 13, 2026 11:13
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.171 chore(deps): update dependency ai to v7.0.172 Nov 13, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from db78c1b to 14777ac Compare November 13, 2026 23:13
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.172 chore(deps): update dependency ai to v7.0.173 Nov 13, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 14777ac to 683be54 Compare November 18, 2026 02:45
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.173 chore(deps): update dependency ai to v7.0.176 Nov 18, 2026
@renovate
renovate Bot force-pushed the renovate/ai-7.x-lockfile branch from 683be54 to 86805c7 Compare November 18, 2026 21:09
@renovate renovate Bot changed the title chore(deps): update dependency ai to v7.0.176 chore(deps): update dependency ai to v7.0.177 Nov 18, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Routine tasks like conversions, reorganization, and maintenance work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants