@mastra/playground-ui 22.0.0-alpha.4 → 22.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 +55 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 22.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add browser view UI components for agent threads ([#14938](https://github.com/mastra-ai/mastra/pull/14938))
|
|
8
|
+
- Browser thumbnail with expandable preview in chat
|
|
9
|
+
- Full-screen modal and sidebar browser views
|
|
10
|
+
- Real-time screencast display with mouse/keyboard interaction
|
|
11
|
+
- Browser tool call history visualization
|
|
12
|
+
- URL bar and tab information display
|
|
13
|
+
|
|
14
|
+
- Added trajectory support to the playground UI. Expected trajectory is now visible and editable across all dataset views — item list, item detail panels, item dialogs, and standalone item pages. Trajectory scorers are visually distinguished in scorer lists and experiment results. Saving a trace as a dataset item auto-extracts the trajectory. ([#14902](https://github.com/mastra-ai/mastra/pull/14902))
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Consolidated Tab button styles into the Tab component, removing duplicated child selectors from TabList. Removed unused alignment prop. Active underline now uses the neutral4 design token. ([#15004](https://github.com/mastra-ai/mastra/pull/15004))
|
|
19
|
+
|
|
20
|
+
- Matched tooltip panel background to dropdown and default button surface in Studio. ([#15009](https://github.com/mastra-ai/mastra/pull/15009))
|
|
21
|
+
|
|
22
|
+
- Fixed Scores Over Time chart to always show a 24-hour view by collapsing multi-day ranges into hourly averages across all days in the selected period ([#14981](https://github.com/mastra-ai/mastra/pull/14981))
|
|
23
|
+
|
|
24
|
+
- Added browser tools to the Agent details UI in Playground. Agents configured with browser support now show a "Browser Tools" section in metadata. ([#14998](https://github.com/mastra-ai/mastra/pull/14998))
|
|
25
|
+
|
|
26
|
+
- Added gateway memory indicator in Studio agent memory panel. When an agent uses gateway-backed memory, the panel hides local-only sections (search, working memory, config) and shows a "Memory Gateway" badge instead. ([#14952](https://github.com/mastra-ai/mastra/pull/14952))
|
|
27
|
+
|
|
28
|
+
- Aligned dropdown menu panel background with default button styling in Studio. ([#15009](https://github.com/mastra-ai/mastra/pull/15009))
|
|
29
|
+
|
|
30
|
+
- Updated scores metrics to use aggregate and time series APIs instead of fetching raw scores. Scores Over Time chart now always shows hourly data points regardless of the selected time range. Avg Score KPI uses weighted averages via the aggregate API. Updated metrics card layout to use flexible row heights and refined chart legend styling. ([#14937](https://github.com/mastra-ai/mastra/pull/14937))
|
|
31
|
+
|
|
32
|
+
- Fixed deep links for scorer, observability, and agent trace dialogs. ([#14970](https://github.com/mastra-ai/mastra/pull/14970))
|
|
33
|
+
|
|
34
|
+
Developers can now share and reload URLs that keep the selected trace, scoring tab, span, and score in Studio.
|
|
35
|
+
|
|
36
|
+
**Before**
|
|
37
|
+
`/observability`
|
|
38
|
+
`/agents/chef-agent/traces`
|
|
39
|
+
`/evaluation/scorers/response-quality`
|
|
40
|
+
|
|
41
|
+
**After**
|
|
42
|
+
`/observability?traceId=...&spanId=...&tab=scores&scoreId=...`
|
|
43
|
+
`/agents/chef-agent/traces?traceId=...&spanId=...&tab=scores&scoreId=...`
|
|
44
|
+
`/evaluation/scorers/response-quality?entity=...&scoreId=...`
|
|
45
|
+
|
|
46
|
+
This makes review links reliable across the scorer page, observability, and the agent traces view.
|
|
47
|
+
|
|
48
|
+
- Fixed light theme visibility for metrics charts: CartesianGrid lines now adapt to the current theme, and HorizontalBars use reduced opacity in light mode so labels remain readable. Updated MetricsCard minimum height. ([#14975](https://github.com/mastra-ai/mastra/pull/14975))
|
|
49
|
+
|
|
50
|
+
- Refactored chat error messages to use the Alert design system component instead of inline hardcoded styles, fixing text overflow on long error messages ([#15012](https://github.com/mastra-ai/mastra/pull/15012))
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [[`cb15509`](https://github.com/mastra-ai/mastra/commit/cb15509b58f6a83e11b765c945082afc027db972), [`81e4259`](https://github.com/mastra-ai/mastra/commit/81e425939b4ceeb4f586e9b6d89c3b1c1f2d2fe7), [`951b8a1`](https://github.com/mastra-ai/mastra/commit/951b8a1b5ef7e1474c59dc4f2b9fc1a8b1e508b6), [`80c5668`](https://github.com/mastra-ai/mastra/commit/80c5668e365470d3a96d3e953868fd7a643ff67c), [`3d478c1`](https://github.com/mastra-ai/mastra/commit/3d478c1e13f17b80f330ac49d7aa42ef929b93ff), [`2b4ea10`](https://github.com/mastra-ai/mastra/commit/2b4ea10b053e4ea1ab232d536933a4a3c4cba999), [`d87e6e6`](https://github.com/mastra-ai/mastra/commit/d87e6e61c42475a7b57768e71dfa12964326a632), [`c8c86aa`](https://github.com/mastra-ai/mastra/commit/c8c86aa1458017fbd1c0776fdc0c520d129df8a6), [`a0544f0`](https://github.com/mastra-ai/mastra/commit/a0544f0a1e6bd52ac12676228967c1938e43648d), [`6039f17`](https://github.com/mastra-ai/mastra/commit/6039f176f9c457304825ff1df8c83b8e457376c0), [`06b928d`](https://github.com/mastra-ai/mastra/commit/06b928dfc2f5630d023467476cc5919dfa858d0a), [`8791bb3`](https://github.com/mastra-ai/mastra/commit/8791bb358bef4daaa8a9413560c45b726edbdc66), [`6a8d984`](https://github.com/mastra-ai/mastra/commit/6a8d9841f2933456ee1598099f488d742b600054), [`c8c86aa`](https://github.com/mastra-ai/mastra/commit/c8c86aa1458017fbd1c0776fdc0c520d129df8a6)]:
|
|
53
|
+
- @mastra/core@1.22.0
|
|
54
|
+
- @mastra/client-js@1.13.0
|
|
55
|
+
- @mastra/ai-sdk@1.3.1
|
|
56
|
+
- @mastra/react@0.2.22
|
|
57
|
+
|
|
3
58
|
## 22.0.0-alpha.4
|
|
4
59
|
|
|
5
60
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "22.0.0
|
|
4
|
+
"version": "22.0.0",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
"react-dom": ">=19.0.0",
|
|
120
120
|
"tailwindcss": "^4.0.0",
|
|
121
121
|
"zod": "^3.25.0 || ^4.0.0",
|
|
122
|
-
"@mastra/client-js": "^1.13.0
|
|
123
|
-
"@mastra/react": "0.2.22
|
|
124
|
-
"@mastra/
|
|
125
|
-
"@mastra/
|
|
122
|
+
"@mastra/client-js": "^1.13.0",
|
|
123
|
+
"@mastra/react": "0.2.22",
|
|
124
|
+
"@mastra/schema-compat": "1.2.7",
|
|
125
|
+
"@mastra/ai-sdk": "^1.3.1"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
128
|
"@storybook/addon-docs": "^9.1.20",
|
|
@@ -156,11 +156,11 @@
|
|
|
156
156
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
157
157
|
"vitest": "4.0.18",
|
|
158
158
|
"zod": "^4.3.6",
|
|
159
|
-
"@internal/lint": "0.0.
|
|
160
|
-
"@mastra/
|
|
161
|
-
"@mastra/
|
|
162
|
-
"@mastra/core": "1.22.0
|
|
163
|
-
"@mastra/react": "0.2.22
|
|
159
|
+
"@internal/lint": "0.0.79",
|
|
160
|
+
"@mastra/ai-sdk": "^1.3.1",
|
|
161
|
+
"@mastra/client-js": "^1.13.0",
|
|
162
|
+
"@mastra/core": "1.22.0",
|
|
163
|
+
"@mastra/react": "0.2.22",
|
|
164
164
|
"@mastra/schema-compat": "1.2.7"
|
|
165
165
|
},
|
|
166
166
|
"homepage": "https://mastra.ai",
|