create-mastra 0.0.0-remove-unused-import-20250909212718 → 0.0.0-remove-unused-model-providers-api-20251030210744

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,6 +1,424 @@
1
1
  # create-mastra
2
2
 
3
- ## 0.0.0-remove-unused-import-20250909212718
3
+ ## 0.0.0-remove-unused-model-providers-api-20251030210744
4
+
5
+ ### Major Changes
6
+
7
+ - Removed old tracing code based on OpenTelemetry ([#9237](https://github.com/mastra-ai/mastra/pull/9237))
8
+
9
+ ### Patch Changes
10
+
11
+ - Update MainSidebar component to fit required changes in Cloud CTA link ([#9318](https://github.com/mastra-ai/mastra/pull/9318))
12
+
13
+ ## 0.17.3
14
+
15
+ ## 0.17.3-alpha.0
16
+
17
+ ## 0.17.2
18
+
19
+ ## 0.17.2-alpha.0
20
+
21
+ ## 0.17.1
22
+
23
+ ### Patch Changes
24
+
25
+ - Add scorers to the default weather agent in the create command. ([#9042](https://github.com/mastra-ai/mastra/pull/9042))
26
+
27
+ - Fix tool result in playground ([#9087](https://github.com/mastra-ai/mastra/pull/9087))
28
+
29
+ ## 0.17.1-alpha.1
30
+
31
+ ### Patch Changes
32
+
33
+ - Add scorers to the default weather agent in the create command. ([#9042](https://github.com/mastra-ai/mastra/pull/9042))
34
+
35
+ - Fix tool result in playground ([#9087](https://github.com/mastra-ai/mastra/pull/9087))
36
+
37
+ ## 0.17.1-alpha.0
38
+
39
+ ## 0.17.0
40
+
41
+ ### Patch Changes
42
+
43
+ - Pin `@rollup/*` dependencies to fixed versions (instead of using `^`) to: ([#8900](https://github.com/mastra-ai/mastra/pull/8900))
44
+ - Hotfix a bug inside `@rollup/plugin-commonjs`
45
+ - Have more control over the versions in the future to not have breakages over night
46
+
47
+ ## 0.17.0-alpha.0
48
+
49
+ ### Patch Changes
50
+
51
+ - Pin `@rollup/*` dependencies to fixed versions (instead of using `^`) to: ([#8900](https://github.com/mastra-ai/mastra/pull/8900))
52
+ - Hotfix a bug inside `@rollup/plugin-commonjs`
53
+ - Have more control over the versions in the future to not have breakages over night
54
+
55
+ ## 0.16.0
56
+
57
+ ### Patch Changes
58
+
59
+ - Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
60
+
61
+ - Fix auto tab for model picker in playground-ui, the UI no longer auto tabs to the next selector when selecting a model/provider. ([#8680](https://github.com/mastra-ai/mastra/pull/8680))
62
+
63
+ - Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
64
+
65
+ - Adds reset button to model picker to reset to original model set on the agent. ([#8633](https://github.com/mastra-ai/mastra/pull/8633))
66
+
67
+ - Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
68
+
69
+ - Add div wrapper around entity tables to fix table vertical position ([#8758](https://github.com/mastra-ai/mastra/pull/8758))
70
+
71
+ - Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
72
+
73
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
74
+
75
+ - Stream finalResult from network loop ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
76
+
77
+ - Improve README ([#8819](https://github.com/mastra-ai/mastra/pull/8819))
78
+
79
+ ## 0.16.0-alpha.1
80
+
81
+ ### Patch Changes
82
+
83
+ - Fix auto tab for model picker in playground-ui, the UI no longer auto tabs to the next selector when selecting a model/provider. ([#8680](https://github.com/mastra-ai/mastra/pull/8680))
84
+
85
+ - Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
86
+
87
+ - Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
88
+
89
+ - Add div wrapper around entity tables to fix table vertical position ([#8758](https://github.com/mastra-ai/mastra/pull/8758))
90
+
91
+ - Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
92
+
93
+ - Stream finalResult from network loop ([#8795](https://github.com/mastra-ai/mastra/pull/8795))
94
+
95
+ - Improve README ([#8819](https://github.com/mastra-ai/mastra/pull/8819))
96
+
97
+ ## 0.15.2-alpha.0
98
+
99
+ ### Patch Changes
100
+
101
+ - Use model-router in create-mastra starter template ([#8631](https://github.com/mastra-ai/mastra/pull/8631))
102
+
103
+ - Adds reset button to model picker to reset to original model set on the agent. ([#8633](https://github.com/mastra-ai/mastra/pull/8633))
104
+
105
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
106
+
107
+ ## 0.15.1
108
+
109
+ ### Patch Changes
110
+
111
+ - Improve the overall flow of the `create-mastra` CLI by first asking all questions and then creating the project structure. If you skip entering an API key during the wizard, the `your-api-key` placeholder will now be added to an `.env.example` file instead of `.env`. ([#8603](https://github.com/mastra-ai/mastra/pull/8603))
112
+
113
+ ## 0.15.1-alpha.1
114
+
115
+ ## 0.15.1-alpha.0
116
+
117
+ ### Patch Changes
118
+
119
+ - Improve the overall flow of the `create-mastra` CLI by first asking all questions and then creating the project structure. If you skip entering an API key during the wizard, the `your-api-key` placeholder will now be added to an `.env.example` file instead of `.env`. ([#8603](https://github.com/mastra-ai/mastra/pull/8603))
120
+
121
+ ## 0.15.0
122
+
123
+ ### Patch Changes
124
+
125
+ - Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
126
+
127
+ - streamLegacy/generateLegacy clarification in playground ([#8468](https://github.com/mastra-ai/mastra/pull/8468))
128
+
129
+ - avoid refetching memory threads and messages on window focus ([#8519](https://github.com/mastra-ai/mastra/pull/8519))
130
+
131
+ - add tripwire reason in playground ([#8568](https://github.com/mastra-ai/mastra/pull/8568))
132
+
133
+ - Save waiting step status in snapshot ([#8576](https://github.com/mastra-ai/mastra/pull/8576))
134
+
135
+ - Added AI SDK provider packages to model router for anthropic/google/openai/openrouter/xai ([#8559](https://github.com/mastra-ai/mastra/pull/8559))
136
+
137
+ - Convert WorkflowWatchResult to WorkflowResult in workflow graph ([#8541](https://github.com/mastra-ai/mastra/pull/8541))
138
+
139
+ - Fixed an issue where model router was adding /chat/completions to API urls when it shouldn't. ([#8589](https://github.com/mastra-ai/mastra/pull/8589))
140
+ fixed an issue with provider ID rendering in playground UI
141
+
142
+ - Fix useStreamWorkflow unmounting breaking stream call ([#8449](https://github.com/mastra-ai/mastra/pull/8449))
143
+
144
+ ## 0.15.0-alpha.3
145
+
146
+ ### Patch Changes
147
+
148
+ - Fixed an issue where model router was adding /chat/completions to API urls when it shouldn't. ([#8589](https://github.com/mastra-ai/mastra/pull/8589))
149
+ fixed an issue with provider ID rendering in playground UI
150
+
151
+ ## 0.14.2-alpha.2
152
+
153
+ ### Patch Changes
154
+
155
+ - Added AI SDK provider packages to model router for anthropic/google/openai/openrouter/xai ([#8559](https://github.com/mastra-ai/mastra/pull/8559))
156
+
157
+ ## 0.14.2-alpha.1
158
+
159
+ ### Patch Changes
160
+
161
+ - Mutable shared workflow run state ([#8545](https://github.com/mastra-ai/mastra/pull/8545))
162
+
163
+ - avoid refetching memory threads and messages on window focus ([#8519](https://github.com/mastra-ai/mastra/pull/8519))
164
+
165
+ - add tripwire reason in playground ([#8568](https://github.com/mastra-ai/mastra/pull/8568))
166
+
167
+ - Save waiting step status in snapshot ([#8576](https://github.com/mastra-ai/mastra/pull/8576))
168
+
169
+ - Convert WorkflowWatchResult to WorkflowResult in workflow graph ([#8541](https://github.com/mastra-ai/mastra/pull/8541))
170
+
171
+ ## 0.14.2-alpha.0
172
+
173
+ ### Patch Changes
174
+
175
+ - streamLegacy/generateLegacy clarification in playground ([#8468](https://github.com/mastra-ai/mastra/pull/8468))
176
+
177
+ - Fix useStreamWorkflow unmounting breaking stream call ([#8449](https://github.com/mastra-ai/mastra/pull/8449))
178
+
179
+ ## 0.14.1
180
+
181
+ ### Patch Changes
182
+
183
+ - Make init versions latest pkgs ([#8434](https://github.com/mastra-ai/mastra/pull/8434))
184
+
185
+ ## 0.14.1-alpha.0
186
+
187
+ ### Patch Changes
188
+
189
+ - Make init versions latest pkgs ([#8434](https://github.com/mastra-ai/mastra/pull/8434))
190
+
191
+ ## 0.14.0
192
+
193
+ ### Minor Changes
194
+
195
+ - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
196
+
197
+ ### Patch Changes
198
+
199
+ - Remove log drains UI from the playground ([#8379](https://github.com/mastra-ai/mastra/pull/8379))
200
+
201
+ - add refetch interval to traces to make it feel "instant" ([#8386](https://github.com/mastra-ai/mastra/pull/8386))
202
+
203
+ - better memory message ([#8382](https://github.com/mastra-ai/mastra/pull/8382))
204
+
205
+ - fix codeblock line number color contrast for legacy traces ([#8385](https://github.com/mastra-ai/mastra/pull/8385))
206
+
207
+ - Model router documentation and playground UI improvements ([#8372](https://github.com/mastra-ai/mastra/pull/8372))
208
+
209
+ **Documentation generation (`@mastra/core`):**
210
+ - Fixed inverted dynamic model selection logic in provider examples
211
+ - Improved copy: replaced marketing language with action-oriented descriptions
212
+ - Added generated file comments with timestamps to all MDX outputs so maintainers know not to directly edit generated files
213
+
214
+ **Playground UI model picker (`@mastra/playground-ui`):**
215
+ - Fixed provider field clearing when typing in model input
216
+ - Added responsive layout (stacks on mobile, side-by-side on desktop)
217
+ - Improved general styling of provider/model pickers
218
+
219
+ **Environment variables (`@mastra/deployer`):**
220
+ - Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
221
+ - Added correct singular/plural handling for "environment variable(s)"
222
+
223
+ - show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
224
+
225
+ - Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
226
+
227
+ - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
228
+
229
+ ## 0.14.0-alpha.0
230
+
231
+ ### Minor Changes
232
+
233
+ - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
234
+
235
+ ### Patch Changes
236
+
237
+ - Remove log drains UI from the playground ([#8379](https://github.com/mastra-ai/mastra/pull/8379))
238
+
239
+ - add refetch interval to traces to make it feel "instant" ([#8386](https://github.com/mastra-ai/mastra/pull/8386))
240
+
241
+ - better memory message ([#8382](https://github.com/mastra-ai/mastra/pull/8382))
242
+
243
+ - fix codeblock line number color contrast for legacy traces ([#8385](https://github.com/mastra-ai/mastra/pull/8385))
244
+
245
+ - Model router documentation and playground UI improvements ([#8372](https://github.com/mastra-ai/mastra/pull/8372))
246
+
247
+ **Documentation generation (`@mastra/core`):**
248
+ - Fixed inverted dynamic model selection logic in provider examples
249
+ - Improved copy: replaced marketing language with action-oriented descriptions
250
+ - Added generated file comments with timestamps to all MDX outputs so maintainers know not to directly edit generated files
251
+
252
+ **Playground UI model picker (`@mastra/playground-ui`):**
253
+ - Fixed provider field clearing when typing in model input
254
+ - Added responsive layout (stacks on mobile, side-by-side on desktop)
255
+ - Improved general styling of provider/model pickers
256
+
257
+ **Environment variables (`@mastra/deployer`):**
258
+ - Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
259
+ - Added correct singular/plural handling for "environment variable(s)"
260
+
261
+ - show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
262
+
263
+ - Fix an issue preventing showing working memory and semantic recall in the playground ([#8358](https://github.com/mastra-ai/mastra/pull/8358))
264
+
265
+ - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
266
+
267
+ ## 0.13.4
268
+
269
+ ### Patch Changes
270
+
271
+ - disable network label when memory is not enabled OR the agent has no subagents ([#8341](https://github.com/mastra-ai/mastra/pull/8341))
272
+
273
+ - Added Mastra model router to Playground UI ([#8332](https://github.com/mastra-ai/mastra/pull/8332))
274
+
275
+ ## 0.13.4-alpha.1
276
+
277
+ ### Patch Changes
278
+
279
+ - disable network label when memory is not enabled OR the agent has no subagents ([#8341](https://github.com/mastra-ai/mastra/pull/8341))
280
+
281
+ ## 0.13.4-alpha.0
282
+
283
+ ### Patch Changes
284
+
285
+ - Added Mastra model router to Playground UI ([#8332](https://github.com/mastra-ai/mastra/pull/8332))
286
+
287
+ ## 0.13.3
288
+
289
+ ### Patch Changes
290
+
291
+ - Fixed an issue in playground where text-start/end parts were ignored in handleStreamChunk and tool ordering vs text wasn't retained ([#8234](https://github.com/mastra-ai/mastra/pull/8234))
292
+
293
+ - Add conditional chaining to scorer.agentNames return ([#8199](https://github.com/mastra-ai/mastra/pull/8199))
294
+
295
+ - Show model that worked when there are model fallbacks ([#8167](https://github.com/mastra-ai/mastra/pull/8167))
296
+
297
+ - Add types in the streamVNext codepath, fixes for various issues across multiple packages surfaced from type issues, align return types. ([#8010](https://github.com/mastra-ai/mastra/pull/8010))
298
+
299
+ - Add model fallbacks to playground ([#7427](https://github.com/mastra-ai/mastra/pull/7427))
300
+
301
+ ## 0.13.3-alpha.1
302
+
303
+ ### Patch Changes
304
+
305
+ - Fixed an issue in playground where text-start/end parts were ignored in handleStreamChunk and tool ordering vs text wasn't retained ([#8234](https://github.com/mastra-ai/mastra/pull/8234))
306
+
307
+ - Add conditional chaining to scorer.agentNames return ([#8199](https://github.com/mastra-ai/mastra/pull/8199))
308
+
309
+ - Show model that worked when there are model fallbacks ([#8167](https://github.com/mastra-ai/mastra/pull/8167))
310
+
311
+ ## 0.13.3-alpha.0
312
+
313
+ ### Patch Changes
314
+
315
+ - Add types in the streamVNext codepath, fixes for various issues across multiple packages surfaced from type issues, align return types. ([#8010](https://github.com/mastra-ai/mastra/pull/8010))
316
+
317
+ - Add model fallbacks to playground ([#7427](https://github.com/mastra-ai/mastra/pull/7427))
318
+
319
+ ## 0.13.2
320
+
321
+ ### Patch Changes
322
+
323
+ - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
324
+ - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
325
+
326
+ - Add model fallback handlers and apis ([#7378](https://github.com/mastra-ai/mastra/pull/7378))
327
+
328
+ - Fix DateTimePicker style issue ([#8106](https://github.com/mastra-ai/mastra/pull/8106))
329
+
330
+ - Fix getting tool link path from agent in playground ui tools page ([#8135](https://github.com/mastra-ai/mastra/pull/8135))
331
+
332
+ ## 0.13.2-alpha.4
333
+
334
+ ### Patch Changes
335
+
336
+ - Fix getting tool link path from agent in playground ui tools page ([#8135](https://github.com/mastra-ai/mastra/pull/8135))
337
+
338
+ ## 0.13.2-alpha.3
339
+
340
+ ### Patch Changes
341
+
342
+ - Add model fallback handlers and apis ([#7378](https://github.com/mastra-ai/mastra/pull/7378))
343
+
344
+ - Fix DateTimePicker style issue ([#8106](https://github.com/mastra-ai/mastra/pull/8106))
345
+
346
+ ## 0.13.2-alpha.2
347
+
348
+ ## 0.13.2-alpha.1
349
+
350
+ ### Patch Changes
351
+
352
+ - dependencies updates: ([#8007](https://github.com/mastra-ai/mastra/pull/8007))
353
+ - Updated dependency [`fs-extra@^11.3.2` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.2) (from `^11.3.1`, in `dependencies`)
354
+
355
+ ## 0.13.2-alpha.0
356
+
357
+ ## 0.13.1
358
+
359
+ ## 0.13.1-alpha.0
360
+
361
+ ## 0.13.0
362
+
363
+ ### Patch Changes
364
+
365
+ - clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
366
+
367
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
368
+
369
+ - fix minor playground stuff for observability ([#7765](https://github.com/mastra-ai/mastra/pull/7765))
370
+
371
+ - Handle zod intersections in dynamic form ([#7768](https://github.com/mastra-ai/mastra/pull/7768))
372
+
373
+ - Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
374
+
375
+ ## 0.13.0-alpha.5
376
+
377
+ ## 0.13.0-alpha.4
378
+
379
+ ### Patch Changes
380
+
381
+ - clean up console logs in monorepo ([#7926](https://github.com/mastra-ai/mastra/pull/7926))
382
+
383
+ ## 0.13.0-alpha.3
384
+
385
+ ## 0.13.0-alpha.2
386
+
387
+ ## 0.13.0-alpha.1
388
+
389
+ ### Patch Changes
390
+
391
+ - Update peerdep of @mastra/core ([#7619](https://github.com/mastra-ai/mastra/pull/7619))
392
+
393
+ ## 0.12.4-alpha.0
394
+
395
+ ### Patch Changes
396
+
397
+ - fix minor playground stuff for observability ([#7765](https://github.com/mastra-ai/mastra/pull/7765))
398
+
399
+ - Handle zod intersections in dynamic form ([#7768](https://github.com/mastra-ai/mastra/pull/7768))
400
+
401
+ - Playground ui -pass runtimeContext to client SDK get methods ([#7767](https://github.com/mastra-ai/mastra/pull/7767))
402
+
403
+ ## 0.12.3
404
+
405
+ ### Patch Changes
406
+
407
+ - Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
408
+
409
+ ## 0.12.3-alpha.1
410
+
411
+ ### Patch Changes
412
+
413
+ - Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
414
+
415
+ ## 0.12.3-alpha.0
416
+
417
+ ## 0.12.2
418
+
419
+ ## 0.12.2-alpha.0
420
+
421
+ ## 0.12.1
4
422
 
5
423
  ### Patch Changes
6
424
 
@@ -13,6 +431,12 @@
13
431
 
14
432
  - Update cli dev copy from "Local" - ([#7579](https://github.com/mastra-ai/mastra/pull/7579))
15
433
 
434
+ ## 0.12.1-alpha.2
435
+
436
+ ### Patch Changes
437
+
438
+ - Fix template slug when getting template environment variables ([#7650](https://github.com/mastra-ai/mastra/pull/7650))
439
+
16
440
  ## 0.12.1-alpha.1
17
441
 
18
442
  ### Patch Changes
package/README.md CHANGED
@@ -1,9 +1,16 @@
1
- # Create Mastra
1
+ # create-mastra
2
2
 
3
- The easiest way to get started with Mastra is by using `create-mastra`. This CLI tool enables you to quickly start building a new Mastra application, with everything set up for you.
3
+ Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
4
+
5
+ It includes everything you need to go from early prototypes to production-ready applications. Mastra integrates with frontend and backend frameworks like React, Next.js, and Node, or you can deploy it anywhere as a standalone server. It's the easiest way to build, tune, and scale reliable AI products.
6
+
7
+ `create-mastra` is the **recommended** way to get started with Mastra. This CLI tool enables you to quickly start building a new Mastra application, with everything set up for you.
4
8
 
5
9
  ## Usage
6
10
 
11
+ > [!IMPORTANT]
12
+ > Make sure that you have Node.js 20 or later installed on your system.
13
+
7
14
  Using npm:
8
15
 
9
16
  ```bash
@@ -22,33 +29,4 @@ Using pnpm:
22
29
  pnpm create mastra
23
30
  ```
24
31
 
25
- ## Options
26
-
27
- - `--default` - Quick start with defaults (src directory, OpenAI, no examples)
28
- - `-c, --components <components>` - Comma-separated list of components (agents, tools, workflows)
29
- - `-l, --llm <model-provider>` - Default model provider (openai, anthropic, groq, google, or cerebras)
30
- - `-e, --example` - Include example code
31
-
32
- ## Examples
33
-
34
- Create a new project with default settings
35
- npx create-mastra@latest --default
36
- Create a project with specific components and LLM provider
37
- npx create-mastra@latest -c agents,tools -l anthropic
38
- Create a project with example code
39
- npx create-mastra@latest --example
40
-
41
- ## What's included?
42
-
43
- The generated project will have:
44
-
45
- - A configured Mastra setup in the src directory
46
- - Selected components (agents, tools, workflows)
47
- - Environment configuration for your chosen LLM provider
48
- - TypeScript configuration
49
- - Example code (if selected)
50
-
51
- ## System Requirements
52
-
53
- - Node.js 20 or later
54
- - MacOS, Windows, and Linux are supported
32
+ Learn more about `create-mastra` in the [CLI reference documentation](https://mastra.ai/reference/cli/create-mastra).