@mastra/playground-ui 17.0.0-alpha.2 → 17.0.0
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 +31 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 17.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added dedicated session page for agents at `/agents/<agentId>/session`. This minimal view shows only the chat interface without the sidebar or information pane, making it ideal for quick internal testing or sharing with non-technical team members. If request context presets are configured, a preset dropdown appears in the header. ([#13754](https://github.com/mastra-ai/mastra/pull/13754))
|
|
8
|
+
|
|
9
|
+
Added `hideModelSwitcher` prop to `AgentChat` and `Thread` components to allow hiding the model picker in the composer.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Fixed crash during template installation by ensuring error values from stream events are converted to strings before being passed to the UI. This prevents the 'e?.includes is not a function' TypeError when the server returns non-string error payloads. ([#14267](https://github.com/mastra-ai/mastra/pull/14267))
|
|
14
|
+
|
|
15
|
+
- Fixed crash when template installation errors are non-string values (e.g. objects). The error is now safely converted to a string before calling .includes(), preventing the 'e?.includes is not a function' TypeError in the studio. ([#14267](https://github.com/mastra-ai/mastra/pull/14267))
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`51970b3`](https://github.com/mastra-ai/mastra/commit/51970b3828494d59a8dd4df143b194d37d31e3f5), [`4444280`](https://github.com/mastra-ai/mastra/commit/444428094253e916ec077e66284e685fde67021e), [`4a7ce05`](https://github.com/mastra-ai/mastra/commit/4a7ce05125b8d3d260f68f1fc4a6c6866d22ba24), [`7a167db`](https://github.com/mastra-ai/mastra/commit/7a167db025e63a616123dee5855ff572c91264c5), [`085e371`](https://github.com/mastra-ai/mastra/commit/085e3718a7d0fe9a210fe7dd1c867b9bdfe8d16b), [`b77aa19`](https://github.com/mastra-ai/mastra/commit/b77aa1981361c021f2c881bee8f0c703687f00da), [`dbb879a`](https://github.com/mastra-ai/mastra/commit/dbb879af0b809c668e9b3a9d8bac97d806caa267), [`8b4ce84`](https://github.com/mastra-ai/mastra/commit/8b4ce84aed0808b9805cc4fd7147c1f8a2ef7a36), [`8d4cfe6`](https://github.com/mastra-ai/mastra/commit/8d4cfe6b9a7157d3876206227ec9f04cde6dbc4a), [`dd6ca1c`](https://github.com/mastra-ai/mastra/commit/dd6ca1cdea3b8b6182f4cf61df41070ba0cc0deb), [`ce26fe2`](https://github.com/mastra-ai/mastra/commit/ce26fe2166dd90254f8bee5776e55977143e97de), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`4cb4edf`](https://github.com/mastra-ai/mastra/commit/4cb4edf3c909d197ec356c1790d13270514ffef6), [`8de3555`](https://github.com/mastra-ai/mastra/commit/8de355572c6fd838f863a3e7e6fe24d0947b774f), [`b26307f`](https://github.com/mastra-ai/mastra/commit/b26307f050df39629511b0e831b8fc26973ce8b1), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`8de3555`](https://github.com/mastra-ai/mastra/commit/8de355572c6fd838f863a3e7e6fe24d0947b774f)]:
|
|
18
|
+
- @mastra/core@1.14.0
|
|
19
|
+
- @mastra/schema-compat@1.2.5
|
|
20
|
+
- @mastra/ai-sdk@1.1.4
|
|
21
|
+
- @mastra/client-js@1.9.0
|
|
22
|
+
- @mastra/react@0.2.15
|
|
23
|
+
|
|
24
|
+
## 17.0.0-alpha.3
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`8b4ce84`](https://github.com/mastra-ai/mastra/commit/8b4ce84aed0808b9805cc4fd7147c1f8a2ef7a36), [`8d4cfe6`](https://github.com/mastra-ai/mastra/commit/8d4cfe6b9a7157d3876206227ec9f04cde6dbc4a), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a), [`68a019d`](https://github.com/mastra-ai/mastra/commit/68a019d30d22251ddd628a2947d60215c03c350a)]:
|
|
29
|
+
- @mastra/core@1.14.0-alpha.3
|
|
30
|
+
- @mastra/client-js@1.9.0-alpha.3
|
|
31
|
+
- @mastra/ai-sdk@1.1.4-alpha.0
|
|
32
|
+
- @mastra/react@0.2.15-alpha.3
|
|
33
|
+
|
|
3
34
|
## 17.0.0-alpha.2
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "17.0.0
|
|
4
|
+
"version": "17.0.0",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -128,10 +128,10 @@
|
|
|
128
128
|
"react-dom": ">=19.0.0",
|
|
129
129
|
"tailwindcss": "^3.0.0",
|
|
130
130
|
"zod": "^3.25.0 || ^4.0.0",
|
|
131
|
-
"@mastra/ai-sdk": "^1.1.4
|
|
132
|
-
"@mastra/client-js": "^1.9.0
|
|
133
|
-
"@mastra/
|
|
134
|
-
"@mastra/
|
|
131
|
+
"@mastra/ai-sdk": "^1.1.4",
|
|
132
|
+
"@mastra/client-js": "^1.9.0",
|
|
133
|
+
"@mastra/schema-compat": "1.2.5",
|
|
134
|
+
"@mastra/react": "0.2.15"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@storybook/addon-docs": "^9.1.20",
|
|
@@ -161,11 +161,11 @@
|
|
|
161
161
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
162
162
|
"vitest": "4.0.18",
|
|
163
163
|
"zod": "^4.3.6",
|
|
164
|
-
"@mastra/ai-sdk": "^1.1.4
|
|
165
|
-
"@mastra/client-js": "^1.9.0
|
|
166
|
-
"@mastra/
|
|
167
|
-
"@mastra/
|
|
168
|
-
"@mastra/
|
|
164
|
+
"@mastra/ai-sdk": "^1.1.4",
|
|
165
|
+
"@mastra/client-js": "^1.9.0",
|
|
166
|
+
"@mastra/react": "0.2.15",
|
|
167
|
+
"@mastra/schema-compat": "1.2.5",
|
|
168
|
+
"@mastra/core": "1.14.0"
|
|
169
169
|
},
|
|
170
170
|
"homepage": "https://mastra.ai",
|
|
171
171
|
"repository": {
|