ci: Version Packages#724
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
f49a3f5 to
57336b5
Compare
57336b5 to
38bbf91
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@0.29.0
Minor Changes
#723
22c9b42- Surface fal's billed units asresult.usage. The fal adapters now read fal'sx-fal-billable-unitsresponse header off the result fetch and expose the billed quantity (usage.unitsBilled) on the generation result, so consumers can compute exact media-generation cost without wrappingfetchthemselves.TokenUsagegains an optionalunitsBilledfield for usage-based (non-token) billing, denominated in the provider's priced unit.falImage,falAudio,falVideo,falSpeech, andfalTranscriptionpopulateresult.usage.unitsBilledwhen fal reports it.VideoUrlResultgains an optionalusageslot;getVideoJobStatusnow emits thevideo:usageevent and returnsusagewhen the completed result reports billed units.#727
7d44569- Add an'error'terminal toToolCallState. When a tool execution produces an output error, the StreamProcessor now transitions thetool-callpart tostate: 'error'instead of parking it at'input-complete'.Previously an errored tool call left the tool-call part at
'input-complete'forever, so UIs that render lifecycle from the part'sstatecould not distinguish "still executing" from "failed" without reverse-engineering the error-shapedoutputor the siblingtool-resultpart. The new terminal makes the tool-call state machine self-describing and symmetric withToolResultState(which already has'error'):The completion safety net (
RUN_FINISHED/ stream finalization) no longer downgrades a failed tool call back to'input-complete', including when anoutput-errorresult arrives beforeTOOL_CALL_END.Patch Changes
#696
ff267a5- Fix duplicateTOOL_CALL_ENDfor server-executed tools. The adapter already streamsSTART/ARGS/ENDfor each tool call, butchat()emitted a secondENDafterwards with no matchingSTART— an orphan event that AG-UI-strict consumers (e.g.@ag-ui/client'sverifyEvents) reject. The post-execution phase now only addsTOOL_CALL_RESULT. Fixes #519.#734
570c08a- Fix the default debug logger droppingmetapayloads on Cloudflare Workers / workerd (#730).ConsoleLoggerpreviously renderedmetawithconsole.dir, which workerd never forwards to the terminal — debug mode printed category headlines but no request bodies, chunk contents, orRUN_ERRORpayloads. The logger now detects the runtime: Node keeps the depth-unlimitedconsole.dirdump, Cloudflare Workers rendersmetaas circular-safe pretty-printed JSON (workerd's own inspect truncates nested objects), and other runtimes (browsers, Deno, Bun) receivemetaas an extra console argument so devtools keep collapsible trees. Detection checks workerd'snavigator.userAgentmarker beforeprocess.versions.node, sincenodejs_compatemulates a Node version string.#699
215b6b4- Migrate the OpenAI realtime adapters from the retired Beta API (shut down 2026-05-12) to the GA API:openaiRealtime()now exchanges WebRTC SDP viaPOST /v1/realtime/calls(the Beta?model=shape returnedbeta_api_shape_disabled).openaiRealtimeToken()now mints ephemeral keys viaPOST /v1/realtime/client_secretsinstead of the retired/v1/realtime/sessions, and parses the GA top-levelvalue/expires_atresponse shape.session.updatepayloads use the GA shape: requiredsession.type,audio.input.transcription,audio.input.turn_detection,audio.output.voice,output_modalities, andmax_output_tokens.temperaturewas removed from the GA session config and is no longer sent (a debug log notes when it is dropped).response.output_audio_transcript.*,response.output_audio.*,output_text/output_audiocontent parts).gpt-realtime; thegpt-4o-(mini-)realtime-previewids (shut down by OpenAI on 2026-05-07) were removed fromOpenAIRealtimeModel.Updated dependencies [
ff267a5,22c9b42,7d44569]:@tanstack/ai-client@0.17.0
Minor Changes
#727
7d44569- Add an'error'terminal toToolCallState. When a tool execution produces an output error, the StreamProcessor now transitions thetool-callpart tostate: 'error'instead of parking it at'input-complete'.Previously an errored tool call left the tool-call part at
'input-complete'forever, so UIs that render lifecycle from the part'sstatecould not distinguish "still executing" from "failed" without reverse-engineering the error-shapedoutputor the siblingtool-resultpart. The new terminal makes the tool-call state machine self-describing and symmetric withToolResultState(which already has'error'):The completion safety net (
RUN_FINISHED/ stream finalization) no longer downgrades a failed tool call back to'input-complete', including when anoutput-errorresult arrives beforeTOOL_CALL_END.Patch Changes
ff267a5,570c08a,ff267a5,22c9b42,215b6b4,7d44569]:@tanstack/ai-event-client@0.6.0
Minor Changes
#723
22c9b42- Surface fal's billed units asresult.usage. The fal adapters now read fal'sx-fal-billable-unitsresponse header off the result fetch and expose the billed quantity (usage.unitsBilled) on the generation result, so consumers can compute exact media-generation cost without wrappingfetchthemselves.TokenUsagegains an optionalunitsBilledfield for usage-based (non-token) billing, denominated in the provider's priced unit.falImage,falAudio,falVideo,falSpeech, andfalTranscriptionpopulateresult.usage.unitsBilledwhen fal reports it.VideoUrlResultgains an optionalusageslot;getVideoJobStatusnow emits thevideo:usageevent and returnsusagewhen the completed result reports billed units.#727
7d44569- Add an'error'terminal toToolCallState. When a tool execution produces an output error, the StreamProcessor now transitions thetool-callpart tostate: 'error'instead of parking it at'input-complete'.Previously an errored tool call left the tool-call part at
'input-complete'forever, so UIs that render lifecycle from the part'sstatecould not distinguish "still executing" from "failed" without reverse-engineering the error-shapedoutputor the siblingtool-resultpart. The new terminal makes the tool-call state machine self-describing and symmetric withToolResultState(which already has'error'):The completion safety net (
RUN_FINISHED/ stream finalization) no longer downgrades a failed tool call back to'input-complete', including when anoutput-errorresult arrives beforeTOOL_CALL_END.Patch Changes
#696
ff267a5- Surface server-executed tool results in devtools from theTOOL_CALL_RESULTevent. The devtools middleware previously read results only offTOOL_CALL_END, which the adapter emits before the tool runs (so it carries no result). Now thatchat()no longer re-emits a post-executionTOOL_CALL_END(see the@tanstack/ai#519 fix), results travel on the spec-compliantTOOL_CALL_RESULTevent — the middleware now handles it so devtools keeps showing server-tool output.Updated dependencies [
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-fal@0.8.0
Minor Changes
22c9b42- Surface fal's billed units asresult.usage. The fal adapters now read fal'sx-fal-billable-unitsresponse header off the result fetch and expose the billed quantity (usage.unitsBilled) on the generation result, so consumers can compute exact media-generation cost without wrappingfetchthemselves.TokenUsagegains an optionalunitsBilledfield for usage-based (non-token) billing, denominated in the provider's priced unit.falImage,falAudio,falVideo,falSpeech, andfalTranscriptionpopulateresult.usage.unitsBilledwhen fal reports it.VideoUrlResultgains an optionalusageslot;getVideoJobStatusnow emits thevideo:usageevent and returnsusagewhen the completed result reports billed units.Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-gemini@0.16.0
Minor Changes
#714
efa76c8- Sync Gemini model metadata with Google's current published model list (#620, #621).Added
gemini-3.1-flash-lite(stable GA) — joins the existinggemini-3.1-flash-lite-previewentry and qualifies for the native combined tools +responseSchemastreaming path (GEMINI_COMBINED_TOOLS_AND_SCHEMA_MODELS).Removed (retired by Google — these ids now 404 against the Gemini API or are no longer published)
gemini-3-pro-preview(verified 404; superseded bygemini-3.1-pro-preview)gemini-2.5-flash-preview-09-2025(superseded by stablegemini-2.5-flash)gemini-2.5-flash-lite-preview-09-2025(superseded by stablegemini-2.5-flash-lite)gemini-2.0-flashandgemini-2.0-flash-lite(2.0 line retired from Google's published list)gemini-2.0-flash-preview-image-generation(image; superseded bygemini-2.5-flash-image)Fixed
gemini-3.5-flashwas missing fromGeminiChatModelToolCapabilitiesByName, leaving its provider-tool typing broken.If you were passing a removed id to
geminiText()/geminiSummarize(), switch to the listed successor (e.g.gemini-2.0-flash→gemini-2.5-flash).Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-anthropic@0.15.2
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-code-mode@0.2.6
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-code-mode-skills@0.2.6
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-devtools-core@0.4.9
Patch Changes
ff267a5,570c08a,ff267a5,22c9b42,215b6b4,7d44569]:@tanstack/ai-elevenlabs@0.2.21
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-grok@0.11.3
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-groq@0.4.3
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-isolate-cloudflare@0.2.22
Patch Changes
@tanstack/ai-isolate-node@0.1.31
Patch Changes
@tanstack/ai-isolate-quickjs@0.1.31
Patch Changes
@tanstack/ai-mcp@0.1.1
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-ollama@0.8.2
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-openai@0.14.2
Patch Changes
#699
215b6b4- Migrate the OpenAI realtime adapters from the retired Beta API (shut down 2026-05-12) to the GA API:openaiRealtime()now exchanges WebRTC SDP viaPOST /v1/realtime/calls(the Beta?model=shape returnedbeta_api_shape_disabled).openaiRealtimeToken()now mints ephemeral keys viaPOST /v1/realtime/client_secretsinstead of the retired/v1/realtime/sessions, and parses the GA top-levelvalue/expires_atresponse shape.session.updatepayloads use the GA shape: requiredsession.type,audio.input.transcription,audio.input.turn_detection,audio.output.voice,output_modalities, andmax_output_tokens.temperaturewas removed from the GA session config and is no longer sent (a debug log notes when it is dropped).response.output_audio_transcript.*,response.output_audio.*,output_text/output_audiocontent parts).gpt-realtime; thegpt-4o-(mini-)realtime-previewids (shut down by OpenAI on 2026-05-07) were removed fromOpenAIRealtimeModel.Updated dependencies [
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-openrouter@0.13.2
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-preact@0.9.5
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-react@0.15.5
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-react-ui@0.8.7
Patch Changes
7d44569]:@tanstack/ai-solid@0.13.5
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-solid-ui@0.7.7
Patch Changes
7d44569]:@tanstack/ai-svelte@0.13.5
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-vue@0.13.5
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/ai-vue-ui@0.2.17
Patch Changes
@tanstack/openai-base@0.8.2
Patch Changes
ff267a5,570c08a,22c9b42,215b6b4,7d44569]:@tanstack/preact-ai-devtools@0.1.52
Patch Changes
@tanstack/react-ai-devtools@0.2.52
Patch Changes
@tanstack/solid-ai-devtools@0.2.52
Patch Changes