@mastra/playground-ui 21.0.0-alpha.0 → 21.0.0-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.
@@ -11,7 +11,6 @@ type UseAgentTraceScoresParams = {
11
11
  export declare function useAgentTraceScores({ agentId, scorerId, enabled }: UseAgentTraceScoresParams): {
12
12
  scoresByTraceId: Map<string, {
13
13
  timestamp: Date;
14
- traceId: string;
15
14
  scorerId: string;
16
15
  score: number;
17
16
  scoreTraceId?: string | null | undefined;
@@ -38,7 +37,9 @@ export declare function useAgentTraceScores({ agentId, scorerId, enabled }: UseA
38
37
  serviceName?: string | null | undefined;
39
38
  scope?: Record<string, unknown> | null | undefined;
40
39
  experimentId?: string | null | undefined;
40
+ traceId?: string | null | undefined;
41
41
  spanId?: string | null | undefined;
42
+ scorerName?: string | null | undefined;
42
43
  scorerVersion?: string | null | undefined;
43
44
  scoreSource?: string | null | undefined;
44
45
  source?: string | null | undefined;
@@ -11,3 +11,4 @@ export declare const WithError: Story;
11
11
  export declare const Disabled: Story;
12
12
  export declare const HiddenLabel: Story;
13
13
  export declare const HorizontalLayout: Story;
14
+ export declare const Sizes: Story;
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-alpha.0",
4
+ "version": "21.0.0-alpha.2",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -120,9 +120,9 @@
120
120
  "tailwindcss": "^4.0.0",
121
121
  "zod": "^3.25.0 || ^4.0.0",
122
122
  "@mastra/ai-sdk": "^1.3.0",
123
+ "@mastra/react": "0.2.21-alpha.2",
123
124
  "@mastra/schema-compat": "1.2.7",
124
- "@mastra/react": "0.2.21-alpha.0",
125
- "@mastra/client-js": "^1.12.0-alpha.0"
125
+ "@mastra/client-js": "^1.12.0-alpha.2"
126
126
  },
127
127
  "devDependencies": {
128
128
  "@storybook/addon-docs": "^9.1.20",
@@ -138,7 +138,9 @@
138
138
  "@types/react-dom": "^19.2.3",
139
139
  "@types/semver": "^7.7.1",
140
140
  "@vitejs/plugin-react": "^5.2.0",
141
+ "@testing-library/react": "^16.3.2",
141
142
  "@vitest/ui": "4.0.18",
143
+ "jsdom": "^26.1.0",
142
144
  "class-variance-authority": "^0.7.1",
143
145
  "clsx": "^2.1.1",
144
146
  "eslint-plugin-react-hooks": "^7.0.1",
@@ -156,10 +158,10 @@
156
158
  "zod": "^4.3.6",
157
159
  "@internal/lint": "0.0.77",
158
160
  "@mastra/ai-sdk": "^1.3.0",
159
- "@mastra/client-js": "^1.12.0-alpha.0",
160
- "@mastra/core": "1.21.0-alpha.0",
161
- "@mastra/schema-compat": "1.2.7",
162
- "@mastra/react": "0.2.21-alpha.0"
161
+ "@mastra/client-js": "^1.12.0-alpha.2",
162
+ "@mastra/core": "1.21.0-alpha.2",
163
+ "@mastra/react": "0.2.21-alpha.2",
164
+ "@mastra/schema-compat": "1.2.7"
163
165
  },
164
166
  "homepage": "https://mastra.ai",
165
167
  "repository": {