[KongchangAI]
Productai-sdk/workflow

@ai-sdk/workflow

@ai-sdk/workflow is a sub-module in the Vercel AI SDK ecosystem for workflow orchestration. It enables developers to chain multiple AI invocation steps in a structured manner, supporting state management, conditional branching, and multi-step reasoning, with native integration into the Vercel edge runtime and streaming response system.

Core Facts

Timeline (last 90 days)

Oct 13

The model step uses the resolved model's supportedUrls to determine and handle URLs, and both stream() and generate() invocation methods are covered

Unverified50%
Oct 13

For users who rely on standard URL input and have no custom download needs, this upgrade is basically transparent, and compatibility issues mainly affect projects that use experimental_download

Unverified50%
Oct 13

In 2.0.71, URL input is first passed through the workflow function, and the actual download is deferred until the model step executes

Unverified50%
Oct 13

fetch is unavailable in the workflow context, causing URL-type input to fail to be handled correctly

Unverified50%
Oct 13

The custom experimental_download function in 2.0.71 is changed to run inside the model step, rather than executing in the workflow context

Unverified50%
Oct 13

Released alongside version 2.0.71 is [email protected], and the two are related in their dependencies

Unverified50%
Oct 13

Before 2.0.71, when a workflow received image or file input in URL form, the system would attempt to perform the download operation directly in the workflow context

Unverified50%
Oct 12

修复了“不完整且无输出的模型流”被错误处理的问题,现在这类情况会明确上报为错误(commit 9aef724)。

Unverified50%
Oct 12

修复了 WorkflowChatTransport 的重试逻辑:当重连请求成功返回但不包含任何 UI message chunk 时,此前会陷入无限重试。

Unverified50%
Oct 12

保留了 provider 执行的工具结果,以及因长度结束而中断的本地工具调用错误结果(commit 7c0410d)。

Unverified50%

40 more timeline events

All Facts (20)

Verified

The main changes in @ai-sdk/[email protected] are focused on dependency upgrades and contain no breaking changes.

90%
Verified

A patch version update (1.0.104 → 1.0.105) signifies backward-compatible bug fixes or dependency updates, without introducing breaking changes.

90%
Verified

This release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).

90%
Verified

Patch version updates theoretically contain no breaking changes, making the upgrade risk low.

90%
Verified

The core content of @ai-sdk/[email protected] is a dependency update, synchronously upgrading the underlying dependency @ai-sdk/[email protected].

90%
Verified

The upgrade method is to run npm install @ai-sdk/[email protected].

90%
Verified

In AI SDK, workflow-harness serves as the runtime scaffold responsible for orchestrating and executing AI workflows, linking multiple AI calls, tool calls, state management, and other steps into a controllable workflow.

90%
Verified

The Vercel AI SDK adopts a Monorepo single-repository management model, with the core package ai and various framework adapter packages (such as @ai-sdk/vue, @ai-sdk/react, and @ai-sdk/svelte) released in coordination.

90%
Verified

@ai-sdk/workflow is a sub-package within the Vercel AI SDK ecosystem focused on workflow orchestration

90%
Verified

@ai-sdk/harness and @ai-sdk/workflow-harness are responsible for providing standardized runtime and validation environments for AI workflows.

85%
Verified

If a project has both ai and @ai-sdk/workflow pinned, both should be updated together to avoid type or runtime errors caused by version mismatches.

80%
Verified

@ai-sdk/workflow provides a declarative API for describing directed task graphs, managing asynchronous call ordering, intermediate state passing, and error retry logic

80%
Verified

The commit hashes involved in this update include 3f6852a, 6317504, 3cb2dcd, and ccf98e7.

75%
Verified

It is recommended to perform the necessary regression testing before deploying to production environments to confirm that dependency chain changes will not affect existing functionality

75%
Verified

Since this is a patch version, breaking changes are generally not introduced, but it is still recommended to verify in a test environment that policy rules execute as expected.

75%
Verified

The @ai-sdk/workflow package is deeply coupled to the core ai package, so whenever ai releases a new version, the workflow package needs to follow suit.

75%
Verified

Version 2.0.26 is a patch update (Patch Changes).

75%
Verified

As a patch version, 5.0.92 follows semantic versioning conventions and will not introduce breaking changes.

75%
Verified

The version number of @ai-sdk/svelte (5.0.93) and the core ai package version number (7.0.93) maintain matching trailing numbers, reflecting the unified release versioning strategy adopted by the Vercel team.

75%
Verified

@ai-sdk/[email protected] is a patch version focused mainly on dependency updates.

75%

Source Articles