@mastra/client-js 1.50.0 → 1.51.0-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.
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-client-js-agents.md +2 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/route-types.generated.d.ts +33 -29
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +10 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -10,7 +10,7 @@ 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_204 = {
|
|
14
14
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
15
15
|
left: {
|
|
16
16
|
path: string;
|
|
@@ -39,30 +39,30 @@ type InputShared_Auxiliary_203 = {
|
|
|
39
39
|
value: string;
|
|
40
40
|
} | {
|
|
41
41
|
op: 'and' | 'or';
|
|
42
|
-
args:
|
|
42
|
+
args: InputShared_Auxiliary_204[];
|
|
43
43
|
} | {
|
|
44
44
|
op: 'not';
|
|
45
|
-
arg:
|
|
45
|
+
arg: InputShared_Auxiliary_204;
|
|
46
46
|
} | {
|
|
47
47
|
spans: {
|
|
48
|
-
some:
|
|
48
|
+
some: InputShared_Auxiliary_223;
|
|
49
49
|
} | {
|
|
50
|
-
none:
|
|
50
|
+
none: InputShared_Auxiliary_223;
|
|
51
51
|
};
|
|
52
52
|
} | {
|
|
53
53
|
scores: {
|
|
54
|
-
some:
|
|
54
|
+
some: InputShared_Auxiliary_223;
|
|
55
55
|
} | {
|
|
56
|
-
none:
|
|
56
|
+
none: InputShared_Auxiliary_223;
|
|
57
57
|
};
|
|
58
58
|
} | {
|
|
59
59
|
feedback: {
|
|
60
|
-
some:
|
|
60
|
+
some: InputShared_Auxiliary_223;
|
|
61
61
|
} | {
|
|
62
|
-
none:
|
|
62
|
+
none: InputShared_Auxiliary_223;
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
|
-
type
|
|
65
|
+
type InputShared_Auxiliary_223 = {
|
|
66
66
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
67
67
|
left: {
|
|
68
68
|
path: string;
|
|
@@ -91,25 +91,25 @@ type InputShared_Auxiliary_222 = {
|
|
|
91
91
|
value: string;
|
|
92
92
|
} | {
|
|
93
93
|
op: 'and' | 'or';
|
|
94
|
-
args:
|
|
94
|
+
args: InputShared_Auxiliary_223[];
|
|
95
95
|
} | {
|
|
96
96
|
op: 'not';
|
|
97
|
-
arg:
|
|
97
|
+
arg: InputShared_Auxiliary_223;
|
|
98
98
|
};
|
|
99
|
-
type
|
|
99
|
+
type InputShared_Auxiliary_251 = {
|
|
100
100
|
op: 'and' | 'or';
|
|
101
|
-
args:
|
|
101
|
+
args: InputShared_Auxiliary_251[];
|
|
102
102
|
} | {
|
|
103
103
|
op: 'not';
|
|
104
|
-
arg:
|
|
104
|
+
arg: InputShared_Auxiliary_251;
|
|
105
105
|
} | {
|
|
106
106
|
traces: {
|
|
107
|
-
some:
|
|
107
|
+
some: InputShared_Auxiliary_204;
|
|
108
108
|
} | {
|
|
109
|
-
none:
|
|
109
|
+
none: InputShared_Auxiliary_204;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
type
|
|
112
|
+
type InputShared_Auxiliary_667 = {
|
|
113
113
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
114
114
|
left: {
|
|
115
115
|
path: string;
|
|
@@ -141,17 +141,17 @@ type InputShared_Auxiliary_666 = {
|
|
|
141
141
|
};
|
|
142
142
|
} | {
|
|
143
143
|
op: 'and' | 'or';
|
|
144
|
-
args:
|
|
144
|
+
args: InputShared_Auxiliary_667[];
|
|
145
145
|
} | {
|
|
146
146
|
op: 'not';
|
|
147
|
-
arg:
|
|
147
|
+
arg: InputShared_Auxiliary_667;
|
|
148
148
|
};
|
|
149
|
-
type
|
|
149
|
+
type InputShared_Auxiliary_741 = {
|
|
150
150
|
id?: string | undefined;
|
|
151
151
|
name: string;
|
|
152
152
|
type: 'file' | 'folder';
|
|
153
153
|
content?: string | undefined;
|
|
154
|
-
children?:
|
|
154
|
+
children?: InputShared_Auxiliary_741[] | undefined;
|
|
155
155
|
};
|
|
156
156
|
type Shared_Auxiliary_750 = {
|
|
157
157
|
id?: string | undefined;
|
|
@@ -1280,7 +1280,7 @@ type InputShared_Type_86 = {
|
|
|
1280
1280
|
[key: string]: unknown;
|
|
1281
1281
|
} | undefined;
|
|
1282
1282
|
steps: InputShared_Type_81[];
|
|
1283
|
-
predicates:
|
|
1283
|
+
predicates: InputShared_Auxiliary_667[];
|
|
1284
1284
|
};
|
|
1285
1285
|
type InputShared_Type_87 = {
|
|
1286
1286
|
type: 'loop';
|
|
@@ -1291,7 +1291,7 @@ type InputShared_Type_87 = {
|
|
|
1291
1291
|
} | undefined;
|
|
1292
1292
|
step: InputShared_Type_81;
|
|
1293
1293
|
loopType: 'dowhile' | 'dountil';
|
|
1294
|
-
predicate:
|
|
1294
|
+
predicate: InputShared_Auxiliary_667;
|
|
1295
1295
|
};
|
|
1296
1296
|
type InputShared_Type_88 = InputShared_Type_78 | InputShared_Type_79 | InputShared_Type_80 | {
|
|
1297
1297
|
type: 'workflow';
|
|
@@ -3915,6 +3915,10 @@ export type PostAgentsAgentIdThreadsSubscribe_PathParams = GetAgentsAgentId_Path
|
|
|
3915
3915
|
export type PostAgentsAgentIdThreadsSubscribe_Body = {
|
|
3916
3916
|
resourceId?: string | undefined;
|
|
3917
3917
|
threadId: string;
|
|
3918
|
+
/** Emit one thread-history chunk with stored messages before live parts */
|
|
3919
|
+
withInitialHistory?: (boolean | {
|
|
3920
|
+
perPage?: number | undefined;
|
|
3921
|
+
}) | undefined;
|
|
3918
3922
|
};
|
|
3919
3923
|
export type PostAgentsAgentIdThreadsSubscribe_Response = PostAgentsAgentIdGenerate_Response;
|
|
3920
3924
|
export type PostAgentsAgentIdThreadsSubscribe_Request = Simplify<(PostAgentsAgentIdThreadsSubscribe_PathParams extends never ? {} : {
|
|
@@ -7776,7 +7780,7 @@ export type PostObservabilityTracesQuery_Body = {
|
|
|
7776
7780
|
from: string;
|
|
7777
7781
|
to: string;
|
|
7778
7782
|
};
|
|
7779
|
-
where?:
|
|
7783
|
+
where?: InputShared_Auxiliary_204 | undefined;
|
|
7780
7784
|
group?: {
|
|
7781
7785
|
by: ['threadId'];
|
|
7782
7786
|
} | undefined;
|
|
@@ -7850,9 +7854,9 @@ export type PostObservabilityThreadsQuery_Body = {
|
|
|
7850
7854
|
from: string;
|
|
7851
7855
|
to: string;
|
|
7852
7856
|
};
|
|
7853
|
-
where?:
|
|
7857
|
+
where?: InputShared_Auxiliary_204 | undefined;
|
|
7854
7858
|
};
|
|
7855
|
-
where?:
|
|
7859
|
+
where?: InputShared_Auxiliary_251 | undefined;
|
|
7856
7860
|
page?: {
|
|
7857
7861
|
limit?: number;
|
|
7858
7862
|
after?: (string | null) | undefined;
|
|
@@ -14144,7 +14148,7 @@ export type PostStoredSkills_Body = {
|
|
|
14144
14148
|
/** List of asset file paths */
|
|
14145
14149
|
assets?: string[] | undefined;
|
|
14146
14150
|
/** Full file tree structure for the skill */
|
|
14147
|
-
files?:
|
|
14151
|
+
files?: InputShared_Auxiliary_741[] | undefined;
|
|
14148
14152
|
/** Additional metadata for the skill */
|
|
14149
14153
|
metadata?: {
|
|
14150
14154
|
[key: string]: unknown;
|
|
@@ -14194,7 +14198,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
14194
14198
|
/** List of asset file paths */
|
|
14195
14199
|
assets?: (string[] | undefined) | undefined;
|
|
14196
14200
|
/** Full file tree structure for the skill */
|
|
14197
|
-
files?: (
|
|
14201
|
+
files?: (InputShared_Auxiliary_741[] | undefined) | undefined;
|
|
14198
14202
|
/** Additional metadata for the skill */
|
|
14199
14203
|
metadata?: ({
|
|
14200
14204
|
[key: string]: unknown;
|