@ai-sdk/typesafe-ai
An npm package that provides a type-safe wrapper on top of the AI SDK. It locks provider-related dependency versions to ensure consistency between type definitions and runtime behavior.
Core Facts
This update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.
This release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).
When using @ai-sdk/svelte, users should ensure that the versions of ai and @ai-sdk/svelte are aligned, avoiding mixing different major versions.
Timeline (last 90 days)
Capability information is refined down to specific endpoints, rather than only broadly indicating the features a provider supports
The release notes do not provide specific API signatures, function names, or example code
The model identifiers accepted by the query functions carry type constraints, so writing a wrong model name will produce a compile-time error
Version 3.0.47 exports provider-specific model capability query functions
This model capability information can be obtained without making API requests or additional configuration.
Version 3.0.45 of @ai-sdk/typesafe-ai contains 3 commits and references commit hash 743e15b for the dependency upgrade.
Updates to underlying toolkits can sometimes indirectly affect type inference results, and developers are advised to run type checks after upgrading @ai-sdk/typesafe-ai to confirm there are no regressions.
@ai-sdk/minimax released version 3.0.85, which is a patch update.
When upgrading to version 3.0.40, it is recommended to check whether the resolved @ai-sdk/provider-utils in the lockfile is unified at 5.0.81, and to run type checks and tests.
In downstream projects, if an older version of provider-utils is pinned, the package manager may retain the old version when installing @ai-sdk/typesafe-ai@3.0.40 to satisfy the range constraints of other dependencies, resulting in version splits.
40 more timeline events
All Facts (20)
This update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.
90%VerifiedThis release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).
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%Verifiedtypesafe-ai is a package that provides a type-safe call wrapper on top of the AI SDK, and the matching dependency versions must be locked to ensure consistency between type definitions and runtime behavior.
80%Verified@ai-sdk/typesafe-ai is a type-safe wrapper layer for the AI SDK, providing stricter type constraints for scenarios such as model calls, tool definitions, and structured output.
80%VerifiedBecause large model APIs iterate frequently, @ai-sdk/provider and @ai-sdk/provider-utils have a relatively high release cadence within the AI SDK toolchain.
80%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%VerifiedIf the project's current version is inconsistent with the core ai package, upgrading to @ai-sdk/vue@3.0.310 helps align the dependency tree.
75%VerifiedFor patch-level updates, if the changeset description is too brief or is not included in the release process, the Release page may show only the version number and build artifacts, lacking detailed user-facing explanations.
75%VerifiedFor projects using @ai-sdk/zai, upgrading to 3.0.25 is generally safe and recommended, as patch versions follow SemVer and do not introduce breaking changes.
75%Verifiedv3.24.0 was released by GitHub with a verified signature.
75%VerifiedThe @ai-sdk/typesafe-ai sub-package is positioned around type safety, leveraging the TypeScript type system to help developers catch potential issues at compile time.
75%VerifiedThe reasoning retention feature only takes effect on models that support reasoning output and does not affect regular conversational models.
75%Verified@ai-sdk/minimax released version 3.0.85, which is a patch update.
80%VerifiedThe @ai-sdk/zai package released version 3.0.8, which is a patch change.
90%Verified@ai-sdk/svelte released version 5.0.93.
90%Partially VerifiedVersion 3.0.40 contains documentation maintenance commit e729d58, which updates README.md to unify formatting and avoid duplicate content.
90%UnverifiedThis model capability information can be obtained without making API requests or additional configuration.
70%UnverifiedIn @ai-sdk/zai 3.0.44, the provider's API Key and token configuration supports Promises as well as synchronous/asynchronous callback functions.
70%UnverifiedFor projects using `@ai-sdk/typesafe-ai`, it is recommended to run the existing type checks and integration tests after upgrading to confirm that the compatibility of the provider interfaces has not drifted unexpectedly.
70%