@ai-sdk/svelte
The official adapter package for the Vercel AI SDK targeting the Svelte framework. It wraps the AI SDK's streaming state as Svelte stores or reactive variables, enabling rapid integration of AI capabilities such as chat and text completion into Svelte applications.
Core Facts
@ai-sdk/vue is the adapter layer for the Vercel AI SDK within the Vue ecosystem.
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.
@ai-sdk/vue is the official adapter package for the Vue ecosystem within the Vercel AI SDK monorepo.
Timeline (last 90 days)
For framework binding libraries, the changes brought by Svelte 5 runes involve not only internal implementation but also the externally exposed API design, such as how to return streamingly generated tokens in a reactive way.
Since the last release, the main branch has accumulated 2873 commits.
This release page does not list the specific code change details, and only notes the associated ai@6.0.306.
For patch versions, the prudent approach is to pay attention to the update notes of the core ai package, first upgrade in the development environment to confirm the critical path is normal, and keep a rollback plan before upgrading the production environment.
@ai-sdk/svelte has released version 5.0.140, which is a patch update containing only 1 commit (dbdbd0c).
The core change content of @ai-sdk/svelte 5.0.140 is a synchronized upgrade of the underlying dependency ai@7.0.140.
When upgrading @ai-sdk/svelte to 5.0.140, you should ensure that the ai package is also 7.0.140; since it is patch level, there should theoretically be no breaking change, but it is still recommended to run the tests once.
@ai-sdk/svelte is the official adapter layer provided by AI SDK for the Svelte framework, enabling Svelte applications to access large model capabilities in a way that follows the framework's conventions.
AI SDK's framework adapter packages keep their patch version numbers aligned with the core package (for example, ai@7.0.140 corresponds to @ai-sdk/svelte@5.0.140).
@ai-sdk/valibot version 3.0.59 was released on October 12 at 17:51 by the github-actions bot.
40 more timeline events
All Facts (20)
@ai-sdk/vue is the adapter layer for the Vercel AI SDK within the Vue ecosystem.
90%VerifiedThe 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%VerifiedThe core change in @ai-sdk/tui@1.0.100 is an update to dependencies, with the associated commit being 615ac89.
90%VerifiedThis release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).
90%Verified@ai-sdk/svelte@4.0.276 depends on the ai@6.0.276 core package.
90%VerifieduseChat 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%VerifiedVercel 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%VerifiedWhen using @ai-sdk/svelte, users should ensure that the versions of ai and @ai-sdk/svelte are aligned, avoiding mixing different major versions.
90%Verified@ai-sdk/svelte is an adapter layer for the Svelte framework that encapsulates the streaming responses, message management, tool-calling, and other capabilities of the core ai package into interfaces conforming to Svelte's reactive paradigm.
90%VerifiedPatch versions typically do not introduce breaking changes and are primarily used for bug fixes, performance optimizations, or syncing underlying dependencies, in compliance with Semantic Versioning (SemVer) specifications.
90%VerifiedThe 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%VerifiedWithin the AI SDK ecosystem, there exists an adapter package @ai-sdk/zod similar to @ai-sdk/valibot, with both providing the same public interface.
80%Verified@ai-sdk/xai@3.0.134 was automatically built by GitHub Actions.
80%VerifiedThis update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.
80%Verified@ai-sdk/svelte remaining at version 5.x while the core ai package has reached version 7.x reflects the strategy of each sub-package adopting independent version numbers.
80%VerifiedWhen upgrading, you should confirm whether the ai core package version in the project needs to be simultaneously upgraded to 7.0.94 to avoid runtime errors caused by version mismatches.
80%VerifiedWhen a foundational package such as @ai-sdk/provider-utils that is depended upon by multiple packages is updated, Changeset automatically marks the packages that depend on it for a patch version bump, which is why @ai-sdk/valibot publishes a new version even though its own code has not changed.
75%VerifiedThe ai main package version is 6.0.292 while the adapter package is 4.0.292, with different major versions, indicating that each sub-package maintains its version line independently.
75%VerifiedThe Patch Changes for @ai-sdk/vue 2.0.262 this time only noted the dependency sync for ai@5.0.262, with no specific feature changes listed.
75%