@mastra/client-js 1.53.1-alpha.0 → 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/client.d.ts +2 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/route-types.generated.d.ts +169 -63
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +4 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -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';
|
|
@@ -3282,12 +3288,38 @@ type Shared_Type_90 = {
|
|
|
3282
3288
|
} | undefined;
|
|
3283
3289
|
};
|
|
3284
3290
|
type Shared_Type_91 = {
|
|
3291
|
+
text?: string | undefined;
|
|
3292
|
+
reasoningText?: string | undefined;
|
|
3293
|
+
object?: unknown | undefined;
|
|
3294
|
+
toolCalls?: {
|
|
3295
|
+
[key: string]: unknown;
|
|
3296
|
+
}[] | undefined;
|
|
3297
|
+
toolResults?: {
|
|
3298
|
+
[key: string]: unknown;
|
|
3299
|
+
}[] | undefined;
|
|
3300
|
+
sources?: {
|
|
3301
|
+
[key: string]: unknown;
|
|
3302
|
+
}[] | undefined;
|
|
3303
|
+
files?: {
|
|
3304
|
+
[key: string]: unknown;
|
|
3305
|
+
}[] | undefined;
|
|
3306
|
+
usage?: {
|
|
3307
|
+
[key: string]: unknown;
|
|
3308
|
+
} | undefined;
|
|
3309
|
+
traceId?: (string | null) | undefined;
|
|
3310
|
+
error?: ({
|
|
3311
|
+
message?: string | undefined;
|
|
3312
|
+
stack?: string | undefined;
|
|
3313
|
+
[x: string]: unknown;
|
|
3314
|
+
} | null) | undefined;
|
|
3315
|
+
[x: string]: unknown;
|
|
3316
|
+
};
|
|
3317
|
+
type Shared_Type_92 = {
|
|
3285
3318
|
id: string;
|
|
3286
3319
|
experimentId: string;
|
|
3287
3320
|
itemId: string;
|
|
3288
3321
|
itemDatasetVersion: number | null;
|
|
3289
3322
|
input: unknown;
|
|
3290
|
-
output: unknown | null;
|
|
3291
3323
|
groundTruth: unknown | null;
|
|
3292
3324
|
metadata?: ({
|
|
3293
3325
|
[key: string]: unknown;
|
|
@@ -3309,8 +3341,75 @@ type Shared_Type_91 = {
|
|
|
3309
3341
|
/** Diagnostic receipt for item-level tool mocks */
|
|
3310
3342
|
toolMockReport?: (Shared_Type_90 | undefined) | null;
|
|
3311
3343
|
createdAt: Date;
|
|
3344
|
+
targetType: 'agent';
|
|
3345
|
+
output: Shared_Type_91 | null;
|
|
3312
3346
|
};
|
|
3313
|
-
type
|
|
3347
|
+
type Shared_Type_93 = {
|
|
3348
|
+
id: string;
|
|
3349
|
+
experimentId: string;
|
|
3350
|
+
itemId: string;
|
|
3351
|
+
itemDatasetVersion: number | null;
|
|
3352
|
+
input: unknown;
|
|
3353
|
+
groundTruth: unknown | null;
|
|
3354
|
+
metadata?: ({
|
|
3355
|
+
[key: string]: unknown;
|
|
3356
|
+
} | undefined) | null;
|
|
3357
|
+
expectedTrajectory?: unknown | undefined;
|
|
3358
|
+
error: {
|
|
3359
|
+
message: string;
|
|
3360
|
+
stack?: string | undefined;
|
|
3361
|
+
code?: string | undefined;
|
|
3362
|
+
} | null;
|
|
3363
|
+
startedAt: Date;
|
|
3364
|
+
completedAt: Date;
|
|
3365
|
+
retryCount: number;
|
|
3366
|
+
attempt?: number | undefined;
|
|
3367
|
+
traceId: string | null;
|
|
3368
|
+
status?: (('needs-review' | 'reviewed' | 'complete') | null) | undefined;
|
|
3369
|
+
tags?: (string[] | null) | undefined;
|
|
3370
|
+
comment?: (string | null) | undefined;
|
|
3371
|
+
/** Diagnostic receipt for item-level tool mocks */
|
|
3372
|
+
toolMockReport?: (Shared_Type_90 | undefined) | null;
|
|
3373
|
+
createdAt: Date;
|
|
3374
|
+
targetType: 'scorer';
|
|
3375
|
+
output: {
|
|
3376
|
+
score: number | null;
|
|
3377
|
+
reason: string | null;
|
|
3378
|
+
notScorable?: unknown | undefined;
|
|
3379
|
+
[x: string]: unknown;
|
|
3380
|
+
} | null;
|
|
3381
|
+
};
|
|
3382
|
+
type Shared_Type_94 = {
|
|
3383
|
+
id: string;
|
|
3384
|
+
experimentId: string;
|
|
3385
|
+
itemId: string;
|
|
3386
|
+
itemDatasetVersion: number | null;
|
|
3387
|
+
input: unknown;
|
|
3388
|
+
groundTruth: unknown | null;
|
|
3389
|
+
metadata?: ({
|
|
3390
|
+
[key: string]: unknown;
|
|
3391
|
+
} | undefined) | null;
|
|
3392
|
+
expectedTrajectory?: unknown | undefined;
|
|
3393
|
+
error: {
|
|
3394
|
+
message: string;
|
|
3395
|
+
stack?: string | undefined;
|
|
3396
|
+
code?: string | undefined;
|
|
3397
|
+
} | null;
|
|
3398
|
+
startedAt: Date;
|
|
3399
|
+
completedAt: Date;
|
|
3400
|
+
retryCount: number;
|
|
3401
|
+
attempt?: number | undefined;
|
|
3402
|
+
traceId: string | null;
|
|
3403
|
+
status?: (('needs-review' | 'reviewed' | 'complete') | null) | undefined;
|
|
3404
|
+
tags?: (string[] | null) | undefined;
|
|
3405
|
+
comment?: (string | null) | undefined;
|
|
3406
|
+
/** Diagnostic receipt for item-level tool mocks */
|
|
3407
|
+
toolMockReport?: (Shared_Type_90 | undefined) | null;
|
|
3408
|
+
createdAt: Date;
|
|
3409
|
+
targetType: ('workflow' | 'processor') | null;
|
|
3410
|
+
output: unknown | null;
|
|
3411
|
+
};
|
|
3412
|
+
type Shared_Type_95 = {
|
|
3314
3413
|
id: string;
|
|
3315
3414
|
status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
3316
3415
|
toolName: string;
|
|
@@ -3335,7 +3434,7 @@ type Shared_Type_92 = {
|
|
|
3335
3434
|
timeoutMs: number;
|
|
3336
3435
|
suspendPayload?: unknown | undefined;
|
|
3337
3436
|
};
|
|
3338
|
-
type
|
|
3437
|
+
type Shared_Type_96 = {
|
|
3339
3438
|
kind: 'custom';
|
|
3340
3439
|
provider: string;
|
|
3341
3440
|
modelId?: string | undefined;
|
|
@@ -3343,7 +3442,7 @@ type Shared_Type_93 = {
|
|
|
3343
3442
|
provider: string;
|
|
3344
3443
|
modelId?: string | undefined;
|
|
3345
3444
|
};
|
|
3346
|
-
type
|
|
3445
|
+
type Shared_Type_97 = {
|
|
3347
3446
|
kind: 'custom';
|
|
3348
3447
|
provider: string;
|
|
3349
3448
|
modelId: string;
|
|
@@ -3351,13 +3450,13 @@ type Shared_Type_94 = {
|
|
|
3351
3450
|
provider: string;
|
|
3352
3451
|
modelId: string;
|
|
3353
3452
|
};
|
|
3354
|
-
type
|
|
3453
|
+
type Shared_Type_98 = {
|
|
3355
3454
|
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3356
3455
|
attributes?: {
|
|
3357
3456
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
3358
3457
|
} | undefined;
|
|
3359
3458
|
};
|
|
3360
|
-
type
|
|
3459
|
+
type Shared_Type_99 = {
|
|
3361
3460
|
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
3362
3461
|
attributes?: {
|
|
3363
3462
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
@@ -3368,7 +3467,7 @@ type Shared_Type_96 = {
|
|
|
3368
3467
|
} | undefined;
|
|
3369
3468
|
} | undefined;
|
|
3370
3469
|
};
|
|
3371
|
-
type
|
|
3470
|
+
type Shared_Type_100 = {
|
|
3372
3471
|
id: string;
|
|
3373
3472
|
agentId: string;
|
|
3374
3473
|
workflowId?: undefined | undefined;
|
|
@@ -3388,8 +3487,8 @@ type Shared_Type_97 = {
|
|
|
3388
3487
|
attributes?: {
|
|
3389
3488
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
3390
3489
|
} | undefined;
|
|
3391
|
-
ifActive?:
|
|
3392
|
-
ifIdle?:
|
|
3490
|
+
ifActive?: Shared_Type_98 | undefined;
|
|
3491
|
+
ifIdle?: Shared_Type_99 | undefined;
|
|
3393
3492
|
providerOptions?: {
|
|
3394
3493
|
[key: string]: unknown;
|
|
3395
3494
|
} | undefined;
|
|
@@ -3399,14 +3498,14 @@ type Shared_Type_97 = {
|
|
|
3399
3498
|
createdAt: number;
|
|
3400
3499
|
updatedAt: number;
|
|
3401
3500
|
};
|
|
3402
|
-
type
|
|
3501
|
+
type Shared_Type_101 = {
|
|
3403
3502
|
status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
|
|
3404
3503
|
startedAt?: number | undefined;
|
|
3405
3504
|
completedAt?: number | undefined;
|
|
3406
3505
|
durationMs?: number | undefined;
|
|
3407
3506
|
error?: string | undefined;
|
|
3408
3507
|
};
|
|
3409
|
-
type
|
|
3508
|
+
type Shared_Type_102 = {
|
|
3410
3509
|
id: string;
|
|
3411
3510
|
workflowId: string;
|
|
3412
3511
|
agentId?: undefined | undefined;
|
|
@@ -3416,7 +3515,7 @@ type Shared_Type_99 = {
|
|
|
3416
3515
|
nextFireAt: number;
|
|
3417
3516
|
lastFireAt?: number | undefined;
|
|
3418
3517
|
lastRunId?: string | undefined;
|
|
3419
|
-
lastRun?:
|
|
3518
|
+
lastRun?: Shared_Type_101 | undefined;
|
|
3420
3519
|
inputData?: unknown | undefined;
|
|
3421
3520
|
initialState?: unknown | undefined;
|
|
3422
3521
|
requestContext?: {
|
|
@@ -3429,7 +3528,7 @@ type Shared_Type_99 = {
|
|
|
3429
3528
|
createdAt: number;
|
|
3430
3529
|
updatedAt: number;
|
|
3431
3530
|
};
|
|
3432
|
-
type
|
|
3531
|
+
type Shared_Type_103 = {
|
|
3433
3532
|
/** Installation identifier */
|
|
3434
3533
|
id: string;
|
|
3435
3534
|
/** Platform identifier */
|
|
@@ -5889,6 +5988,7 @@ export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams = GetWorkflo
|
|
|
5889
5988
|
export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body = {
|
|
5890
5989
|
stepId: string;
|
|
5891
5990
|
executionPath: number[];
|
|
5991
|
+
parentWorkflow?: InputShared_Auxiliary_115 | undefined;
|
|
5892
5992
|
stepResults: {
|
|
5893
5993
|
[key: string]: unknown;
|
|
5894
5994
|
};
|
|
@@ -7887,7 +7987,7 @@ export type PostObservabilityTracesQuery_Body = {
|
|
|
7887
7987
|
from: string;
|
|
7888
7988
|
to: string;
|
|
7889
7989
|
};
|
|
7890
|
-
where?:
|
|
7990
|
+
where?: InputShared_Auxiliary_207 | undefined;
|
|
7891
7991
|
group?: {
|
|
7892
7992
|
by: ['threadId'];
|
|
7893
7993
|
} | undefined;
|
|
@@ -7960,11 +8060,11 @@ export type PostObservabilityTracesAggregate_Body = {
|
|
|
7960
8060
|
from: string;
|
|
7961
8061
|
to: string;
|
|
7962
8062
|
};
|
|
7963
|
-
where?:
|
|
8063
|
+
where?: InputShared_Auxiliary_207 | undefined;
|
|
7964
8064
|
groupBy?: string[];
|
|
7965
8065
|
interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
|
|
7966
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}`)[];
|
|
7967
|
-
having?:
|
|
8067
|
+
having?: InputShared_Auxiliary_230 | undefined;
|
|
7968
8068
|
orderBy?: {
|
|
7969
8069
|
field: string;
|
|
7970
8070
|
direction: 'asc' | 'desc';
|
|
@@ -8012,9 +8112,9 @@ export type PostObservabilityThreadsQuery_Body = {
|
|
|
8012
8112
|
from: string;
|
|
8013
8113
|
to: string;
|
|
8014
8114
|
};
|
|
8015
|
-
where?:
|
|
8115
|
+
where?: InputShared_Auxiliary_207 | undefined;
|
|
8016
8116
|
};
|
|
8017
|
-
where?:
|
|
8117
|
+
where?: InputShared_Auxiliary_264 | undefined;
|
|
8018
8118
|
page?: {
|
|
8019
8119
|
limit?: number;
|
|
8020
8120
|
after?: (string | null) | undefined;
|
|
@@ -8052,7 +8152,7 @@ export type PostObservabilitySpansQuery_Body = {
|
|
|
8052
8152
|
from: string;
|
|
8053
8153
|
to: string;
|
|
8054
8154
|
};
|
|
8055
|
-
where?:
|
|
8155
|
+
where?: InputShared_Auxiliary_230 | undefined;
|
|
8056
8156
|
orderBy?: {
|
|
8057
8157
|
field: 'startedAt' | 'endedAt';
|
|
8058
8158
|
direction: 'asc' | 'desc';
|
|
@@ -14380,7 +14480,7 @@ export type PostStoredSkills_Body = {
|
|
|
14380
14480
|
/** List of asset file paths */
|
|
14381
14481
|
assets?: string[] | undefined;
|
|
14382
14482
|
/** Full file tree structure for the skill */
|
|
14383
|
-
files?:
|
|
14483
|
+
files?: InputShared_Auxiliary_766[] | undefined;
|
|
14384
14484
|
/** Additional metadata for the skill */
|
|
14385
14485
|
metadata?: {
|
|
14386
14486
|
[key: string]: unknown;
|
|
@@ -14430,7 +14530,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
14430
14530
|
/** List of asset file paths */
|
|
14431
14531
|
assets?: (string[] | undefined) | undefined;
|
|
14432
14532
|
/** Full file tree structure for the skill */
|
|
14433
|
-
files?: (
|
|
14533
|
+
files?: (InputShared_Auxiliary_766[] | undefined) | undefined;
|
|
14434
14534
|
/** Additional metadata for the skill */
|
|
14435
14535
|
metadata?: ({
|
|
14436
14536
|
[key: string]: unknown;
|
|
@@ -15994,7 +16094,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Body = {
|
|
|
15994
16094
|
} | undefined;
|
|
15995
16095
|
};
|
|
15996
16096
|
export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Response = {
|
|
15997
|
-
result:
|
|
16097
|
+
result: Shared_Type_92 | Shared_Type_93 | Shared_Type_94;
|
|
15998
16098
|
scores: {
|
|
15999
16099
|
scorerId: string;
|
|
16000
16100
|
scorerName: string;
|
|
@@ -16067,7 +16167,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Body = {
|
|
|
16067
16167
|
} | undefined;
|
|
16068
16168
|
}[] | undefined;
|
|
16069
16169
|
};
|
|
16070
|
-
export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response =
|
|
16170
|
+
export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_92 | Shared_Type_93 | Shared_Type_94;
|
|
16071
16171
|
export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams extends never ? {} : {
|
|
16072
16172
|
params: PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
|
|
16073
16173
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -16194,7 +16294,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
|
|
|
16194
16294
|
} | undefined) | undefined;
|
|
16195
16295
|
};
|
|
16196
16296
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
|
|
16197
|
-
results:
|
|
16297
|
+
results: (Shared_Type_92 | Shared_Type_93 | Shared_Type_94)[];
|
|
16198
16298
|
pagination: {
|
|
16199
16299
|
total: number;
|
|
16200
16300
|
page: number;
|
|
@@ -16256,9 +16356,14 @@ export interface PatchDatasetsDatasetIdExperimentsExperimentIdResultsResultId_Ro
|
|
|
16256
16356
|
}
|
|
16257
16357
|
export type PostDatasetsDatasetIdCompare_PathParams = GetDatasetsDatasetId_PathParams;
|
|
16258
16358
|
export type PostDatasetsDatasetIdCompare_Body = {
|
|
16259
|
-
/**
|
|
16359
|
+
/** IDs of the experiments to compare (2 to 10). Each one gets a result entry per item. */
|
|
16360
|
+
experimentIds: string[];
|
|
16361
|
+
/** Experiment the others are compared against. Must be one of experimentIds. Defaults to the first. */
|
|
16362
|
+
baselineId?: string | undefined;
|
|
16363
|
+
} | {
|
|
16364
|
+
/** Deprecated: use experimentIds. Baseline experiment ID. */
|
|
16260
16365
|
experimentIdA: string;
|
|
16261
|
-
/**
|
|
16366
|
+
/** Deprecated: use experimentIds. Contender experiment ID. */
|
|
16262
16367
|
experimentIdB: string;
|
|
16263
16368
|
};
|
|
16264
16369
|
export type PostDatasetsDatasetIdCompare_Response = {
|
|
@@ -16437,7 +16542,7 @@ export type GetBackgroundTasks_QueryParams = {
|
|
|
16437
16542
|
perPage?: number | undefined;
|
|
16438
16543
|
};
|
|
16439
16544
|
export type GetBackgroundTasks_Response = {
|
|
16440
|
-
tasks:
|
|
16545
|
+
tasks: Shared_Type_95[];
|
|
16441
16546
|
total: number;
|
|
16442
16547
|
};
|
|
16443
16548
|
export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
|
|
@@ -16462,7 +16567,7 @@ export interface GetBackgroundTasks_RouteContract {
|
|
|
16462
16567
|
export type GetBackgroundTasksBackgroundTaskId_PathParams = {
|
|
16463
16568
|
backgroundTaskId: string;
|
|
16464
16569
|
};
|
|
16465
|
-
export type GetBackgroundTasksBackgroundTaskId_Response =
|
|
16570
|
+
export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_95;
|
|
16466
16571
|
export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
|
|
16467
16572
|
params: GetBackgroundTasksBackgroundTaskId_PathParams;
|
|
16468
16573
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -16502,8 +16607,8 @@ export type GetEditorBuilderSettings_Response = {
|
|
|
16502
16607
|
configuration?: {
|
|
16503
16608
|
agent?: {
|
|
16504
16609
|
models?: {
|
|
16505
|
-
allowed?:
|
|
16506
|
-
default?:
|
|
16610
|
+
allowed?: Shared_Type_96[] | undefined;
|
|
16611
|
+
default?: Shared_Type_97 | undefined;
|
|
16507
16612
|
} | undefined;
|
|
16508
16613
|
tools?: {
|
|
16509
16614
|
allowed?: string[] | undefined;
|
|
@@ -16520,8 +16625,8 @@ export type GetEditorBuilderSettings_Response = {
|
|
|
16520
16625
|
modelPolicy?: {
|
|
16521
16626
|
active: boolean;
|
|
16522
16627
|
pickerVisible?: boolean | undefined;
|
|
16523
|
-
allowed?:
|
|
16524
|
-
default?:
|
|
16628
|
+
allowed?: Shared_Type_96[] | undefined;
|
|
16629
|
+
default?: Shared_Type_97 | undefined;
|
|
16525
16630
|
} | undefined;
|
|
16526
16631
|
picker?: {
|
|
16527
16632
|
visibleTools: string[] | null;
|
|
@@ -16554,8 +16659,8 @@ export type GetEditorWorkflowBuilderSettings_Response = {
|
|
|
16554
16659
|
modelPolicy?: {
|
|
16555
16660
|
active: boolean;
|
|
16556
16661
|
pickerVisible?: boolean | undefined;
|
|
16557
|
-
allowed?:
|
|
16558
|
-
default?:
|
|
16662
|
+
allowed?: Shared_Type_96[] | undefined;
|
|
16663
|
+
default?: Shared_Type_97 | undefined;
|
|
16559
16664
|
} | undefined;
|
|
16560
16665
|
};
|
|
16561
16666
|
export type GetEditorWorkflowBuilderSettings_Request = Simplify<(never extends never ? {} : {
|
|
@@ -17204,7 +17309,7 @@ export type GetSchedules_QueryParams = {
|
|
|
17204
17309
|
name?: string | undefined;
|
|
17205
17310
|
};
|
|
17206
17311
|
export type GetSchedules_Response = {
|
|
17207
|
-
schedules: (
|
|
17312
|
+
schedules: (Shared_Type_100 | Shared_Type_102)[];
|
|
17208
17313
|
};
|
|
17209
17314
|
export type GetSchedules_Request = Simplify<(never extends never ? {} : {
|
|
17210
17315
|
params: never;
|
|
@@ -17228,7 +17333,7 @@ export interface GetSchedules_RouteContract {
|
|
|
17228
17333
|
export type GetSchedulesScheduleId_PathParams = {
|
|
17229
17334
|
scheduleId: string;
|
|
17230
17335
|
};
|
|
17231
|
-
export type GetSchedulesScheduleId_Response =
|
|
17336
|
+
export type GetSchedulesScheduleId_Response = Shared_Type_100 | Shared_Type_102;
|
|
17232
17337
|
export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
|
|
17233
17338
|
params: GetSchedulesScheduleId_PathParams;
|
|
17234
17339
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -17393,7 +17498,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
|
|
|
17393
17498
|
metadata?: {
|
|
17394
17499
|
[key: string]: unknown;
|
|
17395
17500
|
} | undefined;
|
|
17396
|
-
run?:
|
|
17501
|
+
run?: Shared_Type_101 | undefined;
|
|
17397
17502
|
}[];
|
|
17398
17503
|
};
|
|
17399
17504
|
export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
|
|
@@ -17517,7 +17622,7 @@ export type GetChannelsPlatformInstallations_PathParams = {
|
|
|
17517
17622
|
/** Channel platform identifier (e.g., "slack") */
|
|
17518
17623
|
platform: string;
|
|
17519
17624
|
};
|
|
17520
|
-
export type GetChannelsPlatformInstallations_Response =
|
|
17625
|
+
export type GetChannelsPlatformInstallations_Response = Shared_Type_103[];
|
|
17521
17626
|
export type GetChannelsPlatformInstallations_Request = Simplify<(GetChannelsPlatformInstallations_PathParams extends never ? {} : {
|
|
17522
17627
|
params: GetChannelsPlatformInstallations_PathParams;
|
|
17523
17628
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -17591,7 +17696,7 @@ export type PostChannelsPlatformAgentIdReconcile_PathParams = {
|
|
|
17591
17696
|
/** Agent identifier */
|
|
17592
17697
|
agentId: string;
|
|
17593
17698
|
};
|
|
17594
|
-
export type PostChannelsPlatformAgentIdReconcile_Response =
|
|
17699
|
+
export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_103 | null;
|
|
17595
17700
|
export type PostChannelsPlatformAgentIdReconcile_Request = Simplify<(PostChannelsPlatformAgentIdReconcile_PathParams extends never ? {} : {
|
|
17596
17701
|
params: PostChannelsPlatformAgentIdReconcile_PathParams;
|
|
17597
17702
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -18214,6 +18319,7 @@ export type PostAgentControllerControllerIdSessionsResourceIdToolSuspension_Path
|
|
|
18214
18319
|
export type PostAgentControllerControllerIdSessionsResourceIdToolSuspension_QueryParams = PostAgentControllerControllerIdSessionsResourceIdThreads_QueryParams;
|
|
18215
18320
|
export type PostAgentControllerControllerIdSessionsResourceIdToolSuspension_Body = {
|
|
18216
18321
|
toolCallId: string;
|
|
18322
|
+
runId?: string | undefined;
|
|
18217
18323
|
resumeData: unknown;
|
|
18218
18324
|
requestContext?: {
|
|
18219
18325
|
[key: string]: unknown;
|