ci: Version Packages #2290 (GitHub #2289)
main fromrefs/pull/2289/head·merged by AlemTuzlak View on GitHubThis 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@1.11.0#
Minor Changes#
- #2255
7d49d2c- AddlazyToolsConfig.catalog: 'search'. The discovery catalog then lists no lazy tool names, so hundreds of lazy tools cost almost no prompt tokens. The model finds tools with aqueryto__lazy__tool__discovery__(chat()) ordiscover_tools(Code Mode), and gets at most 10 keyword matches. Common words such as "a", "to", and "tool" do not score. ExacttoolNamesstill work. A laterchat()query that finds only tools already discovered says those tools are already available.@tanstack/aialso exportssearchLazyTools(tools, query, limit?), the ranking that both use.
@tanstack/ai-code-mode@1.2.0#
Minor Changes#
- #2255
7d49d2c- AddlazyToolsConfig.catalog: 'search'. The discovery catalog then lists no lazy tool names, so hundreds of lazy tools cost almost no prompt tokens. The model finds tools with aqueryto__lazy__tool__discovery__(chat()) ordiscover_tools(Code Mode), and gets at most 10 keyword matches. Common words such as "a", "to", and "tool" do not score. ExacttoolNamesstill work. A laterchat()query that finds only tools already discovered says those tools are already available.@tanstack/aialso exportssearchLazyTools(tools, query, limit?), the ranking that both use.
Patch Changes#
@tanstack/ai-zai@0.2.0#
Minor Changes#
#1937
35ad144- Add the Z.AI adapter. It drives Z.AI's OpenAI-compatible Chat Completions API through@tanstack/openai-baseand ships the GLM-5 and GLM-4 model catalog (glm-5.3,glm-5.3-flash, andglm-5.2first),createZAIText/zaiText,createZAISummarize/zaiSummarize, the brandedzaiWebSearchTool, and azaiByokdescriptor at@tanstack/ai-zai/byokso a browser-supplied key wins overZAI_API_KEY.The adapter sets the coding-plan base URL when
coding: trueis passed. It sendsjson_objectplus a schema system prompt because Z.AI rejectsjson_schema. Z.AI accepts atool_choiceofautoonly, sotoolChoice: 'none'sends no tools and'required'or a named tool warns once and falls back toauto. It streamsdelta.reasoning_contentas AG-UI reasoning events.
Patch Changes#
- Updated dependencies [
7d49d2c]:- @tanstack/ai@1.11.0
- @tanstack/openai-base@1.1.3
@tanstack/ai-acp@1.1.1#
Patch Changes#
#2273
0ac51d8- Keep a tool call opened withoutrawInputopen until its input arrives, so the latertool_call_updatesendsTOOL_CALL_ARGSbeforeTOOL_CALL_END. It was sent after the call had ended, and the UI appended it to the finalized arguments as doubled JSON. A call that resolves or is interrupted without input is closed with its title before its result.Updated dependencies [
56d1d11,7d49d2c]:- @tanstack/ai-harness@0.6.2
- @tanstack/ai@1.11.0
- @tanstack/ai-sandbox@1.7.0
@tanstack/ai-anthropic@1.2.4#
Patch Changes#
#2286
80879e8- Addclaude-fable-5-2toanthropicText: $8 / $40 per million tokens, a 1M-token context window, 128K output tokens, adaptive thinking, and computer use throughcomputer_toolsetonly.anthropicVertexTextacceptsclaude-fable-5-2,claude-opus-5-5,claude-sonnet-5-5,claude-haiku-5-5andclaude-fable-5-1. Google's Vertex catalog lists these models, soANTHROPIC_VERTEX_CHAT_MODELSnow includes them.Updated dependencies [
7d49d2c]:- @tanstack/ai@1.11.0
@tanstack/ai-grok@1.1.2#
Patch Changes#
#2287
2d49b19-grok-imagine-image-2.0now accepts the21:9and5:2aspect ratios, the1.5kresolution, andquality: 'auto'. Before,generateImage()rejected these sizes before it sent the request, and the types rejectedquality: 'auto'. The documented default ofqualityis now'auto', as in the xAI API.grok-imagine-imageandgrok-imagine-image-qualitytake the same sizes as before.Updated dependencies [
7d49d2c]:- @tanstack/ai@1.11.0
- @tanstack/openai-base@1.1.3
@tanstack/ai-harness@0.6.2#
Patch Changes#
#2285
56d1d11-routing.handoffToolcan returnundefinedfor a speaker. That speaker gets the built-inhandofftool, so an app can make custom tools for some speakers only.Updated dependencies [
7d49d2c]:- @tanstack/ai@1.11.0
- @tanstack/ai-persistence@1.2.0
@tanstack/ai-mcp-sandbox@0.2.1#
Patch Changes#
#2284
da40d82-sandboxedTool()no longer sends raw facade error text to the MCP client. A blocked run now throwssandboxed tool "<name>" blocked: the snippet failedor...: a sandbox limit was hit, the same patternsandboxedChatTool()uses. The raw message, which can carry downstream detail such as a database host name or a rejected user, stays in the audit record and onerror.causefor host logs.Updated dependencies [
7d49d2c]:- @tanstack/ai@1.11.0
- @tanstack/ai-code-mode@1.2.0
- @tanstack/ai-mcp@1.3.3