@mastra/playground-ui 16.1.2 → 16.2.0-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,5 +1,6 @@
1
1
  import { ChatProps } from '../../../types';
2
- export declare const AgentChat: ({ agentId, agentName, threadId, memory, refreshThreadList, modelVersion, modelList, messageId, isNewThread, }: Omit<ChatProps, "initialMessages" | "initialLegacyMessages"> & {
2
+ export declare const AgentChat: ({ agentId, agentName, threadId, memory, refreshThreadList, modelVersion, modelList, messageId, isNewThread, hideModelSwitcher, }: Omit<ChatProps, "initialMessages" | "initialLegacyMessages"> & {
3
3
  messageId?: string;
4
4
  isNewThread?: boolean;
5
+ hideModelSwitcher?: boolean;
5
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -3,8 +3,9 @@ export interface ThreadProps {
3
3
  agentId?: string;
4
4
  hasMemory?: boolean;
5
5
  hasModelList?: boolean;
6
+ hideModelSwitcher?: boolean;
6
7
  }
7
- export declare const Thread: ({ agentName, agentId, hasMemory, hasModelList }: ThreadProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Thread: ({ agentName, agentId, hasMemory, hasModelList, hideModelSwitcher }: ThreadProps) => import("react/jsx-runtime").JSX.Element;
8
9
  export interface ThreadWelcomeProps {
9
10
  agentName?: string;
10
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "16.1.2",
4
+ "version": "16.2.0-alpha.1",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -58,58 +58,58 @@
58
58
  "author": "Mastra",
59
59
  "license": "Apache-2.0",
60
60
  "dependencies": {
61
- "@assistant-ui/react": "^0.12.10",
62
- "@assistant-ui/react-markdown": "^0.12.3",
63
- "@assistant-ui/react-syntax-highlighter": "^0.12.3",
61
+ "@assistant-ui/react": "^0.12.17",
62
+ "@assistant-ui/react-markdown": "^0.12.5",
63
+ "@assistant-ui/react-syntax-highlighter": "^0.12.6",
64
64
  "@assistant-ui/react-ui": "^0.2.1",
65
65
  "@autoform/core": "^3.0.0",
66
66
  "@autoform/react": "^4.0.0",
67
- "@base-ui/react": "^1.1.0",
67
+ "@base-ui/react": "^1.3.0",
68
68
  "@codemirror/autocomplete": "^6.20.1",
69
69
  "@codemirror/lang-javascript": "^6.2.5",
70
70
  "@codemirror/lang-json": "^6.0.2",
71
- "@codemirror/merge": "^6.12.0",
72
71
  "@codemirror/lang-markdown": "^6.5.0",
73
72
  "@codemirror/language-data": "^6.5.2",
73
+ "@codemirror/merge": "^6.12.1",
74
74
  "@codemirror/state": "^6.6.0",
75
- "@codemirror/view": "^6.39.16",
75
+ "@codemirror/view": "^6.40.0",
76
76
  "@dagrejs/dagre": "^1.1.8",
77
77
  "@hello-pangea/dnd": "^18.0.1",
78
78
  "@hookform/resolvers": "^3.10.0",
79
79
  "@lezer/highlight": "^1.2.3",
80
80
  "@lukeed/uuid": "^2.0.1",
81
- "@radix-ui/react-alert-dialog": "^1.1.14",
82
- "@radix-ui/react-checkbox": "^1.3.2",
83
- "@radix-ui/react-collapsible": "^1.1.11",
84
- "@radix-ui/react-dialog": "^1.1.14",
81
+ "@radix-ui/react-alert-dialog": "^1.1.15",
82
+ "@radix-ui/react-checkbox": "^1.3.3",
83
+ "@radix-ui/react-collapsible": "^1.1.12",
84
+ "@radix-ui/react-dialog": "^1.1.15",
85
85
  "@radix-ui/react-dropdown-menu": "^2.1.16",
86
- "@radix-ui/react-hover-card": "^1.1.14",
87
- "@radix-ui/react-label": "^2.1.7",
88
- "@radix-ui/react-popover": "^1.1.14",
89
- "@radix-ui/react-radio-group": "^1.3.7",
90
- "@radix-ui/react-scroll-area": "^1.2.9",
91
- "@radix-ui/react-select": "^2.2.5",
92
- "@radix-ui/react-slider": "^1.3.5",
93
- "@radix-ui/react-switch": "^1.2.5",
94
- "@radix-ui/react-tabs": "^1.1.12",
95
- "@radix-ui/react-tooltip": "^1.2.7",
96
- "@radix-ui/react-visually-hidden": "^1.2.3",
86
+ "@radix-ui/react-hover-card": "^1.1.15",
87
+ "@radix-ui/react-label": "^2.1.8",
88
+ "@radix-ui/react-popover": "^1.1.15",
89
+ "@radix-ui/react-radio-group": "^1.3.8",
90
+ "@radix-ui/react-scroll-area": "^1.2.10",
91
+ "@radix-ui/react-select": "^2.2.6",
92
+ "@radix-ui/react-slider": "^1.3.6",
93
+ "@radix-ui/react-switch": "^1.2.6",
94
+ "@radix-ui/react-tabs": "^1.1.13",
95
+ "@radix-ui/react-tooltip": "^1.2.8",
96
+ "@radix-ui/react-visually-hidden": "^1.2.4",
97
97
  "@tanstack/react-table": "^8.21.3",
98
98
  "@types/react-syntax-highlighter": "^15.5.13",
99
99
  "@uiw/codemirror-theme-dracula": "^4.25.8",
100
- "@uiw/codemirror-theme-github": "^4.25.4",
101
- "@uiw/react-codemirror": "^4.25.4",
102
- "@xyflow/react": "^12.9.3",
100
+ "@uiw/codemirror-theme-github": "^4.25.8",
101
+ "@uiw/react-codemirror": "^4.25.8",
102
+ "@xyflow/react": "^12.10.1",
103
103
  "cmdk": "^1.1.1",
104
104
  "date-fns": "^4.1.0",
105
105
  "papaparse": "^5.5.3",
106
106
  "prettier": "^3.8.1",
107
107
  "prism-react-renderer": "^2.4.1",
108
108
  "react-day-picker": "^8.10.1",
109
- "react-hook-form": "^7.59.0",
109
+ "react-hook-form": "^7.71.2",
110
110
  "react-horizontal-scrolling-menu": "^8.2.0",
111
111
  "react-markdown": "^9.1.0",
112
- "react-resizable-panels": "^4.0.15",
112
+ "react-resizable-panels": "^4.7.3",
113
113
  "react-syntax-highlighter": "^15.6.6",
114
114
  "remark-gfm": "^4.0.1",
115
115
  "semver": "^7.7.4",
@@ -117,8 +117,8 @@
117
117
  "sonner": "^2.0.7",
118
118
  "superjson": "^2.2.6",
119
119
  "tailwindcss-animate": "^1.0.7",
120
- "use-debounce": "^10.0.6",
121
- "zustand": "^5.0.11"
120
+ "use-debounce": "^10.1.0",
121
+ "zustand": "^5.0.12"
122
122
  },
123
123
  "peerDependencies": {
124
124
  "@mastra/core": ">=1.7.1-0 <2.0.0-0",
@@ -128,31 +128,31 @@
128
128
  "react-dom": ">=19.0.0",
129
129
  "tailwindcss": "^3.0.0",
130
130
  "zod": "^3.25.0 || ^4.0.0",
131
- "@mastra/ai-sdk": "^1.1.3",
132
- "@mastra/schema-compat": "1.2.4",
133
- "@mastra/react": "0.2.14",
134
- "@mastra/client-js": "^1.8.4"
131
+ "@mastra/ai-sdk": "^1.1.4-alpha.0",
132
+ "@mastra/client-js": "^1.8.5-alpha.1",
133
+ "@mastra/react": "0.2.15-alpha.1",
134
+ "@mastra/schema-compat": "1.2.5-alpha.0"
135
135
  },
136
136
  "devDependencies": {
137
- "@storybook/addon-docs": "^9.1.16",
138
- "@storybook/react-vite": "^9.1.16",
137
+ "@storybook/addon-docs": "^9.1.20",
138
+ "@storybook/react-vite": "^9.1.20",
139
139
  "@tailwindcss/container-queries": "^0.1.1",
140
140
  "@tailwindcss/typography": "^0.5.19",
141
141
  "@tanstack/react-query": "^5.90.21",
142
142
  "@types/json-schema": "^7.0.15",
143
- "@types/node": "22.19.13",
143
+ "@types/node": "22.19.15",
144
144
  "@types/papaparse": "^5.5.2",
145
- "@types/react": "^19.1.9",
146
- "@types/react-dom": "^19.1.7",
145
+ "@types/react": "^19.2.14",
146
+ "@types/react-dom": "^19.2.3",
147
147
  "@types/semver": "^7.7.1",
148
- "@vitejs/plugin-react": "^5.1.4",
148
+ "@vitejs/plugin-react": "^5.2.0",
149
149
  "@vitest/ui": "4.0.18",
150
150
  "autoprefixer": "^10.4.27",
151
151
  "class-variance-authority": "^0.7.1",
152
152
  "clsx": "^2.1.1",
153
153
  "postcss": "^8.5.8",
154
154
  "rollup-plugin-node-externals": "^8.1.2",
155
- "storybook": "^9.1.10",
155
+ "storybook": "^9.1.20",
156
156
  "tailwind-merge": "^3.5.0",
157
157
  "tailwindcss": "^3.4.19",
158
158
  "typescript": "^5.9.3",
@@ -161,11 +161,11 @@
161
161
  "vite-plugin-lib-inject-css": "^2.2.2",
162
162
  "vitest": "4.0.18",
163
163
  "zod": "^4.3.6",
164
- "@mastra/ai-sdk": "^1.1.3",
165
- "@mastra/client-js": "^1.8.4",
166
- "@mastra/core": "1.13.2",
167
- "@mastra/react": "0.2.14",
168
- "@mastra/schema-compat": "1.2.4"
164
+ "@mastra/client-js": "^1.8.5-alpha.1",
165
+ "@mastra/core": "1.13.3-alpha.1",
166
+ "@mastra/ai-sdk": "^1.1.4-alpha.0",
167
+ "@mastra/schema-compat": "1.2.5-alpha.0",
168
+ "@mastra/react": "0.2.15-alpha.1"
169
169
  },
170
170
  "homepage": "https://mastra.ai",
171
171
  "repository": {