@mastra/client-js 1.52.0 → 1.53.0-alpha.1

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.
@@ -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 InputShared_Auxiliary_204 = {
13
+ type InputShared_Auxiliary_205 = {
14
14
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
15
15
  left: {
16
16
  path: string;
@@ -37,32 +37,40 @@ type InputShared_Auxiliary_204 = {
37
37
  op: 'includes' | 'notIncludes';
38
38
  path: string;
39
39
  value: string;
40
+ } | {
41
+ op: 'matches' | 'notMatches';
42
+ left: {
43
+ path: string;
44
+ };
45
+ right: {
46
+ literal: string;
47
+ };
40
48
  } | {
41
49
  op: 'and' | 'or';
42
- args: InputShared_Auxiliary_204[];
50
+ args: InputShared_Auxiliary_205[];
43
51
  } | {
44
52
  op: 'not';
45
- arg: InputShared_Auxiliary_204;
53
+ arg: InputShared_Auxiliary_205;
46
54
  } | {
47
55
  spans: {
48
- some: InputShared_Auxiliary_223;
56
+ some: InputShared_Auxiliary_228;
49
57
  } | {
50
- none: InputShared_Auxiliary_223;
58
+ none: InputShared_Auxiliary_228;
51
59
  };
52
60
  } | {
53
61
  scores: {
54
- some: InputShared_Auxiliary_223;
62
+ some: InputShared_Auxiliary_228;
55
63
  } | {
56
- none: InputShared_Auxiliary_223;
64
+ none: InputShared_Auxiliary_228;
57
65
  };
58
66
  } | {
59
67
  feedback: {
60
- some: InputShared_Auxiliary_223;
68
+ some: InputShared_Auxiliary_228;
61
69
  } | {
62
- none: InputShared_Auxiliary_223;
70
+ none: InputShared_Auxiliary_228;
63
71
  };
64
72
  };
65
- type InputShared_Auxiliary_223 = {
73
+ type InputShared_Auxiliary_228 = {
66
74
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
67
75
  left: {
68
76
  path: string;
@@ -89,27 +97,35 @@ type InputShared_Auxiliary_223 = {
89
97
  op: 'includes' | 'notIncludes';
90
98
  path: string;
91
99
  value: string;
100
+ } | {
101
+ op: 'matches' | 'notMatches';
102
+ left: {
103
+ path: string;
104
+ };
105
+ right: {
106
+ literal: string;
107
+ };
92
108
  } | {
93
109
  op: 'and' | 'or';
94
- args: InputShared_Auxiliary_223[];
110
+ args: InputShared_Auxiliary_228[];
95
111
  } | {
96
112
  op: 'not';
97
- arg: InputShared_Auxiliary_223;
113
+ arg: InputShared_Auxiliary_228;
98
114
  };
99
- type InputShared_Auxiliary_254 = {
115
+ type InputShared_Auxiliary_262 = {
100
116
  op: 'and' | 'or';
101
- args: InputShared_Auxiliary_254[];
117
+ args: InputShared_Auxiliary_262[];
102
118
  } | {
103
119
  op: 'not';
104
- arg: InputShared_Auxiliary_254;
120
+ arg: InputShared_Auxiliary_262;
105
121
  } | {
106
122
  traces: {
107
- some: InputShared_Auxiliary_204;
123
+ some: InputShared_Auxiliary_205;
108
124
  } | {
109
- none: InputShared_Auxiliary_204;
125
+ none: InputShared_Auxiliary_205;
110
126
  };
111
127
  };
112
- type InputShared_Auxiliary_682 = {
128
+ type InputShared_Auxiliary_690 = {
113
129
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
114
130
  left: {
115
131
  path: string;
@@ -141,17 +157,17 @@ type InputShared_Auxiliary_682 = {
141
157
  };
142
158
  } | {
143
159
  op: 'and' | 'or';
144
- args: InputShared_Auxiliary_682[];
160
+ args: InputShared_Auxiliary_690[];
145
161
  } | {
146
162
  op: 'not';
147
- arg: InputShared_Auxiliary_682;
163
+ arg: InputShared_Auxiliary_690;
148
164
  };
149
- type InputShared_Auxiliary_756 = {
165
+ type InputShared_Auxiliary_764 = {
150
166
  id?: string | undefined;
151
167
  name: string;
152
168
  type: 'file' | 'folder';
153
169
  content?: string | undefined;
154
- children?: InputShared_Auxiliary_756[] | undefined;
170
+ children?: InputShared_Auxiliary_764[] | undefined;
155
171
  };
156
172
  type Shared_Auxiliary_764 = {
157
173
  id?: string | undefined;
@@ -189,6 +205,7 @@ type InputShared_Type_2 = {
189
205
  requestContextKeys?: string[] | undefined;
190
206
  traceId?: string | undefined;
191
207
  parentSpanId?: string | undefined;
208
+ nestUnderParent?: boolean | undefined;
192
209
  tags?: string[] | undefined;
193
210
  hideInput?: boolean | undefined;
194
211
  hideOutput?: boolean | undefined;
@@ -1307,7 +1324,7 @@ type InputShared_Type_88 = {
1307
1324
  [key: string]: unknown;
1308
1325
  } | undefined;
1309
1326
  steps: InputShared_Type_83[];
1310
- predicates: InputShared_Auxiliary_682[];
1327
+ predicates: InputShared_Auxiliary_690[];
1311
1328
  };
1312
1329
  type InputShared_Type_89 = {
1313
1330
  type: 'loop';
@@ -1318,7 +1335,7 @@ type InputShared_Type_89 = {
1318
1335
  } | undefined;
1319
1336
  step: InputShared_Type_83;
1320
1337
  loopType: 'dowhile' | 'dountil';
1321
- predicate: InputShared_Auxiliary_682;
1338
+ predicate: InputShared_Auxiliary_690;
1322
1339
  };
1323
1340
  type InputShared_Type_90 = InputShared_Type_80 | InputShared_Type_81 | InputShared_Type_82 | {
1324
1341
  type: 'workflow';
@@ -4756,6 +4773,10 @@ export type PostAgentsAgentIdVoiceSpeak_PathParams = GetAgentsAgentIdVoiceSpeake
4756
4773
  export type PostAgentsAgentIdVoiceSpeak_Body = {
4757
4774
  text: string;
4758
4775
  speakerId?: string | undefined;
4776
+ options?: {
4777
+ speaker?: string | undefined;
4778
+ [x: string]: unknown;
4779
+ } | undefined;
4759
4780
  };
4760
4781
  export type PostAgentsAgentIdVoiceSpeak_Response = PostAgentsAgentIdGenerate_Response;
4761
4782
  export type PostAgentsAgentIdVoiceSpeak_Request = Simplify<(PostAgentsAgentIdVoiceSpeak_PathParams extends never ? {} : {
@@ -6939,6 +6960,7 @@ export type PostMemoryThreadsThreadIdWorkingMemory_Body = {
6939
6960
  memoryConfig?: {
6940
6961
  [key: string]: unknown;
6941
6962
  } | undefined;
6963
+ mode?: ('replace' | 'merge') | undefined;
6942
6964
  };
6943
6965
  export type PostMemoryThreadsThreadIdWorkingMemory_Response = PostAuthRefresh_Response;
6944
6966
  export type PostMemoryThreadsThreadIdWorkingMemory_Request = Simplify<(PostMemoryThreadsThreadIdWorkingMemory_PathParams extends never ? {} : {
@@ -7865,7 +7887,7 @@ export type PostObservabilityTracesQuery_Body = {
7865
7887
  from: string;
7866
7888
  to: string;
7867
7889
  };
7868
- where?: InputShared_Auxiliary_204 | undefined;
7890
+ where?: InputShared_Auxiliary_205 | undefined;
7869
7891
  group?: {
7870
7892
  by: ['threadId'];
7871
7893
  } | undefined;
@@ -7938,11 +7960,11 @@ export type PostObservabilityTracesAggregate_Body = {
7938
7960
  from: string;
7939
7961
  to: string;
7940
7962
  };
7941
- where?: InputShared_Auxiliary_204 | undefined;
7963
+ where?: InputShared_Auxiliary_205 | undefined;
7942
7964
  groupBy?: string[];
7943
7965
  interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
7944
7966
  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}`)[];
7945
- having?: InputShared_Auxiliary_223 | undefined;
7967
+ having?: InputShared_Auxiliary_228 | undefined;
7946
7968
  orderBy?: {
7947
7969
  field: string;
7948
7970
  direction: 'asc' | 'desc';
@@ -7990,9 +8012,9 @@ export type PostObservabilityThreadsQuery_Body = {
7990
8012
  from: string;
7991
8013
  to: string;
7992
8014
  };
7993
- where?: InputShared_Auxiliary_204 | undefined;
8015
+ where?: InputShared_Auxiliary_205 | undefined;
7994
8016
  };
7995
- where?: InputShared_Auxiliary_254 | undefined;
8017
+ where?: InputShared_Auxiliary_262 | undefined;
7996
8018
  page?: {
7997
8019
  limit?: number;
7998
8020
  after?: (string | null) | undefined;
@@ -8030,7 +8052,7 @@ export type PostObservabilitySpansQuery_Body = {
8030
8052
  from: string;
8031
8053
  to: string;
8032
8054
  };
8033
- where?: InputShared_Auxiliary_223 | undefined;
8055
+ where?: InputShared_Auxiliary_228 | undefined;
8034
8056
  orderBy?: {
8035
8057
  field: 'startedAt' | 'endedAt';
8036
8058
  direction: 'asc' | 'desc';
@@ -8108,7 +8130,7 @@ export type PostObservabilityTracesQueryFields_Response = {
8108
8130
  canonicalFields: {
8109
8131
  path: string;
8110
8132
  valueKind: 'string' | 'number' | 'stringOrNumber' | 'timestamp' | 'presence' | 'array';
8111
- operators: ('eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'notIn' | 'exists' | 'notExists' | 'includes' | 'notIncludes')[];
8133
+ operators: ('eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'notIn' | 'exists' | 'notExists' | 'includes' | 'notIncludes' | 'matches' | 'notMatches')[];
8112
8134
  valueSuggestions: boolean;
8113
8135
  }[];
8114
8136
  observedFields: {
@@ -14358,7 +14380,7 @@ export type PostStoredSkills_Body = {
14358
14380
  /** List of asset file paths */
14359
14381
  assets?: string[] | undefined;
14360
14382
  /** Full file tree structure for the skill */
14361
- files?: InputShared_Auxiliary_756[] | undefined;
14383
+ files?: InputShared_Auxiliary_764[] | undefined;
14362
14384
  /** Additional metadata for the skill */
14363
14385
  metadata?: {
14364
14386
  [key: string]: unknown;
@@ -14408,7 +14430,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
14408
14430
  /** List of asset file paths */
14409
14431
  assets?: (string[] | undefined) | undefined;
14410
14432
  /** Full file tree structure for the skill */
14411
- files?: (InputShared_Auxiliary_756[] | undefined) | undefined;
14433
+ files?: (InputShared_Auxiliary_764[] | undefined) | undefined;
14412
14434
  /** Additional metadata for the skill */
14413
14435
  metadata?: ({
14414
14436
  [key: string]: unknown;