@mastra/playground-ui 5.1.2-alpha.0 → 5.1.2-alpha.1

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.
@@ -3,9 +3,8 @@ import { RefinedTrace } from '../../traces/types';
3
3
  export interface AgentTracesProps {
4
4
  className?: string;
5
5
  traces: RefinedTrace[];
6
- isLoading: boolean;
7
6
  error: {
8
7
  message: string;
9
8
  } | null;
10
9
  }
11
- export declare function AgentTraces({ className, traces, isLoading, error }: AgentTracesProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function AgentTraces({ className, traces, error }: AgentTracesProps): import("react/jsx-runtime").JSX.Element;
@@ -6,7 +6,6 @@ export type TraceContextType = {
6
6
  trace: Span[] | null;
7
7
  setTrace: React.Dispatch<React.SetStateAction<Span[] | null>>;
8
8
  traces: RefinedTrace[];
9
- setTraces: React.Dispatch<React.SetStateAction<RefinedTrace[]>>;
10
9
  currentTraceIndex: number;
11
10
  setCurrentTraceIndex: React.Dispatch<React.SetStateAction<number>>;
12
11
  nextTrace: () => void;
@@ -16,7 +15,7 @@ export type TraceContextType = {
16
15
  clearData: () => void;
17
16
  };
18
17
  export declare const TraceContext: import('../../../../node_modules/@types/react').Context<TraceContextType>;
19
- export declare function TraceProvider({ children, initialTraces, }: {
18
+ export declare function TraceProvider({ children, initialTraces: traces, }: {
20
19
  children: React.ReactNode;
21
20
  initialTraces?: RefinedTrace[];
22
21
  }): import("react/jsx-runtime").JSX.Element;
@@ -2,9 +2,8 @@ import { RefinedTrace } from './types';
2
2
 
3
3
  export interface TracesTableProps {
4
4
  traces: RefinedTrace[];
5
- isLoading: boolean;
6
5
  error: {
7
6
  message: string;
8
7
  } | null;
9
8
  }
10
- export declare const TracesTable: ({ traces, isLoading, error }: TracesTableProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const TracesTable: ({ traces, error }: TracesTableProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,11 +2,10 @@ import { RefinedTrace } from '../../traces/types';
2
2
 
3
3
  export interface WorkflowTracesProps {
4
4
  traces: RefinedTrace[];
5
- isLoading: boolean;
6
5
  error: {
7
6
  message: string;
8
7
  } | null;
9
8
  runId?: string;
10
9
  stepName?: string;
11
10
  }
12
- export declare function WorkflowTraces({ traces, isLoading, error, runId, stepName }: WorkflowTracesProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function WorkflowTraces({ traces, error, runId, stepName }: WorkflowTracesProps): import("react/jsx-runtime").JSX.Element;
@@ -20,7 +20,6 @@ export * from './ds/icons/index';
20
20
  export * from './lib/polls';
21
21
  export * from './hooks/use-speech-recognition';
22
22
  export { useTraces } from './hooks/index';
23
- export { TraceContext, TraceProvider } from './domains/traces/context/trace-context';
24
23
  export type { TraceContextType } from './domains/traces/context/trace-context';
25
24
  export { refineTraces } from './domains/traces/utils';
26
25
  export * from './store/playground-store';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "5.1.2-alpha.0",
4
+ "version": "5.1.2-alpha.1",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -92,10 +92,10 @@
92
92
  "use-debounce": "^10.0.4",
93
93
  "zod": "^3.24.3",
94
94
  "zustand": "^5.0.3",
95
- "@mastra/client-js": "^0.10.2-alpha.0"
95
+ "@mastra/client-js": "^0.10.2-alpha.1"
96
96
  },
97
97
  "peerDependencies": {
98
- "@mastra/core": "^0.10.0",
98
+ "@mastra/core": "^0.10.0-alpha.0",
99
99
  "lucide-react": "^0.474.0",
100
100
  "react": ">=19.0.0",
101
101
  "react-dom": ">=19.0.0",
@@ -117,7 +117,7 @@
117
117
  "vite": "^6.0.0",
118
118
  "vite-plugin-dts": "^3.9.1",
119
119
  "vite-plugin-lib-inject-css": "^2.2.1",
120
- "@mastra/core": "0.10.2-alpha.0"
120
+ "@mastra/core": "0.10.2-alpha.2"
121
121
  },
122
122
  "scripts": {
123
123
  "dev": "vite",