[KongchangAI]
Productai-sdk-vue

@ai-sdk/vue

The official binding package for the Vercel AI SDK targeting the Vue framework, enabling developers to integrate large language model capabilities such as conversational interactions and streaming output into Vue and Nuxt applications. It serves as a thin wrapper around the core ai package.

Core Facts

Timeline (last 90 days)

Oct 28

Strict synchronization of the two packages' version numbers (e.g., 4.0.156 corresponding to 7.0.156) is in fact a human-convention release strategy used to signal to users that these two versions have been jointly tested and can be safely paired.

Unverified50%
Oct 28

When the core package adjusts the push timing of streaming data or the state structure, the adapter layer must synchronously adjust the ref update logic inside the composable; otherwise, the view will not update or the state will lag.

Unverified50%
Oct 28

The Vue side depends on its reactivity system, so any change to the core package's hook signatures or adjustments to streaming data processing logic may require synchronized patches in the adapter layer.

Unverified50%
Oct 28

If a team encounters issues such as abnormal streaming responses or out-of-sync composable state in a Vue project, it can try upgrading this patch first.

Unverified50%
Oct 28

@ai-sdk/vue@4.0.156 contains 5 commits, mainly aimed at fixing issues exposed during use of the Vue integration layer and aligning with the core package version.

Unverified50%
Oct 28

This is a patch version that contains no breaking changes; if a project is using the 4.0.x series, upgrading to 4.0.156 can usually be done by simply replacing the version number.

Unverified50%
Oct 28

@ai-sdk/vue and ai belong to different packages, each with its own independent version sequence, and compatibility between them is not automatically guaranteed by SemVer.

Unverified50%
Oct 28

It is recommended to check the lockfile before upgrading to confirm that the ai package is also updated to 7.0.156.

Unverified50%
Oct 28

In @ai-sdk/vue, composables are responsible for converting capabilities of the core ai package, such as streaming responses and state management, into Vue reactive references (ref, computed, etc.).

Unverified50%
Oct 27

For long-term maintained projects, it is recommended to lock the version numbers of the Vue binding layer and the core package together.

Unverified50%

40 more timeline events

All Facts (20)

Verified

@ai-sdk/provider-utils is responsible for the general-purpose utility functions in the AI SDK for interacting with model providers, including low-level logic such as streaming response parsing, tool call formatting, and error handling.

90%
Verified

The sole change in @ai-sdk/workflow 2.0.68 is upgrading the core dependency ai to 7.0.136.

90%
Verified

The main changes in @ai-sdk/togetherai@3.0.51 are focused on dependency upgrades and contain no breaking changes.

90%
Verified

@ai-sdk/vue is the adapter layer for the Vercel AI SDK within the Vue ecosystem.

90%
Verified

The Vercel AI SDK core package ai is currently at major version 5.x, while the adapter package @ai-sdk/svelte remains at 3.x.

90%
Verified

@ai-sdk/vue is the official adapter package for the Vue ecosystem within the Vercel AI SDK monorepo.

90%
Verified

The AI SDK splits out independent adapter layers for different frontend frameworks, including corresponding packages for Vue, React, Svelte, and other frameworks.

90%
Verified

The core change in @ai-sdk/tui@1.0.100 is an update to dependencies, with the associated commit being 615ac89.

90%
Verified

The core composables useChat and useCompletion in @ai-sdk/vue are designed following the React version's useChat hook to ensure cross-framework API consistency.

90%
Verified

@ai-sdk/vue is the official adapter layer of the Vercel AI SDK for the Vue.js framework, providing Vue developers with a declarative API for integrating large language model capabilities, including scenarios such as streaming response handling, chat interface state management, and tool calling.

90%
Verified

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

90%
Verified

When upgrading @ai-sdk/voyage, it is recommended to simultaneously update @ai-sdk/provider and @ai-sdk/provider-utils to ensure dependency tree version alignment

90%
Verified

@ai-sdk/svelte@4.0.276 depends on the ai@6.0.276 core package.

90%
Verified

useChat is designed for multi-turn conversation scenarios and maintains a message history list, while useCompletion is suited for single-pass text completion scenarios; both expose an error state field.

90%
Verified

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

90%
Verified

The upgrade method is to run npm install @ai-sdk/openai@4.0.60.

90%
Verified

@ai-sdk/zai@3.0.8 introduces no breaking changes and no new features.

90%
Verified

Vercel AI SDK uses the changesets tool to manage version changes, and each patch to the core ai package is automatically propagated to all adapter layers such as @ai-sdk/svelte, @ai-sdk/react, and @ai-sdk/vue.

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

In production environments, plugin updates should be validated in a test environment first, and plugin versions should be managed carefully

90%

Source Articles