@mastra/client-js 0.0.0-ai-sdk-workflow-route-20251010135341 → 0.0.0-allow-to-pass-a-mastra-url-instance-20251105224938

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,45 +1,37 @@
1
- import type { TracingOptions } from '@mastra/core/ai-tracing';
2
- import type { RuntimeContext } from '@mastra/core/runtime-context';
3
- import type { ClientOptions, GetWorkflowResponse, GetWorkflowRunsResponse, GetWorkflowRunsParams, WorkflowRunResult, WorkflowWatchResult, GetWorkflowRunByIdResponse, GetWorkflowRunExecutionResultResponse, StreamVNextChunkType } from '../types.js';
1
+ import type { TracingOptions } from '@mastra/core/observability';
2
+ import type { RequestContext } from '@mastra/core/request-context';
3
+ import type { ClientOptions, GetWorkflowResponse, ListWorkflowRunsResponse, ListWorkflowRunsParams, WorkflowRunResult, GetWorkflowRunByIdResponse, GetWorkflowRunExecutionResultResponse, StreamVNextChunkType } from '../types.js';
4
4
  import { BaseResource } from './base.js';
5
5
  export declare class Workflow extends BaseResource {
6
6
  private workflowId;
7
7
  constructor(options: ClientOptions, workflowId: string);
8
- /**
9
- * Creates an async generator that processes a readable stream and yields workflow records
10
- * separated by the Record Separator character (\x1E)
11
- *
12
- * @param stream - The readable stream to process
13
- * @returns An async generator that yields parsed records
14
- */
15
- private streamProcessor;
16
8
  /**
17
9
  * Retrieves details about the workflow
18
- * @param runtimeContext - Optional runtime context to pass as query parameter
10
+ * @param requestContext - Optional request context to pass as query parameter
19
11
  * @returns Promise containing workflow details including steps and graphs
20
12
  */
21
- details(runtimeContext?: RuntimeContext | Record<string, any>): Promise<GetWorkflowResponse>;
13
+ details(requestContext?: RequestContext | Record<string, any>): Promise<GetWorkflowResponse>;
22
14
  /**
23
15
  * Retrieves all runs for a workflow
24
16
  * @param params - Parameters for filtering runs
25
- * @param runtimeContext - Optional runtime context to pass as query parameter
17
+ * @param requestContext - Optional request context to pass as query parameter
26
18
  * @returns Promise containing workflow runs array
27
19
  */
28
- runs(params?: GetWorkflowRunsParams, runtimeContext?: RuntimeContext | Record<string, any>): Promise<GetWorkflowRunsResponse>;
20
+ runs(params?: ListWorkflowRunsParams, requestContext?: RequestContext | Record<string, any>): Promise<ListWorkflowRunsResponse>;
29
21
  /**
30
22
  * Retrieves a specific workflow run by its ID
31
23
  * @param runId - The ID of the workflow run to retrieve
32
- * @param runtimeContext - Optional runtime context to pass as query parameter
24
+ * @param requestContext - Optional request context to pass as query parameter
33
25
  * @returns Promise containing the workflow run details
34
26
  */
35
- runById(runId: string, runtimeContext?: RuntimeContext | Record<string, any>): Promise<GetWorkflowRunByIdResponse>;
27
+ runById(runId: string, requestContext?: RequestContext | Record<string, any>): Promise<GetWorkflowRunByIdResponse>;
36
28
  /**
37
29
  * Retrieves the execution result for a specific workflow run by its ID
38
30
  * @param runId - The ID of the workflow run to retrieve the execution result for
39
- * @param runtimeContext - Optional runtime context to pass as query parameter
31
+ * @param requestContext - Optional request context to pass as query parameter
40
32
  * @returns Promise containing the workflow run execution result
41
33
  */
42
- runExecutionResult(runId: string, runtimeContext?: RuntimeContext | Record<string, any>): Promise<GetWorkflowRunExecutionResultResponse>;
34
+ runExecutionResult(runId: string, requestContext?: RequestContext | Record<string, any>): Promise<GetWorkflowRunExecutionResultResponse>;
43
35
  /**
44
36
  * Cancels a specific workflow run by its ID
45
37
  * @param runId - The ID of the workflow run to cancel
@@ -48,147 +40,98 @@ export declare class Workflow extends BaseResource {
48
40
  cancelRun(runId: string): Promise<{
49
41
  message: string;
50
42
  }>;
51
- /**
52
- * Sends an event to a specific workflow run by its ID
53
- * @param params - Object containing the runId, event and data
54
- * @returns Promise containing a success message
55
- */
56
- sendRunEvent(params: {
57
- runId: string;
58
- event: string;
59
- data: unknown;
60
- }): Promise<{
61
- message: string;
62
- }>;
63
- /**
64
- * @deprecated Use createRunAsync() instead.
65
- * @throws {Error} Always throws an error directing users to use createRunAsync()
66
- */
67
- createRun(_params?: {
68
- runId?: string;
69
- }): Promise<{
70
- runId: string;
71
- start: (params: {
72
- inputData: Record<string, any>;
73
- runtimeContext?: RuntimeContext | Record<string, any>;
74
- }) => Promise<{
75
- message: string;
76
- }>;
77
- watch: (onRecord: (record: WorkflowWatchResult) => void) => Promise<void>;
78
- resume: (params: {
79
- step: string | string[];
80
- resumeData?: Record<string, any>;
81
- runtimeContext?: RuntimeContext | Record<string, any>;
82
- }) => Promise<{
83
- message: string;
84
- }>;
85
- stream: (params: {
86
- inputData: Record<string, any>;
87
- runtimeContext?: RuntimeContext | Record<string, any>;
88
- }) => Promise<ReadableStream>;
89
- startAsync: (params: {
90
- inputData: Record<string, any>;
91
- runtimeContext?: RuntimeContext | Record<string, any>;
92
- }) => Promise<WorkflowRunResult>;
93
- resumeAsync: (params: {
94
- step: string | string[];
95
- resumeData?: Record<string, any>;
96
- runtimeContext?: RuntimeContext | Record<string, any>;
97
- }) => Promise<WorkflowRunResult>;
98
- }>;
99
43
  /**
100
44
  * Creates a new workflow run
101
45
  * @param params - Optional object containing the optional runId
102
46
  * @returns Promise containing the runId of the created run with methods to control execution
103
47
  */
104
- createRunAsync(params?: {
48
+ createRun(params?: {
105
49
  runId?: string;
106
50
  }): Promise<{
107
51
  runId: string;
108
52
  start: (params: {
109
53
  inputData: Record<string, any>;
110
- runtimeContext?: RuntimeContext | Record<string, any>;
54
+ requestContext?: RequestContext | Record<string, any>;
111
55
  tracingOptions?: TracingOptions;
112
56
  }) => Promise<{
113
57
  message: string;
114
58
  }>;
115
- watch: (onRecord: (record: WorkflowWatchResult) => void) => Promise<void>;
116
59
  resume: (params: {
117
- step: string | string[];
60
+ step?: string | string[];
118
61
  resumeData?: Record<string, any>;
119
- runtimeContext?: RuntimeContext | Record<string, any>;
62
+ requestContext?: RequestContext | Record<string, any>;
120
63
  tracingOptions?: TracingOptions;
121
64
  }) => Promise<{
122
65
  message: string;
123
66
  }>;
124
67
  stream: (params: {
125
68
  inputData: Record<string, any>;
126
- runtimeContext?: RuntimeContext | Record<string, any>;
69
+ requestContext?: RequestContext | Record<string, any>;
127
70
  }) => Promise<ReadableStream>;
128
71
  startAsync: (params: {
129
72
  inputData: Record<string, any>;
130
- runtimeContext?: RuntimeContext | Record<string, any>;
73
+ requestContext?: RequestContext | Record<string, any>;
131
74
  tracingOptions?: TracingOptions;
132
75
  }) => Promise<WorkflowRunResult>;
133
76
  resumeAsync: (params: {
134
- step: string | string[];
77
+ step?: string | string[];
135
78
  resumeData?: Record<string, any>;
136
- runtimeContext?: RuntimeContext | Record<string, any>;
79
+ requestContext?: RequestContext | Record<string, any>;
137
80
  tracingOptions?: TracingOptions;
138
81
  }) => Promise<WorkflowRunResult>;
139
82
  resumeStreamVNext: (params: {
140
- step: string | string[];
83
+ step?: string | string[];
141
84
  resumeData?: Record<string, any>;
142
- runtimeContext?: RuntimeContext | Record<string, any>;
85
+ requestContext?: RequestContext | Record<string, any>;
143
86
  }) => Promise<ReadableStream>;
144
87
  }>;
145
88
  /**
146
89
  * Starts a workflow run synchronously without waiting for the workflow to complete
147
- * @param params - Object containing the runId, inputData and runtimeContext
90
+ * @param params - Object containing the runId, inputData and requestContext
148
91
  * @returns Promise containing success message
149
92
  */
150
93
  start(params: {
151
94
  runId: string;
152
95
  inputData: Record<string, any>;
153
- runtimeContext?: RuntimeContext | Record<string, any>;
96
+ requestContext?: RequestContext | Record<string, any>;
154
97
  tracingOptions?: TracingOptions;
155
98
  }): Promise<{
156
99
  message: string;
157
100
  }>;
158
101
  /**
159
102
  * Resumes a suspended workflow step synchronously without waiting for the workflow to complete
160
- * @param params - Object containing the runId, step, resumeData and runtimeContext
103
+ * @param params - Object containing the runId, step, resumeData and requestContext
161
104
  * @returns Promise containing success message
162
105
  */
163
106
  resume({ step, runId, resumeData, tracingOptions, ...rest }: {
164
- step: string | string[];
107
+ step?: string | string[];
165
108
  runId: string;
166
109
  resumeData?: Record<string, any>;
167
- runtimeContext?: RuntimeContext | Record<string, any>;
110
+ requestContext?: RequestContext | Record<string, any>;
168
111
  tracingOptions?: TracingOptions;
169
112
  }): Promise<{
170
113
  message: string;
171
114
  }>;
172
115
  /**
173
116
  * Starts a workflow run asynchronously and returns a promise that resolves when the workflow is complete
174
- * @param params - Object containing the optional runId, inputData and runtimeContext
117
+ * @param params - Object containing the optional runId, inputData and requestContext
175
118
  * @returns Promise containing the workflow execution results
176
119
  */
177
120
  startAsync(params: {
178
121
  runId?: string;
179
122
  inputData: Record<string, any>;
180
- runtimeContext?: RuntimeContext | Record<string, any>;
123
+ requestContext?: RequestContext | Record<string, any>;
181
124
  tracingOptions?: TracingOptions;
182
125
  }): Promise<WorkflowRunResult>;
183
126
  /**
184
127
  * Starts a workflow run and returns a stream
185
- * @param params - Object containing the optional runId, inputData and runtimeContext
128
+ * @param params - Object containing the optional runId, inputData and requestContext
186
129
  * @returns Promise containing the workflow execution results
187
130
  */
188
131
  stream(params: {
189
132
  runId?: string;
190
133
  inputData: Record<string, any>;
191
- runtimeContext?: RuntimeContext | Record<string, any>;
134
+ requestContext?: RequestContext | Record<string, any>;
192
135
  tracingOptions?: TracingOptions;
193
136
  }): Promise<import("stream/web").ReadableStream<{
194
137
  type: string;
@@ -207,13 +150,13 @@ export declare class Workflow extends BaseResource {
207
150
  }>>;
208
151
  /**
209
152
  * Starts a workflow run and returns a stream
210
- * @param params - Object containing the optional runId, inputData and runtimeContext
153
+ * @param params - Object containing the optional runId, inputData and requestContext
211
154
  * @returns Promise containing the workflow execution results
212
155
  */
213
156
  streamVNext(params: {
214
157
  runId?: string;
215
158
  inputData?: Record<string, any>;
216
- runtimeContext?: RuntimeContext;
159
+ requestContext?: RequestContext;
217
160
  closeOnSuspend?: boolean;
218
161
  tracingOptions?: TracingOptions;
219
162
  }): Promise<import("stream/web").ReadableStream<StreamVNextChunkType>>;
@@ -227,36 +170,28 @@ export declare class Workflow extends BaseResource {
227
170
  }): Promise<import("stream/web").ReadableStream<StreamVNextChunkType>>;
228
171
  /**
229
172
  * Resumes a suspended workflow step asynchronously and returns a promise that resolves when the workflow is complete
230
- * @param params - Object containing the runId, step, resumeData and runtimeContext
173
+ * @param params - Object containing the runId, step, resumeData and requestContext
231
174
  * @returns Promise containing the workflow resume results
232
175
  */
233
176
  resumeAsync(params: {
234
177
  runId: string;
235
- step: string | string[];
178
+ step?: string | string[];
236
179
  resumeData?: Record<string, any>;
237
- runtimeContext?: RuntimeContext | Record<string, any>;
180
+ requestContext?: RequestContext | Record<string, any>;
238
181
  tracingOptions?: TracingOptions;
239
182
  }): Promise<WorkflowRunResult>;
240
183
  /**
241
184
  * Resumes a suspended workflow step that uses streamVNext asynchronously and returns a promise that resolves when the workflow is complete
242
- * @param params - Object containing the runId, step, resumeData and runtimeContext
185
+ * @param params - Object containing the runId, step, resumeData and requestContext
243
186
  * @returns Promise containing the workflow resume results
244
187
  */
245
188
  resumeStreamVNext(params: {
246
189
  runId: string;
247
- step: string | string[];
190
+ step?: string | string[];
248
191
  resumeData?: Record<string, any>;
249
- runtimeContext?: RuntimeContext | Record<string, any>;
192
+ requestContext?: RequestContext | Record<string, any>;
250
193
  tracingOptions?: TracingOptions;
251
194
  }): Promise<ReadableStream>;
252
- /**
253
- * Watches workflow transitions in real-time
254
- * @param runId - Optional run ID to filter the watch stream
255
- * @returns AsyncGenerator that yields parsed records from the workflow watch stream
256
- */
257
- watch({ runId }: {
258
- runId?: string;
259
- }, onRecord: (record: WorkflowWatchResult) => void): Promise<void>;
260
195
  /**
261
196
  * Creates a new ReadableStream from an iterable or async iterable of objects,
262
197
  * serializing each as JSON and separating them with the record separator (\x1E).
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/resources/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,i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