@mastra/client-js 1.0.0-beta.8 → 1.0.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.
- package/CHANGELOG.md +1647 -0
- package/README.md +1 -3
- package/dist/_types/@ai-sdk_ui-utils/dist/index.d.ts +820 -0
- package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +8511 -0
- package/dist/client.d.ts +74 -11
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/README.md +33 -0
- package/dist/docs/SKILL.md +34 -0
- package/dist/docs/SOURCE_MAP.json +6 -0
- package/dist/docs/ai-sdk/01-reference.md +358 -0
- package/dist/docs/client-js/01-reference.md +1180 -0
- package/dist/docs/server/01-mastra-client.md +256 -0
- package/dist/docs/server/02-jwt.md +99 -0
- package/dist/docs/server/03-clerk.md +143 -0
- package/dist/docs/server/04-supabase.md +128 -0
- package/dist/docs/server/05-firebase.md +286 -0
- package/dist/docs/server/06-workos.md +201 -0
- package/dist/docs/server/07-auth0.md +233 -0
- package/dist/index.cjs +1839 -664
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1837 -662
- package/dist/index.js.map +1 -1
- package/dist/resources/agent-builder.d.ts +10 -26
- package/dist/resources/agent-builder.d.ts.map +1 -1
- package/dist/resources/agent.d.ts +43 -8
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/index.d.ts +2 -0
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/memory-thread.d.ts +18 -3
- package/dist/resources/memory-thread.d.ts.map +1 -1
- package/dist/resources/observability.d.ts +58 -15
- package/dist/resources/observability.d.ts.map +1 -1
- package/dist/resources/processor.d.ts +20 -0
- package/dist/resources/processor.d.ts.map +1 -0
- package/dist/resources/run.d.ts +210 -0
- package/dist/resources/run.d.ts.map +1 -0
- package/dist/resources/stored-agent.d.ts +26 -0
- package/dist/resources/stored-agent.d.ts.map +1 -0
- package/dist/resources/workflow.d.ts +19 -224
- package/dist/resources/workflow.d.ts.map +1 -1
- package/dist/tools.d.ts +2 -2
- package/dist/tools.d.ts.map +1 -1
- package/dist/types.d.ts +240 -37
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +13 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stored-agent.d.ts","sourceRoot":"","sources":["../../src/resources/stored-agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAEvH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC;;GAEG;AACH,qBAAa,WAAY,SAAQ,YAAY;IAGzC,OAAO,CAAC,aAAa;gBADrB,OAAO,EAAE,aAAa,EACd,aAAa,EAAE,MAAM;IAK/B;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAIvC;;;;OAIG;IACH,MAAM,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAOrE;;;OAGG;IACH,MAAM,IAAI,OAAO,CAAC,yBAAyB,CAAC;CAK7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { TracingOptions } from '@mastra/core/observability';
|
|
2
1
|
import type { RequestContext } from '@mastra/core/request-context';
|
|
3
|
-
import type { ClientOptions, GetWorkflowResponse, ListWorkflowRunsResponse, ListWorkflowRunsParams,
|
|
2
|
+
import type { ClientOptions, GetWorkflowResponse, ListWorkflowRunsResponse, ListWorkflowRunsParams, GetWorkflowRunByIdResponse } from '../types.js';
|
|
4
3
|
import { BaseResource } from './base.js';
|
|
4
|
+
import { Run } from './run.js';
|
|
5
5
|
export declare class Workflow extends BaseResource {
|
|
6
6
|
private workflowId;
|
|
7
7
|
constructor(options: ClientOptions, workflowId: string);
|
|
@@ -21,184 +21,35 @@ export declare class Workflow extends BaseResource {
|
|
|
21
21
|
/**
|
|
22
22
|
* Retrieves a specific workflow run by its ID
|
|
23
23
|
* @param runId - The ID of the workflow run to retrieve
|
|
24
|
-
* @param
|
|
25
|
-
* @
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
* Retrieves the execution result for a specific workflow run by its ID
|
|
30
|
-
* @param runId - The ID of the workflow run to retrieve the execution result for
|
|
31
|
-
* @param requestContext - Optional request context to pass as query parameter
|
|
32
|
-
* @returns Promise containing the workflow run execution result
|
|
24
|
+
* @param options - Optional configuration
|
|
25
|
+
* @param options.requestContext - Optional request context to pass as query parameter
|
|
26
|
+
* @param options.fields - Optional array of fields to return (e.g., ['result', 'steps']). Available fields: result, error, payload, steps, activeStepsPath, serializedStepGraph. Metadata fields (runId, workflowName, resourceId, createdAt, updatedAt) and status are always included.
|
|
27
|
+
* @param options.withNestedWorkflows - Whether to include nested workflow data in steps. Defaults to true. Set to false for better performance when you don't need nested workflow details.
|
|
28
|
+
* @returns Promise containing the workflow run details with metadata and processed execution state
|
|
33
29
|
*/
|
|
34
|
-
|
|
30
|
+
runById(runId: string, options?: {
|
|
31
|
+
requestContext?: RequestContext | Record<string, any>;
|
|
32
|
+
fields?: string[];
|
|
33
|
+
withNestedWorkflows?: boolean;
|
|
34
|
+
}): Promise<GetWorkflowRunByIdResponse>;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @param runId - The ID of the workflow run to
|
|
36
|
+
* Deletes a specific workflow run by its ID
|
|
37
|
+
* @param runId - The ID of the workflow run to delete
|
|
38
38
|
* @returns Promise containing a success message
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
deleteRunById(runId: string): Promise<{
|
|
41
41
|
message: string;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
44
44
|
* Creates a new workflow run
|
|
45
45
|
* @param params - Optional object containing the optional runId
|
|
46
|
-
* @returns Promise containing the
|
|
46
|
+
* @returns Promise containing the Run instance
|
|
47
47
|
*/
|
|
48
48
|
createRun(params?: {
|
|
49
49
|
runId?: string;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
inputData: Record<string, any>;
|
|
54
|
-
initialState?: Record<string, any>;
|
|
55
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
56
|
-
tracingOptions?: TracingOptions;
|
|
57
|
-
}) => Promise<{
|
|
58
|
-
message: string;
|
|
59
|
-
}>;
|
|
60
|
-
resume: (params: {
|
|
61
|
-
step?: string | string[];
|
|
62
|
-
resumeData?: Record<string, any>;
|
|
63
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
64
|
-
tracingOptions?: TracingOptions;
|
|
65
|
-
}) => Promise<{
|
|
66
|
-
message: string;
|
|
67
|
-
}>;
|
|
68
|
-
stream: (params: {
|
|
69
|
-
inputData: Record<string, any>;
|
|
70
|
-
initialState?: Record<string, any>;
|
|
71
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
72
|
-
}) => Promise<ReadableStream>;
|
|
73
|
-
startAsync: (params: {
|
|
74
|
-
inputData: Record<string, any>;
|
|
75
|
-
initialState?: Record<string, any>;
|
|
76
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
77
|
-
tracingOptions?: TracingOptions;
|
|
78
|
-
}) => Promise<WorkflowRunResult>;
|
|
79
|
-
resumeAsync: (params: {
|
|
80
|
-
step?: string | string[];
|
|
81
|
-
resumeData?: Record<string, any>;
|
|
82
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
83
|
-
tracingOptions?: TracingOptions;
|
|
84
|
-
}) => Promise<WorkflowRunResult>;
|
|
85
|
-
resumeStreamVNext: (params: {
|
|
86
|
-
step?: string | string[];
|
|
87
|
-
resumeData?: Record<string, any>;
|
|
88
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
89
|
-
}) => Promise<ReadableStream<StreamVNextChunkType>>;
|
|
90
|
-
}>;
|
|
91
|
-
/**
|
|
92
|
-
* Starts a workflow run synchronously without waiting for the workflow to complete
|
|
93
|
-
* @param params - Object containing the runId, inputData, initialState and requestContext
|
|
94
|
-
* @returns Promise containing success message
|
|
95
|
-
*/
|
|
96
|
-
start(params: {
|
|
97
|
-
runId: string;
|
|
98
|
-
inputData: Record<string, any>;
|
|
99
|
-
initialState?: Record<string, any>;
|
|
100
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
101
|
-
tracingOptions?: TracingOptions;
|
|
102
|
-
}): Promise<{
|
|
103
|
-
message: string;
|
|
104
|
-
}>;
|
|
105
|
-
/**
|
|
106
|
-
* Resumes a suspended workflow step synchronously without waiting for the workflow to complete
|
|
107
|
-
* @param params - Object containing the runId, step, resumeData and requestContext
|
|
108
|
-
* @returns Promise containing success message
|
|
109
|
-
*/
|
|
110
|
-
resume({ step, runId, resumeData, tracingOptions, ...rest }: {
|
|
111
|
-
step?: string | string[];
|
|
112
|
-
runId: string;
|
|
113
|
-
resumeData?: Record<string, any>;
|
|
114
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
115
|
-
tracingOptions?: TracingOptions;
|
|
116
|
-
}): Promise<{
|
|
117
|
-
message: string;
|
|
118
|
-
}>;
|
|
119
|
-
/**
|
|
120
|
-
* Starts a workflow run asynchronously and returns a promise that resolves when the workflow is complete
|
|
121
|
-
* @param params - Object containing the optional runId, inputData, initialState and requestContext
|
|
122
|
-
* @returns Promise containing the workflow execution results
|
|
123
|
-
*/
|
|
124
|
-
startAsync(params: {
|
|
125
|
-
runId?: string;
|
|
126
|
-
inputData: Record<string, any>;
|
|
127
|
-
initialState?: Record<string, any>;
|
|
128
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
129
|
-
tracingOptions?: TracingOptions;
|
|
130
|
-
}): Promise<WorkflowRunResult>;
|
|
131
|
-
/**
|
|
132
|
-
* Starts a workflow run and returns a stream
|
|
133
|
-
* @param params - Object containing the optional runId, inputData, initialState and requestContext
|
|
134
|
-
* @returns Promise containing the workflow execution results
|
|
135
|
-
*/
|
|
136
|
-
stream(params: {
|
|
137
|
-
runId?: string;
|
|
138
|
-
inputData: Record<string, any>;
|
|
139
|
-
initialState?: Record<string, any>;
|
|
140
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
141
|
-
tracingOptions?: TracingOptions;
|
|
142
|
-
}): Promise<import("stream/web").ReadableStream<{
|
|
143
|
-
type: string;
|
|
144
|
-
payload: any;
|
|
145
|
-
}>>;
|
|
146
|
-
/**
|
|
147
|
-
* Observes workflow stream for a workflow run
|
|
148
|
-
* @param params - Object containing the runId
|
|
149
|
-
* @returns Promise containing the workflow execution results
|
|
150
|
-
*/
|
|
151
|
-
observeStream(params: {
|
|
152
|
-
runId: string;
|
|
153
|
-
}): Promise<import("stream/web").ReadableStream<{
|
|
154
|
-
type: string;
|
|
155
|
-
payload: any;
|
|
156
|
-
}>>;
|
|
157
|
-
/**
|
|
158
|
-
* Starts a workflow run and returns a stream
|
|
159
|
-
* @param params - Object containing the optional runId, inputData, initialState and requestContext
|
|
160
|
-
* @returns Promise containing the workflow execution results
|
|
161
|
-
*/
|
|
162
|
-
streamVNext(params: {
|
|
163
|
-
runId?: string;
|
|
164
|
-
inputData?: Record<string, any>;
|
|
165
|
-
initialState?: Record<string, any>;
|
|
166
|
-
requestContext?: RequestContext;
|
|
167
|
-
closeOnSuspend?: boolean;
|
|
168
|
-
tracingOptions?: TracingOptions;
|
|
169
|
-
}): Promise<import("stream/web").ReadableStream<StreamVNextChunkType>>;
|
|
170
|
-
/**
|
|
171
|
-
* Observes workflow vNext stream for a workflow run
|
|
172
|
-
* @param params - Object containing the runId
|
|
173
|
-
* @returns Promise containing the workflow execution results
|
|
174
|
-
*/
|
|
175
|
-
observeStreamVNext(params: {
|
|
176
|
-
runId: string;
|
|
177
|
-
}): Promise<import("stream/web").ReadableStream<StreamVNextChunkType>>;
|
|
178
|
-
/**
|
|
179
|
-
* Resumes a suspended workflow step asynchronously and returns a promise that resolves when the workflow is complete
|
|
180
|
-
* @param params - Object containing the runId, step, resumeData and requestContext
|
|
181
|
-
* @returns Promise containing the workflow resume results
|
|
182
|
-
*/
|
|
183
|
-
resumeAsync(params: {
|
|
184
|
-
runId: string;
|
|
185
|
-
step?: string | string[];
|
|
186
|
-
resumeData?: Record<string, any>;
|
|
187
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
188
|
-
tracingOptions?: TracingOptions;
|
|
189
|
-
}): Promise<WorkflowRunResult>;
|
|
190
|
-
/**
|
|
191
|
-
* Resumes a suspended workflow step that uses streamVNext asynchronously and returns a promise that resolves when the workflow is complete
|
|
192
|
-
* @param params - Object containing the runId, step, resumeData and requestContext
|
|
193
|
-
* @returns Promise containing the workflow resume results
|
|
194
|
-
*/
|
|
195
|
-
resumeStreamVNext(params: {
|
|
196
|
-
runId: string;
|
|
197
|
-
step?: string | string[];
|
|
198
|
-
resumeData?: Record<string, any>;
|
|
199
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
200
|
-
tracingOptions?: TracingOptions;
|
|
201
|
-
}): Promise<import("stream/web").ReadableStream<StreamVNextChunkType>>;
|
|
50
|
+
resourceId?: string;
|
|
51
|
+
disableScorers?: boolean;
|
|
52
|
+
}): Promise<Run>;
|
|
202
53
|
/**
|
|
203
54
|
* Creates a new ReadableStream from an iterable or async iterable of objects,
|
|
204
55
|
* serializing each as JSON and separating them with the record separator (\x1E).
|
|
@@ -207,61 +58,5 @@ export declare class Workflow extends BaseResource {
|
|
|
207
58
|
* @returns A ReadableStream emitting the records as JSON strings separated by the record separator
|
|
208
59
|
*/
|
|
209
60
|
static createRecordStream(records: Iterable<any> | AsyncIterable<any>): ReadableStream;
|
|
210
|
-
/**
|
|
211
|
-
* Restarts an active workflow run synchronously without waiting for the workflow to complete
|
|
212
|
-
* @param params - Object containing the runId and requestContext
|
|
213
|
-
* @returns Promise containing success message
|
|
214
|
-
*/
|
|
215
|
-
restart(params: {
|
|
216
|
-
runId: string;
|
|
217
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
218
|
-
tracingOptions?: TracingOptions;
|
|
219
|
-
}): Promise<{
|
|
220
|
-
message: string;
|
|
221
|
-
}>;
|
|
222
|
-
/**
|
|
223
|
-
* Restarts an active workflow run asynchronously
|
|
224
|
-
* @param params - Object containing the runId and requestContext
|
|
225
|
-
* @returns Promise containing the workflow restart results
|
|
226
|
-
*/
|
|
227
|
-
restartAsync(params: {
|
|
228
|
-
runId: string;
|
|
229
|
-
requestContext?: RequestContext | Record<string, any>;
|
|
230
|
-
tracingOptions?: TracingOptions;
|
|
231
|
-
}): Promise<WorkflowRunResult>;
|
|
232
|
-
/**
|
|
233
|
-
* Restart all active workflow runs synchronously without waiting for the workflow to complete
|
|
234
|
-
* @returns Promise containing success message
|
|
235
|
-
*/
|
|
236
|
-
restartAllActiveWorkflowRuns(): Promise<{
|
|
237
|
-
message: string;
|
|
238
|
-
}>;
|
|
239
|
-
/**
|
|
240
|
-
* Restart all active workflow runs asynchronously
|
|
241
|
-
* @returns Promise containing success message
|
|
242
|
-
*/
|
|
243
|
-
restartAllActiveWorkflowRunsAsync(): Promise<{
|
|
244
|
-
message: string;
|
|
245
|
-
}>;
|
|
246
|
-
/**
|
|
247
|
-
* Time travels a workflow run synchronously without waiting for the workflow to complete
|
|
248
|
-
* @param params - Object containing the runId, step, inputData, resumeData, initialState, context, nestedStepsContext, requestContext and tracingOptions
|
|
249
|
-
* @returns Promise containing success message
|
|
250
|
-
*/
|
|
251
|
-
timeTravel({ runId, requestContext: paramsRequestContext, ...params }: TimeTravelParams): Promise<{
|
|
252
|
-
message: string;
|
|
253
|
-
}>;
|
|
254
|
-
/**
|
|
255
|
-
* Time travels a workflow run asynchronously
|
|
256
|
-
* @param params - Object containing the runId, step, inputData, resumeData, initialState, context, nestedStepsContext, requestContext and tracingOptions
|
|
257
|
-
* @returns Promise containing the workflow time travel results
|
|
258
|
-
*/
|
|
259
|
-
timeTravelAsync({ runId, requestContext: paramsRequestContext, ...params }: TimeTravelParams): Promise<WorkflowRunResult>;
|
|
260
|
-
/**
|
|
261
|
-
* Time travels a workflow run and returns a stream
|
|
262
|
-
* @param params - Object containing the runId, step, inputData, resumeData, initialState, context, nestedStepsContext, requestContext and tracingOptions
|
|
263
|
-
* @returns Promise containing the workflow execution results
|
|
264
|
-
*/
|
|
265
|
-
timeTravelStream({ runId, requestContext: paramsRequestContext, ...params }: TimeTravelParams): Promise<import("stream/web").ReadableStream<StreamVNextChunkType>>;
|
|
266
61
|
}
|
|
267
62
|
//# sourceMappingURL=workflow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/resources/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/resources/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI5B,qBAAa,QAAS,SAAQ,YAAY;IAGtC,OAAO,CAAC,UAAU;gBADlB,OAAO,EAAE,aAAa,EACd,UAAU,EAAE,MAAM;IAK5B;;;;OAIG;IACH,OAAO,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAI5F;;;;;OAKG;IACH,IAAI,CACF,MAAM,CAAC,EAAE,sBAAsB,EAC/B,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACpD,OAAO,CAAC,wBAAwB,CAAC;IA4CpC;;;;;;;;OAQG;IACH,OAAO,CACL,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QACR,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACtD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;KAC/B,GACA,OAAO,CAAC,0BAA0B,CAAC;IAoBtC;;;;OAIG;IACH,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAM1D;;;;OAIG;IACG,SAAS,CAAC,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE;IAuB1F;;;;;;OAMG;IACH,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,cAAc;CAgBvF"}
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ToolCallOptions } from './_types/@internal_ai-sdk-v5/dist/index.js';
|
|
2
2
|
import type { z } from 'zod';
|
|
3
3
|
export interface ClientToolExecutionContext<TSchemaIn extends z.ZodSchema | undefined = undefined> {
|
|
4
4
|
context: TSchemaIn extends z.ZodSchema ? z.infer<TSchemaIn> : unknown;
|
|
@@ -8,7 +8,7 @@ export interface ClientToolAction<TSchemaIn extends z.ZodSchema | undefined = un
|
|
|
8
8
|
description: string;
|
|
9
9
|
inputSchema?: TSchemaIn;
|
|
10
10
|
outputSchema?: TSchemaOut;
|
|
11
|
-
execute?: (context: ClientToolExecutionContext<TSchemaIn>, options?:
|
|
11
|
+
execute?: (context: ClientToolExecutionContext<TSchemaIn>, options?: ToolCallOptions) => Promise<TSchemaOut extends z.ZodSchema ? z.infer<TSchemaOut> : unknown>;
|
|
12
12
|
}
|
|
13
13
|
export declare class ClientTool<TSchemaIn extends z.ZodSchema | undefined = undefined, TSchemaOut extends z.ZodSchema | undefined = undefined> implements ClientToolAction<TSchemaIn, TSchemaOut> {
|
|
14
14
|
id: string;
|
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,MAAM,WAAW,0BAA0B,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS;IAC/F,OAAO,EAAE,SAAS,SAAS,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;CACvE;AAGD,MAAM,WAAW,gBAAgB,CAC/B,SAAS,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS,EACrD,UAAU,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS;IAEtD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,OAAO,CAAC,EAAE,CACR,OAAO,EAAE,0BAA0B,CAAC,SAAS,CAAC,EAC9C,OAAO,CAAC,EAAE,eAAe,KACtB,OAAO,CAAC,UAAU,SAAS,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,CAAC;CAC9E;AAGD,qBAAa,UAAU,CACrB,SAAS,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS,EACrD,UAAU,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS,CACtD,YAAW,gBAAgB,CAAC,SAAS,EAAE,UAAU,CAAC;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC;gBAEjD,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAAE,UAAU,CAAC;CAO1D;AAGD,wBAAgB,UAAU,CACxB,SAAS,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS,EACrD,UAAU,SAAS,CAAC,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS,EACtD,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,UAAU,CAAC,SAAS,EAAE,UAAU,CAAC,CAElF"}
|