Skip to content

ci: Version Packages#703

Merged
AlemTuzlak merged 1 commit into
mainfrom
changeset-release/main
Jun 5, 2026
Merged

ci: Version Packages#703
AlemTuzlak merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 4, 2026

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.28.0

Minor Changes

  • #700 496e814 - Add an mcp option to chat() for managing MCP clients directly: chat({ mcp: { clients, connection, lazyTools, onDiscoveryError } }) discovers the given MCP clients'/pools' tools at run start, merges them into the run, and (by default, connection: 'close') closes them when the run ends — or keeps them warm with connection: 'keep-alive'. Also exports MCPToolSource, ChatMCPOptions, MCPConnectionPolicy, and MCPDuplicateToolNameError (the error thrown when tools from separate mcp.clients entries collide after merging; catchable with instanceof).

  • #700 496e814 - Add @tanstack/ai-mcp: a host-side Model Context Protocol client. Discover and run MCP server tools (and read resources/prompts) inside any adapter's chat() loop, with three type-safety modes (auto-discovery, hand-written toolDefinition() binding, and generated end-to-end types via npx @tanstack/ai-mcp generate). Includes createMCPClients for connecting to multiple servers with auto-prefixed tool names. Also exposes abortSignal on ToolExecutionContext so long-running tools (e.g. MCP callTool) cancel with the chat run.

Patch Changes

  • #408 c0af426 - Fix extendAdapter dropping required parameters after the model (e.g. apiKey in createAnthropicChat). All factory parameters after the model are now preserved, including labels and optionality.

  • #395 00e0c93 - fix(ai): produce new object references in tool-call message updaters

    updateToolCallApproval, updateToolCallState, updateToolCallWithOutput,
    and updateToolCallApprovalResponse previously mutated the found tool-call
    part in-place (toolCallPart.state = ...) after spreading the parts array.
    The shallow [...msg.parts] copy created a new array but preserved the
    original object references, so frameworks that rely on reference identity
    for change detection (Svelte 5 proxies, Vue 3 reactivity, etc.) could not
    observe the updates.

    Each function now replaces the part at its index with a spread copy
    (parts[index] = { ...toolCallPart, ...changes }), producing a fresh
    object on every update. This aligns with the pattern already used by
    updateToolCallPart, updateTextPart, and updateThinkingPart.

  • Updated dependencies []:

    • @tanstack/ai-event-client@0.5.4

@tanstack/ai-mcp@0.1.0

Minor Changes

  • #700 496e814 - Add @tanstack/ai-mcp: a host-side Model Context Protocol client. Discover and run MCP server tools (and read resources/prompts) inside any adapter's chat() loop, with three type-safety modes (auto-discovery, hand-written toolDefinition() binding, and generated end-to-end types via npx @tanstack/ai-mcp generate). Includes createMCPClients for connecting to multiple servers with auto-prefixed tool names. Also exposes abortSignal on ToolExecutionContext so long-running tools (e.g. MCP callTool) cancel with the chat run.

Patch Changes

@tanstack/ai-anthropic@0.15.1

Patch Changes

@tanstack/ai-client@0.16.3

Patch Changes

@tanstack/ai-code-mode@0.2.5

Patch Changes

@tanstack/ai-code-mode-skills@0.2.5

Patch Changes

@tanstack/ai-devtools-core@0.4.8

Patch Changes

@tanstack/ai-elevenlabs@0.2.20

Patch Changes

@tanstack/ai-event-client@0.5.4

Patch Changes

@tanstack/ai-fal@0.7.23

Patch Changes

@tanstack/ai-gemini@0.15.1

Patch Changes

@tanstack/ai-grok@0.11.2

Patch Changes

@tanstack/ai-groq@0.4.2

Patch Changes

@tanstack/ai-isolate-cloudflare@0.2.21

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.5

@tanstack/ai-isolate-node@0.1.30

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.5

@tanstack/ai-isolate-quickjs@0.1.30

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-code-mode@0.2.5

@tanstack/ai-ollama@0.8.1

Patch Changes

@tanstack/ai-openai@0.14.1

Patch Changes

@tanstack/ai-openrouter@0.13.1

Patch Changes

@tanstack/ai-preact@0.9.4

Patch Changes

@tanstack/ai-react@0.15.4

Patch Changes

@tanstack/ai-solid@0.13.4

Patch Changes

@tanstack/ai-svelte@0.13.4

Patch Changes

@tanstack/ai-vue@0.13.4

Patch Changes

@tanstack/ai-vue-ui@0.2.16

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-vue@0.13.4

@tanstack/openai-base@0.8.1

Patch Changes

  • #700 496e814 - Strip JSON Schema format values that OpenAI's strict Structured Outputs subset rejects (e.g. uri, uri-reference, iri) from tool and response schemas before sending. Tools whose input schemas declare an unsupported format — common with MCP server tools — previously caused the entire request to fail with 400 ... '<format>' is not a valid format. Supported formats (date-time, time, date, duration, email, hostname, ipv4, ipv6, uuid) are preserved, and the caller's original tool definition is never mutated.

  • Updated dependencies [496e814, c0af426, 00e0c93, 496e814]:

    • @tanstack/ai@0.28.0

@tanstack/preact-ai-devtools@0.1.51

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-devtools-core@0.4.8

@tanstack/react-ai-devtools@0.2.51

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-devtools-core@0.4.8

@tanstack/solid-ai-devtools@0.2.51

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai-devtools-core@0.4.8

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 13b6a96 to 74f1c00 Compare June 5, 2026 00:47
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 74f1c00 to a6a2185 Compare June 5, 2026 08:20
@AlemTuzlak AlemTuzlak merged commit 16f661c into main Jun 5, 2026
2 checks passed
@AlemTuzlak AlemTuzlak deleted the changeset-release/main branch June 5, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant