Skip to content

ci: Version Packages#881

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

ci: Version Packages#881
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

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-anthropic@0.16.0

Minor Changes

  • #884 091e820 - Add first-class support for Claude Sonnet 5 (claude-sonnet-5) and Claude Fable 5 (claude-fable-5), and clean up the model registry so every registered id resolves against the first-party Anthropic API.

    New model support. Both 5-generation models carry accurate metadata (adaptive thinking, sticker pricing for Sonnet 5) and per-model provider-option types that match the API: adaptive-only thinking on Fable 5 (explicit disabled and budget_tokens are rejected), adaptive-or-disabled thinking on Sonnet 5, and no temperature / top_p / top_k on either. output_config.effort gains the 'xhigh' level. Both models (plus Opus 4.8) are registered for native combined tools + output-schema requests. Closes #880.

    Corrected ids (breaking). claude-opus-4.8 is now claude-opus-4-8 — the dot spelling came from an OpenRouter metadata sync and returns 404 on the Anthropic API. Opus 4.7 and 4.8 also get correct per-model types (adaptive thinking, no budget_tokens, no sampling parameters) and Opus/Sonnet 4.6 now accept thinking: { type: 'adaptive' }.

    Removed retired models (breaking). The following ids no longer resolve on the Anthropic API (verified live) and were removed from ANTHROPIC_MODELS: claude-3-7-sonnet, claude-3-5-haiku, claude-3-haiku, claude-opus-4, claude-sonnet-4, and the claude-opus-4-6-fast / claude-opus-4-7-fast / claude-opus-4.8-fast variants (fast mode is requested via the speed parameter, not a model id). If you were pinning one of these, migrate to a current model (claude-sonnet-5, claude-haiku-4-5, claude-opus-4-8).

Patch Changes

  • #855 afba322 - Preserve Anthropic server-tool results (web_search / web_fetch) across turns.

    Previously the Anthropic adapter dropped server_tool_use and
    web_search_tool_result / web_fetch_tool_result blocks while streaming, so the
    evidence never round-tripped — a follow-up turn could no longer see the prior
    web-search sources (issue #839). These now stream as a provider-executed
    tool call carrying the raw result, which the agent loop skips (never executed
    client-side) and the adapter replays verbatim into the next request. Adds the
    ProviderExecutedToolMetadata convention plus isProviderExecutedToolCall /
    getProviderExecutedMetadata helpers to @tanstack/ai.

    (No e2e: aimock cannot synthesize server_tool_use blocks; covered by unit
    tests and verified live against the Anthropic API.)

  • #882 f8b145f - Added Claude Sonnet 5, Claude Fable 5, Opus 4.7 Fast, Opus 4.8, and Opus 4.8 Fast to ANTHROPIC_COMBINED_TOOLS_AND_SCHEMA_MODELS and AnthropicChatModelToolCapabilitiesByName

  • Updated dependencies [afba322, e7ad181]:

    • @tanstack/ai@0.39.1

@tanstack/ai@0.39.1

Patch Changes

  • #855 afba322 - Preserve Anthropic server-tool results (web_search / web_fetch) across turns.

    Previously the Anthropic adapter dropped server_tool_use and
    web_search_tool_result / web_fetch_tool_result blocks while streaming, so the
    evidence never round-tripped — a follow-up turn could no longer see the prior
    web-search sources (issue #839). These now stream as a provider-executed
    tool call carrying the raw result, which the agent loop skips (never executed
    client-side) and the adapter replays verbatim into the next request. Adds the
    ProviderExecutedToolMetadata convention plus isProviderExecutedToolCall /
    getProviderExecutedMetadata helpers to @tanstack/ai.

    (No e2e: aimock cannot synthesize server_tool_use blocks; covered by unit
    tests and verified live against the Anthropic API.)

  • #867 e7ad181 - Fix addToolResult / addToolOutput silently no-op'ing after a MESSAGES_SNAPSHOT. The AG-UI snapshot wire shape cannot reconstruct client-side tool-call metadata a server may omit (a role: 'tool' message only carries toolCallId + content, and an assistant message may drop toolCalls the client already observed via TOOL_CALL_* events). handleMessagesSnapshotEvent now runs a reconciliation pass that anchors detached tool-result-only assistant messages into the preceding assistant message (matching the streaming fan-out shape) and carries forward a tool-call part from the pre-snapshot state when the snapshot references its toolCallId via a tool-result but omits the corresponding tool-call part. This keeps the UI representation consistent and lets a subsequent addToolResult(toolCallId) locate the call. Fixes #859.

@tanstack/ai-angular@0.2.2

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-client@0.19.2

@tanstack/ai-bedrock@0.1.1

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/openai-base@0.9.6

@tanstack/ai-client@0.19.2

Patch Changes

@tanstack/ai-code-mode@0.3.5

Patch Changes

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

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-code-mode@0.3.5

@tanstack/ai-devtools-core@0.4.21

Patch Changes

@tanstack/ai-fal@0.9.9

Patch Changes

@tanstack/ai-isolate-cloudflare@0.2.35

Patch Changes

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

@tanstack/ai-isolate-node@0.1.44

Patch Changes

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

@tanstack/ai-isolate-quickjs@0.1.44

Patch Changes

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

@tanstack/ai-mcp@0.2.2

Patch Changes

@tanstack/ai-ollama@0.8.13

Patch Changes

  • #862 86fbbdd - Emit a RUN_ERROR event instead of throwing when the Ollama text adapter's chatStream fails before streaming begins (e.g. the initial client.chat call is rejected because the host is unreachable). The error is now surfaced as a structured chunk — with message, code, and any available rawEvent — so failures flow through the stream consistently with other adapters rather than escaping as an unhandled exception.

  • Updated dependencies [afba322, e7ad181]:

    • @tanstack/ai@0.39.1

@tanstack/ai-preact@0.10.2

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-client@0.19.2

@tanstack/ai-react@0.16.3

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-client@0.19.2

@tanstack/ai-solid@0.14.2

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-client@0.19.2

@tanstack/ai-svelte@0.14.2

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-client@0.19.2

@tanstack/ai-vue@0.14.2

Patch Changes

  • Updated dependencies [afba322, e7ad181]:
    • @tanstack/ai@0.39.1
    • @tanstack/ai-client@0.19.2

@tanstack/ai-vue-ui@0.2.30

Patch Changes

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

@tanstack/preact-ai-devtools@0.1.64

Patch Changes

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

@tanstack/react-ai-devtools@0.2.64

Patch Changes

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

@tanstack/solid-ai-devtools@0.2.64

Patch Changes

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

@github-actions github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 0d88595 to 1eb371c Compare July 2, 2026 10:30
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 1eb371c to 606688f Compare July 2, 2026 13:55
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.

Claude Sonnet 5 and Fable support MESSAGES_SNAPSHOT + addToolOutput

0 participants