@mastra/client-js 1.56.0-alpha.9 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,7 @@ type InputShared_Auxiliary_271 = {
131
131
  none: InputShared_Auxiliary_207;
132
132
  };
133
133
  };
134
- type InputShared_Auxiliary_699 = {
134
+ type InputShared_Auxiliary_703 = {
135
135
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
136
136
  left: {
137
137
  path: string;
@@ -163,24 +163,24 @@ type InputShared_Auxiliary_699 = {
163
163
  };
164
164
  } | {
165
165
  op: 'and' | 'or';
166
- args: InputShared_Auxiliary_699[];
166
+ args: InputShared_Auxiliary_703[];
167
167
  } | {
168
168
  op: 'not';
169
- arg: InputShared_Auxiliary_699;
169
+ arg: InputShared_Auxiliary_703;
170
170
  };
171
- type InputShared_Auxiliary_773 = {
171
+ type InputShared_Auxiliary_777 = {
172
172
  id?: string | undefined;
173
173
  name: string;
174
174
  type: 'file' | 'folder';
175
175
  content?: string | undefined;
176
- children?: InputShared_Auxiliary_773[] | undefined;
176
+ children?: InputShared_Auxiliary_777[] | undefined;
177
177
  };
178
- type Shared_Auxiliary_767 = {
178
+ type Shared_Auxiliary_777 = {
179
179
  id?: string | undefined;
180
180
  name: string;
181
181
  type: 'file' | 'folder';
182
182
  content?: string | undefined;
183
- children?: Shared_Auxiliary_767[] | undefined;
183
+ children?: Shared_Auxiliary_777[] | undefined;
184
184
  };
185
185
  type InputShared_Type_0 = {
186
186
  thread: string | {
@@ -1332,7 +1332,7 @@ type InputShared_Type_88 = {
1332
1332
  [key: string]: unknown;
1333
1333
  } | undefined;
1334
1334
  steps: InputShared_Type_83[];
1335
- predicates: InputShared_Auxiliary_699[];
1335
+ predicates: InputShared_Auxiliary_703[];
1336
1336
  };
1337
1337
  type InputShared_Type_89 = {
1338
1338
  type: 'loop';
@@ -1343,7 +1343,7 @@ type InputShared_Type_89 = {
1343
1343
  } | undefined;
1344
1344
  step: InputShared_Type_83;
1345
1345
  loopType: 'dowhile' | 'dountil';
1346
- predicate: InputShared_Auxiliary_699;
1346
+ predicate: InputShared_Auxiliary_703;
1347
1347
  };
1348
1348
  type InputShared_Type_90 = InputShared_Type_80 | InputShared_Type_81 | InputShared_Type_82 | {
1349
1349
  type: 'workflow';
@@ -1625,6 +1625,7 @@ type InputShared_Type_113 = {
1625
1625
  [key: string]: unknown;
1626
1626
  } | undefined;
1627
1627
  } | undefined;
1628
+ requireClaimedOwner?: boolean | undefined;
1628
1629
  };
1629
1630
  type Shared_Type_0 = {
1630
1631
  id: string;
@@ -2813,6 +2814,18 @@ type Shared_Type_68 = {
2813
2814
  } | undefined;
2814
2815
  };
2815
2816
  type Shared_Type_69 = {
2817
+ eventId: string;
2818
+ name: string;
2819
+ timestamp: string;
2820
+ data: {
2821
+ [key: string]: unknown;
2822
+ };
2823
+ cursor?: (string | null) | undefined;
2824
+ _meta?: {
2825
+ [key: string]: unknown;
2826
+ } | undefined;
2827
+ };
2828
+ type Shared_Type_70 = {
2816
2829
  /** Unique identifier for the version (UUID) */
2817
2830
  id: string;
2818
2831
  /** ID of the agent this version belongs to */
@@ -2904,7 +2917,7 @@ type Shared_Type_69 = {
2904
2917
  /** When this version was created */
2905
2918
  createdAt: Date;
2906
2919
  };
2907
- type Shared_Type_70 = {
2920
+ type Shared_Type_71 = {
2908
2921
  /** The field path that changed */
2909
2922
  field: string;
2910
2923
  /** The value in the "from" version */
@@ -2912,7 +2925,7 @@ type Shared_Type_70 = {
2912
2925
  /** The value in the "to" version */
2913
2926
  currentValue: unknown;
2914
2927
  };
2915
- type Shared_Type_71 = {
2928
+ type Shared_Type_72 = {
2916
2929
  id: string;
2917
2930
  description?: string | undefined;
2918
2931
  metadata?: {
@@ -2929,7 +2942,7 @@ type Shared_Type_71 = {
2929
2942
  createdAt: Date | string;
2930
2943
  updatedAt: Date | string;
2931
2944
  };
2932
- type Shared_Type_72 = {
2945
+ type Shared_Type_73 = {
2933
2946
  /** Transport type: stdio for local processes, http for remote servers */
2934
2947
  type: 'stdio' | 'http';
2935
2948
  /** Command to run (stdio only) */
@@ -2945,7 +2958,7 @@ type Shared_Type_72 = {
2945
2958
  /** Connection timeout in milliseconds */
2946
2959
  timeout?: number | undefined;
2947
2960
  };
2948
- type Shared_Type_73 = {
2961
+ type Shared_Type_74 = {
2949
2962
  id: string;
2950
2963
  /** MCP client status: draft, published, or archived */
2951
2964
  status: string;
@@ -2962,10 +2975,10 @@ type Shared_Type_73 = {
2962
2975
  description?: string | undefined;
2963
2976
  /** Map of server name to server configuration */
2964
2977
  servers: {
2965
- [key: string]: Shared_Type_72;
2978
+ [key: string]: Shared_Type_73;
2966
2979
  };
2967
2980
  };
2968
- type Shared_Type_74 = {
2981
+ type Shared_Type_75 = {
2969
2982
  type: 'stdio' | 'http';
2970
2983
  command?: string | undefined;
2971
2984
  args?: string[] | undefined;
@@ -2975,7 +2988,7 @@ type Shared_Type_74 = {
2975
2988
  url?: string | undefined;
2976
2989
  timeout?: number | undefined;
2977
2990
  };
2978
- type Shared_Type_75 = {
2991
+ type Shared_Type_76 = {
2979
2992
  /** Unique identifier for the version (UUID) */
2980
2993
  id: string;
2981
2994
  /** ID of the MCP client this version belongs to */
@@ -2987,7 +3000,7 @@ type Shared_Type_75 = {
2987
3000
  /** Description of the MCP client */
2988
3001
  description?: string | undefined;
2989
3002
  servers: {
2990
- [key: string]: Shared_Type_74;
3003
+ [key: string]: Shared_Type_75;
2991
3004
  };
2992
3005
  /** Array of field names that changed from the previous version */
2993
3006
  changedFields?: string[] | undefined;
@@ -2996,7 +3009,7 @@ type Shared_Type_75 = {
2996
3009
  /** When this version was created */
2997
3010
  createdAt: Date;
2998
3011
  };
2999
- type Shared_Type_76 = {
3012
+ type Shared_Type_77 = {
3000
3013
  id: string;
3001
3014
  /** Prompt block status: draft, published, or archived */
3002
3015
  status: string;
@@ -3022,7 +3035,7 @@ type Shared_Type_76 = {
3022
3035
  [key: string]: unknown;
3023
3036
  } | undefined;
3024
3037
  };
3025
- type Shared_Type_77 = {
3038
+ type Shared_Type_78 = {
3026
3039
  /** Unique identifier for the version (UUID) */
3027
3040
  id: string;
3028
3041
  /** ID of the prompt block this version belongs to */
@@ -3048,8 +3061,8 @@ type Shared_Type_77 = {
3048
3061
  /** When this version was created */
3049
3062
  createdAt: Date;
3050
3063
  };
3051
- type Shared_Type_78 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
3052
- type Shared_Type_79 = {
3064
+ type Shared_Type_79 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
3065
+ type Shared_Type_80 = {
3053
3066
  id: string;
3054
3067
  /** Scorer status: draft, published, or archived */
3055
3068
  status: string;
@@ -3065,7 +3078,7 @@ type Shared_Type_79 = {
3065
3078
  /** Description of the scorer */
3066
3079
  description?: string | undefined;
3067
3080
  /** Scorer type: llm-judge for custom, or a preset type name */
3068
- type: Shared_Type_78;
3081
+ type: Shared_Type_79;
3069
3082
  model?: Shared_Type_12 | undefined;
3070
3083
  /** System instructions for the judge LLM */
3071
3084
  instructions?: string | undefined;
@@ -3083,7 +3096,7 @@ type Shared_Type_79 = {
3083
3096
  rate: number;
3084
3097
  }) | undefined;
3085
3098
  };
3086
- type Shared_Type_80 = {
3099
+ type Shared_Type_81 = {
3087
3100
  /** Unique identifier for the version (UUID) */
3088
3101
  id: string;
3089
3102
  /** ID of the scorer this version belongs to */
@@ -3094,7 +3107,7 @@ type Shared_Type_80 = {
3094
3107
  name: string;
3095
3108
  /** Description of the scorer */
3096
3109
  description?: string | undefined;
3097
- type: Shared_Type_78;
3110
+ type: Shared_Type_79;
3098
3111
  model?: Shared_Type_12 | undefined;
3099
3112
  instructions?: string | undefined;
3100
3113
  scoreRange?: {
@@ -3117,7 +3130,7 @@ type Shared_Type_80 = {
3117
3130
  /** When this version was created */
3118
3131
  createdAt: Date;
3119
3132
  };
3120
- type Shared_Type_81 = {
3133
+ type Shared_Type_82 = {
3121
3134
  id: string;
3122
3135
  /** Workspace status: draft, published, or archived */
3123
3136
  status: string;
@@ -3149,7 +3162,7 @@ type Shared_Type_81 = {
3149
3162
  /** Operation timeout in milliseconds */
3150
3163
  operationTimeout?: number | undefined;
3151
3164
  };
3152
- type Shared_Type_82 = {
3165
+ type Shared_Type_83 = {
3153
3166
  type: 'external';
3154
3167
  /** Package path for external source */
3155
3168
  packagePath: string;
@@ -3162,7 +3175,7 @@ type Shared_Type_82 = {
3162
3175
  /** Mastra path for managed source */
3163
3176
  mastraPath: string;
3164
3177
  };
3165
- type Shared_Type_83 = {
3178
+ type Shared_Type_84 = {
3166
3179
  id: string;
3167
3180
  /** Skill status: draft, published, or archived */
3168
3181
  status: string;
@@ -3186,7 +3199,7 @@ type Shared_Type_83 = {
3186
3199
  /** Compatibility requirements */
3187
3200
  compatibility?: unknown | undefined;
3188
3201
  /** Source location of the skill */
3189
- source?: Shared_Type_82 | undefined;
3202
+ source?: Shared_Type_83 | undefined;
3190
3203
  /** List of reference file paths */
3191
3204
  references?: string[] | undefined;
3192
3205
  /** List of script file paths */
@@ -3194,13 +3207,13 @@ type Shared_Type_83 = {
3194
3207
  /** List of asset file paths */
3195
3208
  assets?: string[] | undefined;
3196
3209
  /** Full file tree structure for the skill */
3197
- files?: Shared_Auxiliary_767[] | undefined;
3210
+ files?: Shared_Auxiliary_777[] | undefined;
3198
3211
  /** Additional metadata for the skill */
3199
3212
  metadata?: {
3200
3213
  [key: string]: unknown;
3201
3214
  } | undefined;
3202
3215
  };
3203
- type Shared_Type_84 = {
3216
+ type Shared_Type_85 = {
3204
3217
  id: string;
3205
3218
  name: string;
3206
3219
  description?: (string | undefined) | null;
@@ -3224,7 +3237,7 @@ type Shared_Type_84 = {
3224
3237
  createdAt: Date;
3225
3238
  updatedAt: Date;
3226
3239
  };
3227
- type Shared_Type_85 = {
3240
+ type Shared_Type_86 = {
3228
3241
  /** Name of the tool this mock applies to */
3229
3242
  toolName: string;
3230
3243
  /** Arguments to match against the tool call */
@@ -3236,13 +3249,13 @@ type Shared_Type_85 = {
3236
3249
  /** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
3237
3250
  matchArgs?: ('strict' | 'ignore') | undefined;
3238
3251
  };
3239
- type Shared_Type_86 = {
3252
+ type Shared_Type_87 = {
3240
3253
  /** How this item was created */
3241
3254
  type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
3242
3255
  /** Reference identifier (e.g., trace id, csv filename) */
3243
3256
  referenceId?: string | undefined;
3244
3257
  };
3245
- type Shared_Type_87 = {
3258
+ type Shared_Type_88 = {
3246
3259
  id: string;
3247
3260
  datasetId: string;
3248
3261
  datasetVersion: number;
@@ -3251,7 +3264,7 @@ type Shared_Type_87 = {
3251
3264
  groundTruth?: unknown | undefined;
3252
3265
  expectedTrajectory?: unknown | undefined;
3253
3266
  /** Ordered item-level static tool mocks served in place of executing the real tool */
3254
- toolMocks?: (Shared_Type_85[] | undefined) | null;
3267
+ toolMocks?: (Shared_Type_86[] | undefined) | null;
3255
3268
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
3256
3269
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
3257
3270
  scorerIds?: (string[] | undefined) | null;
@@ -3262,11 +3275,11 @@ type Shared_Type_87 = {
3262
3275
  [key: string]: unknown;
3263
3276
  } | undefined) | null;
3264
3277
  /** Source/provenance of this dataset item */
3265
- source?: (Shared_Type_86 | undefined) | null;
3278
+ source?: (Shared_Type_87 | undefined) | null;
3266
3279
  createdAt: Date;
3267
3280
  updatedAt: Date;
3268
3281
  };
3269
- type Shared_Type_88 = {
3282
+ type Shared_Type_89 = {
3270
3283
  source?: string | undefined;
3271
3284
  sourceId?: string | undefined;
3272
3285
  sourceVersion?: string | undefined;
@@ -3274,7 +3287,7 @@ type Shared_Type_88 = {
3274
3287
  [key: string]: unknown;
3275
3288
  } | undefined;
3276
3289
  };
3277
- type Shared_Type_89 = {
3290
+ type Shared_Type_90 = {
3278
3291
  id: string;
3279
3292
  datasetId: string | null;
3280
3293
  datasetVersion: number | null;
@@ -3287,7 +3300,7 @@ type Shared_Type_89 = {
3287
3300
  metadata?: {
3288
3301
  [key: string]: unknown;
3289
3302
  } | undefined;
3290
- provenance?: (Shared_Type_88 | null) | undefined;
3303
+ provenance?: (Shared_Type_89 | null) | undefined;
3291
3304
  runnerAttestation?: ({
3292
3305
  runnerId: string;
3293
3306
  invocationId: string;
@@ -3307,7 +3320,7 @@ type Shared_Type_89 = {
3307
3320
  createdAt: Date;
3308
3321
  updatedAt: Date;
3309
3322
  };
3310
- type Shared_Type_90 = {
3323
+ type Shared_Type_91 = {
3311
3324
  served: {
3312
3325
  mockIndex: number;
3313
3326
  toolName: string;
@@ -3328,7 +3341,7 @@ type Shared_Type_90 = {
3328
3341
  args: unknown;
3329
3342
  } | undefined;
3330
3343
  };
3331
- type Shared_Type_91 = {
3344
+ type Shared_Type_92 = {
3332
3345
  text?: string | undefined;
3333
3346
  reasoningText?: string | undefined;
3334
3347
  object?: unknown | undefined;
@@ -3355,7 +3368,7 @@ type Shared_Type_91 = {
3355
3368
  } | null) | undefined;
3356
3369
  [x: string]: unknown;
3357
3370
  };
3358
- type Shared_Type_92 = {
3371
+ type Shared_Type_93 = {
3359
3372
  id: string;
3360
3373
  experimentId: string;
3361
3374
  itemId: string;
@@ -3380,12 +3393,12 @@ type Shared_Type_92 = {
3380
3393
  tags?: (string[] | null) | undefined;
3381
3394
  comment?: (string | null) | undefined;
3382
3395
  /** Diagnostic receipt for item-level tool mocks */
3383
- toolMockReport?: (Shared_Type_90 | undefined) | null;
3396
+ toolMockReport?: (Shared_Type_91 | undefined) | null;
3384
3397
  createdAt: Date;
3385
3398
  targetType: 'agent';
3386
- output: Shared_Type_91 | null;
3399
+ output: Shared_Type_92 | null;
3387
3400
  };
3388
- type Shared_Type_93 = {
3401
+ type Shared_Type_94 = {
3389
3402
  id: string;
3390
3403
  experimentId: string;
3391
3404
  itemId: string;
@@ -3410,7 +3423,7 @@ type Shared_Type_93 = {
3410
3423
  tags?: (string[] | null) | undefined;
3411
3424
  comment?: (string | null) | undefined;
3412
3425
  /** Diagnostic receipt for item-level tool mocks */
3413
- toolMockReport?: (Shared_Type_90 | undefined) | null;
3426
+ toolMockReport?: (Shared_Type_91 | undefined) | null;
3414
3427
  createdAt: Date;
3415
3428
  targetType: 'scorer';
3416
3429
  output: {
@@ -3420,7 +3433,7 @@ type Shared_Type_93 = {
3420
3433
  [x: string]: unknown;
3421
3434
  } | null;
3422
3435
  };
3423
- type Shared_Type_94 = {
3436
+ type Shared_Type_95 = {
3424
3437
  id: string;
3425
3438
  experimentId: string;
3426
3439
  itemId: string;
@@ -3445,12 +3458,12 @@ type Shared_Type_94 = {
3445
3458
  tags?: (string[] | null) | undefined;
3446
3459
  comment?: (string | null) | undefined;
3447
3460
  /** Diagnostic receipt for item-level tool mocks */
3448
- toolMockReport?: (Shared_Type_90 | undefined) | null;
3461
+ toolMockReport?: (Shared_Type_91 | undefined) | null;
3449
3462
  createdAt: Date;
3450
3463
  targetType: ('workflow' | 'processor') | null;
3451
3464
  output: unknown | null;
3452
3465
  };
3453
- type Shared_Type_95 = {
3466
+ type Shared_Type_96 = {
3454
3467
  id: string;
3455
3468
  status: 'pending' | 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled' | 'timed_out';
3456
3469
  toolName: string;
@@ -3475,7 +3488,7 @@ type Shared_Type_95 = {
3475
3488
  timeoutMs: number;
3476
3489
  suspendPayload?: unknown | undefined;
3477
3490
  };
3478
- type Shared_Type_96 = {
3491
+ type Shared_Type_97 = {
3479
3492
  kind: 'custom';
3480
3493
  provider: string;
3481
3494
  modelId?: string | undefined;
@@ -3483,7 +3496,7 @@ type Shared_Type_96 = {
3483
3496
  provider: string;
3484
3497
  modelId?: string | undefined;
3485
3498
  };
3486
- type Shared_Type_97 = {
3499
+ type Shared_Type_98 = {
3487
3500
  kind: 'custom';
3488
3501
  provider: string;
3489
3502
  modelId: string;
@@ -3491,13 +3504,13 @@ type Shared_Type_97 = {
3491
3504
  provider: string;
3492
3505
  modelId: string;
3493
3506
  };
3494
- type Shared_Type_98 = {
3507
+ type Shared_Type_99 = {
3495
3508
  behavior?: ('deliver' | 'persist' | 'discard') | undefined;
3496
3509
  attributes?: {
3497
3510
  [key: string]: (string | number | boolean | null) | undefined;
3498
3511
  } | undefined;
3499
3512
  };
3500
- type Shared_Type_99 = {
3513
+ type Shared_Type_100 = {
3501
3514
  behavior?: ('wake' | 'persist' | 'discard') | undefined;
3502
3515
  attributes?: {
3503
3516
  [key: string]: (string | number | boolean | null) | undefined;
@@ -3507,8 +3520,9 @@ type Shared_Type_99 = {
3507
3520
  [key: string]: unknown;
3508
3521
  } | undefined;
3509
3522
  } | undefined;
3523
+ requireClaimedOwner?: boolean | undefined;
3510
3524
  };
3511
- type Shared_Type_100 = {
3525
+ type Shared_Type_101 = {
3512
3526
  id: string;
3513
3527
  agentId: string;
3514
3528
  workflowId?: undefined | undefined;
@@ -3528,8 +3542,8 @@ type Shared_Type_100 = {
3528
3542
  attributes?: {
3529
3543
  [key: string]: (string | number | boolean | null) | undefined;
3530
3544
  } | undefined;
3531
- ifActive?: Shared_Type_98 | undefined;
3532
- ifIdle?: Shared_Type_99 | undefined;
3545
+ ifActive?: Shared_Type_99 | undefined;
3546
+ ifIdle?: Shared_Type_100 | undefined;
3533
3547
  providerOptions?: {
3534
3548
  [key: string]: unknown;
3535
3549
  } | undefined;
@@ -3539,14 +3553,14 @@ type Shared_Type_100 = {
3539
3553
  createdAt: number;
3540
3554
  updatedAt: number;
3541
3555
  };
3542
- type Shared_Type_101 = {
3556
+ type Shared_Type_102 = {
3543
3557
  status: 'running' | 'success' | 'failed' | 'tripwire' | 'suspended' | 'waiting' | 'pending' | 'canceled' | 'bailed' | 'paused' | 'skipped';
3544
3558
  startedAt?: number | undefined;
3545
3559
  completedAt?: number | undefined;
3546
3560
  durationMs?: number | undefined;
3547
3561
  error?: string | undefined;
3548
3562
  };
3549
- type Shared_Type_102 = {
3563
+ type Shared_Type_103 = {
3550
3564
  id: string;
3551
3565
  workflowId: string;
3552
3566
  agentId?: undefined | undefined;
@@ -3556,7 +3570,7 @@ type Shared_Type_102 = {
3556
3570
  nextFireAt: number;
3557
3571
  lastFireAt?: number | undefined;
3558
3572
  lastRunId?: string | undefined;
3559
- lastRun?: Shared_Type_101 | undefined;
3573
+ lastRun?: Shared_Type_102 | undefined;
3560
3574
  inputData?: unknown | undefined;
3561
3575
  initialState?: unknown | undefined;
3562
3576
  requestContext?: {
@@ -3569,7 +3583,7 @@ type Shared_Type_102 = {
3569
3583
  createdAt: number;
3570
3584
  updatedAt: number;
3571
3585
  };
3572
- type Shared_Type_103 = {
3586
+ type Shared_Type_104 = {
3573
3587
  /** Installation identifier */
3574
3588
  id: string;
3575
3589
  /** Platform identifier */
@@ -11437,6 +11451,7 @@ export type GetMcpV0Servers_Response = {
11437
11451
  is_latest: boolean;
11438
11452
  };
11439
11453
  transports?: ('streamable-http' | 'sse')[] | undefined;
11454
+ events_capability?: boolean | undefined;
11440
11455
  }[];
11441
11456
  total_count: number;
11442
11457
  next: string | null;
@@ -11480,6 +11495,7 @@ export type GetMcpV0ServersId_Response = {
11480
11495
  packages?: unknown[] | undefined;
11481
11496
  remotes?: unknown[] | undefined;
11482
11497
  transports?: ('streamable-http' | 'sse')[] | undefined;
11498
+ events_capability?: boolean | undefined;
11483
11499
  };
11484
11500
  export type GetMcpV0ServersId_Request = Simplify<(GetMcpV0ServersId_PathParams extends never ? {} : {
11485
11501
  params: GetMcpV0ServersId_PathParams;
@@ -11655,6 +11671,150 @@ export interface PostMcpServerIdResourcesRead_RouteContract {
11655
11671
  response: PostMcpServerIdResourcesRead_Response;
11656
11672
  responseType: 'json';
11657
11673
  }
11674
+ export type GetMcpServerIdEvents_PathParams = GetMcpServerIdTools_PathParams;
11675
+ export type GetMcpServerIdEvents_Response = {
11676
+ events: {
11677
+ name: string;
11678
+ description?: string | undefined;
11679
+ delivery: ('push' | 'poll' | 'webhook')[];
11680
+ inputSchema?: {
11681
+ [key: string]: unknown;
11682
+ } | undefined;
11683
+ payloadSchema?: {
11684
+ [key: string]: unknown;
11685
+ } | undefined;
11686
+ emittable: boolean;
11687
+ }[];
11688
+ testEmit: boolean;
11689
+ };
11690
+ export type GetMcpServerIdEvents_Request = Simplify<(GetMcpServerIdEvents_PathParams extends never ? {} : {
11691
+ params: GetMcpServerIdEvents_PathParams;
11692
+ }) & (never extends never ? {} : {} extends never ? {
11693
+ query?: never;
11694
+ } : {
11695
+ query: never;
11696
+ }) & (never extends never ? {} : {} extends never ? {
11697
+ body?: never;
11698
+ } : {
11699
+ body: never;
11700
+ })>;
11701
+ export interface GetMcpServerIdEvents_RouteContract {
11702
+ pathParams: GetMcpServerIdEvents_PathParams;
11703
+ queryParams: never;
11704
+ body: never;
11705
+ request: GetMcpServerIdEvents_Request;
11706
+ response: GetMcpServerIdEvents_Response;
11707
+ responseType: 'json';
11708
+ }
11709
+ export type PostMcpServerIdEventsEventNamePoll_PathParams = {
11710
+ /** MCP server ID */
11711
+ serverId: string;
11712
+ /** Event type name */
11713
+ eventName: string;
11714
+ };
11715
+ export type PostMcpServerIdEventsEventNamePoll_Body = {
11716
+ arguments?: {
11717
+ [key: string]: unknown;
11718
+ } | undefined;
11719
+ cursor?: (string | null) | undefined;
11720
+ maxEvents?: number | undefined;
11721
+ };
11722
+ export type PostMcpServerIdEventsEventNamePoll_Response = {
11723
+ events: Shared_Type_69[];
11724
+ cursor: string | null;
11725
+ hasMore?: boolean | undefined;
11726
+ truncated?: boolean | undefined;
11727
+ nextPollMs?: number | undefined;
11728
+ };
11729
+ export type PostMcpServerIdEventsEventNamePoll_Request = Simplify<(PostMcpServerIdEventsEventNamePoll_PathParams extends never ? {} : {
11730
+ params: PostMcpServerIdEventsEventNamePoll_PathParams;
11731
+ }) & (never extends never ? {} : {} extends never ? {
11732
+ query?: never;
11733
+ } : {
11734
+ query: never;
11735
+ }) & (PostMcpServerIdEventsEventNamePoll_Body extends never ? {} : {} extends PostMcpServerIdEventsEventNamePoll_Body ? {
11736
+ body?: PostMcpServerIdEventsEventNamePoll_Body;
11737
+ } : {
11738
+ body: PostMcpServerIdEventsEventNamePoll_Body;
11739
+ })>;
11740
+ export interface PostMcpServerIdEventsEventNamePoll_RouteContract {
11741
+ pathParams: PostMcpServerIdEventsEventNamePoll_PathParams;
11742
+ queryParams: never;
11743
+ body: PostMcpServerIdEventsEventNamePoll_Body;
11744
+ request: PostMcpServerIdEventsEventNamePoll_Request;
11745
+ response: PostMcpServerIdEventsEventNamePoll_Response;
11746
+ responseType: 'json';
11747
+ }
11748
+ export type PostMcpServerIdEventsEventNameStream_PathParams = PostMcpServerIdEventsEventNamePoll_PathParams;
11749
+ export type PostMcpServerIdEventsEventNameStream_Body = {
11750
+ arguments?: {
11751
+ [key: string]: unknown;
11752
+ } | undefined;
11753
+ cursor?: (string | null) | undefined;
11754
+ };
11755
+ export type PostMcpServerIdEventsEventNameStream_Response = {
11756
+ type: 'active';
11757
+ cursor: string | null;
11758
+ truncated: boolean;
11759
+ } | {
11760
+ type: 'event';
11761
+ occurrence: Shared_Type_69;
11762
+ } | {
11763
+ type: 'heartbeat';
11764
+ cursor: string | null;
11765
+ } | {
11766
+ type: 'error';
11767
+ message: string;
11768
+ } | {
11769
+ type: 'terminated';
11770
+ };
11771
+ export type PostMcpServerIdEventsEventNameStream_Request = Simplify<(PostMcpServerIdEventsEventNameStream_PathParams extends never ? {} : {
11772
+ params: PostMcpServerIdEventsEventNameStream_PathParams;
11773
+ }) & (never extends never ? {} : {} extends never ? {
11774
+ query?: never;
11775
+ } : {
11776
+ query: never;
11777
+ }) & (PostMcpServerIdEventsEventNameStream_Body extends never ? {} : {} extends PostMcpServerIdEventsEventNameStream_Body ? {
11778
+ body?: PostMcpServerIdEventsEventNameStream_Body;
11779
+ } : {
11780
+ body: PostMcpServerIdEventsEventNameStream_Body;
11781
+ })>;
11782
+ export interface PostMcpServerIdEventsEventNameStream_RouteContract {
11783
+ pathParams: PostMcpServerIdEventsEventNameStream_PathParams;
11784
+ queryParams: never;
11785
+ body: PostMcpServerIdEventsEventNameStream_Body;
11786
+ request: PostMcpServerIdEventsEventNameStream_Request;
11787
+ response: PostMcpServerIdEventsEventNameStream_Response;
11788
+ responseType: 'stream';
11789
+ }
11790
+ export type PostMcpServerIdEventsEventNameEmit_PathParams = PostMcpServerIdEventsEventNamePoll_PathParams;
11791
+ export type PostMcpServerIdEventsEventNameEmit_Body = {
11792
+ data: {
11793
+ [key: string]: unknown;
11794
+ };
11795
+ };
11796
+ export type PostMcpServerIdEventsEventNameEmit_Response = {
11797
+ occurrence: Shared_Type_69;
11798
+ };
11799
+ export type PostMcpServerIdEventsEventNameEmit_Request = Simplify<(PostMcpServerIdEventsEventNameEmit_PathParams extends never ? {} : {
11800
+ params: PostMcpServerIdEventsEventNameEmit_PathParams;
11801
+ }) & (never extends never ? {} : {} extends never ? {
11802
+ query?: never;
11803
+ } : {
11804
+ query: never;
11805
+ }) & (PostMcpServerIdEventsEventNameEmit_Body extends never ? {} : {} extends PostMcpServerIdEventsEventNameEmit_Body ? {
11806
+ body?: PostMcpServerIdEventsEventNameEmit_Body;
11807
+ } : {
11808
+ body: PostMcpServerIdEventsEventNameEmit_Body;
11809
+ })>;
11810
+ export interface PostMcpServerIdEventsEventNameEmit_RouteContract {
11811
+ pathParams: PostMcpServerIdEventsEventNameEmit_PathParams;
11812
+ queryParams: never;
11813
+ body: PostMcpServerIdEventsEventNameEmit_Body;
11814
+ request: PostMcpServerIdEventsEventNameEmit_Request;
11815
+ response: PostMcpServerIdEventsEventNameEmit_Response;
11816
+ responseType: 'json';
11817
+ }
11658
11818
  export type AllMcpServerIdMcp_PathParams = GetMcpServerIdTools_PathParams;
11659
11819
  export type AllMcpServerIdMcp_Request = Simplify<(AllMcpServerIdMcp_PathParams extends never ? {} : {
11660
11820
  params: AllMcpServerIdMcp_PathParams;
@@ -12279,7 +12439,7 @@ export type GetStoredAgentsAgentIdVersions_Response = {
12279
12439
  page: number;
12280
12440
  perPage: number | false;
12281
12441
  hasMore: boolean;
12282
- versions: Shared_Type_69[];
12442
+ versions: Shared_Type_70[];
12283
12443
  };
12284
12444
  export type GetStoredAgentsAgentIdVersions_Request = Simplify<(GetStoredAgentsAgentIdVersions_PathParams extends never ? {} : {
12285
12445
  params: GetStoredAgentsAgentIdVersions_PathParams;
@@ -12425,7 +12585,7 @@ export type GetStoredAgentsAgentIdVersionsCompare_QueryParams = {
12425
12585
  };
12426
12586
  export type GetStoredAgentsAgentIdVersionsCompare_Response = {
12427
12587
  /** List of differences between versions */
12428
- diffs: Shared_Type_70[];
12588
+ diffs: Shared_Type_71[];
12429
12589
  /** The source version */
12430
12590
  fromVersion: {
12431
12591
  /** Unique identifier for the version (UUID) */
@@ -12638,7 +12798,7 @@ export type GetStoredAgentsAgentIdVersionsVersionId_PathParams = {
12638
12798
  /** Unique identifier for the version (UUID) */
12639
12799
  versionId: string;
12640
12800
  };
12641
- export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_69;
12801
+ export type GetStoredAgentsAgentIdVersionsVersionId_Response = Shared_Type_70;
12642
12802
  export type GetStoredAgentsAgentIdVersionsVersionId_Request = Simplify<(GetStoredAgentsAgentIdVersionsVersionId_PathParams extends never ? {} : {
12643
12803
  params: GetStoredAgentsAgentIdVersionsVersionId_PathParams;
12644
12804
  }) & (never extends never ? {} : {} extends never ? {
@@ -12870,7 +13030,7 @@ export type GetStoredWorkflows_QueryParams = {
12870
13030
  authorId?: string | undefined;
12871
13031
  };
12872
13032
  export type GetStoredWorkflows_Response = {
12873
- workflows: Shared_Type_71[];
13033
+ workflows: Shared_Type_72[];
12874
13034
  total: number;
12875
13035
  };
12876
13036
  export type GetStoredWorkflows_Request = Simplify<(never extends never ? {} : {
@@ -12970,7 +13130,7 @@ export type GetStoredWorkflowsDynamicWorkflowId_PathParams = {
12970
13130
  /** Unique identifier for the dynamic workflow definition */
12971
13131
  dynamicWorkflowId: string;
12972
13132
  };
12973
- export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_71;
13133
+ export type GetStoredWorkflowsDynamicWorkflowId_Response = Shared_Type_72;
12974
13134
  export type GetStoredWorkflowsDynamicWorkflowId_Request = Simplify<(GetStoredWorkflowsDynamicWorkflowId_PathParams extends never ? {} : {
12975
13135
  params: GetStoredWorkflowsDynamicWorkflowId_PathParams;
12976
13136
  }) & (never extends never ? {} : {} extends never ? {
@@ -13035,7 +13195,7 @@ export type GetStoredMcpClients_Response = {
13035
13195
  page: number;
13036
13196
  perPage: number | false;
13037
13197
  hasMore: boolean;
13038
- mcpClients: Shared_Type_73[];
13198
+ mcpClients: Shared_Type_74[];
13039
13199
  };
13040
13200
  export type GetStoredMcpClients_Request = Simplify<(never extends never ? {} : {
13041
13201
  params: never;
@@ -13061,7 +13221,7 @@ export type GetStoredMcpClientsStoredMCPClientId_PathParams = {
13061
13221
  storedMCPClientId: string;
13062
13222
  };
13063
13223
  export type GetStoredMcpClientsStoredMCPClientId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
13064
- export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_73;
13224
+ export type GetStoredMcpClientsStoredMCPClientId_Response = Shared_Type_74;
13065
13225
  export type GetStoredMcpClientsStoredMCPClientId_Request = Simplify<(GetStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
13066
13226
  params: GetStoredMcpClientsStoredMCPClientId_PathParams;
13067
13227
  }) & (GetStoredMcpClientsStoredMCPClientId_QueryParams extends never ? {} : {} extends GetStoredMcpClientsStoredMCPClientId_QueryParams ? {
@@ -13144,7 +13304,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Response = {
13144
13304
  } | undefined;
13145
13305
  createdAt: Date;
13146
13306
  updatedAt: Date;
13147
- } | Shared_Type_73;
13307
+ } | Shared_Type_74;
13148
13308
  export type PatchStoredMcpClientsStoredMCPClientId_Request = Simplify<(PatchStoredMcpClientsStoredMCPClientId_PathParams extends never ? {} : {
13149
13309
  params: PatchStoredMcpClientsStoredMCPClientId_PathParams;
13150
13310
  }) & (never extends never ? {} : {} extends never ? {
@@ -13195,7 +13355,7 @@ export type GetStoredMcpClientsMcpClientIdVersions_Response = {
13195
13355
  page: number;
13196
13356
  perPage: number | false;
13197
13357
  hasMore: boolean;
13198
- versions: Shared_Type_75[];
13358
+ versions: Shared_Type_76[];
13199
13359
  };
13200
13360
  export type GetStoredMcpClientsMcpClientIdVersions_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersions_PathParams extends never ? {} : {
13201
13361
  params: GetStoredMcpClientsMcpClientIdVersions_PathParams;
@@ -13227,7 +13387,7 @@ export type PostStoredMcpClientsMcpClientIdVersions_Response = {
13227
13387
  /** Description of the MCP client */
13228
13388
  description?: (string | undefined) | undefined;
13229
13389
  servers?: {
13230
- [key: string]: Shared_Type_74;
13390
+ [key: string]: Shared_Type_75;
13231
13391
  } | undefined;
13232
13392
  /** Array of field names that changed from the previous version */
13233
13393
  changedFields?: (string[] | undefined) | undefined;
@@ -13258,7 +13418,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_PathParams = GetStored
13258
13418
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
13259
13419
  export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13260
13420
  /** List of differences between versions */
13261
- diffs: Shared_Type_70[];
13421
+ diffs: Shared_Type_71[];
13262
13422
  /** The source version */
13263
13423
  fromVersion: {
13264
13424
  /** Unique identifier for the version (UUID) */
@@ -13272,7 +13432,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13272
13432
  /** Description of the MCP client */
13273
13433
  description?: string | undefined;
13274
13434
  servers: {
13275
- [key: string]: Shared_Type_74;
13435
+ [key: string]: Shared_Type_75;
13276
13436
  };
13277
13437
  /** Array of field names that changed from the previous version */
13278
13438
  changedFields?: string[] | undefined;
@@ -13294,7 +13454,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsCompare_Response = {
13294
13454
  /** Description of the MCP client */
13295
13455
  description?: string | undefined;
13296
13456
  servers: {
13297
- [key: string]: Shared_Type_74;
13457
+ [key: string]: Shared_Type_75;
13298
13458
  };
13299
13459
  /** Array of field names that changed from the previous version */
13300
13460
  changedFields?: string[] | undefined;
@@ -13329,7 +13489,7 @@ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams = {
13329
13489
  /** Unique identifier for the version (UUID) */
13330
13490
  versionId: string;
13331
13491
  };
13332
- export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_75;
13492
+ export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Response = Shared_Type_76;
13333
13493
  export type GetStoredMcpClientsMcpClientIdVersionsVersionId_Request = Simplify<(GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams extends never ? {} : {
13334
13494
  params: GetStoredMcpClientsMcpClientIdVersionsVersionId_PathParams;
13335
13495
  }) & (never extends never ? {} : {} extends never ? {
@@ -13433,7 +13593,7 @@ export type GetStoredPromptBlocks_Response = {
13433
13593
  page: number;
13434
13594
  perPage: number | false;
13435
13595
  hasMore: boolean;
13436
- promptBlocks: Shared_Type_76[];
13596
+ promptBlocks: Shared_Type_77[];
13437
13597
  };
13438
13598
  export type GetStoredPromptBlocks_Request = Simplify<(never extends never ? {} : {
13439
13599
  params: never;
@@ -13459,7 +13619,7 @@ export type GetStoredPromptBlocksStoredPromptBlockId_PathParams = {
13459
13619
  storedPromptBlockId: string;
13460
13620
  };
13461
13621
  export type GetStoredPromptBlocksStoredPromptBlockId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
13462
- export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_76;
13622
+ export type GetStoredPromptBlocksStoredPromptBlockId_Response = Shared_Type_77;
13463
13623
  export type GetStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(GetStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
13464
13624
  params: GetStoredPromptBlocksStoredPromptBlockId_PathParams;
13465
13625
  }) & (GetStoredPromptBlocksStoredPromptBlockId_QueryParams extends never ? {} : {} extends GetStoredPromptBlocksStoredPromptBlockId_QueryParams ? {
@@ -13556,7 +13716,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Response = {
13556
13716
  } | undefined;
13557
13717
  createdAt: Date;
13558
13718
  updatedAt: Date;
13559
- } | Shared_Type_76;
13719
+ } | Shared_Type_77;
13560
13720
  export type PatchStoredPromptBlocksStoredPromptBlockId_Request = Simplify<(PatchStoredPromptBlocksStoredPromptBlockId_PathParams extends never ? {} : {
13561
13721
  params: PatchStoredPromptBlocksStoredPromptBlockId_PathParams;
13562
13722
  }) & (never extends never ? {} : {} extends never ? {
@@ -13607,7 +13767,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersions_Response = {
13607
13767
  page: number;
13608
13768
  perPage: number | false;
13609
13769
  hasMore: boolean;
13610
- versions: Shared_Type_77[];
13770
+ versions: Shared_Type_78[];
13611
13771
  };
13612
13772
  export type GetStoredPromptBlocksPromptBlockIdVersions_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersions_PathParams extends never ? {} : {
13613
13773
  params: GetStoredPromptBlocksPromptBlockIdVersions_PathParams;
@@ -13675,7 +13835,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_PathParams = GetSt
13675
13835
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
13676
13836
  export type GetStoredPromptBlocksPromptBlockIdVersionsCompare_Response = {
13677
13837
  /** List of differences between versions */
13678
- diffs: Shared_Type_70[];
13838
+ diffs: Shared_Type_71[];
13679
13839
  /** The source version */
13680
13840
  fromVersion: {
13681
13841
  /** Unique identifier for the version (UUID) */
@@ -13756,7 +13916,7 @@ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams = {
13756
13916
  /** Unique identifier for the version (UUID) */
13757
13917
  versionId: string;
13758
13918
  };
13759
- export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_77;
13919
+ export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Response = Shared_Type_78;
13760
13920
  export type GetStoredPromptBlocksPromptBlockIdVersionsVersionId_Request = Simplify<(GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams extends never ? {} : {
13761
13921
  params: GetStoredPromptBlocksPromptBlockIdVersionsVersionId_PathParams;
13762
13922
  }) & (never extends never ? {} : {} extends never ? {
@@ -13860,7 +14020,7 @@ export type GetStoredScorers_Response = {
13860
14020
  page: number;
13861
14021
  perPage: number | false;
13862
14022
  hasMore: boolean;
13863
- scorerDefinitions: Shared_Type_79[];
14023
+ scorerDefinitions: Shared_Type_80[];
13864
14024
  };
13865
14025
  export type GetStoredScorers_Request = Simplify<(never extends never ? {} : {
13866
14026
  params: never;
@@ -13886,7 +14046,7 @@ export type GetStoredScorersStoredScorerId_PathParams = {
13886
14046
  storedScorerId: string;
13887
14047
  };
13888
14048
  export type GetStoredScorersStoredScorerId_QueryParams = GetStoredAgentsStoredAgentId_QueryParams;
13889
- export type GetStoredScorersStoredScorerId_Response = Shared_Type_79;
14049
+ export type GetStoredScorersStoredScorerId_Response = Shared_Type_80;
13890
14050
  export type GetStoredScorersStoredScorerId_Request = Simplify<(GetStoredScorersStoredScorerId_PathParams extends never ? {} : {
13891
14051
  params: GetStoredScorersStoredScorerId_PathParams;
13892
14052
  }) & (GetStoredScorersStoredScorerId_QueryParams extends never ? {} : {} extends GetStoredScorersStoredScorerId_QueryParams ? {
@@ -13999,7 +14159,7 @@ export type PatchStoredScorersStoredScorerId_Response = {
13999
14159
  } | undefined;
14000
14160
  createdAt: Date;
14001
14161
  updatedAt: Date;
14002
- } | Shared_Type_79;
14162
+ } | Shared_Type_80;
14003
14163
  export type PatchStoredScorersStoredScorerId_Request = Simplify<(PatchStoredScorersStoredScorerId_PathParams extends never ? {} : {
14004
14164
  params: PatchStoredScorersStoredScorerId_PathParams;
14005
14165
  }) & (never extends never ? {} : {} extends never ? {
@@ -14050,7 +14210,7 @@ export type GetStoredScorersScorerIdVersions_Response = {
14050
14210
  page: number;
14051
14211
  perPage: number | false;
14052
14212
  hasMore: boolean;
14053
- versions: Shared_Type_80[];
14213
+ versions: Shared_Type_81[];
14054
14214
  };
14055
14215
  export type GetStoredScorersScorerIdVersions_Request = Simplify<(GetStoredScorersScorerIdVersions_PathParams extends never ? {} : {
14056
14216
  params: GetStoredScorersScorerIdVersions_PathParams;
@@ -14081,7 +14241,7 @@ export type PostStoredScorersScorerIdVersions_Response = {
14081
14241
  name?: string | undefined;
14082
14242
  /** Description of the scorer */
14083
14243
  description?: (string | undefined) | undefined;
14084
- type?: Shared_Type_78 | undefined;
14244
+ type?: Shared_Type_79 | undefined;
14085
14245
  model?: (Shared_Type_12 | undefined) | undefined;
14086
14246
  instructions?: (string | undefined) | undefined;
14087
14247
  scoreRange?: ({
@@ -14126,7 +14286,7 @@ export type GetStoredScorersScorerIdVersionsCompare_PathParams = GetStoredScorer
14126
14286
  export type GetStoredScorersScorerIdVersionsCompare_QueryParams = GetStoredAgentsAgentIdVersionsCompare_QueryParams;
14127
14287
  export type GetStoredScorersScorerIdVersionsCompare_Response = {
14128
14288
  /** List of differences between versions */
14129
- diffs: Shared_Type_70[];
14289
+ diffs: Shared_Type_71[];
14130
14290
  /** The source version */
14131
14291
  fromVersion: {
14132
14292
  /** Unique identifier for the version (UUID) */
@@ -14139,7 +14299,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
14139
14299
  name: string;
14140
14300
  /** Description of the scorer */
14141
14301
  description?: string | undefined;
14142
- type: Shared_Type_78;
14302
+ type: Shared_Type_79;
14143
14303
  model?: Shared_Type_12 | undefined;
14144
14304
  instructions?: string | undefined;
14145
14305
  scoreRange?: {
@@ -14174,7 +14334,7 @@ export type GetStoredScorersScorerIdVersionsCompare_Response = {
14174
14334
  name: string;
14175
14335
  /** Description of the scorer */
14176
14336
  description?: string | undefined;
14177
- type: Shared_Type_78;
14337
+ type: Shared_Type_79;
14178
14338
  model?: Shared_Type_12 | undefined;
14179
14339
  instructions?: string | undefined;
14180
14340
  scoreRange?: {
@@ -14223,7 +14383,7 @@ export type GetStoredScorersScorerIdVersionsVersionId_PathParams = {
14223
14383
  /** Unique identifier for the version (UUID) */
14224
14384
  versionId: string;
14225
14385
  };
14226
- export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_80;
14386
+ export type GetStoredScorersScorerIdVersionsVersionId_Response = Shared_Type_81;
14227
14387
  export type GetStoredScorersScorerIdVersionsVersionId_Request = Simplify<(GetStoredScorersScorerIdVersionsVersionId_PathParams extends never ? {} : {
14228
14388
  params: GetStoredScorersScorerIdVersionsVersionId_PathParams;
14229
14389
  }) & (never extends never ? {} : {} extends never ? {
@@ -14383,7 +14543,7 @@ export type GetStoredWorkspacesStoredWorkspaceId_PathParams = {
14383
14543
  /** Unique identifier for the stored workspace */
14384
14544
  storedWorkspaceId: string;
14385
14545
  };
14386
- export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_81;
14546
+ export type GetStoredWorkspacesStoredWorkspaceId_Response = Shared_Type_82;
14387
14547
  export type GetStoredWorkspacesStoredWorkspaceId_Request = Simplify<(GetStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
14388
14548
  params: GetStoredWorkspacesStoredWorkspaceId_PathParams;
14389
14549
  }) & (never extends never ? {} : {} extends never ? {
@@ -14489,7 +14649,7 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Response = {
14489
14649
  } | undefined;
14490
14650
  createdAt: Date;
14491
14651
  updatedAt: Date;
14492
- } | Shared_Type_81;
14652
+ } | Shared_Type_82;
14493
14653
  export type PatchStoredWorkspacesStoredWorkspaceId_Request = Simplify<(PatchStoredWorkspacesStoredWorkspaceId_PathParams extends never ? {} : {
14494
14654
  params: PatchStoredWorkspacesStoredWorkspaceId_PathParams;
14495
14655
  }) & (never extends never ? {} : {} extends never ? {
@@ -14557,7 +14717,7 @@ export type GetStoredSkills_Response = {
14557
14717
  page: number;
14558
14718
  perPage: number | false;
14559
14719
  hasMore: boolean;
14560
- skills: Shared_Type_83[];
14720
+ skills: Shared_Type_84[];
14561
14721
  };
14562
14722
  export type GetStoredSkills_Request = Simplify<(never extends never ? {} : {
14563
14723
  params: never;
@@ -14582,7 +14742,7 @@ export type GetStoredSkillsStoredSkillId_PathParams = {
14582
14742
  /** Unique identifier for the stored skill */
14583
14743
  storedSkillId: string;
14584
14744
  };
14585
- export type GetStoredSkillsStoredSkillId_Response = Shared_Type_83;
14745
+ export type GetStoredSkillsStoredSkillId_Response = Shared_Type_84;
14586
14746
  export type GetStoredSkillsStoredSkillId_Request = Simplify<(GetStoredSkillsStoredSkillId_PathParams extends never ? {} : {
14587
14747
  params: GetStoredSkillsStoredSkillId_PathParams;
14588
14748
  }) & (never extends never ? {} : {} extends never ? {
@@ -14628,7 +14788,7 @@ export type PostStoredSkills_Body = {
14628
14788
  /** List of asset file paths */
14629
14789
  assets?: string[] | undefined;
14630
14790
  /** Full file tree structure for the skill */
14631
- files?: InputShared_Auxiliary_773[] | undefined;
14791
+ files?: InputShared_Auxiliary_777[] | undefined;
14632
14792
  /** Additional metadata for the skill */
14633
14793
  metadata?: {
14634
14794
  [key: string]: unknown;
@@ -14678,7 +14838,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
14678
14838
  /** List of asset file paths */
14679
14839
  assets?: (string[] | undefined) | undefined;
14680
14840
  /** Full file tree structure for the skill */
14681
- files?: (InputShared_Auxiliary_773[] | undefined) | undefined;
14841
+ files?: (InputShared_Auxiliary_777[] | undefined) | undefined;
14682
14842
  /** Additional metadata for the skill */
14683
14843
  metadata?: ({
14684
14844
  [key: string]: unknown;
@@ -14692,7 +14852,7 @@ export type PatchStoredSkillsStoredSkillId_Response = {
14692
14852
  visibility?: ('private' | 'public') | undefined;
14693
14853
  createdAt: Date;
14694
14854
  updatedAt: Date;
14695
- } | Shared_Type_83;
14855
+ } | Shared_Type_84;
14696
14856
  export type PatchStoredSkillsStoredSkillId_Request = Simplify<(PatchStoredSkillsStoredSkillId_PathParams extends never ? {} : {
14697
14857
  params: PatchStoredSkillsStoredSkillId_PathParams;
14698
14858
  }) & (never extends never ? {} : {} extends never ? {
@@ -15415,7 +15575,7 @@ export type GetDatasets_QueryParams = {
15415
15575
  } | undefined) | undefined;
15416
15576
  };
15417
15577
  export type GetDatasets_Response = {
15418
- datasets: Shared_Type_84[];
15578
+ datasets: Shared_Type_85[];
15419
15579
  pagination: {
15420
15580
  total: number;
15421
15581
  page: number;
@@ -15470,7 +15630,7 @@ export type PostDatasets_Body = {
15470
15630
  /** IDs of scorers attached to this dataset */
15471
15631
  scorerIds?: string[] | undefined;
15472
15632
  };
15473
- export type PostDatasets_Response = Shared_Type_84;
15633
+ export type PostDatasets_Response = Shared_Type_85;
15474
15634
  export type PostDatasets_Request = Simplify<(never extends never ? {} : {
15475
15635
  params: never;
15476
15636
  }) & (never extends never ? {} : {} extends never ? {
@@ -15500,7 +15660,7 @@ export type GetDatasetsDatasetId_QueryParams = {
15500
15660
  /** Restrict lookup to the given project */
15501
15661
  projectId?: string | undefined;
15502
15662
  };
15503
- export type GetDatasetsDatasetId_Response = Shared_Type_84 | null;
15663
+ export type GetDatasetsDatasetId_Response = Shared_Type_85 | null;
15504
15664
  export type GetDatasetsDatasetId_Request = Simplify<(GetDatasetsDatasetId_PathParams extends never ? {} : {
15505
15665
  params: GetDatasetsDatasetId_PathParams;
15506
15666
  }) & (GetDatasetsDatasetId_QueryParams extends never ? {} : {} extends GetDatasetsDatasetId_QueryParams ? {
@@ -15606,7 +15766,7 @@ export type GetDatasetsDatasetIdItems_QueryParams = {
15606
15766
  } | undefined) | undefined;
15607
15767
  };
15608
15768
  export type GetDatasetsDatasetIdItems_Response = {
15609
- items: Shared_Type_87[];
15769
+ items: Shared_Type_88[];
15610
15770
  pagination: {
15611
15771
  total: number;
15612
15772
  page: number;
@@ -15660,7 +15820,7 @@ export type PostDatasetsDatasetIdItems_Body = {
15660
15820
  /** Source/provenance of this dataset item */
15661
15821
  source?: InputShared_Type_111 | undefined;
15662
15822
  };
15663
- export type PostDatasetsDatasetIdItems_Response = Shared_Type_87;
15823
+ export type PostDatasetsDatasetIdItems_Response = Shared_Type_88;
15664
15824
  export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
15665
15825
  params: PostDatasetsDatasetIdItems_PathParams;
15666
15826
  }) & (never extends never ? {} : {} extends never ? {
@@ -15704,7 +15864,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
15704
15864
  }[];
15705
15865
  };
15706
15866
  export type PostDatasetsDatasetIdItemsBatch_Response = {
15707
- items: Shared_Type_87[];
15867
+ items: Shared_Type_88[];
15708
15868
  count: number;
15709
15869
  };
15710
15870
  export type PostDatasetsDatasetIdItemsBatch_Request = Simplify<(PostDatasetsDatasetIdItemsBatch_PathParams extends never ? {} : {
@@ -15912,7 +16072,7 @@ export type GetDatasetsDatasetIdItemsItemIdHistory_Response = {
15912
16072
  groundTruth?: unknown | undefined;
15913
16073
  expectedTrajectory?: unknown | undefined;
15914
16074
  /** Ordered item-level static tool mocks served in place of executing the real tool */
15915
- toolMocks?: (Shared_Type_85[] | undefined) | null;
16075
+ toolMocks?: (Shared_Type_86[] | undefined) | null;
15916
16076
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
15917
16077
  unmockedToolPolicy?: (('allow' | 'deny') | undefined) | null;
15918
16078
  scorerIds?: (string[] | undefined) | null;
@@ -15992,7 +16152,7 @@ export type GetExperiments_QueryParams = {
15992
16152
  } | undefined) | undefined;
15993
16153
  };
15994
16154
  export type GetExperiments_Response = {
15995
- experiments: Shared_Type_89[];
16155
+ experiments: Shared_Type_90[];
15996
16156
  pagination: {
15997
16157
  total: number;
15998
16158
  page: number;
@@ -16052,7 +16212,7 @@ export type GetExperimentsExperimentId_PathParams = {
16052
16212
  experimentId: string;
16053
16213
  };
16054
16214
  export type GetExperimentsExperimentId_QueryParams = GetDatasetsDatasetId_QueryParams;
16055
- export type GetExperimentsExperimentId_Response = Shared_Type_89;
16215
+ export type GetExperimentsExperimentId_Response = Shared_Type_90;
16056
16216
  export type GetExperimentsExperimentId_Request = Simplify<(GetExperimentsExperimentId_PathParams extends never ? {} : {
16057
16217
  params: GetExperimentsExperimentId_PathParams;
16058
16218
  }) & (GetExperimentsExperimentId_QueryParams extends never ? {} : {} extends GetExperimentsExperimentId_QueryParams ? {
@@ -16198,7 +16358,7 @@ export type PostDatasetsDatasetIdExperiments_Response = {
16198
16358
  completedAt: Date;
16199
16359
  retryCount: number;
16200
16360
  /** Diagnostic receipt for item-level tool mocks */
16201
- toolMockReport?: (Shared_Type_90 | undefined) | null;
16361
+ toolMockReport?: (Shared_Type_91 | undefined) | null;
16202
16362
  scores: {
16203
16363
  scorerId: string;
16204
16364
  scorerName: string;
@@ -16244,7 +16404,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Body = {
16244
16404
  } | undefined;
16245
16405
  };
16246
16406
  export type PostDatasetsDatasetIdExperimentsExperimentIdItemsItemIdRun_Response = {
16247
- result: Shared_Type_92 | Shared_Type_93 | Shared_Type_94;
16407
+ result: Shared_Type_93 | Shared_Type_94 | Shared_Type_95;
16248
16408
  scores: {
16249
16409
  scorerId: string;
16250
16410
  scorerName: string;
@@ -16317,7 +16477,7 @@ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Body = {
16317
16477
  } | undefined;
16318
16478
  }[] | undefined;
16319
16479
  };
16320
- export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_92 | Shared_Type_93 | Shared_Type_94;
16480
+ export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Response = Shared_Type_93 | Shared_Type_94 | Shared_Type_95;
16321
16481
  export type PostDatasetsDatasetIdExperimentsExperimentIdResults_Request = Simplify<(PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams extends never ? {} : {
16322
16482
  params: PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
16323
16483
  }) & (never extends never ? {} : {} extends never ? {
@@ -16359,7 +16519,7 @@ export interface PostDatasetsDatasetIdExperimentsExperimentIdFinalize_RouteContr
16359
16519
  responseType: 'json';
16360
16520
  }
16361
16521
  export type GetDatasetsDatasetIdExperimentsExperimentId_PathParams = PostDatasetsDatasetIdExperimentsExperimentIdResults_PathParams;
16362
- export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_89 | null;
16522
+ export type GetDatasetsDatasetIdExperimentsExperimentId_Response = Shared_Type_90 | null;
16363
16523
  export type GetDatasetsDatasetIdExperimentsExperimentId_Request = Simplify<(GetDatasetsDatasetIdExperimentsExperimentId_PathParams extends never ? {} : {
16364
16524
  params: GetDatasetsDatasetIdExperimentsExperimentId_PathParams;
16365
16525
  }) & (never extends never ? {} : {} extends never ? {
@@ -16444,7 +16604,7 @@ export type GetDatasetsDatasetIdExperimentsExperimentIdResults_QueryParams = {
16444
16604
  } | undefined) | undefined;
16445
16605
  };
16446
16606
  export type GetDatasetsDatasetIdExperimentsExperimentIdResults_Response = {
16447
- results: (Shared_Type_92 | Shared_Type_93 | Shared_Type_94)[];
16607
+ results: (Shared_Type_93 | Shared_Type_94 | Shared_Type_95)[];
16448
16608
  pagination: {
16449
16609
  total: number;
16450
16610
  page: number;
@@ -16692,7 +16852,7 @@ export type GetBackgroundTasks_QueryParams = {
16692
16852
  perPage?: number | undefined;
16693
16853
  };
16694
16854
  export type GetBackgroundTasks_Response = {
16695
- tasks: Shared_Type_95[];
16855
+ tasks: Shared_Type_96[];
16696
16856
  total: number;
16697
16857
  };
16698
16858
  export type GetBackgroundTasks_Request = Simplify<(never extends never ? {} : {
@@ -16717,7 +16877,7 @@ export interface GetBackgroundTasks_RouteContract {
16717
16877
  export type GetBackgroundTasksBackgroundTaskId_PathParams = {
16718
16878
  backgroundTaskId: string;
16719
16879
  };
16720
- export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_95;
16880
+ export type GetBackgroundTasksBackgroundTaskId_Response = Shared_Type_96;
16721
16881
  export type GetBackgroundTasksBackgroundTaskId_Request = Simplify<(GetBackgroundTasksBackgroundTaskId_PathParams extends never ? {} : {
16722
16882
  params: GetBackgroundTasksBackgroundTaskId_PathParams;
16723
16883
  }) & (never extends never ? {} : {} extends never ? {
@@ -16757,8 +16917,8 @@ export type GetEditorBuilderSettings_Response = {
16757
16917
  configuration?: {
16758
16918
  agent?: {
16759
16919
  models?: {
16760
- allowed?: Shared_Type_96[] | undefined;
16761
- default?: Shared_Type_97 | undefined;
16920
+ allowed?: Shared_Type_97[] | undefined;
16921
+ default?: Shared_Type_98 | undefined;
16762
16922
  } | undefined;
16763
16923
  tools?: {
16764
16924
  allowed?: string[] | undefined;
@@ -16775,8 +16935,8 @@ export type GetEditorBuilderSettings_Response = {
16775
16935
  modelPolicy?: {
16776
16936
  active: boolean;
16777
16937
  pickerVisible?: boolean | undefined;
16778
- allowed?: Shared_Type_96[] | undefined;
16779
- default?: Shared_Type_97 | undefined;
16938
+ allowed?: Shared_Type_97[] | undefined;
16939
+ default?: Shared_Type_98 | undefined;
16780
16940
  } | undefined;
16781
16941
  picker?: {
16782
16942
  visibleTools: string[] | null;
@@ -16809,8 +16969,8 @@ export type GetEditorWorkflowBuilderSettings_Response = {
16809
16969
  modelPolicy?: {
16810
16970
  active: boolean;
16811
16971
  pickerVisible?: boolean | undefined;
16812
- allowed?: Shared_Type_96[] | undefined;
16813
- default?: Shared_Type_97 | undefined;
16972
+ allowed?: Shared_Type_97[] | undefined;
16973
+ default?: Shared_Type_98 | undefined;
16814
16974
  } | undefined;
16815
16975
  };
16816
16976
  export type GetEditorWorkflowBuilderSettings_Request = Simplify<(never extends never ? {} : {
@@ -17459,7 +17619,7 @@ export type GetSchedules_QueryParams = {
17459
17619
  name?: string | undefined;
17460
17620
  };
17461
17621
  export type GetSchedules_Response = {
17462
- schedules: (Shared_Type_100 | Shared_Type_102)[];
17622
+ schedules: (Shared_Type_101 | Shared_Type_103)[];
17463
17623
  };
17464
17624
  export type GetSchedules_Request = Simplify<(never extends never ? {} : {
17465
17625
  params: never;
@@ -17483,7 +17643,7 @@ export interface GetSchedules_RouteContract {
17483
17643
  export type GetSchedulesScheduleId_PathParams = {
17484
17644
  scheduleId: string;
17485
17645
  };
17486
- export type GetSchedulesScheduleId_Response = Shared_Type_100 | Shared_Type_102;
17646
+ export type GetSchedulesScheduleId_Response = Shared_Type_101 | Shared_Type_103;
17487
17647
  export type GetSchedulesScheduleId_Request = Simplify<(GetSchedulesScheduleId_PathParams extends never ? {} : {
17488
17648
  params: GetSchedulesScheduleId_PathParams;
17489
17649
  }) & (never extends never ? {} : {} extends never ? {
@@ -17648,7 +17808,7 @@ export type GetSchedulesScheduleIdTriggers_Response = {
17648
17808
  metadata?: {
17649
17809
  [key: string]: unknown;
17650
17810
  } | undefined;
17651
- run?: Shared_Type_101 | undefined;
17811
+ run?: Shared_Type_102 | undefined;
17652
17812
  }[];
17653
17813
  };
17654
17814
  export type GetSchedulesScheduleIdTriggers_Request = Simplify<(GetSchedulesScheduleIdTriggers_PathParams extends never ? {} : {
@@ -17772,7 +17932,7 @@ export type GetChannelsPlatformInstallations_PathParams = {
17772
17932
  /** Channel platform identifier (e.g., "slack") */
17773
17933
  platform: string;
17774
17934
  };
17775
- export type GetChannelsPlatformInstallations_Response = Shared_Type_103[];
17935
+ export type GetChannelsPlatformInstallations_Response = Shared_Type_104[];
17776
17936
  export type GetChannelsPlatformInstallations_Request = Simplify<(GetChannelsPlatformInstallations_PathParams extends never ? {} : {
17777
17937
  params: GetChannelsPlatformInstallations_PathParams;
17778
17938
  }) & (never extends never ? {} : {} extends never ? {
@@ -17846,7 +18006,7 @@ export type PostChannelsPlatformAgentIdReconcile_PathParams = {
17846
18006
  /** Agent identifier */
17847
18007
  agentId: string;
17848
18008
  };
17849
- export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_103 | null;
18009
+ export type PostChannelsPlatformAgentIdReconcile_Response = Shared_Type_104 | null;
17850
18010
  export type PostChannelsPlatformAgentIdReconcile_Request = Simplify<(PostChannelsPlatformAgentIdReconcile_PathParams extends never ? {} : {
17851
18011
  params: PostChannelsPlatformAgentIdReconcile_PathParams;
17852
18012
  }) & (never extends never ? {} : {} extends never ? {
@@ -19176,6 +19336,10 @@ export interface RouteTypes {
19176
19336
  'POST /mcp/:serverId/tools/:toolId/execute': PostMcpServerIdToolsToolIdExecute_RouteContract;
19177
19337
  'GET /mcp/:serverId/resources': GetMcpServerIdResources_RouteContract;
19178
19338
  'POST /mcp/:serverId/resources/read': PostMcpServerIdResourcesRead_RouteContract;
19339
+ 'GET /mcp/:serverId/events': GetMcpServerIdEvents_RouteContract;
19340
+ 'POST /mcp/:serverId/events/:eventName/poll': PostMcpServerIdEventsEventNamePoll_RouteContract;
19341
+ 'POST /mcp/:serverId/events/:eventName/stream': PostMcpServerIdEventsEventNameStream_RouteContract;
19342
+ 'POST /mcp/:serverId/events/:eventName/emit': PostMcpServerIdEventsEventNameEmit_RouteContract;
19179
19343
  'ALL /mcp/:serverId/mcp': AllMcpServerIdMcp_RouteContract;
19180
19344
  'ALL /mcp/:serverId/sse': AllMcpServerIdSse_RouteContract;
19181
19345
  'POST /mcp/:serverId/messages': PostMcpServerIdMessages_RouteContract;
@@ -19861,6 +20025,18 @@ export interface Client {
19861
20025
  '/logs/transports': {
19862
20026
  GET: GetLogsTransports_RouteContract;
19863
20027
  };
20028
+ '/mcp/:serverId/events': {
20029
+ GET: GetMcpServerIdEvents_RouteContract;
20030
+ };
20031
+ '/mcp/:serverId/events/:eventName/emit': {
20032
+ POST: PostMcpServerIdEventsEventNameEmit_RouteContract;
20033
+ };
20034
+ '/mcp/:serverId/events/:eventName/poll': {
20035
+ POST: PostMcpServerIdEventsEventNamePoll_RouteContract;
20036
+ };
20037
+ '/mcp/:serverId/events/:eventName/stream': {
20038
+ POST: PostMcpServerIdEventsEventNameStream_RouteContract;
20039
+ };
19864
20040
  '/mcp/:serverId/mcp': {
19865
20041
  ALL: AllMcpServerIdMcp_RouteContract;
19866
20042
  };