create-mastra 0.0.0-span-scorring-test-20251124132129 → 0.0.0-standard-schema-20260126101119

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,12 @@
1
1
  # create-mastra
2
2
 
3
- ## 0.0.0-span-scorring-test-20251124132129
3
+ ## 0.0.0-standard-schema-20260126101119
4
+
5
+ ## 1.0.1
6
+
7
+ ## 1.0.1-alpha.0
8
+
9
+ ## 1.0.0
4
10
 
5
11
  ### Major Changes
6
12
 
@@ -10,24 +16,242 @@
10
16
 
11
17
  - Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
12
18
 
19
+ ### Minor Changes
20
+
21
+ - Add Antigravity IDE support to create-mastra CLI. Users can now select Antigravity during project initialization and automatically configure the global Mastra MCP server for the IDE, reducing manual setup and enabling immediate use of Mastra agents. ([#11374](https://github.com/mastra-ai/mastra/pull/11374))
22
+
13
23
  ### Patch Changes
14
24
 
25
+ - Remove `streamVNext`, `resumeStreamVNext`, and `observeStreamVNext` methods, call `stream`, `resumeStream` and `observeStream` directly ([#11499](https://github.com/mastra-ai/mastra/pull/11499))
26
+
27
+ ```diff
28
+ + const run = await workflow.createRun({ runId: '123' });
29
+ - const stream = await run.streamVNext({ inputData: { ... } });
30
+ + const stream = await run.stream({ inputData: { ... } });
31
+ ```
32
+
33
+ - Replace deprecated client.getTraces with a client.listTraces ([#11711](https://github.com/mastra-ai/mastra/pull/11711))
34
+
35
+ - Fix select options overflow when list is long by adding maximum height ([#10813](https://github.com/mastra-ai/mastra/pull/10813))
36
+
15
37
  - dependencies updates: ([#10111](https://github.com/mastra-ai/mastra/pull/10111))
16
38
  - Updated dependency [`pino@^10.1.0` ↗︎](https://www.npmjs.com/package/pino/v/10.1.0) (from `^9.7.0`, in `dependencies`)
17
39
 
40
+ - dependencies updates: ([#11642](https://github.com/mastra-ai/mastra/pull/11642))
41
+ - Updated dependency [`fs-extra@^11.3.3` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.3) (from `^11.3.2`, in `dependencies`)
42
+
18
43
  - dependencies updates: ([#9781](https://github.com/mastra-ai/mastra/pull/9781))
19
44
  - Updated dependency [`posthog-node@^5.11.2` ↗︎](https://www.npmjs.com/package/posthog-node/v/5.11.2) (from `^4.18.0`, in `dependencies`)
20
45
 
21
46
  - Update MainSidebar component to fit required changes in Cloud CTA link ([#9318](https://github.com/mastra-ai/mastra/pull/9318))
22
47
 
48
+ - Fix default value showing on workflow form after user submits ([#10983](https://github.com/mastra-ai/mastra/pull/10983))
49
+
50
+ - Auto resume suspended tools if `autoResumeSuspendedTools: true` ([#11157](https://github.com/mastra-ai/mastra/pull/11157))
51
+
52
+ The flag can be added to `defaultAgentOptions` when creating the agent or to options in `agent.stream` or `agent.generate`
53
+
54
+ ```typescript
55
+ const agent = new Agent({
56
+ //...agent information,
57
+ defaultAgentOptions: {
58
+ autoResumeSuspendedTools: true,
59
+ },
60
+ });
61
+ ```
62
+
23
63
  - Make MainSidebar toggle button sticky to bottom, always visible ([#9682](https://github.com/mastra-ai/mastra/pull/9682))
24
64
 
25
- - fix: detect bun runtime and cleanup on failure ([#10242](https://github.com/mastra-ai/mastra/pull/10242))
65
+ - Add human-in-the-loop (HITL) support to agent networks ([#11678](https://github.com/mastra-ai/mastra/pull/11678))
66
+ - Add suspend/resume capabilities to agent network
67
+ - Enable auto-resume for suspended network execution via `autoResumeSuspendedTools`
68
+
69
+ `agent.resumeNetwork`, `agent.approveNetworkToolCall`, `agent.declineNetworkToolCall`
70
+
71
+ - Fix peer dependency conflicts in browsing-agent template. Updated template dependencies to align with @browserbasehq/stagehand@2.5.6 requirements: ([#11346](https://github.com/mastra-ai/mastra/pull/11346))
72
+ - Updated `dotenv` from `^17.2.1` to `^16.4.5`
73
+ - Updated `zod` from `^3.25.76` to `^3.25.67`
74
+
75
+ This ensures `npx create-mastra@latest --template browsing-agent` can be installed and run without peer dependency errors.
76
+
77
+ - Detect bun runtime and cleanup on failure ([#10242](https://github.com/mastra-ai/mastra/pull/10242))
78
+
79
+ - Add `Run` instance to client-js. `workflow.createRun` returns the `Run` instance which can be used for the different run methods. ([#11207](https://github.com/mastra-ai/mastra/pull/11207))
80
+ With this change, run methods cannot be called directly on workflow instance anymore
81
+
82
+ ```diff
83
+ - const result = await workflow.stream({ runId: '123', inputData: { ... } });
84
+ + const run = await workflow.createRun({ runId: '123' });
85
+ + const stream = await run.stream({ inputData: { ... } });
86
+ ```
87
+
88
+ - Add timeTravel APIs and add timeTravel feature to studio ([#10361](https://github.com/mastra-ai/mastra/pull/10361))
89
+
90
+ - Add debugger-like click-through UI to workflow graph ([#11350](https://github.com/mastra-ai/mastra/pull/11350))
91
+
92
+ - Add delete workflow run API ([#10991](https://github.com/mastra-ai/mastra/pull/10991))
93
+
94
+ ```typescript
95
+ await workflow.deleteWorkflowRunById(runId);
96
+ ```
97
+
98
+ - Add initial state input to workflow form in studio ([#11560](https://github.com/mastra-ai/mastra/pull/11560))
99
+
100
+ - Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
101
+
102
+ - Fix discriminatedUnion schema information lost when json schema is converted to zod ([#10500](https://github.com/mastra-ai/mastra/pull/10500))
103
+
104
+ - Move useScorers down to trace page to trigger it once for all trace spans ([#10985](https://github.com/mastra-ai/mastra/pull/10985))
105
+
106
+ - Update Observability Trace Spans list UI, so a user can expand/collapse span children/descendants and can filter the list by span type or name ([#10378](https://github.com/mastra-ai/mastra/pull/10378))
107
+
108
+ - Fix workflow trigger form overflow ([#10986](https://github.com/mastra-ai/mastra/pull/10986))
26
109
 
27
110
  - Fix scorer filtering for SpanScoring, add error and info message for user ([#10160](https://github.com/mastra-ai/mastra/pull/10160))
28
111
 
112
+ - Hide time travel on map steps in Studio ([#10631](https://github.com/mastra-ai/mastra/pull/10631))
113
+
29
114
  - Fix double scroll on agent chat container ([#10253](https://github.com/mastra-ai/mastra/pull/10253))
30
115
 
116
+ - Display network completion validation results and scorer feedback in the Playground when viewing agent network runs, letting users see pass/fail status and actionable feedback from completion scorers ([#11562](https://github.com/mastra-ai/mastra/pull/11562))
117
+
118
+ - fix isTopLevelSpan value definition on SpanScoring to properly recognize lack of span?.parentSpanId value (null or empty string) ([#11083](https://github.com/mastra-ai/mastra/pull/11083))
119
+
120
+ ## 1.0.0-beta.19
121
+
122
+ ## 1.0.0-beta.18
123
+
124
+ ## 1.0.0-beta.17
125
+
126
+ ## 1.0.0-beta.16
127
+
128
+ ## 1.0.0-beta.15
129
+
130
+ ### Patch Changes
131
+
132
+ - Add human-in-the-loop (HITL) support to agent networks ([#11678](https://github.com/mastra-ai/mastra/pull/11678))
133
+ - Add suspend/resume capabilities to agent network
134
+ - Enable auto-resume for suspended network execution via `autoResumeSuspendedTools`
135
+
136
+ `agent.resumeNetwork`, `agent.approveNetworkToolCall`, `agent.declineNetworkToolCall`
137
+
138
+ ## 1.0.0-beta.14
139
+
140
+ ### Patch Changes
141
+
142
+ - Replace deprecated client.getTraces with a client.listTraces ([#11711](https://github.com/mastra-ai/mastra/pull/11711))
143
+
144
+ - dependencies updates: ([#11642](https://github.com/mastra-ai/mastra/pull/11642))
145
+ - Updated dependency [`fs-extra@^11.3.3` ↗︎](https://www.npmjs.com/package/fs-extra/v/11.3.3) (from `^11.3.2`, in `dependencies`)
146
+
147
+ - Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
148
+
149
+ ## 1.0.0-beta.13
150
+
151
+ ### Patch Changes
152
+
153
+ - Remove `streamVNext`, `resumeStreamVNext`, and `observeStreamVNext` methods, call `stream`, `resumeStream` and `observeStream` directly ([#11499](https://github.com/mastra-ai/mastra/pull/11499))
154
+
155
+ ```diff
156
+ + const run = await workflow.createRun({ runId: '123' });
157
+ - const stream = await run.streamVNext({ inputData: { ... } });
158
+ + const stream = await run.stream({ inputData: { ... } });
159
+ ```
160
+
161
+ - Fix peer dependency conflicts in browsing-agent template. Updated template dependencies to align with @browserbasehq/stagehand@2.5.6 requirements: ([#11346](https://github.com/mastra-ai/mastra/pull/11346))
162
+ - Updated `dotenv` from `^17.2.1` to `^16.4.5`
163
+ - Updated `zod` from `^3.25.76` to `^3.25.67`
164
+
165
+ This ensures `npx create-mastra@latest --template browsing-agent` can be installed and run without peer dependency errors.
166
+
167
+ - Add initial state input to workflow form in studio ([#11560](https://github.com/mastra-ai/mastra/pull/11560))
168
+
169
+ - Display network completion validation results and scorer feedback in the Playground when viewing agent network runs, letting users see pass/fail status and actionable feedback from completion scorers ([#11562](https://github.com/mastra-ai/mastra/pull/11562))
170
+
171
+ ## 1.0.0-beta.12
172
+
173
+ ### Minor Changes
174
+
175
+ - Add Antigravity IDE support to create-mastra CLI. Users can now select Antigravity during project initialization and automatically configure the global Mastra MCP server for the IDE, reducing manual setup and enabling immediate use of Mastra agents. ([#11374](https://github.com/mastra-ai/mastra/pull/11374))
176
+
177
+ ### Patch Changes
178
+
179
+ - Add debugger-like click-through UI to workflow graph ([#11350](https://github.com/mastra-ai/mastra/pull/11350))
180
+
181
+ ## 1.0.0-beta.11
182
+
183
+ ## 1.0.0-beta.10
184
+
185
+ ### Patch Changes
186
+
187
+ - Auto resume suspended tools if `autoResumeSuspendedTools: true` ([#11157](https://github.com/mastra-ai/mastra/pull/11157))
188
+
189
+ The flag can be added to `defaultAgentOptions` when creating the agent or to options in `agent.stream` or `agent.generate`
190
+
191
+ ```typescript
192
+ const agent = new Agent({
193
+ //...agent information,
194
+ defaultAgentOptions: {
195
+ autoResumeSuspendedTools: true,
196
+ },
197
+ });
198
+ ```
199
+
200
+ - Add `Run` instance to client-js. `workflow.createRun` returns the `Run` instance which can be used for the different run methods. ([#11207](https://github.com/mastra-ai/mastra/pull/11207))
201
+ With this change, run methods cannot be called directly on workflow instance anymore
202
+
203
+ ```diff
204
+ - const result = await workflow.stream({ runId: '123', inputData: { ... } });
205
+ + const run = await workflow.createRun({ runId: '123' });
206
+ + const stream = await run.stream({ inputData: { ... } });
207
+ ```
208
+
209
+ - fix isTopLevelSpan value definition on SpanScoring to properly recognize lack of span?.parentSpanId value (null or empty string) ([#11083](https://github.com/mastra-ai/mastra/pull/11083))
210
+
211
+ ## 1.0.0-beta.9
212
+
213
+ ## 1.0.0-beta.8
214
+
215
+ ### Patch Changes
216
+
217
+ - Add delete workflow run API ([#10991](https://github.com/mastra-ai/mastra/pull/10991))
218
+
219
+ ```typescript
220
+ await workflow.deleteWorkflowRunById(runId);
221
+ ```
222
+
223
+ ## 1.0.0-beta.7
224
+
225
+ ### Patch Changes
226
+
227
+ - Fix default value showing on workflow form after user submits ([#10983](https://github.com/mastra-ai/mastra/pull/10983))
228
+
229
+ - Move useScorers down to trace page to trigger it once for all trace spans ([#10985](https://github.com/mastra-ai/mastra/pull/10985))
230
+
231
+ - Update Observability Trace Spans list UI, so a user can expand/collapse span children/descendants and can filter the list by span type or name ([#10378](https://github.com/mastra-ai/mastra/pull/10378))
232
+
233
+ - Fix workflow trigger form overflow ([#10986](https://github.com/mastra-ai/mastra/pull/10986))
234
+
235
+ ## 1.0.0-beta.6
236
+
237
+ ### Patch Changes
238
+
239
+ - Fix select options overflow when list is long by adding maximum height ([#10813](https://github.com/mastra-ai/mastra/pull/10813))
240
+
241
+ ## 1.0.0-beta.5
242
+
243
+ ### Patch Changes
244
+
245
+ - Fix discriminatedUnion schema information lost when json schema is converted to zod ([#10500](https://github.com/mastra-ai/mastra/pull/10500))
246
+
247
+ - Hide time travel on map steps in Studio ([#10631](https://github.com/mastra-ai/mastra/pull/10631))
248
+
249
+ ## 1.0.0-beta.4
250
+
251
+ ### Patch Changes
252
+
253
+ - Add timeTravel APIs and add timeTravel feature to studio ([#10361](https://github.com/mastra-ai/mastra/pull/10361))
254
+
31
255
  ## 1.0.0-beta.3
32
256
 
33
257
  ### Patch Changes
package/README.md CHANGED
@@ -9,7 +9,7 @@ It includes everything you need to go from early prototypes to production-ready
9
9
  ## Usage
10
10
 
11
11
  > [!IMPORTANT]
12
- > Make sure that you have Node.js 20 or later installed on your system.
12
+ > Make sure that you have Node.js 22.13.0 or later installed on your system.
13
13
 
14
14
  Using npm:
15
15