Skip to content

chore(deps-dev): bump @tanstack/ai and @tanstack/ai-ollama - #129

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-2ec081d60f
Open

chore(deps-dev): bump @tanstack/ai and @tanstack/ai-ollama#129
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-2ec081d60f

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubAug 17, 2026

Copy link
Copy Markdown
Contributor

Bumps @tanstack/ai and @tanstack/ai-ollama. These dependencies needed to be updated together.
Updates @tanstack/ai from 0.43.1 to 0.44.0

Release notes

Sourced from @​tanstack/ai's releases.

@​tanstack/ai@​0.44.0

Minor Changes

  • #104759aa8b5 - feat(ai): add timeout and abortSignal to media generation activities

    Media activities (generateImage, generateAudio, generateVideo, generateSpeech, generateTranscription, and summarize) now accept optional timeout and abortSignal. Core composes them into a request-specific effective signal, races the adapter call so hung providers reject, clears timeout resources on settle, and routes aborts to middleware onAbort (not onError).

    @tanstack/ai-fal forwards the signal to fal.subscribe() / fal.queue.submit() per request — never via global fal.config() — so concurrent generations stay isolated.

  • #926ee07854 - Add a multimodal embed() activity. A single primitive covers one input or a batch — input accepts a string, a text part, an image part, or a fused text+image item written as a nested Array<ContentPart> ([textPart, imagePart], the same shape chat messages use), one vector per item, with the accepted item types narrowed per model at compile time. Top-level dimensions requests Matryoshka output sizes where supported. Results carry embeddings: [{ vector, index }] plus usage when the provider reports it, and embed() participates in generation middleware, debug logging, OTel (gen_ai.operation.name: embeddings), and devtools events like every other activity.

    Provider adapters: openaiEmbedding (text-embedding-3-small/large), geminiEmbedding (gemini-embedding-001), mistralEmbedding (mistral-embed, codestral-embed), ollamaEmbedding (nomic-embed-text and any local model), bedrockEmbedding (Titan Text V2, Titan Multimodal G1 with fused text+image, Cohere Embed v3 on Bedrock), and @tanstack/ai-cohere's cohereEmbedding (embed-v4.0, multimodal text+image with required inputType).

  • #8456903978 - feat: add rerank() activity for reordering documents by relevance to a query

    Adds a provider-agnostic rerank() activity (with createRerankOptions, the RerankAdapter interface, and BaseRerankAdapter). Documents may be strings or JSON-serializable objects — object documents are serialized for the provider and the original element is returned in the result, fully typed. Supports topN, per-request cancellation via abortSignal, and the standard observe-only GenerationMiddleware (onStart/onUsage/onFinish/onAbort/ onError) plus rerank:* devtools events. Rerank bills in provider-defined search units, surfaced on usage.unitsBilled.

    The first adapter ships in the new @tanstack/ai-cohere package as cohereRerank / createCohereRerank.

Patch Changes

  • #1066b785cc4 - Preserve stable UI message IDs when converting UI messages to model messages.

  • #92847e2464 - Fix OpenTelemetry root spans to report usage across all chat iterations, including error and abort exits.

  • #1069dd7ddf1 - Preserve UIMessage.createdAt when converting messages to and from ModelMessage so persisted transcripts retain their original timestamps.

  • #985fdb791a - toRunErrorPayload now falls back to a numeric status field when a thrown error carries no code. Some SDK error classes report the HTTP status only as status: number and no code (for example Google's @google/genaiApiError), so their status was previously dropped and the resulting RUN_ERROR event surfaced code: undefined — indistinguishable from an unknown failure. A string status (an HTTP reason phrase such as "Forbidden" or a symbolic status such as "PERMISSION_DENIED") is intentionally ignored so only the numeric HTTP code is forwarded; an explicit code still wins.

  • #8587aa4ae9 - Fix provider-specific model options inference for TTS, transcription, and summarize activities.

  • #1071ea9c077 - fix: publish internal dependency ranges as ^x.y.z instead of exact pins

    Internal dependencies on other TanStack AI packages used workspace:* in dependencies and peerDependencies. pnpm rewrites that to an exact version

... (truncated)

Changelog

Sourced from @​tanstack/ai's changelog.

0.44.0

