@mastra/client-js 0.0.0-workflow-deno-20250616130925 → 0.0.0-working-memory-per-user-20250620161509
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 +73 -4
- package/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/src/example.ts +1 -1
- package/src/resources/workflow.ts +1 -1
- package/.turbo/turbo-build.log +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-working-memory-per-user-20250620161509
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d8f2d19]
|
|
8
|
+
- Updated dependencies [9d52b17]
|
|
9
|
+
- Updated dependencies [2097952]
|
|
10
|
+
- Updated dependencies [8ba1b51]
|
|
11
|
+
- @mastra/core@0.0.0-working-memory-per-user-20250620161509
|
|
12
|
+
|
|
13
|
+
## 0.10.6-alpha.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [d8f2d19]
|
|
18
|
+
- Updated dependencies [9d52b17]
|
|
19
|
+
- Updated dependencies [8ba1b51]
|
|
20
|
+
- @mastra/core@0.10.7-alpha.0
|
|
21
|
+
|
|
22
|
+
## 0.10.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
6
25
|
|
|
@@ -8,16 +27,66 @@
|
|
|
8
27
|
- 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`)
|
|
9
28
|
- Updated dependency [`zod@^3.25.57` ↗︎](https://www.npmjs.com/package/zod/v/3.25.57) (from `^3.25.56`, in `dependencies`)
|
|
10
29
|
- ee9af57: Add api for polling run execution result and get run by id
|
|
11
|
-
-
|
|
30
|
+
- 3270d9d: Fix runtime context being undefined
|
|
12
31
|
- Updated dependencies [63f6b7d]
|
|
32
|
+
- Updated dependencies [12a95fc]
|
|
33
|
+
- Updated dependencies [4b0f8a6]
|
|
34
|
+
- Updated dependencies [51264a5]
|
|
35
|
+
- Updated dependencies [8e6f677]
|
|
36
|
+
- Updated dependencies [d70c420]
|
|
13
37
|
- Updated dependencies [ee9af57]
|
|
14
38
|
- Updated dependencies [36f1c36]
|
|
39
|
+
- Updated dependencies [2a16996]
|
|
15
40
|
- Updated dependencies [10d352e]
|
|
16
|
-
- Updated dependencies [
|
|
41
|
+
- Updated dependencies [9589624]
|
|
17
42
|
- Updated dependencies [53d3c37]
|
|
43
|
+
- Updated dependencies [751c894]
|
|
44
|
+
- Updated dependencies [577ce3a]
|
|
45
|
+
- Updated dependencies [9260b3a]
|
|
46
|
+
- @mastra/core@0.10.6
|
|
47
|
+
|
|
48
|
+
## 0.10.5-alpha.5
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [12a95fc]
|
|
53
|
+
- Updated dependencies [51264a5]
|
|
54
|
+
- Updated dependencies [8e6f677]
|
|
55
|
+
- @mastra/core@0.10.6-alpha.5
|
|
56
|
+
|
|
57
|
+
## 0.10.5-alpha.4
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- Updated dependencies [9589624]
|
|
62
|
+
- @mastra/core@0.10.6-alpha.4
|
|
63
|
+
|
|
64
|
+
## 0.10.5-alpha.3
|
|
65
|
+
|
|
66
|
+
### Patch Changes
|
|
67
|
+
|
|
68
|
+
- Updated dependencies [d70c420]
|
|
69
|
+
- Updated dependencies [2a16996]
|
|
70
|
+
- @mastra/core@0.10.6-alpha.3
|
|
71
|
+
|
|
72
|
+
## 0.10.5-alpha.2
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [4b0f8a6]
|
|
77
|
+
- @mastra/core@0.10.6-alpha.2
|
|
78
|
+
|
|
79
|
+
## 0.10.5-alpha.1
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- ee9af57: Add api for polling run execution result and get run by id
|
|
84
|
+
- 3270d9d: Fix runtime context being undefined
|
|
85
|
+
- Updated dependencies [ee9af57]
|
|
86
|
+
- Updated dependencies [751c894]
|
|
18
87
|
- Updated dependencies [577ce3a]
|
|
19
88
|
- Updated dependencies [9260b3a]
|
|
20
|
-
- @mastra/core@0.
|
|
89
|
+
- @mastra/core@0.10.6-alpha.1
|
|
21
90
|
|
|
22
91
|
## 0.10.5-alpha.0
|
|
23
92
|
|
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1012,7 +1012,7 @@ var Workflow = class extends BaseResource {
|
|
|
1012
1012
|
if (!!params?.runId) {
|
|
1013
1013
|
searchParams.set("runId", params.runId);
|
|
1014
1014
|
}
|
|
1015
|
-
const runtimeContext =
|
|
1015
|
+
const runtimeContext = parseClientRuntimeContext(params.runtimeContext);
|
|
1016
1016
|
const response = await this.request(
|
|
1017
1017
|
`/api/workflows/${this.workflowId}/stream?${searchParams.toString()}`,
|
|
1018
1018
|
{
|
package/dist/index.js
CHANGED
|
@@ -1006,7 +1006,7 @@ var Workflow = class extends BaseResource {
|
|
|
1006
1006
|
if (!!params?.runId) {
|
|
1007
1007
|
searchParams.set("runId", params.runId);
|
|
1008
1008
|
}
|
|
1009
|
-
const runtimeContext =
|
|
1009
|
+
const runtimeContext = parseClientRuntimeContext(params.runtimeContext);
|
|
1010
1010
|
const response = await this.request(
|
|
1011
1011
|
`/api/workflows/${this.workflowId}/stream?${searchParams.toString()}`,
|
|
1012
1012
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-working-memory-per-user-20250620161509",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"rxjs": "7.8.1",
|
|
34
34
|
"zod": "^3.25.57",
|
|
35
35
|
"zod-to-json-schema": "^3.24.5",
|
|
36
|
-
"@mastra/core": "0.0.0-
|
|
36
|
+
"@mastra/core": "0.0.0-working-memory-per-user-20250620161509"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"zod": "^3.0.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"tsup": "^8.5.0",
|
|
48
48
|
"typescript": "^5.8.3",
|
|
49
49
|
"vitest": "^3.2.3",
|
|
50
|
-
"@internal/lint": "0.0.0-
|
|
50
|
+
"@internal/lint": "0.0.0-working-memory-per-user-20250620161509"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
|
package/src/example.ts
CHANGED
|
@@ -45,7 +45,7 @@ import { MastraClient } from './client';
|
|
|
45
45
|
// const workflowId = 'myWorkflow';
|
|
46
46
|
// const workflow = client.getWorkflow(workflowId);
|
|
47
47
|
|
|
48
|
-
// const { runId } =
|
|
48
|
+
// const { runId } = await workflow.createRun();
|
|
49
49
|
|
|
50
50
|
// workflow.watch({ runId }, record => {
|
|
51
51
|
// console.log(new Date().toTimeString(), record);
|
|
@@ -248,7 +248,7 @@ export class Workflow extends BaseResource {
|
|
|
248
248
|
searchParams.set('runId', params.runId);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
const runtimeContext =
|
|
251
|
+
const runtimeContext = parseClientRuntimeContext(params.runtimeContext);
|
|
252
252
|
const response: Response = await this.request(
|
|
253
253
|
`/api/workflows/${this.workflowId}/stream?${searchParams.toString()}`,
|
|
254
254
|
{
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @mastra/client-js@0.10.5-alpha.0 build /home/runner/work/mastra/mastra/client-sdks/client-js
|
|
3
|
-
> tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
|
|
4
|
-
|
|
5
|
-
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.5.0
|
|
8
|
-
[34mCLI[39m Target: es2022
|
|
9
|
-
[34mCLI[39m Cleaning output folder
|
|
10
|
-
[34mESM[39m Build start
|
|
11
|
-
[34mCJS[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m47.27 KB[39m
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in 1634ms
|
|
14
|
-
[32mESM[39m [1mdist/index.js [22m[32m46.98 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in 1644ms
|
|
16
|
-
[34mDTS[39m Build start
|
|
17
|
-
[32mDTS[39m ⚡️ Build success in 12991ms
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m33.64 KB[39m
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m33.64 KB[39m
|