@mastra/client-js 1.53.0-alpha.0 → 1.53.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.
@@ -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;
@@ -47,30 +47,30 @@ type InputShared_Auxiliary_204 = {
47
47
  };
48
48
  } | {
49
49
  op: 'and' | 'or';
50
- args: InputShared_Auxiliary_204[];
50
+ args: InputShared_Auxiliary_205[];
51
51
  } | {
52
52
  op: 'not';
53
- arg: InputShared_Auxiliary_204;
53
+ arg: InputShared_Auxiliary_205;
54
54
  } | {
55
55
  spans: {
56
- some: InputShared_Auxiliary_227;
56
+ some: InputShared_Auxiliary_228;
57
57
  } | {
58
- none: InputShared_Auxiliary_227;
58
+ none: InputShared_Auxiliary_228;
59
59
  };
60
60
  } | {
61
61
  scores: {
62
- some: InputShared_Auxiliary_227;
62
+ some: InputShared_Auxiliary_228;
63
63
  } | {
64
- none: InputShared_Auxiliary_227;
64
+ none: InputShared_Auxiliary_228;
65
65
  };
66
66
  } | {
67
67
  feedback: {
68
- some: InputShared_Auxiliary_227;
68
+ some: InputShared_Auxiliary_228;
69
69
  } | {
70
- none: InputShared_Auxiliary_227;
70
+ none: InputShared_Auxiliary_228;
71
71
  };
72
72
  };