Minor Changes

  • #104759aa8b5 - feat(ai): add timeout and abortSignal to media generation activities

    Media activities (generateImage, generateAudio, generateVideo, generateSpeech, generateTranscription, and summarize) now accept optional timeout and abortSignal. Core composes them into a request-specific effective signal, races the adapter call so hung providers reject, clears timeout resources on settle, and routes aborts to middleware onAbort (not onError).

    @tanstack/ai-fal forwards the signal to fal.subscribe() / fal.queue.submit() per request — never via global fal.config() — so concurrent generations stay isolated.

  • #926ee07854 - Add a multimodal embed() activity. A single primitive covers one input or a batch — input accepts a string, a text part, an image part, or a fused text+image item written as a nested Array<ContentPart> ([textPart, imagePart], the same shape chat messages use), one vector per item, with the accepted item types narrowed per model at compile time. Top-level dimensions requests Matryoshka output sizes where supported. Results carry embeddings: [{ vector, index }] plus usage when the provider reports it, and embed() participates in generation middleware, debug logging, OTel (gen_ai.operation.name: embeddings), and devtools events like every other activity.

    Provider adapters: openaiEmbedding (text-embedding-3-small/large), geminiEmbedding (gemini-embedding-001), mistralEmbedding (mistral-embed, codestral-embed), ollamaEmbedding (nomic-embed-text and any local model), bedrockEmbedding (Titan Text V2, Titan Multimodal G1 with fused text+image, Cohere Embed v3 on Bedrock), and @tanstack/ai-cohere's cohereEmbedding (embed-v4.0, multimodal text+image with required inputType).

  • #8456903978 - feat: add rerank() activity for reordering documents by relevance to a query

    Adds a provider-agnostic rerank() activity (with createRerankOptions, the RerankAdapter interface, and BaseRerankAdapter). Documents may be strings or JSON-serializable objects — object documents are serialized for the provider and the original element is returned in the result, fully typed. Supports topN, per-request cancellation via abortSignal, and the standard observe-only GenerationMiddleware (onStart/onUsage/onFinish/onAbort/ onError) plus rerank:* devtools events. Rerank bills in provider-defined search units, surfaced on usage.unitsBilled.

    The first adapter ships in the new @tanstack/ai-cohere package as cohereRerank / createCohereRerank.

Patch Changes

  • #1066b785cc4 - Preserve stable UI message IDs when converting UI messages to model messages.

  • #92847e2464 - Fix OpenTelemetry root spans to report usage across all chat iterations, including error and abort exits.

  • #1069dd7ddf1 - Preserve UIMessage.createdAt when converting messages to and from ModelMessage so persisted transcripts retain their original timestamps.

  • #985fdb791a - toRunErrorPayload now falls back to a numeric status field when a thrown error carries no code. Some SDK error classes report the HTTP status only as status: number and no code (for example Google's @google/genaiApiError), so their status was previously dropped and the resulting RUN_ERROR event surfaced code: undefined — indistinguishable from an unknown failure. A string status (an HTTP reason phrase such as "Forbidden" or a symbolic status such as "PERMISSION_DENIED") is intentionally ignored so only the numeric HTTP code is forwarded; an explicit code still wins.

  • #8587aa4ae9 - Fix provider-specific model options inference for TTS, transcription, and summarize activities.

  • #1071ea9c077 - fix: publish internal dependency ranges as ^x.y.z instead of exact pins

    Internal dependencies on other TanStack AI packages used workspace:* in

... (truncated)

