ci: Version Packages#703
Merged
Merged
Conversation
13b6a96 to
74f1c00
Compare
74f1c00 to
a6a2185
Compare
AlemTuzlak
approved these changes
Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 anmcpoption tochat()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 withconnection: 'keep-alive'. Also exportsMCPToolSource,ChatMCPOptions,MCPConnectionPolicy, andMCPDuplicateToolNameError(the error thrown when tools from separatemcp.clientsentries collide after merging; catchable withinstanceof).#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'schat()loop, with three type-safety modes (auto-discovery, hand-writtentoolDefinition()binding, and generated end-to-end types vianpx @tanstack/ai-mcp generate). IncludescreateMCPClientsfor connecting to multiple servers with auto-prefixed tool names. Also exposesabortSignalonToolExecutionContextso long-running tools (e.g. MCPcallTool) cancel with the chat run.Patch Changes
#408
c0af426- FixextendAdapterdropping required parameters after the model (e.g.apiKeyincreateAnthropicChat). 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 updatersupdateToolCallApproval,updateToolCallState,updateToolCallWithOutput,and
updateToolCallApprovalResponsepreviously mutated the found tool-callpart in-place (
toolCallPart.state = ...) after spreading the parts array.The shallow
[...msg.parts]copy created a new array but preserved theoriginal 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 freshobject on every update. This aligns with the pattern already used by
updateToolCallPart,updateTextPart, andupdateThinkingPart.Updated dependencies []:
@tanstack/ai-mcp@0.1.0
Minor Changes
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'schat()loop, with three type-safety modes (auto-discovery, hand-writtentoolDefinition()binding, and generated end-to-end types vianpx @tanstack/ai-mcp generate). IncludescreateMCPClientsfor connecting to multiple servers with auto-prefixed tool names. Also exposesabortSignalonToolExecutionContextso long-running tools (e.g. MCPcallTool) cancel with the chat run.Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-anthropic@0.15.1
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-client@0.16.3
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-code-mode@0.2.5
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-code-mode-skills@0.2.5
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-devtools-core@0.4.8
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-elevenlabs@0.2.20
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-event-client@0.5.4
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-fal@0.7.23
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-gemini@0.15.1
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-grok@0.11.2
Patch Changes
496e814,c0af426,00e0c93,496e814,496e814]:@tanstack/ai-groq@0.4.2
Patch Changes
496e814,c0af426,00e0c93,496e814,496e814]:@tanstack/ai-isolate-cloudflare@0.2.21
Patch Changes
@tanstack/ai-isolate-node@0.1.30
Patch Changes
@tanstack/ai-isolate-quickjs@0.1.30
Patch Changes
@tanstack/ai-ollama@0.8.1
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-openai@0.14.1
Patch Changes
496e814,c0af426,00e0c93,496e814,496e814]:@tanstack/ai-openrouter@0.13.1
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-preact@0.9.4
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-react@0.15.4
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-solid@0.13.4
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-svelte@0.13.4
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-vue@0.13.4
Patch Changes
496e814,c0af426,00e0c93,496e814]:@tanstack/ai-vue-ui@0.2.16
Patch Changes
@tanstack/openai-base@0.8.1
Patch Changes
#700
496e814- Strip JSON Schemaformatvalues 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 unsupportedformat— common with MCP server tools — previously caused the entire request to fail with400 ... '<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/preact-ai-devtools@0.1.51
Patch Changes
@tanstack/react-ai-devtools@0.2.51
Patch Changes
@tanstack/solid-ai-devtools@0.2.51
Patch Changes