@mastra/client-js 1.54.0-alpha.1 → 1.54.0-alpha.2
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/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-client-js
|
|
|
3
3
|
description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/client-js"
|
|
6
|
-
version: "1.54.0-alpha.
|
|
6
|
+
version: "1.54.0-alpha.2"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -10,7 +10,13 @@ export type Simplify<T> = {
|
|
|
10
10
|
type InputShared_Auxiliary_21 = string | number | boolean | null | InputShared_Auxiliary_21[] | {
|
|
11
11
|
[key: string]: InputShared_Auxiliary_21;
|
|
12
12
|
};
|
|
13
|
-
type
|
|
13
|
+
type InputShared_Auxiliary_115 = {
|
|
14
|
+
workflowId: string;
|
|
15
|
+
runId: string;
|
|
16
|
+
executionPath: number[];
|
|
17
|
+
parentWorkflow?: InputShared_Auxiliary_115 | undefined;
|
|
18
|
+
};
|
|
19
|
+
type InputShared_Auxiliary_207 = {
|
|
14
20
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
15
21
|
left: {
|
|
16
22
|
path: string;
|
|
@@ -47,30 +53,30 @@ type InputShared_Auxiliary_205 = {
|
|
|
47
53
|
};
|
|
48
54
|
} | {
|
|
49
55
|
op: 'and' | 'or';
|
|
50
|
-
args:
|
|
56
|
+
args: InputShared_Auxiliary_207[];
|
|
51
57
|
} | {
|
|
52
58
|
op: 'not';
|
|
53
|
-
arg:
|
|
59
|
+
arg: InputShared_Auxiliary_207;
|
|
54
60
|
} | {
|
|
55
61
|
spans: {
|
|
56
|
-
some:
|
|
62
|
+
some: InputShared_Auxiliary_230;
|
|
57
63
|
} | {
|
|
58
|
-
none:
|
|
64
|
+
none: InputShared_Auxiliary_230;
|
|
59
65
|
};
|
|
60
66
|
} | {
|
|
61
67
|
scores: {
|
|
62
|
-
some:
|
|
68
|
+
some: InputShared_Auxiliary_230;
|
|
63
69
|
} | {
|
|
64
|
-
none:
|
|
70
|
+
none: InputShared_Auxiliary_230;
|
|
65
71
|
};
|
|
66
72
|
} | {
|
|
67
73
|
feedback: {
|
|
68
|
-
some:
|
|
74
|
+
some: InputShared_Auxiliary_230;
|
|
69
75
|
} | {
|
|
70
|
-
none:
|
|
76
|
+
none: InputShared_Auxiliary_230;
|
|
71
77
|
};
|
|
72
78
|
};
|
|
73
|
-
type
|
|
79
|
+
type InputShared_Auxiliary_230 = {
|
|
74
80
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
75
81
|
left: {
|
|
76
82
|
path: string;
|
|
@@ -107,25 +113,25 @@ type InputShared_Auxiliary_228 = {
|
|
|
107
113
|
};
|
|
108
114
|
} | {
|
|
109
115
|
op: 'and' | 'or';
|
|
110
|
-
args:
|
|
116
|
+
args: InputShared_Auxiliary_230[];
|
|
111
117
|
} | {
|
|
112
118
|
op: 'not';
|
|
113
|
-
arg:
|
|
119
|
+
arg: InputShared_Auxiliary_230;
|
|
114
120
|
};
|
|
115
|
-
type
|
|
121
|
+
type InputShared_Auxiliary_264 = {
|
|
116
122
|
op: 'and' | 'or';
|
|
117
|
-
args:
|
|
123
|
+
args: InputShared_Auxiliary_264[];
|
|
118
124
|
} | {
|
|
119
125
|
op: 'not';
|
|
120
|
-
arg:
|
|
126
|
+
arg: InputShared_Auxiliary_264;
|
|
121
127
|
} | {
|
|
122
128
|
traces: {
|
|
123
|
-
some:
|
|
129
|
+
some: InputShared_Auxiliary_207;
|
|
124
130
|
} | {
|
|
125
|
-
none:
|
|
131
|
+
none: InputShared_Auxiliary_207;
|
|
126
132
|
};
|
|
127
133
|
};
|
|
128
|
-
type
|
|
134
|
+
type InputShared_Auxiliary_692 = {
|
|
129
135
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
130
136
|
left: {
|
|
131
137
|
path: string;
|
|
@@ -157,17 +163,17 @@ type InputShared_Auxiliary_690 = {
|
|
|
157
163
|
};
|
|
158
164
|
} | {
|
|
159
165
|
op: 'and' | 'or';
|
|
160
|
-
args:
|
|
166
|
+
args: InputShared_Auxiliary_692[];
|
|
161
167
|
} | {
|
|
162
168
|
op: 'not';
|
|
163
|
-
arg:
|
|
169
|
+
arg: InputShared_Auxiliary_692;
|
|
164
170
|
};
|
|
165
|
-
type
|
|
171
|
+
type InputShared_Auxiliary_766 = {
|
|
166
172
|
id?: string | undefined;
|
|
167
173
|
name: string;
|
|
168
174
|
type: 'file' | 'folder';
|
|
169
175
|
content?: string | undefined;
|
|
170
|
-
children?:
|
|
176
|
+
children?: InputShared_Auxiliary_766[] | undefined;
|
|
171
177
|
};
|
|
172
178
|
type Shared_Auxiliary_764 = {
|
|
173
179
|
id?: string | undefined;
|
|
@@ -1324,7 +1330,7 @@ type InputShared_Type_88 = {
|
|
|
1324
1330
|
[key: string]: unknown;
|
|
1325
1331
|
} | undefined;
|
|
1326
1332
|
steps: InputShared_Type_83[];
|
|
1327
|
-
predicates:
|
|
1333
|
+
predicates: InputShared_Auxiliary_692[];
|
|
1328
1334
|
};
|
|
1329
1335
|
type InputShared_Type_89 = {
|
|
1330
1336
|
type: 'loop';
|
|
@@ -1335,7 +1341,7 @@ type InputShared_Type_89 = {
|
|
|
1335
1341
|
} | undefined;
|
|
1336
1342
|
step: InputShared_Type_83;
|
|
1337
1343
|
loopType: 'dowhile' | 'dountil';
|
|
1338
|
-
predicate:
|
|
1344
|
+
predicate: InputShared_Auxiliary_692;
|
|
1339
1345
|
};
|
|
1340
1346
|
type InputShared_Type_90 = InputShared_Type_80 | InputShared_Type_81 | InputShared_Type_82 | {
|
|
1341
1347
|
type: 'workflow';
|
|
@@ -5982,6 +5988,7 @@ export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams = GetWorkflo
|
|
|
5982
5988
|
export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body = {
|
|
5983
5989
|
stepId: string;
|
|
5984
5990
|
executionPath: number[];
|
|
5991
|
+
parentWorkflow?: InputShared_Auxiliary_115 | undefined;
|
|
5985
5992
|
stepResults: {
|
|
5986
5993
|
[key: string]: unknown;
|
|
5987
5994
|
};
|
|
@@ -7980,7 +7987,7 @@ export type PostObservabilityTracesQuery_Body = {
|
|
|
7980
7987
|
from: string;
|
|
7981
7988
|
to: string;
|
|
7982
7989
|
};
|
|
7983
|
-
where?:
|
|
7990
|
+
where?: InputShared_Auxiliary_207 | undefined;
|
|
7984
7991
|
group?: {
|
|
7985
7992
|
by: ['threadId'];
|
|
7986
7993
|
} | undefined;
|
|
@@ -8053,11 +8060,11 @@ export type PostObservabilityTracesAggregate_Body = {
|
|
|
8053
8060
|
from: string;
|
|
8054
8061
|
to: string;
|
|
8055
8062
|
};
|
|
8056
|
-
where?:
|
|
8063
|
+
where?: InputShared_Auxiliary_207 | undefined;
|
|
8057
8064
|
groupBy?: string[];
|
|
8058
8065
|
interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
|
|
8059
8066
|
measures: (('count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg') | `countDistinct.${string}`)[];
|
|
8060
|
-
having?:
|
|
8067
|
+
having?: InputShared_Auxiliary_230 | undefined;
|
|
8061
8068
|
orderBy?: {
|
|
8062
8069
|
field: string;
|
|
8063
8070
|
direction: 'asc' | 'desc';
|
|
@@ -8105,9 +8112,9 @@ export type PostObservabilityThreadsQuery_Body = {
|
|
|
8105
8112
|
from: string;
|
|
8106
8113
|
to: string;
|
|
8107
8114
|
};
|
|
8108
|
-
where?:
|
|
8115
|
+
where?: InputShared_Auxiliary_207 | undefined;
|
|
8109
8116
|
};
|
|
8110
|
-
where?:
|
|
8117
|
+
where?: InputShared_Auxiliary_264 | undefined;
|
|
8111
8118
|
page?: {
|
|
8112
8119
|
limit?: number;
|
|
8113
8120
|
after?: (string | null) | undefined;
|
|
@@ -8145,7 +8152,7 @@ export type PostObservabilitySpansQuery_Body = {
|
|
|
8145
8152
|
from: string;
|
|
8146
8153
|
to: string;
|
|
8147
8154
|
};
|
|
8148
|
-
where?:
|
|
8155
|
+
where?: InputShared_Auxiliary_230 | undefined;
|
|
8149
8156
|
orderBy?: {
|
|
8150
8157
|
field: 'startedAt' | 'endedAt';
|
|
8151
8158
|
direction: 'asc' | 'desc';
|
|
@@ -14473,7 +14480,7 @@ export type PostStoredSkills_Body = {
|
|
|
14473
14480
|
/** List of asset file paths */
|
|
14474
14481
|
assets?: string[] | undefined;
|
|
14475
14482
|
/** Full file tree structure for the skill */
|
|
14476
|
-
files?:
|
|
14483
|
+
files?: InputShared_Auxiliary_766[] | undefined;
|
|
14477
14484
|
/** Additional metadata for the skill */
|
|
14478
14485
|
metadata?: {
|
|
14479
14486
|
[key: string]: unknown;
|
|
@@ -14523,7 +14530,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
14523
14530
|
/** List of asset file paths */
|
|
14524
14531
|
assets?: (string[] | undefined) | undefined;
|
|
14525
14532
|
/** Full file tree structure for the skill */
|
|
14526
|
-
files?: (
|
|
14533
|
+
files?: (InputShared_Auxiliary_766[] | undefined) | undefined;
|
|
14527
14534
|
/** Additional metadata for the skill */
|
|
14528
14535
|
metadata?: ({
|
|
14529
14536
|
[key: string]: unknown;
|
|
@@ -18312,6 +18319,7 @@ export type PostAgentControllerControllerIdSessionsResourceIdToolSuspension_Path
|
|
|
18312
18319
|
export type PostAgentControllerControllerIdSessionsResourceIdToolSuspension_QueryParams = PostAgentControllerControllerIdSessionsResourceIdThreads_QueryParams;
|
|
18313
18320
|
export type PostAgentControllerControllerIdSessionsResourceIdToolSuspension_Body = {
|
|
18314
18321
|
toolCallId: string;
|
|
18322
|
+
runId?: string | undefined;
|
|
18315
18323
|
resumeData: unknown;
|
|
18316
18324
|
requestContext?: {
|
|
18317
18325
|
[key: string]: unknown;
|