@mastra/playground-ui 7.0.0-beta.25 → 7.0.0-beta.27
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 +21 -0
- package/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +6 -6
package/dist/index.es.js
CHANGED
|
@@ -72,6 +72,7 @@ import { languages } from '@codemirror/language-data';
|
|
|
72
72
|
import { githubDarkInit } from '@uiw/codemirror-theme-github';
|
|
73
73
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
74
74
|
import { format as format$1 } from 'date-fns/format';
|
|
75
|
+
import { EntityType } from '@mastra/core/observability';
|
|
75
76
|
import semver from 'semver';
|
|
76
77
|
|
|
77
78
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
@@ -17799,7 +17800,7 @@ const EmptyProcessorsTable = () => /* @__PURE__ */ jsx("div", { className: "flex
|
|
|
17799
17800
|
className: "w-full",
|
|
17800
17801
|
variant: "light",
|
|
17801
17802
|
as: "a",
|
|
17802
|
-
href: "https://mastra.ai/
|
|
17803
|
+
href: "https://mastra.ai/docs/agents/processors",
|
|
17803
17804
|
target: "_blank",
|
|
17804
17805
|
children: [
|
|
17805
17806
|
/* @__PURE__ */ jsx(Icon, { children: /* @__PURE__ */ jsx(Cpu, {}) }),
|
|
@@ -19941,9 +19942,9 @@ function SpanTabs({
|
|
|
19941
19942
|
}) {
|
|
19942
19943
|
const { Link } = useLinkComponent();
|
|
19943
19944
|
let entityType;
|
|
19944
|
-
if (span?.attributes?.agentId) {
|
|
19945
|
+
if (span?.attributes?.agentId || span?.entityType === EntityType.AGENT) {
|
|
19945
19946
|
entityType = "Agent";
|
|
19946
|
-
} else if (span?.attributes?.workflowId) {
|
|
19947
|
+
} else if (span?.attributes?.workflowId || span?.entityType === EntityType.WORKFLOW_RUN) {
|
|
19947
19948
|
entityType = "Workflow";
|
|
19948
19949
|
}
|
|
19949
19950
|
return /* @__PURE__ */ jsxs(Tabs, { defaultTab: defaultActiveTab, children: [
|