@mastra/client-js 0.0.0-cli-debug-2-20250611100354 → 0.0.0-cloudflare-deployer-dont-install-deps-20250714111754

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,5 @@
1
1
 
2
- > @mastra/client-js@0.10.3 build /home/runner/work/mastra/mastra/client-sdks/client-js
2
+ > @mastra/client-js@0.10.13 build /home/runner/work/mastra/mastra/client-sdks/client-js
3
3
  > tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,11 +9,11 @@
9
9
  CLI Cleaning output folder
10
10
  ESM Build start
11
11
  CJS Build start
12
- ESM dist/index.js 46.36 KB
13
- ESM ⚡️ Build success in 1545ms
14
- CJS dist/index.cjs 46.65 KB
15
- CJS ⚡️ Build success in 1559ms
12
+ CJS dist/index.cjs 71.41 KB
13
+ CJS ⚡️ Build success in 2701ms
14
+ ESM dist/index.js 71.12 KB
15
+ ESM ⚡️ Build success in 2705ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 14958ms
18
- DTS dist/index.d.ts 32.85 KB
19
- DTS dist/index.d.cts 32.85 KB
17
+ DTS ⚡️ Build success in 18050ms
18
+ DTS dist/index.d.ts 41.95 KB
19
+ DTS dist/index.d.cts 41.95 KB
package/CHANGELOG.md CHANGED
@@ -1,10 +1,405 @@
1
1
  # @mastra/client-js
2
2
 
