@mastra/client-js 0.0.0-tool-call-parts-20250630193309 → 0.0.0-transpile-packages-20250730132657

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,21 +1,336 @@
1
1
  # @mastra/client-js
2
2
 
3
- ## 0.0.0-tool-call-parts-20250630193309
3
+ ## 0.0.0-transpile-packages-20250730132657
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 6bd354c: Should not send content type if body instance of FormData
8
+ - Updated dependencies [3f89307]
9
+ - Updated dependencies [9d49408]
10
+ - Updated dependencies [7a7754f]
11
+ - Updated dependencies [fc92d80]
12
+ - Updated dependencies [3546c40]
13
+ - @mastra/core@0.0.0-transpile-packages-20250730132657
14
+
15
+ ## 0.10.16
16
+
17
+ ### Patch Changes
18
+
19
+ - @mastra/core@0.11.1
20
+
21
+ ## 0.10.15
22
+
23
+ ### Patch Changes
24
+
25
+ - 4832752: Do not set content-type header when making POST/PUT requests without a body
26
+ - f248d53: Adding `getMessagesPaginated` to the serve, deployer, and client-js
27
+ - 2affc57: Fix output type of network loop
28
+ - 032cb66: ClientJS
29
+ - 7827943: Handle streaming large data
30
+ - 65e3395: Add Scores playground-ui and add scorer hooks
31
+ - 80c2b06: Fix agent chat stop button to cancel stream/generate reqs in the playground
32
+ - 6f6e651: Alias createRun -> createRunAsync to match Mastra Workflow class
33
+ - Updated dependencies [f248d53]
34
+ - Updated dependencies [2affc57]
35
+ - Updated dependencies [66e13e3]
36
+ - Updated dependencies [edd9482]
37
+ - Updated dependencies [18344d7]
38
+ - Updated dependencies [9d372c2]
39
+ - Updated dependencies [40c2525]
40
+ - Updated dependencies [e473f27]
41
+ - Updated dependencies [032cb66]
42
+ - Updated dependencies [703ac71]
43
+ - Updated dependencies [a723d69]
44
+ - Updated dependencies [7827943]
45
+ - Updated dependencies [5889a31]
46
+ - Updated dependencies [bf1e7e7]
47
+ - Updated dependencies [65e3395]
48
+ - Updated dependencies [4933192]
49
+ - Updated dependencies [d1c77a4]
50
+ - Updated dependencies [bea9dd1]
51
+ - Updated dependencies [dcd4802]
52
+ - Updated dependencies [cbddd18]
53
+ - Updated dependencies [7ba91fa]
54
+ - @mastra/core@0.11.0
55
+
56
+ ## 0.10.15-alpha.3
57
+
58
+ ### Patch Changes
59
+
60
+ - @mastra/core@0.11.0-alpha.3
61
+
62
+ ## 0.10.15-alpha.2
63
+
64
+ ### Patch Changes
65
+
66
+ - 4832752: Do not set content-type header when making POST/PUT requests without a body
67
+ - f248d53: Adding `getMessagesPaginated` to the serve, deployer, and client-js
68
+ - 2affc57: Fix output type of network loop
69
+ - 032cb66: ClientJS
70
+ - 65e3395: Add Scores playground-ui and add scorer hooks
71
+ - 80c2b06: Fix agent chat stop button to cancel stream/generate reqs in the playground
72
+ - 6f6e651: Alias createRun -> createRunAsync to match Mastra Workflow class
73
+ - Updated dependencies [f248d53]
74
+ - Updated dependencies [2affc57]
75
+ - Updated dependencies [66e13e3]
76
+ - Updated dependencies [edd9482]
77
+ - Updated dependencies [18344d7]
78
+ - Updated dependencies [9d372c2]
79
+ - Updated dependencies [40c2525]
80
+ - Updated dependencies [e473f27]
81
+ - Updated dependencies [032cb66]
82
+ - Updated dependencies [703ac71]
83
+ - Updated dependencies [a723d69]
84
+ - Updated dependencies [5889a31]
85
+ - Updated dependencies [65e3395]
86
+ - Updated dependencies [4933192]
87
+ - Updated dependencies [d1c77a4]
88
+ - Updated dependencies [bea9dd1]
89
+ - Updated dependencies [dcd4802]
90
+ - Updated dependencies [7ba91fa]
91
+ - @mastra/core@0.11.0-alpha.2
92
+
93
+ ## 0.10.15-alpha.1
94
+
95
+ ### Patch Changes
96
+
97
+ - @mastra/core@0.11.0-alpha.1
98
+
99
+ ## 0.10.15-alpha.0
100
+
101
+ ### Patch Changes
102
+
103
+ - 7827943: Handle streaming large data
104
+ - Updated dependencies [7827943]
105
+ - Updated dependencies [bf1e7e7]
106
+ - Updated dependencies [cbddd18]
107
+ - @mastra/core@0.11.0-alpha.0
108
+
109
+ ## 0.10.14
110
+
111
+ ### Patch Changes
112
+
113
+ - 31f9f6b: Replace crypto randomUUID in client SDK"
114
+ - 1aa60b1: Pipe runtimeContext to vNext network agent stream and generate steps, wire up runtimeContext for vNext Networks in cliet SDK & playground
115
+ - 626b0f4: [Cloud-126] Working Memory Playground - Added working memory to playground to allow users to view/edit working memory
116
+ - Updated dependencies [0b56518]
117
+ - Updated dependencies [db5cc15]
118
+ - Updated dependencies [2ba5b76]
119
+ - Updated dependencies [5237998]
120
+ - Updated dependencies [c3a30de]
121
+ - Updated dependencies [37c1acd]
122
+ - Updated dependencies [1aa60b1]
123
+ - Updated dependencies [89ec9d4]
124
+ - Updated dependencies [cf3a184]
125
+ - Updated dependencies [d6bfd60]
126
+ - Updated dependencies [626b0f4]
127
+ - Updated dependencies [c22a91f]
128
+ - Updated dependencies [f7403ab]
129
+ - Updated dependencies [6c89d7f]
130
+ - @mastra/core@0.10.15
131
+
132
+ ## 0.10.14-alpha.1
133
+
134
+ ### Patch Changes
135
+
136
+ - Updated dependencies [0b56518]
137
+ - Updated dependencies [2ba5b76]
138
+ - Updated dependencies [c3a30de]
139
+ - Updated dependencies [cf3a184]
140
+ - Updated dependencies [d6bfd60]
141
+ - @mastra/core@0.10.15-alpha.1
142
+
143
+ ## 0.10.14-alpha.0
144
+
145
+ ### Patch Changes
146
+
147
+ - 31f9f6b: Replace crypto randomUUID in client SDK"
148
+ - 1aa60b1: Pipe runtimeContext to vNext network agent stream and generate steps, wire up runtimeContext for vNext Networks in cliet SDK & playground
149
+ - 626b0f4: [Cloud-126] Working Memory Playground - Added working memory to playground to allow users to view/edit working memory
150
+ - Updated dependencies [db5cc15]
151
+ - Updated dependencies [5237998]
152
+ - Updated dependencies [37c1acd]
153
+ - Updated dependencies [1aa60b1]
154
+ - Updated dependencies [89ec9d4]
155
+ - Updated dependencies [626b0f4]
156
+ - Updated dependencies [c22a91f]
157
+ - Updated dependencies [f7403ab]
158
+ - Updated dependencies [6c89d7f]
159
+ - @mastra/core@0.10.15-alpha.0
160
+
161
+ ## 0.10.13
162
+
163
+ ### Patch Changes
164
+
165
+ - @mastra/core@0.10.14
166
+
167
+ ## 0.10.11
168
+
169
+ ### Patch Changes
170
+
171
+ - 9468be4: Fix error on agent generate while using antropic
172
+ - 44731a4: Client SDK - Expose processTextStream util for agent textstream with structured output
173
+ - Updated dependencies [b4a9811]
174
+ - Updated dependencies [4d5583d]
175
+ - @mastra/core@0.10.12
176
+
177
+ ## 0.10.11-alpha.1
178
+
179
+ ### Patch Changes
180
+
181
+ - Updated dependencies [4d5583d]
182
+ - @mastra/core@0.10.12-alpha.1
183
+
184
+ ## 0.10.11-alpha.0
185
+
186
+ ### Patch Changes
187
+
188
+ - 9468be4: Fix error on agent generate while using antropic
189
+ - 44731a4: Client SDK - Expose processTextStream util for agent textstream with structured output
190
+ - Updated dependencies [b4a9811]
191
+ - @mastra/core@0.10.12-alpha.0
192
+
193
+ ## 0.10.10
194
+
195
+ ### Patch Changes
196
+
197
+ - 18da791: Add abortSignal to client SDK options
198
+ - Updated dependencies [2873c7f]
199
+ - Updated dependencies [1c1c6a1]
200
+ - Updated dependencies [f8ce2cc]
201
+ - Updated dependencies [8c846b6]
202
+ - Updated dependencies [c7bbf1e]
203
+ - Updated dependencies [8722d53]
204
+ - Updated dependencies [565cc0c]
205
+ - Updated dependencies [b790fd1]
206
+ - Updated dependencies [132027f]
207
+ - Updated dependencies [0c85311]
208
+ - Updated dependencies [d7ed04d]
209
+ - Updated dependencies [cb16baf]
210
+ - Updated dependencies [f36e4f1]
211
+ - Updated dependencies [7f6e403]
212
+ - @mastra/core@0.10.11
213
+
214
+ ## 0.10.10-alpha.4
215
+
216
+ ### Patch Changes
217
+
218
+ - @mastra/core@0.10.11-alpha.4
219
+
220
+ ## 0.10.10-alpha.3
221
+
222
+ ### Patch Changes
223
+
224
+ - Updated dependencies [c7bbf1e]
225
+ - Updated dependencies [8722d53]
226
+ - Updated dependencies [132027f]
227
+ - Updated dependencies [0c85311]
228
+ - Updated dependencies [cb16baf]
229
+ - @mastra/core@0.10.11-alpha.3
230
+
231
+ ## 0.10.10-alpha.2
232
+
233
+ ### Patch Changes
234
+
235
+ - 18da791: Add abortSignal to client SDK options
236
+ - Updated dependencies [2873c7f]
237
+ - Updated dependencies [1c1c6a1]
238
+ - Updated dependencies [565cc0c]
239
+ - @mastra/core@0.10.11-alpha.2
240
+
241
+ ## 0.10.10-alpha.1
242
+
243
+ ### Patch Changes
244
+
245
+ - Updated dependencies [7f6e403]
246
+ - @mastra/core@0.10.11-alpha.1
247
+
248
+ ## 0.10.10-alpha.0
249
+
250
+ ### Patch Changes
251
+
252
+ - Updated dependencies [f8ce2cc]
253
+ - Updated dependencies [8c846b6]
254
+ - Updated dependencies [b790fd1]
255
+ - Updated dependencies [d7ed04d]
256
+ - Updated dependencies [f36e4f1]
257
+ - @mastra/core@0.10.11-alpha.0
258
+
259
+ ## 0.10.9
260
+
261
+ ### Patch Changes
262
+
263
+ - b60f510: Fix getWorkflowRuns by limit and offset
264
+ - 6997af1: add send event to server, deployer, client-js and playground-ui
265
+ - Updated dependencies [4d3fbdf]
266
+ - @mastra/core@0.10.10
267
+
268
+ ## 0.10.9-alpha.1
269
+
270
+ ### Patch Changes
271
+
272
+ - b60f510: Fix getWorkflowRuns by limit and offset
273
+ - 6997af1: add send event to server, deployer, client-js and playground-ui
274
+ - @mastra/core@0.10.10-alpha.1
275
+
276
+ ## 0.10.9-alpha.0
277
+
278
+ ### Patch Changes
279
+
280
+ - Updated dependencies [4d3fbdf]
281
+ - @mastra/core@0.10.10-alpha.0
282
+
283
+ ## 0.10.8
284
+
285
+ ### Patch Changes
286
+
287
+ - 9047bda: clientTools - stream tool-result part
288
+ - a606c75: show right suspend schema for nested workflow on playground
289
+ - 1760a1c: Use workflow stream in playground instead of watch
290
+ - 038e5ae: Add cancel workflow run
291
+ - 7e801dd: Add tools to network api response
292
+ - Updated dependencies [9dda1ac]
293
+ - Updated dependencies [c984582]
294
+ - Updated dependencies [7e801dd]
295
+ - Updated dependencies [a606c75]
296
+ - Updated dependencies [7aa70a4]
297
+ - Updated dependencies [764f86a]
298
+ - Updated dependencies [1760a1c]
299
+ - Updated dependencies [038e5ae]
300
+ - Updated dependencies [7dda16a]
301
+ - Updated dependencies [5ebfcdd]
302
+ - Updated dependencies [b2d0c91]
303
+ - Updated dependencies [4e809ad]
304
+ - Updated dependencies [57929df]
305
+ - Updated dependencies [b7852ed]
306
+ - Updated dependencies [6320a61]
307
+ - @mastra/core@0.10.9
308
+
309
+ ## 0.10.8-alpha.0
310
+
311
+ ### Patch Changes
312
+
313
+ - 9047bda: clientTools - stream tool-result part
314
+ - a606c75: show right suspend schema for nested workflow on playground
7
315
  - 1760a1c: Use workflow stream in playground instead of watch
