@mastra/playground-ui 21.0.0-alpha.0 → 21.0.0-alpha.2
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 +23 -0
- package/dist/index.cjs.js +18 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +8 -0
- package/dist/index.es.js +18 -4
- package/dist/index.es.js.map +1 -1
- package/dist/src/domains/agents/hooks/use-agent-trace-scores.d.ts +2 -1
- package/dist/src/domains/configuration/__tests__/studio-config-form-api-prefix.test.d.ts +1 -0
- package/dist/src/ds/components/FormFieldBlocks/fields/search-field-block.stories.d.ts +1 -0
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 21.0.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ec5c319`](https://github.com/mastra-ai/mastra/commit/ec5c3197a50d034cb8e9cc494eebfddc684b5d81), [`6517789`](https://github.com/mastra-ai/mastra/commit/65177895b74b5471fe2245c7292f0176d9b3385d), [`9ad6aa6`](https://github.com/mastra-ai/mastra/commit/9ad6aa6dfe858afc6955d1df5f3f78c40bb96b9c), [`2862127`](https://github.com/mastra-ai/mastra/commit/2862127d0a7cbd28523120ad64fea067a95838e6), [`3d16814`](https://github.com/mastra-ai/mastra/commit/3d16814c395931373543728994ff45ac98093074), [`7f498d0`](https://github.com/mastra-ai/mastra/commit/7f498d099eacef64fd43ee412e3bd6f87965a8a6), [`8cf8a67`](https://github.com/mastra-ai/mastra/commit/8cf8a67b061b737cb06d501fb8c1967a98bbf3cb), [`d7827e3`](https://github.com/mastra-ai/mastra/commit/d7827e393937c6cb0c7a744dde4d31538cb542b7)]:
|
|
8
|
+
- @mastra/core@1.21.0-alpha.2
|
|
9
|
+
- @mastra/client-js@1.12.0-alpha.2
|
|
10
|
+
- @mastra/react@0.2.21-alpha.2
|
|
11
|
+
|
|
12
|
+
## 21.0.0-alpha.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Added component tests for StudioConfigForm apiPrefix handling to validate the fix for issue #14634. ([#14893](https://github.com/mastra-ai/mastra/pull/14893))
|
|
17
|
+
|
|
18
|
+
- Fixed SearchFieldBlock search icon sizing and vertical alignment to properly scale across all input sizes (sm, md, default, lg) ([#14927](https://github.com/mastra-ai/mastra/pull/14927))
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`13f4327`](https://github.com/mastra-ai/mastra/commit/13f4327f052faebe199cefbe906d33bf90238767)]:
|
|
21
|
+
- @mastra/core@1.21.0-alpha.1
|
|
22
|
+
- @mastra/client-js@1.12.0-alpha.1
|
|
23
|
+
- @mastra/ai-sdk@1.3.0
|
|
24
|
+
- @mastra/react@0.2.21-alpha.1
|
|
25
|
+
|
|
3
26
|
## 21.0.0-alpha.0
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -34303,14 +34303,25 @@ function SearchFieldBlock({
|
|
|
34303
34303
|
placeholder,
|
|
34304
34304
|
onChange,
|
|
34305
34305
|
size,
|
|
34306
|
-
className:
|
|
34306
|
+
className: cn(
|
|
34307
|
+
size === "sm" && "pl-8",
|
|
34308
|
+
size === "md" && "pl-9",
|
|
34309
|
+
(!size || size === "default") && "pl-10",
|
|
34310
|
+
size === "lg" && "pl-11"
|
|
34311
|
+
)
|
|
34307
34312
|
}
|
|
34308
34313
|
),
|
|
34309
34314
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34310
34315
|
lucideReact.SearchIcon,
|
|
34311
34316
|
{
|
|
34312
34317
|
"aria-hidden": "true",
|
|
34313
|
-
className:
|
|
34318
|
+
className: cn(
|
|
34319
|
+
"text-neutral4 opacity-50 group-has-focus:opacity-100 absolute left-3 top-1/2 -translate-y-1/2",
|
|
34320
|
+
size === "sm" && "w-3.5 h-3.5",
|
|
34321
|
+
size === "md" && "w-4 h-4",
|
|
34322
|
+
(!size || size === "default") && "w-[1.125rem] h-[1.125rem]",
|
|
34323
|
+
size === "lg" && "w-5 h-5"
|
|
34324
|
+
)
|
|
34314
34325
|
}
|
|
34315
34326
|
),
|
|
34316
34327
|
onReset && value && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -39347,6 +39358,9 @@ function useAgentTraceScores({ agentId, scorerId, enabled }) {
|
|
|
39347
39358
|
const map = /* @__PURE__ */ new Map();
|
|
39348
39359
|
if (!allScores) return map;
|
|
39349
39360
|
for (const score of allScores) {
|
|
39361
|
+
if (!score.traceId) {
|
|
39362
|
+
continue;
|
|
39363
|
+
}
|
|
39350
39364
|
const existing = map.get(score.traceId);
|
|
39351
39365
|
if (existing) {
|
|
39352
39366
|
existing.push(score);
|
|
@@ -42878,7 +42892,7 @@ function MetricsFlexGrid({ children, className }) {
|
|
|
42878
42892
|
}
|
|
42879
42893
|
|
|
42880
42894
|
const ANALYTICS_OBSERVABILITY_TYPES = /* @__PURE__ */ new Set([
|
|
42881
|
-
|
|
42895
|
+
"ObservabilityStorageClickhouseVNext",
|
|
42882
42896
|
"ObservabilityStorageDuckDB",
|
|
42883
42897
|
"ObservabilityInMemory"
|
|
42884
42898
|
]);
|
|
@@ -42896,7 +42910,7 @@ function MetricsDashboard() {
|
|
|
42896
42910
|
{
|
|
42897
42911
|
iconSlot: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CircleSlashIcon, {}),
|
|
42898
42912
|
titleSlot: "Metrics are not available with your current storage",
|
|
42899
|
-
descriptionSlot: "Metrics require DuckDB or in-memory storage for observability.
|
|
42913
|
+
descriptionSlot: "Metrics require ClickHouse, DuckDB, or in-memory storage for observability. Relational databases (PostgreSQL, LibSQL) do not support metrics collection. To enable metrics on an existing project, switch the observability storage in the Mastra configuration.",
|
|
42900
42914
|
actionSlot: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42901
42915
|
Button,
|
|
42902
42916
|
{
|