73
- type InputShared_Auxiliary_227 = {
73
+ type InputShared_Auxiliary_228 = {
74
74
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
75
75
  left: {
76
76
  path: string;
@@ -107,25 +107,25 @@ type InputShared_Auxiliary_227 = {
107
107
  };
108
108
  } | {
109
109
  op: 'and' | 'or';
110
- args: InputShared_Auxiliary_227[];
110
+ args: InputShared_Auxiliary_228[];
111
111
  } | {
112
112
  op: 'not';
113
- arg: InputShared_Auxiliary_227;
113
+ arg: InputShared_Auxiliary_228;
114
114
  };
115
- type InputShared_Auxiliary_261 = {
115
+ type InputShared_Auxiliary_262 = {
116
116
  op: 'and' | 'or';
117
- args: InputShared_Auxiliary_261[];
117
+ args: InputShared_Auxiliary_262[];
118
118
  } | {
119
119
  op: 'not';
120
- arg: InputShared_Auxiliary_261;
120
+ arg: InputShared_Auxiliary_262;
121
121
  } | {
122
122
  traces: {
123
- some: InputShared_Auxiliary_204;
123
+ some: InputShared_Auxiliary_205;
124
124
  } | {
125
- none: InputShared_Auxiliary_204;
125
+ none: InputShared_Auxiliary_205;
126
126
  };
127
127
  };
128
- type InputShared_Auxiliary_689 = {
128
+ type InputShared_Auxiliary_690 = {
129
129
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
130
130
  left: {
131
131
  path: string;
@@ -157,17 +157,17 @@ type InputShared_Auxiliary_689 = {
157
157
  };
158
158
  } | {
159
159
  op: 'and' | 'or';
160
- args: InputShared_Auxiliary_689[];
160
+ args: InputShared_Auxiliary_690[];
161
161
  } | {
162
162
  op: 'not';
163
- arg: InputShared_Auxiliary_689;
163
+ arg: InputShared_Auxiliary_690;
164
164
  };
165
- type InputShared_Auxiliary_763 = {
165
+ type InputShared_Auxiliary_764 = {
166
166
  id?: string | undefined;
167
167
  name: string;
168
168
  type: 'file' | 'folder';
169
169
  content?: string | undefined;
170
- children?: InputShared_Auxiliary_763[] | undefined;
170
+ children?: InputShared_Auxiliary_764[] | undefined;
171
171
  };
172
172
  type Shared_Auxiliary_764 = {
173
173
  id?: string | undefined;
@@ -1324,7 +1324,7 @@ type InputShared_Type_88 = {
1324
1324
  [key: string]: unknown;
1325
1325
  } | undefined;
1326
1326
  steps: InputShared_Type_83[];
1327
- predicates: InputShared_Auxiliary_689[];
1327
+ predicates: InputShared_Auxiliary_690[];
1328
1328
  };
1329
1329
  type InputShared_Type_89 = {
1330
1330
  type: 'loop';
@@ -1335,7 +1335,7 @@ type InputShared_Type_89 = {
1335
1335
  } | undefined;
1336
1336
  step: InputShared_Type_83;
1337
1337
  loopType: 'dowhile' | 'dountil';
1338
- predicate: InputShared_Auxiliary_689;
1338
+ predicate: InputShared_Auxiliary_690;
1339
1339
  };
1340
1340
  type InputShared_Type_90 = InputShared_Type_80 | InputShared_Type_81 | InputShared_Type_82 | {
1341
1341
  type: 'workflow';
@@ -4773,6 +4773,10 @@ export type PostAgentsAgentIdVoiceSpeak_PathParams = GetAgentsAgentIdVoiceSpeake
4773
4773
  export type PostAgentsAgentIdVoiceSpeak_Body = {
4774
4774
  text: string;
4775
4775
  speakerId?: string | undefined;
4776
+ options?: {
4777
+ speaker?: string | undefined;
4778
+ [x: string]: unknown;
4779
+ } | undefined;
4776
4780
  };
4777
4781
  export type PostAgentsAgentIdVoiceSpeak_Response = PostAgentsAgentIdGenerate_Response;
4778
4782
  export type PostAgentsAgentIdVoiceSpeak_Request = Simplify<(PostAgentsAgentIdVoiceSpeak_PathParams extends never ? {} : {
@@ -6956,6 +6960,7 @@ export type PostMemoryThreadsThreadIdWorkingMemory_Body = {
6956
6960
  memoryConfig?: {
6957
6961
  [key: string]: unknown;
6958
6962
  } | undefined;
6963
+ mode?: ('replace' | 'merge') | undefined;
6959
6964
  };
6960
6965
  export type PostMemoryThreadsThreadIdWorkingMemory_Response = PostAuthRefresh_Response;
6961
6966
  export type PostMemoryThreadsThreadIdWorkingMemory_Request = Simplify<(PostMemoryThreadsThreadIdWorkingMemory_PathParams extends never ? {} : {
@@ -7882,7 +7887,7 @@ export type PostObservabilityTracesQuery_Body = {
7882
7887
  from: string;
7883
7888
  to: string;
7884
7889
  };
7885
- where?: InputShared_Auxiliary_204 | undefined;
7890
+ where?: InputShared_Auxiliary_205 | undefined;
7886
7891
  group?: {
7887
7892
  by: ['threadId'];
7888
7893
  } | undefined;
@@ -7955,11 +7960,11 @@ export type PostObservabilityTracesAggregate_Body = {
7955
7960
  from: string;
7956
7961
  to: string;
7957
7962
  };
7958
- where?: InputShared_Auxiliary_204 | undefined;
7963
+ where?: InputShared_Auxiliary_205 | undefined;
7959
7964
  groupBy?: string[];
7960
7965
  interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
7961
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}`)[];
7962
- having?: InputShared_Auxiliary_227 | undefined;
7967
+ having?: InputShared_Auxiliary_228 | undefined;
7963
7968
  orderBy?: {
7964
7969
  field: string;
7965
7970
  direction: 'asc' | 'desc';
@@ -8007,9 +8012,9 @@ export type PostObservabilityThreadsQuery_Body = {
8007
8012
  from: string;
8008
8013
  to: string;
8009
8014
  };
8010
- where?: InputShared_Auxiliary_204 | undefined;
8015
+ where?: InputShared_Auxiliary_205 | undefined;
8011
8016
  };
8012
- where?: InputShared_Auxiliary_261 | undefined;
8017
+ where?: InputShared_Auxiliary_262 | undefined;
8013
8018
  page?: {
8014
8019
  limit?: number;
8015
8020
  after?: (string | null) | undefined;
@@ -8047,7 +8052,7 @@ export type PostObservabilitySpansQuery_Body = {
8047
8052
  from: string;
8048
8053
  to: string;
8049
8054
  };
8050
- where?: InputShared_Auxiliary_227 | undefined;
8055
+ where?: InputShared_Auxiliary_228 | undefined;
8051
8056
  orderBy?: {
8052
8057
  field: 'startedAt' | 'endedAt';
8053
8058
  direction: 'asc' | 'desc';
@@ -14375,7 +14380,7 @@ export type PostStoredSkills_Body = {
14375
14380
  /** List of asset file paths */
14376
14381
  assets?: string[] | undefined;
14377
14382
  /** Full file tree structure for the skill */
14378
- files?: InputShared_Auxiliary_763[] | undefined;
14383
+ files?: InputShared_Auxiliary_764[] | undefined;
14379
14384
  /** Additional metadata for the skill */
14380
14385
  metadata?: {
14381
14386
  [key: string]: unknown;
@@ -14425,7 +14430,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
14425
14430
  /** List of asset file paths */
14426
14431
  assets?: (string[] | undefined) | undefined;
14427
14432
  /** Full file tree structure for the skill */
14428
- files?: (InputShared_Auxiliary_763[] | undefined) | undefined;
14433
+ files?: (InputShared_Auxiliary_764[] | undefined) | undefined;
14429
14434
  /** Additional metadata for the skill */
14430
14435
  metadata?: ({
14431
14436
  [key: string]: unknown;