@omnara/sdk 0.1.34 → 0.1.35

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.
@@ -127,8 +127,8 @@ declare const zAgentConfigDefinitionTool: z.ZodObject<{
127
127
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
128
128
  }, z.core.$strip>>;
129
129
  type: z.ZodOptional<z.ZodEnum<{
130
- built_in: "built_in";
131
130
  custom: "custom";
131
+ built_in: "built_in";
132
132
  }>>;
133
133
  }, z.core.$strip>;
134
134
  declare const zAgentConfigDefinitionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -145,8 +145,8 @@ declare const zAgentConfigDefinitionTools: z.ZodNullable<z.ZodRecord<z.ZodString
145
145
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
146
146
  }, z.core.$strip>>;
147
147
  type: z.ZodOptional<z.ZodEnum<{
148
- built_in: "built_in";
149
148
  custom: "custom";
149
+ built_in: "built_in";
150
150
  }>>;
151
151
  }, z.core.$strip>>>;
152
152
  declare const zEnvironmentVariableName: z.ZodString;
@@ -420,8 +420,8 @@ declare const zAgentConfigDefinition: z.ZodObject<{
420
420
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
421
421
  }, z.core.$strip>>;
422
422
  type: z.ZodOptional<z.ZodEnum<{
423
- built_in: "built_in";
424
423
  custom: "custom";
424
+ built_in: "built_in";
425
425
  }>>;
426
426
  }, z.core.$strip>>>>;
427
427
  version: z.ZodOptional<z.ZodEnum<{
@@ -526,8 +526,8 @@ declare const zAgentConfigToolsDefinition: z.ZodObject<{
526
526
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
527
527
  }, z.core.$strip>>;
528
528
  type: z.ZodOptional<z.ZodEnum<{
529
- built_in: "built_in";
530
529
  custom: "custom";
530
+ built_in: "built_in";
531
531
  }>>;
532
532
  }, z.core.$strip>>>>;
533
533
  }, z.core.$loose>;
@@ -1701,8 +1701,8 @@ declare const zResolveAgentConfigToolsRequest: z.ZodObject<{
1701
1701
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1702
1702
  }, z.core.$strip>>;
1703
1703
  type: z.ZodOptional<z.ZodEnum<{
1704
- built_in: "built_in";
1705
1704
  custom: "custom";
1705
+ built_in: "built_in";
1706
1706
  }>>;
1707
1707
  }, z.core.$strip>>>>;
1708
1708
  }, z.core.$loose>]>;
@@ -1837,8 +1837,8 @@ declare const zAgentConfigSourceInput: z.ZodUnion<readonly [z.ZodString, z.ZodOb
1837
1837
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1838
1838
  }, z.core.$strip>>;
1839
1839
  type: z.ZodOptional<z.ZodEnum<{
1840
- built_in: "built_in";
1841
1840
  custom: "custom";
1841
+ built_in: "built_in";
1842
1842
  }>>;
1843
1843
  }, z.core.$strip>>>>;
1844
1844
  version: z.ZodOptional<z.ZodEnum<{
@@ -1972,8 +1972,8 @@ declare const zCreateAgentConfigRequest: z.ZodObject<{
1972
1972
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1973
1973
  }, z.core.$strip>>;
1974
1974
  type: z.ZodOptional<z.ZodEnum<{
1975
- built_in: "built_in";
1976
1975
  custom: "custom";
1976
+ built_in: "built_in";
1977
1977
  }>>;
1978
1978
  }, z.core.$strip>>>>;
1979
1979
  version: z.ZodOptional<z.ZodEnum<{
@@ -2112,8 +2112,8 @@ declare const zUpdateAgentConfigRequest: z.ZodObject<{
2112
2112
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2113
2113
  }, z.core.$strip>>;
2114
2114
  type: z.ZodOptional<z.ZodEnum<{
2115
- built_in: "built_in";
2116
2115
  custom: "custom";
2116
+ built_in: "built_in";
2117
2117
  }>>;
2118
2118
  }, z.core.$strip>>>>;
