@mastra/client-js 1.57.1-alpha.0 → 1.58.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 +32 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +2 -2
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/integrations-auth-workos.md +2 -0
- package/dist/docs/references/reference-client-js-observability.md +6 -23
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +226 -86
- package/dist/index.cjs +50 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -1
- package/dist/index.js.map +1 -1
- package/dist/resources/observability.d.ts +1 -1
- package/dist/route-types.generated.d.ts +310 -122
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +12 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -131,7 +131,7 @@ type InputShared_Auxiliary_278 = {
|
|
|
131
131
|
none: InputShared_Auxiliary_208;
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
-
type
|
|
134
|
+
type InputShared_Auxiliary_714 = {
|
|
135
135
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
136
136
|
left: {
|
|
137
137
|
path: string;
|
|
@@ -163,24 +163,24 @@ type InputShared_Auxiliary_710 = {
|
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
165
|
op: 'and' | 'or';
|
|
166
|
-
args:
|
|
166
|
+
args: InputShared_Auxiliary_714[];
|
|
167
167
|
} | {
|
|
168
168
|
op: 'not';
|
|
169
|
-
arg:
|
|
169
|
+
arg: InputShared_Auxiliary_714;
|
|
170
170
|
};
|
|
171
|
-
type
|
|
171
|
+
type InputShared_Auxiliary_788 = {
|
|
172
172
|
id?: string | undefined;
|
|
173
173
|
name: string;
|
|
174
174
|
type: 'file' | 'folder';
|
|
175
175
|
content?: string | undefined;
|
|
176
|
-
children?:
|
|
176
|
+
children?: InputShared_Auxiliary_788[] | undefined;
|
|
177
177
|
};
|
|
178
|
-
type
|
|
178
|
+
type Shared_Auxiliary_784 = {
|
|
179
179
|
id?: string | undefined;
|
|
180
180
|
name: string;
|
|
181
181
|
type: 'file' | 'folder';
|
|
182
182
|
content?: string | undefined;
|
|
183
|
-
children?:
|
|
183
|
+
children?: Shared_Auxiliary_784[] | undefined;
|
|
184
184
|
};
|
|
185
185
|
type InputShared_Type_0 = {
|
|
186
186
|
thread: string | {
|
|
@@ -1333,7 +1333,7 @@ type InputShared_Type_89 = {
|
|
|
1333
1333
|
[key: string]: unknown;
|
|
1334
1334
|
} | undefined;
|
|
1335
1335
|
steps: InputShared_Type_84[];
|
|
1336
|
-
predicates:
|
|
1336
|
+
predicates: InputShared_Auxiliary_714[];
|
|
1337
1337
|
};
|
|
1338
1338
|
type InputShared_Type_90 = {
|
|
1339
1339
|
type: 'loop';
|
|
@@ -1344,7 +1344,7 @@ type InputShared_Type_90 = {
|
|
|
1344
1344
|
} | undefined;
|
|
1345
1345
|
step: InputShared_Type_84;
|
|
1346
1346
|
loopType: 'dowhile' | 'dountil';
|
|
1347
|
-
predicate:
|
|
1347
|
+
predicate: InputShared_Auxiliary_714;
|
|
1348
1348
|
};
|
|
1349
1349
|
type InputShared_Type_91 = InputShared_Type_81 | InputShared_Type_82 | InputShared_Type_83 | {
|
|
1350
1350
|
type: 'workflow';
|
|
@@ -2738,6 +2738,11 @@ type Shared_Type_64 = {
|
|
|
2738
2738
|
status: 'success' | 'error';
|
|
2739
2739
|
timeToFirstChunkMs?: (number | null) | undefined;
|
|
2740
2740
|
timeToFirstTokenMs?: (number | null) | undefined;
|
|
2741
|
+
outcome?: (string | null) | undefined;
|
|
2742
|
+
stopReason?: (string | null) | undefined;
|
|
2743
|
+
stopReasonContext?: ({
|
|
2744
|
+
[key: string]: unknown;
|
|
2745
|
+
} | null) | undefined;
|
|
2741
2746
|
};
|
|
2742
2747
|
type Shared_Type_65 = {
|
|
2743
2748
|
/** Unique id for this score event */
|
|
@@ -2848,6 +2853,14 @@ type Shared_Type_67 = {
|
|
|
2848
2853
|
spanQuery: boolean;
|
|
2849
2854
|
/** Additional identity, context and parent/root entity predicates in span queries. Treat a missing value as unavailable. */
|
|
2850
2855
|
spanQueryContextFields: boolean;
|
|
2856
|
+
/** `model` and `provider` predicates in span queries and span aggregates. Treat a missing value as unavailable. */
|
|
2857
|
+
spanQueryModelFields: boolean;
|
|
2858
|
+
/** `model` and `provider` in span aggregate `groupBy` and `countDistinct`. Treat a missing value as unavailable. */
|
|
2859
|
+
spanAggregateModelDimensions: boolean;
|
|
2860
|
+
/** `outcome` and `stopReason` predicates in span queries and span aggregates (including `groupBy` and `countDistinct`), and `outcome`, `stopReason` and `stopReasonContext` on span rows. Treat a missing value as unavailable. */
|
|
2861
|
+
spanQueryOutcomeFields: boolean;
|
|
2862
|
+
/** The root span's `outcome` and `stopReason` in trace-scope predicates and trace aggregates, both fields in `spans.some`/`spans.none` predicates and value discovery, and the root span's `outcome`, `stopReason` and `stopReasonContext` on trace rows. Treat a missing value as unavailable. */
|
|
2863
|
+
traceQueryOutcomeFields: boolean;
|
|
2851
2864
|
/** Days of traces the store keeps. Older traces are gone, so clients can stop users from picking dates before them. Omitted when the store does not report a limit. */
|
|
2852
2865
|
traceRetentionDays?: number | undefined;
|
|
2853
2866
|
/** Feedback endpoints (/observability/feedback and /observability/feedback/*). Unsupported feedback routes return 501. */
|
|
@@ -2877,6 +2890,33 @@ type Shared_Type_69 = {
|
|
|
2877
2890
|
} | undefined;
|
|
2878
2891
|
};
|
|
2879
2892
|
type Shared_Type_70 = {
|
|
2893
|
+
[key: string]: {
|
|
2894
|
+
method: string;
|
|
2895
|
+
params?: {
|
|
2896
|
+
[key: string]: unknown;
|
|
2897
|
+
} | undefined;
|
|
2898
|
+
[x: string]: unknown;
|
|
2899
|
+
};
|
|
2900
|
+
};
|
|
2901
|
+
type Shared_Type_71 = {
|
|
2902
|
+
taskKey: string;
|
|
2903
|
+
surface: string;
|
|
2904
|
+
status: 'working' | 'input_required' | 'completed' | 'failed' | 'cancelled';
|
|
2905
|
+
statusMessage?: string | undefined;
|
|
2906
|
+
createdAt: string;
|
|
2907
|
+
lastUpdatedAt: string;
|
|
2908
|
+
expiresAt?: string | undefined;
|
|
2909
|
+
principalKey: string;
|
|
2910
|
+
clientLabel?: string | undefined;
|
|
2911
|
+
inputRequests?: Shared_Type_70 | undefined;
|
|
2912
|
+
result?: {
|
|
2913
|
+
[key: string]: unknown;
|
|
2914
|
+
} | undefined;
|
|
2915
|
+
error?: {
|
|
2916
|
+
[key: string]: unknown;
|
|
2917
|
+
} | undefined;
|
|
2918
|
+
};
|
|
2919
|
+
type Shared_Type_72 = {
|
|
2880
2920
|
/** Unique identifier for the version (UUID) */
|
|
2881
2921
|
id: string;
|
|
2882
2922
|
/** ID of the agent this version belongs to */
|
|
@@ -2968,7 +3008,7 @@ type Shared_Type_70 = {
|
|
|
2968
3008
|
/** When this version was created */
|
|
2969
3009
|
createdAt: Date;
|
|
2970
3010
|
};
|
|
2971
|
-
type
|
|
3011
|
+
type Shared_Type_73 = {
|
|
2972
3012
|
/** The field path that changed */
|
|
2973
3013
|
field: string;
|
|
2974
3014
|
/** The value in the "from" version */
|
|
@@ -2976,7 +3016,7 @@ type Shared_Type_71 = {
|
|
|
2976
3016
|
/** The value in the "to" version */
|
|
2977
3017
|
currentValue: unknown;
|
|
2978
3018
|
};
|
|
2979
|
-
type
|
|
3019
|
+
type Shared_Type_74 = {
|
|
2980
3020
|
id: string;
|
|
2981
3021
|
description?: string | undefined;
|
|
2982
3022
|
metadata?: {
|
|
@@ -2993,7 +3033,7 @@ type Shared_Type_72 = {
|
|
|
2993
3033
|
createdAt: Date | string;
|
|
2994
3034
|
updatedAt: Date | string;
|
|
2995
3035
|
};
|
|
2996
|
-
type
|
|
3036
|
+
type Shared_Type_75 = {
|
|
2997
3037
|
/** Transport type: stdio for local processes, http for remote servers */
|
|
2998
3038
|
type: 'stdio' | 'http';
|
|
2999
3039
|
/** Command to run (stdio only) */
|
|
@@ -3009,7 +3049,7 @@ type Shared_Type_73 = {
|
|
|
3009
3049
|
/** Connection timeout in milliseconds */
|
|
3010
3050
|
timeout?: number | undefined;
|
|
3011
3051
|
};
|
|
3012
|
-
type
|
|
3052
|
+
type Shared_Type_76 = {
|
|
3013
3053
|
id: string;
|
|
3014
3054
|
/** MCP client status: draft, published, or archived */
|
|
3015
3055
|
status: string;
|
|
@@ -3026,10 +3066,10 @@ type Shared_Type_74 = {
|
|
|
3026
3066
|
description?: string | undefined;
|
|
3027
3067
|
/** Map of server name to server configuration */
|
|
3028
3068
|
servers: {
|
|
3029
|
-
[key: string]:
|
|
3069
|
+
[key: string]: Shared_Type_75;
|
|
3030
3070
|
};
|
|
3031
3071
|
};
|
|
3032
|
-
type
|
|
3072
|
+
type Shared_Type_77 = {
|
|
3033
3073
|
type: 'stdio' | 'http';
|
|
3034
3074
|
command?: string | undefined;
|
|
3035
3075
|
args?: string[] | undefined;
|
|
@@ -3039,7 +3079,7 @@ type Shared_Type_75 = {
|
|
|
3039
3079
|
url?: string | undefined;
|
|
3040
3080
|
timeout?: number | undefined;
|
|
3041
3081
|
};
|
|
3042
|
-
type
|
|
3082
|
+
type Shared_Type_78 = {
|
|
3043
3083
|
/** Unique identifier for the version (UUID) */
|
|
3044
3084
|
id: string;
|
|
3045
3085
|
/** ID of the MCP client this version belongs to */
|
|
@@ -3051,7 +3091,7 @@ type Shared_Type_76 = {
|
|
|
3051
3091
|
/** Description of the MCP client */
|
|
3052
3092
|
description?: string | undefined;
|
|
3053
3093
|
servers: {
|
|
3054
|
-
[key: string]:
|
|
3094
|
+
[key: string]: Shared_Type_77;
|
|
3055
3095
|
};
|
|
3056
3096
|
/** Array of field names that changed from the previous version */
|
|
3057
3097
|
changedFields?: string[] | undefined;
|
|
@@ -3060,7 +3100,7 @@ type Shared_Type_76 = {
|
|
|
3060
3100
|
/** When this version was created */
|
|
3061
3101
|
createdAt: Date;
|
|
3062
3102
|
};
|
|
3063
|
-
type
|
|
3103
|
+
type Shared_Type_79 = {
|
|
3064
3104
|
id: string;
|
|
3065
3105
|
/** Prompt block status: draft, published, or archived */
|
|
3066
3106
|
status: string;
|
|
@@ -3086,7 +3126,7 @@ type Shared_Type_77 = {
|
|
|
3086
3126
|
[key: string]: unknown;
|
|
3087
3127
|
} | undefined;
|
|
3088
3128
|
};
|
|
3089
|
-
type
|
|
3129
|
+
type Shared_Type_80 = {
|
|
3090
3130
|
/** Unique identifier for the version (UUID) */
|
|
3091
3131
|
id: string;
|
|
3092
3132
|
/** ID of the prompt block this version belongs to */
|
|
@@ -3112,8 +3152,8 @@ type Shared_Type_78 = {
|
|
|
3112
3152
|
/** When this version was created */
|
|
3113
3153
|
createdAt: Date;
|
|
3114
3154
|
};
|
|
3115
|
-
type
|
|
3116
|
-
type
|
|
3155
|
+
type Shared_Type_81 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
|
|
3156
|
+
type Shared_Type_82 = {
|
|
3117
3157
|
id: string;
|
|
3118
3158
|
/** Scorer status: draft, published, or archived */
|
|
3119
3159
|
status: string;
|
|
@@ -3129,7 +3169,7 @@ type Shared_Type_80 = {
|
|
|
3129
3169
|
/** Description of the scorer */
|
|
3130
3170
|
description?: string | undefined;
|
|
3131
3171
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
3132
|
-
type:
|
|
3172
|
+
type: Shared_Type_81;
|
|
3133
3173
|
model?: Shared_Type_12 | undefined;
|
|
3134
3174
|
/** System instructions for the judge LLM */
|
|
3135
3175
|
instructions?: string | undefined;
|
|
@@ -3147,7 +3187,7 @@ type Shared_Type_80 = {
|
|
|
3147
3187
|
rate: number;
|
|
3148
3188
|
}) | undefined;
|
|
3149
3189
|
};
|
|
3150
|
-
type
|
|
3190
|
+
type Shared_Type_83 = {
|
|
3151
3191
|
/** Unique identifier for the version (UUID) */
|
|
3152
3192
|
id: string;
|
|
3153
3193
|
/** ID of the scorer this version belongs to */
|
|
@@ -3158,7 +3198,7 @@ type Shared_Type_81 = {
|
|
|
3158
3198
|
name: string;
|
|
3159
3199
|
/** Description of the scorer */
|
|
3160
3200
|
description?: string | undefined;
|
|
3161
|
-
type:
|
|
3201
|
+
type: Shared_Type_81;
|
|
3162
3202
|
model?: Shared_Type_12 | undefined;
|
|
3163
3203
|
instructions?: string | undefined;
|
|
3164
3204
|
scoreRange?: {
|
|
@@ -3181,7 +3221,7 @@ type Shared_Type_81 = {
|
|
|
3181
3221
|
/** When this version was created */
|
|
3182
3222
|
createdAt: Date;
|
|
3183
3223
|
};
|
|
3184
|
-
type
|
|
3224
|
+
type Shared_Type_84 = {
|
|
3185
3225
|
id: string;
|
|
3186
3226
|
/** Workspace status: draft, published, or archived */
|
|
3187
3227
|
status: string;
|
|
@@ -3213,7 +3253,7 @@ type Shared_Type_82 = {
|
|
|
3213
3253
|
/** Operation timeout in milliseconds */
|
|
3214
3254
|
operationTimeout?: number | undefined;
|
|
3215
3255
|
};
|
|
3216
|
-
type
|
|
3256
|
+
type Shared_Type_85 = {
|
|
3217
3257
|
type: 'external';
|
|
3218
3258
|
/** Package path for external source */
|
|
3219
3259
|
packagePath: string;
|
|
@@ -3226,7 +3266,7 @@ type Shared_Type_83 = {
|
|
|
3226
3266
|
/** Mastra path for managed source */
|
|
3227
3267
|
mastraPath: string;
|
|
3228
3268
|
};
|
|
3229
|
-
type
|
|
3269
|
+
type Shared_Type_86 = {
|
|
3230
3270
|
id: string;
|
|
3231
3271
|
/** Skill status: draft, published, or archived */
|
|
3232
3272
|
status: string;
|
|
@@ -3250,7 +3290,7 @@ type Shared_Type_84 = {
|
|
|
3250
3290
|
/** Compatibility requirements */
|
|
3251
3291
|
compatibility?: unknown | undefined;
|
|
3252
3292
|
/** Source location of the skill */
|
|
3253
|
-
source?:
|
|
3293
|
+
source?: Shared_Type_85 | undefined;
|
|
3254
3294
|
/** List of reference file paths */
|
|
3255
3295
|
references?: string[] | undefined;
|
|
3256
3296
|
/** List of script file paths */
|
|
@@ -3258,13 +3298,13 @@ type Shared_Type_84 = {
|
|
|
3258
3298
|
/** List of asset file paths */
|
|
3259
3299
|
assets?: string[] | undefined;
|
|
3260
3300
|
/** Full file tree structure for the skill */
|
|
3261
|
-
files?:
|
|
3301
|
+
files?: Shared_Auxiliary_784[] | undefined;
|
|
3262
3302
|
/** Additional metadata for the skill */
|
|
3263
3303
|
metadata?: {
|
|
3264
3304
|
[key: string]: unknown;
|
|
3265
3305
|
} | undefined;
|
|
3266
3306
|
};
|
|
3267
|
-
type
|
|
3307
|
+
type Shared_Type_87 = {
|
|
3268
3308
|
id: string;
|
|
3269
3309
|
name: string;
|
|
3270
3310
|
description?: (string | undefined) | null;
|
|
@@ -3288,7 +3328,7 @@ type Shared_Type_85 = {
|
|
|
3288
3328
|
createdAt: Date;
|
|
3289
3329
|
updatedAt: Date;
|
|
3290
3330
|
};
|
|
3291
|
-
type
|
|
3331
|
+
type Shared_Type_88 = {
|
|
3292
3332
|
/** Name of the tool this mock applies to */
|
|
3293
3333
|
toolName: string;
|
|
3294
3334
|
/** Arguments to match against the tool call */
|
|
@@ -3300,13 +3340,13 @@ type Shared_Type_86 = {
|
|
|
3300
3340
|
/** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
|
|
3301
3341
|
matchArgs?: ('strict' | 'ignore') | undefined;
|
|
3302
3342
|
};
|
|
3303
|
-
type
|
|
3343
|
+
type Shared_Type_89 = {
|
|
3304
3344
|
/** How this item was created */
|
|
3305
3345
|
type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
|
|
3306
3346
|
/** Reference identifier (e.g., trace id, csv filename) */
|
|
3307
3347
|
referenceId?: string | undefined;
|
|
3308
3348
|
};
|
|
3309
|
-
type
|
|
3349
|
+
type Shared_Type_90 = {
|
|
3310
3350
|
id: string;
|
|
3311
3351
|
datasetId: string;
|
|
3312
3352
|
datasetVersion: number;
|
|
@@ -3315,7 +3355,7 @@ type Shared_Type_88 = {
|
|
|
3315
3355
|
groundTruth?: unknown | undefined;
|
|
3316
3356
|
expectedTrajectory?: unknown | undefined;
|
|
3317
3357
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
3318
|
-
toolMocks?: (
|
|
3358
|
+
toolMocks?: (Shared_Type_88[] | undefined) | null;
|
|
3319
3359
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
3320
3360
|
unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
|
|
3321
3361
|
scorerIds?: (string[] | undefined) | null;
|
|
@@ -3326,11 +3366,11 @@ type Shared_Type_88 = {
|
|
|
3326
3366
|
[key: string]: unknown;
|
|
3327
3367
|
} | undefined) | null;
|
|
3328
3368
|
/** Source/provenance of this dataset item */
|
|
3329
|
-
source?: (
|
|
3369
|
+
source?: (Shared_Type_89 | undefined) | null;
|
|
3330
3370
|
createdAt: Date;
|
|
3331
3371
|
updatedAt: Date;
|
|
3332
3372
|
};
|
|
3333
|
-
type
|
|
3373
|
+
type Shared_Type_91 = {
|
|
3334
3374
|
source?: string | undefined;
|
|
3335
3375
|
sourceId?: string | undefined;
|
|
3336
3376
|
sourceVersion?: string | undefined;
|
|
@@ -3338,7 +3378,7 @@ type Shared_Type_89 = {
|
|
|
3338
3378
|
[key: string]: unknown;
|
|
3339
3379
|
} | undefined;
|
|
3340
3380
|
};
|
|
3341
|
-
type
|
|
3381
|
+
type Shared_Type_92 = {
|
|
3342
3382
|
id: string;
|
|
3343
3383
|
datasetId: string | null;
|
|
3344
3384
|
datasetVersion: number | null;
|
|
@@ -3351,7 +3391,7 @@ type Shared_Type_90 = {
|
|
|
3351
3391
|
metadata?: {
|
|
3352
3392
|
[key: string]: unknown;
|
|
3353
3393
|
} | undefined;
|
|
3354
|
-
provenance?: (
|
|
3394
|
+
provenance?: (Shared_Type_91 | null) | undefined;
|
|
3355
3395
|
runnerAttestation?: ({
|
|
3356
3396
|
runnerId: string;
|
|
3357
3397
|
invocationId: string;
|
|
@@ -3371,7 +3411,7 @@ type Shared_Type_90 = {
|
|
|
3371
3411
|
createdAt: Date;
|
|
3372
3412
|
updatedAt: Date;
|
|
3373
3413
|
};
|
|
3374
|
-
type
|
|
3414
|
+
type Shared_Type_93 = {
|
|
3375
3415
|
served: {
|
|
3376
3416
|
mockIndex: number;
|
|
3377
3417
|
toolName: string;
|
|
@@ -3392,7 +3432,7 @@ type Shared_Type_91 = {
|
|
|
3392
3432
|
args: unknown;
|
|
3393
3433
|
} | undefined;
|
|
3394
3434
|
};
|
|
3395
|
-
type
|
|
3435
|
+
type Shared_Type_94 = {
|
|
3396
3436
|
text?: string | undefined;
|
|
3397
3437
|
reasoningText?: string | undefined;
|
|
3398
3438
|
object?: unknown | undefined;
|
|
@@ -3419,7 +3459,7 @@ type Shared_Type_92 = {
|
|
|
3419
3459
|
} | null) | undefined;
|
|
3420
3460
|
[x: string]: unknown;
|
|
3421
3461
|
};
|
|
3422
|
-
type
|
|
3462
|
+
type Shared_Type_95 = {
|
|
3423
3463
|
id: string;
|
|
3424
3464
|
experimentId: string;
|
|
3425
3465
|
itemId: string;
|
|
@@ -3444,12 +3484,12 @@ type Shared_Type_93 = {
|
|
|
3444
3484
|
tags?: (string[] | null) | undefined;
|
|
3445
3485
|
comment?: (string | null) | undefined;
|
|
3446
3486
|
/** Diagnostic receipt for item-level tool mocks */
|
|
3447
|
-
toolMockReport?: (
|
|
3487
|
+
toolMockReport?: (Shared_Type_93 | undefined) | null;
|
|
3448
3488
|
createdAt: Date;
|
|
3449
3489
|
targetType: 'agent';
|
|
3450
|
-
output:
|
|
3490
|
+
output: Shared_Type_94 | null;
|
|
3451
3491
|
};
|
|
3452
|
-
type
|
|
3492
|
+
type Shared_Type_96 = {
|
|
3453
3493
|
id: string;
|
|
3454
3494
|
experimentId: string;
|
|
3455
3495
|
itemId: string;
|
|
@@ -3474,7 +3514,7 @@ type Shared_Type_94 = {
|
|
|
3474
3514
|
tags?: (string[] | null) | undefined;
|
|
3475
3515
|
comment?: (string | null) | undefined;
|
|
3476
3516
|
/** Diagnostic receipt for item-level tool mocks */
|
|
3477
|
-
toolMockReport?: (
|
|
3517
|
+
toolMockReport?: (Shared_Type_93 | undefined) | null;
|
|
3478
3518
|
createdAt: Date;
|
|
3479
3519
|
targetType: 'scorer';
|
|
3480
3520
|
output: {
|
|
@@ -3484,7 +3524,7 @@ type Shared_Type_94 = {
|
|
|
3484
3524
|
[x: string]: unknown;
|
|
3485
3525
|
} | null;
|
|
3486
3526
|
};
|
|
3487
|
-
type
|
|
3527
|
+
type Shared_Type_97 = {
|
|
3488
3528
|
id: string;
|
|
3489
3529
|
experimentId: string;
|
|
3490
3530
|
itemId: string;
|
|
@@ -3509,12 +3549,12 @@ type Shared_Type_95 = {
|
|
|
3509
3549
|
tags?: (string[] | null) | undefined;
|
|
3510
3550
|
comment?: (string | null) | undefined;
|
|
3511
3551
|
/** Diagnostic receipt for item-level tool mocks */
|
|
3512
|
-
toolMockReport?: (
|
|
3552
|
+
toolMockReport?: (Shared_Type_93 | undefined) | null;
|
|
3513
3553
|
createdAt: Date;
|
|
3514
3554
|
targetType: ('workflow' | 'processor') | null;
|
|
3515
3555
|
output: unknown | null;
|
|
3516
3556
|
};
|
|
3517
|
-
type
|
|
3557
|
+
type Shared_Type_98 = {
|
|
3518
3558
|
id: string;
|
|
3519
3559
|
status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
|
|
3520
3560
|
toolName: string;
|
|
@@ -3539,7 +3579,7 @@ type Shared_Type_96 = {
|
|
|
3539
3579
|
timeoutMs: number;
|
|
3540
3580
|
suspendPayload?: unknown | undefined;
|
|
3541
3581
|
};
|
|
3542
|
-
type
|
|
3582
|
+
type Shared_Type_99 = {
|
|
3543
3583
|
kind: 'custom';
|
|
3544
3584
|
provider: string;
|
|
3545
3585
|
modelId?: string | undefined;
|
|
@@ -3547,7 +3587,7 @@ type Shared_Type_97 = {
|
|
|
3547
3587
|
provider: string;
|
|
3548
3588
|
modelId?: string | undefined;
|
|
3549
3589
|
};
|
|
3550
|
-
type
|
|
3590
|
+
type Shared_Type_100 = {
|
|
3551
3591
|
kind: 'custom';
|
|
3552
3592
|
provider: string;
|
|
3553
3593
|
modelId: string;
|
|
@@ -3555,13 +3595,13 @@ type Shared_Type_98 = {
|
|
|
3555
3595
|
provider: string;
|
|
3556
3596
|
modelId: string;
|
|
3557
3597
|
};
|
|
3558
|
-
type
|
|
3598
|
+
type Shared_Type_101 = {
|
|
3559
3599
|
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3560
3600
|
attributes?: {
|
|
3561
3601
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
3562
3602
|
} | undefined;
|
|
3563
3603
|
};
|
|
3564
|
-
type
|
|
3604
|
+
type Shared_Type_102 = {
|
|
3565
3605
|
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
3566
3606
|
attributes?: {
|
|
3567
3607
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
@@ -3573,7 +3613,7 @@ type Shared_Type_100 = {
|
|
|
3573
3613
|
} | undefined;
|
|
3574
3614
|
requireClaimedOwner?: boolean | undefined;
|
|
3575
3615
|
};
|
|
3576
|
-
type
|
|
3616
|
+
type Shared_Type_103 = {
|
|
3577
3617
|
id: string;
|
|
3578
3618
|
agentId: string;
|
|
3579
3619
|
workflowId?: undefined | undefined;
|
|
@@ -3593,8 +3633,8 @@ type Shared_Type_101 = {
|
|
|
3593
3633
|
attributes?: {
|
|
3594
3634
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
3595
3635
|
} | undefined;
|
|
3596
|
-
ifActive?:
|
|
3597
|
-
ifIdle?:
|
|
3636
|
+
ifActive?: Shared_Type_101 | undefined;
|
|
3637
|
+
ifIdle?: Shared_Type_102 | undefined;
|
|
3598
3638
|
providerOptions?: {
|
|
3599
3639
|
[key: string]: unknown;
|
|
3600
3640
|
} | undefined;
|
|
@@ -3604,14 +3644,14 @@ type Shared_Type_101 = {
|
|
|
3604
3644
|
createdAt: number;
|
|
3605
3645
|
updatedAt: number;
|
|
3606
3646
|
};
|
|
3607
|
-
type
|
|
3647
|
+
type Shared_Type_104 = {
|
|
3608
3648
|
status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
|
|
3609
3649
|
startedAt?: number | undefined;
|
|
3610
3650
|
completedAt?: number | undefined;
|
|
3611
3651
|
durationMs?: number | undefined;
|
|
3612
3652
|
error?: string | undefined;
|
|
3613
3653
|
};
|
|
3614
|
-
type
|
|
3654
|
+
type Shared_Type_105 = {
|
|
3615
3655
|
id: string;
|
|
3616
3656
|
workflowId: string;
|
|
3617
3657
|
agentId?: undefined | undefined;
|
|
@@ -3621,7 +3661,7 @@ type Shared_Type_103 = {
|
|
|
3621
3661
|
nextFireAt: number;
|
|
3622
3662
|
lastFireAt?: number | undefined;
|
|
3623
3663
|
lastRunId?: string | undefined;
|
|
3624
|
-
lastRun?:
|
|
3664
|
+
lastRun?: Shared_Type_104 | undefined;
|
|
3625
3665
|
inputData?: unknown | undefined;
|
|
3626
3666
|
initialState?: unknown | undefined;
|
|
3627
3667
|
requestContext?: {
|
|
@@ -3634,7 +3674,7 @@ type Shared_Type_103 = {
|
|
|
3634
3674
|
createdAt: number;
|
|
3635
3675
|
updatedAt: number;
|
|
3636
3676
|
};
|
|
3637
|
-
type
|
|
3677
|
+
type Shared_Type_106 = {
|
|
3638
3678
|
/** Installation identifier */
|
|
3639
3679
|
id: string;
|
|
3640
3680
|
/** Platform identifier */
|
|
@@ -8455,6 +8495,11 @@ export type PostObservabilitySpansQuery_Response = {
|
|
|
8455
8495
|
errorPreview: string | null;
|
|
8456
8496
|
timeToFirstChunkMs?: (number | null) | undefined;
|
|
8457
8497
|
timeToFirstTokenMs?: (number | null) | undefined;
|
|
8498
|
+
outcome?: (string | null) | undefined;
|
|
8499
|
+
stopReason?: (string | null) | undefined;
|
|
8500
|
+
stopReasonContext?: ({
|
|
8501
|
+
[key: string]: unknown;
|
|
8502
|
+
} | null) | undefined;
|
|
8458
8503
|
}[];
|
|
8459
8504
|
page: {
|
|
8460
8505
|
next: string | null;
|
|
@@ -10636,6 +10681,8 @@ export type GetWorkspaces_Response = {
|
|
|
10636
10681
|
agentName?: string | undefined;
|
|
10637
10682
|
capabilities: {
|
|
10638
10683
|
hasFilesystem: boolean;
|
|
10684
|
+
/** True when the filesystem comes from a resolver, so file routes cannot browse it */
|
|
10685
|
+
hasDynamicFilesystem?: boolean | undefined;
|
|
10639
10686
|
hasSandbox: boolean;
|
|
10640
10687
|
canBM25: boolean;
|
|
10641
10688
|
canVector: boolean;
|
|
@@ -10677,6 +10724,8 @@ export type GetWorkspacesWorkspaceId_Response = {
|
|
|
10677
10724
|
status?: string | undefined;
|
|
10678
10725
|
capabilities?: {
|
|
10679
10726
|
hasFilesystem: boolean;
|
|
10727
|
+
/** True when the filesystem comes from a resolver, so file routes cannot browse it */
|
|
10728
|
+
hasDynamicFilesystem?: boolean | undefined;
|
|
10680
10729
|
hasSandbox: boolean;
|
|
10681
10730
|
canBM25: boolean;
|
|
10682
10731
|
canVector: boolean;
|
|
@@ -11567,6 +11616,7 @@ export type GetMcpV0Servers_Response = {
|
|
|
11567
11616
|
};
|
|
11568
11617
|
transports?: ('streamable-http' | 'sse')[] | undefined;
|
|
11569
11618
|
events_capability?: boolean | undefined;
|
|
11619
|
+
tasks_capability?: boolean | undefined;
|
|
11570
11620
|
}[];
|
|
11571
11621
|
total_count: number;
|
|
11572
11622
|
next: string | null;
|
|
@@ -11611,6 +11661,7 @@ export type GetMcpV0ServersId_Response = {
|
|
|
11611
11661
|
remotes?: unknown[] | undefined;
|
|
11612
11662
|
transports?: ('streamable-http' | 'sse')[] | undefined;
|
|
11613
11663
|
events_capability?: boolean | undefined;
|
|
11664
|
+
tasks_capability?: boolean | undefined;
|
|
11614
11665
|
};
|
|
11615
11666
|
export type GetMcpV0ServersId_Request = Simplify<(GetMcpV0ServersId_PathParams extends never ? {} : {
|
|
11616
11667
|
params: GetMcpV0ServersId_PathParams;
|
|
@@ -11930,6 +11981,127 @@ export interface PostMcpServerIdEventsEventNameEmit_RouteContract {
|
|
|
11930
11981
|
response: PostMcpServerIdEventsEventNameEmit_Response;
|
|
11931
11982
|
responseType: 'json';
|
|
11932
11983
|
}
|
|
11984
|
+
export type GetMcpServerIdTasks_PathParams = GetMcpServerIdTools_PathParams;
|
|
11985
|
+
export type GetMcpServerIdTasks_QueryParams = {
|
|
11986
|
+
limit?: number | undefined;
|
|
11987
|
+
cursor?: string | undefined;
|
|
11988
|
+
status?: ('working' | 'input_required' | 'completed' | 'failed' | 'cancelled') | undefined;
|
|
11989
|
+
surface?: string | undefined;
|
|
11990
|
+
client?: string | undefined;
|
|
11991
|
+
key?: string | undefined;
|
|
11992
|
+
};
|
|
11993
|
+
export type GetMcpServerIdTasks_Response = {
|
|
11994
|
+
surfaces: {
|
|
11995
|
+
name: string;
|
|
11996
|
+
type: 'tool' | 'workflow' | 'agent';
|
|
11997
|
+
mode: 'auto' | 'always';
|
|
11998
|
+
recover: boolean;
|
|
11999
|
+
required: boolean;
|
|
12000
|
+
ttlMs: number | null;
|
|
12001
|
+
}[];
|
|
12002
|
+
unavailable?: ('not_listable' | 'resource_scoped') | undefined;
|
|
12003
|
+
tasks: Shared_Type_71[];
|
|
12004
|
+
nextCursor?: string | undefined;
|
|
12005
|
+
};
|
|
12006
|
+
export type GetMcpServerIdTasks_Request = Simplify<(GetMcpServerIdTasks_PathParams extends never ? {} : {
|
|
12007
|
+
params: GetMcpServerIdTasks_PathParams;
|
|
12008
|
+
}) & (GetMcpServerIdTasks_QueryParams extends never ? {} : {} extends GetMcpServerIdTasks_QueryParams ? {
|
|
12009
|
+
query?: GetMcpServerIdTasks_QueryParams;
|
|
12010
|
+
} : {
|
|
12011
|
+
query: GetMcpServerIdTasks_QueryParams;
|
|
12012
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
12013
|
+
body?: never;
|
|
12014
|
+
} : {
|
|
12015
|
+
body: never;
|
|
12016
|
+
})>;
|
|
12017
|
+
export interface GetMcpServerIdTasks_RouteContract {
|
|
12018
|
+
pathParams: GetMcpServerIdTasks_PathParams;
|
|
12019
|
+
queryParams: GetMcpServerIdTasks_QueryParams;
|
|
12020
|
+
body: never;
|
|
12021
|
+
request: GetMcpServerIdTasks_Request;
|
|
12022
|
+
response: GetMcpServerIdTasks_Response;
|
|
12023
|
+
responseType: 'json';
|
|
12024
|
+
}
|
|
12025
|
+
export type PostMcpServerIdTasksFind_PathParams = GetMcpServerIdTools_PathParams;
|
|
12026
|
+
export type PostMcpServerIdTasksFind_Body = {
|
|
12027
|
+
taskId: string;
|
|
12028
|
+
};
|
|
12029
|
+
export type PostMcpServerIdTasksFind_Response = {
|
|
12030
|
+
task: Shared_Type_71;
|
|
12031
|
+
};
|
|
12032
|
+
export type PostMcpServerIdTasksFind_Request = Simplify<(PostMcpServerIdTasksFind_PathParams extends never ? {} : {
|
|
12033
|
+
params: PostMcpServerIdTasksFind_PathParams;
|
|
12034
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
12035
|
+
query?: never;
|
|
12036
|
+
} : {
|
|
12037
|
+
query: never;
|
|
12038
|
+
}) & (PostMcpServerIdTasksFind_Body extends never ? {} : {} extends PostMcpServerIdTasksFind_Body ? {
|
|
12039
|
+
body?: PostMcpServerIdTasksFind_Body;
|
|
12040
|
+
} : {
|
|
12041
|
+
body: PostMcpServerIdTasksFind_Body;
|
|
12042
|
+
})>;
|
|
12043
|
+
export interface PostMcpServerIdTasksFind_RouteContract {
|
|
12044
|
+
pathParams: PostMcpServerIdTasksFind_PathParams;
|
|
12045
|
+
queryParams: never;
|
|
12046
|
+
body: PostMcpServerIdTasksFind_Body;
|
|
12047
|
+
request: PostMcpServerIdTasksFind_Request;
|
|
12048
|
+
response: PostMcpServerIdTasksFind_Response;
|
|
12049
|
+
responseType: 'json';
|
|
12050
|
+
}
|
|
12051
|
+
export type PostMcpServerIdTasksTaskKeyCancel_PathParams = {
|
|
12052
|
+
/** MCP server ID */
|
|
12053
|
+
serverId: string;
|
|
12054
|
+
/** Task key (a hash of the task id, as listed) */
|
|
12055
|
+
taskKey: string;
|
|
12056
|
+
};
|
|
12057
|
+
export type PostMcpServerIdTasksTaskKeyCancel_Response = PostObservabilityTracesDelete_Response;
|
|
12058
|
+
export type PostMcpServerIdTasksTaskKeyCancel_Request = Simplify<(PostMcpServerIdTasksTaskKeyCancel_PathParams extends never ? {} : {
|
|
12059
|
+
params: PostMcpServerIdTasksTaskKeyCancel_PathParams;
|
|
12060
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
12061
|
+
query?: never;
|
|
12062
|
+
} : {
|
|
12063
|
+
query: never;
|
|
12064
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
12065
|
+
body?: never;
|
|
12066
|
+
} : {
|
|
12067
|
+
body: never;
|
|
12068
|
+
})>;
|
|
12069
|
+
export interface PostMcpServerIdTasksTaskKeyCancel_RouteContract {
|
|
12070
|
+
pathParams: PostMcpServerIdTasksTaskKeyCancel_PathParams;
|
|
12071
|
+
queryParams: never;
|
|
12072
|
+
body: never;
|
|
12073
|
+
request: PostMcpServerIdTasksTaskKeyCancel_Request;
|
|
12074
|
+
response: PostMcpServerIdTasksTaskKeyCancel_Response;
|
|
12075
|
+
responseType: 'json';
|
|
12076
|
+
}
|
|
12077
|
+
export type PostMcpServerIdTasksTaskKeyInput_PathParams = PostMcpServerIdTasksTaskKeyCancel_PathParams;
|
|
12078
|
+
export type PostMcpServerIdTasksTaskKeyInput_Body = {
|
|
12079
|
+
inputResponses: {
|
|
12080
|
+
[key: string]: {
|
|
12081
|
+
[key: string]: unknown;
|
|
12082
|
+
};
|
|
12083
|
+
};
|
|
12084
|
+
};
|
|
12085
|
+
export type PostMcpServerIdTasksTaskKeyInput_Response = PostObservabilityTracesDelete_Response;
|
|
12086
|
+
export type PostMcpServerIdTasksTaskKeyInput_Request = Simplify<(PostMcpServerIdTasksTaskKeyInput_PathParams extends never ? {} : {
|
|
12087
|
+
params: PostMcpServerIdTasksTaskKeyInput_PathParams;
|
|
12088
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
12089
|
+
query?: never;
|
|
12090
|
+
} : {
|
|
12091
|
+
query: never;
|
|
12092
|
+
}) & (PostMcpServerIdTasksTaskKeyInput_Body extends never ? {} : {} extends PostMcpServerIdTasksTaskKeyInput_Body ? {
|
|
12093
|
+
body?: PostMcpServerIdTasksTaskKeyInput_Body;
|
|
12094
|
+
} : {
|
|
12095
|
+
body: PostMcpServerIdTasksTaskKeyInput_Body;
|
|
12096
|
+
})>;
|
|
12097
|
+
export interface PostMcpServerIdTasksTaskKeyInput_RouteContract {
|
|
12098
|
+
pathParams: PostMcpServerIdTasksTaskKeyInput_PathParams;
|
|
12099
|
+
queryParams: never;
|
|
12100
|
+
body: PostMcpServerIdTasksTaskKeyInput_Body;
|
|
12101
|
+
request: PostMcpServerIdTasksTaskKeyInput_Request;
|
|
12102
|
+
response: PostMcpServerIdTasksTaskKeyInput_Response;
|
|
12103
|
+
responseType: 'json';
|
|
12104
|
+
}
|
|
11933
12105
|
export type AllMcpServerIdMcp_PathParams = GetMcpServerIdTools_PathParams;
|
|
11934
12106
|
export type AllMcpServerIdMcp_Request = Simplify<(AllMcpServerIdMcp_PathParams extends never ? {} : {
|
|
11935
12107
|
params: AllMcpServerIdMcp_PathParams;
|
|
@@ -12554,7 +12726,7 @@ export type GetStoredAgentsAgentIdVersions_Response = {
|
|
|
12554
12726
|
page: number;
|
|
12555
12727
|
perPage: number | false;
|
|
12556
12728
|
hasMore: boolean;
|
|
12557
|
-
versions:
|
|
12729
|
+
versions: Shared_Type_72[];
|
|
12558
12730
|
};
|
|
12559
12731
|
export type GetStoredAgentsAgentIdVersions_Request = Simplify<(GetStoredAgentsAgentIdVersions_PathParams extends never ? {} : {
|
|
12560
12732
|
params: GetStoredAgentsAgentIdVersions_PathParams;
|
|
@@ -12700,7 +12872,7 @@ export type GetStoredAgentsAgentIdVersionsCompare_QueryParams = {
|
|
|
12700
12872
|
};
|
|
12701
12873
|
export type GetStoredAgentsAgentIdVersionsCompare_Response = {
|
|
12702
12874
|
/** List of differences between versions */
|
|
12703
|
-
diffs:
|
|
12875
|
+
diffs: Shared_Type_73[];
|
|
12704
12876
|
/** The source version */
|
|
12705
12877
|
fromVersion: {
|
|
12706
12878
|
/** Unique identifier for the version (UUID) */
|
|
@@ -12913,7 +13085,7 @@ export type GetStoredAgentsAgentIdVersionsVersionId_PathParams = {
|
|
|
12913
13085
|
/** Unique identifier for the version (UUID) */
|
|
12914
13086
|
versionId: string;
|
|
12915
13087
|
};
|
|
12916
|
-
export type GetStoredAgentsAgentIdVersionsVersionId_Response =
|
|
13088
|
+
export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_72;
|
|
12917
13089
|
export type GetStoredAgentsAgentIdVersionsVersionId_Request = Simplify<(GetStoredAgentsAgentIdVersionsVersionId_PathParams extends never ? {} : {
|
|
12918
13090
|
params: GetStoredAgentsAgentIdVersionsVersionId_PathParams;
|
|
12919
13091
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13145,7 +13317,7 @@ export type GetStoredWorkflows_QueryParams = {
|
|
|
13145
13317
|
authorId?: string | undefined;
|
|
13146
13318
|
};
|
|
13147
13319
|
export type GetStoredWorkflows_Response = {
|
|
13148
|
-
workflows:
|
|
13320
|
+
workflows: Shared_Type_74[];
|
|
13149
13321
|
total: number;
|
|
13150
13322
|
};
|
|
13151
13323
|
export type GetStoredWorkflows_Request = Simplify<(never extends never ? {} : {
|
|
@@ -13245,7 +13417,7 @@ export type GetStoredWorkflowsDynamicWorkflowId_PathParams = {
|
|
|
13245
13417
|
/** Unique identifier for the dynamic workflow definition */
|
|
13246
13418
|
dynamicWorkflowId: string;
|
|
13247
13419
|
};
|
|
13248
|
-
export type GetStoredWorkflowsDynamicWorkflowId_Response =
|
|
13420
|
+
export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_74;
|
|
13249
13421
|
export type GetStoredWorkflowsDynamicWorkflowId_Request = Simplify<(GetStoredWorkflowsDynamicWorkflowId_PathParams extends never ? {} : {
|
|
13250
13422
|
params: GetStoredWorkflowsDynamicWorkflowId_PathParams;
|
|
13251
13423
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13310,7 +13482,7 @@ export type GetStoredMcpClients_Response = {
|
|
|
13310
13482
|
page: number;
|
|
13311
13483
|
perPage: number | false;
|
|
13312
13484
|
hasMore: boolean;
|
|
13313
|
-
mcpClients:
|
|
13485
|
+
mcpClients: Shared_Type_76[];
|
|
13314
13486
|
};
|
|
13315
13487
|
export type GetStoredMcpClients_Request = Simplify<(never extends never ? {} : {
|
|
13316
13488
|
params: never;
|
|
@@ -13336,7 +13508,7 @@ export type GetStoredMcpClientsStoredMCPClientId_PathParams = {
|
|
|
13336
13508
|
storedMCPClientId: string;
|
|
13337
13509
|
};
|
|
13338
13510
|
export type GetStoredMcpClientsStoredMCPClientId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
|
|
13339
|
-
export type GetStoredMcpClientsStoredMCPClientId_Response =
|
|
13511
|
+
export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_76;
|
|
13340
13512
|
export type GetStoredMcpClientsStoredMCPClientId_Request = Simplify<(GetStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
|
|
13341
13513
|
params: GetStoredMcpClientsStoredMCPClientId_PathParams;
|
|
13342
13514
|
}) & (GetStoredMcpClientsStoredMCPClientId_QueryParams extends never ? {} : {} extends GetStoredMcpClientsStoredMCPClientId_QueryParams ? {
|
|
@@ -13419,7 +13591,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Response = {
|
|
|
13419
13591
|
} | undefined;
|
|
13420
13592
|
createdAt: Date;
|
|
13421
13593
|
updatedAt: Date;
|
|
13422
|
-
} |
|
|
13594
|
+
} | Shared_Type_76;
|
|
13423
13595
|
export type PatchStoredMcpClientsStoredMCPClientId_Request = Simplify<(PatchStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
|
|
13424
13596
|
params: PatchStoredMcpClientsStoredMCPClientId_PathParams;
|
|
13425
13597
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13470,7 +13642,7 @@ export type GetStoredMcpClientsMcpClientIdVersions_Response = {
|
|
|
13470
13642
|
page: number;
|
|
13471
13643
|
perPage: number | false;
|
|
13472
13644
|
hasMore: boolean;
|
|
13473
|
-
versions:
|
|
13645
|
+
versions: Shared_Type_78[];
|
|
13474
13646
|
};
|
|
13475
13647
|
export type GetStoredMcpClientsMcpClientIdVersions_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersions_PathParams extends never ? {} : {
|
|
13476
13648
|
params: GetStoredMcpClientsMcpClientIdVersions_PathParams;
|
|
@@ -13502,7 +13674,7 @@ export type PostStoredMcpClientsMcpClientIdVersions_Response = {
|
|
|
13502
13674
|
/** Description of the MCP client */
|
|
13503
13675
|
description?: (string | undefined) | undefined;
|
|
13504
13676
|
servers?: {
|
|
13505
|
-
[key: string]:
|
|
13677
|
+
[key: string]: Shared_Type_77;
|
|
13506
13678
|
} | undefined;
|
|
13507
13679
|
/** Array of field names that changed from the previous version */
|
|
13508
13680
|
changedFields?: (string[] | undefined) | undefined;
|
|
@@ -13533,7 +13705,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_PathParams = GetStored
|
|
|
13533
13705
|
export type GetStoredMcpClientsMcpClientIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
|
|
13534
13706
|
export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
|
|
13535
13707
|
/** List of differences between versions */
|
|
13536
|
-
diffs:
|
|
13708
|
+
diffs: Shared_Type_73[];
|
|
13537
13709
|
/** The source version */
|
|
13538
13710
|
fromVersion: {
|
|
13539
13711
|
/** Unique identifier for the version (UUID) */
|
|
@@ -13547,7 +13719,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
|
|
|
13547
13719
|
/** Description of the MCP client */
|
|
13548
13720
|
description?: string | undefined;
|
|
13549
13721
|
servers: {
|
|
13550
|
-
[key: string]:
|
|
13722
|
+
[key: string]: Shared_Type_77;
|
|
13551
13723
|
};
|
|
13552
13724
|
/** Array of field names that changed from the previous version */
|
|
13553
13725
|
changedFields?: string[] | undefined;
|
|
@@ -13569,7 +13741,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
|
|
|
13569
13741
|
/** Description of the MCP client */
|
|
13570
13742
|
description?: string | undefined;
|
|
13571
13743
|
servers: {
|
|
13572
|
-
[key: string]:
|
|
13744
|
+
[key: string]: Shared_Type_77;
|
|
13573
13745
|
};
|
|
13574
13746
|
/** Array of field names that changed from the previous version */
|
|
13575
13747
|
changedFields?: string[] | undefined;
|
|
@@ -13604,7 +13776,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams = {
|
|
|
13604
13776
|
/** Unique identifier for the version (UUID) */
|
|
13605
13777
|
versionId: string;
|
|
13606
13778
|
};
|
|
13607
|
-
export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response =
|
|
13779
|
+
export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_78;
|
|
13608
13780
|
export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams extends never ? {} : {
|
|
13609
13781
|
params: GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams;
|
|
13610
13782
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13708,7 +13880,7 @@ export type GetStoredPromptBlocks_Response = {
|
|
|
13708
13880
|
page: number;
|
|
13709
13881
|
perPage: number | false;
|
|
13710
13882
|
hasMore: boolean;
|
|
13711
|
-
promptBlocks:
|
|
13883
|
+
promptBlocks: Shared_Type_79[];
|
|
13712
13884
|
};
|
|
13713
13885
|
export type GetStoredPromptBlocks_Request = Simplify<(never extends never ? {} : {
|
|
13714
13886
|
params: never;
|
|
@@ -13734,7 +13906,7 @@ export type GetStoredPromptBlocksStoredPromptBlockId_PathParams = {
|
|
|
13734
13906
|
storedPromptBlockId: string;
|
|
13735
13907
|
};
|
|
13736
13908
|
export type GetStoredPromptBlocksStoredPromptBlockId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
|
|
13737
|
-
export type GetStoredPromptBlocksStoredPromptBlockId_Response =
|
|
13909
|
+
export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_79;
|
|
13738
13910
|
export type GetStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(GetStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
|
|
13739
13911
|
params: GetStoredPromptBlocksStoredPromptBlockId_PathParams;
|
|
13740
13912
|
}) & (GetStoredPromptBlocksStoredPromptBlockId_QueryParams extends never ? {} : {} extends GetStoredPromptBlocksStoredPromptBlockId_QueryParams ? {
|
|
@@ -13831,7 +14003,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Response = {
|
|
|
13831
14003
|
} | undefined;
|
|
13832
14004
|
createdAt: Date;
|
|
13833
14005
|
updatedAt: Date;
|
|
13834
|
-
} |
|
|
14006
|
+
} | Shared_Type_79;
|
|
13835
14007
|
export type PatchStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(PatchStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
|
|
13836
14008
|
params: PatchStoredPromptBlocksStoredPromptBlockId_PathParams;
|
|
13837
14009
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -13882,7 +14054,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersions_Response = {
|
|
|
13882
14054
|
page: number;
|
|
13883
14055
|
perPage: number | false;
|
|
13884
14056
|
hasMore: boolean;
|
|
13885
|
-
versions:
|
|
14057
|
+
versions: Shared_Type_80[];
|
|
13886
14058
|
};
|
|
13887
14059
|
export type GetStoredPromptBlocksPromptBlockIdVersions_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersions_PathParams extends never ? {} : {
|
|
13888
14060
|
params: GetStoredPromptBlocksPromptBlockIdVersions_PathParams;
|
|
@@ -13950,7 +14122,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_PathParams = GetSt
|
|
|
13950
14122
|
export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
|
|
13951
14123
|
export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
|
|
13952
14124
|
/** List of differences between versions */
|
|
13953
|
-
diffs:
|
|
14125
|
+
diffs: Shared_Type_73[];
|
|
13954
14126
|
/** The source version */
|
|
13955
14127
|
fromVersion: {
|
|
13956
14128
|
/** Unique identifier for the version (UUID) */
|
|
@@ -14031,7 +14203,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams = {
|
|
|
14031
14203
|
/** Unique identifier for the version (UUID) */
|
|
14032
14204
|
versionId: string;
|
|
14033
14205
|
};
|
|
14034
|
-
export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response =
|
|
14206
|
+
export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_80;
|
|
14035
14207
|
export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams extends never ? {} : {
|
|
14036
14208
|
params: GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams;
|
|
14037
14209
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14135,7 +14307,7 @@ export type GetStoredScorers_Response = {
|
|
|
14135
14307
|
page: number;
|
|
14136
14308
|
perPage: number | false;
|
|
14137
14309
|
hasMore: boolean;
|
|
14138
|
-
scorerDefinitions:
|
|
14310
|
+
scorerDefinitions: Shared_Type_82[];
|
|
14139
14311
|
};
|
|
14140
14312
|
export type GetStoredScorers_Request = Simplify<(never extends never ? {} : {
|
|
14141
14313
|
params: never;
|
|
@@ -14161,7 +14333,7 @@ export type GetStoredScorersStoredScorerId_PathParams = {
|
|
|
14161
14333
|
storedScorerId: string;
|
|
14162
14334
|
};
|
|
14163
14335
|
export type GetStoredScorersStoredScorerId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
|
|
14164
|
-
export type GetStoredScorersStoredScorerId_Response =
|
|
14336
|
+
export type GetStoredScorersStoredScorerId_Response = Shared_Type_82;
|
|
14165
14337
|
export type GetStoredScorersStoredScorerId_Request = Simplify<(GetStoredScorersStoredScorerId_PathParams extends never ? {} : {
|
|
14166
14338
|
params: GetStoredScorersStoredScorerId_PathParams;
|
|
14167
14339
|
}) & (GetStoredScorersStoredScorerId_QueryParams extends never ? {} : {} extends GetStoredScorersStoredScorerId_QueryParams ? {
|
|
@@ -14274,7 +14446,7 @@ export type PatchStoredScorersStoredScorerId_Response = {
|
|
|
14274
14446
|
} | undefined;
|
|
14275
14447
|
createdAt: Date;
|
|
14276
14448
|
updatedAt: Date;
|
|
14277
|
-
} |
|
|
14449
|
+
} | Shared_Type_82;
|
|
14278
14450
|
export type PatchStoredScorersStoredScorerId_Request = Simplify<(PatchStoredScorersStoredScorerId_PathParams extends never ? {} : {
|
|
14279
14451
|
params: PatchStoredScorersStoredScorerId_PathParams;
|
|
14280
14452
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14325,7 +14497,7 @@ export type GetStoredScorersScorerIdVersions_Response = {
|
|
|
14325
14497
|
page: number;
|
|
14326
14498
|
perPage: number | false;
|
|
14327
14499
|
hasMore: boolean;
|
|
14328
|
-
versions:
|
|
14500
|
+
versions: Shared_Type_83[];
|
|
14329
14501
|
};
|
|
14330
14502
|
export type GetStoredScorersScorerIdVersions_Request = Simplify<(GetStoredScorersScorerIdVersions_PathParams extends never ? {} : {
|
|
14331
14503
|
params: GetStoredScorersScorerIdVersions_PathParams;
|
|
@@ -14356,7 +14528,7 @@ export type PostStoredScorersScorerIdVersions_Response = {
|
|
|
14356
14528
|
name?: string | undefined;
|
|
14357
14529
|
/** Description of the scorer */
|
|
14358
14530
|
description?: (string | undefined) | undefined;
|
|
14359
|
-
type?:
|
|
14531
|
+
type?: Shared_Type_81 | undefined;
|
|
14360
14532
|
model?: (Shared_Type_12 | undefined) | undefined;
|
|
14361
14533
|
instructions?: (string | undefined) | undefined;
|
|
14362
14534
|
scoreRange?: ({
|
|
@@ -14401,7 +14573,7 @@ export type GetStoredScorersScorerIdVersionsCompare_PathParams = GetStoredScorer
|
|
|
14401
14573
|
export type GetStoredScorersScorerIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
|
|
14402
14574
|
export type GetStoredScorersScorerIdVersionsCompare_Response = {
|
|
14403
14575
|
/** List of differences between versions */
|
|
14404
|
-
diffs:
|
|
14576
|
+
diffs: Shared_Type_73[];
|
|
14405
14577
|
/** The source version */
|
|
14406
14578
|
fromVersion: {
|
|
14407
14579
|
/** Unique identifier for the version (UUID) */
|
|
@@ -14414,7 +14586,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
|
|
|
14414
14586
|
name: string;
|
|
14415
14587
|
/** Description of the scorer */
|
|
14416
14588
|
description?: string | undefined;
|
|
14417
|
-
type:
|
|
14589
|
+
type: Shared_Type_81;
|
|
14418
14590
|
model?: Shared_Type_12 | undefined;
|
|
14419
14591
|
instructions?: string | undefined;
|
|
14420
14592
|
scoreRange?: {
|
|
@@ -14449,7 +14621,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
|
|
|
14449
14621
|
name: string;
|
|
14450
14622
|
/** Description of the scorer */
|
|
14451
14623
|
description?: string | undefined;
|
|
14452
|
-
type:
|
|
14624
|
+
type: Shared_Type_81;
|
|
14453
14625
|
model?: Shared_Type_12 | undefined;
|
|
14454
14626
|
instructions?: string | undefined;
|
|
14455
14627
|
scoreRange?: {
|
|
@@ -14498,7 +14670,7 @@ export type GetStoredScorersScorerIdVersionsVersionId_PathParams = {
|
|
|
14498
14670
|
/** Unique identifier for the version (UUID) */
|
|
14499
14671
|
versionId: string;
|
|
14500
14672
|
};
|
|
14501
|
-
export type GetStoredScorersScorerIdVersionsVersionId_Response =
|
|
14673
|
+
export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_83;
|
|
14502
14674
|
export type GetStoredScorersScorerIdVersionsVersionId_Request = Simplify<(GetStoredScorersScorerIdVersionsVersionId_PathParams extends never ? {} : {
|
|
14503
14675
|
params: GetStoredScorersScorerIdVersionsVersionId_PathParams;
|
|
14504
14676
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14658,7 +14830,7 @@ export type GetStoredWorkspacesStoredWorkspaceId_PathParams = {
|
|
|
14658
14830
|
/** Unique identifier for the stored workspace */
|
|
14659
14831
|
storedWorkspaceId: string;
|
|
14660
14832
|
};
|
|
14661
|
-
export type GetStoredWorkspacesStoredWorkspaceId_Response =
|
|
14833
|
+
export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_84;
|
|
14662
14834
|
export type GetStoredWorkspacesStoredWorkspaceId_Request = Simplify<(GetStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
|
|
14663
14835
|
params: GetStoredWorkspacesStoredWorkspaceId_PathParams;
|
|
14664
14836
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14764,7 +14936,7 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Response = {
|
|
|
14764
14936
|
} | undefined;
|
|
14765
14937
|
createdAt: Date;
|
|
14766
14938
|
updatedAt: Date;
|
|
14767
|
-
} |
|
|
14939
|
+
} | Shared_Type_84;
|
|
14768
14940
|
export type PatchStoredWorkspacesStoredWorkspaceId_Request = Simplify<(PatchStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
|
|
14769
14941
|
params: PatchStoredWorkspacesStoredWorkspaceId_PathParams;
|
|
14770
14942
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14832,7 +15004,7 @@ export type GetStoredSkills_Response = {
|
|
|
14832
15004
|
page: number;
|
|
14833
15005
|
perPage: number | false;
|
|
14834
15006
|
hasMore: boolean;
|
|
14835
|
-
skills:
|
|
15007
|
+
skills: Shared_Type_86[];
|
|
14836
15008
|
};
|
|
14837
15009
|
export type GetStoredSkills_Request = Simplify<(never extends never ? {} : {
|
|
14838
15010
|
params: never;
|
|
@@ -14857,7 +15029,7 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
|
|
|
14857
15029
|
/** Unique identifier for the stored skill */
|
|
14858
15030
|
storedSkillId: string;
|
|
14859
15031
|
};
|
|
14860
|
-
export type GetStoredSkillsStoredSkillId_Response =
|
|
15032
|
+
export type GetStoredSkillsStoredSkillId_Response = Shared_Type_86;
|
|
14861
15033
|
export type GetStoredSkillsStoredSkillId_Request = Simplify<(GetStoredSkillsStoredSkillId_PathParams extends never ? {} : {
|
|
14862
15034
|
params: GetStoredSkillsStoredSkillId_PathParams;
|
|
14863
15035
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -14903,7 +15075,7 @@ export type PostStoredSkills_Body = {
|
|
|
14903
15075
|
/** List of asset file paths */
|
|
14904
15076
|
assets?: string[] | undefined;
|
|
14905
15077
|
/** Full file tree structure for the skill */
|
|
14906
|
-
files?:
|
|
15078
|
+
files?: InputShared_Auxiliary_788[] | undefined;
|
|
14907
15079
|
/** Additional metadata for the skill */
|
|
14908
15080
|
metadata?: {
|
|
14909
15081
|
[key: string]: unknown;
|
|
@@ -14953,7 +15125,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
14953
15125
|
/** List of asset file paths */
|
|
14954
15126
|
assets?: (string[] | undefined) | undefined;
|
|
14955
15127
|
/** Full file tree structure for the skill */
|
|
14956
|
-
files?: (
|
|
15128
|
+
files?: (InputShared_Auxiliary_788[] | undefined) | undefined;
|
|
14957
15129
|
/** Additional metadata for the skill */
|
|
14958
15130
|
metadata?: ({
|
|
14959
15131
|
[key: string]: unknown;
|
|
@@ -14967,7 +15139,7 @@ export type PatchStoredSkillsStoredSkillId_Response = {
|
|
|
14967
15139
|
visibility?: ('private' | 'public') | undefined;
|
|
14968
15140
|
createdAt: Date;
|
|
14969
15141
|
updatedAt: Date;
|
|
14970
|
-
} |
|
|
15142
|
+
} | Shared_Type_86;
|
|
14971
15143
|
export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
|
|
14972
15144
|
params: PatchStoredSkillsStoredSkillId_PathParams;
|
|
14973
15145
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -15690,7 +15862,7 @@ export type GetDatasets_QueryParams = {
|
|
|
15690
15862
|
} | undefined) | undefined;
|
|
15691
15863
|
};
|
|
15692
15864
|
export type GetDatasets_Response = {
|
|
15693
|
-
datasets:
|
|
15865
|
+
datasets: Shared_Type_87[];
|
|
15694
15866
|
pagination: {
|
|
15695
15867
|
total: number;
|
|
15696
15868
|
page: number;
|
|
@@ -15745,7 +15917,7 @@ export type PostDatasets_Body = {
|
|
|
15745
15917
|
/** IDs of scorers attached to this dataset */
|
|
15746
15918
|
scorerIds?: string[] | undefined;
|
|
15747
15919
|
};
|
|
15748
|
-
export type PostDatasets_Response =
|
|
15920
|
+
export type PostDatasets_Response = Shared_Type_87;
|
|
15749
15921
|
export type PostDatasets_Request = Simplify<(never extends never ? {} : {
|
|
15750
15922
|
params: never;
|
|
15751
15923
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -15775,7 +15947,7 @@ export type GetDatasetsDatasetId_QueryParams = {
|
|
|
15775
15947
|
/** Restrict lookup to the given project */
|
|
15776
15948
|
projectId?: string | undefined;
|
|
15777
15949
|
};
|
|
15778
|
-
export type GetDatasetsDatasetId_Response =
|
|
15950
|
+
export type GetDatasetsDatasetId_Response = Shared_Type_87 | null;
|
|
15779
15951
|
export type GetDatasetsDatasetId_Request = Simplify<(GetDatasetsDatasetId_PathParams extends never ? {} : {
|
|
15780
15952
|
params: GetDatasetsDatasetId_PathParams;
|
|
15781
15953
|
}) & (GetDatasetsDatasetId_QueryParams extends never ? {} : {} extends GetDatasetsDatasetId_QueryParams ? {
|
|
@@ -15881,7 +16053,7 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
|
|
|
15881
16053
|
} | undefined) | undefined;
|
|
15882
16054
|
};
|
|
15883
16055
|
export type GetDatasetsDatasetIdItems_Response = {
|
|
15884
|
-
items:
|
|
16056
|
+
items: Shared_Type_90[];
|
|
15885
16057
|
pagination: {
|
|
15886
16058
|
total: number;
|
|
15887
16059
|
page: number;
|
|
@@ -15935,7 +16107,7 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
15935
16107
|
/** Source/provenance of this dataset item */
|
|
15936
16108
|
source?: InputShared_Type_112 | undefined;
|
|
15937
16109
|
};
|
|
15938
|
-
export type PostDatasetsDatasetIdItems_Response =
|
|
16110
|
+
export type PostDatasetsDatasetIdItems_Response = Shared_Type_90;
|
|
15939
16111
|
export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
|
|
15940
16112
|
params: PostDatasetsDatasetIdItems_PathParams;
|
|
15941
16113
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -15979,7 +16151,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
15979
16151
|
}[];
|
|
15980
16152
|
};
|
|
15981
16153
|
export type PostDatasetsDatasetIdItemsBatch_Response = {
|
|
15982
|
-
items:
|
|
16154
|
+
items: Shared_Type_90[];
|
|
15983
16155
|
count: number;
|
|
15984
16156
|
};
|
|
15985
16157
|
export type PostDatasetsDatasetIdItemsBatch_Request = Simplify<(PostDatasetsDatasetIdItemsBatch_PathParams extends never ? {} : {
|
|
@@ -16187,7 +16359,7 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
|
|
|
16187
16359
|
groundTruth?: unknown | undefined;
|
|
16188
16360
|
expectedTrajectory?: unknown | undefined;
|
|
16189
16361
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
16190
|
-
toolMocks?: (
|
|
16362
|
+
toolMocks?: (Shared_Type_88[] | undefined) | null;
|
|
16191
16363
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
16192
16364
|
unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
|
|
16193
16365
|
scorerIds?: (string[] | undefined) | null;
|
|
@@ -16267,7 +16439,7 @@ export type GetExperiments_QueryParams = {
|
|
|
16267
16439
|
} | undefined) | undefined;
|
|
16268
16440
|
};
|
|
16269
16441
|
export type GetExperiments_Response = {
|
|
16270
|
-
experiments:
|
|
16442
|
+
experiments: Shared_Type_92[];
|
|
16271
16443
|
pagination: {
|
|
16272
16444
|
total: number;
|
|
16273
16445
|
page: number;
|
|
@@ -16327,7 +16499,7 @@ export type GetExperimentsExperimentId_PathParams = {
|
|
|
16327
16499
|
experimentId: string;
|
|
16328
16500
|
};
|
|
16329
16501
|
export type GetExperimentsExperimentId_QueryParams = GetDatasetsDatasetId_QueryParams;
|
|
16330
|
-
export type GetExperimentsExperimentId_Response =
|
|
16502
|
+
export type GetExperimentsExperimentId_Response = Shared_Type_92;
|
|
16331
16503
|
export type GetExperimentsExperimentId_Request = Simplify<(GetExperimentsExperimentId_PathParams extends never ? {} : {
|
|
16332
16504
|
params: GetExperimentsExperimentId_PathParams;
|
|
16333
16505
|
}) & (GetExperimentsExperimentId_QueryParams extends never ? {} : {} extends GetExperimentsExperimentId_QueryParams ? {
|
|
@@ -16478,7 +16650,7 @@ export type PostDatasetsDatasetIdExperiments_Response = {
|
|
|
16478
16650
|
completedAt: Date;
|
|
16479
16651
|
retryCount: number;
|
|
16480
16652
|
/** Diagnostic receipt for item-level tool mocks */
|
|
16481
|
-
toolMockReport?: (
|
|
16653
|
+
toolMockReport?: (Shared_Type_93 | undefined) | null;
|
|
16482
16654
|
scores: {
|
|
16483
16655
|
scorerId: string;
|
|
16484
16656
|
scorerName: string;
|
|
@@ -16524,7 +16696,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Body = {
|
|
|
16524
16696
|
} | undefined;
|
|
16525
16697
|
};
|
|
16526
16698
|
export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Response = {
|
|
16527
|
-
result:
|
|
16699
|
+
result: Shared_Type_95 | Shared_Type_96 | Shared_Type_97;
|
|
16528
16700
|
scores: {
|
|
16529
16701
|
scorerId: string;
|
|
16530
16702
|
scorerName: string;
|
|
@@ -16597,7 +16769,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Body = {
|
|
|
16597
16769
|
} | undefined;
|
|
16598
16770
|
}[] | undefined;
|
|
16599
16771
|
};
|
|
16600
|
-
export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response =
|
|
16772
|
+
export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_95 | Shared_Type_96 | Shared_Type_97;
|
|
16601
16773
|
export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams extends never ? {} : {
|
|
16602
16774
|
params: PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
|
|
16603
16775
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -16639,7 +16811,7 @@ export interface PostDatasetsDatasetIdExperimentsExperimentIdFinalize_RouteContr
|
|
|
16639
16811
|
responseType: 'json';
|
|
16640
16812
|
}
|
|
16641
16813
|
export type GetDatasetsDatasetIdExperimentsExperimentId_PathParams = PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
|
|
16642
|
-
export type GetDatasetsDatasetIdExperimentsExperimentId_Response =
|
|
16814
|
+
export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_92 | null;
|
|
16643
16815
|
export type GetDatasetsDatasetIdExperimentsExperimentId_Request = Simplify<(GetDatasetsDatasetIdExperimentsExperimentId_PathParams extends never ? {} : {
|
|
16644
16816
|
params: GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
|
|
16645
16817
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -16724,7 +16896,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
|
|
|
16724
16896
|
} | undefined) | undefined;
|
|
16725
16897
|
};
|
|
16726
16898
|
export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
|
|
16727
|
-
results: (
|
|
16899
|
+
results: (Shared_Type_95 | Shared_Type_96 | Shared_Type_97)[];
|
|
16728
16900
|
pagination: {
|
|
16729
16901
|
total: number;
|
|
16730
16902
|
page: number;
|
|
@@ -16972,7 +17144,7 @@ export type GetBackgroundTasks_QueryParams = {
|
|
|
16972
17144
|
perPage?: number | undefined;
|
|
16973
17145
|
};
|
|
16974
17146
|
export type GetBackgroundTasks_Response = {
|
|
16975
|
-
tasks:
|
|
17147
|
+
tasks: Shared_Type_98[];
|
|
16976
17148
|
total: number;
|
|
16977
17149
|
};
|
|
16978
17150
|
export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
|
|
@@ -16997,7 +17169,7 @@ export interface GetBackgroundTasks_RouteContract {
|
|
|
16997
17169
|
export type GetBackgroundTasksBackgroundTaskId_PathParams = {
|
|
16998
17170
|
backgroundTaskId: string;
|
|
16999
17171
|
};
|
|
17000
|
-
export type GetBackgroundTasksBackgroundTaskId_Response =
|
|
17172
|
+
export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_98;
|
|
17001
17173
|
export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
|
|
17002
17174
|
params: GetBackgroundTasksBackgroundTaskId_PathParams;
|
|
17003
17175
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -17037,8 +17209,8 @@ export type GetEditorBuilderSettings_Response = {
|
|
|
17037
17209
|
configuration?: {
|
|
17038
17210
|
agent?: {
|
|
17039
17211
|
models?: {
|
|
17040
|
-
allowed?:
|
|
17041
|
-
default?:
|
|
17212
|
+
allowed?: Shared_Type_99[] | undefined;
|
|
17213
|
+
default?: Shared_Type_100 | undefined;
|
|
17042
17214
|
} | undefined;
|
|
17043
17215
|
tools?: {
|
|
17044
17216
|
allowed?: string[] | undefined;
|
|
@@ -17055,8 +17227,8 @@ export type GetEditorBuilderSettings_Response = {
|
|
|
17055
17227
|
modelPolicy?: {
|
|
17056
17228
|
active: boolean;
|
|
17057
17229
|
pickerVisible?: boolean | undefined;
|
|
17058
|
-
allowed?:
|
|
17059
|
-
default?:
|
|
17230
|
+
allowed?: Shared_Type_99[] | undefined;
|
|
17231
|
+
default?: Shared_Type_100 | undefined;
|
|
17060
17232
|
} | undefined;
|
|
17061
17233
|
picker?: {
|
|
17062
17234
|
visibleTools: string[] | null;
|
|
@@ -17089,8 +17261,8 @@ export type GetEditorWorkflowBuilderSettings_Response = {
|
|
|
17089
17261
|
modelPolicy?: {
|
|
17090
17262
|
active: boolean;
|
|
17091
17263
|
pickerVisible?: boolean | undefined;
|
|
17092
|
-
allowed?:
|
|
17093
|
-
default?:
|
|
17264
|
+
allowed?: Shared_Type_99[] | undefined;
|
|
17265
|
+
default?: Shared_Type_100 | undefined;
|
|
17094
17266
|
} | undefined;
|
|
17095
17267
|
};
|
|
17096
17268
|
export type GetEditorWorkflowBuilderSettings_Request = Simplify<(never extends never ? {} : {
|
|
@@ -17739,7 +17911,7 @@ export type GetSchedules_QueryParams = {
|
|
|
17739
17911
|
name?: string | undefined;
|
|
17740
17912
|
};
|
|
17741
17913
|
export type GetSchedules_Response = {
|
|
17742
|
-
schedules: (
|
|
17914
|
+
schedules: (Shared_Type_103 | Shared_Type_105)[];
|
|
17743
17915
|
};
|
|
17744
17916
|
export type GetSchedules_Request = Simplify<(never extends never ? {} : {
|
|
17745
17917
|
params: never;
|
|
@@ -17763,7 +17935,7 @@ export interface GetSchedules_RouteContract {
|
|
|
17763
17935
|
export type GetSchedulesScheduleId_PathParams = {
|
|
17764
17936
|
scheduleId: string;
|
|
17765
17937
|
};
|
|
17766
|
-
export type GetSchedulesScheduleId_Response =
|
|
17938
|
+
export type GetSchedulesScheduleId_Response = Shared_Type_103 | Shared_Type_105;
|
|
17767
17939
|
export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
|
|
17768
17940
|
params: GetSchedulesScheduleId_PathParams;
|
|
17769
17941
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -17928,7 +18100,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
|
|
|
17928
18100
|
metadata?: {
|
|
17929
18101
|
[key: string]: unknown;
|
|
17930
18102
|
} | undefined;
|
|
17931
|
-
run?:
|
|
18103
|
+
run?: Shared_Type_104 | undefined;
|
|
17932
18104
|
}[];
|
|
17933
18105
|
};
|
|
17934
18106
|
export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
|
|
@@ -18052,7 +18224,7 @@ export type GetChannelsPlatformInstallations_PathParams = {
|
|
|
18052
18224
|
/** Channel platform identifier (e.g., "slack") */
|
|
18053
18225
|
platform: string;
|
|
18054
18226
|
};
|
|
18055
|
-
export type GetChannelsPlatformInstallations_Response =
|
|
18227
|
+
export type GetChannelsPlatformInstallations_Response = Shared_Type_106[];
|
|
18056
18228
|
export type GetChannelsPlatformInstallations_Request = Simplify<(GetChannelsPlatformInstallations_PathParams extends never ? {} : {
|
|
18057
18229
|
params: GetChannelsPlatformInstallations_PathParams;
|
|
18058
18230
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -18126,7 +18298,7 @@ export type PostChannelsPlatformAgentIdReconcile_PathParams = {
|
|
|
18126
18298
|
/** Agent identifier */
|
|
18127
18299
|
agentId: string;
|
|
18128
18300
|
};
|
|
18129
|
-
export type PostChannelsPlatformAgentIdReconcile_Response =
|
|
18301
|
+
export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_106 | null;
|
|
18130
18302
|
export type PostChannelsPlatformAgentIdReconcile_Request = Simplify<(PostChannelsPlatformAgentIdReconcile_PathParams extends never ? {} : {
|
|
18131
18303
|
params: PostChannelsPlatformAgentIdReconcile_PathParams;
|
|
18132
18304
|
}) & (never extends never ? {} : {} extends never ? {
|
|
@@ -19466,6 +19638,10 @@ export interface RouteTypes {
|
|
|
19466
19638
|
'POST /mcp/:serverId/events/:eventName/poll': PostMcpServerIdEventsEventNamePoll_RouteContract;
|
|
19467
19639
|
'POST /mcp/:serverId/events/:eventName/stream': PostMcpServerIdEventsEventNameStream_RouteContract;
|
|
19468
19640
|
'POST /mcp/:serverId/events/:eventName/emit': PostMcpServerIdEventsEventNameEmit_RouteContract;
|
|
19641
|
+
'GET /mcp/:serverId/tasks': GetMcpServerIdTasks_RouteContract;
|
|
19642
|
+
'POST /mcp/:serverId/tasks/find': PostMcpServerIdTasksFind_RouteContract;
|
|
19643
|
+
'POST /mcp/:serverId/tasks/:taskKey/cancel': PostMcpServerIdTasksTaskKeyCancel_RouteContract;
|
|
19644
|
+
'POST /mcp/:serverId/tasks/:taskKey/input': PostMcpServerIdTasksTaskKeyInput_RouteContract;
|
|
19469
19645
|
'ALL /mcp/:serverId/mcp': AllMcpServerIdMcp_RouteContract;
|
|
19470
19646
|
'ALL /mcp/:serverId/sse': AllMcpServerIdSse_RouteContract;
|
|
19471
19647
|
'POST /mcp/:serverId/messages': PostMcpServerIdMessages_RouteContract;
|
|
@@ -20181,6 +20357,18 @@ export interface Client {
|
|
|
20181
20357
|
'/mcp/:serverId/sse': {
|
|
20182
20358
|
ALL: AllMcpServerIdSse_RouteContract;
|
|
20183
20359
|
};
|
|
20360
|
+
'/mcp/:serverId/tasks': {
|
|
20361
|
+
GET: GetMcpServerIdTasks_RouteContract;
|
|
20362
|
+
};
|
|
20363
|
+
'/mcp/:serverId/tasks/:taskKey/cancel': {
|
|
20364
|
+
POST: PostMcpServerIdTasksTaskKeyCancel_RouteContract;
|
|
20365
|
+
};
|
|
20366
|
+
'/mcp/:serverId/tasks/:taskKey/input': {
|
|
20367
|
+
POST: PostMcpServerIdTasksTaskKeyInput_RouteContract;
|
|
20368
|
+
};
|
|
20369
|
+
'/mcp/:serverId/tasks/find': {
|
|
20370
|
+
POST: PostMcpServerIdTasksFind_RouteContract;
|
|
20371
|
+
};
|
|
20184
20372
|
'/mcp/:serverId/tools': {
|
|
20185
20373
|
GET: GetMcpServerIdTools_RouteContract;
|
|
20186
20374
|
};
|