Skip to content
Source
Sign inSign up
TanStack/ai

ci: Version Packages #1514

Mergedgithub-actions[bot](GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/1514/headmerged by AlemTuzlak View on GitHub

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tanstack/ai@0.63.0

Minor Changes

  • #1509 37b2826 - Add an optional inputSchema to defineAgent. The agent's tool shows the schema to the model, so the parent model writes the child's input, such as a short brief. run gets the checked input as a typed ctx.input. A bad input goes back to the model as a tool error, and the child does not start. inputSchema needs tool mode: chat() throws when subagents.router meets an agent that has one. Agents without inputSchema do not change.

  • #1401 c5c1996 - Preserve structured outcomes for cancelled and denied tool results. A tool-result part now carries outcome: 'cancelled' | 'denied' (new ToolResultOutcome type and isToolResultOutcome guard) across tool execution, streaming, persistence, and UI restoration, so callers can tell a user or middleware decision from an ordinary tool failure without matching error text. state stays 'error' for these results. The @tanstack/ai-client ToolResultPart type (used by useChat messages) now has the same outcome field.

  • #1452 0eb8f0b - @tanstack/ai-mcp can create an MCP server with createMCPServer and serveMCPStdio. The client package moves from @modelcontextprotocol/sdk to @modelcontextprotocol/client and @modelcontextprotocol/server. The client tries spec 2026-07-28 first, then the 2025 handshake. When an MCP server asks for input, chat() pauses with an mcp_input interrupt. Answer it with resolveInterrupt or cancel(), and the tool runs again with the answer in ctx.inputResponse. A tool can set execution: 'task' for a spec 2025 task handle. A tool reads requestInput and sample on ctx.context, typed by MCPToolContext. The server auth option takes the MCP SDK OAuthTokenVerifier shape. jwtVerifier and introspectionVerifier cover JWT and opaque tokens, and a tool reads the token as ctx.context.authInfo. createMCPClient<typeof server>({ transport }) types a remote client from a createMCPServer server, and createMCPClient({ server }) calls a server in the same process. server.handle(request, { authInfo, context }) takes a token your own middleware verified and values for ctx.context, typed with MCPToolContext<{ db: Db }>. A tool's metadata.title and metadata.annotations reach the host as the MCP title and annotations. A tool with no outputSchema can return a CallToolResult as is. sessions: 'reject' turns spec 2025 sessions off for hosts with many instances.

Patch Changes

  • #1233 8e8ee26 - Preserve failed client tool results across native interrupt resumes and await asynchronous client output validation

  • #1512 3e30cde - Keep a tool-call part at complete when its result arrives before the stream ends. If a stream had no TOOL_CALL_END, the end-of-stream safety net set a finished tool-call part back to input-complete. The final state then depended on async timing.

  • #1528 f44b6b2 - otelMiddleware({ captureContent: true }) now records content on media spans (generateImage, generateVideo, generateAudio, generateSpeech, generateTranscription, and the others). gen_ai.input.messages gets the prompt and input media. gen_ai.output.messages gets the output URLs or the transcript text. Inline data stays a placeholder. redact and maxContentLength apply to each text part.

  • #1527 d632d41 - otelMiddleware with captureContent: true now keeps multimodal parts structured in gen_ai.input.messages (OTel GenAI part shapes). URL media becomes a uri part and provider file handles become a file part, so traces show what the model looked at. Inline base64 data still records a [image]-style placeholder.

@tanstack/ai-client@0.36.0

Minor Changes

  • #1401 c5c1996 - Preserve structured outcomes for cancelled and denied tool results. A tool-result part now carries outcome: 'cancelled' | 'denied' (new ToolResultOutcome type and isToolResultOutcome guard) across tool execution, streaming, persistence, and UI restoration, so callers can tell a user or middleware decision from an ordinary tool failure without matching error text. state stays 'error' for these results. The @tanstack/ai-client ToolResultPart type (used by useChat messages) now has the same outcome field.

Patch Changes

@tanstack/ai-mcp@0.6.0

Minor Changes

  • #1452 0eb8f0b - @tanstack/ai-mcp can create an MCP server with createMCPServer and serveMCPStdio. The client package moves from @modelcontextprotocol/sdk to @modelcontextprotocol/client and @modelcontextprotocol/server. The client tries spec 2026-07-28 first, then the 2025 handshake. When an MCP server asks for input, chat() pauses with an mcp_input interrupt. Answer it with resolveInterrupt or cancel(), and the tool runs again with the answer in ctx.inputResponse. A tool can set execution: 'task' for a spec 2025 task handle. A tool reads requestInput and sample on ctx.context, typed by MCPToolContext. The server auth option takes the MCP SDK OAuthTokenVerifier shape. jwtVerifier and introspectionVerifier cover JWT and opaque tokens, and a tool reads the token as ctx.context.authInfo. createMCPClient<typeof server>({ transport }) types a remote client from a createMCPServer server, and createMCPClient({ server }) calls a server in the same process. server.handle(request, { authInfo, context }) takes a token your own middleware verified and values for ctx.context, typed with MCPToolContext<{ db: Db }>. A tool's metadata.title and metadata.annotations reach the host as the MCP title and annotations. A tool with no outputSchema can return a CallToolResult as is. sessions: 'reject' turns spec 2025 sessions off for hosts with many instances.

Patch Changes

@tanstack/ai-acp@0.3.19

Patch Changes

@tanstack/ai-angular@0.12.3

Patch Changes

@tanstack/ai-anthropic@0.19.3

Patch Changes

@tanstack/ai-bedrock@0.4.1

Patch Changes

@tanstack/ai-byteplus@0.5.1

Patch Changes

@tanstack/ai-claude-code@0.7.1

Patch Changes

@tanstack/ai-cloudflare@0.2.1

Patch Changes

@tanstack/ai-code-mode@0.4.18

Patch Changes

@tanstack/ai-code-mode-snippets@0.4.18

Patch Changes

@tanstack/ai-codex@0.5.14

Patch Changes

@tanstack/ai-cohere@0.4.11

Patch Changes

@tanstack/ai-compaction@0.1.11

Patch Changes

@tanstack/ai-devtools-core@0.5.22

Patch Changes

@tanstack/ai-durable-stream@0.1.21

Patch Changes

@tanstack/ai-elevenlabs@0.6.6

Patch Changes

@tanstack/ai-fal@0.15.3

Patch Changes

@tanstack/ai-gemini@0.34.1

Patch Changes

@tanstack/ai-grok@0.20.3

Patch Changes

@tanstack/ai-grok-build@0.5.14

Patch Changes

@tanstack/ai-groq@0.8.1

Patch Changes

@tanstack/ai-llmgateway@0.2.1

Patch Changes

@tanstack/ai-lovable@0.3.1

Patch Changes

@tanstack/ai-memory@0.2.8

Patch Changes

@tanstack/ai-mistral@0.6.12

Patch Changes

@tanstack/ai-octane@0.6.3

Patch Changes

@tanstack/ai-ollama@0.11.11

Patch Changes

@tanstack/ai-openai@0.25.1

Patch Changes

  • #1532 6b8a1c0 - List the Responses provider tools on gpt-6-astra, gpt-6-sol, and gpt-6-luna. The model sync added them with tools: [], so webSearchTool, imageGenerationTool, and the other provider tools were type errors on GPT-6. They now accept web_search, file_search, image_generation, code_interpreter, mcp, computer_use, shell, and apply_patch, as listed on OpenAI's model pages.

  • #1529 24baf35 - openaiImage() accepts gpt-image-2.5-flare and gpt-image-2.5-sunburst. Both take sizes 1024x1024, 1536x1024, 1024x1536 and auto, and quality adds xhigh and max to low, medium, high and auto. Before, both ids threw Unknown image model before any request was sent.

  • Updated dependencies [37b2826, 8e8ee26, c5c1996, 3e30cde, 0eb8f0b, bb3bf30, f44b6b2, d632d41]:

    • @tanstack/ai@0.63.0
    • @tanstack/openai-base@0.12.1

@tanstack/ai-opencode@0.4.14

Patch Changes

@tanstack/ai-openrouter@0.20.1

Patch Changes

@tanstack/ai-perplexity@0.2.19

Patch Changes

@tanstack/ai-persistence@0.7.1

Patch Changes

@tanstack/ai-preact@0.19.3

Patch Changes

@tanstack/ai-react@0.29.3

Patch Changes

@tanstack/ai-reactor@0.2.9

Patch Changes

@tanstack/ai-remix@0.5.3

Patch Changes

@tanstack/ai-sandbox@0.5.17

Patch Changes

@tanstack/ai-sandbox-cloudflare@0.4.9

Patch Changes

@tanstack/ai-skills@0.1.13

Patch Changes

@tanstack/ai-solid@0.25.3

Patch Changes

@tanstack/ai-svelte@0.24.3

Patch Changes

@tanstack/ai-typesafe@0.1.6

Patch Changes

@tanstack/ai-vercel-gateway@0.3.1

Patch Changes

@tanstack/ai-vertex@0.2.21

Patch Changes

@tanstack/ai-vue@0.25.3

Patch Changes

@tanstack/ai-worldlabs@0.1.2

Patch Changes

@tanstack/openai-base@0.12.1

Patch Changes

  • #1530 bb3bf30 - Chat Completions usage now reads Moonshot (Kimi) prompt cache counts. prompt_tokens_details.cache_write_tokens maps to promptTokensDetails.cacheWriteTokens, and a cached_tokens field at the root of usage maps to promptTokensDetails.cachedTokens when prompt_tokens_details.cached_tokens is absent.

  • Updated dependencies [37b2826, 8e8ee26, c5c1996, 3e30cde, 0eb8f0b, f44b6b2, d632d41]:

    • @tanstack/ai@0.63.0

ag-ui@0.0.30

Patch Changes

  • Updated dependencies [8e8ee26, c5c1996]:
    • @tanstack/ai-client@0.36.0
    • @tanstack/ai-react@0.29.3
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Bot user detected.

      To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository: TanStack/ai/.coderabbit.yaml

      Review profile: CHILL

      Plan: Advanced

      Run ID: f4463fce-a9d9-42e9-bb3c-62ef1532104b

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. AlemTuzlak approved these changes

    3. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit c6d53e4ceef19a8f0ccac5652062a51f6ed869f2

      CommandStatusDurationResult
      nx run-many --targets=build --exclude=examples/...✅ Succeeded2m 12sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-09-27 12:47:42 UTC

    4. Open in StackBlitz

      @tanstack/ai

      npm i https://pkg.pr.new/@tanstack/ai@1514

      @tanstack/ai-acp

      npm i https://pkg.pr.new/@tanstack/ai-acp@1514

      @tanstack/ai-angular

      npm i https://pkg.pr.new/@tanstack/ai-angular@1514

      @tanstack/ai-anthropic

      npm i https://pkg.pr.new/@tanstack/ai-anthropic@1514

      @tanstack/ai-bedrock

      npm i https://pkg.pr.new/@tanstack/ai-bedrock@1514

      @tanstack/ai-byteplus

      npm i https://pkg.pr.new/@tanstack/ai-byteplus@1514

      @tanstack/ai-claude-code

      npm i https://pkg.pr.new/@tanstack/ai-claude-code@1514

      @tanstack/ai-client

      npm i https://pkg.pr.new/@tanstack/ai-client@1514

      @tanstack/ai-cloudflare

      npm i https://pkg.pr.new/@tanstack/ai-cloudflare@1514

      @tanstack/ai-code-mode

      npm i https://pkg.pr.new/@tanstack/ai-code-mode@1514

      @tanstack/ai-code-mode-snippets

      npm i https://pkg.pr.new/@tanstack/ai-code-mode-snippets@1514

      @tanstack/ai-codex

      npm i https://pkg.pr.new/@tanstack/ai-codex@1514

      @tanstack/ai-cohere

      npm i https://pkg.pr.new/@tanstack/ai-cohere@1514

      @tanstack/ai-compaction

      npm i https://pkg.pr.new/@tanstack/ai-compaction@1514

      @tanstack/ai-devtools-core

      npm i https://pkg.pr.new/@tanstack/ai-devtools-core@1514

      @tanstack/ai-durable-stream

      npm i https://pkg.pr.new/@tanstack/ai-durable-stream@1514

      @tanstack/ai-elevenlabs

      npm i https://pkg.pr.new/@tanstack/ai-elevenlabs@1514

      @tanstack/ai-event-client

      npm i https://pkg.pr.new/@tanstack/ai-event-client@1514

      @tanstack/ai-fal

      npm i https://pkg.pr.new/@tanstack/ai-fal@1514

      @tanstack/ai-gemini

      npm i https://pkg.pr.new/@tanstack/ai-gemini@1514

      @tanstack/ai-grok

      npm i https://pkg.pr.new/@tanstack/ai-grok@1514

      @tanstack/ai-grok-build

      npm i https://pkg.pr.new/@tanstack/ai-grok-build@1514

      @tanstack/ai-groq

      npm i https://pkg.pr.new/@tanstack/ai-groq@1514

      @tanstack/ai-isolate-cloudflare

      npm i https://pkg.pr.new/@tanstack/ai-isolate-cloudflare@1514

      @tanstack/ai-isolate-daytona

      npm i https://pkg.pr.new/@tanstack/ai-isolate-daytona@1514

      @tanstack/ai-isolate-node

      npm i https://pkg.pr.new/@tanstack/ai-isolate-node@1514

      @tanstack/ai-isolate-quickjs

      npm i https://pkg.pr.new/@tanstack/ai-isolate-quickjs@1514

      @tanstack/ai-isolate-quickjs-bun

      npm i https://pkg.pr.new/@tanstack/ai-isolate-quickjs-bun@1514

      @tanstack/ai-llmgateway

      npm i https://pkg.pr.new/@tanstack/ai-llmgateway@1514

      @tanstack/ai-lovable

      npm i https://pkg.pr.new/@tanstack/ai-lovable@1514

      @tanstack/ai-mcp

      npm i https://pkg.pr.new/@tanstack/ai-mcp@1514

      @tanstack/ai-memory

      npm i https://pkg.pr.new/@tanstack/ai-memory@1514

      @tanstack/ai-mistral

      npm i https://pkg.pr.new/@tanstack/ai-mistral@1514

      @tanstack/ai-octane

      npm i https://pkg.pr.new/@tanstack/ai-octane@1514

      @tanstack/ai-ollama

      npm i https://pkg.pr.new/@tanstack/ai-ollama@1514

      @tanstack/ai-openai

      npm i https://pkg.pr.new/@tanstack/ai-openai@1514

      @tanstack/ai-opencode

      npm i https://pkg.pr.new/@tanstack/ai-opencode@1514

      @tanstack/ai-openrouter

      npm i https://pkg.pr.new/@tanstack/ai-openrouter@1514

      @tanstack/ai-perplexity

      npm i https://pkg.pr.new/@tanstack/ai-perplexity@1514

      @tanstack/ai-persistence

      npm i https://pkg.pr.new/@tanstack/ai-persistence@1514

      @tanstack/ai-preact

      npm i https://pkg.pr.new/@tanstack/ai-preact@1514

      @tanstack/ai-react

      npm i https://pkg.pr.new/@tanstack/ai-react@1514

      @tanstack/ai-react-ui

      npm i https://pkg.pr.new/@tanstack/ai-react-ui@1514

      @tanstack/ai-reactor

      npm i https://pkg.pr.new/@tanstack/ai-reactor@1514

      @tanstack/ai-remix

      npm i https://pkg.pr.new/@tanstack/ai-remix@1514

      @tanstack/ai-sandbox

      npm i https://pkg.pr.new/@tanstack/ai-sandbox@1514

      @tanstack/ai-sandbox-blaxel

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-blaxel@1514

      @tanstack/ai-sandbox-boxd

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-boxd@1514

      @tanstack/ai-sandbox-cloudflare

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-cloudflare@1514

      @tanstack/ai-sandbox-daytona

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-daytona@1514

      @tanstack/ai-sandbox-docker

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-docker@1514

      @tanstack/ai-sandbox-e2b

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-e2b@1514

      @tanstack/ai-sandbox-local-process

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-local-process@1514

      @tanstack/ai-sandbox-sprites

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-sprites@1514

      @tanstack/ai-sandbox-upstash-box

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-upstash-box@1514

      @tanstack/ai-sandbox-vercel

      npm i https://pkg.pr.new/@tanstack/ai-sandbox-vercel@1514

      @tanstack/ai-skills

      npm i https://pkg.pr.new/@tanstack/ai-skills@1514

      @tanstack/ai-solid

      npm i https://pkg.pr.new/@tanstack/ai-solid@1514

      @tanstack/ai-solid-ui

      npm i https://pkg.pr.new/@tanstack/ai-solid-ui@1514

      @tanstack/ai-svelte

      npm i https://pkg.pr.new/@tanstack/ai-svelte@1514

      @tanstack/ai-typesafe

      npm i https://pkg.pr.new/@tanstack/ai-typesafe@1514

      @tanstack/ai-utils

      npm i https://pkg.pr.new/@tanstack/ai-utils@1514

      @tanstack/ai-vercel-gateway

      npm i https://pkg.pr.new/@tanstack/ai-vercel-gateway@1514

      @tanstack/ai-vertex

      npm i https://pkg.pr.new/@tanstack/ai-vertex@1514

      @tanstack/ai-vue

      npm i https://pkg.pr.new/@tanstack/ai-vue@1514

      @tanstack/ai-vue-ui

      npm i https://pkg.pr.new/@tanstack/ai-vue-ui@1514

      @tanstack/ai-worldlabs

      npm i https://pkg.pr.new/@tanstack/ai-worldlabs@1514

      @tanstack/openai-base

      npm i https://pkg.pr.new/@tanstack/openai-base@1514

      @tanstack/preact-ai-devtools

      npm i https://pkg.pr.new/@tanstack/preact-ai-devtools@1514

      @tanstack/react-ai-devtools

      npm i https://pkg.pr.new/@tanstack/react-ai-devtools@1514

      @tanstack/solid-ai-devtools

      npm i https://pkg.pr.new/@tanstack/solid-ai-devtools@1514

      @tanstack/svelte-ai-devtools

      npm i https://pkg.pr.new/@tanstack/svelte-ai-devtools@1514

      commit: c6d53e4

    5. AlemTuzlak merged thise44ba03

    6. AlemTuzlak closed this

Sign in to join this conversation.