@mastra/playground-ui 22.1.0-alpha.0 → 22.1.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 +70 -0
- package/dist/index.cjs.js +3381 -1186
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +50 -1
- package/dist/index.es.js +3374 -1182
- package/dist/index.es.js.map +1 -1
- package/dist/src/domains/agents/components/agent-playground/agent-playground-version-bar.d.ts +3 -1
- package/dist/src/domains/agents/components/agent-playground/agent-playground-view.d.ts +2 -1
- package/dist/src/domains/agents/hooks/use-agent-cms-form.d.ts +1 -1
- package/dist/src/domains/agents/hooks/use-stored-agents.d.ts +1 -0
- package/dist/src/domains/logs/components/trace/types.d.ts +1 -17
- package/dist/src/domains/observability/components/index.d.ts +2 -0
- package/dist/src/domains/traces/components/format-hierarchical-spans.d.ts +3 -0
- package/dist/src/domains/traces/components/observability-traces-list.d.ts +34 -0
- package/dist/src/domains/traces/components/score-data-panel.d.ts +8 -0
- package/dist/src/domains/traces/components/span-data-panel.d.ts +18 -0
- package/dist/src/domains/traces/components/span-scores-list.d.ts +9 -0
- package/dist/src/domains/traces/components/span-scoring.d.ts +10 -0
- package/dist/src/domains/traces/components/span-token-usage.d.ts +22 -0
- package/dist/src/domains/traces/components/trace-data-panel.d.ts +13 -0
- package/dist/src/domains/traces/components/trace-timeline.d.ts +14 -0
- package/dist/src/domains/traces/components/traces-toolbar.d.ts +30 -0
- package/dist/src/domains/traces/hooks/get-all-span-ids.d.ts +3 -0
- package/dist/src/domains/traces/hooks/use-trace-spans.d.ts +44 -0
- package/dist/src/domains/traces/hooks/use-trigger-scorer.d.ts +10 -0
- package/dist/src/domains/traces/types.d.ts +35 -0
- package/dist/src/domains/traces/utils/group-traces-by-thread.d.ts +20 -0
- package/dist/src/domains/traces/utils/span-utils.d.ts +15 -0
- package/dist/src/ds/components/DataList/TracesDataList/index.d.ts +1 -0
- package/dist/src/ds/components/DataList/TracesDataList/traces-data-list-cells.d.ts +29 -0
- package/dist/src/ds/components/DataList/TracesDataList/traces-data-list.d.ts +24 -0
- package/dist/src/ds/components/DataList/data-list-pagination.d.ts +7 -0
- package/dist/src/ds/components/DataList/data-list-subheader.d.ts +6 -0
- package/dist/src/ds/components/DataList/data-list-subheading.d.ts +6 -0
- package/dist/src/ds/components/DataList/data-list.d.ts +6 -0
- package/dist/src/ds/components/DataList/index.d.ts +1 -0
- package/dist/src/ds/components/DataList/shared.d.ts +1 -1
- package/dist/src/ds/components/DataPanel/data-panel.d.ts +2 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 22.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Search input can now be collapsed into a compact icon button with tooltip and auto-focuses when expanded ([#15130](https://github.com/mastra-ai/mastra/pull/15130))
|
|
8
|
+
|
|
9
|
+
- Added DataKeysAndValues component — a compound component for displaying key-value pairs in a grid layout with support for single or two-column modes and section headers ([#15126](https://github.com/mastra-ai/mastra/pull/15126))
|
|
10
|
+
|
|
11
|
+
- Added DateTimeRangePicker component — a date range selector with preset options (last 24h, 7d, 30d, etc.) and a custom range mode with dual calendar and time pickers ([#15128](https://github.com/mastra-ai/mastra/pull/15128))
|
|
12
|
+
|
|
13
|
+
- Added DataCodeSection component — a read-only code viewer with JSON syntax highlighting, search, multiline toggle, and an expandable fullscreen dialog ([#15125](https://github.com/mastra-ai/mastra/pull/15125))
|
|
14
|
+
|
|
15
|
+
- Added DataPanel compound component — a container for detail panels with header, navigation, close button, loading, and empty states ([#15127](https://github.com/mastra-ai/mastra/pull/15127))
|
|
16
|
+
|
|
17
|
+
- New inline Traces page replacing the old dialog-based Observability page. Trace, span, and score details now open in stacked side panels instead of full-screen dialogs. URL deep-linking supports traceId, spanId, tab, and scoreId params. Includes new TracesDataList, DataList.Pagination, DataList.Subheader components, and Evaluate Trace / Save as Dataset Item actions. ([#15139](https://github.com/mastra-ai/mastra/pull/15139))
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- **Fixed publishing older agent versions** ([#15154](https://github.com/mastra-ai/mastra/pull/15154))
|
|
22
|
+
|
|
23
|
+
Fixed agent editor to allow publishing older read-only versions. Previously, the Publish button was disabled when viewing a previous version. Now a "Publish This Version" button appears, enabling users to set any older version as the published version.
|
|
24
|
+
|
|
25
|
+
**Fixed Publish button being clickable without a saved draft**
|
|
26
|
+
|
|
27
|
+
The Publish button is now disabled until a draft version is saved. Previously, making edits would enable the Publish button even without a saved draft, which caused an error when clicked.
|
|
28
|
+
|
|
29
|
+
**Eliminated spurious 404 error logs for code-only agents**
|
|
30
|
+
|
|
31
|
+
The agent versions endpoint now checks both code-registered and stored agents before returning 404, and the frontend conditionally fetches stored agent details only when versions exist. This prevents noisy error logs when navigating to the editor for agents that haven't been published yet.
|
|
32
|
+
|
|
33
|
+
**Changed editor sections to be collapsed by default**
|
|
34
|
+
|
|
35
|
+
The System Prompt, Tools, and Variables sections in the agent editor are now collapsed by default when navigating to the editor page.
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [[`8db7663`](https://github.com/mastra-ai/mastra/commit/8db7663c9a9c735828094c359d2e327fd4f8fba3), [`153e864`](https://github.com/mastra-ai/mastra/commit/153e86476b425db7cd0dc8490050096e92964a38), [`715710d`](https://github.com/mastra-ai/mastra/commit/715710d12fa47cf88e09d41f13843eddc29327b0), [`378c6c4`](https://github.com/mastra-ai/mastra/commit/378c6c4755726e8d8cf83a14809b350b90d46c62), [`153e864`](https://github.com/mastra-ai/mastra/commit/153e86476b425db7cd0dc8490050096e92964a38), [`9f91fd5`](https://github.com/mastra-ai/mastra/commit/9f91fd538ab2a44f8cc740bcad8e51205f74fbea), [`ba6fa9c`](https://github.com/mastra-ai/mastra/commit/ba6fa9cc0f3e1912c49fd70d4c3bb8c44903ddaa), [`b0190af`](https://github.com/mastra-ai/mastra/commit/b0190af9179181aa051fa62162dc0dc686999ffe)]:
|
|
38
|
+
- @mastra/core@1.24.0
|
|
39
|
+
- @mastra/ai-sdk@1.3.3
|
|
40
|
+
- @mastra/client-js@1.13.2
|
|
41
|
+
- @mastra/react@0.2.24
|
|
42
|
+
|
|
43
|
+
## 22.1.0-alpha.1
|
|
44
|
+
|
|
45
|
+
### Minor Changes
|
|
46
|
+
|
|
47
|
+
- New inline Traces page replacing the old dialog-based Observability page. Trace, span, and score details now open in stacked side panels instead of full-screen dialogs. URL deep-linking supports traceId, spanId, tab, and scoreId params. Includes new TracesDataList, DataList.Pagination, DataList.Subheader components, and Evaluate Trace / Save as Dataset Item actions. ([#15139](https://github.com/mastra-ai/mastra/pull/15139))
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- **Fixed publishing older agent versions** ([#15154](https://github.com/mastra-ai/mastra/pull/15154))
|
|
52
|
+
|
|
53
|
+
Fixed agent editor to allow publishing older read-only versions. Previously, the Publish button was disabled when viewing a previous version. Now a "Publish This Version" button appears, enabling users to set any older version as the published version.
|
|
54
|
+
|
|
55
|
+
**Fixed Publish button being clickable without a saved draft**
|
|
56
|
+
|
|
57
|
+
The Publish button is now disabled until a draft version is saved. Previously, making edits would enable the Publish button even without a saved draft, which caused an error when clicked.
|
|
58
|
+
|
|
59
|
+
**Eliminated spurious 404 error logs for code-only agents**
|
|
60
|
+
|
|
61
|
+
The agent versions endpoint now checks both code-registered and stored agents before returning 404, and the frontend conditionally fetches stored agent details only when versions exist. This prevents noisy error logs when navigating to the editor for agents that haven't been published yet.
|
|
62
|
+
|
|
63
|
+
**Changed editor sections to be collapsed by default**
|
|
64
|
+
|
|
65
|
+
The System Prompt, Tools, and Variables sections in the agent editor are now collapsed by default when navigating to the editor page.
|
|
66
|
+
|
|
67
|
+
- Updated dependencies [[`8db7663`](https://github.com/mastra-ai/mastra/commit/8db7663c9a9c735828094c359d2e327fd4f8fba3), [`715710d`](https://github.com/mastra-ai/mastra/commit/715710d12fa47cf88e09d41f13843eddc29327b0), [`378c6c4`](https://github.com/mastra-ai/mastra/commit/378c6c4755726e8d8cf83a14809b350b90d46c62), [`9f91fd5`](https://github.com/mastra-ai/mastra/commit/9f91fd538ab2a44f8cc740bcad8e51205f74fbea), [`ba6fa9c`](https://github.com/mastra-ai/mastra/commit/ba6fa9cc0f3e1912c49fd70d4c3bb8c44903ddaa)]:
|
|
68
|
+
- @mastra/core@1.24.0-alpha.1
|
|
69
|
+
- @mastra/client-js@1.13.2-alpha.1
|
|
70
|
+
- @mastra/ai-sdk@1.3.3-alpha.0
|
|
71
|
+
- @mastra/react@0.2.24-alpha.1
|
|
72
|
+
|
|
3
73
|
## 22.1.0-alpha.0
|
|
4
74
|
|
|
5
75
|
### Minor Changes
|