316
+ - 038e5ae: Add cancel workflow run
8
317
  - 7e801dd: Add tools to network api response
9
318
  - Updated dependencies [9dda1ac]
319
+ - Updated dependencies [c984582]
10
320
  - Updated dependencies [7e801dd]
321
+ - Updated dependencies [a606c75]
11
322
  - Updated dependencies [7aa70a4]
12
323
  - Updated dependencies [764f86a]
13
324
  - Updated dependencies [1760a1c]
325
+ - Updated dependencies [038e5ae]
14
326
  - Updated dependencies [7dda16a]
15
- - Updated dependencies [d80069a]
327
+ - Updated dependencies [5ebfcdd]
328
+ - Updated dependencies [b2d0c91]
329
+ - Updated dependencies [4e809ad]
16
330
  - Updated dependencies [57929df]
331
+ - Updated dependencies [b7852ed]
17
332
  - Updated dependencies [6320a61]
18
- - @mastra/core@0.0.0-tool-call-parts-20250630193309
333
+ - @mastra/core@0.10.9-alpha.0
19
334
 
20
335
  ## 0.10.7
21
336
 
package/LICENSE.md CHANGED
@@ -1,46 +1,15 @@
1
- # Elastic License 2.0 (ELv2)
1
+ # Apache License 2.0
2
2
 