2119
2119
  version: z.ZodOptional<z.ZodEnum<{
@@ -2791,10 +2791,10 @@ declare const zCronTriggerLastRun: z.ZodObject<{
2791
2791
  }, z.core.$strip>;
2792
2792
  declare const zAgentActivity: z.ZodObject<{
2793
2793
  state: z.ZodEnum<{
2794
- archived: "archived";
2795
2794
  running: "running";
2796
2795
  idle: "idle";
2797
2796
  waiting_on_interaction: "waiting_on_interaction";
2797
+ archived: "archived";
2798
2798
  }>;
2799
2799
  last_activity_at: z.ZodISODateTime;
2800
2800
  }, z.core.$strip>;
@@ -2838,6 +2838,7 @@ declare const zAgentSequenceCursor: z.ZodInt;
2838
2838
  */
2839
2839
  declare const zAgentCount: z.ZodInt;
2840
2840
  declare const zModelStopReason: z.ZodEnum<{
2841
+ unknown: "unknown";
2841
2842
  end_turn: "end_turn";
2842
2843
  tool_use: "tool_use";
2843
2844
  max_tokens: "max_tokens";
@@ -2845,18 +2846,17 @@ declare const zModelStopReason: z.ZodEnum<{
2845
2846
  content_filter: "content_filter";
2846
2847
  pause: "pause";
2847
2848
  context_window: "context_window";
2848
- unknown: "unknown";
2849
2849
  }>;
2850
2850
  /**
2851
2851
  * Stop reasons admitted as durable model-output events.
2852
2852
  */
2853
2853
  declare const zModelOutputStopReason: z.ZodEnum<{
2854
+ error: "error";
2854
2855
  end_turn: "end_turn";
2855
2856
  tool_use: "tool_use";
2856
2857
  max_tokens: "max_tokens";
2857
2858
  refusal: "refusal";
2858
2859
  content_filter: "content_filter";
2859
- error: "error";
2860
2860
  }>;
2861
2861
  declare const zAgentInputDeliveryMode: z.ZodEnum<{
2862
2862
  queued: "queued";
@@ -3165,9 +3165,9 @@ declare const zAgentInputEnvelope: z.ZodObject<{
3165
3165
  * Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
3166
3166
  */
3167
3167
  declare const zToolCallType: z.ZodEnum<{
3168
- mcp: "mcp";
3169
- built_in: "built_in";
3170
3168
  custom: "custom";
3169
+ built_in: "built_in";
3170
+ mcp: "mcp";
3171
3171
  }>;
3172
3172
  declare const zModelToolCallContentBlock: z.ZodObject<{
3173
3173
  type: z.ZodEnum<{
@@ -3175,9 +3175,9 @@ declare const zModelToolCallContentBlock: z.ZodObject<{
3175
3175
  }>;
3176
3176
  tool_call_id: z.ZodString;
3177
3177
  tool_type: z.ZodEnum<{
3178
- mcp: "mcp";
3179
- built_in: "built_in";
3180
3178
  custom: "custom";
3179
+ built_in: "built_in";
3180
+ mcp: "mcp";
3181
3181
  }>;
3182
3182
  name: z.ZodString;
3183
3183
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3199,9 +3199,9 @@ declare const zModelOutputContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
3199
3199
  }, z.core.$strip>, z.ZodObject<{
3200
3200
  tool_call_id: z.ZodString;
3201
3201
  tool_type: z.ZodEnum<{
3202
- mcp: "mcp";
3203
- built_in: "built_in";
3204
3202
  custom: "custom";
3203
+ built_in: "built_in";
3204
+ mcp: "mcp";
3205
3205
  }>;
3206
3206
  name: z.ZodString;
3207
3207
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3243,9 +3243,9 @@ declare const zToolCall: z.ZodObject<{
3243
3243
  name: z.ZodString;
3244
3244
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3245
3245
  type: z.ZodEnum<{
3246
- mcp: "mcp";
3247
- built_in: "built_in";
3248
3246
  custom: "custom";
3247
+ built_in: "built_in";
3248
+ mcp: "mcp";
3249
3249
  }>;
3250
3250
  state: z.ZodEnum<{
3251
3251
  completed: "completed";
@@ -3273,9 +3273,9 @@ declare const zListToolCallsResponse: z.ZodObject<{
3273
3273
  name: z.ZodString;
3274
3274
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3275
3275
  type: z.ZodEnum<{
3276
- mcp: "mcp";
3277
- built_in: "built_in";
3278
3276
  custom: "custom";
3277
+ built_in: "built_in";
3278
+ mcp: "mcp";
3279
3279
  }>;
3280
3280
  state: z.ZodEnum<{
3281
3281
  completed: "completed";
@@ -3374,9 +3374,9 @@ declare const zSubmitToolCallResultResponse: z.ZodObject<{
3374
3374
  name: z.ZodString;
3375
3375
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3376
3376
  type: z.ZodEnum<{
3377
- mcp: "mcp";
3378
- built_in: "built_in";
3379
3377
  custom: "custom";
3378
+ built_in: "built_in";
3379
+ mcp: "mcp";
3380
3380
  }>;
3381
3381
  state: z.ZodEnum<{
3382
3382
  completed: "completed";
@@ -3710,12 +3710,12 @@ declare const zModelOutputEvent: z.ZodObject<{
3710
3710
  }>;
3711
3711
  model_call_context_id: z.ZodString;
3712
3712
  stop_reason: z.ZodEnum<{
3713
+ error: "error";
3713
3714
  end_turn: "end_turn";
3714
3715
  tool_use: "tool_use";
3715
3716
  max_tokens: "max_tokens";
3716
3717
  refusal: "refusal";
3717
3718
  content_filter: "content_filter";
3718
- error: "error";
3719
3719
  }>;
3720
3720
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3721
3721
  text: z.ZodString;
@@ -3733,9 +3733,9 @@ declare const zModelOutputEvent: z.ZodObject<{
3733
3733
  }, z.core.$strip>, z.ZodObject<{
3734
3734
  tool_call_id: z.ZodString;
3735
3735
  tool_type: z.ZodEnum<{
3736
- mcp: "mcp";
3737
- built_in: "built_in";
3738
3736
  custom: "custom";
3737
+ built_in: "built_in";
3738
+ mcp: "mcp";
3739
3739
  }>;
3740
3740
  name: z.ZodString;
3741
3741
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3775,12 +3775,12 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3775
3775
  }>;
3776
3776
  model_call_context_id: z.ZodString;
3777
3777
  stop_reason: z.ZodEnum<{
3778
+ error: "error";
3778
3779
  end_turn: "end_turn";
3779
3780
  tool_use: "tool_use";
3780
3781
  max_tokens: "max_tokens";
3781
3782
  refusal: "refusal";
3782
3783
  content_filter: "content_filter";
3783
- error: "error";
3784
3784
  }>;
3785
3785
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3786
3786
  text: z.ZodString;
@@ -3798,9 +3798,9 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3798
3798
  }, z.core.$strip>, z.ZodObject<{
3799
3799
  tool_call_id: z.ZodString;
3800
3800
  tool_type: z.ZodEnum<{
3801
- mcp: "mcp";
3802
- built_in: "built_in";
3803
3801
  custom: "custom";
3802
+ built_in: "built_in";
3803
+ mcp: "mcp";
3804
3804
  }>;
3805
3805
  name: z.ZodString;
3806
3806
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3869,12 +3869,12 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3869
3869
  sequence: z.ZodInt;
3870
3870
  model_call_context_id: z.ZodString;
3871
3871
  stop_reason: z.ZodEnum<{
3872
+ error: "error";
3872
3873
  end_turn: "end_turn";
3873
3874
  tool_use: "tool_use";
3874
3875
  max_tokens: "max_tokens";
3875
3876
  refusal: "refusal";
3876
3877
  content_filter: "content_filter";
3877
- error: "error";
3878
3878
  }>;
3879
3879
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3880
3880
  text: z.ZodString;
@@ -3892,9 +3892,9 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3892
3892
  }, z.core.$strip>, z.ZodObject<{
3893
3893
  tool_call_id: z.ZodString;
3894
3894
  tool_type: z.ZodEnum<{
3895
- mcp: "mcp";
3896
- built_in: "built_in";
3897
3895
  custom: "custom";
3896
+ built_in: "built_in";
3897
+ mcp: "mcp";
3898
3898
  }>;
3899
3899
  name: z.ZodString;
3900
3900
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3969,6 +3969,7 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3969
3969
  }>;
3970
3970
  stop: z.ZodObject<{
3971
3971
  reason: z.ZodEnum<{
3972
+ unknown: "unknown";
3972
3973
  end_turn: "end_turn";
3973
3974
  tool_use: "tool_use";
3974
3975
  max_tokens: "max_tokens";
@@ -3976,7 +3977,6 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3976
3977
  content_filter: "content_filter";
3977
3978
  pause: "pause";
3978
3979
  context_window: "context_window";
3979
- unknown: "unknown";
3980
3980
  }>;
3981
3981
  usage: z.ZodObject<{
3982
3982
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4026,6 +4026,7 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4026
4026
  }, z.core.$strip>, z.ZodObject<{
4027
4027
  stop: z.ZodObject<{
4028
4028
  reason: z.ZodEnum<{
4029
+ unknown: "unknown";
4029
4030
  end_turn: "end_turn";
4030
4031
  tool_use: "tool_use";
4031
4032
  max_tokens: "max_tokens";
@@ -4033,7 +4034,6 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4033
4034
  content_filter: "content_filter";
4034
4035
  pause: "pause";
4035
4036
  context_window: "context_window";
4036
- unknown: "unknown";
4037
4037
  }>;
4038
4038
  usage: z.ZodObject<{
4039
4039
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4088,6 +4088,7 @@ declare const zModelOutputDelta: z.ZodObject<{
4088
4088
  }, z.core.$strip>, z.ZodObject<{
4089
4089
  stop: z.ZodObject<{
4090
4090
  reason: z.ZodEnum<{
4091
+ unknown: "unknown";
4091
4092
  end_turn: "end_turn";
4092
4093
  tool_use: "tool_use";
4093
4094
  max_tokens: "max_tokens";
@@ -4095,7 +4096,6 @@ declare const zModelOutputDelta: z.ZodObject<{
4095
4096
  content_filter: "content_filter";
4096
4097
  pause: "pause";
4097
4098
  context_window: "context_window";
4098
- unknown: "unknown";
4099
4099
  }>;
4100
4100
  usage: z.ZodObject<{
4101
4101
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4161,12 +4161,12 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4161
4161
  sequence: z.ZodInt;
4162
4162
  model_call_context_id: z.ZodString;
4163
4163
  stop_reason: z.ZodEnum<{
4164
+ error: "error";
4164
4165
  end_turn: "end_turn";
4165
4166
  tool_use: "tool_use";
4166
4167
  max_tokens: "max_tokens";
4167
4168
  refusal: "refusal";
4168
4169
  content_filter: "content_filter";
4169
- error: "error";
4170
4170
  }>;
4171
4171
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4172
4172
  text: z.ZodString;
@@ -4184,9 +4184,9 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4184
4184
  }, z.core.$strip>, z.ZodObject<{
4185
4185
  tool_call_id: z.ZodString;
4186
4186
  tool_type: z.ZodEnum<{
4187
- mcp: "mcp";
4188
- built_in: "built_in";
4189
4187
  custom: "custom";
4188
+ built_in: "built_in";
4189
+ mcp: "mcp";
4190
4190
  }>;
4191
4191
  name: z.ZodString;
4192
4192
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4306,12 +4306,12 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4306
4306
  sequence: z.ZodInt;
4307
4307
  model_call_context_id: z.ZodString;
4308
4308
  stop_reason: z.ZodEnum<{
4309
+ error: "error";
4309
4310
  end_turn: "end_turn";
4310
4311
  tool_use: "tool_use";
4311
4312
  max_tokens: "max_tokens";
4312
4313
  refusal: "refusal";
4313
4314
  content_filter: "content_filter";
4314
- error: "error";
4315
4315
  }>;
4316
4316
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4317
4317
  text: z.ZodString;
@@ -4329,9 +4329,9 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4329
4329
  }, z.core.$strip>, z.ZodObject<{
4330
4330
  tool_call_id: z.ZodString;
4331
4331
  tool_type: z.ZodEnum<{
4332
- mcp: "mcp";
4333
- built_in: "built_in";
4334
4332
  custom: "custom";
4333
+ built_in: "built_in";
4334
+ mcp: "mcp";
4335
4335
  }>;
4336
4336
  name: z.ZodString;
4337
4337
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4453,12 +4453,12 @@ declare const zAgentTurn: z.ZodObject<{
4453
4453
  sequence: z.ZodInt;
4454
4454
  model_call_context_id: z.ZodString;
4455
4455
  stop_reason: z.ZodEnum<{
4456
+ error: "error";
4456
4457
  end_turn: "end_turn";
4457
4458
  tool_use: "tool_use";
4458
4459
  max_tokens: "max_tokens";
4459
4460
  refusal: "refusal";
4460
4461
  content_filter: "content_filter";
4461
- error: "error";
4462
4462
  }>;
4463
4463
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4464
4464
  text: z.ZodString;
@@ -4476,9 +4476,9 @@ declare const zAgentTurn: z.ZodObject<{
4476
4476
  }, z.core.$strip>, z.ZodObject<{
4477
4477
  tool_call_id: z.ZodString;
4478
4478
  tool_type: z.ZodEnum<{
4479
- mcp: "mcp";
4480
- built_in: "built_in";
4481
4479
  custom: "custom";
4480
+ built_in: "built_in";
4481
+ mcp: "mcp";
4482
4482
  }>;
4483
4483
  name: z.ZodString;
4484
4484
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4593,12 +4593,12 @@ declare const zAgentTurn: z.ZodObject<{
4593
4593
  sequence: z.ZodInt;
4594
4594
  model_call_context_id: z.ZodString;
4595
4595
  stop_reason: z.ZodEnum<{
4596
+ error: "error";
4596
4597
  end_turn: "end_turn";
4597
4598
  tool_use: "tool_use";
4598
4599
  max_tokens: "max_tokens";
4599
4600
  refusal: "refusal";
4600
4601
  content_filter: "content_filter";
4601
- error: "error";
4602
4602
  }>;
4603
4603
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4604
4604
  text: z.ZodString;
@@ -4616,9 +4616,9 @@ declare const zAgentTurn: z.ZodObject<{
4616
4616
  }, z.core.$strip>, z.ZodObject<{
4617
4617
  tool_call_id: z.ZodString;
4618
4618
  tool_type: z.ZodEnum<{
4619
- mcp: "mcp";
4620
- built_in: "built_in";
4621
4619
  custom: "custom";
4620
+ built_in: "built_in";
4621
+ mcp: "mcp";
4622
4622
  }>;
4623
4623
  name: z.ZodString;
4624
4624
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4733,12 +4733,12 @@ declare const zAgentTurn: z.ZodObject<{
4733
4733
  sequence: z.ZodInt;
4734
4734
  model_call_context_id: z.ZodString;
4735
4735
  stop_reason: z.ZodEnum<{
4736
+ error: "error";
4736
4737
  end_turn: "end_turn";
4737
4738
  tool_use: "tool_use";
4738
4739
  max_tokens: "max_tokens";
4739
4740
  refusal: "refusal";
4740
4741
  content_filter: "content_filter";
4741
- error: "error";
4742
4742
  }>;
4743
4743
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4744
4744
  text: z.ZodString;
@@ -4756,9 +4756,9 @@ declare const zAgentTurn: z.ZodObject<{
4756
4756
  }, z.core.$strip>, z.ZodObject<{
4757
4757
  tool_call_id: z.ZodString;
4758
4758
  tool_type: z.ZodEnum<{
4759
- mcp: "mcp";
4760
- built_in: "built_in";
4761
4759
  custom: "custom";
4760
+ built_in: "built_in";
4761
+ mcp: "mcp";
4762
4762
  }>;
4763
4763
  name: z.ZodString;
4764
4764
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4882,12 +4882,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4882
4882
  sequence: z.ZodInt;
4883
4883
  model_call_context_id: z.ZodString;
4884
4884
  stop_reason: z.ZodEnum<{
4885
+ error: "error";
4885
4886
  end_turn: "end_turn";
4886
4887
  tool_use: "tool_use";
4887
4888
  max_tokens: "max_tokens";
4888
4889
  refusal: "refusal";
4889
4890
  content_filter: "content_filter";
4890
- error: "error";
4891
4891
  }>;
4892
4892
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4893
4893
  text: z.ZodString;
@@ -4905,9 +4905,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4905
4905
  }, z.core.$strip>, z.ZodObject<{
4906
4906
  tool_call_id: z.ZodString;
4907
4907
  tool_type: z.ZodEnum<{
4908
- mcp: "mcp";
4909
- built_in: "built_in";
4910
4908
  custom: "custom";
4909
+ built_in: "built_in";
4910
+ mcp: "mcp";
4911
4911
  }>;
4912
4912
  name: z.ZodString;
4913
4913
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5022,12 +5022,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5022
5022
  sequence: z.ZodInt;
5023
5023
  model_call_context_id: z.ZodString;
5024
5024
  stop_reason: z.ZodEnum<{
5025
+ error: "error";
5025
5026
  end_turn: "end_turn";
5026
5027
  tool_use: "tool_use";
5027
5028
  max_tokens: "max_tokens";
5028
5029
  refusal: "refusal";
5029
5030
  content_filter: "content_filter";
5030
- error: "error";
5031
5031
  }>;
5032
5032
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5033
5033
  text: z.ZodString;
@@ -5045,9 +5045,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5045
5045
  }, z.core.$strip>, z.ZodObject<{
5046
5046
  tool_call_id: z.ZodString;
5047
5047
  tool_type: z.ZodEnum<{
5048
- mcp: "mcp";
5049
- built_in: "built_in";
5050
5048
  custom: "custom";
5049
+ built_in: "built_in";
5050
+ mcp: "mcp";
5051
5051
  }>;
5052
5052
  name: z.ZodString;
5053
5053
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5162,12 +5162,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5162
5162
  sequence: z.ZodInt;
5163
5163
  model_call_context_id: z.ZodString;
5164
5164
  stop_reason: z.ZodEnum<{
5165
+ error: "error";
5165
5166
  end_turn: "end_turn";
5166
5167
  tool_use: "tool_use";
5167
5168
  max_tokens: "max_tokens";
5168
5169
  refusal: "refusal";
5169
5170
  content_filter: "content_filter";
5170
- error: "error";
5171
5171
  }>;
5172
5172
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5173
5173
  text: z.ZodString;
@@ -5185,9 +5185,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5185
5185
  }, z.core.$strip>, z.ZodObject<{
5186
5186
  tool_call_id: z.ZodString;
5187
5187
  tool_type: z.ZodEnum<{
5188
- mcp: "mcp";
5189
- built_in: "built_in";
5190
5188
  custom: "custom";
5189
+ built_in: "built_in";
5190
+ mcp: "mcp";
5191
5191
  }>;
5192
5192
  name: z.ZodString;
5193
5193
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5308,12 +5308,12 @@ declare const zCancelAgentResponse: z.ZodObject<{
5308
5308
  sequence: z.ZodInt;
5309
5309
  model_call_context_id: z.ZodString;
5310
5310
  stop_reason: z.ZodEnum<{
5311
+ error: "error";
5311
5312
  end_turn: "end_turn";
5312
5313
  tool_use: "tool_use";
5313
5314
  max_tokens: "max_tokens";
5314
5315
  refusal: "refusal";
5315
5316
  content_filter: "content_filter";
5316
- error: "error";
5317
5317
  }>;
5318
5318
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5319
5319
  text: z.ZodString;
@@ -5331,9 +5331,9 @@ declare const zCancelAgentResponse: z.ZodObject<{
5331
5331
  }, z.core.$strip>, z.ZodObject<{
5332
5332
  tool_call_id: z.ZodString;
5333
5333
  tool_type: z.ZodEnum<{
5334
- mcp: "mcp";
5335
- built_in: "built_in";
5336
5334
  custom: "custom";
5335
+ built_in: "built_in";
5336
+ mcp: "mcp";
5337
5337
  }>;
5338
5338
  name: z.ZodString;
5339
5339
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5629,12 +5629,12 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5629
5629
  }>;
5630
5630
  model_call_context_id: z.ZodString;
5631
5631
  stop_reason: z.ZodEnum<{
5632
+ error: "error";
5632
5633
  end_turn: "end_turn";
5633
5634
  tool_use: "tool_use";
5634
5635
  max_tokens: "max_tokens";
5635
5636
  refusal: "refusal";
5636
5637
  content_filter: "content_filter";
5637
- error: "error";
5638
5638
  }>;
5639
5639
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5640
5640
  text: z.ZodString;
@@ -5652,9 +5652,9 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5652
5652
  }, z.core.$strip>, z.ZodObject<{
5653
5653
  tool_call_id: z.ZodString;
5654
5654
  tool_type: z.ZodEnum<{
5655
- mcp: "mcp";
5656
- built_in: "built_in";
5657
5655
  custom: "custom";
5656
+ built_in: "built_in";
5657
+ mcp: "mcp";
5658
5658
  }>;
5659
5659
  name: z.ZodString;
5660
5660
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5809,12 +5809,12 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5809
5809
  sequence: z.ZodInt;
5810
5810
  model_call_context_id: z.ZodString;
5811
5811
  stop_reason: z.ZodEnum<{
5812
+ error: "error";
5812
5813
  end_turn: "end_turn";
5813
5814
  tool_use: "tool_use";
5814
5815
  max_tokens: "max_tokens";
5815
5816
  refusal: "refusal";
5816
5817
  content_filter: "content_filter";
5817
- error: "error";
5818
5818
  }>;
5819
5819
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5820
5820
  text: z.ZodString;
@@ -5832,9 +5832,9 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5832
5832
  }, z.core.$strip>, z.ZodObject<{
5833
5833
  tool_call_id: z.ZodString;
5834
5834
  tool_type: z.ZodEnum<{
5835
- mcp: "mcp";
5836
- built_in: "built_in";
5837
5835
  custom: "custom";
5836
+ built_in: "built_in";
5837
+ mcp: "mcp";
5838
5838
  }>;
5839
5839
  name: z.ZodString;
5840
5840
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5962,6 +5962,7 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5962
5962
  }, z.core.$strip>, z.ZodObject<{
5963
5963
  stop: z.ZodObject<{
5964
5964
  reason: z.ZodEnum<{
5965
+ unknown: "unknown";
5965
5966
  end_turn: "end_turn";
5966
5967
  tool_use: "tool_use";
5967
5968
  max_tokens: "max_tokens";
@@ -5969,7 +5970,6 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5969
5970
  content_filter: "content_filter";
5970
5971
  pause: "pause";
5971
5972
  context_window: "context_window";
5972
- unknown: "unknown";
5973
5973
  }>;
5974
5974
  usage: z.ZodObject<{
5975
5975
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -6772,6 +6772,7 @@ declare const zCreateMachinePoolRequest: z.ZodIntersection<z.ZodObject<{
6772
6772
  boxd: "boxd";
6773
6773
  createos: "createos";
6774
6774
  daytona: "daytona";
6775
+ e2b: "e2b";
6775
6776
  }>;
6776
6777
  max_total_cpu: z.ZodInt;
6777
6778
  max_total_memory_mb: z.ZodInt;
@@ -6892,9 +6893,9 @@ declare const zMachineSourceKind: z.ZodEnum<{
6892
6893
  byo: "byo";
6893
6894
  }>;
6894
6895
  declare const zMachineLifecycleState: z.ZodEnum<{
6895
- active: "active";
6896
6896
  provisioning: "provisioning";
6897
6897
  provision_failed: "provision_failed";
6898
+ active: "active";
6898
6899
  deleting: "deleting";
6899
6900
  delete_failed: "delete_failed";
6900
6901
  deleted: "deleted";
@@ -6924,9 +6925,9 @@ declare const zMachine: z.ZodObject<{
6924
6925
  description: z.ZodString;
6925
6926
  provider: z.ZodString;
6926
6927
  lifecycle_state: z.ZodEnum<{
6927
- active: "active";
6928
6928
  provisioning: "provisioning";
6929
6929
  provision_failed: "provision_failed";
6930
+ active: "active";
6930
6931
  deleting: "deleting";
6931
6932
  delete_failed: "delete_failed";
6932
6933
  deleted: "deleted";
@@ -7004,9 +7005,9 @@ declare const zMachineSummaryFields: z.ZodObject<{
7004
7005
  description: z.ZodString;
7005
7006
  provider: z.ZodString;
7006
7007
  lifecycle_state: z.ZodEnum<{
7007
- active: "active";
7008
7008
  provisioning: "provisioning";
7009
7009
  provision_failed: "provision_failed";
7010
+ active: "active";
7010
7011
  deleting: "deleting";
7011
7012
  delete_failed: "delete_failed";
7012
7013
  deleted: "deleted";
@@ -7032,9 +7033,9 @@ declare const zMachineSummary: z.ZodObject<{
7032
7033
  description: z.ZodString;
7033
7034
  provider: z.ZodString;
7034
7035
  lifecycle_state: z.ZodEnum<{
7035
- active: "active";
7036
7036
  provisioning: "provisioning";
7037
7037
  provision_failed: "provision_failed";
7038
+ active: "active";
7038
7039
  deleting: "deleting";
7039
7040
  delete_failed: "delete_failed";
7040
7041
  deleted: "deleted";
@@ -7087,9 +7088,9 @@ declare const zVisibleMachine: z.ZodIntersection<z.ZodObject<{
7087
7088
  description: z.ZodString;
7088
7089
  provider: z.ZodString;
7089
7090
  lifecycle_state: z.ZodEnum<{
7090
- active: "active";
7091
7091
  provisioning: "provisioning";
7092
7092
  provision_failed: "provision_failed";
7093
+ active: "active";
7093
7094
  deleting: "deleting";
7094
7095
  delete_failed: "delete_failed";
7095
7096
  deleted: "deleted";
@@ -7132,9 +7133,9 @@ declare const zListVisibleMachinesResponse: z.ZodObject<{
7132
7133
  description: z.ZodString;
7133
7134
  provider: z.ZodString;
7134
7135
  lifecycle_state: z.ZodEnum<{
7135
- active: "active";
7136
7136
  provisioning: "provisioning";
7137
7137
  provision_failed: "provision_failed";
7138
+ active: "active";
7138
7139
  deleting: "deleting";
7139
7140
  delete_failed: "delete_failed";
7140
7141
  deleted: "deleted";
@@ -7215,9 +7216,9 @@ declare const zCreateProjectMachineGrantResponse: z.ZodObject<{
7215
7216
  description: z.ZodString;
7216
7217
  provider: z.ZodString;
7217
7218
  lifecycle_state: z.ZodEnum<{
7218
- active: "active";
7219
7219
  provisioning: "provisioning";
7220
7220
  provision_failed: "provision_failed";
7221
+ active: "active";
7221
7222
  deleting: "deleting";
7222
7223
  delete_failed: "delete_failed";
7223
7224
  deleted: "deleted";
@@ -7286,9 +7287,9 @@ declare const zProjectMachineGrantListItem: z.ZodObject<{
7286
7287
  description: z.ZodString;
7287
7288
  provider: z.ZodString;
7288
7289
  lifecycle_state: z.ZodEnum<{
7289
- active: "active";
7290
7290
  provisioning: "provisioning";
7291
7291
  provision_failed: "provision_failed";
7292
+ active: "active";
7292
7293
  deleting: "deleting";
7293
7294
  delete_failed: "delete_failed";
7294
7295
  deleted: "deleted";
@@ -7332,9 +7333,9 @@ declare const zListProjectMachineGrantsResponse: z.ZodObject<{
7332
7333
  description: z.ZodString;
7333
7334
  provider: z.ZodString;
7334
7335
  lifecycle_state: z.ZodEnum<{
7335
- active: "active";
7336
7336
  provisioning: "provisioning";
7337
7337
  provision_failed: "provision_failed";
7338
+ active: "active";
7338
7339
  deleting: "deleting";
7339
7340
  delete_failed: "delete_failed";
7340
7341
  deleted: "deleted";
@@ -7538,9 +7539,9 @@ declare const zConnectByoMachineResponse: z.ZodObject<{
7538
7539
  description: z.ZodString;
7539
7540
  provider: z.ZodString;
7540
7541
  lifecycle_state: z.ZodEnum<{
7541
- active: "active";
7542
7542
  provisioning: "provisioning";
7543
7543
  provision_failed: "provision_failed";
7544
+ active: "active";
7544
7545
  deleting: "deleting";
7545
7546
  delete_failed: "delete_failed";
7546
7547
  deleted: "deleted";
@@ -8034,13 +8035,13 @@ declare const zUsageTimeseriesMetric: z.ZodEnum<{
8034
8035
  count_model_calls: "count_model_calls";
8035
8036
  }>;
8036
8037
  declare const zUsageTimeseriesGroupBy: z.ZodEnum<{
8037
- profile: "profile";
8038
8038
  model: "model";
8039
+ profile: "profile";
8039
8040
  }>;
8040
8041
  declare const zUsageTimeseriesSeries: z.ZodObject<{
8041
8042
  kind: z.ZodEnum<{
8042
- profile: "profile";
8043
8043
  model: "model";
8044
+ profile: "profile";
8044
8045
  all: "all";
8045
8046
  no_profile: "no_profile";
8046
8047
  other: "other";
@@ -8257,8 +8258,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8257
8258
  month: "month";
8258
8259
  }>;
8259
8260
  group_by: z.ZodOptional<z.ZodEnum<{
8260
- profile: "profile";
8261
8261
  model: "model";
8262
+ profile: "profile";
8262
8263
  }>>;
8263
8264
  timezone: z.ZodString;
8264
8265
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -8281,8 +8282,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8281
8282
  active_agents: z.ZodCoercedBigInt<unknown>;
8282
8283
  series: z.ZodArray<z.ZodObject<{
8283
8284
  kind: z.ZodEnum<{
8284
- profile: "profile";
8285
8285
  model: "model";
8286
+ profile: "profile";
8286
8287
  all: "all";
8287
8288
  no_profile: "no_profile";
8288
8289
  other: "other";
@@ -8479,8 +8480,8 @@ declare const zCompiledTool: z.ZodObject<{
8479
8480
  integration_id: z.ZodOptional<z.ZodString>;
8480
8481
  enabled: z.ZodBoolean;
8481
8482
  type: z.ZodOptional<z.ZodEnum<{
8482
- built_in: "built_in";
8483
8483
  custom: "custom";
8484
+ built_in: "built_in";
8484
8485
  }>>;
8485
8486
  permission: z.ZodObject<{
8486
8487
  mode: z.ZodString;
@@ -8720,8 +8721,8 @@ declare const zCompiledAgentConfig: z.ZodObject<{
8720
8721
  integration_id: z.ZodOptional<z.ZodString>;
8721
8722
  enabled: z.ZodBoolean;
8722
8723
  type: z.ZodOptional<z.ZodEnum<{
8723
- built_in: "built_in";
8724
8724
  custom: "custom";
8725
+ built_in: "built_in";
8725
8726
  }>>;
8726
8727
  permission: z.ZodObject<{
8727
8728
  mode: z.ZodString;
@@ -8904,8 +8905,8 @@ declare const zAgentConfig: z.ZodObject<{
8904
8905
  integration_id: z.ZodOptional<z.ZodString>;
8905
8906
  enabled: z.ZodBoolean;
8906
8907
  type: z.ZodOptional<z.ZodEnum<{
8907
- built_in: "built_in";
8908
8908
  custom: "custom";
8909
+ built_in: "built_in";
8909
8910
  }>>;
8910
8911
  permission: z.ZodObject<{
8911
8912
  mode: z.ZodString;
@@ -9098,8 +9099,8 @@ declare const zAgentProfile: z.ZodObject<{
9098
9099
  integration_id: z.ZodOptional<z.ZodString>;
9099
9100
  enabled: z.ZodBoolean;
9100
9101
  type: z.ZodOptional<z.ZodEnum<{
9101
- built_in: "built_in";
9102
9102
  custom: "custom";
9103
+ built_in: "built_in";
9103
9104
  }>>;
9104
9105
  permission: z.ZodObject<{
9105
9106
  mode: z.ZodString;
@@ -9285,8 +9286,8 @@ declare const zUpdateAgentConfigResponse: z.ZodObject<{
9285
9286
  integration_id: z.ZodOptional<z.ZodString>;
9286
9287
  enabled: z.ZodBoolean;
9287
9288
  type: z.ZodOptional<z.ZodEnum<{
9288
- built_in: "built_in";
9289
9289
  custom: "custom";
9290
+ built_in: "built_in";
9290
9291
  }>>;
9291
9292
  permission: z.ZodObject<{
9292
9293
  mode: z.ZodString;
@@ -9476,8 +9477,8 @@ declare const zAgent: z.ZodObject<{
9476
9477
  project_id: z.ZodString;
9477
9478
  agent_profile_id: z.ZodOptional<z.ZodString>;
9478
9479
  state: z.ZodEnum<{
9479
- active: "active";
9480
9480
  archived: "archived";
9481
+ active: "active";
9481
9482
  }>;
9482
9483
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9483
9484
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9495,10 +9496,10 @@ declare const zAgent: z.ZodObject<{
9495
9496
  subagent_key: z.ZodOptional<z.ZodString>;
9496
9497
  activity: z.ZodOptional<z.ZodObject<{
9497
9498
  state: z.ZodEnum<{
9498
- archived: "archived";
9499
9499
  running: "running";
9500
9500
  idle: "idle";
9501
9501
  waiting_on_interaction: "waiting_on_interaction";
9502
+ archived: "archived";
9502
9503
  }>;
9503
9504
  last_activity_at: z.ZodISODateTime;
9504
9505
  }, z.core.$strip>>;
@@ -9528,8 +9529,8 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9528
9529
  project_id: z.ZodString;
9529
9530
  agent_profile_id: z.ZodOptional<z.ZodString>;
9530
9531
  state: z.ZodEnum<{
9531
- active: "active";
9532
9532
  archived: "archived";
9533
+ active: "active";
9533
9534
  }>;
9534
9535
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9535
9536
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9547,10 +9548,10 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9547
9548
  subagent_key: z.ZodOptional<z.ZodString>;
9548
9549
  activity: z.ZodOptional<z.ZodObject<{
9549
9550
  state: z.ZodEnum<{
9550
- archived: "archived";
9551
9551
  running: "running";
9552
9552
  idle: "idle";
9553
9553
  waiting_on_interaction: "waiting_on_interaction";
9554
+ archived: "archived";
9554
9555
  }>;
9555
9556
  last_activity_at: z.ZodISODateTime;
9556
9557
  }, z.core.$strip>>;
@@ -9581,8 +9582,8 @@ declare const zGetAgentResponse: z.ZodObject<{
9581
9582
  project_id: z.ZodString;
9582
9583
  agent_profile_id: z.ZodOptional<z.ZodString>;
9583
9584
  state: z.ZodEnum<{
9584
- active: "active";
9585
9585
  archived: "archived";
9586
+ active: "active";
9586
9587
  }>;
9587
9588
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9588
9589
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9600,10 +9601,10 @@ declare const zGetAgentResponse: z.ZodObject<{
9600
9601
  subagent_key: z.ZodOptional<z.ZodString>;
9601
9602
  activity: z.ZodOptional<z.ZodObject<{
9602
9603
  state: z.ZodEnum<{
9603
- archived: "archived";
9604
9604
  running: "running";
9605
9605
  idle: "idle";
9606
9606
  waiting_on_interaction: "waiting_on_interaction";
9607
+ archived: "archived";
9607
9608
  }>;
9608
9609
  last_activity_at: z.ZodISODateTime;
9609
9610
  }, z.core.$strip>>;
@@ -9649,8 +9650,8 @@ declare const zListAgentsResponse: z.ZodObject<{
9649
9650
  project_id: z.ZodString;
9650
9651
  agent_profile_id: z.ZodOptional<z.ZodString>;
9651
9652
  state: z.ZodEnum<{
9652
- active: "active";
9653
9653
  archived: "archived";
9654
+ active: "active";
9654
9655
  }>;
9655
9656
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9656
9657
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9668,10 +9669,10 @@ declare const zListAgentsResponse: z.ZodObject<{
9668
9669
  subagent_key: z.ZodOptional<z.ZodString>;
9669
9670
  activity: z.ZodOptional<z.ZodObject<{
9670
9671
  state: z.ZodEnum<{
9671
- archived: "archived";
9672
9672
  running: "running";
9673
9673
  idle: "idle";
9674
9674
  waiting_on_interaction: "waiting_on_interaction";
9675
+ archived: "archived";
9675
9676
  }>;
9676
9677
  last_activity_at: z.ZodISODateTime;
9677
9678
  }, z.core.$strip>>;
@@ -9703,8 +9704,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9703
9704
  project_id: z.ZodString;
9704
9705
  agent_profile_id: z.ZodOptional<z.ZodString>;
9705
9706
  state: z.ZodEnum<{
9706
- active: "active";
9707
9707
  archived: "archived";
9708
+ active: "active";
9708
9709
  }>;
9709
9710
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9710
9711
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9722,10 +9723,10 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9722
9723
  subagent_key: z.ZodOptional<z.ZodString>;
9723
9724
  activity: z.ZodOptional<z.ZodObject<{
9724
9725
  state: z.ZodEnum<{
9725
- archived: "archived";
9726
9726
  running: "running";
9727
9727
  idle: "idle";
9728
9728
  waiting_on_interaction: "waiting_on_interaction";
9729
+ archived: "archived";
9729
9730
  }>;
9730
9731
  last_activity_at: z.ZodISODateTime;
9731
9732
  }, z.core.$strip>>;
@@ -9821,8 +9822,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9821
9822
  integration_id: z.ZodOptional<z.ZodString>;
9822
9823
  enabled: z.ZodBoolean;
9823
9824
  type: z.ZodOptional<z.ZodEnum<{
9824
- built_in: "built_in";
9825
9825
  custom: "custom";
9826
+ built_in: "built_in";
9826
9827
  }>>;
9827
9828
  permission: z.ZodObject<{
9828
9829
  mode: z.ZodString;
@@ -10135,8 +10136,8 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10135
10136
  project_id: z.ZodString;
10136
10137
  agent_profile_id: z.ZodOptional<z.ZodString>;
10137
10138
  state: z.ZodEnum<{
10138
- active: "active";
10139
10139
  archived: "archived";
10140
+ active: "active";
10140
10141
  }>;
10141
10142
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
10142
10143
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -10154,10 +10155,10 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10154
10155
  subagent_key: z.ZodOptional<z.ZodString>;
10155
10156
  activity: z.ZodOptional<z.ZodObject<{
10156
10157
  state: z.ZodEnum<{
10157
- archived: "archived";
10158
10158
  running: "running";
10159
10159
  idle: "idle";
10160
10160
  waiting_on_interaction: "waiting_on_interaction";
10161
+ archived: "archived";
10161
10162
  }>;
10162
10163
  last_activity_at: z.ZodISODateTime;
10163
10164
  }, z.core.$strip>>;
@@ -10387,8 +10388,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10387
10388
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10388
10389
  }, z.core.$strip>>;
10389
10390
  type: z.ZodOptional<z.ZodEnum<{
10390
- built_in: "built_in";
10391
10391
  custom: "custom";
10392
+ built_in: "built_in";
10392
10393
  }>>;
10393
10394
  }, z.core.$strip>>>>;
10394
10395
  version: z.ZodOptional<z.ZodEnum<{
@@ -10527,8 +10528,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10527
10528
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10528
10529
  }, z.core.$strip>>;
10529
10530
  type: z.ZodOptional<z.ZodEnum<{
10530
- built_in: "built_in";
10531
10531
  custom: "custom";
10532
+ built_in: "built_in";
10532
10533
  }>>;
10533
10534
  }, z.core.$strip>>>>;
10534
10535
  version: z.ZodOptional<z.ZodEnum<{
@@ -10556,8 +10557,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10556
10557
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10557
10558
  }, z.core.$strip>>;
10558
10559
  type: z.ZodOptional<z.ZodEnum<{
10559
- built_in: "built_in";
10560
10560
  custom: "custom";
10561
+ built_in: "built_in";
10561
10562
  }>>;
10562
10563
  }, z.core.$strip>>>;
10563
10564
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10874,8 +10875,8 @@ declare const zSkillOwnerProjectIdFilter: z.ZodString;
10874
10875
  * Filter a project inventory by how the skill became available.
10875
10876
  */
10876
10877
  declare const zSkillAvailabilitySourceFilter: z.ZodEnum<{
10877
- direct: "direct";
10878
10878
  grant: "grant";
10879
+ direct: "direct";
10879
10880
  }>;
10880
10881
  /**
10881
10882
  * Filter by the immutable owner kind.
@@ -10897,8 +10898,8 @@ declare const zSecretMcpoAuthFlowIdFilter: z.ZodString;
10897
10898
  * Filter a project inventory by how the secret became available.
10898
10899
  */
10899
10900
  declare const zSecretAvailabilitySourceFilter: z.ZodEnum<{
10900
- direct: "direct";
10901
10901
  grant: "grant";
10902
+ direct: "direct";
10902
10903
  }>;
10903
10904
  declare const zListPersonalAccessTokensQuery: z.ZodObject<{
10904
10905
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -11123,8 +11124,8 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11123
11124
  project_id: z.ZodString;
11124
11125
  agent_profile_id: z.ZodOptional<z.ZodString>;
11125
11126
  state: z.ZodEnum<{
11126
- active: "active";
11127
11127
  archived: "archived";
11128
+ active: "active";
11128
11129
  }>;
11129
11130
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11130
11131
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11142,10 +11143,10 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11142
11143
  subagent_key: z.ZodOptional<z.ZodString>;
11143
11144
  activity: z.ZodOptional<z.ZodObject<{
11144
11145
  state: z.ZodEnum<{
11145
- archived: "archived";
11146
11146
  running: "running";
11147
11147
  idle: "idle";
11148
11148
  waiting_on_interaction: "waiting_on_interaction";
11149
+ archived: "archived";
11149
11150
  }>;
11150
11151
  last_activity_at: z.ZodISODateTime;
11151
11152
  }, z.core.$strip>>;
@@ -11314,8 +11315,8 @@ declare const zGetOrgUsageTimeseriesQuery: z.ZodObject<{
11314
11315
  count_model_calls: "count_model_calls";
11315
11316
  }>>;
11316
11317
  group_by: z.ZodOptional<z.ZodEnum<{
11317
- profile: "profile";
11318
11318
  model: "model";
11319
+ profile: "profile";
11319
11320
  }>>;
11320
11321
  group_limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
11321
11322
  project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -11340,8 +11341,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11340
11341
  month: "month";
11341
11342
  }>;
11342
11343
  group_by: z.ZodOptional<z.ZodEnum<{
11343
- profile: "profile";
11344
11344
  model: "model";
11345
+ profile: "profile";
11345
11346
  }>>;
11346
11347
  timezone: z.ZodString;
11347
11348
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -11364,8 +11365,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11364
11365
  active_agents: z.ZodCoercedBigInt<unknown>;
11365
11366
  series: z.ZodArray<z.ZodObject<{
11366
11367
  kind: z.ZodEnum<{
11367
- profile: "profile";
11368
11368
  model: "model";
11369
+ profile: "profile";
11369
11370
  all: "all";
11370
11371
  no_profile: "no_profile";
11371
11372
  other: "other";
@@ -11409,8 +11410,8 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11409
11410
  project_id: z.ZodString;
11410
11411
  agent_profile_id: z.ZodOptional<z.ZodString>;
11411
11412
  state: z.ZodEnum<{
11412
- active: "active";
11413
11413
  archived: "archived";
11414
+ active: "active";
11414
11415
  }>;
11415
11416
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11416
11417
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11428,10 +11429,10 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11428
11429
  subagent_key: z.ZodOptional<z.ZodString>;
11429
11430
  activity: z.ZodOptional<z.ZodObject<{
11430
11431
  state: z.ZodEnum<{
11431
- archived: "archived";
11432
11432
  running: "running";
11433
11433
  idle: "idle";
11434
11434
  waiting_on_interaction: "waiting_on_interaction";
11435
+ archived: "archived";
11435
11436
  }>;
11436
11437
  last_activity_at: z.ZodISODateTime;
11437
11438
  }, z.core.$strip>>;
@@ -12195,8 +12196,8 @@ declare const zListProjectAvailableSkillsQuery: z.ZodObject<{
12195
12196
  user: "user";
12196
12197
  }>>;
12197
12198
  availability_source: z.ZodOptional<z.ZodEnum<{
12198
- direct: "direct";
12199
12199
  grant: "grant";
12200
+ direct: "direct";
12200
12201
  }>>;
12201
12202
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12202
12203
  name: "name";
@@ -12941,8 +12942,8 @@ declare const zResolveAgentConfigToolsBody: z.ZodObject<{
12941
12942
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12942
12943
  }, z.core.$strip>>;
12943
12944
  type: z.ZodOptional<z.ZodEnum<{
12944
- built_in: "built_in";
12945
12945
  custom: "custom";
12946
+ built_in: "built_in";
12946
12947
  }>>;
12947
12948
  }, z.core.$strip>>>>;
12948
12949
  }, z.core.$loose>]>;
@@ -13092,8 +13093,8 @@ declare const zCreateAgentConfigBody: z.ZodObject<{
13092
13093
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13093
13094
  }, z.core.$strip>>;
13094
13095
  type: z.ZodOptional<z.ZodEnum<{
13095
- built_in: "built_in";
13096
13096
  custom: "custom";
13097
+ built_in: "built_in";
13097
13098
  }>>;
13098
13099
  }, z.core.$strip>>>>;
13099
13100
  version: z.ZodOptional<z.ZodEnum<{
@@ -13185,8 +13186,8 @@ declare const zCreateAgentConfigResponse: z.ZodObject<{
13185
13186
  integration_id: z.ZodOptional<z.ZodString>;
13186
13187
  enabled: z.ZodBoolean;
13187
13188
  type: z.ZodOptional<z.ZodEnum<{
13188
- built_in: "built_in";
13189
13189
  custom: "custom";
13190
+ built_in: "built_in";
13190
13191
  }>>;
13191
13192
  permission: z.ZodObject<{
13192
13193
  mode: z.ZodString;
@@ -13507,8 +13508,8 @@ declare const zGetAgentConfigResponse: z.ZodObject<{
13507
13508
  integration_id: z.ZodOptional<z.ZodString>;
13508
13509
  enabled: z.ZodBoolean;
13509
13510
  type: z.ZodOptional<z.ZodEnum<{
13510
- built_in: "built_in";
13511
13511
  custom: "custom";
13512
+ built_in: "built_in";
13512
13513
  }>>;
13513
13514
  permission: z.ZodObject<{
13514
13515
  mode: z.ZodString;
@@ -13825,8 +13826,8 @@ declare const zCreateAgentProfileResponse: z.ZodObject<{
13825
13826
  integration_id: z.ZodOptional<z.ZodString>;
13826
13827
  enabled: z.ZodBoolean;
13827
13828
  type: z.ZodOptional<z.ZodEnum<{
13828
- built_in: "built_in";
13829
13829
  custom: "custom";
13830
+ built_in: "built_in";
13830
13831
  }>>;
13831
13832
  permission: z.ZodObject<{
13832
13833
  mode: z.ZodString;
@@ -14037,8 +14038,8 @@ declare const zGetAgentProfileResponse: z.ZodObject<{
14037
14038
  integration_id: z.ZodOptional<z.ZodString>;
14038
14039
  enabled: z.ZodBoolean;
14039
14040
  type: z.ZodOptional<z.ZodEnum<{
14040
- built_in: "built_in";
14041
14041
  custom: "custom";
14042
+ built_in: "built_in";
14042
14043
  }>>;
14043
14044
  permission: z.ZodObject<{
14044
14045
  mode: z.ZodString;
@@ -14243,8 +14244,8 @@ declare const zRenameAgentProfileResponse: z.ZodObject<{
14243
14244
  integration_id: z.ZodOptional<z.ZodString>;
14244
14245
  enabled: z.ZodBoolean;
14245
14246
  type: z.ZodOptional<z.ZodEnum<{
14246
- built_in: "built_in";
14247
14247
  custom: "custom";
14248
+ built_in: "built_in";
14248
14249
  }>>;
14249
14250
  permission: z.ZodObject<{
14250
14251
  mode: z.ZodString;
@@ -14505,8 +14506,8 @@ declare const zUpdateAgentProfileResponse: z.ZodObject<{
14505
14506
  integration_id: z.ZodOptional<z.ZodString>;
14506
14507
  enabled: z.ZodBoolean;
14507
14508
  type: z.ZodOptional<z.ZodEnum<{
14508
- built_in: "built_in";
14509
14509
  custom: "custom";
14510
+ built_in: "built_in";
14510
14511
  }>>;
14511
14512
  permission: z.ZodObject<{
14512
14513
  mode: z.ZodString;
@@ -15034,8 +15035,8 @@ declare const zListAgentsResponse2: z.ZodObject<{
15034
15035
  project_id: z.ZodString;
15035
15036
  agent_profile_id: z.ZodOptional<z.ZodString>;
15036
15037
  state: z.ZodEnum<{
15037
- active: "active";
15038
15038
  archived: "archived";
15039
+ active: "active";
15039
15040
  }>;
15040
15041
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15041
15042
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15053,10 +15054,10 @@ declare const zListAgentsResponse2: z.ZodObject<{
15053
15054
  subagent_key: z.ZodOptional<z.ZodString>;
15054
15055
  activity: z.ZodOptional<z.ZodObject<{
15055
15056
  state: z.ZodEnum<{
15056
- archived: "archived";
15057
15057
  running: "running";
15058
15058
  idle: "idle";
15059
15059
  waiting_on_interaction: "waiting_on_interaction";
15060
+ archived: "archived";
15060
15061
  }>;
15061
15062
  last_activity_at: z.ZodISODateTime;
15062
15063
  }, z.core.$strip>>;
@@ -15210,8 +15211,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15210
15211
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15211
15212
  }, z.core.$strip>>;
15212
15213
  type: z.ZodOptional<z.ZodEnum<{
15213
- built_in: "built_in";
15214
15214
  custom: "custom";
15215
+ built_in: "built_in";
15215
15216
  }>>;
15216
15217
  }, z.core.$strip>>>>;
15217
15218
  version: z.ZodOptional<z.ZodEnum<{
@@ -15350,8 +15351,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15350
15351
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15351
15352
  }, z.core.$strip>>;
15352
15353
  type: z.ZodOptional<z.ZodEnum<{
15353
- built_in: "built_in";
15354
15354
  custom: "custom";
15355
+ built_in: "built_in";
15355
15356
  }>>;
15356
15357
  }, z.core.$strip>>>>;
15357
15358
  version: z.ZodOptional<z.ZodEnum<{
@@ -15379,8 +15380,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15379
15380
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15380
15381
  }, z.core.$strip>>;
15381
15382
  type: z.ZodOptional<z.ZodEnum<{
15382
- built_in: "built_in";
15383
15383
  custom: "custom";
15384
+ built_in: "built_in";
15384
15385
  }>>;
15385
15386
  }, z.core.$strip>>>;
15386
15387
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15418,8 +15419,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15418
15419
  project_id: z.ZodString;
15419
15420
  agent_profile_id: z.ZodOptional<z.ZodString>;
15420
15421
  state: z.ZodEnum<{
15421
- active: "active";
15422
15422
  archived: "archived";
15423
+ active: "active";
15423
15424
  }>;
15424
15425
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15425
15426
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15437,10 +15438,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15437
15438
  subagent_key: z.ZodOptional<z.ZodString>;
15438
15439
  activity: z.ZodOptional<z.ZodObject<{
15439
15440
  state: z.ZodEnum<{
15440
- archived: "archived";
15441
15441
  running: "running";
15442
15442
  idle: "idle";
15443
15443
  waiting_on_interaction: "waiting_on_interaction";
15444
+ archived: "archived";
15444
15445
  }>;
15445
15446
  last_activity_at: z.ZodISODateTime;
15446
15447
  }, z.core.$strip>>;
@@ -15470,8 +15471,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15470
15471
  project_id: z.ZodString;
15471
15472
  agent_profile_id: z.ZodOptional<z.ZodString>;
15472
15473
  state: z.ZodEnum<{
15473
- active: "active";
15474
15474
  archived: "archived";
15475
+ active: "active";
15475
15476
  }>;
15476
15477
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15477
15478
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15489,10 +15490,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15489
15490
  subagent_key: z.ZodOptional<z.ZodString>;
15490
15491
  activity: z.ZodOptional<z.ZodObject<{
15491
15492
  state: z.ZodEnum<{
15492
- archived: "archived";
15493
15493
  running: "running";
15494
15494
  idle: "idle";
15495
15495
  waiting_on_interaction: "waiting_on_interaction";
15496
+ archived: "archived";
15496
15497
  }>;
15497
15498
  last_activity_at: z.ZodISODateTime;
15498
15499
  }, z.core.$strip>>;
@@ -15588,8 +15589,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15588
15589
  integration_id: z.ZodOptional<z.ZodString>;
15589
15590
  enabled: z.ZodBoolean;
15590
15591
  type: z.ZodOptional<z.ZodEnum<{
15591
- built_in: "built_in";
15592
15592
  custom: "custom";
15593
+ built_in: "built_in";
15593
15594
  }>>;
15594
15595
  permission: z.ZodObject<{
15595
15596
  mode: z.ZodString;
@@ -15765,8 +15766,8 @@ declare const zGetAgentResponse2: z.ZodObject<{
15765
15766
  project_id: z.ZodString;
15766
15767
  agent_profile_id: z.ZodOptional<z.ZodString>;
15767
15768
  state: z.ZodEnum<{
15768
- active: "active";
15769
15769
  archived: "archived";
15770
+ active: "active";
15770
15771
  }>;
15771
15772
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15772
15773
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15784,10 +15785,10 @@ declare const zGetAgentResponse2: z.ZodObject<{
15784
15785
  subagent_key: z.ZodOptional<z.ZodString>;
15785
15786
  activity: z.ZodOptional<z.ZodObject<{
15786
15787
  state: z.ZodEnum<{
15787
- archived: "archived";
15788
15788
  running: "running";
15789
15789
  idle: "idle";
15790
15790
  waiting_on_interaction: "waiting_on_interaction";
15791
+ archived: "archived";
15791
15792
  }>;
15792
15793
  last_activity_at: z.ZodISODateTime;
15793
15794
  }, z.core.$strip>>;
@@ -15893,8 +15894,8 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15893
15894
  project_id: z.ZodString;
15894
15895
  agent_profile_id: z.ZodOptional<z.ZodString>;
15895
15896
  state: z.ZodEnum<{
15896
- active: "active";
15897
15897
  archived: "archived";
15898
+ active: "active";
15898
15899
  }>;
15899
15900
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15900
15901
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15912,10 +15913,10 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15912
15913
  subagent_key: z.ZodOptional<z.ZodString>;
15913
15914
  activity: z.ZodOptional<z.ZodObject<{
15914
15915
  state: z.ZodEnum<{
15915
- archived: "archived";
15916
15916
  running: "running";
15917
15917
  idle: "idle";
15918
15918
  waiting_on_interaction: "waiting_on_interaction";
15919
+ archived: "archived";
15919
15920
  }>;
15920
15921
  last_activity_at: z.ZodISODateTime;
15921
15922
  }, z.core.$strip>>;
@@ -16063,8 +16064,8 @@ declare const zUpdateAgentConfigBody: z.ZodObject<{
16063
16064
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16064
16065
  }, z.core.$strip>>;
16065
16066
  type: z.ZodOptional<z.ZodEnum<{
16066
- built_in: "built_in";
16067
16067
  custom: "custom";
16068
+ built_in: "built_in";
16068
16069
  }>>;
16069
16070
  }, z.core.$strip>>>>;
16070
16071
  version: z.ZodOptional<z.ZodEnum<{
@@ -16162,8 +16163,8 @@ declare const zUpdateAgentConfigResponse2: z.ZodObject<{
16162
16163
  integration_id: z.ZodOptional<z.ZodString>;
16163
16164
  enabled: z.ZodBoolean;
16164
16165
  type: z.ZodOptional<z.ZodEnum<{
16165
- built_in: "built_in";
16166
16166
  custom: "custom";
16167
+ built_in: "built_in";
16167
16168
  }>>;
16168
16169
  permission: z.ZodObject<{
16169
16170
  mode: z.ZodString;
@@ -16408,9 +16409,9 @@ declare const zListToolCallsQuery: z.ZodObject<{
16408
16409
  waiting: "waiting";
16409
16410
  }>>;
16410
16411
  type: z.ZodOptional<z.ZodEnum<{
16411
- mcp: "mcp";
16412
- built_in: "built_in";
16413
16412
  custom: "custom";
16413
+ built_in: "built_in";
16414
+ mcp: "mcp";
16414
16415
  }>>;
16415
16416
  include_subagents: z.ZodOptional<z.ZodBoolean>;
16416
16417
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -16428,9 +16429,9 @@ declare const zListToolCallsResponse2: z.ZodObject<{
16428
16429
  name: z.ZodString;
16429
16430
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16430
16431
  type: z.ZodEnum<{
16431
- mcp: "mcp";
16432
- built_in: "built_in";
16433
16432
  custom: "custom";
16433
+ built_in: "built_in";
16434
+ mcp: "mcp";
16434
16435
  }>;
16435
16436
  state: z.ZodEnum<{
16436
16437
  completed: "completed";
@@ -16512,9 +16513,9 @@ declare const zSubmitToolCallResultResponse2: z.ZodObject<{
16512
16513
  name: z.ZodString;
16513
16514
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16514
16515
  type: z.ZodEnum<{
16515
- mcp: "mcp";
16516
- built_in: "built_in";
16517
16516
  custom: "custom";
16517
+ built_in: "built_in";
16518
+ mcp: "mcp";
16518
16519
  }>;
16519
16520
  state: z.ZodEnum<{
16520
16521
  completed: "completed";
@@ -16624,12 +16625,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16624
16625
  sequence: z.ZodInt;
16625
16626
  model_call_context_id: z.ZodString;
16626
16627
  stop_reason: z.ZodEnum<{
16628
+ error: "error";
16627
16629
  end_turn: "end_turn";
16628
16630
  tool_use: "tool_use";
16629
16631
  max_tokens: "max_tokens";
16630
16632
  refusal: "refusal";
16631
16633
  content_filter: "content_filter";
16632
- error: "error";
16633
16634
  }>;
16634
16635
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16635
16636
  text: z.ZodString;
@@ -16647,9 +16648,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16647
16648
  }, z.core.$strip>, z.ZodObject<{
16648
16649
  tool_call_id: z.ZodString;
16649
16650
  tool_type: z.ZodEnum<{
16650
- mcp: "mcp";
16651
- built_in: "built_in";
16652
16651
  custom: "custom";
16652
+ built_in: "built_in";
16653
+ mcp: "mcp";
16653
16654
  }>;
16654
16655
  name: z.ZodString;
16655
16656
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16764,12 +16765,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16764
16765
  sequence: z.ZodInt;
16765
16766
  model_call_context_id: z.ZodString;
16766
16767
  stop_reason: z.ZodEnum<{
16768
+ error: "error";
16767
16769
  end_turn: "end_turn";
16768
16770
  tool_use: "tool_use";
16769
16771
  max_tokens: "max_tokens";
16770
16772
  refusal: "refusal";
16771
16773
  content_filter: "content_filter";
16772
- error: "error";
16773
16774
  }>;
16774
16775
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16775
16776
  text: z.ZodString;
@@ -16787,9 +16788,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16787
16788
  }, z.core.$strip>, z.ZodObject<{
16788
16789
  tool_call_id: z.ZodString;
16789
16790
  tool_type: z.ZodEnum<{
16790
- mcp: "mcp";
16791
- built_in: "built_in";
16792
16791
  custom: "custom";
16792
+ built_in: "built_in";
16793
+ mcp: "mcp";
16793
16794
  }>;
16794
16795
  name: z.ZodString;
16795
16796
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16904,12 +16905,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16904
16905
  sequence: z.ZodInt;
16905
16906
  model_call_context_id: z.ZodString;
16906
16907
  stop_reason: z.ZodEnum<{
16908
+ error: "error";
16907
16909
  end_turn: "end_turn";
16908
16910
  tool_use: "tool_use";
16909
16911
  max_tokens: "max_tokens";
16910
16912
  refusal: "refusal";
16911
16913
  content_filter: "content_filter";
16912
- error: "error";
16913
16914
  }>;
16914
16915
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16915
16916
  text: z.ZodString;
@@ -16927,9 +16928,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16927
16928
  }, z.core.$strip>, z.ZodObject<{
16928
16929
  tool_call_id: z.ZodString;
16929
16930
  tool_type: z.ZodEnum<{
16930
- mcp: "mcp";
16931
- built_in: "built_in";
16932
16931
  custom: "custom";
16932
+ built_in: "built_in";
16933
+ mcp: "mcp";
16933
16934
  }>;
16934
16935
  name: z.ZodString;
16935
16936
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17063,12 +17064,12 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17063
17064
  sequence: z.ZodInt;
17064
17065
  model_call_context_id: z.ZodString;
17065
17066
  stop_reason: z.ZodEnum<{
17067
+ error: "error";
17066
17068
  end_turn: "end_turn";
17067
17069
  tool_use: "tool_use";
17068
17070
  max_tokens: "max_tokens";
17069
17071
  refusal: "refusal";
17070
17072
  content_filter: "content_filter";
17071
- error: "error";
17072
17073
  }>;
17073
17074
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17074
17075
  text: z.ZodString;
@@ -17086,9 +17087,9 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17086
17087
  }, z.core.$strip>, z.ZodObject<{
17087
17088
  tool_call_id: z.ZodString;
17088
17089
  tool_type: z.ZodEnum<{
17089
- mcp: "mcp";
17090
- built_in: "built_in";
17091
17090
  custom: "custom";
17091
+ built_in: "built_in";
17092
+ mcp: "mcp";
17092
17093
  }>;
17093
17094
  name: z.ZodString;
17094
17095
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17219,12 +17220,12 @@ declare const zListEventsResponse: z.ZodObject<{
17219
17220
  sequence: z.ZodInt;
17220
17221
  model_call_context_id: z.ZodString;
17221
17222
  stop_reason: z.ZodEnum<{
17223
+ error: "error";
17222
17224
  end_turn: "end_turn";
17223
17225
  tool_use: "tool_use";
17224
17226
  max_tokens: "max_tokens";
17225
17227
  refusal: "refusal";
17226
17228
  content_filter: "content_filter";
17227
- error: "error";
17228
17229
  }>;
17229
17230
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17230
17231
  text: z.ZodString;
@@ -17242,9 +17243,9 @@ declare const zListEventsResponse: z.ZodObject<{
17242
17243
  }, z.core.$strip>, z.ZodObject<{
17243
17244
  tool_call_id: z.ZodString;
17244
17245
  tool_type: z.ZodEnum<{
17245
- mcp: "mcp";
17246
- built_in: "built_in";
17247
17246
  custom: "custom";
17247
+ built_in: "built_in";
17248
+ mcp: "mcp";
17248
17249
  }>;
17249
17250
  name: z.ZodString;
17250
17251
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17378,12 +17379,12 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17378
17379
  sequence: z.ZodInt;
17379
17380
  model_call_context_id: z.ZodString;
17380
17381
  stop_reason: z.ZodEnum<{
17382
+ error: "error";
17381
17383
  end_turn: "end_turn";
17382
17384
  tool_use: "tool_use";
17383
17385
  max_tokens: "max_tokens";
17384
17386
  refusal: "refusal";
17385
17387
  content_filter: "content_filter";
17386
- error: "error";
17387
17388
  }>;
17388
17389
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17389
17390
  text: z.ZodString;
@@ -17401,9 +17402,9 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17401
17402
  }, z.core.$strip>, z.ZodObject<{
17402
17403
  tool_call_id: z.ZodString;
17403
17404
  tool_type: z.ZodEnum<{
17404
- mcp: "mcp";
17405
- built_in: "built_in";
17406
17405
  custom: "custom";
17406
+ built_in: "built_in";
17407
+ mcp: "mcp";
17407
17408
  }>;
17408
17409
  name: z.ZodString;
17409
17410
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17531,6 +17532,7 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17531
17532
  }, z.core.$strip>, z.ZodObject<{
17532
17533
  stop: z.ZodObject<{
17533
17534
  reason: z.ZodEnum<{
17535
+ unknown: "unknown";
17534
17536
  end_turn: "end_turn";
17535
17537
  tool_use: "tool_use";
17536
17538
  max_tokens: "max_tokens";
@@ -17538,7 +17540,6 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17538
17540
  content_filter: "content_filter";
17539
17541
  pause: "pause";
17540
17542
  context_window: "context_window";
17541
- unknown: "unknown";
17542
17543
  }>;
17543
17544
  usage: z.ZodObject<{
17544
17545
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -17630,12 +17631,12 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17630
17631
  sequence: z.ZodInt;
17631
17632
  model_call_context_id: z.ZodString;
17632
17633
  stop_reason: z.ZodEnum<{
17634
+ error: "error";
17633
17635
  end_turn: "end_turn";
17634
17636
  tool_use: "tool_use";
17635
17637
  max_tokens: "max_tokens";
17636
17638
  refusal: "refusal";
17637
17639
  content_filter: "content_filter";
17638
- error: "error";
17639
17640
  }>;
17640
17641
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17641
17642
  text: z.ZodString;
@@ -17653,9 +17654,9 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17653
17654
  }, z.core.$strip>, z.ZodObject<{
17654
17655
  tool_call_id: z.ZodString;
17655
17656
  tool_type: z.ZodEnum<{
17656
- mcp: "mcp";
17657
- built_in: "built_in";
17658
17657
  custom: "custom";
17658
+ built_in: "built_in";
17659
+ mcp: "mcp";
17659
17660
  }>;
17660
17661
  name: z.ZodString;
17661
17662
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -18051,9 +18052,9 @@ declare const zListVisibleProjectMachinesResponse: z.ZodObject<{
18051
18052
  description: z.ZodString;
18052
18053
  provider: z.ZodString;
18053
18054
  lifecycle_state: z.ZodEnum<{
18054
- active: "active";
18055
18055
  provisioning: "provisioning";
18056
18056
  provision_failed: "provision_failed";
18057
+ active: "active";
18057
18058
  deleting: "deleting";
18058
18059
  delete_failed: "delete_failed";
18059
18060
  deleted: "deleted";
@@ -18134,9 +18135,9 @@ declare const zListProjectMachineGrantsResponse2: z.ZodObject<{
18134
18135
  description: z.ZodString;
18135
18136
  provider: z.ZodString;
18136
18137
  lifecycle_state: z.ZodEnum<{
18137
- active: "active";
18138
18138
  provisioning: "provisioning";
18139
18139
  provision_failed: "provision_failed";
18140
+ active: "active";
18140
18141
  deleting: "deleting";
18141
18142
  delete_failed: "delete_failed";
18142
18143
  deleted: "deleted";
@@ -18197,9 +18198,9 @@ declare const zCreateProjectMachineGrantResponse2: z.ZodObject<{
18197
18198
  description: z.ZodString;
18198
18199
  provider: z.ZodString;
18199
18200
  lifecycle_state: z.ZodEnum<{
18200
- active: "active";
18201
18201
  provisioning: "provisioning";
18202
18202
  provision_failed: "provision_failed";
18203
+ active: "active";
18203
18204
  deleting: "deleting";
18204
18205
  delete_failed: "delete_failed";
18205
18206
  deleted: "deleted";
@@ -18269,8 +18270,8 @@ declare const zListProjectAvailableSecretsQuery: z.ZodObject<{
18269
18270
  user: "user";
18270
18271
  }>>;
18271
18272
  availability_source: z.ZodOptional<z.ZodEnum<{
18272
- direct: "direct";
18273
18273
  grant: "grant";
18274
+ direct: "direct";
18274
18275
  }>>;
18275
18276
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18276
18277
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -18504,9 +18505,9 @@ declare const zListVisibleMachinesResponse2: z.ZodObject<{
18504
18505
  description: z.ZodString;
18505
18506
  provider: z.ZodString;
18506
18507
  lifecycle_state: z.ZodEnum<{
18507
- active: "active";
18508
18508
  provisioning: "provisioning";
18509
18509
  provision_failed: "provision_failed";
18510
+ active: "active";
18510
18511
  deleting: "deleting";
18511
18512
  delete_failed: "delete_failed";
18512
18513
  deleted: "deleted";
@@ -18568,9 +18569,9 @@ declare const zCreateMachineResponse: z.ZodObject<{
18568
18569
  description: z.ZodString;
18569
18570
  provider: z.ZodString;
18570
18571
  lifecycle_state: z.ZodEnum<{
18571
- active: "active";
18572
18572
  provisioning: "provisioning";
18573
18573
  provision_failed: "provision_failed";
18574
+ active: "active";
18574
18575
  deleting: "deleting";
18575
18576
  delete_failed: "delete_failed";
18576
18577
  deleted: "deleted";
@@ -18640,9 +18641,9 @@ declare const zConnectByoMachineResponse2: z.ZodObject<{
18640
18641
  description: z.ZodString;
18641
18642
  provider: z.ZodString;
18642
18643
  lifecycle_state: z.ZodEnum<{
18643
- active: "active";
18644
18644
  provisioning: "provisioning";
18645
18645
  provision_failed: "provision_failed";
18646
+ active: "active";
18646
18647
  deleting: "deleting";
18647
18648
  delete_failed: "delete_failed";
18648
18649
  deleted: "deleted";
@@ -18738,9 +18739,9 @@ declare const zGetMachineResponse: z.ZodObject<{
18738
18739
  description: z.ZodString;
18739
18740
  provider: z.ZodString;
18740
18741
  lifecycle_state: z.ZodEnum<{
18741
- active: "active";
18742
18742
  provisioning: "provisioning";
18743
18743
  provision_failed: "provision_failed";
18744
+ active: "active";
18744
18745
  deleting: "deleting";
18745
18746
  delete_failed: "delete_failed";
18746
18747
  deleted: "deleted";
@@ -18805,9 +18806,9 @@ declare const zUpdateMachineResponse: z.ZodObject<{
18805
18806
  description: z.ZodString;
18806
18807
  provider: z.ZodString;
18807
18808
  lifecycle_state: z.ZodEnum<{
18808
- active: "active";
18809
18809
  provisioning: "provisioning";
18810
18810
  provision_failed: "provision_failed";
18811
+ active: "active";
18811
18812
  deleting: "deleting";
18812
18813
  delete_failed: "delete_failed";
18813
18814
  deleted: "deleted";
@@ -19555,6 +19556,7 @@ declare const zCreateMachinePoolBody: z.ZodIntersection<z.ZodObject<{
19555
19556
  boxd: "boxd";
19556
19557
  createos: "createos";
19557
19558
  daytona: "daytona";
19559
+ e2b: "e2b";
19558
19560
  }>;
19559
19561
  max_total_cpu: z.ZodInt;
19560
19562
  max_total_memory_mb: z.ZodInt;