@mastra/playground-ui 7.0.0-beta.25 → 7.0.0-beta.26

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 7.0.0-beta.26
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed scorer eligibility check in observability to also check span.entityType field ([#12078](https://github.com/mastra-ai/mastra/pull/12078))
8
+
9
+ - Updated dependencies [[`026b848`](https://github.com/mastra-ai/mastra/commit/026b8483fbf5b6d977be8f7e6aac8d15c75558ac), [`ffa553a`](https://github.com/mastra-ai/mastra/commit/ffa553a3edc1bd17d73669fba66d6b6f4ac10897)]:
10
+ - @mastra/client-js@1.0.0-beta.26
11
+ - @mastra/core@1.0.0-beta.26
12
+ - @mastra/react@0.1.0-beta.26
13
+ - @mastra/ai-sdk@1.0.0-beta.16
14
+
3
15
  ## 7.0.0-beta.25
4
16
 
5
17
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -71,6 +71,7 @@ const languageData = require('@codemirror/language-data');
71
71
  const codemirrorThemeGithub = require('@uiw/codemirror-theme-github');
72
72
  const AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
73
73
  const format = require('date-fns/format');
74
+ const observability = require('@mastra/core/observability');
74
75
  const semver = require('semver');
75
76
 
76
77
  function _interopNamespaceDefault(e) {
@@ -19974,9 +19975,9 @@ function SpanTabs({
19974
19975
  }) {
19975
19976
  const { Link } = useLinkComponent();
19976
19977
  let entityType;
19977
- if (span?.attributes?.agentId) {
19978
+ if (span?.attributes?.agentId || span?.entityType === observability.EntityType.AGENT) {
19978
19979
  entityType = "Agent";
19979
- } else if (span?.attributes?.workflowId) {
19980
+ } else if (span?.attributes?.workflowId || span?.entityType === observability.EntityType.WORKFLOW_RUN) {
19980
19981
  entityType = "Workflow";
19981
19982
  }
19982
19983
  return /* @__PURE__ */ jsxRuntime.jsxs(Tabs, { defaultTab: defaultActiveTab, children: [