@mastra/client-js 0.1.19 → 0.1.20-alpha.0

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.1.19-alpha.8 build /home/runner/work/mastra/mastra/client-sdks/client-js
2
+ > @mastra/client-js@0.1.20-alpha.0 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 27.12 KB
13
- ESM ⚡️ Build success in 881ms
14
12
  CJS dist/index.cjs 27.30 KB
15
- CJS ⚡️ Build success in 882ms
13
+ CJS ⚡️ Build success in 1193ms
14
+ ESM dist/index.js 27.12 KB
15
+ ESM ⚡️ Build success in 1199ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 13378ms
18
- DTS dist/index.d.ts 23.89 KB
19
- DTS dist/index.d.cts 23.89 KB
17
+ DTS ⚡️ Build success in 12145ms
18
+ DTS dist/index.d.ts 24.11 KB
19
+ DTS dist/index.d.cts 24.11 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 0.1.20-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 0097d50: Add serializedStepGraph to vNext workflow
8
+ Return serializedStepGraph from vNext workflow
9
+ Use serializedStepGraph in vNext workflow graph
10
+ - Updated dependencies [0097d50]
11
+ - @mastra/core@0.9.2-alpha.0
12
+
3
13
  ## 0.1.19
4
14
 
5
15
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -67,8 +67,17 @@ type WorkflowRunResult = {
67
67
  };
68
68
  interface GetVNextWorkflowResponse {
69
69
  name: string;
70
- steps: NewWorkflow['steps'];
71
- stepGraph: NewWorkflow['stepGraph'];
70
+ steps: {
71
+ [key: string]: {
72
+ id: string;
73
+ description: string;
74
+ inputSchema: string;
75
+ outputSchema: string;
76
+ resumeSchema: string;
77
+ suspendSchema: string;
78
+ };
79
+ };
80
+ stepGraph: NewWorkflow['serializedStepGraph'];
72
81
  inputSchema: string;
73
82
  outputSchema: string;
74
83
  }
package/dist/index.d.ts CHANGED
@@ -67,8 +67,17 @@ type WorkflowRunResult = {
67
67
  };
68
68
  interface GetVNextWorkflowResponse {
69
69
  name: string;
70
- steps: NewWorkflow['steps'];
71
- stepGraph: NewWorkflow['stepGraph'];
70
+ steps: {
71
+ [key: string]: {
72
+ id: string;
73
+ description: string;
74
+ inputSchema: string;
75
+ outputSchema: string;
76
+ resumeSchema: string;
77
+ suspendSchema: string;
78
+ };
79
+ };
80
+ stepGraph: NewWorkflow['serializedStepGraph'];
72
81
  inputSchema: string;
73
82
  outputSchema: string;
74
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/client-js",
3
- "version": "0.1.19",
3
+ "version": "0.1.20-alpha.0",
4
4
  "description": "The official TypeScript library for the Mastra Client API",
5
5
  "author": "",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "json-schema": "^0.4.0",
27
27
  "zod": "^3.24.2",
28
28
  "zod-to-json-schema": "^3.24.3",
29
- "@mastra/core": "^0.9.1"
29
+ "@mastra/core": "^0.9.2-alpha.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "zod": "^3.24.2"
package/src/types.ts CHANGED
@@ -82,8 +82,17 @@ export type WorkflowRunResult = {
82
82
 
83
83
  export interface GetVNextWorkflowResponse {
84
84
  name: string;
85
- steps: NewWorkflow['steps'];
86
- stepGraph: NewWorkflow['stepGraph'];
85
+ steps: {
86
+ [key: string]: {
87
+ id: string;
88
+ description: string;
89
+ inputSchema: string;
90
+ outputSchema: string;
91
+ resumeSchema: string;
92
+ suspendSchema: string;
93
+ };
94
+ };
95
+ stepGraph: NewWorkflow['serializedStepGraph'];
87
96
  inputSchema: string;
88
97
  outputSchema: string;
89
98
  }