@omnara/sdk 0.1.31 → 0.1.32

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>;
@@ -1677,8 +1677,8 @@ declare const zResolveAgentConfigToolsRequest: z.ZodObject<{
1677
1677
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1678
1678
  }, z.core.$strip>>;
1679
1679
  type: z.ZodOptional<z.ZodEnum<{
1680
- built_in: "built_in";
1681
1680
  custom: "custom";
1681
+ built_in: "built_in";
1682
1682
  }>>;
1683
1683
  }, z.core.$strip>>>>;
1684
1684
  }, z.core.$loose>]>;
@@ -1813,8 +1813,8 @@ declare const zAgentConfigSourceInput: z.ZodUnion<readonly [z.ZodString, z.ZodOb
1813
1813
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1814
1814
  }, z.core.$strip>>;
1815
1815
  type: z.ZodOptional<z.ZodEnum<{
1816
- built_in: "built_in";
1817
1816
  custom: "custom";
1817
+ built_in: "built_in";
1818
1818
  }>>;
1819
1819
  }, z.core.$strip>>>>;
1820
1820
  version: z.ZodOptional<z.ZodEnum<{
@@ -1948,8 +1948,8 @@ declare const zCreateAgentConfigRequest: z.ZodObject<{
1948
1948
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1949
1949
  }, z.core.$strip>>;
1950
1950
  type: z.ZodOptional<z.ZodEnum<{
1951
- built_in: "built_in";
1952
1951
  custom: "custom";
1952
+ built_in: "built_in";
1953
1953
  }>>;
1954
1954
  }, z.core.$strip>>>>;
1955
1955
  version: z.ZodOptional<z.ZodEnum<{
@@ -2088,8 +2088,8 @@ declare const zUpdateAgentConfigRequest: z.ZodObject<{
2088
2088
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2089
2089
  }, z.core.$strip>>;
2090
2090
  type: z.ZodOptional<z.ZodEnum<{
2091
- built_in: "built_in";
2092
2091
  custom: "custom";
2092
+ built_in: "built_in";
2093
2093
  }>>;
2094
2094
  }, z.core.$strip>>>>;
2095
2095
  version: z.ZodOptional<z.ZodEnum<{
@@ -2767,10 +2767,10 @@ declare const zCronTriggerLastRun: z.ZodObject<{
2767
2767
  }, z.core.$strip>;
2768
2768
  declare const zAgentActivity: z.ZodObject<{
2769
2769
  state: z.ZodEnum<{
2770
- archived: "archived";
2771
2770
  running: "running";
2772
2771
  idle: "idle";
2773
2772
  waiting_on_interaction: "waiting_on_interaction";
2773
+ archived: "archived";
2774
2774
  }>;
2775
2775
  last_activity_at: z.ZodISODateTime;
2776
2776
  }, z.core.$strip>;
@@ -2814,6 +2814,7 @@ declare const zAgentSequenceCursor: z.ZodInt;
2814
2814
  */
2815
2815
  declare const zAgentCount: z.ZodInt;
2816
2816
  declare const zModelStopReason: z.ZodEnum<{
2817
+ unknown: "unknown";
2817
2818
  end_turn: "end_turn";
2818
2819
  tool_use: "tool_use";
2819
2820
  max_tokens: "max_tokens";
@@ -2821,18 +2822,17 @@ declare const zModelStopReason: z.ZodEnum<{
2821
2822
  content_filter: "content_filter";
2822
2823
  pause: "pause";
2823
2824
  context_window: "context_window";
2824
- unknown: "unknown";
2825
2825
  }>;
2826
2826
  /**
2827
2827
  * Stop reasons admitted as durable model-output events.
2828
2828
  */
2829
2829
  declare const zModelOutputStopReason: z.ZodEnum<{
2830
+ error: "error";
2830
2831
  end_turn: "end_turn";
2831
2832
  tool_use: "tool_use";
2832
2833
  max_tokens: "max_tokens";
2833
2834
  refusal: "refusal";
2834
2835
  content_filter: "content_filter";
2835
- error: "error";
2836
2836
  }>;
2837
2837
  declare const zAgentInputDeliveryMode: z.ZodEnum<{
2838
2838
  queued: "queued";
@@ -3141,9 +3141,9 @@ declare const zAgentInputEnvelope: z.ZodObject<{
3141
3141
  * Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
3142
3142
  */
3143
3143
  declare const zToolCallType: z.ZodEnum<{
3144
- mcp: "mcp";
3145
- built_in: "built_in";
3146
3144
  custom: "custom";
3145
+ built_in: "built_in";
3146
+ mcp: "mcp";
3147
3147
  }>;
3148
3148
  declare const zModelToolCallContentBlock: z.ZodObject<{
3149
3149
  type: z.ZodEnum<{
@@ -3151,9 +3151,9 @@ declare const zModelToolCallContentBlock: z.ZodObject<{
3151
3151
  }>;
3152
3152
  tool_call_id: z.ZodString;
3153
3153
  tool_type: z.ZodEnum<{
3154
- mcp: "mcp";
3155
- built_in: "built_in";
3156
3154
  custom: "custom";
3155
+ built_in: "built_in";
3156
+ mcp: "mcp";
3157
3157
  }>;
3158
3158
  name: z.ZodString;
3159
3159
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3175,9 +3175,9 @@ declare const zModelOutputContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
3175
3175
  }, z.core.$strip>, z.ZodObject<{
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>;
@@ -3219,9 +3219,9 @@ declare const zToolCall: z.ZodObject<{
3219
3219
  name: z.ZodString;
3220
3220
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3221
3221
  type: z.ZodEnum<{
3222
- mcp: "mcp";
3223
- built_in: "built_in";
3224
3222
  custom: "custom";
3223
+ built_in: "built_in";
3224
+ mcp: "mcp";
3225
3225
  }>;
3226
3226
  state: z.ZodEnum<{
3227
3227
  completed: "completed";
@@ -3249,9 +3249,9 @@ declare const zListToolCallsResponse: z.ZodObject<{
3249
3249
  name: z.ZodString;
3250
3250
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3251
3251
  type: z.ZodEnum<{
3252
- mcp: "mcp";
3253
- built_in: "built_in";
3254
3252
  custom: "custom";
3253
+ built_in: "built_in";
3254
+ mcp: "mcp";
3255
3255
  }>;
3256
3256
  state: z.ZodEnum<{
3257
3257
  completed: "completed";
@@ -3350,9 +3350,9 @@ declare const zSubmitToolCallResultResponse: z.ZodObject<{
3350
3350
  name: z.ZodString;
3351
3351
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3352
3352
  type: z.ZodEnum<{
3353
- mcp: "mcp";
3354
- built_in: "built_in";
3355
3353
  custom: "custom";
3354
+ built_in: "built_in";
3355
+ mcp: "mcp";
3356
3356
  }>;
3357
3357
  state: z.ZodEnum<{
3358
3358
  completed: "completed";
@@ -3686,12 +3686,12 @@ declare const zModelOutputEvent: z.ZodObject<{
3686
3686
  }>;
3687
3687
  model_call_context_id: z.ZodString;
3688
3688
  stop_reason: z.ZodEnum<{
3689
+ error: "error";
3689
3690
  end_turn: "end_turn";
3690
3691
  tool_use: "tool_use";
3691
3692
  max_tokens: "max_tokens";
3692
3693
  refusal: "refusal";
3693
3694
  content_filter: "content_filter";
3694
- error: "error";
3695
3695
  }>;
3696
3696
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3697
3697
  text: z.ZodString;
@@ -3709,9 +3709,9 @@ declare const zModelOutputEvent: z.ZodObject<{
3709
3709
  }, z.core.$strip>, z.ZodObject<{
3710
3710
  tool_call_id: z.ZodString;
3711
3711
  tool_type: z.ZodEnum<{
3712
- mcp: "mcp";
3713
- built_in: "built_in";
3714
3712
  custom: "custom";
3713
+ built_in: "built_in";
3714
+ mcp: "mcp";
3715
3715
  }>;
3716
3716
  name: z.ZodString;
3717
3717
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3751,12 +3751,12 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3751
3751
  }>;
3752
3752
  model_call_context_id: z.ZodString;
3753
3753
  stop_reason: z.ZodEnum<{
3754
+ error: "error";
3754
3755
  end_turn: "end_turn";
3755
3756
  tool_use: "tool_use";
3756
3757
  max_tokens: "max_tokens";
3757
3758
  refusal: "refusal";
3758
3759
  content_filter: "content_filter";
3759
- error: "error";
3760
3760
  }>;
3761
3761
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3762
3762
  text: z.ZodString;
@@ -3774,9 +3774,9 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3774
3774
  }, z.core.$strip>, z.ZodObject<{
3775
3775
  tool_call_id: z.ZodString;
3776
3776
  tool_type: z.ZodEnum<{
3777
- mcp: "mcp";
3778
- built_in: "built_in";
3779
3777
  custom: "custom";
3778
+ built_in: "built_in";
3779
+ mcp: "mcp";
3780
3780
  }>;
3781
3781
  name: z.ZodString;
3782
3782
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3845,12 +3845,12 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3845
3845
  sequence: z.ZodInt;
3846
3846
  model_call_context_id: z.ZodString;
3847
3847
  stop_reason: z.ZodEnum<{
3848
+ error: "error";
3848
3849
  end_turn: "end_turn";
3849
3850
  tool_use: "tool_use";
3850
3851
  max_tokens: "max_tokens";
3851
3852
  refusal: "refusal";
3852
3853
  content_filter: "content_filter";
3853
- error: "error";
3854
3854
  }>;
3855
3855
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3856
3856
  text: z.ZodString;
@@ -3868,9 +3868,9 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3868
3868
  }, z.core.$strip>, z.ZodObject<{
3869
3869
  tool_call_id: z.ZodString;
3870
3870
  tool_type: z.ZodEnum<{
3871
- mcp: "mcp";
3872
- built_in: "built_in";
3873
3871
  custom: "custom";
3872
+ built_in: "built_in";
3873
+ mcp: "mcp";
3874
3874
  }>;
3875
3875
  name: z.ZodString;
3876
3876
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3945,6 +3945,7 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3945
3945
  }>;
3946
3946
  stop: z.ZodObject<{
3947
3947
  reason: z.ZodEnum<{
3948
+ unknown: "unknown";
3948
3949
  end_turn: "end_turn";
3949
3950
  tool_use: "tool_use";
3950
3951
  max_tokens: "max_tokens";
@@ -3952,7 +3953,6 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3952
3953
  content_filter: "content_filter";
3953
3954
  pause: "pause";
3954
3955
  context_window: "context_window";
3955
- unknown: "unknown";
3956
3956
  }>;
3957
3957
  usage: z.ZodObject<{
3958
3958
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4002,6 +4002,7 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4002
4002
  }, z.core.$strip>, z.ZodObject<{
4003
4003
  stop: z.ZodObject<{
4004
4004
  reason: z.ZodEnum<{
4005
+ unknown: "unknown";
4005
4006
  end_turn: "end_turn";
4006
4007
  tool_use: "tool_use";
4007
4008
  max_tokens: "max_tokens";
@@ -4009,7 +4010,6 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4009
4010
  content_filter: "content_filter";
4010
4011
  pause: "pause";
4011
4012
  context_window: "context_window";
4012
- unknown: "unknown";
4013
4013
  }>;
4014
4014
  usage: z.ZodObject<{
4015
4015
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4064,6 +4064,7 @@ declare const zModelOutputDelta: z.ZodObject<{
4064
4064
  }, z.core.$strip>, z.ZodObject<{
4065
4065
  stop: z.ZodObject<{
4066
4066
  reason: z.ZodEnum<{
4067
+ unknown: "unknown";
4067
4068
  end_turn: "end_turn";
4068
4069
  tool_use: "tool_use";
4069
4070
  max_tokens: "max_tokens";
@@ -4071,7 +4072,6 @@ declare const zModelOutputDelta: z.ZodObject<{
4071
4072
  content_filter: "content_filter";
4072
4073
  pause: "pause";
4073
4074
  context_window: "context_window";
4074
- unknown: "unknown";
4075
4075
  }>;
4076
4076
  usage: z.ZodObject<{
4077
4077
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4137,12 +4137,12 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4137
4137
  sequence: z.ZodInt;
4138
4138
  model_call_context_id: z.ZodString;
4139
4139
  stop_reason: z.ZodEnum<{
4140
+ error: "error";
4140
4141
  end_turn: "end_turn";
4141
4142
  tool_use: "tool_use";
4142
4143
  max_tokens: "max_tokens";
4143
4144
  refusal: "refusal";
4144
4145
  content_filter: "content_filter";
4145
- error: "error";
4146
4146
  }>;
4147
4147
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4148
4148
  text: z.ZodString;
@@ -4160,9 +4160,9 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4160
4160
  }, z.core.$strip>, z.ZodObject<{
4161
4161
  tool_call_id: z.ZodString;
4162
4162
  tool_type: z.ZodEnum<{
4163
- mcp: "mcp";
4164
- built_in: "built_in";
4165
4163
  custom: "custom";
4164
+ built_in: "built_in";
4165
+ mcp: "mcp";
4166
4166
  }>;
4167
4167
  name: z.ZodString;
4168
4168
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4282,12 +4282,12 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4282
4282
  sequence: z.ZodInt;
4283
4283
  model_call_context_id: z.ZodString;
4284
4284
  stop_reason: z.ZodEnum<{
4285
+ error: "error";
4285
4286
  end_turn: "end_turn";
4286
4287
  tool_use: "tool_use";
4287
4288
  max_tokens: "max_tokens";
4288
4289
  refusal: "refusal";
4289
4290
  content_filter: "content_filter";
4290
- error: "error";
4291
4291
  }>;
4292
4292
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4293
4293
  text: z.ZodString;
@@ -4305,9 +4305,9 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4305
4305
  }, z.core.$strip>, z.ZodObject<{
4306
4306
  tool_call_id: z.ZodString;
4307
4307
  tool_type: z.ZodEnum<{
4308
- mcp: "mcp";
4309
- built_in: "built_in";
4310
4308
  custom: "custom";
4309
+ built_in: "built_in";
4310
+ mcp: "mcp";
4311
4311
  }>;
4312
4312
  name: z.ZodString;
4313
4313
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4429,12 +4429,12 @@ declare const zAgentTurn: z.ZodObject<{
4429
4429
  sequence: z.ZodInt;
4430
4430
  model_call_context_id: z.ZodString;
4431
4431
  stop_reason: z.ZodEnum<{
4432
+ error: "error";
4432
4433
  end_turn: "end_turn";
4433
4434
  tool_use: "tool_use";
4434
4435
  max_tokens: "max_tokens";
4435
4436
  refusal: "refusal";
4436
4437
  content_filter: "content_filter";
4437
- error: "error";
4438
4438
  }>;
4439
4439
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4440
4440
  text: z.ZodString;
@@ -4452,9 +4452,9 @@ declare const zAgentTurn: z.ZodObject<{
4452
4452
  }, z.core.$strip>, z.ZodObject<{
4453
4453
  tool_call_id: z.ZodString;
4454
4454
  tool_type: z.ZodEnum<{
4455
- mcp: "mcp";
4456
- built_in: "built_in";
4457
4455
  custom: "custom";
4456
+ built_in: "built_in";
4457
+ mcp: "mcp";
4458
4458
  }>;
4459
4459
  name: z.ZodString;
4460
4460
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4569,12 +4569,12 @@ declare const zAgentTurn: z.ZodObject<{
4569
4569
  sequence: z.ZodInt;
4570
4570
  model_call_context_id: z.ZodString;
4571
4571
  stop_reason: z.ZodEnum<{
4572
+ error: "error";
4572
4573
  end_turn: "end_turn";
4573
4574
  tool_use: "tool_use";
4574
4575
  max_tokens: "max_tokens";
4575
4576
  refusal: "refusal";
4576
4577
  content_filter: "content_filter";
4577
- error: "error";
4578
4578
  }>;
4579
4579
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4580
4580
  text: z.ZodString;
@@ -4592,9 +4592,9 @@ declare const zAgentTurn: z.ZodObject<{
4592
4592
  }, z.core.$strip>, z.ZodObject<{
4593
4593
  tool_call_id: z.ZodString;
4594
4594
  tool_type: z.ZodEnum<{
4595
- mcp: "mcp";
4596
- built_in: "built_in";
4597
4595
  custom: "custom";
4596
+ built_in: "built_in";
4597
+ mcp: "mcp";
4598
4598
  }>;
4599
4599
  name: z.ZodString;
4600
4600
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4709,12 +4709,12 @@ declare const zAgentTurn: z.ZodObject<{
4709
4709
  sequence: z.ZodInt;
4710
4710
  model_call_context_id: z.ZodString;
4711
4711
  stop_reason: z.ZodEnum<{
4712
+ error: "error";
4712
4713
  end_turn: "end_turn";
4713
4714
  tool_use: "tool_use";
4714
4715
  max_tokens: "max_tokens";
4715
4716
  refusal: "refusal";
4716
4717
  content_filter: "content_filter";
4717
- error: "error";
4718
4718
  }>;
4719
4719
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4720
4720
  text: z.ZodString;
@@ -4732,9 +4732,9 @@ declare const zAgentTurn: z.ZodObject<{
4732
4732
  }, z.core.$strip>, z.ZodObject<{
4733
4733
  tool_call_id: z.ZodString;
4734
4734
  tool_type: z.ZodEnum<{
4735
- mcp: "mcp";
4736
- built_in: "built_in";
4737
4735
  custom: "custom";
4736
+ built_in: "built_in";
4737
+ mcp: "mcp";
4738
4738
  }>;
4739
4739
  name: z.ZodString;
4740
4740
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4858,12 +4858,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4858
4858
  sequence: z.ZodInt;
4859
4859
  model_call_context_id: z.ZodString;
4860
4860
  stop_reason: z.ZodEnum<{
4861
+ error: "error";
4861
4862
  end_turn: "end_turn";
4862
4863
  tool_use: "tool_use";
4863
4864
  max_tokens: "max_tokens";
4864
4865
  refusal: "refusal";
4865
4866
  content_filter: "content_filter";
4866
- error: "error";
4867
4867
  }>;
4868
4868
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4869
4869
  text: z.ZodString;
@@ -4881,9 +4881,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4881
4881
  }, z.core.$strip>, z.ZodObject<{
4882
4882
  tool_call_id: z.ZodString;
4883
4883
  tool_type: z.ZodEnum<{
4884
- mcp: "mcp";
4885
- built_in: "built_in";
4886
4884
  custom: "custom";
4885
+ built_in: "built_in";
4886
+ mcp: "mcp";
4887
4887
  }>;
4888
4888
  name: z.ZodString;
4889
4889
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4998,12 +4998,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4998
4998
  sequence: z.ZodInt;
4999
4999
  model_call_context_id: z.ZodString;
5000
5000
  stop_reason: z.ZodEnum<{
5001
+ error: "error";
5001
5002
  end_turn: "end_turn";
5002
5003
  tool_use: "tool_use";
5003
5004
  max_tokens: "max_tokens";
5004
5005
  refusal: "refusal";
5005
5006
  content_filter: "content_filter";
5006
- error: "error";
5007
5007
  }>;
5008
5008
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5009
5009
  text: z.ZodString;
@@ -5021,9 +5021,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5021
5021
  }, z.core.$strip>, z.ZodObject<{
5022
5022
  tool_call_id: z.ZodString;
5023
5023
  tool_type: z.ZodEnum<{
5024
- mcp: "mcp";
5025
- built_in: "built_in";
5026
5024
  custom: "custom";
5025
+ built_in: "built_in";
5026
+ mcp: "mcp";
5027
5027
  }>;
5028
5028
  name: z.ZodString;
5029
5029
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5138,12 +5138,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5138
5138
  sequence: z.ZodInt;
5139
5139
  model_call_context_id: z.ZodString;
5140
5140
  stop_reason: z.ZodEnum<{
5141
+ error: "error";
5141
5142
  end_turn: "end_turn";
5142
5143
  tool_use: "tool_use";
5143
5144
  max_tokens: "max_tokens";
5144
5145
  refusal: "refusal";
5145
5146
  content_filter: "content_filter";
5146
- error: "error";
5147
5147
  }>;
5148
5148
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5149
5149
  text: z.ZodString;
@@ -5161,9 +5161,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5161
5161
  }, z.core.$strip>, z.ZodObject<{
5162
5162
  tool_call_id: z.ZodString;
5163
5163
  tool_type: z.ZodEnum<{
5164
- mcp: "mcp";
5165
- built_in: "built_in";
5166
5164
  custom: "custom";
5165
+ built_in: "built_in";
5166
+ mcp: "mcp";
5167
5167
  }>;
5168
5168
  name: z.ZodString;
5169
5169
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5284,12 +5284,12 @@ declare const zCancelAgentResponse: z.ZodObject<{
5284
5284
  sequence: z.ZodInt;
5285
5285
  model_call_context_id: z.ZodString;
5286
5286
  stop_reason: z.ZodEnum<{
5287
+ error: "error";
5287
5288
  end_turn: "end_turn";
5288
5289
  tool_use: "tool_use";
5289
5290
  max_tokens: "max_tokens";
5290
5291
  refusal: "refusal";
5291
5292
  content_filter: "content_filter";
5292
- error: "error";
5293
5293
  }>;
5294
5294
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5295
5295
  text: z.ZodString;
@@ -5307,9 +5307,9 @@ declare const zCancelAgentResponse: z.ZodObject<{
5307
5307
  }, z.core.$strip>, z.ZodObject<{
5308
5308
  tool_call_id: z.ZodString;
5309
5309
  tool_type: z.ZodEnum<{
5310
- mcp: "mcp";
5311
- built_in: "built_in";
5312
5310
  custom: "custom";
5311
+ built_in: "built_in";
5312
+ mcp: "mcp";
5313
5313
  }>;
5314
5314
  name: z.ZodString;
5315
5315
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5605,12 +5605,12 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5605
5605
  }>;
5606
5606
  model_call_context_id: z.ZodString;
5607
5607
  stop_reason: z.ZodEnum<{
5608
+ error: "error";
5608
5609
  end_turn: "end_turn";
5609
5610
  tool_use: "tool_use";
5610
5611
  max_tokens: "max_tokens";
5611
5612
  refusal: "refusal";
5612
5613
  content_filter: "content_filter";
5613
- error: "error";
5614
5614
  }>;
5615
5615
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5616
5616
  text: z.ZodString;
@@ -5628,9 +5628,9 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5628
5628
  }, z.core.$strip>, z.ZodObject<{
5629
5629
  tool_call_id: z.ZodString;
5630
5630
  tool_type: z.ZodEnum<{
5631
- mcp: "mcp";
5632
- built_in: "built_in";
5633
5631
  custom: "custom";
5632
+ built_in: "built_in";
5633
+ mcp: "mcp";
5634
5634
  }>;
5635
5635
  name: z.ZodString;
5636
5636
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5785,12 +5785,12 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5785
5785
  sequence: z.ZodInt;
5786
5786
  model_call_context_id: z.ZodString;
5787
5787
  stop_reason: z.ZodEnum<{
5788
+ error: "error";
5788
5789
  end_turn: "end_turn";
5789
5790
  tool_use: "tool_use";
5790
5791
  max_tokens: "max_tokens";
5791
5792
  refusal: "refusal";
5792
5793
  content_filter: "content_filter";
5793
- error: "error";
5794
5794
  }>;
5795
5795
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5796
5796
  text: z.ZodString;
@@ -5808,9 +5808,9 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5808
5808
  }, z.core.$strip>, z.ZodObject<{
5809
5809
  tool_call_id: z.ZodString;
5810
5810
  tool_type: z.ZodEnum<{
5811
- mcp: "mcp";
5812
- built_in: "built_in";
5813
5811
  custom: "custom";
5812
+ built_in: "built_in";
5813
+ mcp: "mcp";
5814
5814
  }>;
5815
5815
  name: z.ZodString;
5816
5816
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5938,6 +5938,7 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5938
5938
  }, z.core.$strip>, z.ZodObject<{
5939
5939
  stop: z.ZodObject<{
5940
5940
  reason: z.ZodEnum<{
5941
+ unknown: "unknown";
5941
5942
  end_turn: "end_turn";
5942
5943
  tool_use: "tool_use";
5943
5944
  max_tokens: "max_tokens";
@@ -5945,7 +5946,6 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5945
5946
  content_filter: "content_filter";
5946
5947
  pause: "pause";
5947
5948
  context_window: "context_window";
5948
- unknown: "unknown";
5949
5949
  }>;
5950
5950
  usage: z.ZodObject<{
5951
5951
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -6859,9 +6859,9 @@ declare const zMachineSourceKind: z.ZodEnum<{
6859
6859
  byo: "byo";
6860
6860
  }>;
6861
6861
  declare const zMachineLifecycleState: z.ZodEnum<{
6862
- active: "active";
6863
6862
  provisioning: "provisioning";
6864
6863
  provision_failed: "provision_failed";
6864
+ active: "active";
6865
6865
  deleting: "deleting";
6866
6866
  delete_failed: "delete_failed";
6867
6867
  deleted: "deleted";
@@ -6891,9 +6891,9 @@ declare const zMachine: z.ZodObject<{
6891
6891
  description: z.ZodString;
6892
6892
  provider: z.ZodString;
6893
6893
  lifecycle_state: z.ZodEnum<{
6894
- active: "active";
6895
6894
  provisioning: "provisioning";
6896
6895
  provision_failed: "provision_failed";
6896
+ active: "active";
6897
6897
  deleting: "deleting";
6898
6898
  delete_failed: "delete_failed";
6899
6899
  deleted: "deleted";
@@ -6971,9 +6971,9 @@ declare const zMachineSummaryFields: z.ZodObject<{
6971
6971
  description: z.ZodString;
6972
6972
  provider: z.ZodString;
6973
6973
  lifecycle_state: z.ZodEnum<{
6974
- active: "active";
6975
6974
  provisioning: "provisioning";
6976
6975
  provision_failed: "provision_failed";
6976
+ active: "active";
6977
6977
  deleting: "deleting";
6978
6978
  delete_failed: "delete_failed";
6979
6979
  deleted: "deleted";
@@ -6999,9 +6999,9 @@ declare const zMachineSummary: z.ZodObject<{
6999
6999
  description: z.ZodString;
7000
7000
  provider: z.ZodString;
7001
7001
  lifecycle_state: z.ZodEnum<{
7002
- active: "active";
7003
7002
  provisioning: "provisioning";
7004
7003
  provision_failed: "provision_failed";
7004
+ active: "active";
7005
7005
  deleting: "deleting";
7006
7006
  delete_failed: "delete_failed";
7007
7007
  deleted: "deleted";
@@ -7054,9 +7054,9 @@ declare const zVisibleMachine: z.ZodIntersection<z.ZodObject<{
7054
7054
  description: z.ZodString;
7055
7055
  provider: z.ZodString;
7056
7056
  lifecycle_state: z.ZodEnum<{
7057
- active: "active";
7058
7057
  provisioning: "provisioning";
7059
7058
  provision_failed: "provision_failed";
7059
+ active: "active";
7060
7060
  deleting: "deleting";
7061
7061
  delete_failed: "delete_failed";
7062
7062
  deleted: "deleted";
@@ -7099,9 +7099,9 @@ declare const zListVisibleMachinesResponse: z.ZodObject<{
7099
7099
  description: z.ZodString;
7100
7100
  provider: z.ZodString;
7101
7101
  lifecycle_state: z.ZodEnum<{
7102
- active: "active";
7103
7102
  provisioning: "provisioning";
7104
7103
  provision_failed: "provision_failed";
7104
+ active: "active";
7105
7105
  deleting: "deleting";
7106
7106
  delete_failed: "delete_failed";
7107
7107
  deleted: "deleted";
@@ -7182,9 +7182,9 @@ declare const zCreateProjectMachineGrantResponse: z.ZodObject<{
7182
7182
  description: z.ZodString;
7183
7183
  provider: z.ZodString;
7184
7184
  lifecycle_state: z.ZodEnum<{
7185
- active: "active";
7186
7185
  provisioning: "provisioning";
7187
7186
  provision_failed: "provision_failed";
7187
+ active: "active";
7188
7188
  deleting: "deleting";
7189
7189
  delete_failed: "delete_failed";
7190
7190
  deleted: "deleted";
@@ -7253,9 +7253,9 @@ declare const zProjectMachineGrantListItem: z.ZodObject<{
7253
7253
  description: z.ZodString;
7254
7254
  provider: z.ZodString;
7255
7255
  lifecycle_state: z.ZodEnum<{
7256
- active: "active";
7257
7256
  provisioning: "provisioning";
7258
7257
  provision_failed: "provision_failed";
7258
+ active: "active";
7259
7259
  deleting: "deleting";
7260
7260
  delete_failed: "delete_failed";
7261
7261
  deleted: "deleted";
@@ -7299,9 +7299,9 @@ declare const zListProjectMachineGrantsResponse: z.ZodObject<{
7299
7299
  description: z.ZodString;
7300
7300
  provider: z.ZodString;
7301
7301
  lifecycle_state: z.ZodEnum<{
7302
- active: "active";
7303
7302
  provisioning: "provisioning";
7304
7303
  provision_failed: "provision_failed";
7304
+ active: "active";
7305
7305
  deleting: "deleting";
7306
7306
  delete_failed: "delete_failed";
7307
7307
  deleted: "deleted";
@@ -7505,9 +7505,9 @@ declare const zConnectByoMachineResponse: z.ZodObject<{
7505
7505
  description: z.ZodString;
7506
7506
  provider: z.ZodString;
7507
7507
  lifecycle_state: z.ZodEnum<{
7508
- active: "active";
7509
7508
  provisioning: "provisioning";
7510
7509
  provision_failed: "provision_failed";
7510
+ active: "active";
7511
7511
  deleting: "deleting";
7512
7512
  delete_failed: "delete_failed";
7513
7513
  deleted: "deleted";
@@ -8001,13 +8001,13 @@ declare const zUsageTimeseriesMetric: z.ZodEnum<{
8001
8001
  count_model_calls: "count_model_calls";
8002
8002
  }>;
8003
8003
  declare const zUsageTimeseriesGroupBy: z.ZodEnum<{
8004
- profile: "profile";
8005
8004
  model: "model";
8005
+ profile: "profile";
8006
8006
  }>;
8007
8007
  declare const zUsageTimeseriesSeries: z.ZodObject<{
8008
8008
  kind: z.ZodEnum<{
8009
- profile: "profile";
8010
8009
  model: "model";
8010
+ profile: "profile";
8011
8011
  all: "all";
8012
8012
  no_profile: "no_profile";
8013
8013
  other: "other";
@@ -8224,8 +8224,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8224
8224
  month: "month";
8225
8225
  }>;
8226
8226
  group_by: z.ZodOptional<z.ZodEnum<{
8227
- profile: "profile";
8228
8227
  model: "model";
8228
+ profile: "profile";
8229
8229
  }>>;
8230
8230
  timezone: z.ZodString;
8231
8231
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -8248,8 +8248,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8248
8248
  active_agents: z.ZodCoercedBigInt<unknown>;
8249
8249
  series: z.ZodArray<z.ZodObject<{
8250
8250
  kind: z.ZodEnum<{
8251
- profile: "profile";
8252
8251
  model: "model";
8252
+ profile: "profile";
8253
8253
  all: "all";
8254
8254
  no_profile: "no_profile";
8255
8255
  other: "other";
@@ -8446,8 +8446,8 @@ declare const zCompiledTool: z.ZodObject<{
8446
8446
  integration_id: z.ZodOptional<z.ZodString>;
8447
8447
  enabled: z.ZodBoolean;
8448
8448
  type: z.ZodOptional<z.ZodEnum<{
8449
- built_in: "built_in";
8450
8449
  custom: "custom";
8450
+ built_in: "built_in";
8451
8451
  }>>;
8452
8452
  permission: z.ZodObject<{
8453
8453
  mode: z.ZodString;
@@ -8684,8 +8684,8 @@ declare const zCompiledAgentConfig: z.ZodObject<{
8684
8684
  integration_id: z.ZodOptional<z.ZodString>;
8685
8685
  enabled: z.ZodBoolean;
8686
8686
  type: z.ZodOptional<z.ZodEnum<{
8687
- built_in: "built_in";
8688
8687
  custom: "custom";
8688
+ built_in: "built_in";
8689
8689
  }>>;
8690
8690
  permission: z.ZodObject<{
8691
8691
  mode: z.ZodString;
@@ -8868,8 +8868,8 @@ declare const zAgentConfig: z.ZodObject<{
8868
8868
  integration_id: z.ZodOptional<z.ZodString>;
8869
8869
  enabled: z.ZodBoolean;
8870
8870
  type: z.ZodOptional<z.ZodEnum<{
8871
- built_in: "built_in";
8872
8871
  custom: "custom";
8872
+ built_in: "built_in";
8873
8873
  }>>;
8874
8874
  permission: z.ZodObject<{
8875
8875
  mode: z.ZodString;
@@ -9062,8 +9062,8 @@ declare const zAgentProfile: z.ZodObject<{
9062
9062
  integration_id: z.ZodOptional<z.ZodString>;
9063
9063
  enabled: z.ZodBoolean;
9064
9064
  type: z.ZodOptional<z.ZodEnum<{
9065
- built_in: "built_in";
9066
9065
  custom: "custom";
9066
+ built_in: "built_in";
9067
9067
  }>>;
9068
9068
  permission: z.ZodObject<{
9069
9069
  mode: z.ZodString;
@@ -9249,8 +9249,8 @@ declare const zUpdateAgentConfigResponse: z.ZodObject<{
9249
9249
  integration_id: z.ZodOptional<z.ZodString>;
9250
9250
  enabled: z.ZodBoolean;
9251
9251
  type: z.ZodOptional<z.ZodEnum<{
9252
- built_in: "built_in";
9253
9252
  custom: "custom";
9253
+ built_in: "built_in";
9254
9254
  }>>;
9255
9255
  permission: z.ZodObject<{
9256
9256
  mode: z.ZodString;
@@ -9440,8 +9440,8 @@ declare const zAgent: z.ZodObject<{
9440
9440
  project_id: z.ZodString;
9441
9441
  agent_profile_id: z.ZodOptional<z.ZodString>;
9442
9442
  state: z.ZodEnum<{
9443
- active: "active";
9444
9443
  archived: "archived";
9444
+ active: "active";
9445
9445
  }>;
9446
9446
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9447
9447
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9459,10 +9459,10 @@ declare const zAgent: z.ZodObject<{
9459
9459
  subagent_key: z.ZodOptional<z.ZodString>;
9460
9460
  activity: z.ZodOptional<z.ZodObject<{
9461
9461
  state: z.ZodEnum<{
9462
- archived: "archived";
9463
9462
  running: "running";
9464
9463
  idle: "idle";
9465
9464
  waiting_on_interaction: "waiting_on_interaction";
9465
+ archived: "archived";
9466
9466
  }>;
9467
9467
  last_activity_at: z.ZodISODateTime;
9468
9468
  }, z.core.$strip>>;
@@ -9492,8 +9492,8 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9492
9492
  project_id: z.ZodString;
9493
9493
  agent_profile_id: z.ZodOptional<z.ZodString>;
9494
9494
  state: z.ZodEnum<{
9495
- active: "active";
9496
9495
  archived: "archived";
9496
+ active: "active";
9497
9497
  }>;
9498
9498
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9499
9499
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9511,10 +9511,10 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9511
9511
  subagent_key: z.ZodOptional<z.ZodString>;
9512
9512
  activity: z.ZodOptional<z.ZodObject<{
9513
9513
  state: z.ZodEnum<{
9514
- archived: "archived";
9515
9514
  running: "running";
9516
9515
  idle: "idle";
9517
9516
  waiting_on_interaction: "waiting_on_interaction";
9517
+ archived: "archived";
9518
9518
  }>;
9519
9519
  last_activity_at: z.ZodISODateTime;
9520
9520
  }, z.core.$strip>>;
@@ -9545,8 +9545,8 @@ declare const zGetAgentResponse: z.ZodObject<{
9545
9545
  project_id: z.ZodString;
9546
9546
  agent_profile_id: z.ZodOptional<z.ZodString>;
9547
9547
  state: z.ZodEnum<{
9548
- active: "active";
9549
9548
  archived: "archived";
9549
+ active: "active";
9550
9550
  }>;
9551
9551
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9552
9552
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9564,10 +9564,10 @@ declare const zGetAgentResponse: z.ZodObject<{
9564
9564
  subagent_key: z.ZodOptional<z.ZodString>;
9565
9565
  activity: z.ZodOptional<z.ZodObject<{
9566
9566
  state: z.ZodEnum<{
9567
- archived: "archived";
9568
9567
  running: "running";
9569
9568
  idle: "idle";
9570
9569
  waiting_on_interaction: "waiting_on_interaction";
9570
+ archived: "archived";
9571
9571
  }>;
9572
9572
  last_activity_at: z.ZodISODateTime;
9573
9573
  }, z.core.$strip>>;
@@ -9613,8 +9613,8 @@ declare const zListAgentsResponse: z.ZodObject<{
9613
9613
  project_id: z.ZodString;
9614
9614
  agent_profile_id: z.ZodOptional<z.ZodString>;
9615
9615
  state: z.ZodEnum<{
9616
- active: "active";
9617
9616
  archived: "archived";
9617
+ active: "active";
9618
9618
  }>;
9619
9619
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9620
9620
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9632,10 +9632,10 @@ declare const zListAgentsResponse: z.ZodObject<{
9632
9632
  subagent_key: z.ZodOptional<z.ZodString>;
9633
9633
  activity: z.ZodOptional<z.ZodObject<{
9634
9634
  state: z.ZodEnum<{
9635
- archived: "archived";
9636
9635
  running: "running";
9637
9636
  idle: "idle";
9638
9637
  waiting_on_interaction: "waiting_on_interaction";
9638
+ archived: "archived";
9639
9639
  }>;
9640
9640
  last_activity_at: z.ZodISODateTime;
9641
9641
  }, z.core.$strip>>;
@@ -9667,8 +9667,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9667
9667
  project_id: z.ZodString;
9668
9668
  agent_profile_id: z.ZodOptional<z.ZodString>;
9669
9669
  state: z.ZodEnum<{
9670
- active: "active";
9671
9670
  archived: "archived";
9671
+ active: "active";
9672
9672
  }>;
9673
9673
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9674
9674
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9686,10 +9686,10 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9686
9686
  subagent_key: z.ZodOptional<z.ZodString>;
9687
9687
  activity: z.ZodOptional<z.ZodObject<{
9688
9688
  state: z.ZodEnum<{
9689
- archived: "archived";
9690
9689
  running: "running";
9691
9690
  idle: "idle";
9692
9691
  waiting_on_interaction: "waiting_on_interaction";
9692
+ archived: "archived";
9693
9693
  }>;
9694
9694
  last_activity_at: z.ZodISODateTime;
9695
9695
  }, z.core.$strip>>;
@@ -9785,8 +9785,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9785
9785
  integration_id: z.ZodOptional<z.ZodString>;
9786
9786
  enabled: z.ZodBoolean;
9787
9787
  type: z.ZodOptional<z.ZodEnum<{
9788
- built_in: "built_in";
9789
9788
  custom: "custom";
9789
+ built_in: "built_in";
9790
9790
  }>>;
9791
9791
  permission: z.ZodObject<{
9792
9792
  mode: z.ZodString;
@@ -10099,8 +10099,8 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10099
10099
  project_id: z.ZodString;
10100
10100
  agent_profile_id: z.ZodOptional<z.ZodString>;
10101
10101
  state: z.ZodEnum<{
10102
- active: "active";
10103
10102
  archived: "archived";
10103
+ active: "active";
10104
10104
  }>;
10105
10105
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
10106
10106
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -10118,10 +10118,10 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10118
10118
  subagent_key: z.ZodOptional<z.ZodString>;
10119
10119
  activity: z.ZodOptional<z.ZodObject<{
10120
10120
  state: z.ZodEnum<{
10121
- archived: "archived";
10122
10121
  running: "running";
10123
10122
  idle: "idle";
10124
10123
  waiting_on_interaction: "waiting_on_interaction";
10124
+ archived: "archived";
10125
10125
  }>;
10126
10126
  last_activity_at: z.ZodISODateTime;
10127
10127
  }, z.core.$strip>>;
@@ -10351,8 +10351,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10351
10351
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10352
10352
  }, z.core.$strip>>;
10353
10353
  type: z.ZodOptional<z.ZodEnum<{
10354
- built_in: "built_in";
10355
10354
  custom: "custom";
10355
+ built_in: "built_in";
10356
10356
  }>>;
10357
10357
  }, z.core.$strip>>>>;
10358
10358
  version: z.ZodOptional<z.ZodEnum<{
@@ -10491,8 +10491,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10491
10491
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10492
10492
  }, z.core.$strip>>;
10493
10493
  type: z.ZodOptional<z.ZodEnum<{
10494
- built_in: "built_in";
10495
10494
  custom: "custom";
10495
+ built_in: "built_in";
10496
10496
  }>>;
10497
10497
  }, z.core.$strip>>>>;
10498
10498
  version: z.ZodOptional<z.ZodEnum<{
@@ -10520,8 +10520,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10520
10520
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10521
10521
  }, z.core.$strip>>;
10522
10522
  type: z.ZodOptional<z.ZodEnum<{
10523
- built_in: "built_in";
10524
10523
  custom: "custom";
10524
+ built_in: "built_in";
10525
10525
  }>>;
10526
10526
  }, z.core.$strip>>>;
10527
10527
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10838,8 +10838,8 @@ declare const zSkillOwnerProjectIdFilter: z.ZodString;
10838
10838
  * Filter a project inventory by how the skill became available.
10839
10839
  */
10840
10840
  declare const zSkillAvailabilitySourceFilter: z.ZodEnum<{
10841
- direct: "direct";
10842
10841
  grant: "grant";
10842
+ direct: "direct";
10843
10843
  }>;
10844
10844
  /**
10845
10845
  * Filter by the immutable owner kind.
@@ -10861,8 +10861,8 @@ declare const zSecretMcpoAuthFlowIdFilter: z.ZodString;
10861
10861
  * Filter a project inventory by how the secret became available.
10862
10862
  */
10863
10863
  declare const zSecretAvailabilitySourceFilter: z.ZodEnum<{
10864
- direct: "direct";
10865
10864
  grant: "grant";
10865
+ direct: "direct";
10866
10866
  }>;
10867
10867
  declare const zListPersonalAccessTokensQuery: z.ZodObject<{
10868
10868
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -11087,8 +11087,8 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11087
11087
  project_id: z.ZodString;
11088
11088
  agent_profile_id: z.ZodOptional<z.ZodString>;
11089
11089
  state: z.ZodEnum<{
11090
- active: "active";
11091
11090
  archived: "archived";
11091
+ active: "active";
11092
11092
  }>;
11093
11093
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11094
11094
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11106,10 +11106,10 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11106
11106
  subagent_key: z.ZodOptional<z.ZodString>;
11107
11107
  activity: z.ZodOptional<z.ZodObject<{
11108
11108
  state: z.ZodEnum<{
11109
- archived: "archived";
11110
11109
  running: "running";
11111
11110
  idle: "idle";
11112
11111
  waiting_on_interaction: "waiting_on_interaction";
11112
+ archived: "archived";
11113
11113
  }>;
11114
11114
  last_activity_at: z.ZodISODateTime;
11115
11115
  }, z.core.$strip>>;
@@ -11278,8 +11278,8 @@ declare const zGetOrgUsageTimeseriesQuery: z.ZodObject<{
11278
11278
  count_model_calls: "count_model_calls";
11279
11279
  }>>;
11280
11280
  group_by: z.ZodOptional<z.ZodEnum<{
11281
- profile: "profile";
11282
11281
  model: "model";
11282
+ profile: "profile";
11283
11283
  }>>;
11284
11284
  group_limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
11285
11285
  project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -11304,8 +11304,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11304
11304
  month: "month";
11305
11305
  }>;
11306
11306
  group_by: z.ZodOptional<z.ZodEnum<{
11307
- profile: "profile";
11308
11307
  model: "model";
11308
+ profile: "profile";
11309
11309
  }>>;
11310
11310
  timezone: z.ZodString;
11311
11311
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -11328,8 +11328,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11328
11328
  active_agents: z.ZodCoercedBigInt<unknown>;
11329
11329
  series: z.ZodArray<z.ZodObject<{
11330
11330
  kind: z.ZodEnum<{
11331
- profile: "profile";
11332
11331
  model: "model";
11332
+ profile: "profile";
11333
11333
  all: "all";
11334
11334
  no_profile: "no_profile";
11335
11335
  other: "other";
@@ -11373,8 +11373,8 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11373
11373
  project_id: z.ZodString;
11374
11374
  agent_profile_id: z.ZodOptional<z.ZodString>;
11375
11375
  state: z.ZodEnum<{
11376
- active: "active";
11377
11376
  archived: "archived";
11377
+ active: "active";
11378
11378
  }>;
11379
11379
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11380
11380
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11392,10 +11392,10 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11392
11392
  subagent_key: z.ZodOptional<z.ZodString>;
11393
11393
  activity: z.ZodOptional<z.ZodObject<{
11394
11394
  state: z.ZodEnum<{
11395
- archived: "archived";
11396
11395
  running: "running";
11397
11396
  idle: "idle";
11398
11397
  waiting_on_interaction: "waiting_on_interaction";
11398
+ archived: "archived";
11399
11399
  }>;
11400
11400
  last_activity_at: z.ZodISODateTime;
11401
11401
  }, z.core.$strip>>;
@@ -12159,8 +12159,8 @@ declare const zListProjectAvailableSkillsQuery: z.ZodObject<{
12159
12159
  user: "user";
12160
12160
  }>>;
12161
12161
  availability_source: z.ZodOptional<z.ZodEnum<{
12162
- direct: "direct";
12163
12162
  grant: "grant";
12163
+ direct: "direct";
12164
12164
  }>>;
12165
12165
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12166
12166
  name: "name";
@@ -12905,8 +12905,8 @@ declare const zResolveAgentConfigToolsBody: z.ZodObject<{
12905
12905
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12906
12906
  }, z.core.$strip>>;
12907
12907
  type: z.ZodOptional<z.ZodEnum<{
12908
- built_in: "built_in";
12909
12908
  custom: "custom";
12909
+ built_in: "built_in";
12910
12910
  }>>;
12911
12911
  }, z.core.$strip>>>>;
12912
12912
  }, z.core.$loose>]>;
@@ -13056,8 +13056,8 @@ declare const zCreateAgentConfigBody: z.ZodObject<{
13056
13056
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13057
13057
  }, z.core.$strip>>;
13058
13058
  type: z.ZodOptional<z.ZodEnum<{
13059
- built_in: "built_in";
13060
13059
  custom: "custom";
13060
+ built_in: "built_in";
13061
13061
  }>>;
13062
13062
  }, z.core.$strip>>>>;
13063
13063
  version: z.ZodOptional<z.ZodEnum<{
@@ -13149,8 +13149,8 @@ declare const zCreateAgentConfigResponse: z.ZodObject<{
13149
13149
  integration_id: z.ZodOptional<z.ZodString>;
13150
13150
  enabled: z.ZodBoolean;
13151
13151
  type: z.ZodOptional<z.ZodEnum<{
13152
- built_in: "built_in";
13153
13152
  custom: "custom";
13153
+ built_in: "built_in";
13154
13154
  }>>;
13155
13155
  permission: z.ZodObject<{
13156
13156
  mode: z.ZodString;
@@ -13471,8 +13471,8 @@ declare const zGetAgentConfigResponse: z.ZodObject<{
13471
13471
  integration_id: z.ZodOptional<z.ZodString>;
13472
13472
  enabled: z.ZodBoolean;
13473
13473
  type: z.ZodOptional<z.ZodEnum<{
13474
- built_in: "built_in";
13475
13474
  custom: "custom";
13475
+ built_in: "built_in";
13476
13476
  }>>;
13477
13477
  permission: z.ZodObject<{
13478
13478
  mode: z.ZodString;
@@ -13789,8 +13789,8 @@ declare const zCreateAgentProfileResponse: z.ZodObject<{
13789
13789
  integration_id: z.ZodOptional<z.ZodString>;
13790
13790
  enabled: z.ZodBoolean;
13791
13791
  type: z.ZodOptional<z.ZodEnum<{
13792
- built_in: "built_in";
13793
13792
  custom: "custom";
13793
+ built_in: "built_in";
13794
13794
  }>>;
13795
13795
  permission: z.ZodObject<{
13796
13796
  mode: z.ZodString;
@@ -14001,8 +14001,8 @@ declare const zGetAgentProfileResponse: z.ZodObject<{
14001
14001
  integration_id: z.ZodOptional<z.ZodString>;
14002
14002
  enabled: z.ZodBoolean;
14003
14003
  type: z.ZodOptional<z.ZodEnum<{
14004
- built_in: "built_in";
14005
14004
  custom: "custom";
14005
+ built_in: "built_in";
14006
14006
  }>>;
14007
14007
  permission: z.ZodObject<{
14008
14008
  mode: z.ZodString;
@@ -14207,8 +14207,8 @@ declare const zRenameAgentProfileResponse: z.ZodObject<{
14207
14207
  integration_id: z.ZodOptional<z.ZodString>;
14208
14208
  enabled: z.ZodBoolean;
14209
14209
  type: z.ZodOptional<z.ZodEnum<{
14210
- built_in: "built_in";
14211
14210
  custom: "custom";
14211
+ built_in: "built_in";
14212
14212
  }>>;
14213
14213
  permission: z.ZodObject<{
14214
14214
  mode: z.ZodString;
@@ -14469,8 +14469,8 @@ declare const zUpdateAgentProfileResponse: z.ZodObject<{
14469
14469
  integration_id: z.ZodOptional<z.ZodString>;
14470
14470
  enabled: z.ZodBoolean;
14471
14471
  type: z.ZodOptional<z.ZodEnum<{
14472
- built_in: "built_in";
14473
14472
  custom: "custom";
14473
+ built_in: "built_in";
14474
14474
  }>>;
14475
14475
  permission: z.ZodObject<{
14476
14476
  mode: z.ZodString;
@@ -14998,8 +14998,8 @@ declare const zListAgentsResponse2: z.ZodObject<{
14998
14998
  project_id: z.ZodString;
14999
14999
  agent_profile_id: z.ZodOptional<z.ZodString>;
15000
15000
  state: z.ZodEnum<{
15001
- active: "active";
15002
15001
  archived: "archived";
15002
+ active: "active";
15003
15003
  }>;
15004
15004
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15005
15005
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15017,10 +15017,10 @@ declare const zListAgentsResponse2: z.ZodObject<{
15017
15017
  subagent_key: z.ZodOptional<z.ZodString>;
15018
15018
  activity: z.ZodOptional<z.ZodObject<{
15019
15019
  state: z.ZodEnum<{
15020
- archived: "archived";
15021
15020
  running: "running";
15022
15021
  idle: "idle";
15023
15022
  waiting_on_interaction: "waiting_on_interaction";
15023
+ archived: "archived";
15024
15024
  }>;
15025
15025
  last_activity_at: z.ZodISODateTime;
15026
15026
  }, z.core.$strip>>;
@@ -15174,8 +15174,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15174
15174
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15175
15175
  }, z.core.$strip>>;
15176
15176
  type: z.ZodOptional<z.ZodEnum<{
15177
- built_in: "built_in";
15178
15177
  custom: "custom";
15178
+ built_in: "built_in";
15179
15179
  }>>;
15180
15180
  }, z.core.$strip>>>>;
15181
15181
  version: z.ZodOptional<z.ZodEnum<{
@@ -15314,8 +15314,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15314
15314
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15315
15315
  }, z.core.$strip>>;
15316
15316
  type: z.ZodOptional<z.ZodEnum<{
15317
- built_in: "built_in";
15318
15317
  custom: "custom";
15318
+ built_in: "built_in";
15319
15319
  }>>;
15320
15320
  }, z.core.$strip>>>>;
15321
15321
  version: z.ZodOptional<z.ZodEnum<{
@@ -15343,8 +15343,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15343
15343
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15344
15344
  }, z.core.$strip>>;
15345
15345
  type: z.ZodOptional<z.ZodEnum<{
15346
- built_in: "built_in";
15347
15346
  custom: "custom";
15347
+ built_in: "built_in";
15348
15348
  }>>;
15349
15349
  }, z.core.$strip>>>;
15350
15350
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15382,8 +15382,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15382
15382
  project_id: z.ZodString;
15383
15383
  agent_profile_id: z.ZodOptional<z.ZodString>;
15384
15384
  state: z.ZodEnum<{
15385
- active: "active";
15386
15385
  archived: "archived";
15386
+ active: "active";
15387
15387
  }>;
15388
15388
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15389
15389
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15401,10 +15401,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15401
15401
  subagent_key: z.ZodOptional<z.ZodString>;
15402
15402
  activity: z.ZodOptional<z.ZodObject<{
15403
15403
  state: z.ZodEnum<{
15404
- archived: "archived";
15405
15404
  running: "running";
15406
15405
  idle: "idle";
15407
15406
  waiting_on_interaction: "waiting_on_interaction";
15407
+ archived: "archived";
15408
15408
  }>;
15409
15409
  last_activity_at: z.ZodISODateTime;
15410
15410
  }, z.core.$strip>>;
@@ -15434,8 +15434,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15434
15434
  project_id: z.ZodString;
15435
15435
  agent_profile_id: z.ZodOptional<z.ZodString>;
15436
15436
  state: z.ZodEnum<{
15437
- active: "active";
15438
15437
  archived: "archived";
15438
+ active: "active";
15439
15439
  }>;
15440
15440
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15441
15441
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15453,10 +15453,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15453
15453
  subagent_key: z.ZodOptional<z.ZodString>;
15454
15454
  activity: z.ZodOptional<z.ZodObject<{
15455
15455
  state: z.ZodEnum<{
15456
- archived: "archived";
15457
15456
  running: "running";
15458
15457
  idle: "idle";
15459
15458
  waiting_on_interaction: "waiting_on_interaction";
15459
+ archived: "archived";
15460
15460
  }>;
15461
15461
  last_activity_at: z.ZodISODateTime;
15462
15462
  }, z.core.$strip>>;
@@ -15552,8 +15552,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15552
15552
  integration_id: z.ZodOptional<z.ZodString>;
15553
15553
  enabled: z.ZodBoolean;
15554
15554
  type: z.ZodOptional<z.ZodEnum<{
15555
- built_in: "built_in";
15556
15555
  custom: "custom";
15556
+ built_in: "built_in";
15557
15557
  }>>;
15558
15558
  permission: z.ZodObject<{
15559
15559
  mode: z.ZodString;
@@ -15729,8 +15729,8 @@ declare const zGetAgentResponse2: z.ZodObject<{
15729
15729
  project_id: z.ZodString;
15730
15730
  agent_profile_id: z.ZodOptional<z.ZodString>;
15731
15731
  state: z.ZodEnum<{
15732
- active: "active";
15733
15732
  archived: "archived";
15733
+ active: "active";
15734
15734
  }>;
15735
15735
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15736
15736
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15748,10 +15748,10 @@ declare const zGetAgentResponse2: z.ZodObject<{
15748
15748
  subagent_key: z.ZodOptional<z.ZodString>;
15749
15749
  activity: z.ZodOptional<z.ZodObject<{
15750
15750
  state: z.ZodEnum<{
15751
- archived: "archived";
15752
15751
  running: "running";
15753
15752
  idle: "idle";
15754
15753
  waiting_on_interaction: "waiting_on_interaction";
15754
+ archived: "archived";
15755
15755
  }>;
15756
15756
  last_activity_at: z.ZodISODateTime;
15757
15757
  }, z.core.$strip>>;
@@ -15857,8 +15857,8 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15857
15857
  project_id: z.ZodString;
15858
15858
  agent_profile_id: z.ZodOptional<z.ZodString>;
15859
15859
  state: z.ZodEnum<{
15860
- active: "active";
15861
15860
  archived: "archived";
15861
+ active: "active";
15862
15862
  }>;
15863
15863
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15864
15864
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15876,10 +15876,10 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15876
15876
  subagent_key: z.ZodOptional<z.ZodString>;
15877
15877
  activity: z.ZodOptional<z.ZodObject<{
15878
15878
  state: z.ZodEnum<{
15879
- archived: "archived";
15880
15879
  running: "running";
15881
15880
  idle: "idle";
15882
15881
  waiting_on_interaction: "waiting_on_interaction";
15882
+ archived: "archived";
15883
15883
  }>;
15884
15884
  last_activity_at: z.ZodISODateTime;
15885
15885
  }, z.core.$strip>>;
@@ -16027,8 +16027,8 @@ declare const zUpdateAgentConfigBody: z.ZodObject<{
16027
16027
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16028
16028
  }, z.core.$strip>>;
16029
16029
  type: z.ZodOptional<z.ZodEnum<{
16030
- built_in: "built_in";
16031
16030
  custom: "custom";
16031
+ built_in: "built_in";
16032
16032
  }>>;
16033
16033
  }, z.core.$strip>>>>;
16034
16034
  version: z.ZodOptional<z.ZodEnum<{
@@ -16126,8 +16126,8 @@ declare const zUpdateAgentConfigResponse2: z.ZodObject<{
16126
16126
  integration_id: z.ZodOptional<z.ZodString>;
16127
16127
  enabled: z.ZodBoolean;
16128
16128
  type: z.ZodOptional<z.ZodEnum<{
16129
- built_in: "built_in";
16130
16129
  custom: "custom";
16130
+ built_in: "built_in";
16131
16131
  }>>;
16132
16132
  permission: z.ZodObject<{
16133
16133
  mode: z.ZodString;
@@ -16372,9 +16372,9 @@ declare const zListToolCallsQuery: z.ZodObject<{
16372
16372
  waiting: "waiting";
16373
16373
  }>>;
16374
16374
  type: z.ZodOptional<z.ZodEnum<{
16375
- mcp: "mcp";
16376
- built_in: "built_in";
16377
16375
  custom: "custom";
16376
+ built_in: "built_in";
16377
+ mcp: "mcp";
16378
16378
  }>>;
16379
16379
  include_subagents: z.ZodOptional<z.ZodBoolean>;
16380
16380
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -16392,9 +16392,9 @@ declare const zListToolCallsResponse2: z.ZodObject<{
16392
16392
  name: z.ZodString;
16393
16393
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16394
16394
  type: z.ZodEnum<{
16395
- mcp: "mcp";
16396
- built_in: "built_in";
16397
16395
  custom: "custom";
16396
+ built_in: "built_in";
16397
+ mcp: "mcp";
16398
16398
  }>;
16399
16399
  state: z.ZodEnum<{
16400
16400
  completed: "completed";
@@ -16476,9 +16476,9 @@ declare const zSubmitToolCallResultResponse2: z.ZodObject<{
16476
16476
  name: z.ZodString;
16477
16477
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16478
16478
  type: z.ZodEnum<{
16479
- mcp: "mcp";
16480
- built_in: "built_in";
16481
16479
  custom: "custom";
16480
+ built_in: "built_in";
16481
+ mcp: "mcp";
16482
16482
  }>;
16483
16483
  state: z.ZodEnum<{
16484
16484
  completed: "completed";
@@ -16588,12 +16588,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16588
16588
  sequence: z.ZodInt;
16589
16589
  model_call_context_id: z.ZodString;
16590
16590
  stop_reason: z.ZodEnum<{
16591
+ error: "error";
16591
16592
  end_turn: "end_turn";
16592
16593
  tool_use: "tool_use";
16593
16594
  max_tokens: "max_tokens";
16594
16595
  refusal: "refusal";
16595
16596
  content_filter: "content_filter";
16596
- error: "error";
16597
16597
  }>;
16598
16598
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16599
16599
  text: z.ZodString;
@@ -16611,9 +16611,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16611
16611
  }, z.core.$strip>, z.ZodObject<{
16612
16612
  tool_call_id: z.ZodString;
16613
16613
  tool_type: z.ZodEnum<{
16614
- mcp: "mcp";
16615
- built_in: "built_in";
16616
16614
  custom: "custom";
16615
+ built_in: "built_in";
16616
+ mcp: "mcp";
16617
16617
  }>;
16618
16618
  name: z.ZodString;
16619
16619
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16728,12 +16728,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16728
16728
  sequence: z.ZodInt;
16729
16729
  model_call_context_id: z.ZodString;
16730
16730
  stop_reason: z.ZodEnum<{
16731
+ error: "error";
16731
16732
  end_turn: "end_turn";
16732
16733
  tool_use: "tool_use";
16733
16734
  max_tokens: "max_tokens";
16734
16735
  refusal: "refusal";
16735
16736
  content_filter: "content_filter";
16736
- error: "error";
16737
16737
  }>;
16738
16738
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16739
16739
  text: z.ZodString;
@@ -16751,9 +16751,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16751
16751
  }, z.core.$strip>, z.ZodObject<{
16752
16752
  tool_call_id: z.ZodString;
16753
16753
  tool_type: z.ZodEnum<{
16754
- mcp: "mcp";
16755
- built_in: "built_in";
16756
16754
  custom: "custom";
16755
+ built_in: "built_in";
16756
+ mcp: "mcp";
16757
16757
  }>;
16758
16758
  name: z.ZodString;
16759
16759
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16868,12 +16868,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16868
16868
  sequence: z.ZodInt;
16869
16869
  model_call_context_id: z.ZodString;
16870
16870
  stop_reason: z.ZodEnum<{
16871
+ error: "error";
16871
16872
  end_turn: "end_turn";
16872
16873
  tool_use: "tool_use";
16873
16874
  max_tokens: "max_tokens";
16874
16875
  refusal: "refusal";
16875
16876
  content_filter: "content_filter";
16876
- error: "error";
16877
16877
  }>;
16878
16878
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16879
16879
  text: z.ZodString;
@@ -16891,9 +16891,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16891
16891
  }, z.core.$strip>, z.ZodObject<{
16892
16892
  tool_call_id: z.ZodString;
16893
16893
  tool_type: z.ZodEnum<{
16894
- mcp: "mcp";
16895
- built_in: "built_in";
16896
16894
  custom: "custom";
16895
+ built_in: "built_in";
16896
+ mcp: "mcp";
16897
16897
  }>;
16898
16898
  name: z.ZodString;
16899
16899
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17027,12 +17027,12 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17027
17027
  sequence: z.ZodInt;
17028
17028
  model_call_context_id: z.ZodString;
17029
17029
  stop_reason: z.ZodEnum<{
17030
+ error: "error";
17030
17031
  end_turn: "end_turn";
17031
17032
  tool_use: "tool_use";
17032
17033
  max_tokens: "max_tokens";
17033
17034
  refusal: "refusal";
17034
17035
  content_filter: "content_filter";
17035
- error: "error";
17036
17036
  }>;
17037
17037
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17038
17038
  text: z.ZodString;
@@ -17050,9 +17050,9 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17050
17050
  }, z.core.$strip>, z.ZodObject<{
17051
17051
  tool_call_id: z.ZodString;
17052
17052
  tool_type: z.ZodEnum<{
17053
- mcp: "mcp";
17054
- built_in: "built_in";
17055
17053
  custom: "custom";
17054
+ built_in: "built_in";
17055
+ mcp: "mcp";
17056
17056
  }>;
17057
17057
  name: z.ZodString;
17058
17058
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17183,12 +17183,12 @@ declare const zListEventsResponse: z.ZodObject<{
17183
17183
  sequence: z.ZodInt;
17184
17184
  model_call_context_id: z.ZodString;
17185
17185
  stop_reason: z.ZodEnum<{
17186
+ error: "error";
17186
17187
  end_turn: "end_turn";
17187
17188
  tool_use: "tool_use";
17188
17189
  max_tokens: "max_tokens";
17189
17190
  refusal: "refusal";
17190
17191
  content_filter: "content_filter";
17191
- error: "error";
17192
17192
  }>;
17193
17193
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17194
17194
  text: z.ZodString;
@@ -17206,9 +17206,9 @@ declare const zListEventsResponse: z.ZodObject<{
17206
17206
  }, z.core.$strip>, z.ZodObject<{
17207
17207
  tool_call_id: z.ZodString;
17208
17208
  tool_type: z.ZodEnum<{
17209
- mcp: "mcp";
17210
- built_in: "built_in";
17211
17209
  custom: "custom";
17210
+ built_in: "built_in";
17211
+ mcp: "mcp";
17212
17212
  }>;
17213
17213
  name: z.ZodString;
17214
17214
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17342,12 +17342,12 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17342
17342
  sequence: z.ZodInt;
17343
17343
  model_call_context_id: z.ZodString;
17344
17344
  stop_reason: z.ZodEnum<{
17345
+ error: "error";
17345
17346
  end_turn: "end_turn";
17346
17347
  tool_use: "tool_use";
17347
17348
  max_tokens: "max_tokens";
17348
17349
  refusal: "refusal";
17349
17350
  content_filter: "content_filter";
17350
- error: "error";
17351
17351
  }>;
17352
17352
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17353
17353
  text: z.ZodString;
@@ -17365,9 +17365,9 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17365
17365
  }, z.core.$strip>, z.ZodObject<{
17366
17366
  tool_call_id: z.ZodString;
17367
17367
  tool_type: z.ZodEnum<{
17368
- mcp: "mcp";
17369
- built_in: "built_in";
17370
17368
  custom: "custom";
17369
+ built_in: "built_in";
17370
+ mcp: "mcp";
17371
17371
  }>;
17372
17372
  name: z.ZodString;
17373
17373
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17495,6 +17495,7 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17495
17495
  }, z.core.$strip>, z.ZodObject<{
17496
17496
  stop: z.ZodObject<{
17497
17497
  reason: z.ZodEnum<{
17498
+ unknown: "unknown";
17498
17499
  end_turn: "end_turn";
17499
17500
  tool_use: "tool_use";
17500
17501
  max_tokens: "max_tokens";
@@ -17502,7 +17503,6 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17502
17503
  content_filter: "content_filter";
17503
17504
  pause: "pause";
17504
17505
  context_window: "context_window";
17505
- unknown: "unknown";
17506
17506
  }>;
17507
17507
  usage: z.ZodObject<{
17508
17508
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -17594,12 +17594,12 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17594
17594
  sequence: z.ZodInt;
17595
17595
  model_call_context_id: z.ZodString;
17596
17596
  stop_reason: z.ZodEnum<{
17597
+ error: "error";
17597
17598
  end_turn: "end_turn";
17598
17599
  tool_use: "tool_use";
17599
17600
  max_tokens: "max_tokens";
17600
17601
  refusal: "refusal";
17601
17602
  content_filter: "content_filter";
17602
- error: "error";
17603
17603
  }>;
17604
17604
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17605
17605
  text: z.ZodString;
@@ -17617,9 +17617,9 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17617
17617
  }, z.core.$strip>, z.ZodObject<{
17618
17618
  tool_call_id: z.ZodString;
17619
17619
  tool_type: z.ZodEnum<{
17620
- mcp: "mcp";
17621
- built_in: "built_in";
17622
17620
  custom: "custom";
17621
+ built_in: "built_in";
17622
+ mcp: "mcp";
17623
17623
  }>;
17624
17624
  name: z.ZodString;
17625
17625
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -18015,9 +18015,9 @@ declare const zListVisibleProjectMachinesResponse: z.ZodObject<{
18015
18015
  description: z.ZodString;
18016
18016
  provider: z.ZodString;
18017
18017
  lifecycle_state: z.ZodEnum<{
18018
- active: "active";
18019
18018
  provisioning: "provisioning";
18020
18019
  provision_failed: "provision_failed";
18020
+ active: "active";
18021
18021
  deleting: "deleting";
18022
18022
  delete_failed: "delete_failed";
18023
18023
  deleted: "deleted";
@@ -18098,9 +18098,9 @@ declare const zListProjectMachineGrantsResponse2: z.ZodObject<{
18098
18098
  description: z.ZodString;
18099
18099
  provider: z.ZodString;
18100
18100
  lifecycle_state: z.ZodEnum<{
18101
- active: "active";
18102
18101
  provisioning: "provisioning";
18103
18102
  provision_failed: "provision_failed";
18103
+ active: "active";
18104
18104
  deleting: "deleting";
18105
18105
  delete_failed: "delete_failed";
18106
18106
  deleted: "deleted";
@@ -18161,9 +18161,9 @@ declare const zCreateProjectMachineGrantResponse2: z.ZodObject<{
18161
18161
  description: z.ZodString;
18162
18162
  provider: z.ZodString;
18163
18163
  lifecycle_state: z.ZodEnum<{
18164
- active: "active";
18165
18164
  provisioning: "provisioning";
18166
18165
  provision_failed: "provision_failed";
18166
+ active: "active";
18167
18167
  deleting: "deleting";
18168
18168
  delete_failed: "delete_failed";
18169
18169
  deleted: "deleted";
@@ -18233,8 +18233,8 @@ declare const zListProjectAvailableSecretsQuery: z.ZodObject<{
18233
18233
  user: "user";
18234
18234
  }>>;
18235
18235
  availability_source: z.ZodOptional<z.ZodEnum<{
18236
- direct: "direct";
18237
18236
  grant: "grant";
18237
+ direct: "direct";
18238
18238
  }>>;
18239
18239
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18240
18240
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -18468,9 +18468,9 @@ declare const zListVisibleMachinesResponse2: z.ZodObject<{
18468
18468
  description: z.ZodString;
18469
18469
  provider: z.ZodString;
18470
18470
  lifecycle_state: z.ZodEnum<{
18471
- active: "active";
18472
18471
  provisioning: "provisioning";
18473
18472
  provision_failed: "provision_failed";
18473
+ active: "active";
18474
18474
  deleting: "deleting";
18475
18475
  delete_failed: "delete_failed";
18476
18476
  deleted: "deleted";
@@ -18532,9 +18532,9 @@ declare const zCreateMachineResponse: z.ZodObject<{
18532
18532
  description: z.ZodString;
18533
18533
  provider: z.ZodString;
18534
18534
  lifecycle_state: z.ZodEnum<{
18535
- active: "active";
18536
18535
  provisioning: "provisioning";
18537
18536
  provision_failed: "provision_failed";
18537
+ active: "active";
18538
18538
  deleting: "deleting";
18539
18539
  delete_failed: "delete_failed";
18540
18540
  deleted: "deleted";
@@ -18604,9 +18604,9 @@ declare const zConnectByoMachineResponse2: z.ZodObject<{
18604
18604
  description: z.ZodString;
18605
18605
  provider: z.ZodString;
18606
18606
  lifecycle_state: z.ZodEnum<{
18607
- active: "active";
18608
18607
  provisioning: "provisioning";
18609
18608
  provision_failed: "provision_failed";
18609
+ active: "active";
18610
18610
  deleting: "deleting";
18611
18611
  delete_failed: "delete_failed";
18612
18612
  deleted: "deleted";
@@ -18702,9 +18702,9 @@ declare const zGetMachineResponse: z.ZodObject<{
18702
18702
  description: z.ZodString;
18703
18703
  provider: z.ZodString;
18704
18704
  lifecycle_state: z.ZodEnum<{
18705
- active: "active";
18706
18705
  provisioning: "provisioning";
18707
18706
  provision_failed: "provision_failed";
18707
+ active: "active";
18708
18708
  deleting: "deleting";
18709
18709
  delete_failed: "delete_failed";
18710
18710
  deleted: "deleted";
@@ -18769,9 +18769,9 @@ declare const zUpdateMachineResponse: z.ZodObject<{
18769
18769
  description: z.ZodString;
18770
18770
  provider: z.ZodString;
18771
18771
  lifecycle_state: z.ZodEnum<{
18772
- active: "active";
18773
18772
  provisioning: "provisioning";
18774
18773
  provision_failed: "provision_failed";
18774
+ active: "active";
18775
18775
  deleting: "deleting";
18776
18776
  delete_failed: "delete_failed";
18777
18777
  deleted: "deleted";