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_approvaland complete via Mastra's approveToolCall / declineToolCall. - Malformed tool approval answers now fail the run with a
RUN_ERRORcodedMASTRA_INVALID_TOOL_APPROVAL, leaving the approval pending. - Failed runs now end with exactly one
RUN_ERRORevent before completing the Observable; cancellation settles withoutRUN_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.resumenow takes precedence over the deprecatedforwardedProps.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/schemasand follow the 1.0 part renames. - CopilotKit peer dependency is now optional.
Breaking changes
- Tool approval resume now approves only on
trueor{ approved: true }and declines only on cancelled, legacyfalse, or{ approved: false }; any other answer fails the run. - Failed runs now emit a terminal
RUN_ERRORevent where previously none was emitted; consumers relying on the prior behavior should re-verify. RunAgentInput.resumenow overridesforwardedProps.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.