@mastra/playground-ui 31.0.0 → 32.0.0-alpha.0

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 32.0.0-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Improved agent message, stream, and observational-memory type handling across the client SDKs and playground UI. ([#17208](https://github.com/mastra-ai/mastra/pull/17208))
8
+
9
+ - Updated dependencies [[`e17e5c1`](https://github.com/mastra-ai/mastra/commit/e17e5c1e1f6c7743d9e48ebce740e25cf4f897e0), [`d8a79af`](https://github.com/mastra-ai/mastra/commit/d8a79afe06a6352c90d0fb7bef0f394ad0af8eff), [`c973db4`](https://github.com/mastra-ai/mastra/commit/c973db428df1b564ff0c35d4b2a90e8f4f1e13fd), [`552285e`](https://github.com/mastra-ai/mastra/commit/552285e5af43cfc680a0972032cab8de8776c6a0), [`77e686c`](https://github.com/mastra-ai/mastra/commit/77e686c264e493e99ae5024e4dfe3ea5d5a09718), [`ece8dba`](https://github.com/mastra-ai/mastra/commit/ece8dba7ec1a5089eee8c33167cd762bfa91e509), [`e751af2`](https://github.com/mastra-ai/mastra/commit/e751af219433fbf4c7035b2d771b4c9ec8813b05), [`d8a79af`](https://github.com/mastra-ai/mastra/commit/d8a79afe06a6352c90d0fb7bef0f394ad0af8eff), [`43dd577`](https://github.com/mastra-ai/mastra/commit/43dd577aa2b056b86b92cb903433f4fc13e69687), [`e2a8380`](https://github.com/mastra-ai/mastra/commit/e2a838017a7657850404c1e94c70d79ffdc6f14a), [`be3f1cd`](https://github.com/mastra-ai/mastra/commit/be3f1cd81f0e2a649e8eac15a024d542d814aef8), [`a34d9db`](https://github.com/mastra-ai/mastra/commit/a34d9dbc39fedb722f271318e9355ecee70489ab)]:
10
+ - @mastra/client-js@1.23.0-alpha.0
11
+ - @mastra/core@1.39.0-alpha.0
12
+ - @mastra/react@0.5.0-alpha.0
13
+
3
14
  ## 31.0.0
4
15
 
5
16
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  import { GetAgentResponse, UIMessageWithMetadata } from '@mastra/client-js';
2
2
  import { LLMStepResult } from '@mastra/core/agent';
3
3
  import { AiMessageType } from '@mastra/core/memory';
4
- import { MastraUIMessage } from '@mastra/react';
4
+ import { MastraDBMessage } from '@mastra/react';
5
5
  export type Message = AiMessageType;
6
6
  export interface AssistantMessage {
7
7
  id: string;
@@ -50,7 +50,7 @@ export interface ChatProps {
50
50
  modelVersion?: string;
51
51
  agentVersionId?: string;
52
52
  threadId: string;
53
- initialMessages?: MastraUIMessage[];
53
+ initialMessages?: MastraDBMessage[];
54
54
  initialLegacyMessages?: UIMessageWithMetadata[];
55
55
  memory?: boolean;
56
56
  refreshThreadList?: () => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "31.0.0",
4
+ "version": "32.0.0-alpha.0",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -86,14 +86,14 @@
86
86
  "react": ">=19.0.0",
87
87
  "react-dom": ">=19.0.0",
88
88
  "tailwindcss": "^4.0.0",
89
- "@mastra/client-js": "^1.22.0",
90
- "@mastra/react": "0.4.3"
89
+ "@mastra/client-js": "^1.23.0-alpha.0",
90
+ "@mastra/react": "0.5.0-alpha.0"
91
91
  },
92
92
  "devDependencies": {
93
- "@storybook/addon-a11y": "^10.3.6",
94
- "@storybook/addon-docs": "^10.3.6",
93
+ "@storybook/addon-a11y": "^10.4.1",
94
+ "@storybook/addon-docs": "^10.4.1",
95
95
  "@storybook/addon-mcp": "^0.6.0",
96
- "@storybook/react-vite": "^10.3.6",
96
+ "@storybook/react-vite": "^10.4.1",
97
97
  "@tailwindcss/postcss": "^4.2.2",
98
98
  "@tailwindcss/typography": "^0.5.19",
99
99
  "@tailwindcss/vite": "4.2.2",
@@ -114,7 +114,7 @@
114
114
  "react": "^19.2.5",
115
115
  "react-dom": "^19.2.5",
116
116
  "rollup-plugin-node-externals": "^8.1.2",
117
- "storybook": "^10.3.6",
117
+ "storybook": "^10.4.1",
118
118
  "tailwind-merge": "^3.5.0",
119
119
  "tailwindcss": "4.2.2",
120
120
  "tw-animate-css": "^1.4.0",
@@ -123,10 +123,10 @@
123
123
  "vite-plugin-dts": "^4.5.4",
124
124
  "vite-plugin-lib-inject-css": "^2.2.2",
125
125
  "vitest": "4.1.5",
126
- "@mastra/react": "0.4.3",
127
- "@mastra/client-js": "^1.22.0",
128
- "@mastra/core": "1.38.0",
129
- "@internal/lint": "0.0.100"
126
+ "@mastra/react": "0.5.0-alpha.0",
127
+ "@internal/lint": "0.0.100",
128
+ "@mastra/client-js": "^1.23.0-alpha.0",
129
+ "@mastra/core": "1.39.0-alpha.0"
130
130
  },
131
131
  "homepage": "https://mastra.ai",
132
132
  "repository": {