ci: Version Packages#881
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
0d88595 to
1eb371c
Compare
1eb371c to
606688f
Compare
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-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
thinkingon Fable 5 (explicitdisabledandbudget_tokensare rejected), adaptive-or-disabledthinkingon Sonnet 5, and notemperature/top_p/top_kon either.output_config.effortgains 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.8is nowclaude-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, nobudget_tokens, no sampling parameters) and Opus/Sonnet 4.6 now acceptthinking: { 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 theclaude-opus-4-6-fast/claude-opus-4-7-fast/claude-opus-4.8-fastvariants (fast mode is requested via thespeedparameter, 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_useandweb_search_tool_result/web_fetch_tool_resultblocks while streaming, so theevidence 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
ProviderExecutedToolMetadataconvention plusisProviderExecutedToolCall/getProviderExecutedMetadatahelpers to@tanstack/ai.(No e2e: aimock cannot synthesize
server_tool_useblocks; covered by unittests 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 toANTHROPIC_COMBINED_TOOLS_AND_SCHEMA_MODELSandAnthropicChatModelToolCapabilitiesByNameUpdated dependencies [
afba322,e7ad181]:@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_useandweb_search_tool_result/web_fetch_tool_resultblocks while streaming, so theevidence 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
ProviderExecutedToolMetadataconvention plusisProviderExecutedToolCall/getProviderExecutedMetadatahelpers to@tanstack/ai.(No e2e: aimock cannot synthesize
server_tool_useblocks; covered by unittests and verified live against the Anthropic API.)
#867
e7ad181- FixaddToolResult/addToolOutputsilently no-op'ing after aMESSAGES_SNAPSHOT. The AG-UI snapshot wire shape cannot reconstruct client-side tool-call metadata a server may omit (arole: 'tool'message only carriestoolCallId+content, and an assistant message may droptoolCallsthe client already observed viaTOOL_CALL_*events).handleMessagesSnapshotEventnow runs a reconciliation pass that anchors detachedtool-result-only assistant messages into the preceding assistant message (matching the streaming fan-out shape) and carries forward atool-callpart from the pre-snapshot state when the snapshot references itstoolCallIdvia atool-resultbut omits the correspondingtool-callpart. This keeps the UI representation consistent and lets a subsequentaddToolResult(toolCallId)locate the call. Fixes #859.@tanstack/ai-angular@0.2.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-bedrock@0.1.1
Patch Changes
afba322,e7ad181]:@tanstack/ai-client@0.19.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-code-mode@0.3.5
Patch Changes
afba322,e7ad181]:@tanstack/ai-code-mode-skills@0.3.8
Patch Changes
afba322,e7ad181]:@tanstack/ai-devtools-core@0.4.21
Patch Changes
afba322,e7ad181]:@tanstack/ai-fal@0.9.9
Patch Changes
afba322,e7ad181]:@tanstack/ai-isolate-cloudflare@0.2.35
Patch Changes
@tanstack/ai-isolate-node@0.1.44
Patch Changes
@tanstack/ai-isolate-quickjs@0.1.44
Patch Changes
@tanstack/ai-mcp@0.2.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-ollama@0.8.13
Patch Changes
#862
86fbbdd- Emit aRUN_ERRORevent instead of throwing when the Ollama text adapter'schatStreamfails before streaming begins (e.g. the initialclient.chatcall is rejected because the host is unreachable). The error is now surfaced as a structured chunk — withmessage,code, and any availablerawEvent— so failures flow through the stream consistently with other adapters rather than escaping as an unhandled exception.Updated dependencies [
afba322,e7ad181]:@tanstack/ai-preact@0.10.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-react@0.16.3
Patch Changes
afba322,e7ad181]:@tanstack/ai-solid@0.14.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-svelte@0.14.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-vue@0.14.2
Patch Changes
afba322,e7ad181]:@tanstack/ai-vue-ui@0.2.30
Patch Changes
@tanstack/preact-ai-devtools@0.1.64
Patch Changes
@tanstack/react-ai-devtools@0.2.64
Patch Changes
@tanstack/solid-ai-devtools@0.2.64
Patch Changes