@omnara/sdk 0.1.30 → 0.1.31

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