@mastra/playground-ui 21.0.0 → 21.0.1-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.
@@ -1,6 +1,7 @@
1
1
  interface AgentMemoryProps {
2
2
  agentId: string;
3
3
  threadId: string;
4
+ memoryType?: 'local' | 'gateway';
4
5
  }
5
- export declare function AgentMemory({ agentId, threadId }: AgentMemoryProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function AgentMemory({ agentId, threadId, memoryType }: AgentMemoryProps): import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -1,3 +1,10 @@
1
- export declare function AgentTracesPanel({ agentId }: {
1
+ type AgentTracesPanelProps = {
2
2
  agentId: string;
3
- }): import("react/jsx-runtime").JSX.Element;
3
+ basePath?: string;
4
+ initialTraceId?: string;
5
+ initialSpanId?: string;
6
+ initialSpanTab?: string;
7
+ initialScoreId?: string;
8
+ };
9
+ export declare function AgentTracesPanel({ agentId, basePath, initialTraceId, initialSpanId, initialSpanTab, initialScoreId, }: AgentTracesPanelProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -11,4 +11,5 @@ export declare const providerMapToIcon: {
11
11
  X_GROK: import("react/jsx-runtime").JSX.Element;
12
12
  MISTRAL: import("react/jsx-runtime").JSX.Element;
13
13
  netlify: import("react/jsx-runtime").JSX.Element;
14
+ mastra: import("react/jsx-runtime").JSX.Element;
14
15
  };
@@ -1,4 +1,4 @@
1
- /** Avg Score — average score from the old scores storage */
1
+ /** Avg Score — average score across all scorers via aggregate API */
2
2
  export declare function useAvgScoreKpiMetrics(): import('@tanstack/react-query').UseQueryResult<{
3
3
  value: null;
4
4
  previousValue: null;
@@ -0,0 +1,2 @@
1
+ import { default as React } from '../../../node_modules/@types/react';
2
+ export declare const MastraIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "21.0.0",
4
+ "version": "21.0.1-alpha.1",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -119,10 +119,10 @@
119
119
  "react-dom": ">=19.0.0",
120
120
  "tailwindcss": "^4.0.0",
121
121
  "zod": "^3.25.0 || ^4.0.0",
122
- "@mastra/client-js": "^1.12.0",
123
- "@mastra/react": "0.2.21",
122
+ "@mastra/ai-sdk": "^1.3.0",
123
+ "@mastra/react": "0.2.22-alpha.1",
124
124
  "@mastra/schema-compat": "1.2.7",
125
- "@mastra/ai-sdk": "^1.3.0"
125
+ "@mastra/client-js": "^1.12.1-alpha.1"
126
126
  },
127
127
  "devDependencies": {
128
128
  "@storybook/addon-docs": "^9.1.20",
@@ -157,11 +157,11 @@
157
157
  "vitest": "4.0.18",
158
158
  "zod": "^4.3.6",
159
159
  "@internal/lint": "0.0.78",
160
- "@mastra/ai-sdk": "^1.3.0",
161
- "@mastra/client-js": "^1.12.0",
162
- "@mastra/react": "0.2.21",
160
+ "@mastra/client-js": "^1.12.1-alpha.1",
161
+ "@mastra/react": "0.2.22-alpha.1",
163
162
  "@mastra/schema-compat": "1.2.7",
164
- "@mastra/core": "1.21.0"
163
+ "@mastra/core": "1.22.0-alpha.1",
164
+ "@mastra/ai-sdk": "^1.3.0"
165
165
  },
166
166
  "homepage": "https://mastra.ai",
167
167
  "repository": {