@mastra/playground-ui 0.0.0-bundle-recursion-20251030002519 → 0.0.0-bundle-version-20260121091645
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2021 -5
- package/dist/index.cjs.js +13070 -9728
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +94 -54
- package/dist/index.es.js +13108 -9843
- package/dist/index.es.js.map +1 -1
- package/dist/spacings-Ddc7umGk.js +196 -0
- package/dist/spacings-Ddc7umGk.js.map +1 -0
- package/dist/spacings-bCnRJAUT.cjs +206 -0
- package/dist/spacings-bCnRJAUT.cjs.map +1 -0
- package/dist/src/domains/agents/components/agent-chat.d.ts +2 -1
- package/dist/src/domains/agents/components/agent-combobox.d.ts +10 -0
- package/dist/src/domains/agents/components/agent-entity-header.d.ts +1 -3
- package/dist/src/domains/agents/components/agent-information/agent-information.d.ts +25 -0
- package/dist/src/domains/agents/components/agent-layout.d.ts +7 -0
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata-model-list.d.ts +2 -3
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata-model-switcher.d.ts +4 -2
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata.d.ts +13 -11
- package/dist/src/domains/agents/components/agent-settings.d.ts +2 -4
- package/dist/src/domains/agents/components/{runtime-context.d.ts → request-context.d.ts} +2 -2
- package/dist/src/domains/agents/context/agent-prompt-experiment-context.d.ts +1 -1
- package/dist/src/domains/agents/context/index.d.ts +0 -1
- package/dist/src/domains/agents/context/model-reset-context.d.ts +0 -4
- package/dist/src/domains/agents/hooks/__tests__/use-agent-settings-state.test.d.ts +1 -0
- package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +1 -0
- package/dist/src/domains/agents/hooks/use-agents-model-providers.d.ts +1 -1
- package/dist/src/domains/agents/hooks/use-agents.d.ts +3 -1
- package/dist/src/domains/agents/hooks/use-execute-agent-tool.d.ts +1 -1
- package/dist/src/domains/agents/hooks/use-sampling-restriction.d.ts +15 -0
- package/dist/src/domains/agents/index.d.ts +5 -1
- package/dist/src/domains/agents/utils/model-restrictions.d.ts +6 -0
- package/dist/src/domains/configuration/components/header-list-form.d.ts +10 -0
- package/dist/src/domains/configuration/components/mastra-version-footer.d.ts +17 -0
- package/dist/src/domains/configuration/components/playground-config-guard.d.ts +1 -0
- package/dist/src/domains/configuration/components/studio-config-form.d.ts +5 -0
- package/dist/src/domains/configuration/context/studio-config-context.d.ts +12 -0
- package/dist/src/domains/configuration/hooks/use-mastra-instance-status.d.ts +4 -0
- package/dist/src/domains/configuration/hooks/use-mastra-packages.d.ts +1 -0
- package/dist/src/domains/configuration/hooks/use-package-updates.d.ts +18 -0
- package/dist/src/domains/configuration/index.d.ts +7 -0
- package/dist/src/domains/configuration/types.d.ts +4 -0
- package/dist/src/domains/mcps/components/mcp-server-combobox.d.ts +10 -0
- package/dist/src/domains/mcps/index.d.ts +1 -0
- package/dist/src/domains/memory/hooks/use-memory.d.ts +8 -5
- package/dist/src/domains/observability/components/helpers.d.ts +14 -8
- package/dist/src/domains/observability/components/index.d.ts +1 -1
- package/dist/src/domains/observability/components/shared.d.ts +2 -5
- package/dist/src/domains/observability/components/span-details.d.ts +2 -2
- package/dist/src/domains/observability/components/span-dialog.d.ts +10 -7
- package/dist/src/domains/observability/components/span-score-list.d.ts +2 -2
- package/dist/src/domains/observability/components/span-scoring.d.ts +5 -1
- package/dist/src/domains/observability/components/span-tabs.d.ts +9 -6
- package/dist/src/domains/observability/components/span-type-icon.d.ts +6 -0
- package/dist/src/domains/observability/components/timeline-expand-col.d.ts +13 -0
- package/dist/src/domains/observability/components/timeline-name-col.d.ts +16 -0
- package/dist/src/domains/observability/components/timeline-structure-sign.d.ts +7 -0
- package/dist/src/domains/observability/components/timeline-timing-col.d.ts +12 -0
- package/dist/src/domains/observability/components/trace-dialog.d.ts +7 -4
- package/dist/src/domains/observability/components/trace-span-usage.d.ts +6 -3
- package/dist/src/domains/observability/components/trace-timeline-span.d.ts +6 -1
- package/dist/src/domains/observability/components/trace-timeline-tools.d.ts +12 -0
- package/dist/src/domains/observability/components/trace-timeline.d.ts +5 -1
- package/dist/src/domains/observability/components/traces-list.d.ts +3 -3
- package/dist/src/domains/observability/components/traces-tools.d.ts +10 -1
- package/dist/src/domains/observability/components/tracing-run-options.d.ts +1 -0
- package/dist/src/domains/observability/context/tracing-settings-context.d.ts +19 -0
- package/dist/src/domains/observability/hooks/use-tracing-settings-state.d.ts +11 -0
- package/dist/src/domains/observability/index.d.ts +1 -0
- package/dist/src/domains/observability/types.d.ts +13 -0
- package/dist/src/domains/observability/utils/__tests__/span-utils.test.d.ts +1 -0
- package/dist/src/domains/observability/utils/format-hierarchical-spans.d.ts +2 -2
- package/dist/src/domains/observability/utils/get-descendant-ids.d.ts +2 -0
- package/dist/src/domains/observability/utils/span-utils.d.ts +9 -0
- package/dist/src/domains/processors/components/index.d.ts +2 -0
- package/dist/src/domains/processors/components/processor-panel.d.ts +8 -0
- package/dist/src/domains/processors/components/processor-table/columns.d.ts +12 -0
- package/dist/src/domains/processors/components/processor-table/index.d.ts +2 -0
- package/dist/src/domains/processors/components/processor-table/processor-table.d.ts +7 -0
- package/dist/src/domains/processors/hooks/index.d.ts +1 -0
- package/dist/src/domains/processors/hooks/use-processors.d.ts +50 -0
- package/dist/src/domains/processors/index.d.ts +2 -0
- package/dist/src/domains/scores/components/score-dialog.d.ts +4 -4
- package/dist/src/domains/scores/components/scorer-combobox.d.ts +10 -0
- package/dist/src/domains/scores/hooks/use-scorers.d.ts +3 -6
- package/dist/src/domains/scores/hooks/use-trace-span-scores.d.ts +41 -1
- package/dist/src/domains/scores/index.d.ts +2 -1
- package/dist/src/domains/templates/template-form.d.ts +2 -1
- package/dist/src/domains/templates/template-info.d.ts +1 -1
- package/dist/src/domains/templates/template-success.d.ts +1 -1
- package/dist/src/domains/tools/components/ToolExecutor.d.ts +1 -1
- package/dist/src/domains/tools/components/index.d.ts +1 -0
- package/dist/src/domains/tools/components/tool-combobox.d.ts +10 -0
- package/dist/src/domains/tools/hooks/use-all-tools.d.ts +3 -1
- package/dist/src/domains/tools/hooks/use-execute-tool.d.ts +1 -1
- package/dist/src/domains/workflows/components/workflow-combobox.d.ts +10 -0
- package/dist/src/domains/workflows/components/workflow-information.d.ts +1 -1
- package/dist/src/domains/workflows/components/workflow-layout.d.ts +7 -0
- package/dist/src/domains/workflows/components/workflow-step-detail.d.ts +4 -0
- package/dist/src/domains/workflows/context/use-current-run.d.ts +17 -0
- package/dist/src/domains/workflows/context/workflow-run-context.d.ts +29 -6
- package/dist/src/domains/workflows/context/workflow-step-detail-context.d.ts +34 -0
- package/dist/src/domains/workflows/hooks/use-workflows-actions.d.ts +16 -20
- package/dist/src/domains/workflows/hooks/use-workflows.d.ts +3 -1
- package/dist/src/domains/workflows/index.d.ts +3 -0
- package/dist/src/domains/workflows/workflow/utils.d.ts +0 -1
- package/dist/src/domains/workflows/workflow/workflow-code-dialog-content.d.ts +2 -1
- package/dist/src/domains/workflows/workflow/workflow-default-node.d.ts +6 -4
- package/dist/src/domains/workflows/workflow/workflow-graph-inner.d.ts +1 -3
- package/dist/src/domains/workflows/workflow/workflow-graph.d.ts +1 -3
- package/dist/src/domains/workflows/workflow/workflow-input-data.d.ts +3 -1
- package/dist/src/domains/workflows/workflow/workflow-nested-graph.d.ts +1 -3
- package/dist/src/domains/workflows/workflow/workflow-nested-node.d.ts +6 -4
- package/dist/src/domains/workflows/workflow/workflow-node-badges.d.ts +55 -0
- package/dist/src/domains/workflows/workflow/workflow-run-options.d.ts +1 -0
- package/dist/src/domains/workflows/workflow/workflow-status.d.ts +8 -1
- package/dist/src/domains/workflows/workflow/workflow-step-action-bar.d.ts +9 -6
- package/dist/src/domains/workflows/workflow/workflow-time-travel-form.d.ts +9 -0
- package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +7 -4
- package/dist/src/ds/components/Alert/Alert.d.ts +3 -2
- package/dist/src/ds/components/Alert/alert.stories.d.ts +10 -0
- package/dist/src/ds/components/AlertDialog/alert-dialog.stories.d.ts +9 -0
- package/dist/src/ds/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/ds/components/Avatar/Avatar.d.ts +6 -3
- package/dist/src/ds/components/Avatar/avatar.stories.d.ts +11 -0
- package/dist/src/ds/components/Badge/Badge.d.ts +1 -1
- package/dist/src/ds/components/Badge/badge.stories.d.ts +12 -0
- package/dist/src/ds/components/Breadcrumb/breadcrumb.stories.d.ts +10 -0
- package/dist/src/ds/components/Button/Button.d.ts +9 -3
- package/dist/src/ds/components/Button/button.stories.d.ts +15 -0
- package/dist/src/{components/ui/containers → ds/components/ButtonsGroup}/buttons-group.d.ts +1 -2
- package/dist/src/ds/components/ButtonsGroup/buttons-group.stories.d.ts +9 -0
- package/dist/src/ds/components/ButtonsGroup/index.d.ts +1 -0
- package/dist/src/ds/components/Card/Card.d.ts +26 -0
- package/dist/src/ds/components/Card/index.d.ts +2 -0
- package/dist/src/ds/components/Checkbox/checkbox.stories.d.ts +11 -0
- package/dist/src/ds/components/Checkbox/index.d.ts +1 -0
- package/dist/src/ds/components/CodeEditor/code-editor.d.ts +12 -0
- package/dist/src/ds/components/CodeEditor/code-editor.stories.d.ts +11 -0
- package/dist/src/ds/components/CodeEditor/index.d.ts +1 -0
- package/dist/src/ds/components/Collapsible/collapsible.d.ts +6 -0
- package/dist/src/ds/components/Collapsible/collapsible.stories.d.ts +9 -0
- package/dist/src/ds/components/Collapsible/index.d.ts +1 -0
- package/dist/src/ds/components/CombinedButtons/combined-buttons.d.ts +6 -0
- package/dist/src/ds/components/CombinedButtons/combined-buttons.stories.d.ts +10 -0
- package/dist/src/ds/components/CombinedButtons/index.d.ts +1 -0
- package/dist/src/ds/components/Combobox/combobox.d.ts +18 -0
- package/dist/src/ds/components/Combobox/combobox.stories.d.ts +13 -0
- package/dist/src/ds/components/Combobox/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/CopyButton}/copy-button.d.ts +3 -4
- package/dist/src/ds/components/CopyButton/copy-button.stories.d.ts +12 -0
- package/dist/src/ds/components/CopyButton/index.d.ts +1 -0
- package/dist/src/ds/components/DateTimePicker/date-time-picker.stories.d.ts +11 -0
- package/dist/src/ds/components/DateTimePicker/index.d.ts +3 -0
- package/dist/src/{components/ui/elements/date-time-picker → ds/components/DateTimePicker}/time-picker.d.ts +1 -2
- package/dist/src/{components/ui → ds/components/Dialog}/dialog.d.ts +5 -1
- package/dist/src/ds/components/Dialog/dialog.stories.d.ts +9 -0
- package/dist/src/ds/components/Dialog/index.d.ts +1 -0
- package/dist/src/ds/components/EmptyState/EmptyState.d.ts +10 -9
- package/dist/src/ds/components/EmptyState/empty-state.stories.d.ts +11 -0
- package/dist/src/ds/components/EmptyState/index.d.ts +2 -1
- package/dist/src/ds/components/Entity/entity.stories.d.ts +10 -0
- package/dist/src/{components/ui → ds/components/EntityHeader}/entity-header.d.ts +2 -2
- package/dist/src/ds/components/EntityHeader/entity-header.stories.d.ts +11 -0
- package/dist/src/ds/components/EntityHeader/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/Entry}/entry.d.ts +3 -3
- package/dist/src/ds/components/Entry/entry.stories.d.ts +11 -0
- package/dist/src/ds/components/Entry/index.d.ts +1 -0
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-entries.d.ts +2 -3
- package/dist/src/ds/components/EntryList/entry-list-entry-col.d.ts +9 -0
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-entry.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-header.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-message.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-next-page-loading.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-pagination.d.ts +1 -2
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-root.d.ts +2 -3
- package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-trim.d.ts +2 -3
- package/dist/src/ds/components/EntryList/entry-list.stories.d.ts +10 -0
- package/dist/src/ds/components/FormFields/index.d.ts +3 -0
- package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/input-field.d.ts +4 -2
- package/dist/src/ds/components/FormFields/search-field.d.ts +5 -0
- package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/select-field.d.ts +4 -3
- package/dist/src/ds/components/Header/header.stories.d.ts +10 -0
- package/dist/src/ds/components/Input/index.d.ts +1 -0
- package/dist/src/ds/components/Input/input.d.ts +18 -0
- package/dist/src/ds/components/Input/input.stories.d.ts +17 -0
- package/dist/src/ds/components/Kbd/index.d.ts +1 -0
- package/dist/src/ds/components/Kbd/kbd.d.ts +6 -0
- package/dist/src/ds/components/Kbd/kbd.stories.d.ts +11 -0
- package/dist/src/{components/ui/elements/key-value-list → ds/components/KeyValueList}/key-value-list.d.ts +2 -2
- package/dist/src/ds/components/Label/index.d.ts +1 -0
- package/dist/src/ds/components/Label/label.stories.d.ts +8 -0
- package/dist/src/ds/components/Logo/MastraLogo.d.ts +1 -1
- package/dist/src/ds/components/MainContent/index.d.ts +1 -0
- package/dist/src/ds/components/MainContent/main-content.d.ts +21 -0
- package/dist/src/ds/components/MainContent/main-content.stories.d.ts +10 -0
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-bottom.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-context.d.ts +1 -1
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-header.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-link.d.ts +2 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-list.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-section.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav-separator.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-nav.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar-root.d.ts +1 -2
- package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/main-sidebar.d.ts +1 -1
- package/dist/src/ds/components/MainSidebar/main-sidebar.stories.d.ts +9 -0
- package/dist/src/ds/components/MarkdownRenderer/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/MarkdownRenderer}/markdown-renderer.d.ts +2 -2
- package/dist/src/ds/components/MarkdownRenderer/markdown-renderer.stories.d.ts +14 -0
- package/dist/src/ds/components/Notification/notification.d.ts +10 -0
- package/dist/src/ds/components/Notification/notification.stories.d.ts +12 -0
- package/dist/src/ds/components/PageHeader/index.d.ts +1 -0
- package/dist/src/{components/ui/elements/headers → ds/components/PageHeader}/page-header.d.ts +3 -3
- package/dist/src/ds/components/PageHeader/page-header.stories.d.ts +13 -0
- package/dist/src/ds/components/Popover/index.d.ts +1 -0
- package/dist/src/ds/components/Popover/popover.stories.d.ts +12 -0
- package/dist/src/ds/components/RadioGroup/index.d.ts +1 -0
- package/dist/src/ds/components/RadioGroup/radio-group.stories.d.ts +9 -0
- package/dist/src/ds/components/ScrollArea/index.d.ts +1 -0
- package/dist/src/{components/ui → ds/components/ScrollArea}/scroll-area.d.ts +7 -3
- package/dist/src/ds/components/ScrollArea/scroll-area.stories.d.ts +10 -0
- package/dist/src/ds/components/ScrollableContainer/index.d.ts +1 -0
- package/dist/src/{components → ds/components/ScrollableContainer}/scrollable-container.d.ts +1 -1
- package/dist/src/ds/components/ScrollableContainer/scrollable-container.stories.d.ts +10 -0
- package/dist/src/ds/components/Searchbar/index.d.ts +1 -0
- package/dist/src/ds/components/Searchbar/searchbar.d.ts +12 -0
- package/dist/src/ds/components/Searchbar/searchbar.stories.d.ts +11 -0
- package/dist/src/{components/ui/elements/section → ds/components/Section}/section-header.d.ts +2 -3
- package/dist/src/{components/ui/elements/section → ds/components/Section}/section-heading.d.ts +2 -3
- package/dist/src/ds/components/Section/section.stories.d.ts +9 -0
- package/dist/src/ds/components/Sections/index.d.ts +1 -0
- package/dist/src/{components/ui/containers → ds/components/Sections}/sections.d.ts +1 -2
- package/dist/src/ds/components/Sections/sections.stories.d.ts +8 -0
- package/dist/src/{components/ui → ds/components/Select}/select.d.ts +7 -1
- package/dist/src/ds/components/Select/select.stories.d.ts +11 -0
- package/dist/src/ds/components/SelectElement/index.d.ts +1 -0
- package/dist/src/ds/components/SelectElement/select-element.stories.d.ts +10 -0
- package/dist/src/ds/components/SelectElement/select.d.ts +8 -0
- package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-code-section.d.ts +0 -1
- package/dist/src/ds/components/SideDialog/side-dialog-top.d.ts +5 -0
- package/dist/src/ds/components/SideDialog/side-dialog.stories.d.ts +10 -0
- package/dist/src/ds/components/Skeleton/index.d.ts +1 -0
- package/dist/src/ds/components/Skeleton/skeleton.stories.d.ts +11 -0
- package/dist/src/ds/components/Slider/index.d.ts +1 -0
- package/dist/src/ds/components/Slider/slider.stories.d.ts +11 -0
- package/dist/src/ds/components/Spinner/index.d.ts +1 -0
- package/dist/src/ds/components/Spinner/spinner.d.ts +7 -0
- package/dist/src/ds/components/Spinner/spinner.stories.d.ts +13 -0
- package/dist/src/ds/components/StatusBadge/StatusBadge.d.ts +13 -0
- package/dist/src/ds/components/StatusBadge/index.d.ts +2 -0
- package/dist/src/{components/ui/elements/steps → ds/components/Steps}/process-step-list-item.d.ts +1 -2
- package/dist/src/{components/ui/elements/steps → ds/components/Steps}/process-step-list.d.ts +1 -2
- package/dist/src/ds/components/Steps/process-step-progress-bar.d.ts +5 -0
- package/dist/src/ds/components/Steps/steps.stories.d.ts +11 -0
- package/dist/src/ds/components/Switch/index.d.ts +1 -0
- package/dist/src/ds/components/Switch/switch.stories.d.ts +12 -0
- package/dist/src/ds/components/Table/Cells.d.ts +0 -3
- package/dist/src/ds/components/Table/table.stories.d.ts +11 -0
- package/dist/src/ds/components/Tabs/index.d.ts +4 -0
- package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/tabs-content.d.ts +1 -2
- package/dist/src/{components/ui/elements/tabs → ds/components/Tabs}/tabs-list.d.ts +1 -2
- package/dist/src/ds/components/Tabs/tabs-root.d.ts +8 -0
- package/dist/src/ds/components/Tabs/tabs-tab.d.ts +8 -0
- package/dist/src/ds/components/Tabs/tabs.stories.d.ts +10 -0
- package/dist/src/{components/ui/elements/text → ds/components/Text}/text-and-icon.d.ts +1 -2
- package/dist/src/ds/components/Text/text.stories.d.ts +11 -0
- package/dist/src/ds/components/Threads/index.d.ts +1 -0
- package/dist/src/{components → ds/components/Threads}/threads.d.ts +1 -1
- package/dist/src/ds/components/Threads/threads.stories.d.ts +12 -0
- package/dist/src/ds/components/Tooltip/index.d.ts +1 -0
- package/dist/src/ds/components/Tooltip/tooltip.stories.d.ts +12 -0
- package/dist/src/ds/components/Txt/txt.stories.d.ts +16 -0
- package/dist/src/ds/icons/ProcessorIcon.d.ts +2 -0
- package/dist/src/ds/icons/icons.stories.d.ts +14 -0
- package/dist/src/ds/icons/index.d.ts +1 -2
- package/dist/src/ds/primitives/form-element.d.ts +10 -0
- package/dist/src/ds/primitives/transitions.d.ts +22 -0
- package/dist/src/ds/tokens/animations.d.ts +5 -0
- package/dist/src/ds/tokens/borders.d.ts +0 -3
- package/dist/src/ds/tokens/colors.d.ts +8 -9
- package/dist/src/ds/tokens/fonts.d.ts +14 -8
- package/dist/src/ds/tokens/index.d.ts +2 -0
- package/dist/src/ds/tokens/shadows.d.ts +14 -0
- package/dist/src/ds/tokens/sizes.d.ts +7 -3
- package/dist/src/ds/tokens/spacings.d.ts +36 -3
- package/dist/src/hooks/use-agent-messages.d.ts +4 -3
- package/dist/src/hooks/use-workflow-runs.d.ts +223 -1
- package/dist/src/index.d.ts +53 -22
- package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/attachment.d.ts +0 -1
- package/dist/src/lib/ai-ui/messages/tripwire-notice.d.ts +6 -0
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/agent-badge-wrapper.d.ts +3 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/agent-badge.d.ts +3 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/tool-approval-buttons.d.ts +5 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/tool-badge.d.ts +3 -1
- package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/workflow-badge.d.ts +3 -1
- package/dist/src/lib/ai-ui/tooltip-icon-button.d.ts +9 -0
- package/dist/src/{components/ui/autoform/AutoForm.d.ts → lib/form/auto-form.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/ArrayElementWrapper.d.ts → lib/form/components/array-element-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/ArrayWrapper.d.ts → lib/form/components/array-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/BooleanField.d.ts → lib/form/components/boolean-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/CustomArrayField.d.ts → lib/form/components/custom-array-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/CustomAutoFormField.d.ts → lib/form/components/custom-auto-form-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/CustomObjectField.d.ts → lib/form/components/custom-object-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/DateField.d.ts → lib/form/components/date-field.d.ts} +1 -1
- package/dist/src/lib/form/components/error-message.d.ts +4 -0
- package/dist/src/{components/ui/autoform/components/FieldWrapper.d.ts → lib/form/components/field-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/Form.d.ts → lib/form/components/form.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/NumberField.d.ts → lib/form/components/number-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/ObjectWrapper.d.ts → lib/form/components/object-wrapper.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/SelectField.d.ts → lib/form/components/select-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/StringField.d.ts → lib/form/components/string-field.d.ts} +1 -1
- package/dist/src/{components/ui/autoform/components/SubmitButton.d.ts → lib/form/components/submit-button.d.ts} +1 -1
- package/dist/src/lib/form/custom-auto-form.d.ts +2 -0
- package/dist/src/{components/dynamic-form/index.d.ts → lib/form/dynamic-form.d.ts} +2 -1
- package/dist/src/lib/form/index.d.ts +4 -0
- package/dist/src/{components/dynamic-form → lib/form}/utils.d.ts +4 -1
- package/dist/src/lib/framework.d.ts +2 -0
- package/dist/src/lib/mastra-platform/hooks/use-mastra-platform.d.ts +12 -0
- package/dist/src/lib/mastra-platform/index.d.ts +1 -0
- package/dist/src/lib/object.d.ts +0 -44
- package/dist/src/lib/resize/collapsible-panel.d.ts +5 -0
- package/dist/src/lib/resize/separator.d.ts +1 -0
- package/dist/src/lib/string.d.ts +0 -1
- package/dist/src/lib/tanstack-query.d.ts +5 -2
- package/dist/src/lib/tw-merge-config.d.ts +1 -0
- package/dist/src/services/mastra-runtime-provider.d.ts +1 -1
- package/dist/src/services/tool-call-provider.d.ts +19 -1
- package/dist/src/store/playground-store.d.ts +2 -2
- package/dist/src/types.d.ts +4 -3
- package/dist/tailwind.preset.cjs.js +187 -0
- package/dist/tailwind.preset.cjs.js.map +1 -0
- package/dist/tailwind.preset.d.ts +1 -0
- package/dist/tailwind.preset.es.js +185 -0
- package/dist/tailwind.preset.es.js.map +1 -0
- package/dist/tokens.cjs.js +17 -58
- package/dist/tokens.cjs.js.map +1 -1
- package/dist/tokens.es.js +8 -50
- package/dist/tokens.es.js.map +1 -1
- package/package.json +50 -39
- package/dist/colors-B_l6leHd.cjs +0 -42
- package/dist/colors-B_l6leHd.cjs.map +0 -1
- package/dist/colors-Br49332d.js +0 -38
- package/dist/colors-Br49332d.js.map +0 -1
- package/dist/src/components/assistant-ui/syntax-highlighter.d.ts +0 -1
- package/dist/src/components/assistant-ui/thread-list.d.ts +0 -2
- package/dist/src/components/assistant-ui/tools/tool-approval.d.ts +0 -8
- package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +0 -14
- package/dist/src/components/icons/agent-icon.d.ts +0 -3
- package/dist/src/components/icons/automation-icon.d.ts +0 -3
- package/dist/src/components/syntax-highlighter.d.ts +0 -4
- package/dist/src/components/ui/alert.d.ts +0 -8
- package/dist/src/components/ui/autoform/components/ErrorMessage.d.ts +0 -4
- package/dist/src/components/ui/autoform/index.d.ts +0 -3
- package/dist/src/components/ui/autoform/utils.d.ts +0 -3
- package/dist/src/components/ui/avatar.d.ts +0 -6
- package/dist/src/components/ui/badge.d.ts +0 -9
- package/dist/src/components/ui/button.d.ts +0 -16
- package/dist/src/components/ui/calendar.d.ts +0 -8
- package/dist/src/components/ui/card.d.ts +0 -8
- package/dist/src/components/ui/code-block.d.ts +0 -7
- package/dist/src/components/ui/code-mirror-block.d.ts +0 -2
- package/dist/src/components/ui/collapsible.d.ts +0 -5
- package/dist/src/components/ui/command.d.ts +0 -78
- package/dist/src/components/ui/containers/MainContent.d.ts +0 -13
- package/dist/src/components/ui/containers/index.d.ts +0 -3
- package/dist/src/components/ui/copyable-content.d.ts +0 -7
- package/dist/src/components/ui/date-picker.d.ts +0 -23
- package/dist/src/components/ui/dropdown-menu.d.ts +0 -42
- package/dist/src/components/ui/elements/buttons/button.d.ts +0 -7
- package/dist/src/components/ui/elements/buttons/index.d.ts +0 -1
- package/dist/src/components/ui/elements/date-time-picker/index.d.ts +0 -1
- package/dist/src/components/ui/elements/entry-list/entry-list-entry-col.d.ts +0 -7
- package/dist/src/components/ui/elements/entry-list/entry-list-toolbar.d.ts +0 -6
- package/dist/src/components/ui/elements/form-fields/form-actions.d.ts +0 -12
- package/dist/src/components/ui/elements/form-fields/index.d.ts +0 -7
- package/dist/src/components/ui/elements/form-fields/radio-group-field.d.ts +0 -21
- package/dist/src/components/ui/elements/form-fields/search-field.d.ts +0 -2
- package/dist/src/components/ui/elements/form-fields/slider-field.d.ts +0 -15
- package/dist/src/components/ui/elements/form-fields/textarea-field.d.ts +0 -11
- package/dist/src/components/ui/elements/headers/entity-main-header.d.ts +0 -11
- package/dist/src/components/ui/elements/headers/index.d.ts +0 -2
- package/dist/src/components/ui/elements/index.d.ts +0 -10
- package/dist/src/components/ui/elements/notification/notification.d.ts +0 -9
- package/dist/src/components/ui/elements/select/select.d.ts +0 -10
- package/dist/src/components/ui/elements/side-dialog/side-dialog-footer.d.ts +0 -10
- package/dist/src/components/ui/elements/side-dialog/side-dialog-top.d.ts +0 -6
- package/dist/src/components/ui/elements/steps/process-step-progress-bar.d.ts +0 -4
- package/dist/src/components/ui/elements/tabs/index.d.ts +0 -1
- package/dist/src/components/ui/elements/tabs/tabs-root.d.ts +0 -9
- package/dist/src/components/ui/elements/tabs/tabs-tab.d.ts +0 -8
- package/dist/src/components/ui/elements/tabs/tabs.d.ts +0 -24
- package/dist/src/components/ui/form.d.ts +0 -23
- package/dist/src/components/ui/formatted-date.d.ts +0 -3
- package/dist/src/components/ui/input.d.ts +0 -11
- package/dist/src/components/ui/kbd.d.ts +0 -5
- package/dist/src/components/ui/playground-tabs.d.ts +0 -24
- package/dist/src/components/ui/resizable.d.ts +0 -23
- package/dist/src/components/ui/score-indicator.d.ts +0 -3
- package/dist/src/components/ui/searchbar.d.ts +0 -9
- package/dist/src/components/ui/spinner.d.ts +0 -5
- package/dist/src/components/ui/syntax-highlighter.d.ts +0 -7
- package/dist/src/components/ui/table.d.ts +0 -10
- package/dist/src/components/ui/tabs.d.ts +0 -7
- package/dist/src/components/ui/text.d.ts +0 -12
- package/dist/src/components/ui/textarea.d.ts +0 -5
- package/dist/src/components/ui/toggle.d.ts +0 -12
- package/dist/src/domains/agents/components/agent-metadata/connection-dot.d.ts +0 -6
- package/dist/src/domains/agents/components/agent-metadata/models.d.ts +0 -5
- package/dist/src/domains/agents/components/agent-metadata/provider-status-indicator.d.ts +0 -7
- package/dist/src/domains/observability/components/trace-timeline-legend.d.ts +0 -6
- package/dist/src/domains/resizable-panel.d.ts +0 -11
- package/dist/src/domains/scores/components/score-table.d.ts +0 -11
- package/dist/src/domains/tools/components/tool-table/types.d.ts +0 -2
- package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +0 -16
- package/dist/src/domains/workflows/workflow/workflow-result.d.ts +0 -5
- package/dist/src/domains/workflows/workflow/workflow-run-event-form.d.ts +0 -12
- package/dist/src/ds/components/TraceTree/Span.d.ts +0 -34
- package/dist/src/ds/components/TraceTree/Spans.d.ts +0 -5
- package/dist/src/ds/components/TraceTree/Time.d.ts +0 -8
- package/dist/src/ds/components/TraceTree/Trace.d.ts +0 -13
- package/dist/src/ds/components/TraceTree/TraceTree.d.ts +0 -5
- package/dist/src/ds/components/TraceTree/index.d.ts +0 -1
- package/dist/src/ds/components/types.d.ts +0 -4
- package/dist/src/ds/icons/EvaluatorCoinIcon.d.ts +0 -2
- package/dist/src/ds/icons/ScoreIcon.d.ts +0 -2
- package/dist/src/hooks/use-resize-column.d.ts +0 -12
- package/dist/src/lib/mastra-client.d.ts +0 -2
- package/dist/src/lib/pagination/types.d.ts +0 -11
- package/dist/src/lib/polls.d.ts +0 -36
- /package/dist/src/{components/ui → ds/components/AlertDialog}/alert-dialog.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Checkbox}/checkbox.d.ts +0 -0
- /package/dist/src/{components/ui/elements/date-time-picker → ds/components/DateTimePicker}/date-picker.d.ts +0 -0
- /package/dist/src/{components/ui/elements/date-time-picker → ds/components/DateTimePicker}/date-time-picker.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-entries-skeleton.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list-skeleton.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/entry-list.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/helpers.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/shared.d.ts +0 -0
- /package/dist/src/{components/ui/elements/entry-list → ds/components/EntryList}/types.d.ts +0 -0
- /package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/input-field.stories.d.ts +0 -0
- /package/dist/src/{components/ui/elements/form-fields → ds/components/FormFields}/select-field.stories.d.ts +0 -0
- /package/dist/src/{components/ui/elements/key-value-list → ds/components/KeyValueList}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/key-value-list → ds/components/KeyValueList}/key-value-list.stories.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Label}/label.d.ts +0 -0
- /package/dist/src/{components/ui/elements/main-sidebar → ds/components/MainSidebar}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/notification → ds/components/Notification}/index.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Popover}/popover.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/RadioGroup}/radio-group.d.ts +0 -0
- /package/dist/src/{components/ui/elements/section → ds/components/Section}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/section → ds/components/Section}/section-root.d.ts +0 -0
- /package/dist/src/{components/ui/elements/section → ds/components/Section}/section.d.ts +0 -0
- /package/dist/src/{components/ui/elements/select → ds/components/Select}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-content.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-header.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-heading.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-nav.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog-root.d.ts +0 -0
- /package/dist/src/{components/ui/elements/side-dialog → ds/components/SideDialog}/side-dialog.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Skeleton}/skeleton.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Slider}/slider.d.ts +0 -0
- /package/dist/src/{components/ui/elements/steps → ds/components/Steps}/index.d.ts +0 -0
- /package/dist/src/{components/ui/elements/steps → ds/components/Steps}/shared.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Switch}/switch.d.ts +0 -0
- /package/dist/src/{components/ui/elements/text → ds/components/Text}/formatters/get-short-id.d.ts +0 -0
- /package/dist/src/{components/ui/elements/text → ds/components/Text}/index.d.ts +0 -0
- /package/dist/src/{components/ui → ds/components/Tooltip}/tooltip.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/attach-file-dialog.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/attachment-preview-dialog.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/pdfs-adapter.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/attachments/voice-adapter.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-adapters.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-attachment-src.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-composer-add-attachment.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-file-src.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-has-attachments.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/hooks/use-load-browser-file.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/memory-search.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/assistant-message.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/error-aware-text.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/markdown-text.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/reasoning.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/messages/user-messages.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/thread.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/badge-wrapper.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/loading-badge.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/badges/network-choice-metadata-dialog.d.ts +0 -0
- /package/dist/src/{components/assistant-ui → lib/ai-ui}/tools/tool-fallback.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/components/DiscriminatedUnionField.d.ts → lib/form/components/discriminated-union-field.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform/components/RecordField.d.ts → lib/form/components/record-field.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform/components/UnionField.d.ts → lib/form/components/union-field.d.ts} +0 -0
- /package/dist/src/{components/ui/autoform → lib/form}/types.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/zodProvider → lib/form/zod-provider}/default-values.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/zodProvider → lib/form/zod-provider}/field-type-inference.d.ts +0 -0
- /package/dist/src/{components/ui/autoform/zodProvider → lib/form/zod-provider}/index.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,1986 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
-
## 0.0.0-bundle-
|
|
3
|
+
## 0.0.0-bundle-version-20260121091645
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1cf5d2e`](https://github.com/mastra-ai/mastra/commit/1cf5d2ea1b085be23e34fb506c80c80a4e6d9c2b)]:
|
|
8
|
+
- @mastra/core@0.0.0-bundle-version-20260121091645
|
|
9
|
+
- @mastra/ai-sdk@0.0.0-bundle-version-20260121091645
|
|
10
|
+
- @mastra/client-js@0.0.0-bundle-version-20260121091645
|
|
11
|
+
- @mastra/react@0.0.0-bundle-version-20260121091645
|
|
12
|
+
|
|
13
|
+
## 7.0.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`4dc9a51`](https://github.com/mastra-ai/mastra/commit/4dc9a51be626fd9ed51da3ad7e78dedeaabade88)]:
|
|
18
|
+
- @mastra/ai-sdk@1.0.2
|
|
19
|
+
- @mastra/core@1.0.4
|
|
20
|
+
- @mastra/client-js@1.0.1
|
|
21
|
+
- @mastra/react@0.1.1
|
|
22
|
+
|
|
23
|
+
## 7.0.1-alpha.0
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [[`4dc9a51`](https://github.com/mastra-ai/mastra/commit/4dc9a51be626fd9ed51da3ad7e78dedeaabade88)]:
|
|
28
|
+
- @mastra/ai-sdk@1.0.2-alpha.0
|
|
29
|
+
- @mastra/core@1.0.4-alpha.0
|
|
30
|
+
- @mastra/client-js@1.0.1-alpha.0
|
|
31
|
+
- @mastra/react@0.1.1-alpha.0
|
|
32
|
+
|
|
33
|
+
## 7.0.0
|
|
34
|
+
|
|
35
|
+
### Major Changes
|
|
36
|
+
|
|
37
|
+
- **Removed `storage.getMessages()`** ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
|
|
38
|
+
|
|
39
|
+
The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
|
|
40
|
+
|
|
41
|
+
**Migration:**
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
// Before
|
|
45
|
+
const messages = await storage.getMessages({ threadId: 'thread-1' });
|
|
46
|
+
|
|
47
|
+
// After
|
|
48
|
+
const result = await storage.listMessages({
|
|
49
|
+
threadId: 'thread-1',
|
|
50
|
+
page: 0,
|
|
51
|
+
perPage: 50,
|
|
52
|
+
});
|
|
53
|
+
const messages = result.messages; // Access messages array
|
|
54
|
+
console.log(result.total); // Total count
|
|
55
|
+
console.log(result.hasMore); // Whether more pages exist
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**Message ordering default**
|
|
59
|
+
|
|
60
|
+
`listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
|
|
61
|
+
|
|
62
|
+
**To use DESC ordering (newest first):**
|
|
63
|
+
|
|
64
|
+
```typescript
|
|
65
|
+
const result = await storage.listMessages({
|
|
66
|
+
threadId: 'thread-1',
|
|
67
|
+
orderBy: { field: 'createdAt', direction: 'DESC' },
|
|
68
|
+
});
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Renamed `client.getThreadMessages()` → `client.listThreadMessages()`**
|
|
72
|
+
|
|
73
|
+
**Migration:**
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
// Before
|
|
77
|
+
const response = await client.getThreadMessages(threadId, { agentId });
|
|
78
|
+
|
|
79
|
+
// After
|
|
80
|
+
const response = await client.listThreadMessages(threadId, { agentId });
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
The response format remains the same.
|
|
84
|
+
|
|
85
|
+
**Removed `StorageGetMessagesArg` type**
|
|
86
|
+
|
|
87
|
+
Use `StorageListMessagesInput` instead:
|
|
88
|
+
|
|
89
|
+
```typescript
|
|
90
|
+
// Before
|
|
91
|
+
import type { StorageGetMessagesArg } from '@mastra/core';
|
|
92
|
+
|
|
93
|
+
// After
|
|
94
|
+
import type { StorageListMessagesInput } from '@mastra/core';
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
98
|
+
|
|
99
|
+
- Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
|
|
100
|
+
|
|
101
|
+
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
102
|
+
|
|
103
|
+
- Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
|
|
104
|
+
|
|
105
|
+
- **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
|
|
106
|
+
|
|
107
|
+
This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
|
|
108
|
+
|
|
109
|
+
**What's Changed**
|
|
110
|
+
- Removed legacy v1 watch event handlers and types
|
|
111
|
+
- Renamed `watch-v2` to `watch` throughout the codebase
|
|
112
|
+
- Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
|
|
113
|
+
- Removed `/watch` HTTP endpoints from server and deployer
|
|
114
|
+
- Removed `WorkflowWatchResult` and v1 `WatchEvent` types
|
|
115
|
+
|
|
116
|
+
- Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
|
|
117
|
+
|
|
118
|
+
All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
|
|
119
|
+
|
|
120
|
+
**Affected APIs:**
|
|
121
|
+
- `Memory.listThreadsByResourceId()`
|
|
122
|
+
- `Memory.listMessages()`
|
|
123
|
+
- `Storage.listWorkflowRuns()`
|
|
124
|
+
|
|
125
|
+
**Migration:**
|
|
126
|
+
|
|
127
|
+
```typescript
|
|
128
|
+
// Before
|
|
129
|
+
await memory.listThreadsByResourceId({
|
|
130
|
+
resourceId: 'user-123',
|
|
131
|
+
offset: 20,
|
|
132
|
+
limit: 10,
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
// After
|
|
136
|
+
await memory.listThreadsByResourceId({
|
|
137
|
+
resourceId: 'user-123',
|
|
138
|
+
page: 2, // page = Math.floor(offset / limit)
|
|
139
|
+
perPage: 10,
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
// Before
|
|
143
|
+
await memory.listMessages({
|
|
144
|
+
threadId: 'thread-456',
|
|
145
|
+
offset: 20,
|
|
146
|
+
limit: 10,
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
// After
|
|
150
|
+
await memory.listMessages({
|
|
151
|
+
threadId: 'thread-456',
|
|
152
|
+
page: 2,
|
|
153
|
+
perPage: 10,
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
// Before
|
|
157
|
+
await storage.listWorkflowRuns({
|
|
158
|
+
workflowName: 'my-workflow',
|
|
159
|
+
offset: 20,
|
|
160
|
+
limit: 10,
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
// After
|
|
164
|
+
await storage.listWorkflowRuns({
|
|
165
|
+
workflowName: 'my-workflow',
|
|
166
|
+
page: 2,
|
|
167
|
+
perPage: 10,
|
|
168
|
+
});
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**Additional improvements:**
|
|
172
|
+
- Added validation for negative `page` values in all storage implementations
|
|
173
|
+
- Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
|
|
174
|
+
- Added reusable query parser utilities for consistent validation in handlers
|
|
175
|
+
|
|
176
|
+
- ```ts ([#9709](https://github.com/mastra-ai/mastra/pull/9709))
|
|
177
|
+
import { Mastra } from '@mastra/core';
|
|
178
|
+
import { Observability } from '@mastra/observability'; // Explicit import
|
|
179
|
+
|
|
180
|
+
const mastra = new Mastra({
|
|
181
|
+
...other_config,
|
|
182
|
+
observability: new Observability({
|
|
183
|
+
default: { enabled: true },
|
|
184
|
+
}), // Instance
|
|
185
|
+
});
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Instead of:
|
|
189
|
+
|
|
190
|
+
```ts
|
|
191
|
+
import { Mastra } from '@mastra/core';
|
|
192
|
+
import '@mastra/observability/init'; // Explicit import
|
|
193
|
+
|
|
194
|
+
const mastra = new Mastra({
|
|
195
|
+
...other_config,
|
|
196
|
+
observability: {
|
|
197
|
+
default: { enabled: true },
|
|
198
|
+
},
|
|
199
|
+
});
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Also renamed a bunch of:
|
|
203
|
+
- `Tracing` things to `Observability` things.
|
|
204
|
+
- `AI-` things to just things.
|
|
205
|
+
|
|
206
|
+
- Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
207
|
+
|
|
208
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
209
|
+
|
|
210
|
+
- Renamed `MastraMessageV2` to `MastraDBMessage` ([#9255](https://github.com/mastra-ai/mastra/pull/9255))
|
|
211
|
+
Made the return format of all methods that return db messages consistent. It's always `{ messages: MastraDBMessage[] }` now, and messages can be converted after that using `@mastra/ai-sdk/ui`'s `toAISdkV4/5Messages()` function
|
|
212
|
+
|
|
213
|
+
- Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
|
|
214
|
+
|
|
215
|
+
### Minor Changes
|
|
216
|
+
|
|
217
|
+
- Added consistent sizing, radius, and focus effects across all form elements. ([#11970](https://github.com/mastra-ai/mastra/pull/11970))
|
|
218
|
+
|
|
219
|
+
**New size prop** for form elements with unified values:
|
|
220
|
+
- `sm` (24px)
|
|
221
|
+
- `md` (32px)
|
|
222
|
+
- `lg` (40px)
|
|
223
|
+
|
|
224
|
+
Components now share a consistent `size` prop: Button, Input, SelectTrigger, Searchbar, InputField, SelectField, and Combobox.
|
|
225
|
+
|
|
226
|
+
```tsx
|
|
227
|
+
// Before - inconsistent props
|
|
228
|
+
<Input customSize="default" />
|
|
229
|
+
<Button size="md" /> // was 24px
|
|
230
|
+
|
|
231
|
+
// After - unified size prop
|
|
232
|
+
<Input size="md" />
|
|
233
|
+
<Button size="md" /> // now 32px
|
|
234
|
+
<SelectTrigger size="lg" />
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**Breaking changes:**
|
|
238
|
+
- Input: `customSize` prop renamed to `size`
|
|
239
|
+
- Button: `size="md"` now renders at 32px (was 24px). Use `size="sm"` for 24px height.
|
|
240
|
+
|
|
241
|
+
**Other changes:**
|
|
242
|
+
- All form elements now use `rounded-md` radius
|
|
243
|
+
- All form elements now use `focus:outline focus:outline-accent1` focus effect
|
|
244
|
+
- Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
|
|
245
|
+
|
|
246
|
+
- Added platform-aware navigation filtering using `useMastraPlatform` hook. Nav links now include an `isOnMastraPlatform` property that controls visibility based on whether the app is running on Mastra Platform or locally. ([#11990](https://github.com/mastra-ai/mastra/pull/11990))
|
|
247
|
+
|
|
248
|
+
- Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
|
|
249
|
+
|
|
250
|
+
- Enhance design system components with visual polish and micro-interactions. ([#12045](https://github.com/mastra-ai/mastra/pull/12045))
|
|
251
|
+
|
|
252
|
+
Phase 2 of DS enhancement covering 40+ components:
|
|
253
|
+
- **Form Controls**: Checkbox, RadioGroup, Switch, Slider, Combobox with focus rings, hover states, and smooth transitions
|
|
254
|
+
- **Navigation**: Tabs with animated indicator, Steps with progress animation, Collapsible with icon rotation
|
|
255
|
+
- **Feedback**: Alert with entrance animation, Notification with slide animations, Skeleton with gradient shimmer
|
|
256
|
+
- **Display**: Badge with semantic variants, Avatar with interactive mode, StatusBadge enhancements
|
|
257
|
+
- **Layout**: SideDialog with backdrop blur, ScrollArea with visibility transitions
|
|
258
|
+
|
|
259
|
+
All components now use consistent design tokens (duration-normal, ease-out-custom, shadow-focus-ring) and GPU-accelerated properties for smooth 60fps animations.
|
|
260
|
+
|
|
261
|
+
- Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
262
|
+
|
|
263
|
+
- Toast error from workflow stream and resume stream ([#9431](https://github.com/mastra-ai/mastra/pull/9431))
|
|
264
|
+
Update peer dependencies to match core package version bump (0.22.3)
|
|
265
|
+
|
|
266
|
+
- Unified observability schema with entity-based span identification ([#11132](https://github.com/mastra-ai/mastra/pull/11132))
|
|
267
|
+
|
|
268
|
+
## What changed
|
|
269
|
+
|
|
270
|
+
Spans now use a unified identification model with `entityId`, `entityType`, and `entityName` instead of separate `agentId`, `toolId`, `workflowId` fields.
|
|
271
|
+
|
|
272
|
+
**Before:**
|
|
273
|
+
|
|
274
|
+
```typescript
|
|
275
|
+
// Old span structure
|
|
276
|
+
span.agentId; // 'my-agent'
|
|
277
|
+
span.toolId; // undefined
|
|
278
|
+
span.workflowId; // undefined
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
**After:**
|
|
282
|
+
|
|
283
|
+
```typescript
|
|
284
|
+
// New span structure
|
|
285
|
+
span.entityType; // EntityType.AGENT
|
|
286
|
+
span.entityId; // 'my-agent'
|
|
287
|
+
span.entityName; // 'My Agent'
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
## New `listTraces()` API
|
|
291
|
+
|
|
292
|
+
Query traces with filtering, pagination, and sorting:
|
|
293
|
+
|
|
294
|
+
```typescript
|
|
295
|
+
const { spans, pagination } = await storage.listTraces({
|
|
296
|
+
filters: {
|
|
297
|
+
entityType: EntityType.AGENT,
|
|
298
|
+
entityId: 'my-agent',
|
|
299
|
+
userId: 'user-123',
|
|
300
|
+
environment: 'production',
|
|
301
|
+
status: TraceStatus.SUCCESS,
|
|
302
|
+
startedAt: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
|
|
303
|
+
},
|
|
304
|
+
pagination: { page: 0, perPage: 50 },
|
|
305
|
+
orderBy: { field: 'startedAt', direction: 'DESC' },
|
|
306
|
+
});
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
**Available filters:** date ranges (`startedAt`, `endedAt`), entity (`entityType`, `entityId`, `entityName`), identity (`userId`, `organizationId`), correlation IDs (`runId`, `sessionId`, `threadId`), deployment (`environment`, `source`, `serviceName`), `tags`, `metadata`, and `status`.
|
|
310
|
+
|
|
311
|
+
## New retrieval methods
|
|
312
|
+
- `getSpan({ traceId, spanId })` - Get a single span
|
|
313
|
+
- `getRootSpan({ traceId })` - Get the root span of a trace
|
|
314
|
+
- `getTrace({ traceId })` - Get all spans for a trace
|
|
315
|
+
|
|
316
|
+
## Backward compatibility
|
|
317
|
+
|
|
318
|
+
The legacy `getTraces()` method continues to work. When you pass `name: "agent run: my-agent"`, it automatically transforms to `entityId: "my-agent", entityType: AGENT`.
|
|
319
|
+
|
|
320
|
+
## Migration
|
|
321
|
+
|
|
322
|
+
**Automatic:** SQL-based stores (PostgreSQL, LibSQL, MSSQL) automatically add new columns to existing `spans` tables on initialization. Existing data is preserved with new columns set to `NULL`.
|
|
323
|
+
|
|
324
|
+
**No action required:** Your existing code continues to work. Adopt the new fields and `listTraces()` API at your convenience.
|
|
325
|
+
|
|
326
|
+
- Update peer dependencies to match core package version bump (0.22.0) ([#9045](https://github.com/mastra-ai/mastra/pull/9045))
|
|
327
|
+
|
|
328
|
+
- consolidate duplicated components between ds and ui directories ([#11876](https://github.com/mastra-ai/mastra/pull/11876))
|
|
329
|
+
|
|
330
|
+
- Fix "MessagePartRuntime is not available" error when chatting with agents in Studio playground by replacing deprecated `useMessagePart` hook with `useAssistantState` ([#11039](https://github.com/mastra-ai/mastra/pull/11039))
|
|
331
|
+
|
|
332
|
+
### Patch Changes
|
|
333
|
+
|
|
334
|
+
- dependencies updates: ([#10057](https://github.com/mastra-ai/mastra/pull/10057))
|
|
335
|
+
- Updated dependency [`@uiw/codemirror-theme-github@^4.25.3` ↗︎](https://www.npmjs.com/package/@uiw/codemirror-theme-github/v/4.25.3) (from `^4.25.2`, in `dependencies`)
|
|
336
|
+
|
|
337
|
+
- dependencies updates: ([#10085](https://github.com/mastra-ai/mastra/pull/10085))
|
|
338
|
+
- Updated dependency [`@xyflow/react@^12.9.3` ↗︎](https://www.npmjs.com/package/@xyflow/react/v/12.9.3) (from `^12.8.6`, in `dependencies`)
|
|
339
|
+
|
|
340
|
+
- dependencies updates: ([#11404](https://github.com/mastra-ai/mastra/pull/11404))
|
|
341
|
+
- Updated dependency [`zustand@^5.0.9` ↗︎](https://www.npmjs.com/package/zustand/v/5.0.9) (from `^5.0.8`, in `dependencies`)
|
|
342
|
+
|
|
343
|
+
- dependencies updates: ([#11588](https://github.com/mastra-ai/mastra/pull/11588))
|
|
344
|
+
- Updated dependency [`zustand@^5.0.9` ↗︎](https://www.npmjs.com/package/zustand/v/5.0.9) (from `^5.0.8`, in `dependencies`)
|
|
345
|
+
|
|
346
|
+
- dependencies updates: ([#9800](https://github.com/mastra-ai/mastra/pull/9800))
|
|
347
|
+
- Updated dependency [`@lezer/highlight@^1.2.3` ↗︎](https://www.npmjs.com/package/@lezer/highlight/v/1.2.3) (from `^1.2.1`, in `dependencies`)
|
|
348
|
+
|
|
349
|
+
- dependencies updates: ([#9850](https://github.com/mastra-ai/mastra/pull/9850))
|
|
350
|
+
- Updated dependency [`@dagrejs/dagre@^1.1.8` ↗︎](https://www.npmjs.com/package/@dagrejs/dagre/v/1.1.8) (from `^1.1.5`, in `dependencies`)
|
|
351
|
+
|
|
352
|
+
- Add missing loading state handlers to TanStack Query hooks. Components now properly show skeleton/loading UI instead of returning null or rendering incomplete states while data is being fetched. ([#11681](https://github.com/mastra-ai/mastra/pull/11681))
|
|
353
|
+
|
|
354
|
+
- Add Storybook stories for all design system components. Includes stories for 48 components organized by category (Elements, Feedback, Navigation, DataDisplay, Layout, Composite) plus an Icons showcase displaying all 41 icons. ([#11921](https://github.com/mastra-ai/mastra/pull/11921))
|
|
355
|
+
|
|
356
|
+
- Added human-in-the-loop (HITL) tool approval support for `generate()` method. ([#12056](https://github.com/mastra-ai/mastra/pull/12056))
|
|
357
|
+
|
|
358
|
+
**Why:** This provides parity between `stream()` and `generate()` for tool approval flows, allowing non-streaming use cases to leverage `requireToolApproval` without needing to switch to streaming.
|
|
359
|
+
|
|
360
|
+
Previously, tool approval with `requireToolApproval` only worked with `stream()`. Now you can use the same approval flow with `generate()` for non-streaming use cases.
|
|
361
|
+
|
|
362
|
+
**Using tool approval with generate()**
|
|
363
|
+
|
|
364
|
+
```typescript
|
|
365
|
+
const output = await agent.generate('Find user John', {
|
|
366
|
+
requireToolApproval: true,
|
|
367
|
+
});
|
|
368
|
+
|
|
369
|
+
// Check if a tool is waiting for approval
|
|
370
|
+
if (output.finishReason === 'suspended') {
|
|
371
|
+
console.log('Tool requires approval:', output.suspendPayload.toolName);
|
|
372
|
+
|
|
373
|
+
// Approve the tool call
|
|
374
|
+
const result = await agent.approveToolCallGenerate({
|
|
375
|
+
runId: output.runId,
|
|
376
|
+
toolCallId: output.suspendPayload.toolCallId,
|
|
377
|
+
});
|
|
378
|
+
|
|
379
|
+
console.log(result.text);
|
|
380
|
+
}
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
**Declining a tool call**
|
|
384
|
+
|
|
385
|
+
```typescript
|
|
386
|
+
if (output.finishReason === 'suspended') {
|
|
387
|
+
const result = await agent.declineToolCallGenerate({
|
|
388
|
+
runId: output.runId,
|
|
389
|
+
toolCallId: output.suspendPayload.toolCallId,
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
**New methods added:**
|
|
395
|
+
- `agent.approveToolCallGenerate({ runId, toolCallId })` - Approves a pending tool call and returns the complete result
|
|
396
|
+
- `agent.declineToolCallGenerate({ runId, toolCallId })` - Declines a pending tool call and returns the complete result
|
|
397
|
+
|
|
398
|
+
**Server routes added:**
|
|
399
|
+
- `POST /api/agents/:agentId/approve-tool-call-generate`
|
|
400
|
+
- `POST /api/agents/:agentId/decline-tool-call-generate`
|
|
401
|
+
|
|
402
|
+
The playground UI now also supports tool approval when using generate mode.
|
|
403
|
+
|
|
404
|
+
- Remove `streamVNext`, `resumeStreamVNext`, and `observeStreamVNext` methods, call `stream`, `resumeStream` and `observeStream` directly ([#11499](https://github.com/mastra-ai/mastra/pull/11499))
|
|
405
|
+
|
|
406
|
+
```diff
|
|
407
|
+
+ const run = await workflow.createRun({ runId: '123' });
|
|
408
|
+
- const stream = await run.streamVNext({ inputData: { ... } });
|
|
409
|
+
+ const stream = await run.stream({ inputData: { ... } });
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
- Replace deprecated client.getTraces with a client.listTraces ([#11711](https://github.com/mastra-ai/mastra/pull/11711))
|
|
413
|
+
|
|
414
|
+
- fetch from the client-js sdk instead of local fetch ([#9376](https://github.com/mastra-ai/mastra/pull/9376))
|
|
415
|
+
|
|
416
|
+
- Add StudioConfig and associated context to manage the headers and base URL of a given Mastra instance. ([#10804](https://github.com/mastra-ai/mastra/pull/10804))
|
|
417
|
+
|
|
418
|
+
This also introduces a header form available from the side bar to edit those headers.
|
|
419
|
+
|
|
420
|
+
- Fix navigation for processors Studio tab ([#12062](https://github.com/mastra-ai/mastra/pull/12062))
|
|
421
|
+
|
|
422
|
+
- Fix select options overflow when list is long by adding maximum height ([#10813](https://github.com/mastra-ai/mastra/pull/10813))
|
|
423
|
+
|
|
424
|
+
- Change searchbar to search on input with debounce instead of on Enter key press ([#11138](https://github.com/mastra-ai/mastra/pull/11138))
|
|
425
|
+
|
|
426
|
+
- Dedupe Avatar component by removing UI avatar and using DS Avatar with size variants ([#11637](https://github.com/mastra-ai/mastra/pull/11637))
|
|
427
|
+
|
|
428
|
+
- Add Mastra version footer component that displays installed packages and checks npm registry for available updates and deprecation warnings ([#11211](https://github.com/mastra-ai/mastra/pull/11211))
|
|
429
|
+
|
|
430
|
+
- Fix clicking nested workflows in sidepanel: resolve runtime error when clicking "View Nested Graph" inside an already-open nested workflow panel, and ensure the graph updates when switching between nested workflows. ([#11391](https://github.com/mastra-ai/mastra/pull/11391))
|
|
431
|
+
|
|
432
|
+
- Consolidate date picker components by removing duplicate DatePicker and Calendar components. DateField now uses the DayPicker wrapper from date-time-picker folder directly. ([#11649](https://github.com/mastra-ai/mastra/pull/11649))
|
|
433
|
+
|
|
434
|
+
- Consolidate UI components into design system folder. Moves all UI primitives from `src/components/ui/` to `src/ds/components/` to establish a single source of truth for UI components. Import paths updated across the codebase. No API changes - all exports remain the same. ([#11886](https://github.com/mastra-ai/mastra/pull/11886))
|
|
435
|
+
|
|
436
|
+
- Consolidate tabs components: remove redundant implementations and add onClose prop support ([#11650](https://github.com/mastra-ai/mastra/pull/11650))
|
|
437
|
+
|
|
438
|
+
- Consolidate Tailwind config as the single source of truth. The playground package now imports the config via a preset export instead of duplicating all theme definitions. ([#11916](https://github.com/mastra-ai/mastra/pull/11916))
|
|
439
|
+
|
|
440
|
+
- Removed uneeded calls to the message endpoint when the user is on a new thread ([#10872](https://github.com/mastra-ai/mastra/pull/10872))
|
|
441
|
+
|
|
442
|
+
- Aligned border, background, and radius styles across Dialog, AlertDialog, Popover, and Select components for visual consistency. All overlay components now use border-border1, bg-surface3, and rounded-md. ([#11974](https://github.com/mastra-ai/mastra/pull/11974))
|
|
443
|
+
|
|
444
|
+
- Add support for AI SDK v6 (LanguageModelV3) ([#11191](https://github.com/mastra-ai/mastra/pull/11191))
|
|
445
|
+
|
|
446
|
+
Agents can now use `LanguageModelV3` models from AI SDK v6 beta providers like `@ai-sdk/openai@^3.0.0-beta`.
|
|
447
|
+
|
|
448
|
+
**New features:**
|
|
449
|
+
- Usage normalization: V3's nested usage format is normalized to Mastra's flat format with `reasoningTokens`, `cachedInputTokens`, and raw data preserved in a `raw` field
|
|
450
|
+
|
|
451
|
+
**Backward compatible:** All existing V1 and V2 models continue to work unchanged.
|
|
452
|
+
|
|
453
|
+
- Adds tool/workflow error being surfaced to the side panel in the playground ([#11099](https://github.com/mastra-ai/mastra/pull/11099))
|
|
454
|
+
|
|
455
|
+
- Update MainSidebar component to fit required changes in Cloud CTA link ([#9318](https://github.com/mastra-ai/mastra/pull/9318))
|
|
456
|
+
|
|
457
|
+
- Fix default value showing on workflow form after user submits ([#10983](https://github.com/mastra-ai/mastra/pull/10983))
|
|
458
|
+
|
|
459
|
+
- Auto resume suspended tools if `autoResumeSuspendedTools: true` ([#11157](https://github.com/mastra-ai/mastra/pull/11157))
|
|
460
|
+
|
|
461
|
+
The flag can be added to `defaultAgentOptions` when creating the agent or to options in `agent.stream` or `agent.generate`
|
|
462
|
+
|
|
463
|
+
```typescript
|
|
464
|
+
const agent = new Agent({
|
|
465
|
+
//...agent information,
|
|
466
|
+
defaultAgentOptions: {
|
|
467
|
+
autoResumeSuspendedTools: true,
|
|
468
|
+
},
|
|
469
|
+
});
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
- Add enhance instruction capability + instruction tweak for experiment purpose ([#9302](https://github.com/mastra-ai/mastra/pull/9302))
|
|
473
|
+
|
|
474
|
+
- Update peer dependencies to match core package version bump (1.0.0) ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
|
|
475
|
+
|
|
476
|
+
- Fix trace-span-usage component to handle object values in token usage data. Usage objects can contain nested `inputDetails` and `outputDetails` properties which are objects, not numbers. The component now properly type-checks values and renders object properties as nested key-value pairs. ([#11141](https://github.com/mastra-ai/mastra/pull/11141))
|
|
477
|
+
|
|
478
|
+
- Make MainSidebar toggle button sticky to bottom, always visible ([#9682](https://github.com/mastra-ai/mastra/pull/9682))
|
|
479
|
+
|
|
480
|
+
- Use client-js search memory instead of custom fetch one ([#9326](https://github.com/mastra-ai/mastra/pull/9326))
|
|
481
|
+
|
|
482
|
+
- Add resizable and collapsible side panels for agents and workflows ([#11371](https://github.com/mastra-ai/mastra/pull/11371))
|
|
483
|
+
|
|
484
|
+
- Add human-in-the-loop (HITL) support to agent networks ([#11678](https://github.com/mastra-ai/mastra/pull/11678))
|
|
485
|
+
- Add suspend/resume capabilities to agent network
|
|
486
|
+
- Enable auto-resume for suspended network execution via `autoResumeSuspendedTools`
|
|
487
|
+
|
|
488
|
+
`agent.resumeNetwork`, `agent.approveNetworkToolCall`, `agent.declineNetworkToolCall`
|
|
489
|
+
|
|
490
|
+
- Fixed scorer eligibility check in observability to also check span.entityType field ([#12078](https://github.com/mastra-ai/mastra/pull/12078))
|
|
491
|
+
|
|
492
|
+
- Render zod unions and discriminated unions correctly in dynamic form. ([#9317](https://github.com/mastra-ai/mastra/pull/9317))
|
|
493
|
+
|
|
494
|
+
- Removing uneeded files ([#9877](https://github.com/mastra-ai/mastra/pull/9877))
|
|
495
|
+
|
|
496
|
+
- Add `Run` instance to client-js. `workflow.createRun` returns the `Run` instance which can be used for the different run methods. ([#11207](https://github.com/mastra-ai/mastra/pull/11207))
|
|
497
|
+
With this change, run methods cannot be called directly on workflow instance anymore
|
|
498
|
+
|
|
499
|
+
```diff
|
|
500
|
+
- const result = await workflow.stream({ runId: '123', inputData: { ... } });
|
|
501
|
+
+ const run = await workflow.createRun({ runId: '123' });
|
|
502
|
+
+ const stream = await run.stream({ inputData: { ... } });
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
- Add breacrumb action for popovers ([#9378](https://github.com/mastra-ai/mastra/pull/9378))
|
|
506
|
+
|
|
507
|
+
- Prefill `providerOptions` on Mastra Studio. When creating your agent, you can add `providerOptions` to the Agent `instructions`, we now prefill the `providerOptions` field on Mastra Studio model settings advanced settings section with the `instructions.providerOptions` added. ([#9156](https://github.com/mastra-ai/mastra/pull/9156))
|
|
508
|
+
|
|
509
|
+
Example agent code:
|
|
510
|
+
|
|
511
|
+
```typescript
|
|
512
|
+
export const chefModelV2Agent = new Agent({
|
|
513
|
+
name: 'Chef Agent V2 Model',
|
|
514
|
+
description: 'A chef agent that can help you cook great meals with whatever ingredients you have available.',
|
|
515
|
+
instructions: {
|
|
516
|
+
content: `
|
|
517
|
+
You are Michel, a practical and experienced home chef who helps people cook great meals with whatever
|
|
518
|
+
ingredients they have available. Your first priority is understanding what ingredients and equipment the user has access to, then suggesting achievable recipes.
|
|
519
|
+
You explain cooking steps clearly and offer substitutions when needed, maintaining a friendly and encouraging tone throughout.
|
|
520
|
+
`,
|
|
521
|
+
role: 'system',
|
|
522
|
+
providerOptions: {
|
|
523
|
+
openai: {
|
|
524
|
+
reasoning_effort: 'high',
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
model: openai('gpt-4o-mini'),
|
|
529
|
+
tools: {
|
|
530
|
+
cookingTool,
|
|
531
|
+
},
|
|
532
|
+
memory,
|
|
533
|
+
});
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
- Fix wrong hook arg type when retrieving workflow runs ([#10755](https://github.com/mastra-ai/mastra/pull/10755))
|
|
537
|
+
|
|
538
|
+
- Refactor agent information for easier cloud recomposable UIs ([#9995](https://github.com/mastra-ai/mastra/pull/9995))
|
|
539
|
+
|
|
540
|
+
- Remove console.log in playground-ui ([#11004](https://github.com/mastra-ai/mastra/pull/11004))
|
|
541
|
+
|
|
542
|
+
- Fix workflow observability view broken by invalid entityType parameter ([#11427](https://github.com/mastra-ai/mastra/pull/11427))
|
|
543
|
+
|
|
544
|
+
The UI workflow observability view was failing with a Zod validation error when trying to filter traces by workflow. The UI was sending `entityType=workflow`, but the backend's `EntityType` enum only accepts `workflow_run`.
|
|
545
|
+
|
|
546
|
+
**Root Cause**: The legacy value transformation was happening in the handler (after validation), but Zod validation occurred earlier in the request pipeline, rejecting the request before it could be transformed.
|
|
547
|
+
|
|
548
|
+
**Solution**:
|
|
549
|
+
- Added `z.preprocess()` to the query schema to transform `workflow` → `workflow_run` before validation
|
|
550
|
+
- Kept handler transformation for defense in depth
|
|
551
|
+
- Updated UI to use `EntityType.WORKFLOW_RUN` enum value for type safety
|
|
552
|
+
|
|
553
|
+
This maintains backward compatibility with legacy clients while fixing the validation error.
|
|
554
|
+
|
|
555
|
+
Fixes #11412
|
|
556
|
+
|
|
557
|
+
- Add timeTravel APIs and add timeTravel feature to studio ([#10361](https://github.com/mastra-ai/mastra/pull/10361))
|
|
558
|
+
|
|
559
|
+
- Use the same Button component every where. Remove duplicates. ([#11635](https://github.com/mastra-ai/mastra/pull/11635))
|
|
560
|
+
|
|
561
|
+
- Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
562
|
+
|
|
563
|
+
- Fixes issues where thread and messages were not saved before suspension when tools require approval or call suspend() during execution. This caused conversation history to be lost if users refreshed during tool approval or suspension. ([#10369](https://github.com/mastra-ai/mastra/pull/10369))
|
|
564
|
+
|
|
565
|
+
**Backend changes (@mastra/core):**
|
|
566
|
+
- Add assistant messages to messageList immediately after LLM execution
|
|
567
|
+
- Flush messages synchronously before suspension to persist state
|
|
568
|
+
- Create thread if it doesn't exist before flushing
|
|
569
|
+
- Add metadata helpers to persist and remove tool approval state
|
|
570
|
+
- Pass saveQueueManager and memory context through workflow for immediate persistence
|
|
571
|
+
|
|
572
|
+
**Frontend changes (@mastra/react):**
|
|
573
|
+
- Extract runId from pending approvals to enable resumption after refresh
|
|
574
|
+
- Convert `pendingToolApprovals` (DB format) to `requireApprovalMetadata` (runtime format)
|
|
575
|
+
- Handle both `dynamic-tool` and `tool-{NAME}` part types for approval state
|
|
576
|
+
- Change runId from hardcoded `agentId` to unique `uuid()`
|
|
577
|
+
|
|
578
|
+
**UI changes (@mastra/playground-ui):**
|
|
579
|
+
- Handle tool calls awaiting approval in message initialization
|
|
580
|
+
- Convert approval metadata format when loading initial messages
|
|
581
|
+
|
|
582
|
+
Fixes #9745, #9906
|
|
583
|
+
|
|
584
|
+
- fix(playground-ui): prevent temperature and topP conflict for Anthropic Claude 4.5+ models ([#11777](https://github.com/mastra-ai/mastra/pull/11777))
|
|
585
|
+
- Auto-clear topP for Claude 4.5+ models when both temperature and topP are set
|
|
586
|
+
- Show warning banner when user manually sets both values for restricted models
|
|
587
|
+
- Non-restricted models (OpenAI, Google, Claude 3.5) keep both defaults
|
|
588
|
+
|
|
589
|
+
Fixes #11760
|
|
590
|
+
|
|
591
|
+
- Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
|
|
592
|
+
|
|
593
|
+
- Removed legacy spacing tokens (sm, md, lg) from the design system. These tokens were deprecated aliases that mapped to standard Tailwind spacing values (0.5, 1, 2). All components have been updated to use the standard spacing tokens directly. ([#11978](https://github.com/mastra-ai/mastra/pull/11978))
|
|
594
|
+
|
|
595
|
+
- Use the hash based stringification mechanism of tanstack query to ensure keys ordering (and to keep the caching key valid and consistent) ([#11008](https://github.com/mastra-ai/mastra/pull/11008))
|
|
596
|
+
|
|
597
|
+
- Fix multi modal in playground-ui ([#9373](https://github.com/mastra-ai/mastra/pull/9373))
|
|
598
|
+
|
|
599
|
+
- Add export for agent memory for use in cloud ([#10025](https://github.com/mastra-ai/mastra/pull/10025))
|
|
600
|
+
|
|
601
|
+
- Remove deprecated playground-only prompt generation handler (functionality moved to @mastra/server) ([#11074](https://github.com/mastra-ai/mastra/pull/11074))
|
|
602
|
+
|
|
603
|
+
Improve prompt enhancement UX: show toast errors when enhancement fails, disable button when no model has a configured API key, and prevent users from disabling all models in the model list
|
|
604
|
+
|
|
605
|
+
Add missing `/api/agents/:agentId/instructions/enhance` endpoint that was referenced by `@mastra/client-js` and `@mastra/playground-ui`
|
|
606
|
+
|
|
607
|
+
- Add debugger-like click-through UI to workflow graph ([#11350](https://github.com/mastra-ai/mastra/pull/11350))
|
|
608
|
+
|
|
609
|
+
- Focus the textarea when clicking anywhere in the entire chat prompt input box ([#11160](https://github.com/mastra-ai/mastra/pull/11160))
|
|
610
|
+
|
|
611
|
+
- Add prominent warning banner in observability UI when token limits are exceeded (finishReason: 'length'). ([#10835](https://github.com/mastra-ai/mastra/pull/10835))
|
|
612
|
+
|
|
613
|
+
When a model stops generating due to token limits, the span details now display:
|
|
614
|
+
- Clear warning with alert icon
|
|
615
|
+
- Detailed token usage breakdown (input + output = total)
|
|
616
|
+
- Explanation that the response was truncated
|
|
617
|
+
|
|
618
|
+
This helps developers quickly identify and debug token limit issues in the observation page.
|
|
619
|
+
|
|
620
|
+
Fixes #8828
|
|
621
|
+
|
|
622
|
+
- Add delete workflow run API ([#10991](https://github.com/mastra-ai/mastra/pull/10991))
|
|
623
|
+
|
|
624
|
+
```typescript
|
|
625
|
+
await workflow.deleteWorkflowRunById(runId);
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
- Add initial state input to workflow form in studio ([#11560](https://github.com/mastra-ai/mastra/pull/11560))
|
|
629
|
+
|
|
630
|
+
- Move AutoForm from ds/components to lib/form for better organization ([#11915](https://github.com/mastra-ai/mastra/pull/11915))
|
|
631
|
+
|
|
632
|
+
- Fixed "Module not found: Can't resolve '@mastra/ai-sdk/ui'" error when playground-ui is used on Cloud by converting @mastra/ai-sdk to a peer dependency ([#10388](https://github.com/mastra-ai/mastra/pull/10388))
|
|
633
|
+
|
|
634
|
+
- Remove "show trace" that pointed to legacy traces ([#9470](https://github.com/mastra-ai/mastra/pull/9470))
|
|
635
|
+
|
|
636
|
+
- Fix resume form for nested workflow not displaying when viewing a previously suspended run on studio ([#9805](https://github.com/mastra-ai/mastra/pull/9805))
|
|
637
|
+
|
|
638
|
+
- Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
|
|
639
|
+
|
|
640
|
+
- Remove unused files and dependencies identified by Knip ([#11677](https://github.com/mastra-ai/mastra/pull/11677))
|
|
641
|
+
|
|
642
|
+
- Merge `IconColors` into `Colors` object in design tokens. Icon color tokens (`icon1` through `icon6`) are now part of the main `Colors` export. ([#11932](https://github.com/mastra-ai/mastra/pull/11932))
|
|
643
|
+
|
|
644
|
+
- Remove legacy `colors.mastra` from Tailwind config and migrate to design system tokens (`Colors`, `IconColors`). ([#11925](https://github.com/mastra-ai/mastra/pull/11925))
|
|
645
|
+
|
|
646
|
+
- Added Processors tab to Mastra Studio. You can now view all configured processors, see which agents use them, and test processors directly from the UI. Processor workflows automatically redirect to the workflow graph view with a simplified input mode for testing. ([#12059](https://github.com/mastra-ai/mastra/pull/12059))
|
|
647
|
+
|
|
648
|
+
- Fix react/react-DOM version mismatch. ([#11620](https://github.com/mastra-ai/mastra/pull/11620))
|
|
649
|
+
|
|
650
|
+
- Fix discriminatedUnion schema information lost when json schema is converted to zod ([#10500](https://github.com/mastra-ai/mastra/pull/10500))
|
|
651
|
+
|
|
652
|
+
- Avoid fetch retries when fetching model providers ([#9452](https://github.com/mastra-ai/mastra/pull/9452))
|
|
653
|
+
|
|
654
|
+
- Rollback color of sidebar cloud cta ([#11877](https://github.com/mastra-ai/mastra/pull/11877))
|
|
655
|
+
|
|
656
|
+
- Remove unused keyframes and animations from tailwind config ([#11930](https://github.com/mastra-ai/mastra/pull/11930))
|
|
657
|
+
|
|
658
|
+
- Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
|
|
659
|
+
|
|
660
|
+
- Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
|
|
661
|
+
- Changed arbitrary spacing values like `gap-[1rem]`, `p-[1.5rem]`, `px-[2rem]` to standard classes (`gap-4`, `p-6`, `px-8`)
|
|
662
|
+
- Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
|
|
663
|
+
- Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
|
|
664
|
+
- Updated duration values from `duration-[1s]` to `duration-1000`
|
|
665
|
+
|
|
666
|
+
- Replaced arbitrary Tailwind text sizes with semantic design tokens for consistent typography. ([#11956](https://github.com/mastra-ai/mastra/pull/11956))
|
|
667
|
+
|
|
668
|
+
**Changes:**
|
|
669
|
+
- Consolidated font size tokens from 5 fractional rem values to 8 clean sizes
|
|
670
|
+
- Replaced 129 occurrences of arbitrary `text-[...]` patterns across 44 files
|
|
671
|
+
- Added new header size tokens (`header-sm`, `header-lg`, `header-xl`)
|
|
672
|
+
|
|
673
|
+
**New token scale:**
|
|
674
|
+
- `ui-xs`: 10px
|
|
675
|
+
- `ui-sm`: 12px (was 11px)
|
|
676
|
+
- `ui-md`: 14px (was 12px)
|
|
677
|
+
- `ui-lg`: 16px (was 13px)
|
|
678
|
+
- `header-sm`: 18px
|
|
679
|
+
- `header-md`: 20px (was 16px)
|
|
680
|
+
- `header-lg`: 24px
|
|
681
|
+
- `header-xl`: 28px
|
|
682
|
+
|
|
683
|
+
- Replaced direct `clsx` imports with the `cn` utility across all components for consistent Tailwind class merging. ([#11938](https://github.com/mastra-ai/mastra/pull/11938))
|
|
684
|
+
|
|
685
|
+
- Replace CSS variable colors with design tokens ([#11928](https://github.com/mastra-ai/mastra/pull/11928))
|
|
686
|
+
|
|
687
|
+
- Remove unused /model-providers API ([#9533](https://github.com/mastra-ai/mastra/pull/9533))
|
|
688
|
+
|
|
689
|
+
- Move useScorers down to trace page to trigger it once for all trace spans ([#10985](https://github.com/mastra-ai/mastra/pull/10985))
|
|
690
|
+
|
|
691
|
+
- - Removes redundant "Working Memory" section from memory config panel (already displayed in dedicated working memory component) ([#11104](https://github.com/mastra-ai/mastra/pull/11104))
|
|
692
|
+
- Fixes badge rendering for falsy values by using ?? instead of || (e.g., false was incorrectly displayed as empty string)
|
|
693
|
+
- Adds tooltip on disabled "Edit Working Memory" button explaining that working memory becomes available after the agent calls updateWorkingMemory
|
|
694
|
+
|
|
695
|
+
- Update Observability Trace Spans list UI, so a user can expand/collapse span children/descendants and can filter the list by span type or name ([#10378](https://github.com/mastra-ai/mastra/pull/10378))
|
|
696
|
+
|
|
697
|
+
- Add UI to match with the mastra studio command ([#10283](https://github.com/mastra-ai/mastra/pull/10283))
|
|
698
|
+
|
|
699
|
+
- Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
|
|
700
|
+
|
|
701
|
+
- Fix workflow trigger form overflow ([#10986](https://github.com/mastra-ai/mastra/pull/10986))
|
|
702
|
+
|
|
703
|
+
- Removed unused files, dependencies, and exports from playground packages. Deleted orphaned tool-list.tsx and workflow-list.tsx components, removed unused react-code-block dependency, and cleaned up 12 unused exports across object utilities, string helpers, and hooks. ([#11979](https://github.com/mastra-ai/mastra/pull/11979))
|
|
704
|
+
|
|
705
|
+
- Fix scorer filtering for SpanScoring, add error and info message for user ([#10160](https://github.com/mastra-ai/mastra/pull/10160))
|
|
706
|
+
|
|
707
|
+
- Templates now don't dynamically create a branch for every provider, each template should be agnostic and just use a env var to set the models until the user wants to set it otherwise. ([#10036](https://github.com/mastra-ai/mastra/pull/10036))
|
|
708
|
+
MCP docs server will install the beta version of the docs server if they create a project with the beta tag.
|
|
709
|
+
Updates to the templates now will get pushed to the beta branch, when beta goes stable we will merge the beta branch into the main branch for all templates and update the github script to push to main.
|
|
710
|
+
Templates have been cleaned up
|
|
711
|
+
small docs updates based off of how the template migrations went
|
|
712
|
+
|
|
713
|
+
- Fix playground white screen when Zod discriminatedUnion is intersected using `and()`. ([#9692](https://github.com/mastra-ai/mastra/pull/9692))
|
|
714
|
+
This now works, but zod validation will fail, please use `extend` instead
|
|
715
|
+
|
|
716
|
+
Instead of
|
|
717
|
+
|
|
718
|
+
```ts
|
|
719
|
+
z.discriminatedUnion('type', [
|
|
720
|
+
z.object({ type: z.literal('byCity'), city: z.string() }),
|
|
721
|
+
z.object({ type: z.literal('byCoords'), lat: z.number(), lon: z.number() }),
|
|
722
|
+
]).and(z.object({ order: z.number() }));
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
do
|
|
726
|
+
|
|
727
|
+
```ts
|
|
728
|
+
z.discriminatedUnion('type', [
|
|
729
|
+
z.object({ type: z.literal('byCity'), city: z.string() }).extend({ order: z.number() }),
|
|
730
|
+
z.object({ type: z.literal('byCoords'), lat: z.number(), lon: z.number() }).extend({ order: z.number() }),
|
|
731
|
+
]);
|
|
732
|
+
```
|
|
733
|
+
|
|
734
|
+
- Hide time travel on map steps in Studio ([#10631](https://github.com/mastra-ai/mastra/pull/10631))
|
|
735
|
+
|
|
736
|
+
- Extract more components to playground-ui for sharing with cloud ([#9241](https://github.com/mastra-ai/mastra/pull/9241))
|
|
737
|
+
|
|
738
|
+
- Converted spacing design tokens from pixels to REM units for better accessibility. Spacing now scales with the user's browser font size settings. All existing Tailwind spacing classes (`p-4`, `gap-2`, `m-8`, etc.) continue to work unchanged. ([#11968](https://github.com/mastra-ai/mastra/pull/11968))
|
|
739
|
+
|
|
740
|
+
- Adds thread cloning to create independent copies of conversations that can diverge. ([#11517](https://github.com/mastra-ai/mastra/pull/11517))
|
|
741
|
+
|
|
742
|
+
```typescript
|
|
743
|
+
// Clone a thread
|
|
744
|
+
const { thread, clonedMessages } = await memory.cloneThread({
|
|
745
|
+
sourceThreadId: 'thread-123',
|
|
746
|
+
title: 'My Clone',
|
|
747
|
+
options: {
|
|
748
|
+
messageLimit: 10, // optional: only copy last N messages
|
|
749
|
+
},
|
|
750
|
+
});
|
|
751
|
+
|
|
752
|
+
// Check if a thread is a clone
|
|
753
|
+
if (memory.isClone(thread)) {
|
|
754
|
+
const source = await memory.getSourceThread(thread.id);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
// List all clones of a thread
|
|
758
|
+
const clones = await memory.listClones('thread-123');
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
Includes:
|
|
762
|
+
- Storage implementations for InMemory, PostgreSQL, LibSQL, Upstash
|
|
763
|
+
- API endpoint: `POST /api/memory/threads/:threadId/clone`
|
|
764
|
+
- Embeddings created for cloned messages (semantic recall)
|
|
765
|
+
- Clone button in playground UI Memory tab
|
|
766
|
+
|
|
767
|
+
- Simplify Storybook configuration by removing Radix UI module resolution hacks and creating a dedicated CSS file for Storybook ([#11920](https://github.com/mastra-ai/mastra/pull/11920))
|
|
768
|
+
|
|
769
|
+
- Fix undefined window issue when Sidebar used in Next app ([#9448](https://github.com/mastra-ai/mastra/pull/9448))
|
|
770
|
+
|
|
771
|
+
- Fix double scroll on agent chat container ([#10253](https://github.com/mastra-ai/mastra/pull/10253))
|
|
772
|
+
|
|
773
|
+
- Display network completion validation results and scorer feedback in the Playground when viewing agent network runs, letting users see pass/fail status and actionable feedback from completion scorers ([#11562](https://github.com/mastra-ai/mastra/pull/11562))
|
|
774
|
+
|
|
775
|
+
- Move WorkflowInformation to playground-ui ([#9297](https://github.com/mastra-ai/mastra/pull/9297))
|
|
776
|
+
|
|
777
|
+
- Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
|
|
778
|
+
|
|
779
|
+
- Add the possibility to pass down options to the tanstack query client. Goal is to have cacheable request in cloud and it's not possible for now because of context resolution beeing different ([#11026](https://github.com/mastra-ai/mastra/pull/11026))
|
|
780
|
+
|
|
781
|
+
- Add combobox in playground for entities and update routes and error handling ([#9743](https://github.com/mastra-ai/mastra/pull/9743))
|
|
782
|
+
|
|
783
|
+
- **Breaking Changes:** ([#9045](https://github.com/mastra-ai/mastra/pull/9045))
|
|
784
|
+
- Moved `generateTitle` from `threads.generateTitle` to top-level memory option
|
|
785
|
+
- Changed default value from `true` to `false`
|
|
786
|
+
- Using `threads.generateTitle` now throws an error
|
|
787
|
+
|
|
788
|
+
**Migration:**
|
|
789
|
+
Replace `threads: { generateTitle: true }` with `generateTitle: true` at the top level of memory options.
|
|
790
|
+
|
|
791
|
+
**Playground:**
|
|
792
|
+
The playground UI now displays thread IDs instead of "Chat from" when titles aren't generated.
|
|
793
|
+
|
|
794
|
+
- Agent's right sidebar is now 30% wide before resizing. It makes it easier to read the information at a first glance ([#11803](https://github.com/mastra-ai/mastra/pull/11803))
|
|
795
|
+
|
|
796
|
+
- Support new Workflow tripwire run status. Tripwires that are thrown from within a workflow will now bubble up and return a graceful state with information about tripwires. ([#10947](https://github.com/mastra-ai/mastra/pull/10947))
|
|
797
|
+
|
|
798
|
+
When a workflow contains an agent step that triggers a tripwire, the workflow returns with `status: 'tripwire'` and includes tripwire details:
|
|
799
|
+
|
|
800
|
+
```typescript
|
|
801
|
+
const run = await workflow.createRun();
|
|
802
|
+
const result = await run.start({ inputData: { message: 'Hello' } });
|
|
803
|
+
|
|
804
|
+
if (result.status === 'tripwire') {
|
|
805
|
+
console.log('Workflow terminated by tripwire:', result.tripwire?.reason);
|
|
806
|
+
console.log('Processor ID:', result.tripwire?.processorId);
|
|
807
|
+
console.log('Retry requested:', result.tripwire?.retry);
|
|
808
|
+
}
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
Adds new UI state for tripwire in agent chat and workflow UI.
|
|
812
|
+
|
|
813
|
+
This is distinct from `status: 'failed'` which indicates an unexpected error. A tripwire status means a processor intentionally stopped execution (e.g., for content moderation).
|
|
814
|
+
|
|
815
|
+
- Move some components to playground-ui for usage in cloud ([#9177](https://github.com/mastra-ai/mastra/pull/9177))
|
|
816
|
+
|
|
817
|
+
- Fix the link from traces to workflow ([#9764](https://github.com/mastra-ai/mastra/pull/9764))
|
|
818
|
+
|
|
819
|
+
- Add a specific page for the studio settings and moved the headers configuration form here instead of in a dialog ([#10812](https://github.com/mastra-ai/mastra/pull/10812))
|
|
820
|
+
|
|
821
|
+
- Unified `getWorkflowRunById` and `getWorkflowRunExecutionResult` into a single API that returns `WorkflowState` with both metadata and execution state. ([#11429](https://github.com/mastra-ai/mastra/pull/11429))
|
|
822
|
+
|
|
823
|
+
**What changed:**
|
|
824
|
+
- `getWorkflowRunById` now returns a unified `WorkflowState` object containing metadata (runId, workflowName, resourceId, createdAt, updatedAt) along with processed execution state (status, result, error, payload, steps)
|
|
825
|
+
- Added optional `fields` parameter to request only specific fields for better performance
|
|
826
|
+
- Added optional `withNestedWorkflows` parameter to control nested workflow step inclusion
|
|
827
|
+
- Removed `getWorkflowRunExecutionResult` - use `getWorkflowRunById` instead (breaking change)
|
|
828
|
+
- Removed `/execution-result` API endpoints from server (breaking change)
|
|
829
|
+
- Removed `runExecutionResult()` method from client SDK (breaking change)
|
|
830
|
+
- Removed `GetWorkflowRunExecutionResultResponse` type from client SDK (breaking change)
|
|
831
|
+
|
|
832
|
+
**Before:**
|
|
833
|
+
|
|
834
|
+
```typescript
|
|
835
|
+
// Had to call two different methods for different data
|
|
836
|
+
const run = await workflow.getWorkflowRunById(runId); // Returns raw WorkflowRun with snapshot
|
|
837
|
+
const result = await workflow.getWorkflowRunExecutionResult(runId); // Returns processed execution state
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
**After:**
|
|
841
|
+
|
|
842
|
+
```typescript
|
|
843
|
+
// Single method returns everything
|
|
844
|
+
const run = await workflow.getWorkflowRunById(runId);
|
|
845
|
+
// Returns: { runId, workflowName, resourceId, createdAt, updatedAt, status, result, error, payload, steps }
|
|
846
|
+
|
|
847
|
+
// Request only specific fields for better performance (avoids expensive step fetching)
|
|
848
|
+
const status = await workflow.getWorkflowRunById(runId, { fields: ['status'] });
|
|
849
|
+
|
|
850
|
+
// Skip nested workflow steps for faster response
|
|
851
|
+
const run = await workflow.getWorkflowRunById(runId, { withNestedWorkflows: false });
|
|
852
|
+
```
|
|
853
|
+
|
|
854
|
+
**Why:** The previous API required calling two separate methods to get complete workflow run information. This unification simplifies the API surface and gives users control over performance - fetching all steps (especially nested workflows) can be expensive, so the `fields` and `withNestedWorkflows` options let users request only what they need.
|
|
855
|
+
|
|
856
|
+
- - Add persistence for custom data chunks (`data-*` parts) emitted via `writer.custom()` in tools ([#10884](https://github.com/mastra-ai/mastra/pull/10884))
|
|
857
|
+
- Data chunks are now saved to message storage so they survive page refreshes
|
|
858
|
+
- Update `@assistant-ui/react` to v0.11.47 with native `DataMessagePart` support
|
|
859
|
+
- Convert `data-*` parts to `DataMessagePart` format (`{ type: 'data', name: string, data: T }`)
|
|
860
|
+
- Update related `@assistant-ui/*` packages for compatibility
|
|
861
|
+
|
|
862
|
+
- Explicitly set color of line number in CodeMirror ([#9878](https://github.com/mastra-ai/mastra/pull/9878))
|
|
863
|
+
|
|
864
|
+
- Workflow step detail panel improvements ([#11134](https://github.com/mastra-ai/mastra/pull/11134))
|
|
865
|
+
- Add step detail panel to view map configs and nested workflows from the workflow graph
|
|
866
|
+
- Enable line wrapping for code display in map config panel and WHEN condition nodes
|
|
867
|
+
- Auto-switch to "Current Run" tab when opening step details
|
|
868
|
+
- Add colored icons matching workflow graph (orange for map, purple for workflow)
|
|
869
|
+
- Simplify step detail context by removing unused parent stack navigation
|
|
870
|
+
|
|
871
|
+
- Fix agent default settings not being applied in playground ([#11107](https://github.com/mastra-ai/mastra/pull/11107))
|
|
872
|
+
- Fix settings hook to properly merge agent default options with localStorage values
|
|
873
|
+
- Map `maxOutputTokens` (AI SDK v5) to `maxTokens` for UI compatibility
|
|
874
|
+
- Add `seed` parameter support to model settings
|
|
875
|
+
- Add frequency/presence penalty inputs with sliders
|
|
876
|
+
- Extract and apply agent's `defaultOptions.modelSettings` on load
|
|
877
|
+
|
|
878
|
+
- Remove unecessary react components + dependencies ([#9295](https://github.com/mastra-ai/mastra/pull/9295))
|
|
879
|
+
|
|
880
|
+
- Fix studio crashing when message contains non JSON text output of tool call ([#9189](https://github.com/mastra-ai/mastra/pull/9189))
|
|
881
|
+
|
|
882
|
+
- Add container queries, adjust the agent chat and use container queries to better display information on the agent sidebar ([#11408](https://github.com/mastra-ai/mastra/pull/11408))
|
|
883
|
+
|
|
884
|
+
- Make suspendPayload optional when calling `suspend()` ([#9926](https://github.com/mastra-ai/mastra/pull/9926))
|
|
885
|
+
Save value returned as `suspendOutput` if user returns data still after calling `suspend()`
|
|
886
|
+
Automatically call `commit()` on uncommitted workflows when registering in Mastra instance
|
|
887
|
+
Show actual suspendPayload on Studio in suspend/resume flow
|
|
888
|
+
|
|
889
|
+
- Added tracing options to workflow runs and agent generate / stream / network. You can now configure tracing options, custom request context keys, and parent trace/span IDs through a new "Tracing options" tab in the workflow/agent ui UI. ([#10742](https://github.com/mastra-ai/mastra/pull/10742))
|
|
890
|
+
|
|
891
|
+
**Usage:**
|
|
892
|
+
|
|
893
|
+
The workflow settings are now accessible via the new `useTracingSettings` hook and `TracingSettingsProvider`:
|
|
894
|
+
|
|
895
|
+
```tsx
|
|
896
|
+
import { TracingSettingsProvider, useWorkflowSettings } from '@mastra/playground-ui';
|
|
897
|
+
|
|
898
|
+
// Wrap your workflow components with the provider
|
|
899
|
+
<TracingSettingsProvider entityId="my-workflow" entityType="workflow">
|
|
900
|
+
<YourWorkflowUI />
|
|
901
|
+
</TracingSettingsProvider>;
|
|
902
|
+
|
|
903
|
+
// Access settings in child components
|
|
904
|
+
const { settings, setSettings } = useTracingSettings();
|
|
905
|
+
|
|
906
|
+
// Configure tracing options
|
|
907
|
+
setSettings({
|
|
908
|
+
tracingOptions: {
|
|
909
|
+
metadata: { userId: '123' },
|
|
910
|
+
requestContextKeys: ['user.email'],
|
|
911
|
+
traceId: 'abc123',
|
|
912
|
+
},
|
|
913
|
+
});
|
|
914
|
+
```
|
|
915
|
+
|
|
916
|
+
Tracing options are persisted per workflow/agent in localStorage and automatically applied to all workflow/agent executions.
|
|
917
|
+
|
|
918
|
+
- Add visual styles and labels for more workflow node types ([#9777](https://github.com/mastra-ai/mastra/pull/9777))
|
|
919
|
+
|
|
920
|
+
- fix isTopLevelSpan value definition on SpanScoring to properly recognize lack of span?.parentSpanId value (null or empty string) ([#11083](https://github.com/mastra-ai/mastra/pull/11083))
|
|
921
|
+
|
|
922
|
+
- Updated dependencies [[`ac0d2f4`](https://github.com/mastra-ai/mastra/commit/ac0d2f4ff8831f72c1c66c2be809706d17f65789), [`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`d2d3e22`](https://github.com/mastra-ai/mastra/commit/d2d3e22a419ee243f8812a84e3453dd44365ecb0), [`08766f1`](https://github.com/mastra-ai/mastra/commit/08766f15e13ac0692fde2a8bd366c2e16e4321df), [`72df8ae`](https://github.com/mastra-ai/mastra/commit/72df8ae595584cdd7747d5c39ffaca45e4507227), [`ebae12a`](https://github.com/mastra-ai/mastra/commit/ebae12a2dd0212e75478981053b148a2c246962d), [`6edf340`](https://github.com/mastra-ai/mastra/commit/6edf3402f6a46ee8def2f42a2287785251fbffd6), [`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`bc72b52`](https://github.com/mastra-ai/mastra/commit/bc72b529ee4478fe89ecd85a8be47ce0127b82a0), [`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c61a0a5`](https://github.com/mastra-ai/mastra/commit/c61a0a5de4904c88fd8b3718bc26d1be1c2ec6e7), [`05b8bee`](https://github.com/mastra-ai/mastra/commit/05b8bee9e50e6c2a4a2bf210eca25ee212ca24fa), [`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`9198899`](https://github.com/mastra-ai/mastra/commit/91988995c427b185c33714b7f3be955367911324), [`ed3e3dd`](https://github.com/mastra-ai/mastra/commit/ed3e3ddec69d564fe2b125e083437f76331f1283), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`c042bd0`](https://github.com/mastra-ai/mastra/commit/c042bd0b743e0e86199d0cb83344ca7690e34a9c), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`21a15de`](https://github.com/mastra-ai/mastra/commit/21a15de369fe82aac26bb642ed7be73505475e8b), [`e54953e`](https://github.com/mastra-ai/mastra/commit/e54953ed8ce1b28c0d62a19950163039af7834b4), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`ae8baf7`](https://github.com/mastra-ai/mastra/commit/ae8baf7d8adcb0ff9dac11880400452bc49b33ff), [`17b4b46`](https://github.com/mastra-ai/mastra/commit/17b4b46339898f13f52c4c4e3d16c52630629c29), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`940a2b2`](https://github.com/mastra-ai/mastra/commit/940a2b27480626ed7e74f55806dcd2181c1dd0c2), [`1a0d3fc`](https://github.com/mastra-ai/mastra/commit/1a0d3fc811482c9c376cdf79ee615c23bae9b2d6), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`85a628b`](https://github.com/mastra-ai/mastra/commit/85a628b1224a8f64cd82ea7f033774bf22df7a7e), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`33a4d2e`](https://github.com/mastra-ai/mastra/commit/33a4d2e4ed8af51f69256232f00c34d6b6b51d48), [`b9b7ffd`](https://github.com/mastra-ai/mastra/commit/b9b7ffdad6936a7d50b6b814b5bbe54e19087f66), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`910db9e`](https://github.com/mastra-ai/mastra/commit/910db9e0312888495eb5617b567f247d03303814), [`bd18eb0`](https://github.com/mastra-ai/mastra/commit/bd18eb0928b1c4f263426f45f49765b32d1ef802), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`4f94ed8`](https://github.com/mastra-ai/mastra/commit/4f94ed8177abfde3ec536e3574883e075423350c), [`feb7ee4`](https://github.com/mastra-ai/mastra/commit/feb7ee4d09a75edb46c6669a3beaceec78811747), [`4aaa844`](https://github.com/mastra-ai/mastra/commit/4aaa844a4f19d054490f43638a990cc57bda8d2f), [`c237233`](https://github.com/mastra-ai/mastra/commit/c23723399ccedf7f5744b3f40997b79246bfbe64), [`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`6833c69`](https://github.com/mastra-ai/mastra/commit/6833c69607418d257750bbcdd84638993d343539), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`4a1a6cb`](https://github.com/mastra-ai/mastra/commit/4a1a6cb3facad54b2bb6780b00ce91d6de1edc08), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`15f9e21`](https://github.com/mastra-ai/mastra/commit/15f9e216177201ea6e3f6d0bfb063fcc0953444f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`69136e7`](https://github.com/mastra-ai/mastra/commit/69136e748e32f57297728a4e0f9a75988462f1a7), [`b0e2ea5`](https://github.com/mastra-ai/mastra/commit/b0e2ea5b52c40fae438b9e2f7baee6f0f89c5442), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`ff94dea`](https://github.com/mastra-ai/mastra/commit/ff94dea935f4e34545c63bcb6c29804732698809), [`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`449aed2`](https://github.com/mastra-ai/mastra/commit/449aed2ba9d507b75bf93d427646ea94f734dfd1), [`eb648a2`](https://github.com/mastra-ai/mastra/commit/eb648a2cc1728f7678768dd70cd77619b448dab9), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ac3cc23`](https://github.com/mastra-ai/mastra/commit/ac3cc2397d1966bc0fc2736a223abc449d3c7719), [`c456e01`](https://github.com/mastra-ai/mastra/commit/c456e0149e3c176afcefdbd9bb1d2c5917723725), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`a86f4df`](https://github.com/mastra-ai/mastra/commit/a86f4df0407311e0d2ea49b9a541f0938810d6a9), [`47c34d8`](https://github.com/mastra-ai/mastra/commit/47c34d8e8c3e8aae5c00efc6085c064f2404b346), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`5b2ff46`](https://github.com/mastra-ai/mastra/commit/5b2ff4651df70c146523a7fca773f8eb0a2272f8), [`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`e0941c3`](https://github.com/mastra-ai/mastra/commit/e0941c3d7fc75695d5d258e7008fd5d6e650800c), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`6de8ffd`](https://github.com/mastra-ai/mastra/commit/6de8ffda7ab06bce012fdeac3eacc6d2d138c097), [`db41688`](https://github.com/mastra-ai/mastra/commit/db4168806d007417e2e60b4f68656dca4e5f40c9), [`91c3a61`](https://github.com/mastra-ai/mastra/commit/91c3a61c533b348a18ba4394069efff26ac7d5a7), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`0c0580a`](https://github.com/mastra-ai/mastra/commit/0c0580a42f697cd2a7d5973f25bfe7da9055038a), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`ab035c2`](https://github.com/mastra-ai/mastra/commit/ab035c2ef6d8cc7bb25f06f1a38508bd9e6f126b), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`0131105`](https://github.com/mastra-ai/mastra/commit/0131105532e83bdcbb73352fc7d0879eebf140dc), [`ad7e8f1`](https://github.com/mastra-ai/mastra/commit/ad7e8f16ac843cbd16687ad47b66ba96bcffe111), [`5ca599d`](https://github.com/mastra-ai/mastra/commit/5ca599d0bb59a1595f19f58473fcd67cc71cef58), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`47b1c16`](https://github.com/mastra-ai/mastra/commit/47b1c16a01c7ffb6765fe1e499b49092f8b7eba3), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`bff1145`](https://github.com/mastra-ai/mastra/commit/bff114556b3cbadad9b2768488708f8ad0e91475), [`a54793a`](https://github.com/mastra-ai/mastra/commit/a54793a6377edb87d43a795711deedf487152d5c), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`9d5059e`](https://github.com/mastra-ai/mastra/commit/9d5059eae810829935fb08e81a9bb7ecd5b144a7), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`7491634`](https://github.com/mastra-ai/mastra/commit/7491634fd198c37d9934675756b274ae2e5e415e), [`5c8ca24`](https://github.com/mastra-ai/mastra/commit/5c8ca247094e0cc2cdbd7137822fb47241f86e77), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`e1b7118`](https://github.com/mastra-ai/mastra/commit/e1b7118f42ca0a97247afc75e57dcd5fdf987752), [`441c7b6`](https://github.com/mastra-ai/mastra/commit/441c7b6665915cfa7fd625fded8c0f518530bf10), [`461e448`](https://github.com/mastra-ai/mastra/commit/461e448852fe999506a6046d50b1efc27d8aa378), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`441c7b6`](https://github.com/mastra-ai/mastra/commit/441c7b6665915cfa7fd625fded8c0f518530bf10), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`31d13d5`](https://github.com/mastra-ai/mastra/commit/31d13d5fdc2e2380e2e3ee3ec9fb29d2a00f265d), [`ef756c6`](https://github.com/mastra-ai/mastra/commit/ef756c65f82d16531c43f49a27290a416611e526), [`e191844`](https://github.com/mastra-ai/mastra/commit/e1918444ca3f80e82feef1dad506cd4ec6e2875f), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`b00ccd3`](https://github.com/mastra-ai/mastra/commit/b00ccd325ebd5d9e37e34dd0a105caae67eb568f), [`28f5f89`](https://github.com/mastra-ai/mastra/commit/28f5f89705f2409921e3c45178796c0e0d0bbb64), [`87cf8d3`](https://github.com/mastra-ai/mastra/commit/87cf8d37564040eb4137a5923edb134c6ea51114), [`22553f1`](https://github.com/mastra-ai/mastra/commit/22553f11c63ee5e966a9c034a349822249584691), [`4c62166`](https://github.com/mastra-ai/mastra/commit/4c621669f4a29b1f443eca3ba70b814afa286266), [`e601b27`](https://github.com/mastra-ai/mastra/commit/e601b272c70f3a5ecca610373aa6223012704892), [`7d56d92`](https://github.com/mastra-ai/mastra/commit/7d56d9213886e8353956d7d40df10045fd12b299), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7bcbf10`](https://github.com/mastra-ai/mastra/commit/7bcbf10133516e03df964b941f9a34e9e4ab4177), [`029540c`](https://github.com/mastra-ai/mastra/commit/029540ca1e582fc2dd8d288ecd4a9b0f31a954ef), [`7237163`](https://github.com/mastra-ai/mastra/commit/72371635dbf96a87df4b073cc48fc655afbdce3d), [`2500740`](https://github.com/mastra-ai/mastra/commit/2500740ea23da067d6e50ec71c625ab3ce275e64), [`4353600`](https://github.com/mastra-ai/mastra/commit/43536005a65988a8eede236f69122e7f5a284ba2), [`653e65a`](https://github.com/mastra-ai/mastra/commit/653e65ae1f9502c2958a32f47a5a2df11e612a92), [`873ecbb`](https://github.com/mastra-ai/mastra/commit/873ecbb517586aa17d2f1e99283755b3ebb2863f), [`6986fb0`](https://github.com/mastra-ai/mastra/commit/6986fb064f5db6ecc24aa655e1d26529087b43b3), [`3d3366f`](https://github.com/mastra-ai/mastra/commit/3d3366f31683e7137d126a3a57174a222c5801fb), [`5a4953f`](https://github.com/mastra-ai/mastra/commit/5a4953f7d25bb15ca31ed16038092a39cb3f98b3), [`4f9bbe5`](https://github.com/mastra-ai/mastra/commit/4f9bbe5968f42c86f4930b8193de3c3c17e5bd36), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`eb9e522`](https://github.com/mastra-ai/mastra/commit/eb9e522ce3070a405e5b949b7bf5609ca51d7fe2), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`20e6f19`](https://github.com/mastra-ai/mastra/commit/20e6f1971d51d3ff6dd7accad8aaaae826d540ed), [`2b7aede`](https://github.com/mastra-ai/mastra/commit/2b7aede89494efaf7c28efe264a86cad8ee1cee6), [`053e979`](https://github.com/mastra-ai/mastra/commit/053e9793b28e970086b0507f7f3b76ea32c1e838), [`02e51fe`](https://github.com/mastra-ai/mastra/commit/02e51feddb3d4155cfbcc42624fd0d0970d032c0), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`e09a788`](https://github.com/mastra-ai/mastra/commit/e09a788e01698a711c7f705ce8d64ef8a20c3582), [`3bdfa75`](https://github.com/mastra-ai/mastra/commit/3bdfa7507a91db66f176ba8221aa28dd546e464a), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`c6fd6fe`](https://github.com/mastra-ai/mastra/commit/c6fd6fedd09e9cf8004b03a80925f5e94826ad7e), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`fdac646`](https://github.com/mastra-ai/mastra/commit/fdac646033a0930a1a4e00d13aa64c40bb7f1e02), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`8f3fa3a`](https://github.com/mastra-ai/mastra/commit/8f3fa3a652bb77da092f913ec51ae46e3a7e27dc), [`d07b568`](https://github.com/mastra-ai/mastra/commit/d07b5687819ea8cb1dffa776d0c1765faf4aa1ae), [`e770de9`](https://github.com/mastra-ai/mastra/commit/e770de941a287a49b1964d44db5a5763d19890a6), [`e26dc9c`](https://github.com/mastra-ai/mastra/commit/e26dc9c3ccfec54ae3dc3e2b2589f741f9ae60a6), [`55edf73`](https://github.com/mastra-ai/mastra/commit/55edf7302149d6c964fbb7908b43babfc2b52145), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`1b85674`](https://github.com/mastra-ai/mastra/commit/1b85674123708d9b85834dccc9eae601a9d0891c), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`627067b`](https://github.com/mastra-ai/mastra/commit/627067b22eeb26601f65fee3646ba17fc0c91501), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`1a46a56`](https://github.com/mastra-ai/mastra/commit/1a46a566f45a3fcbadc1cf36bf86d351f264bfa3), [`5a1ede1`](https://github.com/mastra-ai/mastra/commit/5a1ede1f7ab527b9ead11f7eee2f73e67aeca9e4), [`47b1c16`](https://github.com/mastra-ai/mastra/commit/47b1c16a01c7ffb6765fe1e499b49092f8b7eba3), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`52e2716`](https://github.com/mastra-ai/mastra/commit/52e2716b42df6eff443de72360ae83e86ec23993), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`4f0b3c6`](https://github.com/mastra-ai/mastra/commit/4f0b3c66f196c06448487f680ccbb614d281e2f7), [`27b4040`](https://github.com/mastra-ai/mastra/commit/27b4040bfa1a95d92546f420a02a626b1419a1d6), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`cd29ad2`](https://github.com/mastra-ai/mastra/commit/cd29ad23a255534e8191f249593849ed29160886), [`1ee3411`](https://github.com/mastra-ai/mastra/commit/1ee34113192b11aa8bcdd8d9d5830ae13254b345), [`dbd9db0`](https://github.com/mastra-ai/mastra/commit/dbd9db0d5c2797a210b9098e7e3e613718e5442f), [`6a86fe5`](https://github.com/mastra-ai/mastra/commit/6a86fe56b8ff53ca2eb3ed87ffc0748749ebadce), [`bdf4d8c`](https://github.com/mastra-ai/mastra/commit/bdf4d8cdc656d8a2c21d81834bfa3bfa70f56c16), [`854e3da`](https://github.com/mastra-ai/mastra/commit/854e3dad5daac17a91a20986399d3a51f54bf68b), [`ce18d38`](https://github.com/mastra-ai/mastra/commit/ce18d38678c65870350d123955014a8432075fd9), [`3cf540b`](https://github.com/mastra-ai/mastra/commit/3cf540b9fbfea8f4fc8d3a2319a4e6c0b0cbfd52), [`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`1c6ce51`](https://github.com/mastra-ai/mastra/commit/1c6ce51f875915ab57fd36873623013699a2a65d), [`74c4f22`](https://github.com/mastra-ai/mastra/commit/74c4f22ed4c71e72598eacc346ba95cdbc00294f), [`3a76a80`](https://github.com/mastra-ai/mastra/commit/3a76a80284cb71a0faa975abb3d4b2a9631e60cd), [`898a972`](https://github.com/mastra-ai/mastra/commit/898a9727d286c2510d6b702dfd367e6aaf5c6b0f), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`a97003a`](https://github.com/mastra-ai/mastra/commit/a97003aa1cf2f4022a41912324a1e77263b326b8), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`ccc141e`](https://github.com/mastra-ai/mastra/commit/ccc141ed27da0abc3a3fc28e9e5128152e8e37f4), [`922305b`](https://github.com/mastra-ai/mastra/commit/922305b747c9b081b51af81f5f4d5ba09fb22f5d), [`27c0009`](https://github.com/mastra-ai/mastra/commit/27c0009777a6073d7631b0eb7b481d94e165b5ca), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`dee388d`](https://github.com/mastra-ai/mastra/commit/dee388dde02f2e63c53385ae69252a47ab6825cc), [`610a70b`](https://github.com/mastra-ai/mastra/commit/610a70bdad282079f0c630e0d7bb284578f20151), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`f93d992`](https://github.com/mastra-ai/mastra/commit/f93d992a37d5431ab4a71246835d403ef7c4ce85), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`fe3b897`](https://github.com/mastra-ai/mastra/commit/fe3b897c2ccbcd2b10e81b099438c7337feddf89), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`00123ba`](https://github.com/mastra-ai/mastra/commit/00123ba96dc9e5cd0b110420ebdba56d8f237b25), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`595a3b8`](https://github.com/mastra-ai/mastra/commit/595a3b8727c901f44e333909c09843c711224440), [`ea0b8de`](https://github.com/mastra-ai/mastra/commit/ea0b8dec0d4bc86a72a7e75b2f56c6017c58786d), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`64554f4`](https://github.com/mastra-ai/mastra/commit/64554f48f26f028b738a04576d34ff992983529e), [`cccf9c8`](https://github.com/mastra-ai/mastra/commit/cccf9c8b2d2dfc1a5e63919395b83d78c89682a0), [`d4efaf3`](https://github.com/mastra-ai/mastra/commit/d4efaf34e6ec269714d50984d2ba7858f2d2079f), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`29c4309`](https://github.com/mastra-ai/mastra/commit/29c4309f818b24304c041bcb4a8f19b5f13f6b62), [`16785ce`](https://github.com/mastra-ai/mastra/commit/16785ced928f6f22638f4488cf8a125d99211799), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`61a5705`](https://github.com/mastra-ai/mastra/commit/61a570551278b6743e64243b3ce7d73de915ca8a), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`3f3fc30`](https://github.com/mastra-ai/mastra/commit/3f3fc3096f24c4a26cffeecfe73085928f72aa63), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`51acef9`](https://github.com/mastra-ai/mastra/commit/51acef95b5977826594fe3ee24475842bd3d5780), [`81b6a8f`](https://github.com/mastra-ai/mastra/commit/81b6a8ff79f49a7549d15d66624ac1a0b8f5f971), [`8538a0d`](https://github.com/mastra-ai/mastra/commit/8538a0d232619bf55dad7ddc2a8b0ca77c679a87), [`b98ba1a`](https://github.com/mastra-ai/mastra/commit/b98ba1af73e5d6106965c3de30fbe9e6edc907ce), [`af56599`](https://github.com/mastra-ai/mastra/commit/af56599d73244ae3bf0d7bcade656410f8ded37b), [`d90ea65`](https://github.com/mastra-ai/mastra/commit/d90ea6536f7aa51c6545a4e9215b55858e98e16d), [`db70a48`](https://github.com/mastra-ai/mastra/commit/db70a48aeeeeb8e5f92007e8ede52c364ce15287), [`0b6112e`](https://github.com/mastra-ai/mastra/commit/0b6112eea01134d2dce13aabda8bb15c37993315), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`70b300e`](https://github.com/mastra-ai/mastra/commit/70b300ebc631dfc0aa14e61547fef7994adb4ea6), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`de8239b`](https://github.com/mastra-ai/mastra/commit/de8239bdcb1d8c0cfa06da21f1569912a66bbc8a), [`e4d366a`](https://github.com/mastra-ai/mastra/commit/e4d366aeb500371dd4210d6aa8361a4c21d87034), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`b5e6cd7`](https://github.com/mastra-ai/mastra/commit/b5e6cd77fc8c8e64e0494c1d06cee3d84e795d1e), [`d171e55`](https://github.com/mastra-ai/mastra/commit/d171e559ead9f52ec728d424844c8f7b164c4510), [`f0fdc14`](https://github.com/mastra-ai/mastra/commit/f0fdc14ee233d619266b3d2bbdeea7d25cfc6d13), [`a4f010b`](https://github.com/mastra-ai/mastra/commit/a4f010b22e4355a5fdee70a1fe0f6e4a692cc29e), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`db18bc9`](https://github.com/mastra-ai/mastra/commit/db18bc9c3825e2c1a0ad9a183cc9935f6691bfa1), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`68ec97d`](https://github.com/mastra-ai/mastra/commit/68ec97d4c07c6393fcf95c2481fc5d73da99f8c8), [`8dc7f55`](https://github.com/mastra-ai/mastra/commit/8dc7f55900395771da851dc7d78d53ae84fe34ec), [`cfabdd4`](https://github.com/mastra-ai/mastra/commit/cfabdd4aae7a726b706942d6836eeca110fb6267), [`9b37b56`](https://github.com/mastra-ai/mastra/commit/9b37b565e1f2a76c24f728945cc740c2b09be9da), [`01b20fe`](https://github.com/mastra-ai/mastra/commit/01b20fefb7c67c2b7d79417598ef4e60256d1225), [`632fdb8`](https://github.com/mastra-ai/mastra/commit/632fdb8b3cd9ff6f90399256d526db439fc1758b), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8), [`8379099`](https://github.com/mastra-ai/mastra/commit/8379099fc467af6bef54dd7f80c9bd75bf8bbddf), [`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`41a23c3`](https://github.com/mastra-ai/mastra/commit/41a23c32f9877d71810f37e24930515df2ff7a0f), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`497f918`](https://github.com/mastra-ai/mastra/commit/497f9182135aaf2beb00887d94fcd93afe149d8b), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`5d171ad`](https://github.com/mastra-ai/mastra/commit/5d171ad9ef340387276b77c2bb3e83e83332d729), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`3759cb0`](https://github.com/mastra-ai/mastra/commit/3759cb064935b5f74c65ac2f52a1145f7352899d), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`10c2735`](https://github.com/mastra-ai/mastra/commit/10c27355edfdad1ee2b826b897df74125eb81fb8), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`8c0ec25`](https://github.com/mastra-ai/mastra/commit/8c0ec25646c8a7df253ed1e5ff4863a0d3f1316c), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`73b0bb3`](https://github.com/mastra-ai/mastra/commit/73b0bb394dba7c9482eb467a97ab283dbc0ef4db), [`651e772`](https://github.com/mastra-ai/mastra/commit/651e772eb1475fb13e126d3fcc01751297a88214), [`92a2ab4`](https://github.com/mastra-ai/mastra/commit/92a2ab408a21d7f88f8db111838bc247069c2ee9), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`f03ae60`](https://github.com/mastra-ai/mastra/commit/f03ae60500fe350c9d828621006cdafe1975fdd8), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3), [`3bf08bf`](https://github.com/mastra-ai/mastra/commit/3bf08bf9c7c73818ac937b5a69d90e205653115f), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`519d9e6`](https://github.com/mastra-ai/mastra/commit/519d9e6d31910457c54bdae8b7b7cb3a69f41831), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908), [`a0e437f`](https://github.com/mastra-ai/mastra/commit/a0e437fac561b28ee719e0302d72b2f9b4c138f0), [`d1e74a0`](https://github.com/mastra-ai/mastra/commit/d1e74a0a293866dece31022047f5dbab65a304d0), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`5627a8c`](https://github.com/mastra-ai/mastra/commit/5627a8c6dc11fe3711b3fa7a6ffd6eb34100a306), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`5fe71bc`](https://github.com/mastra-ai/mastra/commit/5fe71bc925dfce597df69c89241f33b378028c63), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`3ff45d1`](https://github.com/mastra-ai/mastra/commit/3ff45d10e0c80c5335a957ab563da72feb623520), [`dfe3f8c`](https://github.com/mastra-ai/mastra/commit/dfe3f8c7376ffe159236819e19ca522143c1f972), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`b61b93f`](https://github.com/mastra-ai/mastra/commit/b61b93f9e058b11dd2eec169853175d31dbdd567), [`bae33d9`](https://github.com/mastra-ai/mastra/commit/bae33d91a63fbb64d1e80519e1fc1acaed1e9013), [`39e7869`](https://github.com/mastra-ai/mastra/commit/39e7869bc7d0ee391077ce291474d8a84eedccff), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`e8dcd71`](https://github.com/mastra-ai/mastra/commit/e8dcd71fa5e473c8ba1d6dad99eef182d20a0491), [`251df45`](https://github.com/mastra-ai/mastra/commit/251df4531407dfa46d805feb40ff3fb49769f455), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`e849603`](https://github.com/mastra-ai/mastra/commit/e849603a596269069f58a438b98449ea2770493d), [`f894d14`](https://github.com/mastra-ai/mastra/commit/f894d148946629af7b1f452d65a9cf864cec3765), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`1924cf0`](https://github.com/mastra-ai/mastra/commit/1924cf06816e5e4d4d5333065ec0f4bb02a97799), [`c0b731f`](https://github.com/mastra-ai/mastra/commit/c0b731fb27d712dc8582e846df5c0332a6a0c5ba), [`63f2f18`](https://github.com/mastra-ai/mastra/commit/63f2f1863dffe3ad23221d0660ed4e4f2b81789d), [`5761926`](https://github.com/mastra-ai/mastra/commit/57619260c4a2cdd598763abbacd90de594c6bc76), [`c2b9547`](https://github.com/mastra-ai/mastra/commit/c2b9547bf435f56339f23625a743b2147ab1c7a6), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c900fdd`](https://github.com/mastra-ai/mastra/commit/c900fdd504c41348efdffb205cfe80d48c38fa33), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`9312dcd`](https://github.com/mastra-ai/mastra/commit/9312dcd1c6f5b321929e7d382e763d95fdc030f5), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`e4ab0a4`](https://github.com/mastra-ai/mastra/commit/e4ab0a4ff7aae1b837cfbd8fb726fc1376165b56), [`271519f`](https://github.com/mastra-ai/mastra/commit/271519ffffb7efcd5bd2a34ec5c290620c4e7114), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`43ca8f2`](https://github.com/mastra-ai/mastra/commit/43ca8f2c7334851cc7b4d3d2f037d8784bfbdd5f), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`184f01d`](https://github.com/mastra-ai/mastra/commit/184f01d1f534ec0be9703d3996f2e088b4a560eb), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`580b592`](https://github.com/mastra-ai/mastra/commit/580b5927afc82fe460dfdf9a38a902511b6b7e7f), [`604a79f`](https://github.com/mastra-ai/mastra/commit/604a79fecf276e26a54a3fe01bb94e65315d2e0e), [`b7b0930`](https://github.com/mastra-ai/mastra/commit/b7b0930dbe72eade8d3882992f2f2db53220e4eb), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`ff4d9a6`](https://github.com/mastra-ai/mastra/commit/ff4d9a6704fc87b31a380a76ed22736fdedbba5a), [`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`69821ef`](https://github.com/mastra-ai/mastra/commit/69821ef806482e2c44e2197ac0b050c3fe3a5285), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`58e3931`](https://github.com/mastra-ai/mastra/commit/58e3931af9baa5921688566210f00fb0c10479fa), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3), [`439eaf7`](https://github.com/mastra-ai/mastra/commit/439eaf75447809b05e326666675a4dcbf9c334ce), [`3d3c9e7`](https://github.com/mastra-ai/mastra/commit/3d3c9e7dc0b7b291abe6a11cf3807dd130034961), [`887f0b4`](https://github.com/mastra-ai/mastra/commit/887f0b4746cdbd7cb7d6b17ac9f82aeb58037ea5), [`580b592`](https://github.com/mastra-ai/mastra/commit/580b5927afc82fe460dfdf9a38a902511b6b7e7f), [`b98d9a0`](https://github.com/mastra-ai/mastra/commit/b98d9a02e1a4381a4faf65b7371fe76978a42d2e), [`7fa87f0`](https://github.com/mastra-ai/mastra/commit/7fa87f09b9edfd45a274e5e0d5e109d1a5d9ae8b), [`2562143`](https://github.com/mastra-ai/mastra/commit/256214336b4faa78646c9c1776612393790d8784), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`bec5efd`](https://github.com/mastra-ai/mastra/commit/bec5efde96653ccae6604e68c696d1bc6c1a0bf5), [`5947fcd`](https://github.com/mastra-ai/mastra/commit/5947fcdd425531f29f9422026d466c2ee3113c93), [`4aa55b3`](https://github.com/mastra-ai/mastra/commit/4aa55b383cf06043943359ea316572fd969861a7), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b), [`1ed5716`](https://github.com/mastra-ai/mastra/commit/1ed5716830867b3774c4a1b43cc0d82935f32b96), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db), [`2ca67cc`](https://github.com/mastra-ai/mastra/commit/2ca67cc3bb1f6a617353fdcab197d9efebe60d6f), [`9eedf7d`](https://github.com/mastra-ai/mastra/commit/9eedf7de1d6e0022a2f4e5e9e6fe1ec468f9b43c), [`b339816`](https://github.com/mastra-ai/mastra/commit/b339816df0984d0243d944ac2655d6ba5f809cde), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176), [`4186bdd`](https://github.com/mastra-ai/mastra/commit/4186bdd00731305726fa06adba0b076a1d50b49f), [`08bb631`](https://github.com/mastra-ai/mastra/commit/08bb631ae2b14684b2678e3549d0b399a6f0561e), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b), [`151fe4d`](https://github.com/mastra-ai/mastra/commit/151fe4dd441c8ee038c628a3b9bbece7caf9b406), [`6cbb549`](https://github.com/mastra-ai/mastra/commit/6cbb549475201a2fbf158f0fd7323f6495f46d08), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`e24d4c0`](https://github.com/mastra-ai/mastra/commit/e24d4c0e8a340c47cfa901ebe299cb9ed6c699b4), [`9e67002`](https://github.com/mastra-ai/mastra/commit/9e67002b52c9be19936c420a489dbee9c5fd6a78), [`7aaf973`](https://github.com/mastra-ai/mastra/commit/7aaf973f83fbbe9521f1f9e7a4fd99b8de464617), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`35edc49`](https://github.com/mastra-ai/mastra/commit/35edc49ac0556db609189641d6341e76771b81fc), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`ef11a61`](https://github.com/mastra-ai/mastra/commit/ef11a61920fa0ed08a5b7ceedd192875af119749), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`dfe0f61`](https://github.com/mastra-ai/mastra/commit/dfe0f61b48a8b0ad43e55b0c88920089d199a7eb), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`55ae5af`](https://github.com/mastra-ai/mastra/commit/55ae5afa0a59d777e519825171cef9d73f02992e), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`4fba91b`](https://github.com/mastra-ai/mastra/commit/4fba91bec7c95911dc28e369437596b152b04cd0), [`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393), [`e7266a2`](https://github.com/mastra-ai/mastra/commit/e7266a278db02035c97a5e9cd9d1669a6b7a535d), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019), [`7691bb3`](https://github.com/mastra-ai/mastra/commit/7691bb317f62d43b0733209aaa83b428414c8dd1), [`106c960`](https://github.com/mastra-ai/mastra/commit/106c960df5d110ec15ac8f45de8858597fb90ad5), [`ee6c628`](https://github.com/mastra-ai/mastra/commit/ee6c628fabfb18323bee319268d122f3835e393f), [`12b0cc4`](https://github.com/mastra-ai/mastra/commit/12b0cc4077d886b1a552637dedb70a7ade93528c), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
|
|
923
|
+
- @mastra/core@1.0.0
|
|
924
|
+
- @mastra/client-js@1.0.0
|
|
925
|
+
- @mastra/ai-sdk@1.0.0
|
|
926
|
+
- @mastra/react@0.1.0
|
|
927
|
+
- @mastra/schema-compat@1.0.0
|
|
928
|
+
|
|
929
|
+
## 7.0.0-beta.27
|
|
930
|
+
|
|
931
|
+
### Patch Changes
|
|
932
|
+
|
|
933
|
+
- Updated dependencies [[`50fd320`](https://github.com/mastra-ai/mastra/commit/50fd320003d0d93831c230ef531bef41f5ba7b3a)]:
|
|
934
|
+
- @mastra/core@1.0.0-beta.27
|
|
935
|
+
- @mastra/client-js@1.0.0-beta.27
|
|
936
|
+
- @mastra/react@0.1.0-beta.27
|
|
937
|
+
|
|
938
|
+
## 7.0.0-beta.26
|
|
939
|
+
|
|
940
|
+
### Patch Changes
|
|
941
|
+
|
|
942
|
+
- Fixed scorer eligibility check in observability to also check span.entityType field ([#12078](https://github.com/mastra-ai/mastra/pull/12078))
|
|
943
|
+
|
|
944
|
+
- Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
|
|
945
|
+
- @mastra/client-js@1.0.0-beta.26
|
|
946
|
+
- @mastra/core@1.0.0-beta.26
|
|
947
|
+
- @mastra/react@0.1.0-beta.26
|
|
948
|
+
- @mastra/ai-sdk@1.0.0-beta.16
|
|
949
|
+
|
|
950
|
+
## 7.0.0-beta.25
|
|
951
|
+
|
|
952
|
+
### Patch Changes
|
|
953
|
+
|
|
954
|
+
- Added human-in-the-loop (HITL) tool approval support for `generate()` method. ([#12056](https://github.com/mastra-ai/mastra/pull/12056))
|
|
955
|
+
|
|
956
|
+
**Why:** This provides parity between `stream()` and `generate()` for tool approval flows, allowing non-streaming use cases to leverage `requireToolApproval` without needing to switch to streaming.
|
|
957
|
+
|
|
958
|
+
Previously, tool approval with `requireToolApproval` only worked with `stream()`. Now you can use the same approval flow with `generate()` for non-streaming use cases.
|
|
959
|
+
|
|
960
|
+
**Using tool approval with generate()**
|
|
961
|
+
|
|
962
|
+
```typescript
|
|
963
|
+
const output = await agent.generate('Find user John', {
|
|
964
|
+
requireToolApproval: true,
|
|
965
|
+
});
|
|
966
|
+
|
|
967
|
+
// Check if a tool is waiting for approval
|
|
968
|
+
if (output.finishReason === 'suspended') {
|
|
969
|
+
console.log('Tool requires approval:', output.suspendPayload.toolName);
|
|
970
|
+
|
|
971
|
+
// Approve the tool call
|
|
972
|
+
const result = await agent.approveToolCallGenerate({
|
|
973
|
+
runId: output.runId,
|
|
974
|
+
toolCallId: output.suspendPayload.toolCallId,
|
|
975
|
+
});
|
|
976
|
+
|
|
977
|
+
console.log(result.text);
|
|
978
|
+
}
|
|
979
|
+
```
|
|
980
|
+
|
|
981
|
+
**Declining a tool call**
|
|
982
|
+
|
|
983
|
+
```typescript
|
|
984
|
+
if (output.finishReason === 'suspended') {
|
|
985
|
+
const result = await agent.declineToolCallGenerate({
|
|
986
|
+
runId: output.runId,
|
|
987
|
+
toolCallId: output.suspendPayload.toolCallId,
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
```
|
|
991
|
+
|
|
992
|
+
**New methods added:**
|
|
993
|
+
- `agent.approveToolCallGenerate({ runId, toolCallId })` - Approves a pending tool call and returns the complete result
|
|
994
|
+
- `agent.declineToolCallGenerate({ runId, toolCallId })` - Declines a pending tool call and returns the complete result
|
|
995
|
+
|
|
996
|
+
**Server routes added:**
|
|
997
|
+
- `POST /api/agents/:agentId/approve-tool-call-generate`
|
|
998
|
+
- `POST /api/agents/:agentId/decline-tool-call-generate`
|
|
999
|
+
|
|
1000
|
+
The playground UI now also supports tool approval when using generate mode.
|
|
1001
|
+
|
|
1002
|
+
- Fix navigation for processors Studio tab ([#12062](https://github.com/mastra-ai/mastra/pull/12062))
|
|
1003
|
+
|
|
1004
|
+
- Added Processors tab to Mastra Studio. You can now view all configured processors, see which agents use them, and test processors directly from the UI. Processor workflows automatically redirect to the workflow graph view with a simplified input mode for testing. ([#12059](https://github.com/mastra-ai/mastra/pull/12059))
|
|
1005
|
+
|
|
1006
|
+
- Updated dependencies [[`ed3e3dd`](https://github.com/mastra-ai/mastra/commit/ed3e3ddec69d564fe2b125e083437f76331f1283), [`6833c69`](https://github.com/mastra-ai/mastra/commit/6833c69607418d257750bbcdd84638993d343539), [`47b1c16`](https://github.com/mastra-ai/mastra/commit/47b1c16a01c7ffb6765fe1e499b49092f8b7eba3), [`47b1c16`](https://github.com/mastra-ai/mastra/commit/47b1c16a01c7ffb6765fe1e499b49092f8b7eba3), [`3a76a80`](https://github.com/mastra-ai/mastra/commit/3a76a80284cb71a0faa975abb3d4b2a9631e60cd), [`8538a0d`](https://github.com/mastra-ai/mastra/commit/8538a0d232619bf55dad7ddc2a8b0ca77c679a87), [`9312dcd`](https://github.com/mastra-ai/mastra/commit/9312dcd1c6f5b321929e7d382e763d95fdc030f5), [`7691bb3`](https://github.com/mastra-ai/mastra/commit/7691bb317f62d43b0733209aaa83b428414c8dd1)]:
|
|
1007
|
+
- @mastra/core@1.0.0-beta.25
|
|
1008
|
+
- @mastra/client-js@1.0.0-beta.25
|
|
1009
|
+
- @mastra/react@1.0.0-beta.25
|
|
1010
|
+
- @mastra/schema-compat@1.0.0-beta.8
|
|
1011
|
+
- @mastra/ai-sdk@1.0.0-beta.16
|
|
1012
|
+
|
|
1013
|
+
## 7.0.0-beta.24
|
|
1014
|
+
|
|
1015
|
+
### Minor Changes
|
|
1016
|
+
|
|
1017
|
+
- Enhance design system components with visual polish and micro-interactions. ([#12045](https://github.com/mastra-ai/mastra/pull/12045))
|
|
1018
|
+
|
|
1019
|
+
Phase 2 of DS enhancement covering 40+ components:
|
|
1020
|
+
- **Form Controls**: Checkbox, RadioGroup, Switch, Slider, Combobox with focus rings, hover states, and smooth transitions
|
|
1021
|
+
- **Navigation**: Tabs with animated indicator, Steps with progress animation, Collapsible with icon rotation
|
|
1022
|
+
- **Feedback**: Alert with entrance animation, Notification with slide animations, Skeleton with gradient shimmer
|
|
1023
|
+
- **Display**: Badge with semantic variants, Avatar with interactive mode, StatusBadge enhancements
|
|
1024
|
+
- **Layout**: SideDialog with backdrop blur, ScrollArea with visibility transitions
|
|
1025
|
+
|
|
1026
|
+
All components now use consistent design tokens (duration-normal, ease-out-custom, shadow-focus-ring) and GPU-accelerated properties for smooth 60fps animations.
|
|
1027
|
+
|
|
1028
|
+
### Patch Changes
|
|
1029
|
+
|
|
1030
|
+
- Updated dependencies [[`1dbd8c7`](https://github.com/mastra-ai/mastra/commit/1dbd8c729fb6536ec52f00064d76b80253d346e9), [`c59e13c`](https://github.com/mastra-ai/mastra/commit/c59e13c7688284bd96b2baee3e314335003548de), [`f93e2f5`](https://github.com/mastra-ai/mastra/commit/f93e2f575e775e627e5c1927cefdd72db07858ed), [`461e448`](https://github.com/mastra-ai/mastra/commit/461e448852fe999506a6046d50b1efc27d8aa378), [`f9a2509`](https://github.com/mastra-ai/mastra/commit/f9a25093ea72d210a5e52cfcb3bcc8b5e02dc25c), [`64554f4`](https://github.com/mastra-ai/mastra/commit/64554f48f26f028b738a04576d34ff992983529e), [`7a010c5`](https://github.com/mastra-ai/mastra/commit/7a010c56b846a313a49ae42fccd3d8de2b9f292d)]:
|
|
1031
|
+
- @mastra/core@1.0.0-beta.24
|
|
1032
|
+
- @mastra/schema-compat@1.0.0-beta.7
|
|
1033
|
+
- @mastra/client-js@1.0.0-beta.24
|
|
1034
|
+
- @mastra/react@1.0.0-beta.24
|
|
1035
|
+
|
|
1036
|
+
## 7.0.0-beta.23
|
|
1037
|
+
|
|
1038
|
+
### Patch Changes
|
|
1039
|
+
|
|
1040
|
+
- Updated dependencies [[`c8417b4`](https://github.com/mastra-ai/mastra/commit/c8417b41d9f3486854dc7842d977fbe5e2166264), [`dd4f34c`](https://github.com/mastra-ai/mastra/commit/dd4f34c78cbae24063463475b0619575c415f9b8)]:
|
|
1041
|
+
- @mastra/core@1.0.0-beta.23
|
|
1042
|
+
- @mastra/client-js@1.0.0-beta.23
|
|
1043
|
+
- @mastra/react@0.1.0-beta.23
|
|
1044
|
+
|
|
1045
|
+
## 7.0.0-beta.22
|
|
1046
|
+
|
|
1047
|
+
### Minor Changes
|
|
1048
|
+
|
|
1049
|
+
- Added consistent sizing, radius, and focus effects across all form elements. ([#11970](https://github.com/mastra-ai/mastra/pull/11970))
|
|
1050
|
+
|
|
1051
|
+
**New size prop** for form elements with unified values:
|
|
1052
|
+
- `sm` (24px)
|
|
1053
|
+
- `md` (32px)
|
|
1054
|
+
- `lg` (40px)
|
|
1055
|
+
|
|
1056
|
+
Components now share a consistent `size` prop: Button, Input, SelectTrigger, Searchbar, InputField, SelectField, and Combobox.
|
|
1057
|
+
|
|
1058
|
+
```tsx
|
|
1059
|
+
// Before - inconsistent props
|
|
1060
|
+
<Input customSize="default" />
|
|
1061
|
+
<Button size="md" /> // was 24px
|
|
1062
|
+
|
|
1063
|
+
// After - unified size prop
|
|
1064
|
+
<Input size="md" />
|
|
1065
|
+
<Button size="md" /> // now 32px
|
|
1066
|
+
<SelectTrigger size="lg" />
|
|
1067
|
+
```
|
|
1068
|
+
|
|
1069
|
+
**Breaking changes:**
|
|
1070
|
+
- Input: `customSize` prop renamed to `size`
|
|
1071
|
+
- Button: `size="md"` now renders at 32px (was 24px). Use `size="sm"` for 24px height.
|
|
1072
|
+
|
|
1073
|
+
**Other changes:**
|
|
1074
|
+
- All form elements now use `rounded-md` radius
|
|
1075
|
+
- All form elements now use `focus:outline focus:outline-accent1` focus effect
|
|
1076
|
+
- Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
|
|
1077
|
+
|
|
1078
|
+
- Added platform-aware navigation filtering using `useMastraPlatform` hook. Nav links now include an `isOnMastraPlatform` property that controls visibility based on whether the app is running on Mastra Platform or locally. ([#11990](https://github.com/mastra-ai/mastra/pull/11990))
|
|
1079
|
+
|
|
1080
|
+
- consolidate duplicated components between ds and ui directories ([#11876](https://github.com/mastra-ai/mastra/pull/11876))
|
|
1081
|
+
|
|
1082
|
+
### Patch Changes
|
|
1083
|
+
|
|
1084
|
+
- Add Storybook stories for all design system components. Includes stories for 48 components organized by category (Elements, Feedback, Navigation, DataDisplay, Layout, Composite) plus an Icons showcase displaying all 41 icons. ([#11921](https://github.com/mastra-ai/mastra/pull/11921))
|
|
1085
|
+
|
|
1086
|
+
- Consolidate UI components into design system folder. Moves all UI primitives from `src/components/ui/` to `src/ds/components/` to establish a single source of truth for UI components. Import paths updated across the codebase. No API changes - all exports remain the same. ([#11886](https://github.com/mastra-ai/mastra/pull/11886))
|
|
1087
|
+
|
|
1088
|
+
- Consolidate Tailwind config as the single source of truth. The playground package now imports the config via a preset export instead of duplicating all theme definitions. ([#11916](https://github.com/mastra-ai/mastra/pull/11916))
|
|
1089
|
+
|
|
1090
|
+
- Aligned border, background, and radius styles across Dialog, AlertDialog, Popover, and Select components for visual consistency. All overlay components now use border-border1, bg-surface3, and rounded-md. ([#11974](https://github.com/mastra-ai/mastra/pull/11974))
|
|
1091
|
+
|
|
1092
|
+
- Add human-in-the-loop (HITL) support to agent networks ([#11678](https://github.com/mastra-ai/mastra/pull/11678))
|
|
1093
|
+
- Add suspend/resume capabilities to agent network
|
|
1094
|
+
- Enable auto-resume for suspended network execution via `autoResumeSuspendedTools`
|
|
1095
|
+
|
|
1096
|
+
`agent.resumeNetwork`, `agent.approveNetworkToolCall`, `agent.declineNetworkToolCall`
|
|
1097
|
+
|
|
1098
|
+
- fix(playground-ui): prevent temperature and topP conflict for Anthropic Claude 4.5+ models ([#11777](https://github.com/mastra-ai/mastra/pull/11777))
|
|
1099
|
+
- Auto-clear topP for Claude 4.5+ models when both temperature and topP are set
|
|
1100
|
+
- Show warning banner when user manually sets both values for restricted models
|
|
1101
|
+
- Non-restricted models (OpenAI, Google, Claude 3.5) keep both defaults
|
|
1102
|
+
|
|
1103
|
+
Fixes #11760
|
|
1104
|
+
|
|
1105
|
+
- Removed legacy spacing tokens (sm, md, lg) from the design system. These tokens were deprecated aliases that mapped to standard Tailwind spacing values (0.5, 1, 2). All components have been updated to use the standard spacing tokens directly. ([#11978](https://github.com/mastra-ai/mastra/pull/11978))
|
|
1106
|
+
|
|
1107
|
+
- Move AutoForm from ds/components to lib/form for better organization ([#11915](https://github.com/mastra-ai/mastra/pull/11915))
|
|
1108
|
+
|
|
1109
|
+
- Merge `IconColors` into `Colors` object in design tokens. Icon color tokens (`icon1` through `icon6`) are now part of the main `Colors` export. ([#11932](https://github.com/mastra-ai/mastra/pull/11932))
|
|
1110
|
+
|
|
1111
|
+
- Remove legacy `colors.mastra` from Tailwind config and migrate to design system tokens (`Colors`, `IconColors`). ([#11925](https://github.com/mastra-ai/mastra/pull/11925))
|
|
1112
|
+
|
|
1113
|
+
- Rollback color of sidebar cloud cta ([#11877](https://github.com/mastra-ai/mastra/pull/11877))
|
|
1114
|
+
|
|
1115
|
+
- Remove unused keyframes and animations from tailwind config ([#11930](https://github.com/mastra-ai/mastra/pull/11930))
|
|
1116
|
+
|
|
1117
|
+
- Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
|
|
1118
|
+
|
|
1119
|
+
- Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
|
|
1120
|
+
- Changed arbitrary spacing values like `gap-[1rem]`, `p-[1.5rem]`, `px-[2rem]` to standard classes (`gap-4`, `p-6`, `px-8`)
|
|
1121
|
+
- Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
|
|
1122
|
+
- Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
|
|
1123
|
+
- Updated duration values from `duration-[1s]` to `duration-1000`
|
|
1124
|
+
|
|
1125
|
+
- Replaced arbitrary Tailwind text sizes with semantic design tokens for consistent typography. ([#11956](https://github.com/mastra-ai/mastra/pull/11956))
|
|
1126
|
+
|
|
1127
|
+
**Changes:**
|
|
1128
|
+
- Consolidated font size tokens from 5 fractional rem values to 8 clean sizes
|
|
1129
|
+
- Replaced 129 occurrences of arbitrary `text-[...]` patterns across 44 files
|
|
1130
|
+
- Added new header size tokens (`header-sm`, `header-lg`, `header-xl`)
|
|
1131
|
+
|
|
1132
|
+
**New token scale:**
|
|
1133
|
+
- `ui-xs`: 10px
|
|
1134
|
+
- `ui-sm`: 12px (was 11px)
|
|
1135
|
+
- `ui-md`: 14px (was 12px)
|
|
1136
|
+
- `ui-lg`: 16px (was 13px)
|
|
1137
|
+
- `header-sm`: 18px
|
|
1138
|
+
- `header-md`: 20px (was 16px)
|
|
1139
|
+
- `header-lg`: 24px
|
|
1140
|
+
- `header-xl`: 28px
|
|
1141
|
+
|
|
1142
|
+
- Replaced direct `clsx` imports with the `cn` utility across all components for consistent Tailwind class merging. ([#11938](https://github.com/mastra-ai/mastra/pull/11938))
|
|
1143
|
+
|
|
1144
|
+
- Replace CSS variable colors with design tokens ([#11928](https://github.com/mastra-ai/mastra/pull/11928))
|
|
1145
|
+
|
|
1146
|
+
- Removed unused files, dependencies, and exports from playground packages. Deleted orphaned tool-list.tsx and workflow-list.tsx components, removed unused react-code-block dependency, and cleaned up 12 unused exports across object utilities, string helpers, and hooks. ([#11979](https://github.com/mastra-ai/mastra/pull/11979))
|
|
1147
|
+
|
|
1148
|
+
- Converted spacing design tokens from pixels to REM units for better accessibility. Spacing now scales with the user's browser font size settings. All existing Tailwind spacing classes (`p-4`, `gap-2`, `m-8`, etc.) continue to work unchanged. ([#11968](https://github.com/mastra-ai/mastra/pull/11968))
|
|
1149
|
+
|
|
1150
|
+
- Simplify Storybook configuration by removing Radix UI module resolution hacks and creating a dedicated CSS file for Storybook ([#11920](https://github.com/mastra-ai/mastra/pull/11920))
|
|
1151
|
+
|
|
1152
|
+
- Agent's right sidebar is now 30% wide before resizing. It makes it easier to read the information at a first glance ([#11803](https://github.com/mastra-ai/mastra/pull/11803))
|
|
1153
|
+
|
|
1154
|
+
- Updated dependencies [[`ebae12a`](https://github.com/mastra-ai/mastra/commit/ebae12a2dd0212e75478981053b148a2c246962d), [`c61a0a5`](https://github.com/mastra-ai/mastra/commit/c61a0a5de4904c88fd8b3718bc26d1be1c2ec6e7), [`69136e7`](https://github.com/mastra-ai/mastra/commit/69136e748e32f57297728a4e0f9a75988462f1a7), [`449aed2`](https://github.com/mastra-ai/mastra/commit/449aed2ba9d507b75bf93d427646ea94f734dfd1), [`eb648a2`](https://github.com/mastra-ai/mastra/commit/eb648a2cc1728f7678768dd70cd77619b448dab9), [`0131105`](https://github.com/mastra-ai/mastra/commit/0131105532e83bdcbb73352fc7d0879eebf140dc), [`9d5059e`](https://github.com/mastra-ai/mastra/commit/9d5059eae810829935fb08e81a9bb7ecd5b144a7), [`ef756c6`](https://github.com/mastra-ai/mastra/commit/ef756c65f82d16531c43f49a27290a416611e526), [`b00ccd3`](https://github.com/mastra-ai/mastra/commit/b00ccd325ebd5d9e37e34dd0a105caae67eb568f), [`e09a788`](https://github.com/mastra-ai/mastra/commit/e09a788e01698a711c7f705ce8d64ef8a20c3582), [`3bdfa75`](https://github.com/mastra-ai/mastra/commit/3bdfa7507a91db66f176ba8221aa28dd546e464a), [`e770de9`](https://github.com/mastra-ai/mastra/commit/e770de941a287a49b1964d44db5a5763d19890a6), [`52e2716`](https://github.com/mastra-ai/mastra/commit/52e2716b42df6eff443de72360ae83e86ec23993), [`27b4040`](https://github.com/mastra-ai/mastra/commit/27b4040bfa1a95d92546f420a02a626b1419a1d6), [`610a70b`](https://github.com/mastra-ai/mastra/commit/610a70bdad282079f0c630e0d7bb284578f20151), [`8dc7f55`](https://github.com/mastra-ai/mastra/commit/8dc7f55900395771da851dc7d78d53ae84fe34ec), [`8379099`](https://github.com/mastra-ai/mastra/commit/8379099fc467af6bef54dd7f80c9bd75bf8bbddf), [`8c0ec25`](https://github.com/mastra-ai/mastra/commit/8c0ec25646c8a7df253ed1e5ff4863a0d3f1316c), [`ff4d9a6`](https://github.com/mastra-ai/mastra/commit/ff4d9a6704fc87b31a380a76ed22736fdedbba5a), [`69821ef`](https://github.com/mastra-ai/mastra/commit/69821ef806482e2c44e2197ac0b050c3fe3a5285), [`1ed5716`](https://github.com/mastra-ai/mastra/commit/1ed5716830867b3774c4a1b43cc0d82935f32b96), [`4186bdd`](https://github.com/mastra-ai/mastra/commit/4186bdd00731305726fa06adba0b076a1d50b49f), [`7aaf973`](https://github.com/mastra-ai/mastra/commit/7aaf973f83fbbe9521f1f9e7a4fd99b8de464617)]:
|
|
1155
|
+
- @mastra/core@1.0.0-beta.22
|
|
1156
|
+
- @mastra/react@0.1.0-beta.22
|
|
1157
|
+
- @mastra/client-js@1.0.0-beta.22
|
|
1158
|
+
- @mastra/ai-sdk@1.0.0-beta.15
|
|
1159
|
+
|
|
1160
|
+
## 7.0.0-beta.21
|
|
1161
|
+
|
|
1162
|
+
### Patch Changes
|
|
1163
|
+
|
|
1164
|
+
- Replace deprecated client.getTraces with a client.listTraces ([#11711](https://github.com/mastra-ai/mastra/pull/11711))
|
|
1165
|
+
|
|
1166
|
+
- Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
|
|
1167
|
+
|
|
1168
|
+
- Updated dependencies [[`08766f1`](https://github.com/mastra-ai/mastra/commit/08766f15e13ac0692fde2a8bd366c2e16e4321df), [`ae8baf7`](https://github.com/mastra-ai/mastra/commit/ae8baf7d8adcb0ff9dac11880400452bc49b33ff), [`cfabdd4`](https://github.com/mastra-ai/mastra/commit/cfabdd4aae7a726b706942d6836eeca110fb6267), [`3bf08bf`](https://github.com/mastra-ai/mastra/commit/3bf08bf9c7c73818ac937b5a69d90e205653115f), [`a0e437f`](https://github.com/mastra-ai/mastra/commit/a0e437fac561b28ee719e0302d72b2f9b4c138f0), [`bec5efd`](https://github.com/mastra-ai/mastra/commit/bec5efde96653ccae6604e68c696d1bc6c1a0bf5), [`9eedf7d`](https://github.com/mastra-ai/mastra/commit/9eedf7de1d6e0022a2f4e5e9e6fe1ec468f9b43c)]:
|
|
1169
|
+
- @mastra/core@1.0.0-beta.21
|
|
1170
|
+
- @mastra/schema-compat@1.0.0-beta.6
|
|
1171
|
+
- @mastra/ai-sdk@1.0.0-beta.14
|
|
1172
|
+
- @mastra/client-js@1.0.0-beta.21
|
|
1173
|
+
- @mastra/react@0.1.0-beta.21
|
|
1174
|
+
|
|
1175
|
+
## 7.0.0-beta.20
|
|
1176
|
+
|
|
1177
|
+
### Patch Changes
|
|
1178
|
+
|
|
1179
|
+
- dependencies updates: ([#11404](https://github.com/mastra-ai/mastra/pull/11404))
|
|
1180
|
+
- Updated dependency [`zustand@^5.0.9` ↗︎](https://www.npmjs.com/package/zustand/v/5.0.9) (from `^5.0.8`, in `dependencies`)
|
|
1181
|
+
|
|
1182
|
+
- dependencies updates: ([#11588](https://github.com/mastra-ai/mastra/pull/11588))
|
|
1183
|
+
- Updated dependency [`zustand@^5.0.9` ↗︎](https://www.npmjs.com/package/zustand/v/5.0.9) (from `^5.0.8`, in `dependencies`)
|
|
1184
|
+
|
|
1185
|
+
- Add missing loading state handlers to TanStack Query hooks. Components now properly show skeleton/loading UI instead of returning null or rendering incomplete states while data is being fetched. ([#11681](https://github.com/mastra-ai/mastra/pull/11681))
|
|
1186
|
+
|
|
1187
|
+
- Remove `streamVNext`, `resumeStreamVNext`, and `observeStreamVNext` methods, call `stream`, `resumeStream` and `observeStream` directly ([#11499](https://github.com/mastra-ai/mastra/pull/11499))
|
|
1188
|
+
|
|
1189
|
+
```diff
|
|
1190
|
+
+ const run = await workflow.createRun({ runId: '123' });
|
|
1191
|
+
- const stream = await run.streamVNext({ inputData: { ... } });
|
|
1192
|
+
+ const stream = await run.stream({ inputData: { ... } });
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1195
|
+
- Dedupe Avatar component by removing UI avatar and using DS Avatar with size variants ([#11637](https://github.com/mastra-ai/mastra/pull/11637))
|
|
1196
|
+
|
|
1197
|
+
- Consolidate date picker components by removing duplicate DatePicker and Calendar components. DateField now uses the DayPicker wrapper from date-time-picker folder directly. ([#11649](https://github.com/mastra-ai/mastra/pull/11649))
|
|
1198
|
+
|
|
1199
|
+
- Consolidate tabs components: remove redundant implementations and add onClose prop support ([#11650](https://github.com/mastra-ai/mastra/pull/11650))
|
|
1200
|
+
|
|
1201
|
+
- Use the same Button component every where. Remove duplicates. ([#11635](https://github.com/mastra-ai/mastra/pull/11635))
|
|
1202
|
+
|
|
1203
|
+
- Add initial state input to workflow form in studio ([#11560](https://github.com/mastra-ai/mastra/pull/11560))
|
|
1204
|
+
|
|
1205
|
+
- Remove unused files and dependencies identified by Knip ([#11677](https://github.com/mastra-ai/mastra/pull/11677))
|
|
1206
|
+
|
|
1207
|
+
- Fix react/react-DOM version mismatch. ([#11620](https://github.com/mastra-ai/mastra/pull/11620))
|
|
1208
|
+
|
|
1209
|
+
- Adds thread cloning to create independent copies of conversations that can diverge. ([#11517](https://github.com/mastra-ai/mastra/pull/11517))
|
|
1210
|
+
|
|
1211
|
+
```typescript
|
|
1212
|
+
// Clone a thread
|
|
1213
|
+
const { thread, clonedMessages } = await memory.cloneThread({
|
|
1214
|
+
sourceThreadId: 'thread-123',
|
|
1215
|
+
title: 'My Clone',
|
|
1216
|
+
options: {
|
|
1217
|
+
messageLimit: 10, // optional: only copy last N messages
|
|
1218
|
+
},
|
|
1219
|
+
});
|
|
1220
|
+
|
|
1221
|
+
// Check if a thread is a clone
|
|
1222
|
+
if (memory.isClone(thread)) {
|
|
1223
|
+
const source = await memory.getSourceThread(thread.id);
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
// List all clones of a thread
|
|
1227
|
+
const clones = await memory.listClones('thread-123');
|
|
1228
|
+
```
|
|
1229
|
+
|
|
1230
|
+
Includes:
|
|
1231
|
+
- Storage implementations for InMemory, PostgreSQL, LibSQL, Upstash
|
|
1232
|
+
- API endpoint: `POST /api/memory/threads/:threadId/clone`
|
|
1233
|
+
- Embeddings created for cloned messages (semantic recall)
|
|
1234
|
+
- Clone button in playground UI Memory tab
|
|
1235
|
+
|
|
1236
|
+
- Display network completion validation results and scorer feedback in the Playground when viewing agent network runs, letting users see pass/fail status and actionable feedback from completion scorers ([#11562](https://github.com/mastra-ai/mastra/pull/11562))
|
|
1237
|
+
|
|
1238
|
+
- Unified `getWorkflowRunById` and `getWorkflowRunExecutionResult` into a single API that returns `WorkflowState` with both metadata and execution state. ([#11429](https://github.com/mastra-ai/mastra/pull/11429))
|
|
1239
|
+
|
|
1240
|
+
**What changed:**
|
|
1241
|
+
- `getWorkflowRunById` now returns a unified `WorkflowState` object containing metadata (runId, workflowName, resourceId, createdAt, updatedAt) along with processed execution state (status, result, error, payload, steps)
|
|
1242
|
+
- Added optional `fields` parameter to request only specific fields for better performance
|
|
1243
|
+
- Added optional `withNestedWorkflows` parameter to control nested workflow step inclusion
|
|
1244
|
+
- Removed `getWorkflowRunExecutionResult` - use `getWorkflowRunById` instead (breaking change)
|
|
1245
|
+
- Removed `/execution-result` API endpoints from server (breaking change)
|
|
1246
|
+
- Removed `runExecutionResult()` method from client SDK (breaking change)
|
|
1247
|
+
- Removed `GetWorkflowRunExecutionResultResponse` type from client SDK (breaking change)
|
|
1248
|
+
|
|
1249
|
+
**Before:**
|
|
1250
|
+
|
|
1251
|
+
```typescript
|
|
1252
|
+
// Had to call two different methods for different data
|
|
1253
|
+
const run = await workflow.getWorkflowRunById(runId); // Returns raw WorkflowRun with snapshot
|
|
1254
|
+
const result = await workflow.getWorkflowRunExecutionResult(runId); // Returns processed execution state
|
|
1255
|
+
```
|
|
1256
|
+
|
|
1257
|
+
**After:**
|
|
1258
|
+
|
|
1259
|
+
```typescript
|
|
1260
|
+
// Single method returns everything
|
|
1261
|
+
const run = await workflow.getWorkflowRunById(runId);
|
|
1262
|
+
// Returns: { runId, workflowName, resourceId, createdAt, updatedAt, status, result, error, payload, steps }
|
|
1263
|
+
|
|
1264
|
+
// Request only specific fields for better performance (avoids expensive step fetching)
|
|
1265
|
+
const status = await workflow.getWorkflowRunById(runId, { fields: ['status'] });
|
|
1266
|
+
|
|
1267
|
+
// Skip nested workflow steps for faster response
|
|
1268
|
+
const run = await workflow.getWorkflowRunById(runId, { withNestedWorkflows: false });
|
|
1269
|
+
```
|
|
1270
|
+
|
|
1271
|
+
**Why:** The previous API required calling two separate methods to get complete workflow run information. This unification simplifies the API surface and gives users control over performance - fetching all steps (especially nested workflows) can be expensive, so the `fields` and `withNestedWorkflows` options let users request only what they need.
|
|
1272
|
+
|
|
1273
|
+
- Updated dependencies [[`d2d3e22`](https://github.com/mastra-ai/mastra/commit/d2d3e22a419ee243f8812a84e3453dd44365ecb0), [`bc72b52`](https://github.com/mastra-ai/mastra/commit/bc72b529ee4478fe89ecd85a8be47ce0127b82a0), [`05b8bee`](https://github.com/mastra-ai/mastra/commit/05b8bee9e50e6c2a4a2bf210eca25ee212ca24fa), [`c042bd0`](https://github.com/mastra-ai/mastra/commit/c042bd0b743e0e86199d0cb83344ca7690e34a9c), [`940a2b2`](https://github.com/mastra-ai/mastra/commit/940a2b27480626ed7e74f55806dcd2181c1dd0c2), [`e0941c3`](https://github.com/mastra-ai/mastra/commit/e0941c3d7fc75695d5d258e7008fd5d6e650800c), [`0c0580a`](https://github.com/mastra-ai/mastra/commit/0c0580a42f697cd2a7d5973f25bfe7da9055038a), [`28f5f89`](https://github.com/mastra-ai/mastra/commit/28f5f89705f2409921e3c45178796c0e0d0bbb64), [`e601b27`](https://github.com/mastra-ai/mastra/commit/e601b272c70f3a5ecca610373aa6223012704892), [`3d3366f`](https://github.com/mastra-ai/mastra/commit/3d3366f31683e7137d126a3a57174a222c5801fb), [`5a4953f`](https://github.com/mastra-ai/mastra/commit/5a4953f7d25bb15ca31ed16038092a39cb3f98b3), [`eb9e522`](https://github.com/mastra-ai/mastra/commit/eb9e522ce3070a405e5b949b7bf5609ca51d7fe2), [`20e6f19`](https://github.com/mastra-ai/mastra/commit/20e6f1971d51d3ff6dd7accad8aaaae826d540ed), [`2b7aede`](https://github.com/mastra-ai/mastra/commit/2b7aede89494efaf7c28efe264a86cad8ee1cee6), [`4f0b3c6`](https://github.com/mastra-ai/mastra/commit/4f0b3c66f196c06448487f680ccbb614d281e2f7), [`74c4f22`](https://github.com/mastra-ai/mastra/commit/74c4f22ed4c71e72598eacc346ba95cdbc00294f), [`81b6a8f`](https://github.com/mastra-ai/mastra/commit/81b6a8ff79f49a7549d15d66624ac1a0b8f5f971), [`e4d366a`](https://github.com/mastra-ai/mastra/commit/e4d366aeb500371dd4210d6aa8361a4c21d87034), [`a4f010b`](https://github.com/mastra-ai/mastra/commit/a4f010b22e4355a5fdee70a1fe0f6e4a692cc29e), [`73b0bb3`](https://github.com/mastra-ai/mastra/commit/73b0bb394dba7c9482eb467a97ab283dbc0ef4db), [`5627a8c`](https://github.com/mastra-ai/mastra/commit/5627a8c6dc11fe3711b3fa7a6ffd6eb34100a306), [`3ff45d1`](https://github.com/mastra-ai/mastra/commit/3ff45d10e0c80c5335a957ab563da72feb623520), [`251df45`](https://github.com/mastra-ai/mastra/commit/251df4531407dfa46d805feb40ff3fb49769f455), [`f894d14`](https://github.com/mastra-ai/mastra/commit/f894d148946629af7b1f452d65a9cf864cec3765), [`c2b9547`](https://github.com/mastra-ai/mastra/commit/c2b9547bf435f56339f23625a743b2147ab1c7a6), [`580b592`](https://github.com/mastra-ai/mastra/commit/580b5927afc82fe460dfdf9a38a902511b6b7e7f), [`58e3931`](https://github.com/mastra-ai/mastra/commit/58e3931af9baa5921688566210f00fb0c10479fa), [`580b592`](https://github.com/mastra-ai/mastra/commit/580b5927afc82fe460dfdf9a38a902511b6b7e7f), [`08bb631`](https://github.com/mastra-ai/mastra/commit/08bb631ae2b14684b2678e3549d0b399a6f0561e), [`4fba91b`](https://github.com/mastra-ai/mastra/commit/4fba91bec7c95911dc28e369437596b152b04cd0), [`106c960`](https://github.com/mastra-ai/mastra/commit/106c960df5d110ec15ac8f45de8858597fb90ad5), [`12b0cc4`](https://github.com/mastra-ai/mastra/commit/12b0cc4077d886b1a552637dedb70a7ade93528c)]:
|
|
1274
|
+
- @mastra/core@1.0.0-beta.20
|
|
1275
|
+
- @mastra/client-js@1.0.0-beta.20
|
|
1276
|
+
- @mastra/ai-sdk@1.0.0-beta.13
|
|
1277
|
+
- @mastra/react@0.1.0-beta.20
|
|
1278
|
+
|
|
1279
|
+
## 7.0.0-beta.19
|
|
1280
|
+
|
|
1281
|
+
### Patch Changes
|
|
1282
|
+
|
|
1283
|
+
- Updated dependencies [[`e54953e`](https://github.com/mastra-ai/mastra/commit/e54953ed8ce1b28c0d62a19950163039af7834b4), [`bd18eb0`](https://github.com/mastra-ai/mastra/commit/bd18eb0928b1c4f263426f45f49765b32d1ef802), [`7d56d92`](https://github.com/mastra-ai/mastra/commit/7d56d9213886e8353956d7d40df10045fd12b299), [`fdac646`](https://github.com/mastra-ai/mastra/commit/fdac646033a0930a1a4e00d13aa64c40bb7f1e02), [`d07b568`](https://github.com/mastra-ai/mastra/commit/d07b5687819ea8cb1dffa776d0c1765faf4aa1ae), [`70b300e`](https://github.com/mastra-ai/mastra/commit/70b300ebc631dfc0aa14e61547fef7994adb4ea6), [`68ec97d`](https://github.com/mastra-ai/mastra/commit/68ec97d4c07c6393fcf95c2481fc5d73da99f8c8), [`4aa55b3`](https://github.com/mastra-ai/mastra/commit/4aa55b383cf06043943359ea316572fd969861a7)]:
|
|
1284
|
+
- @mastra/core@1.0.0-beta.19
|
|
1285
|
+
- @mastra/ai-sdk@1.0.0-beta.12
|
|
1286
|
+
- @mastra/schema-compat@1.0.0-beta.5
|
|
1287
|
+
- @mastra/client-js@1.0.0-beta.19
|
|
1288
|
+
- @mastra/react@0.1.0-beta.19
|
|
1289
|
+
|
|
1290
|
+
## 7.0.0-beta.18
|
|
1291
|
+
|
|
1292
|
+
### Patch Changes
|
|
1293
|
+
|
|
1294
|
+
- Updated dependencies [[`5947fcd`](https://github.com/mastra-ai/mastra/commit/5947fcdd425531f29f9422026d466c2ee3113c93)]:
|
|
1295
|
+
- @mastra/core@1.0.0-beta.18
|
|
1296
|
+
- @mastra/client-js@1.0.0-beta.18
|
|
1297
|
+
- @mastra/react@0.1.0-beta.18
|
|
1298
|
+
|
|
1299
|
+
## 7.0.0-beta.17
|
|
1300
|
+
|
|
1301
|
+
### Patch Changes
|
|
1302
|
+
|
|
1303
|
+
- Updated dependencies [[`b5dc973`](https://github.com/mastra-ai/mastra/commit/b5dc9733a5158850298dfb103acb3babdba8a318), [`af56599`](https://github.com/mastra-ai/mastra/commit/af56599d73244ae3bf0d7bcade656410f8ded37b)]:
|
|
1304
|
+
- @mastra/core@1.0.0-beta.17
|
|
1305
|
+
- @mastra/schema-compat@1.0.0-beta.4
|
|
1306
|
+
- @mastra/client-js@1.0.0-beta.17
|
|
1307
|
+
- @mastra/react@0.1.0-beta.17
|
|
1308
|
+
|
|
1309
|
+
## 7.0.0-beta.16
|
|
1310
|
+
|
|
1311
|
+
### Patch Changes
|
|
1312
|
+
|
|
1313
|
+
- Fix workflow observability view broken by invalid entityType parameter ([#11427](https://github.com/mastra-ai/mastra/pull/11427))
|
|
1314
|
+
|
|
1315
|
+
The UI workflow observability view was failing with a Zod validation error when trying to filter traces by workflow. The UI was sending `entityType=workflow`, but the backend's `EntityType` enum only accepts `workflow_run`.
|
|
1316
|
+
|
|
1317
|
+
**Root Cause**: The legacy value transformation was happening in the handler (after validation), but Zod validation occurred earlier in the request pipeline, rejecting the request before it could be transformed.
|
|
1318
|
+
|
|
1319
|
+
**Solution**:
|
|
1320
|
+
- Added `z.preprocess()` to the query schema to transform `workflow` → `workflow_run` before validation
|
|
1321
|
+
- Kept handler transformation for defense in depth
|
|
1322
|
+
- Updated UI to use `EntityType.WORKFLOW_RUN` enum value for type safety
|
|
1323
|
+
|
|
1324
|
+
This maintains backward compatibility with legacy clients while fixing the validation error.
|
|
1325
|
+
|
|
1326
|
+
Fixes #11412
|
|
1327
|
+
|
|
1328
|
+
- Add container queries, adjust the agent chat and use container queries to better display information on the agent sidebar ([#11408](https://github.com/mastra-ai/mastra/pull/11408))
|
|
1329
|
+
|
|
1330
|
+
- Updated dependencies [[`3d93a15`](https://github.com/mastra-ai/mastra/commit/3d93a15796b158c617461c8b98bede476ebb43e2), [`efe406a`](https://github.com/mastra-ai/mastra/commit/efe406a1353c24993280ebc2ed61dd9f65b84b26), [`119e5c6`](https://github.com/mastra-ai/mastra/commit/119e5c65008f3e5cfca954eefc2eb85e3bf40da4), [`74e504a`](https://github.com/mastra-ai/mastra/commit/74e504a3b584eafd2f198001c6a113bbec589fd3), [`e33fdbd`](https://github.com/mastra-ai/mastra/commit/e33fdbd07b33920d81e823122331b0c0bee0bb59), [`929f69c`](https://github.com/mastra-ai/mastra/commit/929f69c3436fa20dd0f0e2f7ebe8270bd82a1529), [`6cbb549`](https://github.com/mastra-ai/mastra/commit/6cbb549475201a2fbf158f0fd7323f6495f46d08), [`8a73529`](https://github.com/mastra-ai/mastra/commit/8a73529ca01187f604b1f3019d0a725ac63ae55f)]:
|
|
1331
|
+
- @mastra/core@1.0.0-beta.16
|
|
1332
|
+
- @mastra/client-js@1.0.0-beta.16
|
|
1333
|
+
- @mastra/react@0.1.0-beta.16
|
|
1334
|
+
- @mastra/ai-sdk@1.0.0-beta.11
|
|
1335
|
+
|
|
1336
|
+
## 7.0.0-beta.15
|
|
1337
|
+
|
|
1338
|
+
### Minor Changes
|
|
1339
|
+
|
|
1340
|
+
- Unified observability schema with entity-based span identification ([#11132](https://github.com/mastra-ai/mastra/pull/11132))
|
|
1341
|
+
|
|
1342
|
+
## What changed
|
|
1343
|
+
|
|
1344
|
+
Spans now use a unified identification model with `entityId`, `entityType`, and `entityName` instead of separate `agentId`, `toolId`, `workflowId` fields.
|
|
1345
|
+
|
|
1346
|
+
**Before:**
|
|
1347
|
+
|
|
1348
|
+
```typescript
|
|
1349
|
+
// Old span structure
|
|
1350
|
+
span.agentId; // 'my-agent'
|
|
1351
|
+
span.toolId; // undefined
|
|
1352
|
+
span.workflowId; // undefined
|
|
1353
|
+
```
|
|
1354
|
+
|
|
1355
|
+
**After:**
|
|
1356
|
+
|
|
1357
|
+
```typescript
|
|
1358
|
+
// New span structure
|
|
1359
|
+
span.entityType; // EntityType.AGENT
|
|
1360
|
+
span.entityId; // 'my-agent'
|
|
1361
|
+
span.entityName; // 'My Agent'
|
|
1362
|
+
```
|
|
1363
|
+
|
|
1364
|
+
## New `listTraces()` API
|
|
1365
|
+
|
|
1366
|
+
Query traces with filtering, pagination, and sorting:
|
|
1367
|
+
|
|
1368
|
+
```typescript
|
|
1369
|
+
const { spans, pagination } = await storage.listTraces({
|
|
1370
|
+
filters: {
|
|
1371
|
+
entityType: EntityType.AGENT,
|
|
1372
|
+
entityId: 'my-agent',
|
|
1373
|
+
userId: 'user-123',
|
|
1374
|
+
environment: 'production',
|
|
1375
|
+
status: TraceStatus.SUCCESS,
|
|
1376
|
+
startedAt: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
|
|
1377
|
+
},
|
|
1378
|
+
pagination: { page: 0, perPage: 50 },
|
|
1379
|
+
orderBy: { field: 'startedAt', direction: 'DESC' },
|
|
1380
|
+
});
|
|
1381
|
+
```
|
|
1382
|
+
|
|
1383
|
+
**Available filters:** date ranges (`startedAt`, `endedAt`), entity (`entityType`, `entityId`, `entityName`), identity (`userId`, `organizationId`), correlation IDs (`runId`, `sessionId`, `threadId`), deployment (`environment`, `source`, `serviceName`), `tags`, `metadata`, and `status`.
|
|
1384
|
+
|
|
1385
|
+
## New retrieval methods
|
|
1386
|
+
- `getSpan({ traceId, spanId })` - Get a single span
|
|
1387
|
+
- `getRootSpan({ traceId })` - Get the root span of a trace
|
|
1388
|
+
- `getTrace({ traceId })` - Get all spans for a trace
|
|
1389
|
+
|
|
1390
|
+
## Backward compatibility
|
|
1391
|
+
|
|
1392
|
+
The legacy `getTraces()` method continues to work. When you pass `name: "agent run: my-agent"`, it automatically transforms to `entityId: "my-agent", entityType: AGENT`.
|
|
1393
|
+
|
|
1394
|
+
## Migration
|
|
1395
|
+
|
|
1396
|
+
**Automatic:** SQL-based stores (PostgreSQL, LibSQL, MSSQL) automatically add new columns to existing `spans` tables on initialization. Existing data is preserved with new columns set to `NULL`.
|
|
1397
|
+
|
|
1398
|
+
**No action required:** Your existing code continues to work. Adopt the new fields and `listTraces()` API at your convenience.
|
|
1399
|
+
|
|
1400
|
+
### Patch Changes
|
|
1401
|
+
|
|
1402
|
+
- Add Mastra version footer component that displays installed packages and checks npm registry for available updates and deprecation warnings ([#11211](https://github.com/mastra-ai/mastra/pull/11211))
|
|
1403
|
+
|
|
1404
|
+
- Fix clicking nested workflows in sidepanel: resolve runtime error when clicking "View Nested Graph" inside an already-open nested workflow panel, and ensure the graph updates when switching between nested workflows. ([#11391](https://github.com/mastra-ai/mastra/pull/11391))
|
|
1405
|
+
|
|
1406
|
+
- Add resizable and collapsible side panels for agents and workflows ([#11371](https://github.com/mastra-ai/mastra/pull/11371))
|
|
1407
|
+
|
|
1408
|
+
- Add debugger-like click-through UI to workflow graph ([#11350](https://github.com/mastra-ai/mastra/pull/11350))
|
|
1409
|
+
|
|
1410
|
+
- Updated dependencies [[`33a4d2e`](https://github.com/mastra-ai/mastra/commit/33a4d2e4ed8af51f69256232f00c34d6b6b51d48), [`4aaa844`](https://github.com/mastra-ai/mastra/commit/4aaa844a4f19d054490f43638a990cc57bda8d2f), [`4a1a6cb`](https://github.com/mastra-ai/mastra/commit/4a1a6cb3facad54b2bb6780b00ce91d6de1edc08), [`31d13d5`](https://github.com/mastra-ai/mastra/commit/31d13d5fdc2e2380e2e3ee3ec9fb29d2a00f265d), [`4c62166`](https://github.com/mastra-ai/mastra/commit/4c621669f4a29b1f443eca3ba70b814afa286266), [`7bcbf10`](https://github.com/mastra-ai/mastra/commit/7bcbf10133516e03df964b941f9a34e9e4ab4177), [`4353600`](https://github.com/mastra-ai/mastra/commit/43536005a65988a8eede236f69122e7f5a284ba2), [`6986fb0`](https://github.com/mastra-ai/mastra/commit/6986fb064f5db6ecc24aa655e1d26529087b43b3), [`053e979`](https://github.com/mastra-ai/mastra/commit/053e9793b28e970086b0507f7f3b76ea32c1e838), [`e26dc9c`](https://github.com/mastra-ai/mastra/commit/e26dc9c3ccfec54ae3dc3e2b2589f741f9ae60a6), [`55edf73`](https://github.com/mastra-ai/mastra/commit/55edf7302149d6c964fbb7908b43babfc2b52145), [`27c0009`](https://github.com/mastra-ai/mastra/commit/27c0009777a6073d7631b0eb7b481d94e165b5ca), [`dee388d`](https://github.com/mastra-ai/mastra/commit/dee388dde02f2e63c53385ae69252a47ab6825cc), [`3f3fc30`](https://github.com/mastra-ai/mastra/commit/3f3fc3096f24c4a26cffeecfe73085928f72aa63), [`d90ea65`](https://github.com/mastra-ai/mastra/commit/d90ea6536f7aa51c6545a4e9215b55858e98e16d), [`d171e55`](https://github.com/mastra-ai/mastra/commit/d171e559ead9f52ec728d424844c8f7b164c4510), [`632fdb8`](https://github.com/mastra-ai/mastra/commit/632fdb8b3cd9ff6f90399256d526db439fc1758b), [`10c2735`](https://github.com/mastra-ai/mastra/commit/10c27355edfdad1ee2b826b897df74125eb81fb8), [`1924cf0`](https://github.com/mastra-ai/mastra/commit/1924cf06816e5e4d4d5333065ec0f4bb02a97799), [`184f01d`](https://github.com/mastra-ai/mastra/commit/184f01d1f534ec0be9703d3996f2e088b4a560eb), [`b339816`](https://github.com/mastra-ai/mastra/commit/b339816df0984d0243d944ac2655d6ba5f809cde)]:
|
|
1411
|
+
- @mastra/core@1.0.0-beta.15
|
|
1412
|
+
- @mastra/ai-sdk@1.0.0-beta.11
|
|
1413
|
+
- @mastra/client-js@1.0.0-beta.15
|
|
1414
|
+
- @mastra/react@0.1.0-beta.15
|
|
1415
|
+
|
|
1416
|
+
## 7.0.0-beta.14
|
|
1417
|
+
|
|
1418
|
+
### Patch Changes
|
|
1419
|
+
|
|
1420
|
+
- Change searchbar to search on input with debounce instead of on Enter key press ([#11138](https://github.com/mastra-ai/mastra/pull/11138))
|
|
1421
|
+
|
|
1422
|
+
- Add support for AI SDK v6 (LanguageModelV3) ([#11191](https://github.com/mastra-ai/mastra/pull/11191))
|
|
1423
|
+
|
|
1424
|
+
Agents can now use `LanguageModelV3` models from AI SDK v6 beta providers like `@ai-sdk/openai@^3.0.0-beta`.
|
|
1425
|
+
|
|
1426
|
+
**New features:**
|
|
1427
|
+
- Usage normalization: V3's nested usage format is normalized to Mastra's flat format with `reasoningTokens`, `cachedInputTokens`, and raw data preserved in a `raw` field
|
|
1428
|
+
|
|
1429
|
+
**Backward compatible:** All existing V1 and V2 models continue to work unchanged.
|
|
1430
|
+
|
|
1431
|
+
- Updated dependencies [[`4f94ed8`](https://github.com/mastra-ai/mastra/commit/4f94ed8177abfde3ec536e3574883e075423350c), [`ac3cc23`](https://github.com/mastra-ai/mastra/commit/ac3cc2397d1966bc0fc2736a223abc449d3c7719), [`a86f4df`](https://github.com/mastra-ai/mastra/commit/a86f4df0407311e0d2ea49b9a541f0938810d6a9), [`029540c`](https://github.com/mastra-ai/mastra/commit/029540ca1e582fc2dd8d288ecd4a9b0f31a954ef), [`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`01b20fe`](https://github.com/mastra-ai/mastra/commit/01b20fefb7c67c2b7d79417598ef4e60256d1225), [`0dbf199`](https://github.com/mastra-ai/mastra/commit/0dbf199110f22192ce5c95b1c8148d4872b4d119), [`b7b0930`](https://github.com/mastra-ai/mastra/commit/b7b0930dbe72eade8d3882992f2f2db53220e4eb), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7)]:
|
|
1432
|
+
- @mastra/core@1.0.0-beta.14
|
|
1433
|
+
- @mastra/ai-sdk@1.0.0-beta.10
|
|
1434
|
+
- @mastra/client-js@1.0.0-beta.14
|
|
1435
|
+
- @mastra/react@0.1.0-beta.14
|
|
1436
|
+
|
|
1437
|
+
## 7.0.0-beta.13
|
|
1438
|
+
|
|
1439
|
+
### Patch Changes
|
|
1440
|
+
|
|
1441
|
+
- Updated dependencies [[`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497)]:
|
|
1442
|
+
- @mastra/core@1.0.0-beta.13
|
|
1443
|
+
- @mastra/client-js@1.0.0-beta.13
|
|
1444
|
+
- @mastra/react@0.1.0-beta.13
|
|
1445
|
+
|
|
1446
|
+
## 7.0.0-beta.12
|
|
1447
|
+
|
|
1448
|
+
### Patch Changes
|
|
1449
|
+
|
|
1450
|
+
- Adds tool/workflow error being surfaced to the side panel in the playground ([#11099](https://github.com/mastra-ai/mastra/pull/11099))
|
|
1451
|
+
|
|
1452
|
+
- Auto resume suspended tools if `autoResumeSuspendedTools: true` ([#11157](https://github.com/mastra-ai/mastra/pull/11157))
|
|
1453
|
+
|
|
1454
|
+
The flag can be added to `defaultAgentOptions` when creating the agent or to options in `agent.stream` or `agent.generate`
|
|
1455
|
+
|
|
1456
|
+
```typescript
|
|
1457
|
+
const agent = new Agent({
|
|
1458
|
+
//...agent information,
|
|
1459
|
+
defaultAgentOptions: {
|
|
1460
|
+
autoResumeSuspendedTools: true,
|
|
1461
|
+
},
|
|
1462
|
+
});
|
|
1463
|
+
```
|
|
1464
|
+
|
|
1465
|
+
- Fix trace-span-usage component to handle object values in token usage data. Usage objects can contain nested `inputDetails` and `outputDetails` properties which are objects, not numbers. The component now properly type-checks values and renders object properties as nested key-value pairs. ([#11141](https://github.com/mastra-ai/mastra/pull/11141))
|
|
1466
|
+
|
|
1467
|
+
- Add `Run` instance to client-js. `workflow.createRun` returns the `Run` instance which can be used for the different run methods. ([#11207](https://github.com/mastra-ai/mastra/pull/11207))
|
|
1468
|
+
With this change, run methods cannot be called directly on workflow instance anymore
|
|
1469
|
+
|
|
1470
|
+
```diff
|
|
1471
|
+
- const result = await workflow.stream({ runId: '123', inputData: { ... } });
|
|
1472
|
+
+ const run = await workflow.createRun({ runId: '123' });
|
|
1473
|
+
+ const stream = await run.stream({ inputData: { ... } });
|
|
1474
|
+
```
|
|
1475
|
+
|
|
1476
|
+
- Remove deprecated playground-only prompt generation handler (functionality moved to @mastra/server) ([#11074](https://github.com/mastra-ai/mastra/pull/11074))
|
|
1477
|
+
|
|
1478
|
+
Improve prompt enhancement UX: show toast errors when enhancement fails, disable button when no model has a configured API key, and prevent users from disabling all models in the model list
|
|
1479
|
+
|
|
1480
|
+
Add missing `/api/agents/:agentId/instructions/enhance` endpoint that was referenced by `@mastra/client-js` and `@mastra/playground-ui`
|
|
1481
|
+
|
|
1482
|
+
- Focus the textarea when clicking anywhere in the entire chat prompt input box ([#11160](https://github.com/mastra-ai/mastra/pull/11160))
|
|
1483
|
+
|
|
1484
|
+
- Removes redundant "Working Memory" section from memory config panel (already displayed in dedicated working memory component) ([#11104](https://github.com/mastra-ai/mastra/pull/11104))
|
|
1485
|
+
Fixes badge rendering for falsy values by using ?? instead of || (e.g., false was incorrectly displayed as empty string)
|
|
1486
|
+
Adds tooltip on disabled "Edit Working Memory" button explaining that working memory becomes available after the agent calls updateWorkingMemory
|
|
1487
|
+
|
|
1488
|
+
- Workflow step detail panel improvements ([#11134](https://github.com/mastra-ai/mastra/pull/11134))
|
|
1489
|
+
- Add step detail panel to view map configs and nested workflows from the workflow graph
|
|
1490
|
+
- Enable line wrapping for code display in map config panel and WHEN condition nodes
|
|
1491
|
+
- Auto-switch to "Current Run" tab when opening step details
|
|
1492
|
+
- Add colored icons matching workflow graph (orange for map, purple for workflow)
|
|
1493
|
+
- Simplify step detail context by removing unused parent stack navigation
|
|
1494
|
+
|
|
1495
|
+
- Fix agent default settings not being applied in playground ([#11107](https://github.com/mastra-ai/mastra/pull/11107))
|
|
1496
|
+
- Fix settings hook to properly merge agent default options with localStorage values
|
|
1497
|
+
- Map `maxOutputTokens` (AI SDK v5) to `maxTokens` for UI compatibility
|
|
1498
|
+
- Add `seed` parameter support to model settings
|
|
1499
|
+
- Add frequency/presence penalty inputs with sliders
|
|
1500
|
+
- Extract and apply agent's `defaultOptions.modelSettings` on load
|
|
1501
|
+
|
|
1502
|
+
- fix isTopLevelSpan value definition on SpanScoring to properly recognize lack of span?.parentSpanId value (null or empty string) ([#11083](https://github.com/mastra-ai/mastra/pull/11083))
|
|
1503
|
+
|
|
1504
|
+
- Updated dependencies [[`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`1b85674`](https://github.com/mastra-ai/mastra/commit/1b85674123708d9b85834dccc9eae601a9d0891c), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`439eaf7`](https://github.com/mastra-ai/mastra/commit/439eaf75447809b05e326666675a4dcbf9c334ce), [`b98d9a0`](https://github.com/mastra-ai/mastra/commit/b98d9a02e1a4381a4faf65b7371fe76978a42d2e), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176), [`55ae5af`](https://github.com/mastra-ai/mastra/commit/55ae5afa0a59d777e519825171cef9d73f02992e)]:
|
|
1505
|
+
- @mastra/core@1.0.0-beta.12
|
|
1506
|
+
- @mastra/react@0.1.0-beta.12
|
|
1507
|
+
- @mastra/schema-compat@1.0.0-beta.3
|
|
1508
|
+
- @mastra/client-js@1.0.0-beta.12
|
|
1509
|
+
- @mastra/ai-sdk@1.0.0-beta.9
|
|
1510
|
+
|
|
1511
|
+
## 7.0.0-beta.11
|
|
1512
|
+
|
|
1513
|
+
### Patch Changes
|
|
1514
|
+
|
|
1515
|
+
- Support new Workflow tripwire run status. Tripwires that are thrown from within a workflow will now bubble up and return a graceful state with information about tripwires. ([#10947](https://github.com/mastra-ai/mastra/pull/10947))
|
|
1516
|
+
|
|
1517
|
+
When a workflow contains an agent step that triggers a tripwire, the workflow returns with `status: 'tripwire'` and includes tripwire details:
|
|
1518
|
+
|
|
1519
|
+
```typescript showLineNumbers copy
|
|
1520
|
+
const run = await workflow.createRun();
|
|
1521
|
+
const result = await run.start({ inputData: { message: 'Hello' } });
|
|
1522
|
+
|
|
1523
|
+
if (result.status === 'tripwire') {
|
|
1524
|
+
console.log('Workflow terminated by tripwire:', result.tripwire?.reason);
|
|
1525
|
+
console.log('Processor ID:', result.tripwire?.processorId);
|
|
1526
|
+
console.log('Retry requested:', result.tripwire?.retry);
|
|
1527
|
+
}
|
|
1528
|
+
```
|
|
1529
|
+
|
|
1530
|
+
Adds new UI state for tripwire in agent chat and workflow UI.
|
|
1531
|
+
|
|
1532
|
+
This is distinct from `status: 'failed'` which indicates an unexpected error. A tripwire status means a processor intentionally stopped execution (e.g., for content moderation).
|
|
1533
|
+
|
|
1534
|
+
- Updated dependencies [[`38380b6`](https://github.com/mastra-ai/mastra/commit/38380b60fca905824bdf6b43df307a58efb1aa15), [`798d0c7`](https://github.com/mastra-ai/mastra/commit/798d0c740232653b1d754870e6b43a55c364ffe2), [`ffe84d5`](https://github.com/mastra-ai/mastra/commit/ffe84d54f3b0f85167fe977efd027dba027eb998), [`2c212e7`](https://github.com/mastra-ai/mastra/commit/2c212e704c90e2db83d4109e62c03f0f6ebd2667), [`4ca4306`](https://github.com/mastra-ai/mastra/commit/4ca430614daa5fa04730205a302a43bf4accfe9f), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db), [`3bf6c5f`](https://github.com/mastra-ai/mastra/commit/3bf6c5f104c25226cd84e0c77f9dec15f2cac2db)]:
|
|
1535
|
+
- @mastra/core@1.0.0-beta.11
|
|
1536
|
+
- @mastra/client-js@1.0.0-beta.11
|
|
1537
|
+
- @mastra/ai-sdk@1.0.0-beta.8
|
|
1538
|
+
- @mastra/react@0.1.0-beta.11
|
|
1539
|
+
|
|
1540
|
+
## 7.0.0-beta.10
|
|
1541
|
+
|
|
1542
|
+
### Minor Changes
|
|
1543
|
+
|
|
1544
|
+
- Fix "MessagePartRuntime is not available" error when chatting with agents in Studio playground by replacing deprecated `useMessagePart` hook with `useAssistantState` ([#11039](https://github.com/mastra-ai/mastra/pull/11039))
|
|
1545
|
+
|
|
1546
|
+
### Patch Changes
|
|
1547
|
+
|
|
1548
|
+
- Remove console.log in playground-ui ([#11004](https://github.com/mastra-ai/mastra/pull/11004))
|
|
1549
|
+
|
|
1550
|
+
- Use the hash based stringification mechanism of tanstack query to ensure keys ordering (and to keep the caching key valid and consistent) ([#11008](https://github.com/mastra-ai/mastra/pull/11008))
|
|
1551
|
+
|
|
1552
|
+
- Add delete workflow run API ([#10991](https://github.com/mastra-ai/mastra/pull/10991))
|
|
1553
|
+
|
|
1554
|
+
```typescript
|
|
1555
|
+
await workflow.deleteWorkflowRunById(runId);
|
|
1556
|
+
```
|
|
1557
|
+
|
|
1558
|
+
- Add the possibility to pass down options to the tanstack query client. Goal is to have cacheable request in cloud and it's not possible for now because of context resolution beeing different ([#11026](https://github.com/mastra-ai/mastra/pull/11026))
|
|
1559
|
+
|
|
1560
|
+
- fix: persist data-\* chunks from writer.custom() to memory storage ([#10884](https://github.com/mastra-ai/mastra/pull/10884))
|
|
1561
|
+
- Add persistence for custom data chunks (`data-*` parts) emitted via `writer.custom()` in tools
|
|
1562
|
+
- Data chunks are now saved to message storage so they survive page refreshes
|
|
1563
|
+
- Update `@assistant-ui/react` to v0.11.47 with native `DataMessagePart` support
|
|
1564
|
+
- Convert `data-*` parts to `DataMessagePart` format (`{ type: 'data', name: string, data: T }`)
|
|
1565
|
+
- Update related `@assistant-ui/*` packages for compatibility
|
|
1566
|
+
|
|
1567
|
+
- Updated dependencies [[`edb07e4`](https://github.com/mastra-ai/mastra/commit/edb07e49283e0c28bd094a60e03439bf6ecf0221), [`b7e17d3`](https://github.com/mastra-ai/mastra/commit/b7e17d3f5390bb5a71efc112204413656fcdc18d), [`261473a`](https://github.com/mastra-ai/mastra/commit/261473ac637e633064a22076671e2e02b002214d), [`5d7000f`](https://github.com/mastra-ai/mastra/commit/5d7000f757cd65ea9dc5b05e662fd83dfd44e932), [`4f0331a`](https://github.com/mastra-ai/mastra/commit/4f0331a79bf6eb5ee598a5086e55de4b5a0ada03), [`151fe4d`](https://github.com/mastra-ai/mastra/commit/151fe4dd441c8ee038c628a3b9bbece7caf9b406), [`8a000da`](https://github.com/mastra-ai/mastra/commit/8a000da0c09c679a2312f6b3aa05b2ca78ca7393)]:
|
|
1568
|
+
- @mastra/core@1.0.0-beta.10
|
|
1569
|
+
- @mastra/client-js@1.0.0-beta.10
|
|
1570
|
+
- @mastra/react@0.1.0-beta.10
|
|
1571
|
+
- @mastra/ai-sdk@1.0.0-beta.7
|
|
1572
|
+
|
|
1573
|
+
## 7.0.0-beta.9
|
|
1574
|
+
|
|
1575
|
+
### Patch Changes
|
|
1576
|
+
|
|
1577
|
+
- Fix default value showing on workflow form after user submits ([#10983](https://github.com/mastra-ai/mastra/pull/10983))
|
|
1578
|
+
|
|
1579
|
+
- Move useScorers down to trace page to trigger it once for all trace spans ([#10985](https://github.com/mastra-ai/mastra/pull/10985))
|
|
1580
|
+
|
|
1581
|
+
- Update Observability Trace Spans list UI, so a user can expand/collapse span children/descendants and can filter the list by span type or name ([#10378](https://github.com/mastra-ai/mastra/pull/10378))
|
|
1582
|
+
|
|
1583
|
+
- Add UI to match with the mastra studio command ([#10283](https://github.com/mastra-ai/mastra/pull/10283))
|
|
1584
|
+
|
|
1585
|
+
- Fix workflow trigger form overflow ([#10986](https://github.com/mastra-ai/mastra/pull/10986))
|
|
1586
|
+
|
|
1587
|
+
- Updated dependencies [[`72df8ae`](https://github.com/mastra-ai/mastra/commit/72df8ae595584cdd7747d5c39ffaca45e4507227), [`9198899`](https://github.com/mastra-ai/mastra/commit/91988995c427b185c33714b7f3be955367911324), [`a54793a`](https://github.com/mastra-ai/mastra/commit/a54793a6377edb87d43a795711deedf487152d5c), [`653e65a`](https://github.com/mastra-ai/mastra/commit/653e65ae1f9502c2958a32f47a5a2df11e612a92), [`c6fd6fe`](https://github.com/mastra-ai/mastra/commit/c6fd6fedd09e9cf8004b03a80925f5e94826ad7e), [`5a1ede1`](https://github.com/mastra-ai/mastra/commit/5a1ede1f7ab527b9ead11f7eee2f73e67aeca9e4), [`92a2ab4`](https://github.com/mastra-ai/mastra/commit/92a2ab408a21d7f88f8db111838bc247069c2ee9), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3), [`0bed332`](https://github.com/mastra-ai/mastra/commit/0bed332843f627202c6520eaf671771313cd20f3)]:
|
|
1588
|
+
- @mastra/core@1.0.0-beta.9
|
|
1589
|
+
- @mastra/ai-sdk@1.0.0-beta.7
|
|
1590
|
+
- @mastra/client-js@1.0.0-beta.9
|
|
1591
|
+
- @mastra/react@0.1.0-beta.9
|
|
1592
|
+
|
|
1593
|
+
## 7.0.0-beta.8
|
|
1594
|
+
|
|
1595
|
+
### Patch Changes
|
|
1596
|
+
|
|
1597
|
+
- Updated dependencies [[`0d41fe2`](https://github.com/mastra-ai/mastra/commit/0d41fe245355dfc66d61a0d9c85d9400aac351ff), [`6b3ba91`](https://github.com/mastra-ai/mastra/commit/6b3ba91494cc10394df96782f349a4f7b1e152cc), [`3d3c9e7`](https://github.com/mastra-ai/mastra/commit/3d3c9e7dc0b7b291abe6a11cf3807dd130034961), [`7907fd1`](https://github.com/mastra-ai/mastra/commit/7907fd1c5059813b7b870b81ca71041dc807331b)]:
|
|
1598
|
+
- @mastra/core@1.0.0-beta.8
|
|
1599
|
+
- @mastra/ai-sdk@1.0.0-beta.6
|
|
1600
|
+
- @mastra/client-js@1.0.0-beta.8
|
|
1601
|
+
- @mastra/react@0.1.0-beta.8
|
|
1602
|
+
|
|
1603
|
+
## 7.0.0-beta.7
|
|
1604
|
+
|
|
1605
|
+
### Patch Changes
|
|
1606
|
+
|
|
1607
|
+
- Add StudioConfig and associated context to manage the headers and base URL of a given Mastra instance. ([#10804](https://github.com/mastra-ai/mastra/pull/10804))
|
|
1608
|
+
|
|
1609
|
+
This also introduces a header form available from the side bar to edit those headers.
|
|
1610
|
+
|
|
1611
|
+
- Fix select options overflow when list is long by adding maximum height ([#10813](https://github.com/mastra-ai/mastra/pull/10813))
|
|
1612
|
+
|
|
1613
|
+
- Removed uneeded calls to the message endpoint when the user is on a new thread ([#10872](https://github.com/mastra-ai/mastra/pull/10872))
|
|
1614
|
+
|
|
1615
|
+
- Add prominent warning banner in observability UI when token limits are exceeded (finishReason: 'length'). ([#10835](https://github.com/mastra-ai/mastra/pull/10835))
|
|
1616
|
+
|
|
1617
|
+
When a model stops generating due to token limits, the span details now display:
|
|
1618
|
+
- Clear warning with alert icon
|
|
1619
|
+
- Detailed token usage breakdown (input + output = total)
|
|
1620
|
+
- Explanation that the response was truncated
|
|
1621
|
+
|
|
1622
|
+
This helps developers quickly identify and debug token limit issues in the observation page.
|
|
1623
|
+
|
|
1624
|
+
Fixes #8828
|
|
1625
|
+
|
|
1626
|
+
- Add a specific page for the studio settings and moved the headers configuration form here instead of in a dialog ([#10812](https://github.com/mastra-ai/mastra/pull/10812))
|
|
1627
|
+
|
|
1628
|
+
- Updated dependencies [[`3076c67`](https://github.com/mastra-ai/mastra/commit/3076c6778b18988ae7d5c4c5c466366974b2d63f), [`85d7ee1`](https://github.com/mastra-ai/mastra/commit/85d7ee18ff4e14d625a8a30ec6656bb49804989b), [`c6c1092`](https://github.com/mastra-ai/mastra/commit/c6c1092f8fbf76109303f69e000e96fd1960c4ce), [`81dc110`](https://github.com/mastra-ai/mastra/commit/81dc11008d147cf5bdc8996ead1aa61dbdebb6fc), [`7aedb74`](https://github.com/mastra-ai/mastra/commit/7aedb74883adf66af38e270e4068fd42e7a37036), [`8f02d80`](https://github.com/mastra-ai/mastra/commit/8f02d800777397e4b45d7f1ad041988a8b0c6630), [`d7aad50`](https://github.com/mastra-ai/mastra/commit/d7aad501ce61646b76b4b511e558ac4eea9884d0), [`ce0a73a`](https://github.com/mastra-ai/mastra/commit/ce0a73abeaa75b10ca38f9e40a255a645d50ebfb), [`a02e542`](https://github.com/mastra-ai/mastra/commit/a02e542d23179bad250b044b17ff023caa61739f), [`a372c64`](https://github.com/mastra-ai/mastra/commit/a372c640ad1fd12e8f0613cebdc682fc156b4d95), [`5fe71bc`](https://github.com/mastra-ai/mastra/commit/5fe71bc925dfce597df69c89241f33b378028c63), [`8846867`](https://github.com/mastra-ai/mastra/commit/8846867ffa9a3746767618e314bebac08eb77d87), [`42a42cf`](https://github.com/mastra-ai/mastra/commit/42a42cf3132b9786feecbb8c13c583dce5b0e198), [`ae08bf0`](https://github.com/mastra-ai/mastra/commit/ae08bf0ebc6a4e4da992b711c4a389c32ba84cf4), [`21735a7`](https://github.com/mastra-ai/mastra/commit/21735a7ef306963554a69a89b44f06c3bcd85141), [`1d877b8`](https://github.com/mastra-ai/mastra/commit/1d877b8d7b536a251c1a7a18db7ddcf4f68d6f8b)]:
|
|
1629
|
+
- @mastra/core@1.0.0-beta.7
|
|
1630
|
+
- @mastra/client-js@1.0.0-beta.7
|
|
1631
|
+
- @mastra/react@0.1.0-beta.7
|
|
1632
|
+
|
|
1633
|
+
## 7.0.0-beta.6
|
|
1634
|
+
|
|
1635
|
+
### Patch Changes
|
|
1636
|
+
|
|
1637
|
+
- Fix wrong hook arg type when retrieving workflow runs ([#10755](https://github.com/mastra-ai/mastra/pull/10755))
|
|
1638
|
+
|
|
1639
|
+
- Fix discriminatedUnion schema information lost when json schema is converted to zod ([#10500](https://github.com/mastra-ai/mastra/pull/10500))
|
|
1640
|
+
|
|
1641
|
+
- Hide time travel on map steps in Studio ([#10631](https://github.com/mastra-ai/mastra/pull/10631))
|
|
1642
|
+
|
|
1643
|
+
- Added tracing options to workflow runs and agent generate / stream / network. You can now configure tracing options, custom request context keys, and parent trace/span IDs through a new "Tracing options" tab in the workflow/agent ui UI. ([#10742](https://github.com/mastra-ai/mastra/pull/10742))
|
|
1644
|
+
|
|
1645
|
+
**Usage:**
|
|
1646
|
+
|
|
1647
|
+
The workflow settings are now accessible via the new `useTracingSettings` hook and `TracingSettingsProvider`:
|
|
1648
|
+
|
|
1649
|
+
```tsx
|
|
1650
|
+
import { TracingSettingsProvider, useWorkflowSettings } from '@mastra/playground-ui';
|
|
1651
|
+
|
|
1652
|
+
// Wrap your workflow components with the provider
|
|
1653
|
+
<TracingSettingsProvider entityId="my-workflow" entityType="workflow">
|
|
1654
|
+
<YourWorkflowUI />
|
|
1655
|
+
</TracingSettingsProvider>;
|
|
1656
|
+
|
|
1657
|
+
// Access settings in child components
|
|
1658
|
+
const { settings, setSettings } = useTracingSettings();
|
|
1659
|
+
|
|
1660
|
+
// Configure tracing options
|
|
1661
|
+
setSettings({
|
|
1662
|
+
tracingOptions: {
|
|
1663
|
+
metadata: { userId: '123' },
|
|
1664
|
+
requestContextKeys: ['user.email'],
|
|
1665
|
+
traceId: 'abc123',
|
|
1666
|
+
},
|
|
1667
|
+
});
|
|
1668
|
+
```
|
|
1669
|
+
|
|
1670
|
+
Tracing options are persisted per workflow/agent in localStorage and automatically applied to all workflow/agent executions.
|
|
1671
|
+
|
|
1672
|
+
- Updated dependencies [[`ac0d2f4`](https://github.com/mastra-ai/mastra/commit/ac0d2f4ff8831f72c1c66c2be809706d17f65789), [`6edf340`](https://github.com/mastra-ai/mastra/commit/6edf3402f6a46ee8def2f42a2287785251fbffd6), [`17b4b46`](https://github.com/mastra-ai/mastra/commit/17b4b46339898f13f52c4c4e3d16c52630629c29), [`1a0d3fc`](https://github.com/mastra-ai/mastra/commit/1a0d3fc811482c9c376cdf79ee615c23bae9b2d6), [`85a628b`](https://github.com/mastra-ai/mastra/commit/85a628b1224a8f64cd82ea7f033774bf22df7a7e), [`c237233`](https://github.com/mastra-ai/mastra/commit/c23723399ccedf7f5744b3f40997b79246bfbe64), [`15f9e21`](https://github.com/mastra-ai/mastra/commit/15f9e216177201ea6e3f6d0bfb063fcc0953444f), [`ff94dea`](https://github.com/mastra-ai/mastra/commit/ff94dea935f4e34545c63bcb6c29804732698809), [`5b2ff46`](https://github.com/mastra-ai/mastra/commit/5b2ff4651df70c146523a7fca773f8eb0a2272f8), [`db41688`](https://github.com/mastra-ai/mastra/commit/db4168806d007417e2e60b4f68656dca4e5f40c9), [`91c3a61`](https://github.com/mastra-ai/mastra/commit/91c3a61c533b348a18ba4394069efff26ac7d5a7), [`ad7e8f1`](https://github.com/mastra-ai/mastra/commit/ad7e8f16ac843cbd16687ad47b66ba96bcffe111), [`5ca599d`](https://github.com/mastra-ai/mastra/commit/5ca599d0bb59a1595f19f58473fcd67cc71cef58), [`bff1145`](https://github.com/mastra-ai/mastra/commit/bff114556b3cbadad9b2768488708f8ad0e91475), [`5c8ca24`](https://github.com/mastra-ai/mastra/commit/5c8ca247094e0cc2cdbd7137822fb47241f86e77), [`e1b7118`](https://github.com/mastra-ai/mastra/commit/e1b7118f42ca0a97247afc75e57dcd5fdf987752), [`441c7b6`](https://github.com/mastra-ai/mastra/commit/441c7b6665915cfa7fd625fded8c0f518530bf10), [`441c7b6`](https://github.com/mastra-ai/mastra/commit/441c7b6665915cfa7fd625fded8c0f518530bf10), [`e191844`](https://github.com/mastra-ai/mastra/commit/e1918444ca3f80e82feef1dad506cd4ec6e2875f), [`22553f1`](https://github.com/mastra-ai/mastra/commit/22553f11c63ee5e966a9c034a349822249584691), [`7237163`](https://github.com/mastra-ai/mastra/commit/72371635dbf96a87df4b073cc48fc655afbdce3d), [`2500740`](https://github.com/mastra-ai/mastra/commit/2500740ea23da067d6e50ec71c625ab3ce275e64), [`873ecbb`](https://github.com/mastra-ai/mastra/commit/873ecbb517586aa17d2f1e99283755b3ebb2863f), [`4f9bbe5`](https://github.com/mastra-ai/mastra/commit/4f9bbe5968f42c86f4930b8193de3c3c17e5bd36), [`02e51fe`](https://github.com/mastra-ai/mastra/commit/02e51feddb3d4155cfbcc42624fd0d0970d032c0), [`8f3fa3a`](https://github.com/mastra-ai/mastra/commit/8f3fa3a652bb77da092f913ec51ae46e3a7e27dc), [`cd29ad2`](https://github.com/mastra-ai/mastra/commit/cd29ad23a255534e8191f249593849ed29160886), [`bdf4d8c`](https://github.com/mastra-ai/mastra/commit/bdf4d8cdc656d8a2c21d81834bfa3bfa70f56c16), [`854e3da`](https://github.com/mastra-ai/mastra/commit/854e3dad5daac17a91a20986399d3a51f54bf68b), [`ce18d38`](https://github.com/mastra-ai/mastra/commit/ce18d38678c65870350d123955014a8432075fd9), [`cccf9c8`](https://github.com/mastra-ai/mastra/commit/cccf9c8b2d2dfc1a5e63919395b83d78c89682a0), [`61a5705`](https://github.com/mastra-ai/mastra/commit/61a570551278b6743e64243b3ce7d73de915ca8a), [`db70a48`](https://github.com/mastra-ai/mastra/commit/db70a48aeeeeb8e5f92007e8ede52c364ce15287), [`f0fdc14`](https://github.com/mastra-ai/mastra/commit/f0fdc14ee233d619266b3d2bbdeea7d25cfc6d13), [`db18bc9`](https://github.com/mastra-ai/mastra/commit/db18bc9c3825e2c1a0ad9a183cc9935f6691bfa1), [`9b37b56`](https://github.com/mastra-ai/mastra/commit/9b37b565e1f2a76c24f728945cc740c2b09be9da), [`41a23c3`](https://github.com/mastra-ai/mastra/commit/41a23c32f9877d71810f37e24930515df2ff7a0f), [`5d171ad`](https://github.com/mastra-ai/mastra/commit/5d171ad9ef340387276b77c2bb3e83e83332d729), [`f03ae60`](https://github.com/mastra-ai/mastra/commit/f03ae60500fe350c9d828621006cdafe1975fdd8), [`d1e74a0`](https://github.com/mastra-ai/mastra/commit/d1e74a0a293866dece31022047f5dbab65a304d0), [`39e7869`](https://github.com/mastra-ai/mastra/commit/39e7869bc7d0ee391077ce291474d8a84eedccff), [`e849603`](https://github.com/mastra-ai/mastra/commit/e849603a596269069f58a438b98449ea2770493d), [`5761926`](https://github.com/mastra-ai/mastra/commit/57619260c4a2cdd598763abbacd90de594c6bc76), [`c900fdd`](https://github.com/mastra-ai/mastra/commit/c900fdd504c41348efdffb205cfe80d48c38fa33), [`604a79f`](https://github.com/mastra-ai/mastra/commit/604a79fecf276e26a54a3fe01bb94e65315d2e0e), [`887f0b4`](https://github.com/mastra-ai/mastra/commit/887f0b4746cdbd7cb7d6b17ac9f82aeb58037ea5), [`2562143`](https://github.com/mastra-ai/mastra/commit/256214336b4faa78646c9c1776612393790d8784), [`e24d4c0`](https://github.com/mastra-ai/mastra/commit/e24d4c0e8a340c47cfa901ebe299cb9ed6c699b4), [`ef11a61`](https://github.com/mastra-ai/mastra/commit/ef11a61920fa0ed08a5b7ceedd192875af119749)]:
|
|
1673
|
+
- @mastra/core@1.0.0-beta.6
|
|
1674
|
+
- @mastra/client-js@1.0.0-beta.6
|
|
1675
|
+
- @mastra/ai-sdk@1.0.0-beta.5
|
|
1676
|
+
- @mastra/react@0.1.0-beta.6
|
|
1677
|
+
- @mastra/schema-compat@1.0.0-beta.2
|
|
1678
|
+
|
|
1679
|
+
## 7.0.0-beta.5
|
|
1680
|
+
|
|
1681
|
+
### Patch Changes
|
|
1682
|
+
|
|
1683
|
+
- Add timeTravel APIs and add timeTravel feature to studio ([#10361](https://github.com/mastra-ai/mastra/pull/10361))
|
|
1684
|
+
|
|
1685
|
+
- fix(agent): persist messages before tool suspension ([#10369](https://github.com/mastra-ai/mastra/pull/10369))
|
|
1686
|
+
|
|
1687
|
+
Fixes issues where thread and messages were not saved before suspension when tools require approval or call suspend() during execution. This caused conversation history to be lost if users refreshed during tool approval or suspension.
|
|
1688
|
+
|
|
1689
|
+
**Backend changes (@mastra/core):**
|
|
1690
|
+
- Add assistant messages to messageList immediately after LLM execution
|
|
1691
|
+
- Flush messages synchronously before suspension to persist state
|
|
1692
|
+
- Create thread if it doesn't exist before flushing
|
|
1693
|
+
- Add metadata helpers to persist and remove tool approval state
|
|
1694
|
+
- Pass saveQueueManager and memory context through workflow for immediate persistence
|
|
1695
|
+
|
|
1696
|
+
**Frontend changes (@mastra/react):**
|
|
1697
|
+
- Extract runId from pending approvals to enable resumption after refresh
|
|
1698
|
+
- Convert `pendingToolApprovals` (DB format) to `requireApprovalMetadata` (runtime format)
|
|
1699
|
+
- Handle both `dynamic-tool` and `tool-{NAME}` part types for approval state
|
|
1700
|
+
- Change runId from hardcoded `agentId` to unique `uuid()`
|
|
1701
|
+
|
|
1702
|
+
**UI changes (@mastra/playground-ui):**
|
|
1703
|
+
- Handle tool calls awaiting approval in message initialization
|
|
1704
|
+
- Convert approval metadata format when loading initial messages
|
|
1705
|
+
|
|
1706
|
+
Fixes #9745, #9906
|
|
1707
|
+
|
|
1708
|
+
- Fixed "Module not found: Can't resolve '@mastra/ai-sdk/ui'" error when playground-ui is used on Cloud by converting @mastra/ai-sdk to a peer dependency ([#10388](https://github.com/mastra-ai/mastra/pull/10388))
|
|
1709
|
+
|
|
1710
|
+
- Updated dependencies [[`21a15de`](https://github.com/mastra-ai/mastra/commit/21a15de369fe82aac26bb642ed7be73505475e8b), [`feb7ee4`](https://github.com/mastra-ai/mastra/commit/feb7ee4d09a75edb46c6669a3beaceec78811747), [`b0e2ea5`](https://github.com/mastra-ai/mastra/commit/b0e2ea5b52c40fae438b9e2f7baee6f0f89c5442), [`c456e01`](https://github.com/mastra-ai/mastra/commit/c456e0149e3c176afcefdbd9bb1d2c5917723725), [`6de8ffd`](https://github.com/mastra-ai/mastra/commit/6de8ffda7ab06bce012fdeac3eacc6d2d138c097), [`ab035c2`](https://github.com/mastra-ai/mastra/commit/ab035c2ef6d8cc7bb25f06f1a38508bd9e6f126b), [`87cf8d3`](https://github.com/mastra-ai/mastra/commit/87cf8d37564040eb4137a5923edb134c6ea51114), [`1a46a56`](https://github.com/mastra-ai/mastra/commit/1a46a566f45a3fcbadc1cf36bf86d351f264bfa3), [`3cf540b`](https://github.com/mastra-ai/mastra/commit/3cf540b9fbfea8f4fc8d3a2319a4e6c0b0cbfd52), [`1c6ce51`](https://github.com/mastra-ai/mastra/commit/1c6ce51f875915ab57fd36873623013699a2a65d), [`898a972`](https://github.com/mastra-ai/mastra/commit/898a9727d286c2510d6b702dfd367e6aaf5c6b0f), [`a97003a`](https://github.com/mastra-ai/mastra/commit/a97003aa1cf2f4022a41912324a1e77263b326b8), [`ccc141e`](https://github.com/mastra-ai/mastra/commit/ccc141ed27da0abc3a3fc28e9e5128152e8e37f4), [`922305b`](https://github.com/mastra-ai/mastra/commit/922305b747c9b081b51af81f5f4d5ba09fb22f5d), [`fe3b897`](https://github.com/mastra-ai/mastra/commit/fe3b897c2ccbcd2b10e81b099438c7337feddf89), [`00123ba`](https://github.com/mastra-ai/mastra/commit/00123ba96dc9e5cd0b110420ebdba56d8f237b25), [`29c4309`](https://github.com/mastra-ai/mastra/commit/29c4309f818b24304c041bcb4a8f19b5f13f6b62), [`16785ce`](https://github.com/mastra-ai/mastra/commit/16785ced928f6f22638f4488cf8a125d99211799), [`de8239b`](https://github.com/mastra-ai/mastra/commit/de8239bdcb1d8c0cfa06da21f1569912a66bbc8a), [`b5e6cd7`](https://github.com/mastra-ai/mastra/commit/b5e6cd77fc8c8e64e0494c1d06cee3d84e795d1e), [`497f918`](https://github.com/mastra-ai/mastra/commit/497f9182135aaf2beb00887d94fcd93afe149d8b), [`3759cb0`](https://github.com/mastra-ai/mastra/commit/3759cb064935b5f74c65ac2f52a1145f7352899d), [`651e772`](https://github.com/mastra-ai/mastra/commit/651e772eb1475fb13e126d3fcc01751297a88214), [`b61b93f`](https://github.com/mastra-ai/mastra/commit/b61b93f9e058b11dd2eec169853175d31dbdd567), [`bae33d9`](https://github.com/mastra-ai/mastra/commit/bae33d91a63fbb64d1e80519e1fc1acaed1e9013), [`c0b731f`](https://github.com/mastra-ai/mastra/commit/c0b731fb27d712dc8582e846df5c0332a6a0c5ba), [`43ca8f2`](https://github.com/mastra-ai/mastra/commit/43ca8f2c7334851cc7b4d3d2f037d8784bfbdd5f), [`2ca67cc`](https://github.com/mastra-ai/mastra/commit/2ca67cc3bb1f6a617353fdcab197d9efebe60d6f), [`9e67002`](https://github.com/mastra-ai/mastra/commit/9e67002b52c9be19936c420a489dbee9c5fd6a78), [`35edc49`](https://github.com/mastra-ai/mastra/commit/35edc49ac0556db609189641d6341e76771b81fc), [`dfe0f61`](https://github.com/mastra-ai/mastra/commit/dfe0f61b48a8b0ad43e55b0c88920089d199a7eb), [`ee6c628`](https://github.com/mastra-ai/mastra/commit/ee6c628fabfb18323bee319268d122f3835e393f)]:
|
|
1711
|
+
- @mastra/core@1.0.0-beta.5
|
|
1712
|
+
- @mastra/ai-sdk@1.0.0-beta.4
|
|
1713
|
+
- @mastra/client-js@1.0.0-beta.5
|
|
1714
|
+
- @mastra/react@0.1.0-beta.5
|
|
1715
|
+
|
|
1716
|
+
## 7.0.0-beta.4
|
|
1717
|
+
|
|
1718
|
+
### Patch Changes
|
|
1719
|
+
|
|
1720
|
+
- Updated dependencies [[`47c34d8`](https://github.com/mastra-ai/mastra/commit/47c34d8e8c3e8aae5c00efc6085c064f2404b346), [`6a86fe5`](https://github.com/mastra-ai/mastra/commit/6a86fe56b8ff53ca2eb3ed87ffc0748749ebadce), [`352a5d6`](https://github.com/mastra-ai/mastra/commit/352a5d625cfe09849b21e8f52a24c9f0366759d5), [`595a3b8`](https://github.com/mastra-ai/mastra/commit/595a3b8727c901f44e333909c09843c711224440), [`a0a5b4b`](https://github.com/mastra-ai/mastra/commit/a0a5b4bbebe6c701ebbadf744873aa0d5ca01371), [`69ea758`](https://github.com/mastra-ai/mastra/commit/69ea758358edd7117f191c2e69c8bb5fc79e7a1a), [`993ad98`](https://github.com/mastra-ai/mastra/commit/993ad98d7ad3bebda9ecef5fec5c94349a0d04bc), [`3ff2c17`](https://github.com/mastra-ai/mastra/commit/3ff2c17a58e312fad5ea37377262c12d92ca0908)]:
|
|
1721
|
+
- @mastra/ai-sdk@1.0.0-beta.3
|
|
1722
|
+
- @mastra/client-js@1.0.0-beta.4
|
|
1723
|
+
- @mastra/core@1.0.0-beta.4
|
|
1724
|
+
- @mastra/react@0.1.0-beta.4
|
|
1725
|
+
|
|
1726
|
+
## 7.0.0-beta.3
|
|
1727
|
+
|
|
1728
|
+
### Patch Changes
|
|
1729
|
+
|
|
1730
|
+
- dependencies updates: ([#10057](https://github.com/mastra-ai/mastra/pull/10057))
|
|
1731
|
+
- Updated dependency [`@uiw/codemirror-theme-github@^4.25.3` ↗︎](https://www.npmjs.com/package/@uiw/codemirror-theme-github/v/4.25.3) (from `^4.25.2`, in `dependencies`)
|
|
1732
|
+
|
|
1733
|
+
- dependencies updates: ([#10085](https://github.com/mastra-ai/mastra/pull/10085))
|
|
1734
|
+
- Updated dependency [`@xyflow/react@^12.9.3` ↗︎](https://www.npmjs.com/package/@xyflow/react/v/12.9.3) (from `^12.8.6`, in `dependencies`)
|
|
1735
|
+
|
|
1736
|
+
- dependencies updates: ([#9850](https://github.com/mastra-ai/mastra/pull/9850))
|
|
1737
|
+
- Updated dependency [`@dagrejs/dagre@^1.1.8` ↗︎](https://www.npmjs.com/package/@dagrejs/dagre/v/1.1.8) (from `^1.1.5`, in `dependencies`)
|
|
1738
|
+
|
|
1739
|
+
- Refactor agent information for easier cloud recomposable UIs ([#9995](https://github.com/mastra-ai/mastra/pull/9995))
|
|
1740
|
+
|
|
1741
|
+
- Add export for agent memory for use in cloud ([#10025](https://github.com/mastra-ai/mastra/pull/10025))
|
|
1742
|
+
|
|
1743
|
+
- Fix scorer filtering for SpanScoring, add error and info message for user ([#10160](https://github.com/mastra-ai/mastra/pull/10160))
|
|
1744
|
+
|
|
1745
|
+
- Templates now don't dynamically create a branch for every provider, each template should be agnostic and just use a env var to set the models until the user wants to set it otherwise. ([#10036](https://github.com/mastra-ai/mastra/pull/10036))
|
|
1746
|
+
MCP docs server will install the beta version of the docs server if they create a project with the beta tag.
|
|
1747
|
+
Updates to the templates now will get pushed to the beta branch, when beta goes stable we will merge the beta branch into the main branch for all templates and update the github script to push to main.
|
|
1748
|
+
Templates have been cleaned up
|
|
1749
|
+
small docs updates based off of how the template migrations went
|
|
1750
|
+
|
|
1751
|
+
- Fix double scroll on agent chat container ([#10253](https://github.com/mastra-ai/mastra/pull/10253))
|
|
1752
|
+
|
|
1753
|
+
- Updated dependencies [[`2319326`](https://github.com/mastra-ai/mastra/commit/2319326f8c64e503a09bbcf14be2dd65405445e0), [`d629361`](https://github.com/mastra-ai/mastra/commit/d629361a60f6565b5bfb11976fdaf7308af858e2), [`08c31c1`](https://github.com/mastra-ai/mastra/commit/08c31c188ebccd598acaf55e888b6397d01f7eae), [`fd3d338`](https://github.com/mastra-ai/mastra/commit/fd3d338a2c362174ed5b383f1f011ad9fb0302aa), [`c30400a`](https://github.com/mastra-ai/mastra/commit/c30400a49b994b1b97256fe785eb6c906fc2b232), [`69e0a87`](https://github.com/mastra-ai/mastra/commit/69e0a878896a2da9494945d86e056a5f8f05b851), [`01f8878`](https://github.com/mastra-ai/mastra/commit/01f88783de25e4de048c1c8aace43e26373c6ea5), [`4c77209`](https://github.com/mastra-ai/mastra/commit/4c77209e6c11678808b365d545845918c40045c8), [`d827d08`](https://github.com/mastra-ai/mastra/commit/d827d0808ffe1f3553a84e975806cc989b9735dd), [`b98ba1a`](https://github.com/mastra-ai/mastra/commit/b98ba1af73e5d6106965c3de30fbe9e6edc907ce), [`23c10a1`](https://github.com/mastra-ai/mastra/commit/23c10a1efdd9a693c405511ab2dc8a1236603162), [`676ccc7`](https://github.com/mastra-ai/mastra/commit/676ccc7fe92468d2d45d39c31a87825c89fd1ea0), [`c10398d`](https://github.com/mastra-ai/mastra/commit/c10398d5b88f1d4af556f4267ff06f1d11e89179), [`271519f`](https://github.com/mastra-ai/mastra/commit/271519ffffb7efcd5bd2a34ec5c290620c4e7114), [`00c2387`](https://github.com/mastra-ai/mastra/commit/00c2387f5f04a365316f851e58666ac43f8c4edf), [`ad6250d`](https://github.com/mastra-ai/mastra/commit/ad6250dbdaad927e29f74a27b83f6c468b50a705), [`3a73998`](https://github.com/mastra-ai/mastra/commit/3a73998fa4ebeb7f3dc9301afe78095fc63e7999), [`e16d553`](https://github.com/mastra-ai/mastra/commit/e16d55338403c7553531cc568125c63d53653dff), [`4d59f58`](https://github.com/mastra-ai/mastra/commit/4d59f58de2d90d6e2810a19d4518e38ddddb9038), [`e1bb9c9`](https://github.com/mastra-ai/mastra/commit/e1bb9c94b4eb68b019ae275981be3feb769b5365), [`351a11f`](https://github.com/mastra-ai/mastra/commit/351a11fcaf2ed1008977fa9b9a489fc422e51cd4)]:
|
|
1754
|
+
- @mastra/core@1.0.0-beta.3
|
|
1755
|
+
- @mastra/ai-sdk@1.0.0-beta.2
|
|
1756
|
+
- @mastra/client-js@1.0.0-beta.3
|
|
1757
|
+
- @mastra/react@0.1.0-beta.3
|
|
1758
|
+
|
|
1759
|
+
## 7.0.0-beta.2
|
|
1760
|
+
|
|
1761
|
+
### Patch Changes
|
|
1762
|
+
|
|
1763
|
+
- Make suspendPayload optional when calling `suspend()` ([#9926](https://github.com/mastra-ai/mastra/pull/9926))
|
|
1764
|
+
Save value returned as `suspendOutput` if user returns data still after calling `suspend()`
|
|
1765
|
+
Automatically call `commit()` on uncommitted workflows when registering in Mastra instance
|
|
1766
|
+
Show actual suspendPayload on Studio in suspend/resume flow
|
|
1767
|
+
- Updated dependencies [[`627067b`](https://github.com/mastra-ai/mastra/commit/627067b22eeb26601f65fee3646ba17fc0c91501), [`465ac05`](https://github.com/mastra-ai/mastra/commit/465ac0526a91d175542091c675181f1a96c98c46)]:
|
|
1768
|
+
- @mastra/ai-sdk@1.0.0-beta.1
|
|
1769
|
+
- @mastra/core@1.0.0-beta.2
|
|
1770
|
+
- @mastra/client-js@1.0.0-beta.2
|
|
1771
|
+
- @mastra/react@0.1.0-beta.2
|
|
1772
|
+
|
|
1773
|
+
## 7.0.0-beta.1
|
|
1774
|
+
|
|
1775
|
+
### Patch Changes
|
|
1776
|
+
|
|
1777
|
+
- Make MainSidebar toggle button sticky to bottom, always visible ([#9682](https://github.com/mastra-ai/mastra/pull/9682))
|
|
1778
|
+
|
|
1779
|
+
- Removing uneeded files ([#9877](https://github.com/mastra-ai/mastra/pull/9877))
|
|
1780
|
+
|
|
1781
|
+
- Explicitly set color of line number in CodeMirror ([#9878](https://github.com/mastra-ai/mastra/pull/9878))
|
|
1782
|
+
|
|
1783
|
+
- Add visual styles and labels for more workflow node types ([#9777](https://github.com/mastra-ai/mastra/pull/9777))
|
|
1784
|
+
|
|
1785
|
+
- Updated dependencies [[`910db9e`](https://github.com/mastra-ai/mastra/commit/910db9e0312888495eb5617b567f247d03303814), [`dbd9db0`](https://github.com/mastra-ai/mastra/commit/dbd9db0d5c2797a210b9098e7e3e613718e5442f), [`e7266a2`](https://github.com/mastra-ai/mastra/commit/e7266a278db02035c97a5e9cd9d1669a6b7a535d)]:
|
|
1786
|
+
- @mastra/core@1.0.0-beta.1
|
|
1787
|
+
- @mastra/client-js@1.0.0-beta.1
|
|
1788
|
+
- @mastra/react@0.1.0-beta.1
|
|
1789
|
+
|
|
1790
|
+
## 7.0.0-beta.0
|
|
1791
|
+
|
|
1792
|
+
### Major Changes
|
|
1793
|
+
|
|
1794
|
+
- # Major Changes ([#9695](https://github.com/mastra-ai/mastra/pull/9695))
|
|
1795
|
+
|
|
1796
|
+
## Storage Layer
|
|
1797
|
+
|
|
1798
|
+
### BREAKING: Removed `storage.getMessages()`
|
|
1799
|
+
|
|
1800
|
+
The `getMessages()` method has been removed from all storage implementations. Use `listMessages()` instead, which provides pagination support.
|
|
1801
|
+
|
|
1802
|
+
**Migration:**
|
|
1803
|
+
|
|
1804
|
+
```typescript
|
|
1805
|
+
// Before
|
|
1806
|
+
const messages = await storage.getMessages({ threadId: 'thread-1' });
|
|
1807
|
+
|
|
1808
|
+
// After
|
|
1809
|
+
const result = await storage.listMessages({
|
|
1810
|
+
threadId: 'thread-1',
|
|
1811
|
+
page: 0,
|
|
1812
|
+
perPage: 50,
|
|
1813
|
+
});
|
|
1814
|
+
const messages = result.messages; // Access messages array
|
|
1815
|
+
console.log(result.total); // Total count
|
|
1816
|
+
console.log(result.hasMore); // Whether more pages exist
|
|
1817
|
+
```
|
|
1818
|
+
|
|
1819
|
+
### Message ordering default
|
|
1820
|
+
|
|
1821
|
+
`listMessages()` defaults to ASC (oldest first) ordering by `createdAt`, matching the previous `getMessages()` behavior.
|
|
1822
|
+
|
|
1823
|
+
**To use DESC ordering (newest first):**
|
|
1824
|
+
|
|
1825
|
+
```typescript
|
|
1826
|
+
const result = await storage.listMessages({
|
|
1827
|
+
threadId: 'thread-1',
|
|
1828
|
+
orderBy: { field: 'createdAt', direction: 'DESC' },
|
|
1829
|
+
});
|
|
1830
|
+
```
|
|
1831
|
+
|
|
1832
|
+
## Client SDK
|
|
1833
|
+
|
|
1834
|
+
### BREAKING: Renamed `client.getThreadMessages()` → `client.listThreadMessages()`
|
|
1835
|
+
|
|
1836
|
+
**Migration:**
|
|
1837
|
+
|
|
1838
|
+
```typescript
|
|
1839
|
+
// Before
|
|
1840
|
+
const response = await client.getThreadMessages(threadId, { agentId });
|
|
1841
|
+
|
|
1842
|
+
// After
|
|
1843
|
+
const response = await client.listThreadMessages(threadId, { agentId });
|
|
1844
|
+
```
|
|
1845
|
+
|
|
1846
|
+
The response format remains the same.
|
|
1847
|
+
|
|
1848
|
+
## Type Changes
|
|
1849
|
+
|
|
1850
|
+
### BREAKING: Removed `StorageGetMessagesArg` type
|
|
1851
|
+
|
|
1852
|
+
Use `StorageListMessagesInput` instead:
|
|
1853
|
+
|
|
1854
|
+
```typescript
|
|
1855
|
+
// Before
|
|
1856
|
+
import type { StorageGetMessagesArg } from '@mastra/core';
|
|
1857
|
+
|
|
1858
|
+
// After
|
|
1859
|
+
import type { StorageListMessagesInput } from '@mastra/core';
|
|
1860
|
+
```
|
|
1861
|
+
|
|
1862
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
1863
|
+
|
|
1864
|
+
- Replace `getThreadsByResourceIdPaginated` with `listThreadsByResourceId` across memory handlers. Update client SDK to use `listThreads()` with `offset`/`limit` parameters instead of deprecated `getMemoryThreads()`. Consolidate `/api/memory/threads` routes to single paginated endpoint. ([#9508](https://github.com/mastra-ai/mastra/pull/9508))
|
|
1865
|
+
|
|
1866
|
+
- Rename RuntimeContext to RequestContext ([#9511](https://github.com/mastra-ai/mastra/pull/9511))
|
|
1867
|
+
|
|
1868
|
+
- Renamed a bunch of observability/tracing-related things to drop the AI prefix. ([#9744](https://github.com/mastra-ai/mastra/pull/9744))
|
|
1869
|
+
|
|
1870
|
+
- **Breaking Change**: Remove legacy v1 watch events and consolidate on v2 implementation. ([#9252](https://github.com/mastra-ai/mastra/pull/9252))
|
|
1871
|
+
|
|
1872
|
+
This change simplifies the workflow watching API by removing the legacy v1 event system and promoting v2 as the standard (renamed to just `watch`).
|
|
1873
|
+
|
|
1874
|
+
### What's Changed
|
|
1875
|
+
- Removed legacy v1 watch event handlers and types
|
|
1876
|
+
- Renamed `watch-v2` to `watch` throughout the codebase
|
|
1877
|
+
- Removed `.watch()` method from client-js SDK (`Workflow` and `AgentBuilder` classes)
|
|
1878
|
+
- Removed `/watch` HTTP endpoints from server and deployer
|
|
1879
|
+
- Removed `WorkflowWatchResult` and v1 `WatchEvent` types
|
|
1880
|
+
|
|
1881
|
+
- **BREAKING CHANGE**: Pagination APIs now use `page`/`perPage` instead of `offset`/`limit` ([#9592](https://github.com/mastra-ai/mastra/pull/9592))
|
|
1882
|
+
|
|
1883
|
+
All storage and memory pagination APIs have been updated to use `page` (0-indexed) and `perPage` instead of `offset` and `limit`, aligning with standard REST API patterns.
|
|
1884
|
+
|
|
1885
|
+
**Affected APIs:**
|
|
1886
|
+
- `Memory.listThreadsByResourceId()`
|
|
1887
|
+
- `Memory.listMessages()`
|
|
1888
|
+
- `Storage.listWorkflowRuns()`
|
|
1889
|
+
|
|
1890
|
+
**Migration:**
|
|
1891
|
+
|
|
1892
|
+
```typescript
|
|
1893
|
+
// Before
|
|
1894
|
+
await memory.listThreadsByResourceId({
|
|
1895
|
+
resourceId: 'user-123',
|
|
1896
|
+
offset: 20,
|
|
1897
|
+
limit: 10,
|
|
1898
|
+
});
|
|
1899
|
+
|
|
1900
|
+
// After
|
|
1901
|
+
await memory.listThreadsByResourceId({
|
|
1902
|
+
resourceId: 'user-123',
|
|
1903
|
+
page: 2, // page = Math.floor(offset / limit)
|
|
1904
|
+
perPage: 10,
|
|
1905
|
+
});
|
|
1906
|
+
|
|
1907
|
+
// Before
|
|
1908
|
+
await memory.listMessages({
|
|
1909
|
+
threadId: 'thread-456',
|
|
1910
|
+
offset: 20,
|
|
1911
|
+
limit: 10,
|
|
1912
|
+
});
|
|
1913
|
+
|
|
1914
|
+
// After
|
|
1915
|
+
await memory.listMessages({
|
|
1916
|
+
threadId: 'thread-456',
|
|
1917
|
+
page: 2,
|
|
1918
|
+
perPage: 10,
|
|
1919
|
+
});
|
|
1920
|
+
|
|
1921
|
+
// Before
|
|
1922
|
+
await storage.listWorkflowRuns({
|
|
1923
|
+
workflowName: 'my-workflow',
|
|
1924
|
+
offset: 20,
|
|
1925
|
+
limit: 10,
|
|
1926
|
+
});
|
|
1927
|
+
|
|
1928
|
+
// After
|
|
1929
|
+
await storage.listWorkflowRuns({
|
|
1930
|
+
workflowName: 'my-workflow',
|
|
1931
|
+
page: 2,
|
|
1932
|
+
perPage: 10,
|
|
1933
|
+
});
|
|
1934
|
+
```
|
|
1935
|
+
|
|
1936
|
+
**Additional improvements:**
|
|
1937
|
+
- Added validation for negative `page` values in all storage implementations
|
|
1938
|
+
- Improved `perPage` validation to handle edge cases (negative values, `0`, `false`)
|
|
1939
|
+
- Added reusable query parser utilities for consistent validation in handlers
|
|
1940
|
+
|
|
1941
|
+
- ```([#9709](https://github.com/mastra-ai/mastra/pull/9709))
|
|
1942
|
+
import { Mastra } from '@mastra/core';
|
|
1943
|
+
import { Observability } from '@mastra/observability'; // Explicit import
|
|
1944
|
+
|
|
1945
|
+
const mastra = new Mastra({
|
|
1946
|
+
...other_config,
|
|
1947
|
+
observability: new Observability({
|
|
1948
|
+
default: { enabled: true }
|
|
1949
|
+
}) // Instance
|
|
1950
|
+
});
|
|
1951
|
+
```
|
|
1952
|
+
|
|
1953
|
+
Instead of:
|
|
1954
|
+
|
|
1955
|
+
```
|
|
1956
|
+
import { Mastra } from '@mastra/core';
|
|
1957
|
+
import '@mastra/observability/init'; // Explicit import
|
|
1958
|
+
|
|
1959
|
+
const mastra = new Mastra({
|
|
1960
|
+
...other_config,
|
|
1961
|
+
observability: {
|
|
1962
|
+
default: { enabled: true }
|
|
1963
|
+
}
|
|
1964
|
+
});
|
|
1965
|
+
```
|
|
1966
|
+
|
|
1967
|
+
Also renamed a bunch of:
|
|
1968
|
+
- `Tracing` things to `Observability` things.
|
|
1969
|
+
- `AI-` things to just things.
|
|
1970
|
+
|
|
1971
|
+
- Changing getAgents -> listAgents, getTools -> listTools, getWorkflows -> listWorkflows ([#9495](https://github.com/mastra-ai/mastra/pull/9495))
|
|
1972
|
+
|
|
1973
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
1974
|
+
|
|
1975
|
+
- Renamed `MastraMessageV2` to `MastraDBMessage` ([#9255](https://github.com/mastra-ai/mastra/pull/9255))
|
|
1976
|
+
Made the return format of all methods that return db messages consistent. It's always `{ messages: MastraDBMessage[] }` now, and messages can be converted after that using `@mastra/ai-sdk/ui`'s `toAISdkV4/5Messages()` function
|
|
1977
|
+
|
|
1978
|
+
- Remove legacy evals from Mastra ([#9491](https://github.com/mastra-ai/mastra/pull/9491))
|
|
4
1979
|
|
|
5
1980
|
### Minor Changes
|
|
6
1981
|
|
|
1982
|
+
- Moving scorers under the eval domain, api method consistency, prebuilt evals, scorers require ids. ([#9589](https://github.com/mastra-ai/mastra/pull/9589))
|
|
1983
|
+
|
|
7
1984
|
- Update peer dependencies to match core package version bump (0.22.1) ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
8
1985
|
|
|
9
1986
|
- Toast error from workflow stream and resume stream ([#9431](https://github.com/mastra-ai/mastra/pull/9431))
|
|
@@ -13,6 +1990,9 @@
|
|
|
13
1990
|
|
|
14
1991
|
### Patch Changes
|
|
15
1992
|
|
|
1993
|
+
- dependencies updates: ([#9800](https://github.com/mastra-ai/mastra/pull/9800))
|
|
1994
|
+
- Updated dependency [`@lezer/highlight@^1.2.3` ↗︎](https://www.npmjs.com/package/@lezer/highlight/v/1.2.3) (from `^1.2.1`, in `dependencies`)
|
|
1995
|
+
|
|
16
1996
|
- fetch from the client-js sdk instead of local fetch ([#9376](https://github.com/mastra-ai/mastra/pull/9376))
|
|
17
1997
|
|
|
18
1998
|
- Update MainSidebar component to fit required changes in Cloud CTA link ([#9318](https://github.com/mastra-ai/mastra/pull/9318))
|
|
@@ -58,20 +2038,53 @@
|
|
|
58
2038
|
|
|
59
2039
|
- Add tool call approval ([#8649](https://github.com/mastra-ai/mastra/pull/8649))
|
|
60
2040
|
|
|
2041
|
+
- Fixes issue where clicking the reset button in the model picker would fail to restore the original LanguageModelV2 (or any other types) object that was passed during agent construction. ([#9481](https://github.com/mastra-ai/mastra/pull/9481))
|
|
2042
|
+
|
|
61
2043
|
- Fix multi modal in playground-ui ([#9373](https://github.com/mastra-ai/mastra/pull/9373))
|
|
62
2044
|
|
|
63
2045
|
- Remove "show trace" that pointed to legacy traces ([#9470](https://github.com/mastra-ai/mastra/pull/9470))
|
|
64
2046
|
|
|
2047
|
+
- Fix resume form for nested workflow not displaying when viewing a previously suspended run on studio ([#9805](https://github.com/mastra-ai/mastra/pull/9805))
|
|
2048
|
+
|
|
65
2049
|
- Avoid fetch retries when fetching model providers ([#9452](https://github.com/mastra-ai/mastra/pull/9452))
|
|
66
2050
|
|
|
2051
|
+
- Remove unused /model-providers API ([#9533](https://github.com/mastra-ai/mastra/pull/9533))
|
|
2052
|
+
|
|
67
2053
|
- Fix undefined runtimeContext using memory from playground ([#9328](https://github.com/mastra-ai/mastra/pull/9328))
|
|
68
2054
|
|
|
2055
|
+
- Fix playground white screen when Zod discriminatedUnion is intersected using `and()`. ([#9692](https://github.com/mastra-ai/mastra/pull/9692))
|
|
2056
|
+
This now works, but zod validation will fail, please use `extend` instead
|
|
2057
|
+
|
|
2058
|
+
Instead of
|
|
2059
|
+
|
|
2060
|
+
```
|
|
2061
|
+
z.discriminatedUnion('type', [
|
|
2062
|
+
z.object({ type: z.literal('byCity'), city: z.string() }),
|
|
2063
|
+
z.object({ type: z.literal('byCoords'), lat: z.number(), lon: z.number() }),
|
|
2064
|
+
]).and(
|
|
2065
|
+
z.object({ order: z.number() })
|
|
2066
|
+
)
|
|
2067
|
+
```
|
|
2068
|
+
|
|
2069
|
+
do
|
|
2070
|
+
|
|
2071
|
+
```
|
|
2072
|
+
z.discriminatedUnion('type', [
|
|
2073
|
+
z.object({ type: z.literal('byCity'), city: z.string() }).extend({ order: z.number() }),
|
|
2074
|
+
z.object({ type: z.literal('byCoords'), lat: z.number(), lon: z.number() }).extend({ order: z.number() }),
|
|
2075
|
+
]);
|
|
2076
|
+
```
|
|
2077
|
+
|
|
69
2078
|
- Extract more components to playground-ui for sharing with cloud ([#9241](https://github.com/mastra-ai/mastra/pull/9241))
|
|
70
2079
|
|
|
71
2080
|
- Fix undefined window issue when Sidebar used in Next app ([#9448](https://github.com/mastra-ai/mastra/pull/9448))
|
|
72
2081
|
|
|
73
2082
|
- Move WorkflowInformation to playground-ui ([#9297](https://github.com/mastra-ai/mastra/pull/9297))
|
|
74
2083
|
|
|
2084
|
+
- Remove `waitForEvent` from workflows. `waitForEvent` is now removed, please use suspend & resume flow instead. See https://mastra.ai/en/docs/workflows/suspend-and-resume for more details on suspend & resume flow. ([#9214](https://github.com/mastra-ai/mastra/pull/9214))
|
|
2085
|
+
|
|
2086
|
+
- Add combobox in playground for entities and update routes and error handling ([#9743](https://github.com/mastra-ai/mastra/pull/9743))
|
|
2087
|
+
|
|
75
2088
|
- **Breaking Changes:** ([#9045](https://github.com/mastra-ai/mastra/pull/9045))
|
|
76
2089
|
- Moved `generateTitle` from `threads.generateTitle` to top-level memory option
|
|
77
2090
|
- Changed default value from `true` to `false`
|
|
@@ -85,14 +2098,17 @@
|
|
|
85
2098
|
|
|
86
2099
|
- Move some components to playground-ui for usage in cloud ([#9177](https://github.com/mastra-ai/mastra/pull/9177))
|
|
87
2100
|
|
|
2101
|
+
- Fix the link from traces to workflow ([#9764](https://github.com/mastra-ai/mastra/pull/9764))
|
|
2102
|
+
|
|
88
2103
|
- Remove unecessary react components + dependencies ([#9295](https://github.com/mastra-ai/mastra/pull/9295))
|
|
89
2104
|
|
|
90
2105
|
- Fix studio crashing when message contains non JSON text output of tool call ([#9189](https://github.com/mastra-ai/mastra/pull/9189))
|
|
91
2106
|
|
|
92
|
-
- Updated dependencies [[`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`1ee3411`](https://github.com/mastra-ai/mastra/commit/1ee34113192b11aa8bcdd8d9d5830ae13254b345), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`ea0b8de`](https://github.com/mastra-ai/mastra/commit/ea0b8dec0d4bc86a72a7e75b2f56c6017c58786d), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`0b6112e`](https://github.com/mastra-ai/mastra/commit/0b6112eea01134d2dce13aabda8bb15c37993315), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`63f2f18`](https://github.com/mastra-ai/mastra/commit/63f2f1863dffe3ad23221d0660ed4e4f2b81789d), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
|
|
93
|
-
- @mastra/core@0.0.0
|
|
94
|
-
- @mastra/client-js@0.0.0
|
|
95
|
-
- @mastra/
|
|
2107
|
+
- Updated dependencies [[`39c9743`](https://github.com/mastra-ai/mastra/commit/39c97432d084294f8ba85fbf3ef28098ff21459e), [`f743dbb`](https://github.com/mastra-ai/mastra/commit/f743dbb8b40d1627b5c10c0e6fc154f4ebb6e394), [`3852192`](https://github.com/mastra-ai/mastra/commit/3852192c81b2a4f1f883f17d80ce50e0c60dba55), [`fec5129`](https://github.com/mastra-ai/mastra/commit/fec5129de7fc64423ea03661a56cef31dc747a0d), [`0491e7c`](https://github.com/mastra-ai/mastra/commit/0491e7c9b714cb0ba22187ee062147ec2dd7c712), [`f6f4903`](https://github.com/mastra-ai/mastra/commit/f6f4903397314f73362061dc5a3e8e7c61ea34aa), [`0e8ed46`](https://github.com/mastra-ai/mastra/commit/0e8ed467c54d6901a6a365f270ec15d6faadb36c), [`6c049d9`](https://github.com/mastra-ai/mastra/commit/6c049d94063fdcbd5b81c4912a2bf82a92c9cc0b), [`2f897df`](https://github.com/mastra-ai/mastra/commit/2f897df208508f46f51b7625e5dd20c37f93e0e3), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`3443770`](https://github.com/mastra-ai/mastra/commit/3443770662df8eb24c9df3589b2792d78cfcb811), [`f0a07e0`](https://github.com/mastra-ai/mastra/commit/f0a07e0111b3307c5fabfa4094c5c2cfb734fbe6), [`aaa40e7`](https://github.com/mastra-ai/mastra/commit/aaa40e788628b319baa8e889407d11ad626547fa), [`1521d71`](https://github.com/mastra-ai/mastra/commit/1521d716e5daedc74690c983fbd961123c56756b), [`9e1911d`](https://github.com/mastra-ai/mastra/commit/9e1911db2b4db85e0e768c3f15e0d61e319869f6), [`ebac155`](https://github.com/mastra-ai/mastra/commit/ebac15564a590117db7078233f927a7e28a85106), [`dd1c38d`](https://github.com/mastra-ai/mastra/commit/dd1c38d1b75f1b695c27b40d8d9d6ed00d5e0f6f), [`5948e6a`](https://github.com/mastra-ai/mastra/commit/5948e6a5146c83666ba3f294b2be576c82a513fb), [`8940859`](https://github.com/mastra-ai/mastra/commit/89408593658199b4ad67f7b65e888f344e64a442), [`e629310`](https://github.com/mastra-ai/mastra/commit/e629310f1a73fa236d49ec7a1d1cceb6229dc7cc), [`4c6b492`](https://github.com/mastra-ai/mastra/commit/4c6b492c4dd591c6a592520c1f6855d6e936d71f), [`dff01d8`](https://github.com/mastra-ai/mastra/commit/dff01d81ce1f4e4087cfac20fa868e6db138dd14), [`7491634`](https://github.com/mastra-ai/mastra/commit/7491634fd198c37d9934675756b274ae2e5e415e), [`9d819d5`](https://github.com/mastra-ai/mastra/commit/9d819d54b61481639f4008e4694791bddf187edd), [`b7de533`](https://github.com/mastra-ai/mastra/commit/b7de53361667eb51fefd89fcaed924f3c57cee8d), [`71c8d6c`](https://github.com/mastra-ai/mastra/commit/71c8d6c161253207b2b9588bdadb7eed604f7253), [`6179a9b`](https://github.com/mastra-ai/mastra/commit/6179a9ba36ffac326de3cc3c43cdc8028d37c251), [`00f4921`](https://github.com/mastra-ai/mastra/commit/00f4921dd2c91a1e5446799599ef7116a8214a1a), [`ca8041c`](https://github.com/mastra-ai/mastra/commit/ca8041cce0379fda22ed293a565bcb5b6ddca68a), [`7051bf3`](https://github.com/mastra-ai/mastra/commit/7051bf38b3b122a069008f861f7bfc004a6d9f6e), [`a8f1494`](https://github.com/mastra-ai/mastra/commit/a8f1494f4bbdc2770bcf327d4c7d869e332183f1), [`1ee3411`](https://github.com/mastra-ai/mastra/commit/1ee34113192b11aa8bcdd8d9d5830ae13254b345), [`0793497`](https://github.com/mastra-ai/mastra/commit/079349753620c40246ffd673e3f9d7d9820beff3), [`5df9cce`](https://github.com/mastra-ai/mastra/commit/5df9cce1a753438413f64c11eeef8f845745c2a8), [`f93d992`](https://github.com/mastra-ai/mastra/commit/f93d992a37d5431ab4a71246835d403ef7c4ce85), [`a854ede`](https://github.com/mastra-ai/mastra/commit/a854ede62bf5ac0945a624ac48913dd69c73aabf), [`c576fc0`](https://github.com/mastra-ai/mastra/commit/c576fc0b100b2085afded91a37c97a0ea0ec09c7), [`3defc80`](https://github.com/mastra-ai/mastra/commit/3defc80cf2b88a1b7fc1cc4ddcb91e982a614609), [`16153fe`](https://github.com/mastra-ai/mastra/commit/16153fe7eb13c99401f48e6ca32707c965ee28b9), [`9f4a683`](https://github.com/mastra-ai/mastra/commit/9f4a6833e88b52574665c028fd5508ad5c2f6004), [`ea0b8de`](https://github.com/mastra-ai/mastra/commit/ea0b8dec0d4bc86a72a7e75b2f56c6017c58786d), [`bc94344`](https://github.com/mastra-ai/mastra/commit/bc943444a1342d8a662151b7bce1df7dae32f59c), [`d4efaf3`](https://github.com/mastra-ai/mastra/commit/d4efaf34e6ec269714d50984d2ba7858f2d2079f), [`57d157f`](https://github.com/mastra-ai/mastra/commit/57d157f0b163a95c3e6c9eae31bdb11d1bfc64f9), [`903f67d`](https://github.com/mastra-ai/mastra/commit/903f67d184504a273893818c02b961f5423a79ad), [`2a90c55`](https://github.com/mastra-ai/mastra/commit/2a90c55a86a9210697d5adaab5ee94584b079adc), [`0b6112e`](https://github.com/mastra-ai/mastra/commit/0b6112eea01134d2dce13aabda8bb15c37993315), [`eb09742`](https://github.com/mastra-ai/mastra/commit/eb09742197f66c4c38154c3beec78313e69760b2), [`96d35f6`](https://github.com/mastra-ai/mastra/commit/96d35f61376bc2b1bf148648a2c1985bd51bef55), [`5cbe88a`](https://github.com/mastra-ai/mastra/commit/5cbe88aefbd9f933bca669fd371ea36bf939ac6d), [`a1bd7b8`](https://github.com/mastra-ai/mastra/commit/a1bd7b8571db16b94eb01588f451a74758c96d65), [`d78b38d`](https://github.com/mastra-ai/mastra/commit/d78b38d898fce285260d3bbb4befade54331617f), [`0633100`](https://github.com/mastra-ai/mastra/commit/0633100a911ad22f5256471bdf753da21c104742), [`c710c16`](https://github.com/mastra-ai/mastra/commit/c710c1652dccfdc4111c8412bca7a6bb1d48b441), [`354ad0b`](https://github.com/mastra-ai/mastra/commit/354ad0b7b1b8183ac567f236a884fc7ede6d7138), [`cfae733`](https://github.com/mastra-ai/mastra/commit/cfae73394f4920635e6c919c8e95ff9a0788e2e5), [`e3dfda7`](https://github.com/mastra-ai/mastra/commit/e3dfda7b11bf3b8c4bb55637028befb5f387fc74), [`519d9e6`](https://github.com/mastra-ai/mastra/commit/519d9e6d31910457c54bdae8b7b7cb3a69f41831), [`844ea5d`](https://github.com/mastra-ai/mastra/commit/844ea5dc0c248961e7bf73629ae7dcff503e853c), [`398fde3`](https://github.com/mastra-ai/mastra/commit/398fde3f39e707cda79372cdae8f9870e3b57c8d), [`dfe3f8c`](https://github.com/mastra-ai/mastra/commit/dfe3f8c7376ffe159236819e19ca522143c1f972), [`f0f8f12`](https://github.com/mastra-ai/mastra/commit/f0f8f125c308f2d0fd36942ef652fd852df7522f), [`0d7618b`](https://github.com/mastra-ai/mastra/commit/0d7618bc650bf2800934b243eca5648f4aeed9c2), [`7b763e5`](https://github.com/mastra-ai/mastra/commit/7b763e52fc3eaf699c2a99f2adf418dd46e4e9a5), [`e8dcd71`](https://github.com/mastra-ai/mastra/commit/e8dcd71fa5e473c8ba1d6dad99eef182d20a0491), [`d36cfbb`](https://github.com/mastra-ai/mastra/commit/d36cfbbb6565ba5f827883cc9bb648eb14befdc1), [`63f2f18`](https://github.com/mastra-ai/mastra/commit/63f2f1863dffe3ad23221d0660ed4e4f2b81789d), [`3697853`](https://github.com/mastra-ai/mastra/commit/3697853deeb72017d90e0f38a93c1e29221aeca0), [`c23200d`](https://github.com/mastra-ai/mastra/commit/c23200ddfd60830effb39329674ba4ca93be6aac), [`b2e45ec`](https://github.com/mastra-ai/mastra/commit/b2e45eca727a8db01a81ba93f1a5219c7183c839), [`e4ab0a4`](https://github.com/mastra-ai/mastra/commit/e4ab0a4ff7aae1b837cfbd8fb726fc1376165b56), [`d6d49f7`](https://github.com/mastra-ai/mastra/commit/d6d49f7b8714fa19a52ff9c7cf7fb7e73751901e), [`a534e95`](https://github.com/mastra-ai/mastra/commit/a534e9591f83b3cc1ebff99c67edf4cda7bf81d3), [`9d0e7fe`](https://github.com/mastra-ai/mastra/commit/9d0e7feca8ed98de959f53476ee1456073673348), [`53d927c`](https://github.com/mastra-ai/mastra/commit/53d927cc6f03bff33655b7e2b788da445a08731d), [`3f2faf2`](https://github.com/mastra-ai/mastra/commit/3f2faf2e2d685d6c053cc5af1bf9fedf267b2ce5), [`22f64bc`](https://github.com/mastra-ai/mastra/commit/22f64bc1d37149480b58bf2fefe35b79a1e3e7d5), [`363284b`](https://github.com/mastra-ai/mastra/commit/363284bb974e850f06f40f89a28c79d9f432d7e4), [`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc), [`7fa87f0`](https://github.com/mastra-ai/mastra/commit/7fa87f09b9edfd45a274e5e0d5e109d1a5d9ae8b), [`b7959e6`](https://github.com/mastra-ai/mastra/commit/b7959e6e25a46b480f9ea2217c4c6c588c423791), [`bda6370`](https://github.com/mastra-ai/mastra/commit/bda637009360649aaf579919e7873e33553c273e), [`d7acd8e`](https://github.com/mastra-ai/mastra/commit/d7acd8e987b5d7eff4fd98b0906c17c06a2e83d5), [`c7f1f7d`](https://github.com/mastra-ai/mastra/commit/c7f1f7d24f61f247f018cc2d1f33bf63212959a7), [`0bddc6d`](https://github.com/mastra-ai/mastra/commit/0bddc6d8dbd6f6008c0cba2e4960a2da75a55af1), [`735d8c1`](https://github.com/mastra-ai/mastra/commit/735d8c1c0d19fbc09e6f8b66cf41bc7655993838), [`acf322e`](https://github.com/mastra-ai/mastra/commit/acf322e0f1fd0189684cf529d91c694bea918a45), [`c942802`](https://github.com/mastra-ai/mastra/commit/c942802a477a925b01859a7b8688d4355715caaa), [`a0c8c1b`](https://github.com/mastra-ai/mastra/commit/a0c8c1b87d4fee252aebda73e8637fbe01d761c9), [`cc34739`](https://github.com/mastra-ai/mastra/commit/cc34739c34b6266a91bea561119240a7acf47887), [`c218bd3`](https://github.com/mastra-ai/mastra/commit/c218bd3759e32423735b04843a09404572631014), [`2c4438b`](https://github.com/mastra-ai/mastra/commit/2c4438b87817ab7eed818c7990fef010475af1a3), [`2b8893c`](https://github.com/mastra-ai/mastra/commit/2b8893cb108ef9acb72ee7835cd625610d2c1a4a), [`8e5c75b`](https://github.com/mastra-ai/mastra/commit/8e5c75bdb1d08a42d45309a4c72def4b6890230f), [`e59e0d3`](https://github.com/mastra-ai/mastra/commit/e59e0d32afb5fcf2c9f3c00c8f81f6c21d3a63fa), [`fa8409b`](https://github.com/mastra-ai/mastra/commit/fa8409bc39cfd8ba6643b9db5269b90b22e2a2f7), [`173c535`](https://github.com/mastra-ai/mastra/commit/173c535c0645b0da404fe09f003778f0b0d4e019)]:
|
|
2108
|
+
- @mastra/core@1.0.0-beta.0
|
|
2109
|
+
- @mastra/client-js@1.0.0-beta.0
|
|
2110
|
+
- @mastra/ai-sdk@1.0.0-beta.0
|
|
2111
|
+
- @mastra/react@0.1.0-beta.0
|
|
96
2112
|
|
|
97
2113
|
## 6.6.2
|
|
98
2114
|
|