3
- Copyright (c) 2025 Mastra AI, Inc.
3
+ Copyright (c) 2025 Kepler Software, Inc.
4
4
 
5
- **Acceptance**
6
- By using the software, you agree to all of the terms and conditions below.
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
7
8
 
8
- **Copyright License**
9
- The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
10
 
11
- **Limitations**
12
- You may not provide the software to third parties as a hosted or managed service, where the service provides users with access to any substantial set of the features or functionality of the software.
13
-
14
- You may not move, change, disable, or circumvent the license key functionality in the software, and you may not remove or obscure any functionality in the software that is protected by the license key.
15
-
16
- You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
17
-
18
- **Patents**
19
- The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
20
-
21
- **Notices**
22
- You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
23
-
24
- If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
25
-
26
- **No Other Rights**
27
- These terms do not imply any licenses other than those expressly granted in these terms.
28
-
29
- **Termination**
30
- If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violation of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
31
-
32
- **No Liability**
33
- As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
34
-
35
- **Definitions**
36
- The _licensor_ is the entity offering these terms, and the _software_ is the software the licensor makes available under these terms, including any portion of it.
37
-
38
- _you_ refers to the individual or entity agreeing to these terms.
39
-
40
- _your company_ is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. _control_ means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
41
-
42
- _your licenses_ are all the licenses granted to you for the software under these terms.
43
-
44
- _use_ means anything you do with the software requiring one of your licenses.
45
-
46
- _trademark_ means trademarks, service marks, and similar rights.
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
package/README.md CHANGED
@@ -80,6 +80,7 @@ const client = new MastraClient({
80
80
  - `getWorkflow(workflowId)`: Get a workflow instance
81
81
  - `workflow.details()`: Get workflow details
82
82
  - `workflow.createRun()`: Create workflow run
83
+ - `workflow.createRunAsync()`: Create workflow run (alias)
83
84
  - `workflow.startAsync(params)`: Execute the workflow and wait for execution results
84
85
  - `workflow.resumeAsync(parmas)`: Resume suspended workflow step async
85
86
  - `workflow.watch({runId},(record)=>{})`: Watch the step transitions of the workflow run