github ag-ui-protocol/ag-ui release/2026-09-30
Release 2026-09-30

4 hours ago

Packages Published

TypeScript (npm) - published at 10:07:51 UTC

Package Version Install
@ag-ui/mastra 1.1.5 npm install @ag-ui/mastra@1.1.5
@ag-ui/a2ui-middleware 0.0.11 npm install @ag-ui/a2ui-middleware@0.0.11

@ag-ui/mastra@1.1.5

  • Native tool approvals (requireApproval / requireToolApproval) now surface as interrupts with reason mastra:tool_approval and complete via Mastra's approveToolCall / declineToolCall.
  • Malformed tool approval answers now fail the run with a RUN_ERROR coded MASTRA_INVALID_TOOL_APPROVAL, leaving the approval pending.
  • Failed runs now end with exactly one RUN_ERROR event before completing the Observable; cancellation settles without RUN_ERROR.
  • Resumed tool calls stay under the message that owns them, and resumed text gets a new continuation id instead of appending to an old message.
  • Resume is decided by the entry's status, not the payload; a resolved entry with no payload resumes rather than declines.
  • RunAgentInput.resume now takes precedence over the deprecated forwardedProps.command.
  • Original attachment filenames and image MIME types are preserved in native memory.
  • Per-run remote handles are reused instead of rebuilt, fixing 404s when configured agentId differs from the backend agent.
  • Public agentId aliases are retained across clone() and runtime aliases; empty configured agentId is treated as unset.
  • Adapter validators come from @ag-ui/core/schemas and follow the 1.0 part renames.
  • CopilotKit peer dependency is now optional.
Breaking changes
  • Tool approval resume now approves only on true or { approved: true } and declines only on cancelled, legacy false, or { approved: false }; any other answer fails the run.
  • Failed runs now emit a terminal RUN_ERROR event where previously none was emitted; consumers relying on the prior behavior should re-verify.
  • RunAgentInput.resume now overrides forwardedProps.command; verify resume handling.
  • Resume behavior is now driven by entry status rather than payload value; re-verify resume/decline flows.
  • Adapters follow 1.0 model part renames and flatten/drop parts per provider; re-verify content handling.

@ag-ui/a2ui-middleware@0.0.11

  • Fixed parallel tool surfaces to stay associated with their own calls.
  • Action tool IDs now fit within provider length limits.
  • Bounded derived action identifier lengths.
  • Preserved action identities when retrying a run.
  • Documented the parallel call limitation.
Breaking changes
  • Built on @ag-ui/core 1.0 generated types; 0.x names are now deprecated aliases (see DEPRECATIONS.md).
  • Re-verify integration with the new post-middleware enforcement pipeline and protobuf wire.

Don't miss a new ag-ui release

NewReleases is sending notifications on new releases.