@mastra/playground-ui 5.0.0 → 5.0.1-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.
Files changed (34) hide show
  1. package/dist/components/assistant-ui/assistant-modal.d.ts +1 -3
  2. package/dist/components/assistant-ui/thread.d.ts +3 -4
  3. package/dist/components/assistant-ui/user-message.d.ts +1 -3
  4. package/dist/domains/agents/agent/agent-traces.d.ts +1 -4
  5. package/dist/domains/traces/context/trace-context.d.ts +0 -2
  6. package/dist/domains/traces/trace-details.d.ts +1 -1
  7. package/dist/domains/traces/trace-span-details.d.ts +1 -1
  8. package/dist/domains/traces/trace-span-view.d.ts +4 -6
  9. package/dist/domains/traces/traces-sidebar.d.ts +1 -4
  10. package/dist/domains/traces/utils/getSpanVariant.d.ts +4 -0
  11. package/dist/domains/traces/utils.d.ts +1 -1
  12. package/dist/domains/workflows/context/v-next-workflow-nested-graph-context.d.ts +14 -0
  13. package/dist/domains/workflows/context/workflow-run-context.d.ts +3 -1
  14. package/dist/domains/workflows/index.d.ts +2 -0
  15. package/dist/domains/workflows/workflow/utils.d.ts +8 -1
  16. package/dist/domains/workflows/workflow/v-next-workflow-graph-inner.d.ts +5 -0
  17. package/dist/domains/workflows/workflow/v-next-workflow-graph.d.ts +5 -0
  18. package/dist/domains/workflows/workflow/v-next-workflow-nested-graph.d.ts +6 -0
  19. package/dist/domains/workflows/workflow/v-next-workflow-nested-node.d.ts +11 -0
  20. package/dist/domains/workflows/workflow/v-next-workflow-trigger.d.ts +5 -0
  21. package/dist/domains/workflows/workflow/workflow-traces.d.ts +1 -4
  22. package/dist/ds/components/TraceTree/Span.d.ts +22 -1
  23. package/dist/ds/components/TraceTree/Trace.d.ts +4 -1
  24. package/dist/ds/icons/LatencyIcon.d.ts +3 -0
  25. package/dist/ds/icons/index.d.ts +1 -0
  26. package/dist/hooks/use-workflows.d.ts +45 -2
  27. package/dist/index.cjs.js +5374 -4913
  28. package/dist/index.cjs.js.map +1 -1
  29. package/dist/index.es.js +5374 -4916
  30. package/dist/index.es.js.map +1 -1
  31. package/dist/lib/mastra-client.d.ts +3 -0
  32. package/package.json +4 -4
  33. package/dist/components/assistant-ui/assistant-sidebar.d.ts +0 -3
  34. package/dist/domains/traces/trace-tree-view.d.ts +0 -6
@@ -0,0 +1,3 @@
1
+ import { MastraClient } from '@mastra/client-js';
2
+
3
+ export declare const createMastraClient: (baseUrl?: string) => MastraClient;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "5.0.0",
4
+ "version": "5.0.1-alpha.2",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -63,7 +63,7 @@
63
63
  "@radix-ui/react-tooltip": "^1.1.8",
64
64
  "@tanstack/react-table": "^8.21.2",
65
65
  "@types/react-syntax-highlighter": "^15.5.13",
66
- "@uiw/codemirror-theme-github": "^4.23.8",
66
+ "@uiw/codemirror-theme-dracula": "^4.23.10",
67
67
  "@uiw/react-codemirror": "^4.23.8",
68
68
  "@xyflow/react": "^12.3.6",
69
69
  "cmdk": "^1.0.0",
@@ -91,14 +91,14 @@
91
91
  "use-debounce": "^10.0.4",
92
92
  "zod": "^3.24.2",
93
93
  "zustand": "^5.0.3",
94
- "@mastra/client-js": "^0.1.18"
94
+ "@mastra/client-js": "^0.1.19-alpha.2"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "lucide-react": "^0.474.0",
98
98
  "react": ">=19.0.0",
99
99
  "react-dom": ">=19.0.0",
100
100
  "tailwindcss": "^3.0.0",
101
- "@mastra/core": "^0.9.0"
101
+ "@mastra/core": "^0.9.1-alpha.2"
102
102
  },
103
103
  "devDependencies": {
104
104
  "@types/node": "^20.17.27",
@@ -1,3 +0,0 @@
1
- import { FC, PropsWithChildren } from '../../../node_modules/@types/react';
2
-
3
- export declare const AssistantSidebar: FC<PropsWithChildren>;
@@ -1,6 +0,0 @@
1
- import { SpanNode } from './types';
2
-
3
- export declare function TreeNode({ node, depth }: {
4
- node: SpanNode;
5
- depth?: number;
6
- }): import("react/jsx-runtime").JSX.Element;