Commits
  • e02b661 ci: Version Packages (#1059)
  • ee07854 feat: add multimodal embed() activity and provider adapters (#926)
  • ea9c077 fix: publish internal dependency ranges as ^x.y.z instead of exact pins (#1071)
  • fdb791a fix(ai): preserve numeric status field in RUN_ERROR payloads (#985)
  • 47e2464 fix(ai): roll up OpenTelemetry usage across iterations (#928)
  • dd7ddf1 fix(ai): preserve message creation timestamps (#1069)
  • 7aa4ae9 fix(ai): infer provider options for media activities (#858)
  • b785cc4 fix(ai): preserve UI message IDs in model conversion (#1066)
  • 6903978 feat: add rerank() activity with Cohere and OpenRouter adapters (#845)
  • 40b2730 Feat/ai-groq-summarize (#837)
  • Additional commits viewable in compare view

Updates @tanstack/ai-ollama from 0.8.17 to 0.9.0

Release notes

Sourced from @​tanstack/ai-ollama's releases.

@​tanstack/ai-ollama@​0.9.0

Minor Changes

  • #926ee07854 - Add a multimodal embed() activity. A single primitive covers one input or a batch — input accepts a string, a text part, an image part, or a fused text+image item written as a nested Array<ContentPart> ([textPart, imagePart], the same shape chat messages use), one vector per item, with the accepted item types narrowed per model at compile time. Top-level dimensions requests Matryoshka output sizes where supported. Results carry embeddings: [{ vector, index }] plus usage when the provider reports it, and embed() participates in generation middleware, debug logging, OTel (gen_ai.operation.name: embeddings), and devtools events like every other activity.

    Provider adapters: openaiEmbedding (text-embedding-3-small/large), geminiEmbedding (gemini-embedding-001), mistralEmbedding (mistral-embed, codestral-embed), ollamaEmbedding (nomic-embed-text and any local model), bedrockEmbedding (Titan Text V2, Titan Multimodal G1 with fused text+image, Cohere Embed v3 on Bedrock), and @tanstack/ai-cohere's cohereEmbedding (embed-v4.0, multimodal text+image with required inputType).

Patch Changes

  • #1071ea9c077 - fix: publish internal dependency ranges as ^x.y.z instead of exact pins

    Internal dependencies on other TanStack AI packages used workspace:* in dependencies and peerDependencies. pnpm rewrites that to an exact version at publish time, so a released package asked for e.g. @tanstack/ai-utils@0.4.0 rather than ^0.4.0.

    Two consequences for consumers:

    • Duplicate copies. An exact pin cannot dedupe. Installing a newer @tanstack/ai alongside a package pinned to the previous patch produced two copies in the tree, which breaks instanceof checks and module-level state, and inflates bundles.
    • Unsatisfiable peers. An exactly pinned peerDependency conflicts the moment the internal package ships its next patch, forcing consumers into overrides or --legacy-peer-deps.

    These fields now use workspace:^, which publishes as ^x.y.z. Every package here is still 0.x, so ^0.43.1 resolves to 0.43.x only — patches dedupe cleanly and no breaking minor is ever pulled in.

    devDependencies deliberately keep workspace:*: they are never published, and * correctly means "always build against the local copy".

  • Updated dependencies [59aa8b5, ee07854, b785cc4, 47e2464, dd7ddf1, 6903978, fdb791a, 7aa4ae9, ea9c077]:

    • @​tanstack/ai@​0.44.0
Changelog

Sourced from @​tanstack/ai-ollama's changelog.

0.9.0

Minor Changes

  • #926ee07854 - Add a multimodal embed() activity. A single primitive covers one input or a batch — input accepts a string, a text part, an image part, or a fused text+image item written as a nested Array<ContentPart> ([textPart, imagePart], the same shape chat messages use), one vector per item, with the accepted item types narrowed per model at compile time. Top-level dimensions requests Matryoshka output sizes where supported. Results carry embeddings: [{ vector, index }] plus usage when the provider reports it, and embed() participates in generation middleware, debug logging, OTel (gen_ai.operation.name: embeddings), and devtools events like every other activity.

    Provider adapters: openaiEmbedding (text-embedding-3-small/large), geminiEmbedding (gemini-embedding-001), mistralEmbedding (mistral-embed, codestral-embed), ollamaEmbedding (nomic-embed-text and any local model), bedrockEmbedding (Titan Text V2, Titan Multimodal G1 with fused text+image, Cohere Embed v3 on Bedrock), and @tanstack/ai-cohere's cohereEmbedding (embed-v4.0, multimodal text+image with required inputType).

Patch Changes

  • #1071ea9c077 - fix: publish internal dependency ranges as ^x.y.z instead of exact pins

    Internal dependencies on other TanStack AI packages used workspace:* in dependencies and peerDependencies. pnpm rewrites that to an exact version at publish time, so a released package asked for e.g. @tanstack/ai-utils@0.4.0 rather than ^0.4.0.

    Two consequences for consumers:

    • Duplicate copies. An exact pin cannot dedupe. Installing a newer @tanstack/ai alongside a package pinned to the previous patch produced two copies in the tree, which breaks instanceof checks and module-level state, and inflates bundles.
    • Unsatisfiable peers. An exactly pinned peerDependency conflicts the moment the internal package ships its next patch, forcing consumers into overrides or --legacy-peer-deps.

    These fields now use workspace:^, which publishes as ^x.y.z. Every package here is still 0.x, so ^0.43.1 resolves to 0.43.x only — patches dedupe cleanly and no breaking minor is ever pulled in.

    devDependencies deliberately keep workspace:*: they are never published, and * correctly means "always build against the local copy".

  • Updated dependencies [59aa8b5, ee07854, b785cc4, 47e2464, dd7ddf1, 6903978, fdb791a, 7aa4ae9, ea9c077]:

    • @​tanstack/ai@​0.44.0
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@tanstack/ai](https://github.com/TanStack/ai/tree/HEAD/packages/ai) and [@tanstack/ai-ollama](https://github.com/TanStack/ai/tree/HEAD/packages/ai-ollama). These dependencies needed to be updated together.
Updates `@tanstack/ai` from 0.43.1 to 0.44.0
- [Release notes](https://github.com/TanStack/ai/releases)
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/ai/CHANGELOG.md)
- [Commits](https://github.com/TanStack/ai/commits/@tanstack/ai@0.44.0/packages/ai)
Updates `@tanstack/ai-ollama` from 0.8.17 to 0.9.0
- [Release notes](https://github.com/TanStack/ai/releases)
- [Changelog](https://github.com/TanStack/ai/blob/main/packages/ai-ollama/CHANGELOG.md)
- [Commits](https://github.com/TanStack/ai/commits/@tanstack/ai-ollama@0.9.0/packages/ai-ollama)
---
updated-dependencies:
- dependency-name: "@tanstack/ai"
dependency-version: 0.44.0
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: "@tanstack/ai-ollama"
dependency-version: 0.9.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 17, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants