@omnara/sdk 0.1.36 → 0.1.37

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.
@@ -129,8 +129,8 @@ declare const zAgentConfigDefinitionTool: z.ZodObject<{
129
129
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
130
130
  }, z.core.$strip>>;
131
131
  type: z.ZodOptional<z.ZodEnum<{
132
- built_in: "built_in";
133
132
  custom: "custom";
133
+ built_in: "built_in";
134
134
  }>>;
135
135
  }, z.core.$strip>;
136
136
  declare const zAgentConfigDefinitionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -147,8 +147,8 @@ declare const zAgentConfigDefinitionTools: z.ZodNullable<z.ZodRecord<z.ZodString
147
147
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
148
148
  }, z.core.$strip>>;
149
149
  type: z.ZodOptional<z.ZodEnum<{
150
- built_in: "built_in";
151
150
  custom: "custom";
151
+ built_in: "built_in";
152
152
  }>>;
153
153
  }, z.core.$strip>>>;
154
154
  declare const zEnvironmentVariableName: z.ZodString;
@@ -424,8 +424,8 @@ declare const zAgentConfigDefinition: z.ZodObject<{
424
424
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
425
425
  }, z.core.$strip>>;
426
426
  type: z.ZodOptional<z.ZodEnum<{
427
- built_in: "built_in";
428
427
  custom: "custom";
428
+ built_in: "built_in";
429
429
  }>>;
430
430
  }, z.core.$strip>>>>;
431
431
  version: z.ZodOptional<z.ZodEnum<{
@@ -532,8 +532,8 @@ declare const zAgentConfigToolsDefinition: z.ZodObject<{
532
532
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
533
533
  }, z.core.$strip>>;
534
534
  type: z.ZodOptional<z.ZodEnum<{
535
- built_in: "built_in";
536
535
  custom: "custom";
536
+ built_in: "built_in";
537
537
  }>>;
538
538
  }, z.core.$strip>>>>;
539
539
  }, z.core.$loose>;
@@ -1720,8 +1720,8 @@ declare const zResolveAgentConfigToolsRequest: z.ZodObject<{
1720
1720
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1721
1721
  }, z.core.$strip>>;
1722
1722
  type: z.ZodOptional<z.ZodEnum<{
1723
- built_in: "built_in";
1724
1723
  custom: "custom";
1724
+ built_in: "built_in";
1725
1725
  }>>;
1726
1726
  }, z.core.$strip>>>>;
1727
1727
  }, z.core.$loose>]>;
@@ -1858,8 +1858,8 @@ declare const zAgentConfigSourceInput: z.ZodUnion<readonly [z.ZodString, z.ZodOb
1858
1858
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1859
1859
  }, z.core.$strip>>;
1860
1860
  type: z.ZodOptional<z.ZodEnum<{
1861
- built_in: "built_in";
1862
1861
  custom: "custom";
1862
+ built_in: "built_in";
1863
1863
  }>>;
1864
1864
  }, z.core.$strip>>>>;
1865
1865
  version: z.ZodOptional<z.ZodEnum<{
@@ -1995,8 +1995,8 @@ declare const zCreateAgentConfigRequest: z.ZodObject<{
1995
1995
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1996
1996
  }, z.core.$strip>>;
1997
1997
  type: z.ZodOptional<z.ZodEnum<{
1998
- built_in: "built_in";
1999
1998
  custom: "custom";
1999
+ built_in: "built_in";
2000
2000
  }>>;
2001
2001
  }, z.core.$strip>>>>;
2002
2002
  version: z.ZodOptional<z.ZodEnum<{
@@ -2137,8 +2137,8 @@ declare const zUpdateAgentConfigRequest: z.ZodObject<{
2137
2137
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2138
2138
  }, z.core.$strip>>;
2139
2139
  type: z.ZodOptional<z.ZodEnum<{
2140
- built_in: "built_in";
2141
2140
  custom: "custom";
2141
+ built_in: "built_in";
2142
2142
  }>>;
2143
2143
  }, z.core.$strip>>>>;
2144
2144
  version: z.ZodOptional<z.ZodEnum<{
@@ -2816,10 +2816,10 @@ declare const zCronTriggerLastRun: z.ZodObject<{
2816
2816
  }, z.core.$strip>;
2817
2817
  declare const zAgentActivity: z.ZodObject<{
2818
2818
  state: z.ZodEnum<{
2819
- archived: "archived";
2820
2819
  running: "running";
2821
2820
  idle: "idle";
2822
2821
  waiting_on_interaction: "waiting_on_interaction";
2822
+ archived: "archived";
2823
2823
  }>;
2824
2824
  last_activity_at: z.ZodISODateTime;
2825
2825
  }, z.core.$strip>;
@@ -2863,6 +2863,7 @@ declare const zAgentSequenceCursor: z.ZodInt;
2863
2863
  */
2864
2864
  declare const zAgentCount: z.ZodInt;
2865
2865
  declare const zModelStopReason: z.ZodEnum<{
2866
+ unknown: "unknown";
2866
2867
  end_turn: "end_turn";
2867
2868
  tool_use: "tool_use";
2868
2869
  max_tokens: "max_tokens";
@@ -2870,18 +2871,17 @@ declare const zModelStopReason: z.ZodEnum<{
2870
2871
  content_filter: "content_filter";
2871
2872
  pause: "pause";
2872
2873
  context_window: "context_window";
2873
- unknown: "unknown";
2874
2874
  }>;
2875
2875
  /**
2876
2876
  * Stop reasons admitted as durable model-output events.
2877
2877
  */
2878
2878
  declare const zModelOutputStopReason: z.ZodEnum<{
2879
+ error: "error";
2879
2880
  end_turn: "end_turn";
2880
2881
  tool_use: "tool_use";
2881
2882
  max_tokens: "max_tokens";
2882
2883
  refusal: "refusal";
2883
2884
  content_filter: "content_filter";
2884
- error: "error";
2885
2885
  }>;
2886
2886
  declare const zAgentInputDeliveryMode: z.ZodEnum<{
2887
2887
  queued: "queued";
@@ -3190,9 +3190,9 @@ declare const zAgentInputEnvelope: z.ZodObject<{
3190
3190
  * Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
3191
3191
  */
3192
3192
  declare const zToolCallType: z.ZodEnum<{
3193
- mcp: "mcp";
3194
- built_in: "built_in";
3195
3193
  custom: "custom";
3194
+ built_in: "built_in";
3195
+ mcp: "mcp";
3196
3196
  }>;
3197
3197
  declare const zModelToolCallContentBlock: z.ZodObject<{
3198
3198
  type: z.ZodEnum<{
@@ -3200,9 +3200,9 @@ declare const zModelToolCallContentBlock: z.ZodObject<{
3200
3200
  }>;
3201
3201
  tool_call_id: z.ZodString;
3202
3202
  tool_type: z.ZodEnum<{
3203
- mcp: "mcp";
3204
- built_in: "built_in";
3205
3203
  custom: "custom";
3204
+ built_in: "built_in";
3205
+ mcp: "mcp";
3206
3206
  }>;
3207
3207
  name: z.ZodString;
3208
3208
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3224,9 +3224,9 @@ declare const zModelOutputContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
3224
3224
  }, z.core.$strip>, z.ZodObject<{
3225
3225
  tool_call_id: z.ZodString;
3226
3226
  tool_type: z.ZodEnum<{
3227
- mcp: "mcp";
3228
- built_in: "built_in";
3229
3227
  custom: "custom";
3228
+ built_in: "built_in";
3229
+ mcp: "mcp";
3230
3230
  }>;
3231
3231
  name: z.ZodString;
3232
3232
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3268,9 +3268,9 @@ declare const zToolCall: z.ZodObject<{
3268
3268
  name: z.ZodString;
3269
3269
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3270
3270
  type: z.ZodEnum<{
3271
- mcp: "mcp";
3272
- built_in: "built_in";
3273
3271
  custom: "custom";
3272
+ built_in: "built_in";
3273
+ mcp: "mcp";
3274
3274
  }>;
3275
3275
  state: z.ZodEnum<{
3276
3276
  completed: "completed";
@@ -3298,9 +3298,9 @@ declare const zListToolCallsResponse: z.ZodObject<{
3298
3298
  name: z.ZodString;
3299
3299
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3300
3300
  type: z.ZodEnum<{
3301
- mcp: "mcp";
3302
- built_in: "built_in";
3303
3301
  custom: "custom";
3302
+ built_in: "built_in";
3303
+ mcp: "mcp";
3304
3304
  }>;
3305
3305
  state: z.ZodEnum<{
3306
3306
  completed: "completed";
@@ -3399,9 +3399,9 @@ declare const zSubmitToolCallResultResponse: z.ZodObject<{
3399
3399
  name: z.ZodString;
3400
3400
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3401
3401
  type: z.ZodEnum<{
3402
- mcp: "mcp";
3403
- built_in: "built_in";
3404
3402
  custom: "custom";
3403
+ built_in: "built_in";
3404
+ mcp: "mcp";
3405
3405
  }>;
3406
3406
  state: z.ZodEnum<{
3407
3407
  completed: "completed";
@@ -3735,12 +3735,12 @@ declare const zModelOutputEvent: z.ZodObject<{
3735
3735
  }>;
3736
3736
  model_call_context_id: z.ZodString;
3737
3737
  stop_reason: z.ZodEnum<{
3738
+ error: "error";
3738
3739
  end_turn: "end_turn";
3739
3740
  tool_use: "tool_use";
3740
3741
  max_tokens: "max_tokens";
3741
3742
  refusal: "refusal";
3742
3743
  content_filter: "content_filter";
3743
- error: "error";
3744
3744
  }>;
3745
3745
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3746
3746
  text: z.ZodString;
@@ -3758,9 +3758,9 @@ declare const zModelOutputEvent: z.ZodObject<{
3758
3758
  }, z.core.$strip>, z.ZodObject<{
3759
3759
  tool_call_id: z.ZodString;
3760
3760
  tool_type: z.ZodEnum<{
3761
- mcp: "mcp";
3762
- built_in: "built_in";
3763
3761
  custom: "custom";
3762
+ built_in: "built_in";
3763
+ mcp: "mcp";
3764
3764
  }>;
3765
3765
  name: z.ZodString;
3766
3766
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3800,12 +3800,12 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3800
3800
  }>;
3801
3801
  model_call_context_id: z.ZodString;
3802
3802
  stop_reason: z.ZodEnum<{
3803
+ error: "error";
3803
3804
  end_turn: "end_turn";
3804
3805
  tool_use: "tool_use";
3805
3806
  max_tokens: "max_tokens";
3806
3807
  refusal: "refusal";
3807
3808
  content_filter: "content_filter";
3808
- error: "error";
3809
3809
  }>;
3810
3810
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3811
3811
  text: z.ZodString;
@@ -3823,9 +3823,9 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3823
3823
  }, z.core.$strip>, z.ZodObject<{
3824
3824
  tool_call_id: z.ZodString;
3825
3825
  tool_type: z.ZodEnum<{
3826
- mcp: "mcp";
3827
- built_in: "built_in";
3828
3826
  custom: "custom";
3827
+ built_in: "built_in";
3828
+ mcp: "mcp";
3829
3829
  }>;
3830
3830
  name: z.ZodString;
3831
3831
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3894,12 +3894,12 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3894
3894
  sequence: z.ZodInt;
3895
3895
  model_call_context_id: z.ZodString;
3896
3896
  stop_reason: z.ZodEnum<{
3897
+ error: "error";
3897
3898
  end_turn: "end_turn";
3898
3899
  tool_use: "tool_use";
3899
3900
  max_tokens: "max_tokens";
3900
3901
  refusal: "refusal";
3901
3902
  content_filter: "content_filter";
3902
- error: "error";
3903
3903
  }>;
3904
3904
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3905
3905
  text: z.ZodString;
@@ -3917,9 +3917,9 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3917
3917
  }, z.core.$strip>, z.ZodObject<{
3918
3918
  tool_call_id: z.ZodString;
3919
3919
  tool_type: z.ZodEnum<{
3920
- mcp: "mcp";
3921
- built_in: "built_in";
3922
3920
  custom: "custom";
3921
+ built_in: "built_in";
3922
+ mcp: "mcp";
3923
3923
  }>;
3924
3924
  name: z.ZodString;
3925
3925
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3994,6 +3994,7 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3994
3994
  }>;
3995
3995
  stop: z.ZodObject<{
3996
3996
  reason: z.ZodEnum<{
3997
+ unknown: "unknown";
3997
3998
  end_turn: "end_turn";
3998
3999
  tool_use: "tool_use";
3999
4000
  max_tokens: "max_tokens";
@@ -4001,7 +4002,6 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
4001
4002
  content_filter: "content_filter";
4002
4003
  pause: "pause";
4003
4004
  context_window: "context_window";
4004
- unknown: "unknown";
4005
4005
  }>;
4006
4006
  usage: z.ZodObject<{
4007
4007
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4051,6 +4051,7 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4051
4051
  }, z.core.$strip>, z.ZodObject<{
4052
4052
  stop: z.ZodObject<{
4053
4053
  reason: z.ZodEnum<{
4054
+ unknown: "unknown";
4054
4055
  end_turn: "end_turn";
4055
4056
  tool_use: "tool_use";
4056
4057
  max_tokens: "max_tokens";
@@ -4058,7 +4059,6 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4058
4059
  content_filter: "content_filter";
4059
4060
  pause: "pause";
4060
4061
  context_window: "context_window";
4061
- unknown: "unknown";
4062
4062
  }>;
4063
4063
  usage: z.ZodObject<{
4064
4064
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4113,6 +4113,7 @@ declare const zModelOutputDelta: z.ZodObject<{
4113
4113
  }, z.core.$strip>, z.ZodObject<{
4114
4114
  stop: z.ZodObject<{
4115
4115
  reason: z.ZodEnum<{
4116
+ unknown: "unknown";
4116
4117
  end_turn: "end_turn";
4117
4118
  tool_use: "tool_use";
4118
4119
  max_tokens: "max_tokens";
@@ -4120,7 +4121,6 @@ declare const zModelOutputDelta: z.ZodObject<{
4120
4121
  content_filter: "content_filter";
4121
4122
  pause: "pause";
4122
4123
  context_window: "context_window";
4123
- unknown: "unknown";
4124
4124
  }>;
4125
4125
  usage: z.ZodObject<{
4126
4126
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4186,12 +4186,12 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4186
4186
  sequence: z.ZodInt;
4187
4187
  model_call_context_id: z.ZodString;
4188
4188
  stop_reason: z.ZodEnum<{
4189
+ error: "error";
4189
4190
  end_turn: "end_turn";
4190
4191
  tool_use: "tool_use";
4191
4192
  max_tokens: "max_tokens";
4192
4193
  refusal: "refusal";
4193
4194
  content_filter: "content_filter";
4194
- error: "error";
4195
4195
  }>;
4196
4196
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4197
4197
  text: z.ZodString;
@@ -4209,9 +4209,9 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4209
4209
  }, z.core.$strip>, z.ZodObject<{
4210
4210
  tool_call_id: z.ZodString;
4211
4211
  tool_type: z.ZodEnum<{
4212
- mcp: "mcp";
4213
- built_in: "built_in";
4214
4212
  custom: "custom";
4213
+ built_in: "built_in";
4214
+ mcp: "mcp";
4215
4215
  }>;
4216
4216
  name: z.ZodString;
4217
4217
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4331,12 +4331,12 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4331
4331
  sequence: z.ZodInt;
4332
4332
  model_call_context_id: z.ZodString;
4333
4333
  stop_reason: z.ZodEnum<{
4334
+ error: "error";
4334
4335
  end_turn: "end_turn";
4335
4336
  tool_use: "tool_use";
4336
4337
  max_tokens: "max_tokens";
4337
4338
  refusal: "refusal";
4338
4339
  content_filter: "content_filter";
4339
- error: "error";
4340
4340
  }>;
4341
4341
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4342
4342
  text: z.ZodString;
@@ -4354,9 +4354,9 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4354
4354
  }, z.core.$strip>, z.ZodObject<{
4355
4355
  tool_call_id: z.ZodString;
4356
4356
  tool_type: z.ZodEnum<{
4357
- mcp: "mcp";
4358
- built_in: "built_in";
4359
4357
  custom: "custom";
4358
+ built_in: "built_in";
4359
+ mcp: "mcp";
4360
4360
  }>;
4361
4361
  name: z.ZodString;
4362
4362
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4478,12 +4478,12 @@ declare const zAgentTurn: z.ZodObject<{
4478
4478
  sequence: z.ZodInt;
4479
4479
  model_call_context_id: z.ZodString;
4480
4480
  stop_reason: z.ZodEnum<{
4481
+ error: "error";
4481
4482
  end_turn: "end_turn";
4482
4483
  tool_use: "tool_use";
4483
4484
  max_tokens: "max_tokens";
4484
4485
  refusal: "refusal";
4485
4486
  content_filter: "content_filter";
4486
- error: "error";
4487
4487
  }>;
4488
4488
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4489
4489
  text: z.ZodString;
@@ -4501,9 +4501,9 @@ declare const zAgentTurn: z.ZodObject<{
4501
4501
  }, z.core.$strip>, z.ZodObject<{
4502
4502
  tool_call_id: z.ZodString;
4503
4503
  tool_type: z.ZodEnum<{
4504
- mcp: "mcp";
4505
- built_in: "built_in";
4506
4504
  custom: "custom";
4505
+ built_in: "built_in";
4506
+ mcp: "mcp";
4507
4507
  }>;
4508
4508
  name: z.ZodString;
4509
4509
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4618,12 +4618,12 @@ declare const zAgentTurn: z.ZodObject<{
4618
4618
  sequence: z.ZodInt;
4619
4619
  model_call_context_id: z.ZodString;
4620
4620
  stop_reason: z.ZodEnum<{
4621
+ error: "error";
4621
4622
  end_turn: "end_turn";
4622
4623
  tool_use: "tool_use";
4623
4624
  max_tokens: "max_tokens";
4624
4625
  refusal: "refusal";
4625
4626
  content_filter: "content_filter";
4626
- error: "error";
4627
4627
  }>;
4628
4628
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4629
4629
  text: z.ZodString;
@@ -4641,9 +4641,9 @@ declare const zAgentTurn: z.ZodObject<{
4641
4641
  }, z.core.$strip>, z.ZodObject<{
4642
4642
  tool_call_id: z.ZodString;
4643
4643
  tool_type: z.ZodEnum<{
4644
- mcp: "mcp";
4645
- built_in: "built_in";
4646
4644
  custom: "custom";
4645
+ built_in: "built_in";
4646
+ mcp: "mcp";
4647
4647
  }>;
4648
4648
  name: z.ZodString;
4649
4649
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4758,12 +4758,12 @@ declare const zAgentTurn: z.ZodObject<{
4758
4758
  sequence: z.ZodInt;
4759
4759
  model_call_context_id: z.ZodString;
4760
4760
  stop_reason: z.ZodEnum<{
4761
+ error: "error";
4761
4762
  end_turn: "end_turn";
4762
4763
  tool_use: "tool_use";
4763
4764
  max_tokens: "max_tokens";
4764
4765
  refusal: "refusal";
4765
4766
  content_filter: "content_filter";
4766
- error: "error";
4767
4767
  }>;
4768
4768
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4769
4769
  text: z.ZodString;
@@ -4781,9 +4781,9 @@ declare const zAgentTurn: z.ZodObject<{
4781
4781
  }, z.core.$strip>, z.ZodObject<{
4782
4782
  tool_call_id: z.ZodString;
4783
4783
  tool_type: z.ZodEnum<{
4784
- mcp: "mcp";
4785
- built_in: "built_in";
4786
4784
  custom: "custom";
4785
+ built_in: "built_in";
4786
+ mcp: "mcp";
4787
4787
  }>;
4788
4788
  name: z.ZodString;
4789
4789
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4907,12 +4907,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4907
4907
  sequence: z.ZodInt;
4908
4908
  model_call_context_id: z.ZodString;
4909
4909
  stop_reason: z.ZodEnum<{
4910
+ error: "error";
4910
4911
  end_turn: "end_turn";
4911
4912
  tool_use: "tool_use";
4912
4913
  max_tokens: "max_tokens";
4913
4914
  refusal: "refusal";
4914
4915
  content_filter: "content_filter";
4915
- error: "error";
4916
4916
  }>;
4917
4917
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4918
4918
  text: z.ZodString;
@@ -4930,9 +4930,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4930
4930
  }, z.core.$strip>, z.ZodObject<{
4931
4931
  tool_call_id: z.ZodString;
4932
4932
  tool_type: z.ZodEnum<{
4933
- mcp: "mcp";
4934
- built_in: "built_in";
4935
4933
  custom: "custom";
4934
+ built_in: "built_in";
4935
+ mcp: "mcp";
4936
4936
  }>;
4937
4937
  name: z.ZodString;
4938
4938
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5047,12 +5047,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5047
5047
  sequence: z.ZodInt;
5048
5048
  model_call_context_id: z.ZodString;
5049
5049
  stop_reason: z.ZodEnum<{
5050
+ error: "error";
5050
5051
  end_turn: "end_turn";
5051
5052
  tool_use: "tool_use";
5052
5053
  max_tokens: "max_tokens";
5053
5054
  refusal: "refusal";
5054
5055
  content_filter: "content_filter";
5055
- error: "error";
5056
5056
  }>;
5057
5057
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5058
5058
  text: z.ZodString;
@@ -5070,9 +5070,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5070
5070
  }, z.core.$strip>, z.ZodObject<{
5071
5071
  tool_call_id: z.ZodString;
5072
5072
  tool_type: z.ZodEnum<{
5073
- mcp: "mcp";
5074
- built_in: "built_in";
5075
5073
  custom: "custom";
5074
+ built_in: "built_in";
5075
+ mcp: "mcp";
5076
5076
  }>;
5077
5077
  name: z.ZodString;
5078
5078
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5187,12 +5187,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5187
5187
  sequence: z.ZodInt;
5188
5188
  model_call_context_id: z.ZodString;
5189
5189
  stop_reason: z.ZodEnum<{
5190
+ error: "error";
5190
5191
  end_turn: "end_turn";
5191
5192
  tool_use: "tool_use";
5192
5193
  max_tokens: "max_tokens";
5193
5194
  refusal: "refusal";
5194
5195
  content_filter: "content_filter";
5195
- error: "error";
5196
5196
  }>;
5197
5197
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5198
5198
  text: z.ZodString;
@@ -5210,9 +5210,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5210
5210
  }, z.core.$strip>, z.ZodObject<{
5211
5211
  tool_call_id: z.ZodString;
5212
5212
  tool_type: z.ZodEnum<{
5213
- mcp: "mcp";
5214
- built_in: "built_in";
5215
5213
  custom: "custom";
5214
+ built_in: "built_in";
5215
+ mcp: "mcp";
5216
5216
  }>;
5217
5217
  name: z.ZodString;
5218
5218
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5333,12 +5333,12 @@ declare const zCancelAgentResponse: z.ZodObject<{
5333
5333
  sequence: z.ZodInt;
5334
5334
  model_call_context_id: z.ZodString;
5335
5335
  stop_reason: z.ZodEnum<{
5336
+ error: "error";
5336
5337
  end_turn: "end_turn";
5337
5338
  tool_use: "tool_use";
5338
5339
  max_tokens: "max_tokens";
5339
5340
  refusal: "refusal";
5340
5341
  content_filter: "content_filter";
5341
- error: "error";
5342
5342
  }>;
5343
5343
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5344
5344
  text: z.ZodString;
@@ -5356,9 +5356,9 @@ declare const zCancelAgentResponse: z.ZodObject<{
5356
5356
  }, z.core.$strip>, z.ZodObject<{
5357
5357
  tool_call_id: z.ZodString;
5358
5358
  tool_type: z.ZodEnum<{
5359
- mcp: "mcp";
5360
- built_in: "built_in";
5361
5359
  custom: "custom";
5360
+ built_in: "built_in";
5361
+ mcp: "mcp";
5362
5362
  }>;
5363
5363
  name: z.ZodString;
5364
5364
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5654,12 +5654,12 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5654
5654
  }>;
5655
5655
  model_call_context_id: z.ZodString;
5656
5656
  stop_reason: z.ZodEnum<{
5657
+ error: "error";
5657
5658
  end_turn: "end_turn";
5658
5659
  tool_use: "tool_use";
5659
5660
  max_tokens: "max_tokens";
5660
5661
  refusal: "refusal";
5661
5662
  content_filter: "content_filter";
5662
- error: "error";
5663
5663
  }>;
5664
5664
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5665
5665
  text: z.ZodString;
@@ -5677,9 +5677,9 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5677
5677
  }, z.core.$strip>, z.ZodObject<{
5678
5678
  tool_call_id: z.ZodString;
5679
5679
  tool_type: z.ZodEnum<{
5680
- mcp: "mcp";
5681
- built_in: "built_in";
5682
5680
  custom: "custom";
5681
+ built_in: "built_in";
5682
+ mcp: "mcp";
5683
5683
  }>;
5684
5684
  name: z.ZodString;
5685
5685
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5834,12 +5834,12 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5834
5834
  sequence: z.ZodInt;
5835
5835
  model_call_context_id: z.ZodString;
5836
5836
  stop_reason: z.ZodEnum<{
5837
+ error: "error";
5837
5838
  end_turn: "end_turn";
5838
5839
  tool_use: "tool_use";
5839
5840
  max_tokens: "max_tokens";
5840
5841
  refusal: "refusal";
5841
5842
  content_filter: "content_filter";
5842
- error: "error";
5843
5843
  }>;
5844
5844
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5845
5845
  text: z.ZodString;
@@ -5857,9 +5857,9 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5857
5857
  }, z.core.$strip>, z.ZodObject<{
5858
5858
  tool_call_id: z.ZodString;
5859
5859
  tool_type: z.ZodEnum<{
5860
- mcp: "mcp";
5861
- built_in: "built_in";
5862
5860
  custom: "custom";
5861
+ built_in: "built_in";
5862
+ mcp: "mcp";
5863
5863
  }>;
5864
5864
  name: z.ZodString;
5865
5865
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5987,6 +5987,7 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5987
5987
  }, z.core.$strip>, z.ZodObject<{
5988
5988
  stop: z.ZodObject<{
5989
5989
  reason: z.ZodEnum<{
5990
+ unknown: "unknown";
5990
5991
  end_turn: "end_turn";
5991
5992
  tool_use: "tool_use";
5992
5993
  max_tokens: "max_tokens";
@@ -5994,7 +5995,6 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5994
5995
  content_filter: "content_filter";
5995
5996
  pause: "pause";
5996
5997
  context_window: "context_window";
5997
- unknown: "unknown";
5998
5998
  }>;
5999
5999
  usage: z.ZodObject<{
6000
6000
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -6919,9 +6919,9 @@ declare const zMachineSourceKind: z.ZodEnum<{
6919
6919
  byo: "byo";
6920
6920
  }>;
6921
6921
  declare const zMachineLifecycleState: z.ZodEnum<{
6922
- active: "active";
6923
6922
  provisioning: "provisioning";
6924
6923
  provision_failed: "provision_failed";
6924
+ active: "active";
6925
6925
  deleting: "deleting";
6926
6926
  delete_failed: "delete_failed";
6927
6927
  deleted: "deleted";
@@ -6951,9 +6951,9 @@ declare const zMachine: z.ZodObject<{
6951
6951
  description: z.ZodString;
6952
6952
  provider: z.ZodString;
6953
6953
  lifecycle_state: z.ZodEnum<{
6954
- active: "active";
6955
6954
  provisioning: "provisioning";
6956
6955
  provision_failed: "provision_failed";
6956
+ active: "active";
6957
6957
  deleting: "deleting";
6958
6958
  delete_failed: "delete_failed";
6959
6959
  deleted: "deleted";
@@ -7031,9 +7031,9 @@ declare const zMachineSummaryFields: z.ZodObject<{
7031
7031
  description: z.ZodString;
7032
7032
  provider: z.ZodString;
7033
7033
  lifecycle_state: z.ZodEnum<{
7034
- active: "active";
7035
7034
  provisioning: "provisioning";
7036
7035
  provision_failed: "provision_failed";
7036
+ active: "active";
7037
7037
  deleting: "deleting";
7038
7038
  delete_failed: "delete_failed";
7039
7039
  deleted: "deleted";
@@ -7059,9 +7059,9 @@ declare const zMachineSummary: z.ZodObject<{
7059
7059
  description: z.ZodString;
7060
7060
  provider: z.ZodString;
7061
7061
  lifecycle_state: z.ZodEnum<{
7062
- active: "active";
7063
7062
  provisioning: "provisioning";
7064
7063
  provision_failed: "provision_failed";
7064
+ active: "active";
7065
7065
  deleting: "deleting";
7066
7066
  delete_failed: "delete_failed";
7067
7067
  deleted: "deleted";
@@ -7114,9 +7114,9 @@ declare const zVisibleMachine: z.ZodIntersection<z.ZodObject<{
7114
7114
  description: z.ZodString;
7115
7115
  provider: z.ZodString;
7116
7116
  lifecycle_state: z.ZodEnum<{
7117
- active: "active";
7118
7117
  provisioning: "provisioning";
7119
7118
  provision_failed: "provision_failed";
7119
+ active: "active";
7120
7120
  deleting: "deleting";
7121
7121
  delete_failed: "delete_failed";
7122
7122
  deleted: "deleted";
@@ -7159,9 +7159,9 @@ declare const zListVisibleMachinesResponse: z.ZodObject<{
7159
7159
  description: z.ZodString;
7160
7160
  provider: z.ZodString;
7161
7161
  lifecycle_state: z.ZodEnum<{
7162
- active: "active";
7163
7162
  provisioning: "provisioning";
7164
7163
  provision_failed: "provision_failed";
7164
+ active: "active";
7165
7165
  deleting: "deleting";
7166
7166
  delete_failed: "delete_failed";
7167
7167
  deleted: "deleted";
@@ -7242,9 +7242,9 @@ declare const zCreateProjectMachineGrantResponse: z.ZodObject<{
7242
7242
  description: z.ZodString;
7243
7243
  provider: z.ZodString;
7244
7244
  lifecycle_state: z.ZodEnum<{
7245
- active: "active";
7246
7245
  provisioning: "provisioning";
7247
7246
  provision_failed: "provision_failed";
7247
+ active: "active";
7248
7248
  deleting: "deleting";
7249
7249
  delete_failed: "delete_failed";
7250
7250
  deleted: "deleted";
@@ -7313,9 +7313,9 @@ declare const zProjectMachineGrantListItem: z.ZodObject<{
7313
7313
  description: z.ZodString;
7314
7314
  provider: z.ZodString;
7315
7315
  lifecycle_state: z.ZodEnum<{
7316
- active: "active";
7317
7316
  provisioning: "provisioning";
7318
7317
  provision_failed: "provision_failed";
7318
+ active: "active";
7319
7319
  deleting: "deleting";
7320
7320
  delete_failed: "delete_failed";
7321
7321
  deleted: "deleted";
@@ -7359,9 +7359,9 @@ declare const zListProjectMachineGrantsResponse: z.ZodObject<{
7359
7359
  description: z.ZodString;
7360
7360
  provider: z.ZodString;
7361
7361
  lifecycle_state: z.ZodEnum<{
7362
- active: "active";
7363
7362
  provisioning: "provisioning";
7364
7363
  provision_failed: "provision_failed";
7364
+ active: "active";
7365
7365
  deleting: "deleting";
7366
7366
  delete_failed: "delete_failed";
7367
7367
  deleted: "deleted";
@@ -7565,9 +7565,9 @@ declare const zConnectByoMachineResponse: z.ZodObject<{
7565
7565
  description: z.ZodString;
7566
7566
  provider: z.ZodString;
7567
7567
  lifecycle_state: z.ZodEnum<{
7568
- active: "active";
7569
7568
  provisioning: "provisioning";
7570
7569
  provision_failed: "provision_failed";
7570
+ active: "active";
7571
7571
  deleting: "deleting";
7572
7572
  delete_failed: "delete_failed";
7573
7573
  deleted: "deleted";
@@ -8061,13 +8061,13 @@ declare const zUsageTimeseriesMetric: z.ZodEnum<{
8061
8061
  count_model_calls: "count_model_calls";
8062
8062
  }>;
8063
8063
  declare const zUsageTimeseriesGroupBy: z.ZodEnum<{
8064
- profile: "profile";
8065
8064
  model: "model";
8065
+ profile: "profile";
8066
8066
  }>;
8067
8067
  declare const zUsageTimeseriesSeries: z.ZodObject<{
8068
8068
  kind: z.ZodEnum<{
8069
- profile: "profile";
8070
8069
  model: "model";
8070
+ profile: "profile";
8071
8071
  all: "all";
8072
8072
  no_profile: "no_profile";
8073
8073
  other: "other";
@@ -8284,8 +8284,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8284
8284
  month: "month";
8285
8285
  }>;
8286
8286
  group_by: z.ZodOptional<z.ZodEnum<{
8287
- profile: "profile";
8288
8287
  model: "model";
8288
+ profile: "profile";
8289
8289
  }>>;
8290
8290
  timezone: z.ZodString;
8291
8291
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -8308,8 +8308,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8308
8308
  active_agents: z.ZodCoercedBigInt<unknown>;
8309
8309
  series: z.ZodArray<z.ZodObject<{
8310
8310
  kind: z.ZodEnum<{
8311
- profile: "profile";
8312
8311
  model: "model";
8312
+ profile: "profile";
8313
8313
  all: "all";
8314
8314
  no_profile: "no_profile";
8315
8315
  other: "other";
@@ -8506,8 +8506,8 @@ declare const zCompiledTool: z.ZodObject<{
8506
8506
  integration_id: z.ZodOptional<z.ZodString>;
8507
8507
  enabled: z.ZodBoolean;
8508
8508
  type: z.ZodOptional<z.ZodEnum<{
8509
- built_in: "built_in";
8510
8509
  custom: "custom";
8510
+ built_in: "built_in";
8511
8511
  }>>;
8512
8512
  permission: z.ZodObject<{
8513
8513
  mode: z.ZodString;
@@ -8778,8 +8778,8 @@ declare const zCompiledAgentConfig: z.ZodObject<{
8778
8778
  integration_id: z.ZodOptional<z.ZodString>;
8779
8779
  enabled: z.ZodBoolean;
8780
8780
  type: z.ZodOptional<z.ZodEnum<{
8781
- built_in: "built_in";
8782
8781
  custom: "custom";
8782
+ built_in: "built_in";
8783
8783
  }>>;
8784
8784
  permission: z.ZodObject<{
8785
8785
  mode: z.ZodString;
@@ -8964,8 +8964,8 @@ declare const zAgentConfig: z.ZodObject<{
8964
8964
  integration_id: z.ZodOptional<z.ZodString>;
8965
8965
  enabled: z.ZodBoolean;
8966
8966
  type: z.ZodOptional<z.ZodEnum<{
8967
- built_in: "built_in";
8968
8967
  custom: "custom";
8968
+ built_in: "built_in";
8969
8969
  }>>;
8970
8970
  permission: z.ZodObject<{
8971
8971
  mode: z.ZodString;
@@ -9160,8 +9160,8 @@ declare const zAgentProfile: z.ZodObject<{
9160
9160
  integration_id: z.ZodOptional<z.ZodString>;
9161
9161
  enabled: z.ZodBoolean;
9162
9162
  type: z.ZodOptional<z.ZodEnum<{
9163
- built_in: "built_in";
9164
9163
  custom: "custom";
9164
+ built_in: "built_in";
9165
9165
  }>>;
9166
9166
  permission: z.ZodObject<{
9167
9167
  mode: z.ZodString;
@@ -9349,8 +9349,8 @@ declare const zUpdateAgentConfigResponse: z.ZodObject<{
9349
9349
  integration_id: z.ZodOptional<z.ZodString>;
9350
9350
  enabled: z.ZodBoolean;
9351
9351
  type: z.ZodOptional<z.ZodEnum<{
9352
- built_in: "built_in";
9353
9352
  custom: "custom";
9353
+ built_in: "built_in";
9354
9354
  }>>;
9355
9355
  permission: z.ZodObject<{
9356
9356
  mode: z.ZodString;
@@ -9542,8 +9542,8 @@ declare const zAgent: z.ZodObject<{
9542
9542
  project_id: z.ZodString;
9543
9543
  agent_profile_id: z.ZodOptional<z.ZodString>;
9544
9544
  state: z.ZodEnum<{
9545
- active: "active";
9546
9545
  archived: "archived";
9546
+ active: "active";
9547
9547
  }>;
9548
9548
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9549
9549
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9561,10 +9561,10 @@ declare const zAgent: z.ZodObject<{
9561
9561
  subagent_key: z.ZodOptional<z.ZodString>;
9562
9562
  activity: z.ZodOptional<z.ZodObject<{
9563
9563
  state: z.ZodEnum<{
9564
- archived: "archived";
9565
9564
  running: "running";
9566
9565
  idle: "idle";
9567
9566
  waiting_on_interaction: "waiting_on_interaction";
9567
+ archived: "archived";
9568
9568
  }>;
9569
9569
  last_activity_at: z.ZodISODateTime;
9570
9570
  }, z.core.$strip>>;
@@ -9594,8 +9594,8 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9594
9594
  project_id: z.ZodString;
9595
9595
  agent_profile_id: z.ZodOptional<z.ZodString>;
9596
9596
  state: z.ZodEnum<{
9597
- active: "active";
9598
9597
  archived: "archived";
9598
+ active: "active";
9599
9599
  }>;
9600
9600
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9601
9601
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9613,10 +9613,10 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9613
9613
  subagent_key: z.ZodOptional<z.ZodString>;
9614
9614
  activity: z.ZodOptional<z.ZodObject<{
9615
9615
  state: z.ZodEnum<{
9616
- archived: "archived";
9617
9616
  running: "running";
9618
9617
  idle: "idle";
9619
9618
  waiting_on_interaction: "waiting_on_interaction";
9619
+ archived: "archived";
9620
9620
  }>;
9621
9621
  last_activity_at: z.ZodISODateTime;
9622
9622
  }, z.core.$strip>>;
@@ -9647,8 +9647,8 @@ declare const zGetAgentResponse: z.ZodObject<{
9647
9647
  project_id: z.ZodString;
9648
9648
  agent_profile_id: z.ZodOptional<z.ZodString>;
9649
9649
  state: z.ZodEnum<{
9650
- active: "active";
9651
9650
  archived: "archived";
9651
+ active: "active";
9652
9652
  }>;
9653
9653
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9654
9654
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9666,10 +9666,10 @@ declare const zGetAgentResponse: z.ZodObject<{
9666
9666
  subagent_key: z.ZodOptional<z.ZodString>;
9667
9667
  activity: z.ZodOptional<z.ZodObject<{
9668
9668
  state: z.ZodEnum<{
9669
- archived: "archived";
9670
9669
  running: "running";
9671
9670
  idle: "idle";
9672
9671
  waiting_on_interaction: "waiting_on_interaction";
9672
+ archived: "archived";
9673
9673
  }>;
9674
9674
  last_activity_at: z.ZodISODateTime;
9675
9675
  }, z.core.$strip>>;
@@ -9715,8 +9715,8 @@ declare const zListAgentsResponse: z.ZodObject<{
9715
9715
  project_id: z.ZodString;
9716
9716
  agent_profile_id: z.ZodOptional<z.ZodString>;
9717
9717
  state: z.ZodEnum<{
9718
- active: "active";
9719
9718
  archived: "archived";
9719
+ active: "active";
9720
9720
  }>;
9721
9721
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9722
9722
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9734,10 +9734,10 @@ declare const zListAgentsResponse: z.ZodObject<{
9734
9734
  subagent_key: z.ZodOptional<z.ZodString>;
9735
9735
  activity: z.ZodOptional<z.ZodObject<{
9736
9736
  state: z.ZodEnum<{
9737
- archived: "archived";
9738
9737
  running: "running";
9739
9738
  idle: "idle";
9740
9739
  waiting_on_interaction: "waiting_on_interaction";
9740
+ archived: "archived";
9741
9741
  }>;
9742
9742
  last_activity_at: z.ZodISODateTime;
9743
9743
  }, z.core.$strip>>;
@@ -9769,8 +9769,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9769
9769
  project_id: z.ZodString;
9770
9770
  agent_profile_id: z.ZodOptional<z.ZodString>;
9771
9771
  state: z.ZodEnum<{
9772
- active: "active";
9773
9772
  archived: "archived";
9773
+ active: "active";
9774
9774
  }>;
9775
9775
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9776
9776
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9788,10 +9788,10 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9788
9788
  subagent_key: z.ZodOptional<z.ZodString>;
9789
9789
  activity: z.ZodOptional<z.ZodObject<{
9790
9790
  state: z.ZodEnum<{
9791
- archived: "archived";
9792
9791
  running: "running";
9793
9792
  idle: "idle";
9794
9793
  waiting_on_interaction: "waiting_on_interaction";
9794
+ archived: "archived";
9795
9795
  }>;
9796
9796
  last_activity_at: z.ZodISODateTime;
9797
9797
  }, z.core.$strip>>;
@@ -9887,8 +9887,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9887
9887
  integration_id: z.ZodOptional<z.ZodString>;
9888
9888
  enabled: z.ZodBoolean;
9889
9889
  type: z.ZodOptional<z.ZodEnum<{
9890
- built_in: "built_in";
9891
9890
  custom: "custom";
9891
+ built_in: "built_in";
9892
9892
  }>>;
9893
9893
  permission: z.ZodObject<{
9894
9894
  mode: z.ZodString;
@@ -10203,8 +10203,8 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10203
10203
  project_id: z.ZodString;
10204
10204
  agent_profile_id: z.ZodOptional<z.ZodString>;
10205
10205
  state: z.ZodEnum<{
10206
- active: "active";
10207
10206
  archived: "archived";
10207
+ active: "active";
10208
10208
  }>;
10209
10209
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
10210
10210
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -10222,10 +10222,10 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10222
10222
  subagent_key: z.ZodOptional<z.ZodString>;
10223
10223
  activity: z.ZodOptional<z.ZodObject<{
10224
10224
  state: z.ZodEnum<{
10225
- archived: "archived";
10226
10225
  running: "running";
10227
10226
  idle: "idle";
10228
10227
  waiting_on_interaction: "waiting_on_interaction";
10228
+ archived: "archived";
10229
10229
  }>;
10230
10230
  last_activity_at: z.ZodISODateTime;
10231
10231
  }, z.core.$strip>>;
@@ -10457,8 +10457,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10457
10457
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10458
10458
  }, z.core.$strip>>;
10459
10459
  type: z.ZodOptional<z.ZodEnum<{
10460
- built_in: "built_in";
10461
10460
  custom: "custom";
10461
+ built_in: "built_in";
10462
10462
  }>>;
10463
10463
  }, z.core.$strip>>>>;
10464
10464
  version: z.ZodOptional<z.ZodEnum<{
@@ -10599,8 +10599,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10599
10599
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10600
10600
  }, z.core.$strip>>;
10601
10601
  type: z.ZodOptional<z.ZodEnum<{
10602
- built_in: "built_in";
10603
10602
  custom: "custom";
10603
+ built_in: "built_in";
10604
10604
  }>>;
10605
10605
  }, z.core.$strip>>>>;
10606
10606
  version: z.ZodOptional<z.ZodEnum<{
@@ -10628,8 +10628,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10628
10628
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10629
10629
  }, z.core.$strip>>;
10630
10630
  type: z.ZodOptional<z.ZodEnum<{
10631
- built_in: "built_in";
10632
10631
  custom: "custom";
10632
+ built_in: "built_in";
10633
10633
  }>>;
10634
10634
  }, z.core.$strip>>>;
10635
10635
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10946,8 +10946,8 @@ declare const zSkillOwnerProjectIdFilter: z.ZodString;
10946
10946
  * Filter a project inventory by how the skill became available.
10947
10947
  */
10948
10948
  declare const zSkillAvailabilitySourceFilter: z.ZodEnum<{
10949
- direct: "direct";
10950
10949
  grant: "grant";
10950
+ direct: "direct";
10951
10951
  }>;
10952
10952
  /**
10953
10953
  * Filter by the immutable owner kind.
@@ -10969,8 +10969,8 @@ declare const zSecretMcpoAuthFlowIdFilter: z.ZodString;
10969
10969
  * Filter a project inventory by how the secret became available.
10970
10970
  */
10971
10971
  declare const zSecretAvailabilitySourceFilter: z.ZodEnum<{
10972
- direct: "direct";
10973
10972
  grant: "grant";
10973
+ direct: "direct";
10974
10974
  }>;
10975
10975
  declare const zListPersonalAccessTokensQuery: z.ZodObject<{
10976
10976
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -11195,8 +11195,8 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11195
11195
  project_id: z.ZodString;
11196
11196
  agent_profile_id: z.ZodOptional<z.ZodString>;
11197
11197
  state: z.ZodEnum<{
11198
- active: "active";
11199
11198
  archived: "archived";
11199
+ active: "active";
11200
11200
  }>;
11201
11201
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11202
11202
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11214,10 +11214,10 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11214
11214
  subagent_key: z.ZodOptional<z.ZodString>;
11215
11215
  activity: z.ZodOptional<z.ZodObject<{
11216
11216
  state: z.ZodEnum<{
11217
- archived: "archived";
11218
11217
  running: "running";
11219
11218
  idle: "idle";
11220
11219
  waiting_on_interaction: "waiting_on_interaction";
11220
+ archived: "archived";
11221
11221
  }>;
11222
11222
  last_activity_at: z.ZodISODateTime;
11223
11223
  }, z.core.$strip>>;
@@ -11386,8 +11386,8 @@ declare const zGetOrgUsageTimeseriesQuery: z.ZodObject<{
11386
11386
  count_model_calls: "count_model_calls";
11387
11387
  }>>;
11388
11388
  group_by: z.ZodOptional<z.ZodEnum<{
11389
- profile: "profile";
11390
11389
  model: "model";
11390
+ profile: "profile";
11391
11391
  }>>;
11392
11392
  group_limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
11393
11393
  project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -11412,8 +11412,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11412
11412
  month: "month";
11413
11413
  }>;
11414
11414
  group_by: z.ZodOptional<z.ZodEnum<{
11415
- profile: "profile";
11416
11415
  model: "model";
11416
+ profile: "profile";
11417
11417
  }>>;
11418
11418
  timezone: z.ZodString;
11419
11419
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -11436,8 +11436,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11436
11436
  active_agents: z.ZodCoercedBigInt<unknown>;
11437
11437
  series: z.ZodArray<z.ZodObject<{
11438
11438
  kind: z.ZodEnum<{
11439
- profile: "profile";
11440
11439
  model: "model";
11440
+ profile: "profile";
11441
11441
  all: "all";
11442
11442
  no_profile: "no_profile";
11443
11443
  other: "other";
@@ -11481,8 +11481,8 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11481
11481
  project_id: z.ZodString;
11482
11482
  agent_profile_id: z.ZodOptional<z.ZodString>;
11483
11483
  state: z.ZodEnum<{
11484
- active: "active";
11485
11484
  archived: "archived";
11485
+ active: "active";
11486
11486
  }>;
11487
11487
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11488
11488
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11500,10 +11500,10 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11500
11500
  subagent_key: z.ZodOptional<z.ZodString>;
11501
11501
  activity: z.ZodOptional<z.ZodObject<{
11502
11502
  state: z.ZodEnum<{
11503
- archived: "archived";
11504
11503
  running: "running";
11505
11504
  idle: "idle";
11506
11505
  waiting_on_interaction: "waiting_on_interaction";
11506
+ archived: "archived";
11507
11507
  }>;
11508
11508
  last_activity_at: z.ZodISODateTime;
11509
11509
  }, z.core.$strip>>;
@@ -12267,8 +12267,8 @@ declare const zListProjectAvailableSkillsQuery: z.ZodObject<{
12267
12267
  user: "user";
12268
12268
  }>>;
12269
12269
  availability_source: z.ZodOptional<z.ZodEnum<{
12270
- direct: "direct";
12271
12270
  grant: "grant";
12271
+ direct: "direct";
12272
12272
  }>>;
12273
12273
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12274
12274
  name: "name";
@@ -13015,8 +13015,8 @@ declare const zResolveAgentConfigToolsBody: z.ZodObject<{
13015
13015
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13016
13016
  }, z.core.$strip>>;
13017
13017
  type: z.ZodOptional<z.ZodEnum<{
13018
- built_in: "built_in";
13019
13018
  custom: "custom";
13019
+ built_in: "built_in";
13020
13020
  }>>;
13021
13021
  }, z.core.$strip>>>>;
13022
13022
  }, z.core.$loose>]>;
@@ -13168,8 +13168,8 @@ declare const zCreateAgentConfigBody: z.ZodObject<{
13168
13168
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13169
13169
  }, z.core.$strip>>;
13170
13170
  type: z.ZodOptional<z.ZodEnum<{
13171
- built_in: "built_in";
13172
13171
  custom: "custom";
13172
+ built_in: "built_in";
13173
13173
  }>>;
13174
13174
  }, z.core.$strip>>>>;
13175
13175
  version: z.ZodOptional<z.ZodEnum<{
@@ -13261,8 +13261,8 @@ declare const zCreateAgentConfigResponse: z.ZodObject<{
13261
13261
  integration_id: z.ZodOptional<z.ZodString>;
13262
13262
  enabled: z.ZodBoolean;
13263
13263
  type: z.ZodOptional<z.ZodEnum<{
13264
- built_in: "built_in";
13265
13264
  custom: "custom";
13265
+ built_in: "built_in";
13266
13266
  }>>;
13267
13267
  permission: z.ZodObject<{
13268
13268
  mode: z.ZodString;
@@ -13585,8 +13585,8 @@ declare const zGetAgentConfigResponse: z.ZodObject<{
13585
13585
  integration_id: z.ZodOptional<z.ZodString>;
13586
13586
  enabled: z.ZodBoolean;
13587
13587
  type: z.ZodOptional<z.ZodEnum<{
13588
- built_in: "built_in";
13589
13588
  custom: "custom";
13589
+ built_in: "built_in";
13590
13590
  }>>;
13591
13591
  permission: z.ZodObject<{
13592
13592
  mode: z.ZodString;
@@ -13905,8 +13905,8 @@ declare const zCreateAgentProfileResponse: z.ZodObject<{
13905
13905
  integration_id: z.ZodOptional<z.ZodString>;
13906
13906
  enabled: z.ZodBoolean;
13907
13907
  type: z.ZodOptional<z.ZodEnum<{
13908
- built_in: "built_in";
13909
13908
  custom: "custom";
13909
+ built_in: "built_in";
13910
13910
  }>>;
13911
13911
  permission: z.ZodObject<{
13912
13912
  mode: z.ZodString;
@@ -14119,8 +14119,8 @@ declare const zGetAgentProfileResponse: z.ZodObject<{
14119
14119
  integration_id: z.ZodOptional<z.ZodString>;
14120
14120
  enabled: z.ZodBoolean;
14121
14121
  type: z.ZodOptional<z.ZodEnum<{
14122
- built_in: "built_in";
14123
14122
  custom: "custom";
14123
+ built_in: "built_in";
14124
14124
  }>>;
14125
14125
  permission: z.ZodObject<{
14126
14126
  mode: z.ZodString;
@@ -14327,8 +14327,8 @@ declare const zRenameAgentProfileResponse: z.ZodObject<{
14327
14327
  integration_id: z.ZodOptional<z.ZodString>;
14328
14328
  enabled: z.ZodBoolean;
14329
14329
  type: z.ZodOptional<z.ZodEnum<{
14330
- built_in: "built_in";
14331
14330
  custom: "custom";
14331
+ built_in: "built_in";
14332
14332
  }>>;
14333
14333
  permission: z.ZodObject<{
14334
14334
  mode: z.ZodString;
@@ -14591,8 +14591,8 @@ declare const zUpdateAgentProfileResponse: z.ZodObject<{
14591
14591
  integration_id: z.ZodOptional<z.ZodString>;
14592
14592
  enabled: z.ZodBoolean;
14593
14593
  type: z.ZodOptional<z.ZodEnum<{
14594
- built_in: "built_in";
14595
14594
  custom: "custom";
14595
+ built_in: "built_in";
14596
14596
  }>>;
14597
14597
  permission: z.ZodObject<{
14598
14598
  mode: z.ZodString;
@@ -15122,8 +15122,8 @@ declare const zListAgentsResponse2: z.ZodObject<{
15122
15122
  project_id: z.ZodString;
15123
15123
  agent_profile_id: z.ZodOptional<z.ZodString>;
15124
15124
  state: z.ZodEnum<{
15125
- active: "active";
15126
15125
  archived: "archived";
15126
+ active: "active";
15127
15127
  }>;
15128
15128
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15129
15129
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15141,10 +15141,10 @@ declare const zListAgentsResponse2: z.ZodObject<{
15141
15141
  subagent_key: z.ZodOptional<z.ZodString>;
15142
15142
  activity: z.ZodOptional<z.ZodObject<{
15143
15143
  state: z.ZodEnum<{
15144
- archived: "archived";
15145
15144
  running: "running";
15146
15145
  idle: "idle";
15147
15146
  waiting_on_interaction: "waiting_on_interaction";
15147
+ archived: "archived";
15148
15148
  }>;
15149
15149
  last_activity_at: z.ZodISODateTime;
15150
15150
  }, z.core.$strip>>;
@@ -15300,8 +15300,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15300
15300
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15301
15301
  }, z.core.$strip>>;
15302
15302
  type: z.ZodOptional<z.ZodEnum<{
15303
- built_in: "built_in";
15304
15303
  custom: "custom";
15304
+ built_in: "built_in";
15305
15305
  }>>;
15306
15306
  }, z.core.$strip>>>>;
15307
15307
  version: z.ZodOptional<z.ZodEnum<{
@@ -15442,8 +15442,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15442
15442
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15443
15443
  }, z.core.$strip>>;
15444
15444
  type: z.ZodOptional<z.ZodEnum<{
15445
- built_in: "built_in";
15446
15445
  custom: "custom";
15446
+ built_in: "built_in";
15447
15447
  }>>;
15448
15448
  }, z.core.$strip>>>>;
15449
15449
  version: z.ZodOptional<z.ZodEnum<{
@@ -15471,8 +15471,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15471
15471
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15472
15472
  }, z.core.$strip>>;
15473
15473
  type: z.ZodOptional<z.ZodEnum<{
15474
- built_in: "built_in";
15475
15474
  custom: "custom";
15475
+ built_in: "built_in";
15476
15476
  }>>;
15477
15477
  }, z.core.$strip>>>;
15478
15478
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15510,8 +15510,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15510
15510
  project_id: z.ZodString;
15511
15511
  agent_profile_id: z.ZodOptional<z.ZodString>;
15512
15512
  state: z.ZodEnum<{
15513
- active: "active";
15514
15513
  archived: "archived";
15514
+ active: "active";
15515
15515
  }>;
15516
15516
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15517
15517
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15529,10 +15529,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15529
15529
  subagent_key: z.ZodOptional<z.ZodString>;
15530
15530
  activity: z.ZodOptional<z.ZodObject<{
15531
15531
  state: z.ZodEnum<{
15532
- archived: "archived";
15533
15532
  running: "running";
15534
15533
  idle: "idle";
15535
15534
  waiting_on_interaction: "waiting_on_interaction";
15535
+ archived: "archived";
15536
15536
  }>;
15537
15537
  last_activity_at: z.ZodISODateTime;
15538
15538
  }, z.core.$strip>>;
@@ -15562,8 +15562,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15562
15562
  project_id: z.ZodString;
15563
15563
  agent_profile_id: z.ZodOptional<z.ZodString>;
15564
15564
  state: z.ZodEnum<{
15565
- active: "active";
15566
15565
  archived: "archived";
15566
+ active: "active";
15567
15567
  }>;
15568
15568
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15569
15569
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15581,10 +15581,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15581
15581
  subagent_key: z.ZodOptional<z.ZodString>;
15582
15582
  activity: z.ZodOptional<z.ZodObject<{
15583
15583
  state: z.ZodEnum<{
15584
- archived: "archived";
15585
15584
  running: "running";
15586
15585
  idle: "idle";
15587
15586
  waiting_on_interaction: "waiting_on_interaction";
15587
+ archived: "archived";
15588
15588
  }>;
15589
15589
  last_activity_at: z.ZodISODateTime;
15590
15590
  }, z.core.$strip>>;
@@ -15680,8 +15680,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15680
15680
  integration_id: z.ZodOptional<z.ZodString>;
15681
15681
  enabled: z.ZodBoolean;
15682
15682
  type: z.ZodOptional<z.ZodEnum<{
15683
- built_in: "built_in";
15684
15683
  custom: "custom";
15684
+ built_in: "built_in";
15685
15685
  }>>;
15686
15686
  permission: z.ZodObject<{
15687
15687
  mode: z.ZodString;
@@ -15859,8 +15859,8 @@ declare const zGetAgentResponse2: z.ZodObject<{
15859
15859
  project_id: z.ZodString;
15860
15860
  agent_profile_id: z.ZodOptional<z.ZodString>;
15861
15861
  state: z.ZodEnum<{
15862
- active: "active";
15863
15862
  archived: "archived";
15863
+ active: "active";
15864
15864
  }>;
15865
15865
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15866
15866
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15878,10 +15878,10 @@ declare const zGetAgentResponse2: z.ZodObject<{
15878
15878
  subagent_key: z.ZodOptional<z.ZodString>;
15879
15879
  activity: z.ZodOptional<z.ZodObject<{
15880
15880
  state: z.ZodEnum<{
15881
- archived: "archived";
15882
15881
  running: "running";
15883
15882
  idle: "idle";
15884
15883
  waiting_on_interaction: "waiting_on_interaction";
15884
+ archived: "archived";
15885
15885
  }>;
15886
15886
  last_activity_at: z.ZodISODateTime;
15887
15887
  }, z.core.$strip>>;
@@ -15987,8 +15987,8 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15987
15987
  project_id: z.ZodString;
15988
15988
  agent_profile_id: z.ZodOptional<z.ZodString>;
15989
15989
  state: z.ZodEnum<{
15990
- active: "active";
15991
15990
  archived: "archived";
15991
+ active: "active";
15992
15992
  }>;
15993
15993
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15994
15994
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -16006,10 +16006,10 @@ declare const zArchiveAgentResponse: z.ZodObject<{
16006
16006
  subagent_key: z.ZodOptional<z.ZodString>;
16007
16007
  activity: z.ZodOptional<z.ZodObject<{
16008
16008
  state: z.ZodEnum<{
16009
- archived: "archived";
16010
16009
  running: "running";
16011
16010
  idle: "idle";
16012
16011
  waiting_on_interaction: "waiting_on_interaction";
16012
+ archived: "archived";
16013
16013
  }>;
16014
16014
  last_activity_at: z.ZodISODateTime;
16015
16015
  }, z.core.$strip>>;
@@ -16159,8 +16159,8 @@ declare const zUpdateAgentConfigBody: z.ZodObject<{
16159
16159
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16160
16160
  }, z.core.$strip>>;
16161
16161
  type: z.ZodOptional<z.ZodEnum<{
16162
- built_in: "built_in";
16163
16162
  custom: "custom";
16163
+ built_in: "built_in";
16164
16164
  }>>;
16165
16165
  }, z.core.$strip>>>>;
16166
16166
  version: z.ZodOptional<z.ZodEnum<{
@@ -16258,8 +16258,8 @@ declare const zUpdateAgentConfigResponse2: z.ZodObject<{
16258
16258
  integration_id: z.ZodOptional<z.ZodString>;
16259
16259
  enabled: z.ZodBoolean;
16260
16260
  type: z.ZodOptional<z.ZodEnum<{
16261
- built_in: "built_in";
16262
16261
  custom: "custom";
16262
+ built_in: "built_in";
16263
16263
  }>>;
16264
16264
  permission: z.ZodObject<{
16265
16265
  mode: z.ZodString;
@@ -16506,9 +16506,9 @@ declare const zListToolCallsQuery: z.ZodObject<{
16506
16506
  waiting: "waiting";
16507
16507
  }>>;
16508
16508
  type: z.ZodOptional<z.ZodEnum<{
16509
- mcp: "mcp";
16510
- built_in: "built_in";
16511
16509
  custom: "custom";
16510
+ built_in: "built_in";
16511
+ mcp: "mcp";
16512
16512
  }>>;
16513
16513
  include_subagents: z.ZodOptional<z.ZodBoolean>;
16514
16514
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -16526,9 +16526,9 @@ declare const zListToolCallsResponse2: z.ZodObject<{
16526
16526
  name: z.ZodString;
16527
16527
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16528
16528
  type: z.ZodEnum<{
16529
- mcp: "mcp";
16530
- built_in: "built_in";
16531
16529
  custom: "custom";
16530
+ built_in: "built_in";
16531
+ mcp: "mcp";
16532
16532
  }>;
16533
16533
  state: z.ZodEnum<{
16534
16534
  completed: "completed";
@@ -16610,9 +16610,9 @@ declare const zSubmitToolCallResultResponse2: z.ZodObject<{
16610
16610
  name: z.ZodString;
16611
16611
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16612
16612
  type: z.ZodEnum<{
16613
- mcp: "mcp";
16614
- built_in: "built_in";
16615
16613
  custom: "custom";
16614
+ built_in: "built_in";
16615
+ mcp: "mcp";
16616
16616
  }>;
16617
16617
  state: z.ZodEnum<{
16618
16618
  completed: "completed";
@@ -16722,12 +16722,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16722
16722
  sequence: z.ZodInt;
16723
16723
  model_call_context_id: z.ZodString;
16724
16724
  stop_reason: z.ZodEnum<{
16725
+ error: "error";
16725
16726
  end_turn: "end_turn";
16726
16727
  tool_use: "tool_use";
16727
16728
  max_tokens: "max_tokens";
16728
16729
  refusal: "refusal";
16729
16730
  content_filter: "content_filter";
16730
- error: "error";
16731
16731
  }>;
16732
16732
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16733
16733
  text: z.ZodString;
@@ -16745,9 +16745,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16745
16745
  }, z.core.$strip>, z.ZodObject<{
16746
16746
  tool_call_id: z.ZodString;
16747
16747
  tool_type: z.ZodEnum<{
16748
- mcp: "mcp";
16749
- built_in: "built_in";
16750
16748
  custom: "custom";
16749
+ built_in: "built_in";
16750
+ mcp: "mcp";
16751
16751
  }>;
16752
16752
  name: z.ZodString;
16753
16753
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16862,12 +16862,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16862
16862
  sequence: z.ZodInt;
16863
16863
  model_call_context_id: z.ZodString;
16864
16864
  stop_reason: z.ZodEnum<{
16865
+ error: "error";
16865
16866
  end_turn: "end_turn";
16866
16867
  tool_use: "tool_use";
16867
16868
  max_tokens: "max_tokens";
16868
16869
  refusal: "refusal";
16869
16870
  content_filter: "content_filter";
16870
- error: "error";
16871
16871
  }>;
16872
16872
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16873
16873
  text: z.ZodString;
@@ -16885,9 +16885,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16885
16885
  }, z.core.$strip>, z.ZodObject<{
16886
16886
  tool_call_id: z.ZodString;
16887
16887
  tool_type: z.ZodEnum<{
16888
- mcp: "mcp";
16889
- built_in: "built_in";
16890
16888
  custom: "custom";
16889
+ built_in: "built_in";
16890
+ mcp: "mcp";
16891
16891
  }>;
16892
16892
  name: z.ZodString;
16893
16893
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17002,12 +17002,12 @@ declare const zListTurnsResponse: z.ZodObject<{
17002
17002
  sequence: z.ZodInt;
17003
17003
  model_call_context_id: z.ZodString;
17004
17004
  stop_reason: z.ZodEnum<{
17005
+ error: "error";
17005
17006
  end_turn: "end_turn";
17006
17007
  tool_use: "tool_use";
17007
17008
  max_tokens: "max_tokens";
17008
17009
  refusal: "refusal";
17009
17010
  content_filter: "content_filter";
17010
- error: "error";
17011
17011
  }>;
17012
17012
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17013
17013
  text: z.ZodString;
@@ -17025,9 +17025,9 @@ declare const zListTurnsResponse: z.ZodObject<{
17025
17025
  }, z.core.$strip>, z.ZodObject<{
17026
17026
  tool_call_id: z.ZodString;
17027
17027
  tool_type: z.ZodEnum<{
17028
- mcp: "mcp";
17029
- built_in: "built_in";
17030
17028
  custom: "custom";
17029
+ built_in: "built_in";
17030
+ mcp: "mcp";
17031
17031
  }>;
17032
17032
  name: z.ZodString;
17033
17033
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17161,12 +17161,12 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17161
17161
  sequence: z.ZodInt;
17162
17162
  model_call_context_id: z.ZodString;
17163
17163
  stop_reason: z.ZodEnum<{
17164
+ error: "error";
17164
17165
  end_turn: "end_turn";
17165
17166
  tool_use: "tool_use";
17166
17167
  max_tokens: "max_tokens";
17167
17168
  refusal: "refusal";
17168
17169
  content_filter: "content_filter";
17169
- error: "error";
17170
17170
  }>;
17171
17171
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17172
17172
  text: z.ZodString;
@@ -17184,9 +17184,9 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17184
17184
  }, z.core.$strip>, z.ZodObject<{
17185
17185
  tool_call_id: z.ZodString;
17186
17186
  tool_type: z.ZodEnum<{
17187
- mcp: "mcp";
17188
- built_in: "built_in";
17189
17187
  custom: "custom";
17188
+ built_in: "built_in";
17189
+ mcp: "mcp";
17190
17190
  }>;
17191
17191
  name: z.ZodString;
17192
17192
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17317,12 +17317,12 @@ declare const zListEventsResponse: z.ZodObject<{
17317
17317
  sequence: z.ZodInt;
17318
17318
  model_call_context_id: z.ZodString;
17319
17319
  stop_reason: z.ZodEnum<{
17320
+ error: "error";
17320
17321
  end_turn: "end_turn";
17321
17322
  tool_use: "tool_use";
17322
17323
  max_tokens: "max_tokens";
17323
17324
  refusal: "refusal";
17324
17325
  content_filter: "content_filter";
17325
- error: "error";
17326
17326
  }>;
17327
17327
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17328
17328
  text: z.ZodString;
@@ -17340,9 +17340,9 @@ declare const zListEventsResponse: z.ZodObject<{
17340
17340
  }, z.core.$strip>, z.ZodObject<{
17341
17341
  tool_call_id: z.ZodString;
17342
17342
  tool_type: z.ZodEnum<{
17343
- mcp: "mcp";
17344
- built_in: "built_in";
17345
17343
  custom: "custom";
17344
+ built_in: "built_in";
17345
+ mcp: "mcp";
17346
17346
  }>;
17347
17347
  name: z.ZodString;
17348
17348
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17476,12 +17476,12 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17476
17476
  sequence: z.ZodInt;
17477
17477
  model_call_context_id: z.ZodString;
17478
17478
  stop_reason: z.ZodEnum<{
17479
+ error: "error";
17479
17480
  end_turn: "end_turn";
17480
17481
  tool_use: "tool_use";
17481
17482
  max_tokens: "max_tokens";
17482
17483
  refusal: "refusal";
17483
17484
  content_filter: "content_filter";
17484
- error: "error";
17485
17485
  }>;
17486
17486
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17487
17487
  text: z.ZodString;
@@ -17499,9 +17499,9 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17499
17499
  }, z.core.$strip>, z.ZodObject<{
17500
17500
  tool_call_id: z.ZodString;
17501
17501
  tool_type: z.ZodEnum<{
17502
- mcp: "mcp";
17503
- built_in: "built_in";
17504
17502
  custom: "custom";
17503
+ built_in: "built_in";
17504
+ mcp: "mcp";
17505
17505
  }>;
17506
17506
  name: z.ZodString;
17507
17507
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17629,6 +17629,7 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17629
17629
  }, z.core.$strip>, z.ZodObject<{
17630
17630
  stop: z.ZodObject<{
17631
17631
  reason: z.ZodEnum<{
17632
+ unknown: "unknown";
17632
17633
  end_turn: "end_turn";
17633
17634
  tool_use: "tool_use";
17634
17635
  max_tokens: "max_tokens";
@@ -17636,7 +17637,6 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17636
17637
  content_filter: "content_filter";
17637
17638
  pause: "pause";
17638
17639
  context_window: "context_window";
17639
- unknown: "unknown";
17640
17640
  }>;
17641
17641
  usage: z.ZodObject<{
17642
17642
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -17728,12 +17728,12 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17728
17728
  sequence: z.ZodInt;
17729
17729
  model_call_context_id: z.ZodString;
17730
17730
  stop_reason: z.ZodEnum<{
17731
+ error: "error";
17731
17732
  end_turn: "end_turn";
17732
17733
  tool_use: "tool_use";
17733
17734
  max_tokens: "max_tokens";
17734
17735
  refusal: "refusal";
17735
17736
  content_filter: "content_filter";
17736
- error: "error";
17737
17737
  }>;
17738
17738
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17739
17739
  text: z.ZodString;
@@ -17751,9 +17751,9 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17751
17751
  }, z.core.$strip>, z.ZodObject<{
17752
17752
  tool_call_id: z.ZodString;
17753
17753
  tool_type: z.ZodEnum<{
17754
- mcp: "mcp";
17755
- built_in: "built_in";
17756
17754
  custom: "custom";
17755
+ built_in: "built_in";
17756
+ mcp: "mcp";
17757
17757
  }>;
17758
17758
  name: z.ZodString;
17759
17759
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -18149,9 +18149,9 @@ declare const zListVisibleProjectMachinesResponse: z.ZodObject<{
18149
18149
  description: z.ZodString;
18150
18150
  provider: z.ZodString;
18151
18151
  lifecycle_state: z.ZodEnum<{
18152
- active: "active";
18153
18152
  provisioning: "provisioning";
18154
18153
  provision_failed: "provision_failed";
18154
+ active: "active";
18155
18155
  deleting: "deleting";
18156
18156
  delete_failed: "delete_failed";
18157
18157
  deleted: "deleted";
@@ -18232,9 +18232,9 @@ declare const zListProjectMachineGrantsResponse2: z.ZodObject<{
18232
18232
  description: z.ZodString;
18233
18233
  provider: z.ZodString;
18234
18234
  lifecycle_state: z.ZodEnum<{
18235
- active: "active";
18236
18235
  provisioning: "provisioning";
18237
18236
  provision_failed: "provision_failed";
18237
+ active: "active";
18238
18238
  deleting: "deleting";
18239
18239
  delete_failed: "delete_failed";
18240
18240
  deleted: "deleted";
@@ -18295,9 +18295,9 @@ declare const zCreateProjectMachineGrantResponse2: z.ZodObject<{
18295
18295
  description: z.ZodString;
18296
18296
  provider: z.ZodString;
18297
18297
  lifecycle_state: z.ZodEnum<{
18298
- active: "active";
18299
18298
  provisioning: "provisioning";
18300
18299
  provision_failed: "provision_failed";
18300
+ active: "active";
18301
18301
  deleting: "deleting";
18302
18302
  delete_failed: "delete_failed";
18303
18303
  deleted: "deleted";
@@ -18367,8 +18367,8 @@ declare const zListProjectAvailableSecretsQuery: z.ZodObject<{
18367
18367
  user: "user";
18368
18368
  }>>;
18369
18369
  availability_source: z.ZodOptional<z.ZodEnum<{
18370
- direct: "direct";
18371
18370
  grant: "grant";
18371
+ direct: "direct";
18372
18372
  }>>;
18373
18373
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18374
18374
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -18602,9 +18602,9 @@ declare const zListVisibleMachinesResponse2: z.ZodObject<{
18602
18602
  description: z.ZodString;
18603
18603
  provider: z.ZodString;
18604
18604
  lifecycle_state: z.ZodEnum<{
18605
- active: "active";
18606
18605
  provisioning: "provisioning";
18607
18606
  provision_failed: "provision_failed";
18607
+ active: "active";
18608
18608
  deleting: "deleting";
18609
18609
  delete_failed: "delete_failed";
18610
18610
  deleted: "deleted";
@@ -18666,9 +18666,9 @@ declare const zCreateMachineResponse: z.ZodObject<{
18666
18666
  description: z.ZodString;
18667
18667
  provider: z.ZodString;
18668
18668
  lifecycle_state: z.ZodEnum<{
18669
- active: "active";
18670
18669
  provisioning: "provisioning";
18671
18670
  provision_failed: "provision_failed";
18671
+ active: "active";
18672
18672
  deleting: "deleting";
18673
18673
  delete_failed: "delete_failed";
18674
18674
  deleted: "deleted";
@@ -18738,9 +18738,9 @@ declare const zConnectByoMachineResponse2: z.ZodObject<{
18738
18738
  description: z.ZodString;
18739
18739
  provider: z.ZodString;
18740
18740
  lifecycle_state: z.ZodEnum<{
18741
- active: "active";
18742
18741
  provisioning: "provisioning";
18743
18742
  provision_failed: "provision_failed";
18743
+ active: "active";
18744
18744
  deleting: "deleting";
18745
18745
  delete_failed: "delete_failed";
18746
18746
  deleted: "deleted";
@@ -18836,9 +18836,9 @@ declare const zGetMachineResponse: z.ZodObject<{
18836
18836
  description: z.ZodString;
18837
18837
  provider: z.ZodString;
18838
18838
  lifecycle_state: z.ZodEnum<{
18839
- active: "active";
18840
18839
  provisioning: "provisioning";
18841
18840
  provision_failed: "provision_failed";
18841
+ active: "active";
18842
18842
  deleting: "deleting";
18843
18843
  delete_failed: "delete_failed";
18844
18844
  deleted: "deleted";
@@ -18903,9 +18903,9 @@ declare const zUpdateMachineResponse: z.ZodObject<{
18903
18903
  description: z.ZodString;
18904
18904
  provider: z.ZodString;
18905
18905
  lifecycle_state: z.ZodEnum<{
18906
- active: "active";
18907
18906
  provisioning: "provisioning";
18908
18907
  provision_failed: "provision_failed";
18908
+ active: "active";
18909
18909
  deleting: "deleting";
18910
18910
  delete_failed: "delete_failed";
18911
18911
  deleted: "deleted";