@mastra/playground-ui 19.0.1-alpha.1 → 19.1.0-alpha.3
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/dist/index.cjs.js +900 -126
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +891 -129
- package/dist/index.es.js.map +1 -1
- package/dist/src/domains/agents/hooks/use-can-create-agent.d.ts +3 -0
- package/dist/src/domains/agents/index.d.ts +1 -0
- package/dist/src/domains/metrics/components/metrics-utils.d.ts +1 -0
- package/dist/src/domains/metrics/hooks/use-model-cost-kpi-metrics.d.ts +7 -0
- package/dist/src/domains/metrics/hooks/use-model-usage-cost-metrics.d.ts +2 -0
- package/dist/src/domains/metrics/hooks/use-token-usage-by-agent-metrics.d.ts +2 -0
- package/dist/src/domains/observability/components/traces-list.d.ts +1 -0
- package/dist/src/domains/observability/components/traces-tools.d.ts +23 -1
- package/dist/src/domains/observability/hooks/use-environments.d.ts +1 -0
- package/dist/src/domains/observability/hooks/use-service-names.d.ts +1 -0
- package/dist/src/domains/observability/hooks/use-tags.d.ts +1 -0
- package/dist/src/domains/observability/index.d.ts +3 -0
- package/dist/src/ds/components/FormFieldBlocks/index.d.ts +5 -0
- package/dist/src/ds/components/MetricsCard/metrics-card-title-and-description.d.ts +1 -0
- package/dist/src/ds/components/MetricsCard/metrics-card-title.d.ts +2 -1
- package/dist/src/ds/components/ScrollArea/scroll-area.d.ts +2 -0
- package/dist/src/index.d.ts +5 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 19.1.0-alpha.3
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added comprehensive filtering and search to the observability traces view. Traces can now be filtered by entity type, status, tags, metadata key-value pairs, date range (with presets and custom ranges), and context fields (environment, service name, user ID, session ID, and more). Also added full-text search across trace names and metadata, thread grouping with a toggle, and a new traces list with collapsible thread groups. ([#14564](https://github.com/mastra-ai/mastra/pull/14564))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- dependencies updates: ([#14584](https://github.com/mastra-ai/mastra/pull/14584))
|
|
12
|
+
- Updated dependency [`@assistant-ui/react@^0.12.19` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.12.19) (from `^0.12.17`, in `dependencies`)
|
|
13
|
+
- Updated dependency [`@assistant-ui/react-markdown@^0.12.6` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-markdown/v/0.12.6) (from `^0.12.5`, in `dependencies`)
|
|
14
|
+
- Updated dependency [`@assistant-ui/react-syntax-highlighter@^0.12.7` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-syntax-highlighter/v/0.12.7) (from `^0.12.6`, in `dependencies`)
|
|
15
|
+
|
|
16
|
+
- Added `as` prop to `MetricsCardTitle` and `titleAs` prop to `MetricsCardTitleAndDescription` to customize the heading level (h2, h3, h4). Defaults to h2. ([#14718](https://github.com/mastra-ai/mastra/pull/14718))
|
|
17
|
+
|
|
18
|
+
- Added DuckDB to supported observability storage types for metrics dashboard. Unhid ModelCostKpiCard. Updated empty state description to reflect DuckDB and ClickHouse support status. ([#14670](https://github.com/mastra-ai/mastra/pull/14670))
|
|
19
|
+
|
|
20
|
+
- Added cost metrics to the Metrics dashboard. ([#14716](https://github.com/mastra-ai/mastra/pull/14716))
|
|
21
|
+
- Added a **Total Model Cost** KPI card.
|
|
22
|
+
- Added a **Cost** column in the **Model Usage** table.
|
|
23
|
+
- Added a **Cost** view in **Token Usage by Agent**.
|
|
24
|
+
- Improved `ScrollArea` to support horizontal and vertical scrolling together.
|
|
25
|
+
|
|
26
|
+
**Example**
|
|
27
|
+
|
|
28
|
+
```tsx
|
|
29
|
+
<ScrollArea orientation="both" maxHeight="20rem">
|
|
30
|
+
<MetricsDataTable ... />
|
|
31
|
+
</ScrollArea>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
- Added 'Create Agent' and 'Edit Agent' buttons to the playground, gated behind the MASTRA_EXPERIMENTAL_UI environment variable. When enabled, a 'Create Agent' button appears on the agents list page and an 'Edit' button appears on the agent detail header for stored agents. ([#14694](https://github.com/mastra-ai/mastra/pull/14694))
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [[`dc514a8`](https://github.com/mastra-ai/mastra/commit/dc514a83dba5f719172dddfd2c7b858e4943d067), [`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`197daf0`](https://github.com/mastra-ai/mastra/commit/197daf03a33e4650bd90391eef0ec7d0392a6c9c), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778)]:
|
|
37
|
+
- @mastra/core@1.18.0-alpha.0
|
|
38
|
+
- @mastra/client-js@1.10.1-alpha.3
|
|
39
|
+
- @mastra/ai-sdk@1.2.1
|
|
40
|
+
- @mastra/react@0.2.18-alpha.3
|
|
41
|
+
|
|
42
|
+
## 19.0.1-alpha.2
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- dependencies updates: ([#14584](https://github.com/mastra-ai/mastra/pull/14584))
|
|
47
|
+
- Updated dependency [`@assistant-ui/react@^0.12.19` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.12.19) (from `^0.12.17`, in `dependencies`)
|
|
48
|
+
- Updated dependency [`@assistant-ui/react-markdown@^0.12.6` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-markdown/v/0.12.6) (from `^0.12.5`, in `dependencies`)
|
|
49
|
+
- Updated dependency [`@assistant-ui/react-syntax-highlighter@^0.12.7` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-syntax-highlighter/v/0.12.7) (from `^0.12.6`, in `dependencies`)
|
|
50
|
+
|
|
51
|
+
- Added 'Create Agent' and 'Edit Agent' buttons to the playground, gated behind the MASTRA_EXPERIMENTAL_UI environment variable. When enabled, a 'Create Agent' button appears on the agents list page and an 'Edit' button appears on the agent detail header for stored agents. ([#14694](https://github.com/mastra-ai/mastra/pull/14694))
|
|
52
|
+
|
|
53
|
+
- Updated dependencies [[`404fea1`](https://github.com/mastra-ai/mastra/commit/404fea13042181f0b0c73a101392ac87c79ceae2), [`ebf5047`](https://github.com/mastra-ai/mastra/commit/ebf5047e825c38a1a356f10b214c1d4260dfcd8d), [`675f15b`](https://github.com/mastra-ai/mastra/commit/675f15b7eaeea649158d228ea635be40480c584d), [`b174c63`](https://github.com/mastra-ai/mastra/commit/b174c63a093108d4e53b9bc89a078d9f66202b3f), [`eef7cb2`](https://github.com/mastra-ai/mastra/commit/eef7cb2abe7ef15951e2fdf792a5095c6c643333), [`197daf0`](https://github.com/mastra-ai/mastra/commit/197daf03a33e4650bd90391eef0ec7d0392a6c9c), [`86e3263`](https://github.com/mastra-ai/mastra/commit/86e326363edd12be5a5b25ccce4a39f66f7c9f50), [`e8a5b0b`](https://github.com/mastra-ai/mastra/commit/e8a5b0b9bc94d12dee4150095512ca27a288d778)]:
|
|
54
|
+
- @mastra/core@1.17.0-alpha.2
|
|
55
|
+
- @mastra/client-js@1.10.1-alpha.2
|
|
56
|
+
- @mastra/react@0.2.18-alpha.2
|
|
57
|
+
|
|
3
58
|
## 19.0.1-alpha.1
|
|
4
59
|
|
|
5
60
|
### Patch Changes
|