3
- ## 0.0.0-cli-debug-2-20250611100354
3
+ ## 0.0.0-cloudflare-deployer-dont-install-deps-20250714111754
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @mastra/core@0.0.0-cli-debug-2-20250611100354
7
+ - 31f9f6b: Replace crypto randomUUID in client SDK"
8
+ - 1aa60b1: Pipe runtimeContext to vNext network agent stream and generate steps, wire up runtimeContext for vNext Networks in cliet SDK & playground
9
+ - 626b0f4: [Cloud-126] Working Memory Playground - Added working memory to playground to allow users to view/edit working memory
10
+ - Updated dependencies [5237998]
11
+ - Updated dependencies [1aa60b1]
12
+ - Updated dependencies [89ec9d4]
13
+ - Updated dependencies [626b0f4]
14
+ - Updated dependencies [c22a91f]
15
+ - Updated dependencies [f7403ab]
16
+ - @mastra/core@0.0.0-cloudflare-deployer-dont-install-deps-20250714111754
17
+
18
+ ## 0.10.13
19
+
20
+ ### Patch Changes
21
+
22
+ - @mastra/core@0.10.14
23
+
24
+ ## 0.10.11
25
+
26
+ ### Patch Changes
27
+
28
+ - 9468be4: Fix error on agent generate while using antropic
29
+ - 44731a4: Client SDK - Expose processTextStream util for agent textstream with structured output
30
+ - Updated dependencies [b4a9811]
31
+ - Updated dependencies [4d5583d]
32
+ - @mastra/core@0.10.12
33
+
34
+ ## 0.10.11-alpha.1
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [4d5583d]
39
+ - @mastra/core@0.10.12-alpha.1
40
+
41
+ ## 0.10.11-alpha.0
42
+
43
+ ### Patch Changes
44
+
45
+ - 9468be4: Fix error on agent generate while using antropic
46
+ - 44731a4: Client SDK - Expose processTextStream util for agent textstream with structured output
47
+ - Updated dependencies [b4a9811]
48
+ - @mastra/core@0.10.12-alpha.0
49
+
50
+ ## 0.10.10
51
+
52
+ ### Patch Changes
53
+
54
+ - 18da791: Add abortSignal to client SDK options
55
+ - Updated dependencies [2873c7f]
56
+ - Updated dependencies [1c1c6a1]
57
+ - Updated dependencies [f8ce2cc]
58
+ - Updated dependencies [8c846b6]
59
+ - Updated dependencies [c7bbf1e]
60
+ - Updated dependencies [8722d53]
61
+ - Updated dependencies [565cc0c]
62
+ - Updated dependencies [b790fd1]
63
+ - Updated dependencies [132027f]
64
+ - Updated dependencies [0c85311]
65
+ - Updated dependencies [d7ed04d]
66
+ - Updated dependencies [cb16baf]
67
+ - Updated dependencies [f36e4f1]
68
+ - Updated dependencies [7f6e403]
69
+ - @mastra/core@0.10.11
70
+
71
+ ## 0.10.10-alpha.4
72
+
73
+ ### Patch Changes
74
+
75
+ - @mastra/core@0.10.11-alpha.4
76
+
77
+ ## 0.10.10-alpha.3
78
+
79
+ ### Patch Changes
80
+
81
+ - Updated dependencies [c7bbf1e]
82
+ - Updated dependencies [8722d53]
83
+ - Updated dependencies [132027f]
84
+ - Updated dependencies [0c85311]
85
+ - Updated dependencies [cb16baf]
86
+ - @mastra/core@0.10.11-alpha.3
87
+
88
+ ## 0.10.10-alpha.2
89
+
90
+ ### Patch Changes
91
+
92
+ - 18da791: Add abortSignal to client SDK options
93
+ - Updated dependencies [2873c7f]
94
+ - Updated dependencies [1c1c6a1]
95
+ - Updated dependencies [565cc0c]
96
+ - @mastra/core@0.10.11-alpha.2
97
+
98
+ ## 0.10.10-alpha.1
99
+
100
+ ### Patch Changes
101
+
102
+ - Updated dependencies [7f6e403]
103
+ - @mastra/core@0.10.11-alpha.1
104
+
105
+ ## 0.10.10-alpha.0
106
+
107
+ ### Patch Changes
108
+
109
+ - Updated dependencies [f8ce2cc]
110
+ - Updated dependencies [8c846b6]
111
+ - Updated dependencies [b790fd1]
112
+ - Updated dependencies [d7ed04d]
113
+ - Updated dependencies [f36e4f1]
114
+ - @mastra/core@0.10.11-alpha.0
115
+
116
+ ## 0.10.9
117
+
118
+ ### Patch Changes
119
+
120
+ - b60f510: Fix getWorkflowRuns by limit and offset
121
+ - 6997af1: add send event to server, deployer, client-js and playground-ui
122
+ - Updated dependencies [4d3fbdf]
123
+ - @mastra/core@0.10.10
124
+
125
+ ## 0.10.9-alpha.1
126
+
127
+ ### Patch Changes
128
+
129
+ - b60f510: Fix getWorkflowRuns by limit and offset
130
+ - 6997af1: add send event to server, deployer, client-js and playground-ui
131
+ - @mastra/core@0.10.10-alpha.1
132
+
133
+ ## 0.10.9-alpha.0
134
+
135
+ ### Patch Changes
136
+
137
+ - Updated dependencies [4d3fbdf]
138
+ - @mastra/core@0.10.10-alpha.0
139
+
140
+ ## 0.10.8
141
+
142
+ ### Patch Changes
143
+
144
+ - 9047bda: clientTools - stream tool-result part
145
+ - a606c75: show right suspend schema for nested workflow on playground
146
+ - 1760a1c: Use workflow stream in playground instead of watch
147
+ - 038e5ae: Add cancel workflow run
148
+ - 7e801dd: Add tools to network api response
149
+ - Updated dependencies [9dda1ac]
150
+ - Updated dependencies [c984582]
151
+ - Updated dependencies [7e801dd]
152
+ - Updated dependencies [a606c75]
153
+ - Updated dependencies [7aa70a4]
154
+ - Updated dependencies [764f86a]
155
+ - Updated dependencies [1760a1c]
156
+ - Updated dependencies [038e5ae]
157
+ - Updated dependencies [7dda16a]
158
+ - Updated dependencies [5ebfcdd]
159
+ - Updated dependencies [b2d0c91]
160
+ - Updated dependencies [4e809ad]
161
+ - Updated dependencies [57929df]
162
+ - Updated dependencies [b7852ed]
163
+ - Updated dependencies [6320a61]
164
+ - @mastra/core@0.10.9
165
+
166
+ ## 0.10.8-alpha.0
167
+
168
+ ### Patch Changes
169
+
170
+ - 9047bda: clientTools - stream tool-result part
171
+ - a606c75: show right suspend schema for nested workflow on playground
172
+ - 1760a1c: Use workflow stream in playground instead of watch
173
+ - 038e5ae: Add cancel workflow run
174
+ - 7e801dd: Add tools to network api response
175
+ - Updated dependencies [9dda1ac]
176
+ - Updated dependencies [c984582]
177
+ - Updated dependencies [7e801dd]
178
+ - Updated dependencies [a606c75]
179
+ - Updated dependencies [7aa70a4]
180
+ - Updated dependencies [764f86a]
181
+ - Updated dependencies [1760a1c]
182
+ - Updated dependencies [038e5ae]
183
+ - Updated dependencies [7dda16a]
184
+ - Updated dependencies [5ebfcdd]
185
+ - Updated dependencies [b2d0c91]
186
+ - Updated dependencies [4e809ad]
187
+ - Updated dependencies [57929df]
188
+ - Updated dependencies [b7852ed]
189
+ - Updated dependencies [6320a61]
190
+ - @mastra/core@0.10.9-alpha.0
191
+
192
+ ## 0.10.7
193
+
194
+ ### Patch Changes
195
+
196
+ - a344ac7: Fix tool streaming in agent network
197
+ - Updated dependencies [b8f16b2]
198
+ - Updated dependencies [3e04487]
199
+ - Updated dependencies [a344ac7]
200
+ - Updated dependencies [dc4ca0a]
201
+ - @mastra/core@0.10.8
202
+
203
+ ## 0.10.7-alpha.1
204
+
205
+ ### Patch Changes
206
+
207
+ - Updated dependencies [b8f16b2]
208
+ - Updated dependencies [3e04487]
209
+ - Updated dependencies [dc4ca0a]
210
+ - @mastra/core@0.10.8-alpha.1
211
+
212
+ ## 0.10.7-alpha.0
213
+
214
+ ### Patch Changes
215
+
216
+ - a344ac7: Fix tool streaming in agent network
217
+ - Updated dependencies [a344ac7]
218
+ - @mastra/core@0.10.8-alpha.0
219
+
220
+ ## 0.10.6
221
+
222
+ ### Patch Changes
223
+
224
+ - 8e1b6e9: dependencies updates:
225
+ - Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
226
+ - 9bf1d55: Fix runtimeContext in mastra server, client SDK
227
+ - 18a5d59: clientTools client side execution
228
+ - 5d74aab: vNext network in playground
229
+ - bee3fe4: Fix client side tool calling
230
+ - c0d41f6: Fix streaming for agent tool calls
231
+ - Updated dependencies [15e9d26]
232
+ - Updated dependencies [d1baedb]
233
+ - Updated dependencies [d8f2d19]
234
+ - Updated dependencies [4d21bf2]
235
+ - Updated dependencies [07d6d88]
236
+ - Updated dependencies [9d52b17]
237
+ - Updated dependencies [2097952]
238
+ - Updated dependencies [792c4c0]
239
+ - Updated dependencies [5d74aab]
240
+ - Updated dependencies [a8b194f]
241
+ - Updated dependencies [4fb0cc2]
242
+ - Updated dependencies [d2a7a31]
243
+ - Updated dependencies [502fe05]
244
+ - Updated dependencies [144eb0b]
245
+ - Updated dependencies [8ba1b51]
246
+ - Updated dependencies [4efcfa0]
247
+ - Updated dependencies [0e17048]
248
+ - @mastra/core@0.10.7
249
+
250
+ ## 0.10.6-alpha.6
251
+
252
+ ### Patch Changes
253
+
254
+ - c0d41f6: Fix streaming for agent tool calls
255
+
256
+ ## 0.10.6-alpha.5
257
+
258
+ ### Patch Changes
259
+
260
+ - bee3fe4: Fix client side tool calling
261
+ - @mastra/core@0.10.7-alpha.5
262
+
263
+ ## 0.10.6-alpha.4
264
+
265
+ ### Patch Changes
266
+
267
+ - Updated dependencies [a8b194f]
268
+ - @mastra/core@0.10.7-alpha.4
269
+
270
+ ## 0.10.6-alpha.3
271
+
272
+ ### Patch Changes
273
+
274
+ - 18a5d59: clientTools client side execution
275
+ - Updated dependencies [792c4c0]
276
+ - Updated dependencies [502fe05]
277
+ - Updated dependencies [4efcfa0]
278
+ - @mastra/core@0.10.7-alpha.3
279
+
280
+ ## 0.10.6-alpha.2
281
+
282
+ ### Patch Changes
283
+
284
+ - 8e1b6e9: dependencies updates:
285
+ - Updated dependency [`zod@^3.25.67` ↗︎](https://www.npmjs.com/package/zod/v/3.25.67) (from `^3.25.57`, in `dependencies`)
286
+ - 9bf1d55: Fix runtimeContext in mastra server, client SDK
287
+ - 5d74aab: vNext network in playground
288
+ - Updated dependencies [15e9d26]
289
+ - Updated dependencies [07d6d88]
290
+ - Updated dependencies [5d74aab]
291
+ - Updated dependencies [144eb0b]
292
+ - @mastra/core@0.10.7-alpha.2
293
+
294
+ ## 0.10.6-alpha.1
295
+
296
+ ### Patch Changes
297
+
298
+ - Updated dependencies [d1baedb]
299
+ - Updated dependencies [4d21bf2]
300
+ - Updated dependencies [2097952]
301
+ - Updated dependencies [4fb0cc2]
302
+ - Updated dependencies [d2a7a31]
303
+ - Updated dependencies [0e17048]
304
+ - @mastra/core@0.10.7-alpha.1
305
+
306
+ ## 0.10.6-alpha.0
307
+
308
+ ### Patch Changes
309
+
310
+ - Updated dependencies [d8f2d19]
311
+ - Updated dependencies [9d52b17]
312
+ - Updated dependencies [8ba1b51]
313
+ - @mastra/core@0.10.7-alpha.0
314
+
315
+ ## 0.10.5
316
+
317
+ ### Patch Changes
318
+
319
+ - 63f6b7d: dependencies updates:
320
+ - Updated dependency [`@ai-sdk/ui-utils@^1.2.11` ↗︎](https://www.npmjs.com/package/@ai-sdk/ui-utils/v/1.2.11) (from `^1.1.19`, in `dependencies`)
321
+ - Updated dependency [`zod@^3.25.57` ↗︎](https://www.npmjs.com/package/zod/v/3.25.57) (from `^3.25.56`, in `dependencies`)
322
+ - ee9af57: Add api for polling run execution result and get run by id
323
+ - 3270d9d: Fix runtime context being undefined
324
+ - Updated dependencies [63f6b7d]
325
+ - Updated dependencies [12a95fc]
326
+ - Updated dependencies [4b0f8a6]
327
+ - Updated dependencies [51264a5]
328
+ - Updated dependencies [8e6f677]
329
+ - Updated dependencies [d70c420]
330
+ - Updated dependencies [ee9af57]
331
+ - Updated dependencies [36f1c36]
332
+ - Updated dependencies [2a16996]
333
+ - Updated dependencies [10d352e]
334
+ - Updated dependencies [9589624]
335
+ - Updated dependencies [53d3c37]
336
+ - Updated dependencies [751c894]
337
+ - Updated dependencies [577ce3a]
338
+ - Updated dependencies [9260b3a]
339
+ - @mastra/core@0.10.6
340
+
341
+ ## 0.10.5-alpha.5
342
+
343
+ ### Patch Changes
344
+
345
+ - Updated dependencies [12a95fc]
346
+ - Updated dependencies [51264a5]
347
+ - Updated dependencies [8e6f677]
348
+ - @mastra/core@0.10.6-alpha.5
349
+
350
+ ## 0.10.5-alpha.4
351
+
352
+ ### Patch Changes
353
+
354
+ - Updated dependencies [9589624]
355
+ - @mastra/core@0.10.6-alpha.4
356
+
357
+ ## 0.10.5-alpha.3
358
+
359
+ ### Patch Changes
360
+
361
+ - Updated dependencies [d70c420]
362
+ - Updated dependencies [2a16996]
363
+ - @mastra/core@0.10.6-alpha.3
364
+
365
+ ## 0.10.5-alpha.2
366
+
367
+ ### Patch Changes
368
+
369
+ - Updated dependencies [4b0f8a6]
370
+ - @mastra/core@0.10.6-alpha.2
371
+
372
+ ## 0.10.5-alpha.1
373
+
374
+ ### Patch Changes
375
+
376
+ - ee9af57: Add api for polling run execution result and get run by id
377
+ - 3270d9d: Fix runtime context being undefined
378
+ - Updated dependencies [ee9af57]
379
+ - Updated dependencies [751c894]
380
+ - Updated dependencies [577ce3a]
381
+ - Updated dependencies [9260b3a]
382
+ - @mastra/core@0.10.6-alpha.1
383
+
384
+ ## 0.10.5-alpha.0
385
+
386
+ ### Patch Changes
387
+
388
+ - 63f6b7d: dependencies updates:
389
+ - Updated dependency [`@ai-sdk/ui-utils@^1.2.11` ↗︎](https://www.npmjs.com/package/@ai-sdk/ui-utils/v/1.2.11) (from `^1.1.19`, in `dependencies`)
390
+ - Updated dependency [`zod@^3.25.57` ↗︎](https://www.npmjs.com/package/zod/v/3.25.57) (from `^3.25.56`, in `dependencies`)
391
+ - Updated dependencies [63f6b7d]
392
+ - Updated dependencies [36f1c36]
393
+ - Updated dependencies [10d352e]
394
+ - Updated dependencies [53d3c37]
395
+ - @mastra/core@0.10.6-alpha.0
396
+
397
+ ## 0.10.4
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [13c97f9]
402
+ - @mastra/core@0.10.5
8
403
 
9
404
  ## 0.10.3
10
405
 
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
@@ -11,7 +11,7 @@ npm install @mastra/client-js
11
11
  ## Quick Start
12
12
 
13
13
  ```typescript
14
- import { MastraClient } from '@mastra/client';
14
+ import { MastraClient } from '@mastra/client-js';
15
15
 
16
16
  // Initialize the client
17
17
  const client = new MastraClient({