@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/dist/index.css CHANGED
@@ -1881,6 +1881,10 @@
1881
1881
  width: 1.75rem;
1882
1882
  }
1883
1883
 
1884
+ .w-\[1\.125rem\] {
1885
+ width: 1.125rem;
1886
+ }
1887
+
1884
1888
  .w-\[1em\] {
1885
1889
  width: 1em;
1886
1890
  }
@@ -4882,6 +4886,10 @@
4882
4886
  padding-left: var(--spacing-10);
4883
4887
  }
4884
4888
 
4889
+ .pl-11 {
4890
+ padding-left: var(--spacing-11);
4891
+ }
4892
+
4885
4893
  .pl-12 {
4886
4894
  padding-left: var(--spacing-12);
4887
4895
  }
package/dist/index.es.js CHANGED
@@ -34271,14 +34271,25 @@ function SearchFieldBlock({
34271
34271
  placeholder,
34272
34272
  onChange,
34273
34273
  size,
34274
- className: "pl-10"
34274
+ className: cn(
34275
+ size === "sm" && "pl-8",
34276
+ size === "md" && "pl-9",
34277
+ (!size || size === "default") && "pl-10",
34278
+ size === "lg" && "pl-11"
34279
+ )
34275
34280
  }
34276
34281
  ),
34277
34282
  /* @__PURE__ */ jsx(
34278
34283
  SearchIcon,
34279
34284
  {
34280
34285
  "aria-hidden": "true",
34281
- className: "text-neutral4 opacity-50 group-has-focus:opacity-100 absolute top-2 left-3 w-5 h-5"
34286
+ className: cn(
34287
+ "text-neutral4 opacity-50 group-has-focus:opacity-100 absolute left-3 top-1/2 -translate-y-1/2",
34288
+ size === "sm" && "w-3.5 h-3.5",
34289
+ size === "md" && "w-4 h-4",
34290
+ (!size || size === "default") && "w-[1.125rem] h-[1.125rem]",
34291
+ size === "lg" && "w-5 h-5"
34292
+ )
34282
34293
  }
34283
34294
  ),
34284
34295
  onReset && value && /* @__PURE__ */ jsx(
@@ -39315,6 +39326,9 @@ function useAgentTraceScores({ agentId, scorerId, enabled }) {
39315
39326
  const map = /* @__PURE__ */ new Map();
39316
39327
  if (!allScores) return map;
39317
39328
  for (const score of allScores) {
39329
+ if (!score.traceId) {
39330
+ continue;
39331
+ }
39318
39332
  const existing = map.get(score.traceId);
39319
39333
  if (existing) {
39320
39334
  existing.push(score);
@@ -42846,7 +42860,7 @@ function MetricsFlexGrid({ children, className }) {
42846
42860
  }
42847
42861
 
42848
42862
  const ANALYTICS_OBSERVABILITY_TYPES = /* @__PURE__ */ new Set([
42849
- // 'ObservabilityStorageClickhouse',
42863
+ "ObservabilityStorageClickhouseVNext",
42850
42864
  "ObservabilityStorageDuckDB",
42851
42865
  "ObservabilityInMemory"
42852
42866
  ]);
@@ -42864,7 +42878,7 @@ function MetricsDashboard() {
42864
42878
  {
42865
42879
  iconSlot: /* @__PURE__ */ jsx(CircleSlashIcon, {}),
42866
42880
  titleSlot: "Metrics are not available with your current storage",
42867
- descriptionSlot: "Metrics require DuckDB or in-memory storage for observability. ClickHouse support is coming soon. Relational databases (PostgreSQL, LibSQL) do not support metrics collection. To enable metrics on an existing project, switch the observability storage in the Mastra configuration.",
42881
+ 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.",
42868
42882
  actionSlot: /* @__PURE__ */ jsxs(
42869
42883
  Button,
42870
42884
  {