Skip to content
Source
Sign inSign up
TanStack/ai

ci: Version Packages #2290 (GitHub #2289)

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

github-actions[bot](GitHub profile, opens in a new tab)commented

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@1.11.0

Minor Changes

  • #2255 7d49d2c - Add lazyToolsConfig.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 a query to __lazy__tool__discovery__ (chat()) or discover_tools (Code Mode), and gets at most 10 keyword matches. Common words such as "a", "to", and "tool" do not score. Exact toolNames still work. A later chat() query that finds only tools already discovered says those tools are already available. @tanstack/ai also exports searchLazyTools(tools, query, limit?), the ranking that both use.

@tanstack/ai-code-mode@1.2.0

Minor Changes

  • #2255 7d49d2c - Add lazyToolsConfig.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 a query to __lazy__tool__discovery__ (chat()) or discover_tools (Code Mode), and gets at most 10 keyword matches. Common words such as "a", "to", and "tool" do not score. Exact toolNames still work. A later chat() query that finds only tools already discovered says those tools are already available. @tanstack/ai also exports searchLazyTools(tools, query, limit?), the ranking that both use.

Patch Changes

  • Updated dependencies [56d1d11, 7d49d2c]:
    • @tanstack/ai-harness@0.6.2
    • @tanstack/ai@1.11.0

@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-base and ships the GLM-5 and GLM-4 model catalog (glm-5.3, glm-5.3-flash, and glm-5.2 first), createZAIText/zaiText, createZAISummarize/zaiSummarize, the branded zaiWebSearchTool, and a zaiByok descriptor at @tanstack/ai-zai/byok so a browser-supplied key wins over ZAI_API_KEY.

    The adapter sets the coding-plan base URL when coding: true is passed. It sends json_object plus a schema system prompt because Z.AI rejects json_schema. Z.AI accepts a tool_choice of auto only, so toolChoice: 'none' sends no tools and 'required' or a named tool warns once and falls back to auto. It streams delta.reasoning_content as 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 without rawInput open until its input arrives, so the later tool_call_update sends TOOL_CALL_ARGS before TOOL_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 - Add claude-fable-5-2 to anthropicText: $8 / $40 per million tokens, a 1M-token context window, 128K output tokens, adaptive thinking, and computer use through computer_toolset only.

    anthropicVertexText accepts claude-fable-5-2, claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 and claude-fable-5-1. Google's Vertex catalog lists these models, so ANTHROPIC_VERTEX_CHAT_MODELS now includes them.

  • Updated dependencies [7d49d2c]:

    • @tanstack/ai@1.11.0

@tanstack/ai-grok@1.1.2

Patch Changes

  • #2287 2d49b19 - grok-imagine-image-2.0 now accepts the 21:9 and 5:2 aspect ratios, the 1.5k resolution, and quality: 'auto'. Before, generateImage() rejected these sizes before it sent the request, and the types rejected quality: 'auto'. The documented default of quality is now 'auto', as in the xAI API. grok-imagine-image and grok-imagine-image-quality take 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.handoffTool can return undefined for a speaker. That speaker gets the built-in handoff tool, 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 throws sandboxed tool "<name>" blocked: the snippet failed or ...: a sandbox limit was hit, the same pattern sandboxedChatTool() 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 on error.cause for host logs.

  • Updated dependencies [7d49d2c]:

    • @tanstack/ai@1.11.0
    • @tanstack/ai-code-mode@1.2.0
    • @tanstack/ai-mcp@1.3.3

@tanstack/ai-optimize-evals@0.0.4

Patch Changes

  • Updated dependencies [80879e8, 7d49d2c]:
    • @tanstack/ai-anthropic@1.2.4
    • @tanstack/ai@1.11.0
    • @tanstack/ai-code-mode@1.2.0
    • @tanstack/ai-gemini@1.3.1
    • @tanstack/ai-openai@1.2.1
    • @tanstack/ai-optimize@0.1.0
    1. Pushed4e4b373

    2. Pushed2eed561

    3. Pushed2d9ccf7

    4. Pushed2e655db

    5. AlemTuzlak merged this840ea56

    6. AlemTuzlak closed this

Sign in to join this conversation.