Skip to content

ci: Version Packages#475

Merged
AlemTuzlak merged 1 commit intomainfrom
changeset-release/main
Apr 20, 2026
Merged

ci: Version Packages#475
AlemTuzlak merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 20, 2026

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/[email protected]

Minor Changes

  • AG-UI core interop — spec-compliant event types. StreamChunk now re-uses @ag-ui/core's EventType enum and event shapes directly. Practical changes: (#474)
    • RunErrorEvent is flat ({ message, code } at the top level) instead of nested under error: {...}.
    • TOOL_CALL_START / TOOL_CALL_END events expose toolCallName (the deprecated toolName alias is retained as a passthrough for now).
    • Adapters now emit REASONING_* events (REASONING_START, REASONING_MESSAGE_START, REASONING_MESSAGE_CONTENT, REASONING_MESSAGE_END, REASONING_END) alongside the legacy STEP_* events; consumers rendering thinking content should migrate to the REASONING_* channel.
    • TOOL_CALL_RESULT events are emitted after tool execution in the agent loop.
    • New stripToSpecMiddleware (always injected last) removes non-spec fields (model, content, args, finishReason, usage, toolName, stepId, …) from events before they reach consumers. Internal state management sees the full un-stripped chunks.
    • ChatOptions gained optional threadId and runId for AG-UI run correlation; they flow through to RUN_STARTED / RUN_FINISHED.
    • StateDeltaEvent.delta is now a JSON Patch any[] per the AG-UI spec.

Patch Changes

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

  • Thread @tanstack/ai's AG-UI-compliant event shapes through the headless chat client: handle flat RUN_ERROR payloads, consume REASONING_* events, and warn when receiving the deprecated [DONE] sentinel. (#474)

  • fix(ai-client): add @standard-schema/spec to devDependencies so the type references @tanstack/ai forwards through InferToolInput / InferToolOutput resolve at build time. Types-only dep with no runtime cost; prevents tool-definition input/output inference from silently collapsing to unknown for consumers of useChat / ChatClient. (#428)

  • Updated dependencies [12d43e5, 12d43e5]:

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

  • Update the devtools middleware to match @tanstack/ai's AG-UI-compliant event shapes so emitted instrumentation remains accurate after the strip-to-spec pass. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5, 12d43e5, 1d6f3be]:

@tanstack/[email protected]

Patch Changes

  • Align stream output with @tanstack/ai's AG-UI-compliant event shapes: emit REASONING_* events alongside STEP_*, thread threadId/runId through RUN_STARTED/RUN_FINISHED, and return flat RunErrorEvent shape. Cast raw events through an internal asChunk helper so they line up with the re-exported @ag-ui/core EventType enum. No changes to adapter factory signatures or config shapes. (#474)

  • Updated dependencies [12d43e5]:

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@github-actions github-actions Bot force-pushed the changeset-release/main branch from c155ac0 to b291801 Compare April 20, 2026 12:48
@github-actions github-actions Bot force-pushed the changeset-release/main branch from b291801 to 7867291 Compare April 20, 2026 13:04
@AlemTuzlak AlemTuzlak merged commit 4214392 into main Apr 20, 2026
@AlemTuzlak AlemTuzlak deleted the changeset-release/main branch April 20, 2026 14:26
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.

1 participant