ci: Version Packages#608
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
b5c0e74 to
04280ff
Compare
04280ff to
c816fd0
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.21.0
Minor Changes
Middleware now wraps the final structured-output provider call in
chat({ outputSchema })(both Promise and streaming variants). Closes chat({ outputSchema }) runs final structured output request outside middleware #390. (#600)New public surface:
ChatMiddlewarePhasegains a'structuredOutput'value, set onChatMiddlewareContextfor the duration of the final structured-output adapter call.ChatMiddleware.onStructuredOutputConfighook receives aStructuredOutputMiddlewareConfig(including the JSON Schema being sent to the provider) and can return a partial to transform the config before the final call.StructuredOutputMiddlewareConfigextendsChatMiddlewareConfigwithoutputSchema: JSONSchema.Behavior change for existing middleware:
onChunknow observes chunks from the final structured-output call. Phase-aware middleware can branch onctx.phase === 'structuredOutput'to opt out:if (ctx.phase === 'structuredOutput') return.onFinishfires once at the end of the wholechat()invocation, after finalization completes — not after the agent loop.onFinish.inforeflects the agent loop's terminal state only.info.usage/info.finishReason/info.contentdo not include the final structured-output adapter call. To observe finalization tokens, useonUsage(fires for both agent-loop and finalizationRUN_FINISHEDevents).Internal cleanup:
RUN_STARTED/RUN_FINISHEDsuppression hack inrunStreamingStructuredOutputwas relocated into the engine (streamModelResponse) and gated onfinalStructuredOutput.yieldChunks. The streaming consumer still sees exactly one outer pair around the whole run.Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies []:
@tanstack/ai-react-ui@0.8.0
Minor Changes
TextPartnow acceptsremarkPlugins,rehypePlugins, and (React/Solid) (#599)componentsprops, plus adisableDefaultPluginsescape hatch. User pluginsmerge with the secure defaults —
rehype-sanitizecontinues to run lastunless defaults are disabled.
This fixes #164: bold and
emphasis in Japanese, Chinese, and Korean text rendered incorrectly because
of a CommonMark spec defect. Consumers can now drop in
remark-cjk-friendlywith a single prop:
Also fixes a latent bug in
@tanstack/ai-react-uiwhereremark-gfmwaspassed inside the rehype plugin array, silently disabling GFM features
(tables, strikethrough, task lists) in the React
TextPart.@tanstack/ai-vue-uiomits thecomponentsprop because its underlyingrenderer (
@crazydos/vue-markdown) does not expose component overrides;use that library's slot API for custom rendering.
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
a03d12b]:@tanstack/ai-solid-ui@0.7.0
Minor Changes
TextPartnow acceptsremarkPlugins,rehypePlugins, and (React/Solid) (#599)componentsprops, plus adisableDefaultPluginsescape hatch. User pluginsmerge with the secure defaults —
rehype-sanitizecontinues to run lastunless defaults are disabled.
This fixes #164: bold and
emphasis in Japanese, Chinese, and Korean text rendered incorrectly because
of a CommonMark spec defect. Consumers can now drop in
remark-cjk-friendlywith a single prop:
Also fixes a latent bug in
@tanstack/ai-react-uiwhereremark-gfmwaspassed inside the rehype plugin array, silently disabling GFM features
(tables, strikethrough, task lists) in the React
TextPart.@tanstack/ai-vue-uiomits thecomponentsprop because its underlyingrenderer (
@crazydos/vue-markdown) does not expose component overrides;use that library's slot API for custom rendering.
Patch Changes
a03d12b]:@tanstack/ai-vue-ui@0.2.0
Minor Changes
TextPartnow acceptsremarkPlugins,rehypePlugins, and (React/Solid) (#599)componentsprops, plus adisableDefaultPluginsescape hatch. User pluginsmerge with the secure defaults —
rehype-sanitizecontinues to run lastunless defaults are disabled.
This fixes #164: bold and
emphasis in Japanese, Chinese, and Korean text rendered incorrectly because
of a CommonMark spec defect. Consumers can now drop in
remark-cjk-friendlywith a single prop:
Also fixes a latent bug in
@tanstack/ai-react-uiwhereremark-gfmwaspassed inside the rehype plugin array, silently disabling GFM features
(tables, strikethrough, task lists) in the React
TextPart.@tanstack/ai-vue-uiomits thecomponentsprop because its underlyingrenderer (
@crazydos/vue-markdown) does not expose component overrides;use that library's slot API for custom rendering.
Patch Changes
a03d12b]:@tanstack/ai-anthropic@0.10.2
Patch Changes
Fix streaming corruption when Anthropic responses mix client
tool_usewith server-side tools (web_fetch,web_search). Closes bug(ai-anthropic): webFetchTool streaming corrupts prior tool_use input; server_tool_use is unhandled #604. (#606)The Anthropic streaming adapter previously had no handler for
server_tool_use/web_fetch_tool_result/web_search_tool_resultcontent blocks. When a clienttool_usewas followed by aserver_tool_usein the same response, the server tool'sinput_json_deltaevents appended onto the prior client tool's input buffer — producing concatenated JSON like{...prevToolArgs...}{"url":"..."}that threw in the agent loop'sJSON.parse.server_tool_useis now tracked in a separate buffer so its deltas can't bleed into client tool args.input_json_deltais dispatched by the current block type instead of unconditionally appending totoolCallsMap[currentToolIndex].web_fetch_tool_resultandweb_search_tool_resultblocks are explicitly acknowledged (and ignored — they are consumed by Anthropic, not the client), so they no longer fall through to the text-block handler.No new public events are introduced: server-side tool execution stays internal to the provider, matching how
webFetchTool()/webSearchTool()were always intended to be used.Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-client@0.11.4
Patch Changes
Expose the connection adapter primitives needed to build custom (#597)
transports from every framework hook package.
@tanstack/ai-clientnow re-exports
RunAgentInputContextat its entry point, and@tanstack/ai-react,@tanstack/ai-vue,@tanstack/ai-solid,@tanstack/ai-svelte, and@tanstack/ai-preactnow re-exportrpcStream,ConnectConnectionAdapter,SubscribeConnectionAdapter,and
RunAgentInputContextalongside the existingstream,fetchServerSentEvents, andfetchHttpStreamre-exports.Previously, authors of WebSocket / persistent or RPC-backed adapters
had to import these symbols from
@tanstack/ai-clienteven thoughthey were already pulling
useChatfrom a framework package. Noruntime change.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-code-mode@0.1.17
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-code-mode-skills@0.1.17
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-devtools-core@0.3.34
Patch Changes
ec1393d,188fe11]:@tanstack/ai-elevenlabs@0.2.9
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/ai-event-client@0.3.7
Patch Changes
ec1393d,188fe11]:@tanstack/ai-fal@0.7.10
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-gemini@0.10.9
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-grok@0.8.6
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-groq@0.2.5
Patch Changes
ec1393d,188fe11]:@tanstack/ai-isolate-cloudflare@0.2.8
Patch Changes
ec1393d]:@tanstack/ai-isolate-node@0.1.17
Patch Changes
ec1393d]:@tanstack/ai-isolate-quickjs@0.1.17
Patch Changes
ec1393d]:@tanstack/ai-ollama@0.6.20
Patch Changes
ec1393d,188fe11]:@tanstack/ai-openai@0.9.6
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/ai-openrouter@0.9.6
Patch Changes
Adopt
@tanstack/eslint-config@0.4.0and clean up the local override layer. (#607)@tanstack/eslint-configfrom0.3.3to0.4.0.pnpm/enforce-catalogandpnpm/json-enforce-catalogdisables (upstream removedeslint-plugin-pnpmin0.3.1).no-case-declarations: offoverride — no current source actually violates it.no-shadow: offoverride — upstream sets it towarn, so it surfaces in editors without blocking CI.typescript-eslintnow catches viano-unnecessary-type-assertion. One deliberately defensive cast inag-ui-wire.tsis preserved with an inline opt-out and a reason comment.No public-API or runtime-behavior changes.
Updated dependencies [
ec1393d,188fe11]:@tanstack/ai-preact@0.6.29
Patch Changes
Expose the connection adapter primitives needed to build custom (#597)
transports from every framework hook package.
@tanstack/ai-clientnow re-exports
RunAgentInputContextat its entry point, and@tanstack/ai-react,@tanstack/ai-vue,@tanstack/ai-solid,@tanstack/ai-svelte, and@tanstack/ai-preactnow re-exportrpcStream,ConnectConnectionAdapter,SubscribeConnectionAdapter,and
RunAgentInputContextalongside the existingstream,fetchServerSentEvents, andfetchHttpStreamre-exports.Previously, authors of WebSocket / persistent or RPC-backed adapters
had to import these symbols from
@tanstack/ai-clienteven thoughthey were already pulling
useChatfrom a framework package. Noruntime change.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/ai-react@0.11.4
Patch Changes
Expose the connection adapter primitives needed to build custom (#597)
transports from every framework hook package.
@tanstack/ai-clientnow re-exports
RunAgentInputContextat its entry point, and@tanstack/ai-react,@tanstack/ai-vue,@tanstack/ai-solid,@tanstack/ai-svelte, and@tanstack/ai-preactnow re-exportrpcStream,ConnectConnectionAdapter,SubscribeConnectionAdapter,and
RunAgentInputContextalongside the existingstream,fetchServerSentEvents, andfetchHttpStreamre-exports.Previously, authors of WebSocket / persistent or RPC-backed adapters
had to import these symbols from
@tanstack/ai-clienteven thoughthey were already pulling
useChatfrom a framework package. Noruntime change.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/ai-solid@0.10.4
Patch Changes
Expose the connection adapter primitives needed to build custom (#597)
transports from every framework hook package.
@tanstack/ai-clientnow re-exports
RunAgentInputContextat its entry point, and@tanstack/ai-react,@tanstack/ai-vue,@tanstack/ai-solid,@tanstack/ai-svelte, and@tanstack/ai-preactnow re-exportrpcStream,ConnectConnectionAdapter,SubscribeConnectionAdapter,and
RunAgentInputContextalongside the existingstream,fetchServerSentEvents, andfetchHttpStreamre-exports.Previously, authors of WebSocket / persistent or RPC-backed adapters
had to import these symbols from
@tanstack/ai-clienteven thoughthey were already pulling
useChatfrom a framework package. Noruntime change.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/ai-svelte@0.10.4
Patch Changes
Expose the connection adapter primitives needed to build custom (#597)
transports from every framework hook package.
@tanstack/ai-clientnow re-exports
RunAgentInputContextat its entry point, and@tanstack/ai-react,@tanstack/ai-vue,@tanstack/ai-solid,@tanstack/ai-svelte, and@tanstack/ai-preactnow re-exportrpcStream,ConnectConnectionAdapter,SubscribeConnectionAdapter,and
RunAgentInputContextalongside the existingstream,fetchServerSentEvents, andfetchHttpStreamre-exports.Previously, authors of WebSocket / persistent or RPC-backed adapters
had to import these symbols from
@tanstack/ai-clienteven thoughthey were already pulling
useChatfrom a framework package. Noruntime change.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/ai-vue@0.10.5
Patch Changes
Expose the connection adapter primitives needed to build custom (#597)
transports from every framework hook package.
@tanstack/ai-clientnow re-exports
RunAgentInputContextat its entry point, and@tanstack/ai-react,@tanstack/ai-vue,@tanstack/ai-solid,@tanstack/ai-svelte, and@tanstack/ai-preactnow re-exportrpcStream,ConnectConnectionAdapter,SubscribeConnectionAdapter,and
RunAgentInputContextalongside the existingstream,fetchServerSentEvents, andfetchHttpStreamre-exports.Previously, authors of WebSocket / persistent or RPC-backed adapters
had to import these symbols from
@tanstack/ai-clienteven thoughthey were already pulling
useChatfrom a framework package. Noruntime change.
Updated dependencies [
ec1393d,a03d12b,188fe11]:@tanstack/openai-base@0.3.5
Patch Changes
ec1393d,188fe11]:@tanstack/preact-ai-devtools@0.1.38
Patch Changes
@tanstack/react-ai-devtools@0.2.38
Patch Changes
@tanstack/solid-ai-devtools@0.2.38
Patch Changes