@mastra/playground-ui 21.0.0-alpha.1 → 21.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/dist/index.es.js CHANGED
@@ -39326,6 +39326,9 @@ function useAgentTraceScores({ agentId, scorerId, enabled }) {
39326
39326
  const map = /* @__PURE__ */ new Map();
39327
39327
  if (!allScores) return map;
39328
39328
  for (const score of allScores) {
39329
+ if (!score.traceId) {
39330
+ continue;
39331
+ }
39329
39332
  const existing = map.get(score.traceId);
39330
39333
  if (existing) {
39331
39334
  existing.push(score);
@@ -42857,7 +42860,7 @@ function MetricsFlexGrid({ children, className }) {
42857
42860
  }
42858
42861
 
42859
42862
  const ANALYTICS_OBSERVABILITY_TYPES = /* @__PURE__ */ new Set([
42860
- // 'ObservabilityStorageClickhouse',
42863
+ "ObservabilityStorageClickhouseVNext",
42861
42864
  "ObservabilityStorageDuckDB",
42862
42865
  "ObservabilityInMemory"
42863
42866
  ]);
@@ -42875,7 +42878,7 @@ function MetricsDashboard() {
42875
42878
  {
42876
42879
  iconSlot: /* @__PURE__ */ jsx(CircleSlashIcon, {}),
42877
42880
  titleSlot: "Metrics are not available with your current storage",
42878
- 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.",
42879
42882
  actionSlot: /* @__PURE__ */ jsxs(
42880
42883
  Button,
42881
42884
  {