@omnara/sdk 0.1.32 → 0.1.33

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>;
@@ -619,11 +619,17 @@ declare const zOrganizationId: z.ZodString;
619
619
  declare const zOrgInvitationId: z.ZodString;
620
620
  declare const zPersonalAccessTokenId: z.ZodString;
621
621
  declare const zOrgApiKeyId: z.ZodString;
622
+ /**
623
+ * Project ID (proj_...).
624
+ */
622
625
  declare const zProjectId: z.ZodString;
623
626
  declare const zMcpoAuthFlowId: z.ZodString;
624
627
  declare const zIntegrationOAuthFlowId: z.ZodString;
625
628
  declare const zActorId: z.ZodString;
626
629
  declare const zAgentId: z.ZodString;
630
+ /**
631
+ * Agent config ID (acfg_...).
632
+ */
627
633
  declare const zAgentConfigId: z.ZodString;
628
634
  declare const zAgentProfileId: z.ZodString;
629
635
  declare const zCronTriggerId: z.ZodString;
@@ -641,17 +647,26 @@ declare const zModelProviderConfigId: z.ZodString;
641
647
  declare const zConfiguredModelId: z.ZodString;
642
648
  declare const zConfiguredModelRevisionId: z.ZodString;
643
649
  declare const zProjectModelGrantId: z.ZodString;
650
+ /**
651
+ * Wire protocol the model endpoint speaks: openai-responses, openai-chat-completions, or anthropic-messages.
652
+ */
644
653
  declare const zModelApiFormat: z.ZodEnum<{
645
654
  "openai-responses": "openai-responses";
646
655
  "openai-chat-completions": "openai-chat-completions";
647
656
  "anthropic-messages": "anthropic-messages";
648
657
  }>;
658
+ /**
659
+ * How the credential is sent: bearer_token, api_key_header, or sigv4 (AWS).
660
+ */
649
661
  declare const zModelProviderAuthKind: z.ZodEnum<{
650
662
  sigv4: "sigv4";
651
663
  bearer_token: "bearer_token";
652
664
  api_key_header: "api_key_header";
653
665
  }>;
654
666
  declare const zModelProviderAuthKindResponse: z.ZodString;
667
+ /**
668
+ * Provider-specific flavor of the API format: default, openrouter, or bedrock.
669
+ */
655
670
  declare const zModelProviderApiVariant: z.ZodEnum<{
656
671
  default: "default";
657
672
  openrouter: "openrouter";
@@ -805,7 +820,13 @@ declare const zProjectModelGrantEffectiveReasoning: z.ZodObject<{
805
820
  default_reasoning_effort: z.ZodString;
806
821
  supported_reasoning_efforts: z.ZodArray<z.ZodString>;
807
822
  }, z.core.$strip>;
823
+ /**
824
+ * Machine pool ID (mpo_...).
825
+ */
808
826
  declare const zMachinePoolId: z.ZodString;
827
+ /**
828
+ * Machine ID (mch_...).
829
+ */
809
830
  declare const zMachineId: z.ZodString;
810
831
  declare const zProjectMachineGrantId: z.ZodString;
811
832
  declare const zProjectMachinePoolGrantId: z.ZodString;
@@ -814,6 +835,9 @@ declare const zSkillId: z.ZodString;
814
835
  declare const zSkillRevisionId: z.ZodString;
815
836
  declare const zSkillGrantId: z.ZodString;
816
837
  declare const zMemoryStoreId: z.ZodString;
838
+ /**
839
+ * Secret ID (sec_...).
840
+ */
817
841
  declare const zSecretId: z.ZodString;
818
842
  /**
819
843
  * Connect Omnara to a model API endpoint. Use a preset for built-in providers, or provide api_format and base_url for a custom endpoint. When omitted, endpoint_path and auth settings are filled from api_format.
@@ -1677,8 +1701,8 @@ declare const zResolveAgentConfigToolsRequest: z.ZodObject<{
1677
1701
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1678
1702
  }, z.core.$strip>>;
1679
1703
  type: z.ZodOptional<z.ZodEnum<{
1680
- custom: "custom";
1681
1704
  built_in: "built_in";
1705
+ custom: "custom";
1682
1706
  }>>;
1683
1707
  }, z.core.$strip>>>>;
1684
1708
  }, z.core.$loose>]>;
@@ -1813,8 +1837,8 @@ declare const zAgentConfigSourceInput: z.ZodUnion<readonly [z.ZodString, z.ZodOb
1813
1837
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1814
1838
  }, z.core.$strip>>;
1815
1839
  type: z.ZodOptional<z.ZodEnum<{
1816
- custom: "custom";
1817
1840
  built_in: "built_in";
1841
+ custom: "custom";
1818
1842
  }>>;
1819
1843
  }, z.core.$strip>>>>;
1820
1844
  version: z.ZodOptional<z.ZodEnum<{
@@ -1948,8 +1972,8 @@ declare const zCreateAgentConfigRequest: z.ZodObject<{
1948
1972
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1949
1973
  }, z.core.$strip>>;
1950
1974
  type: z.ZodOptional<z.ZodEnum<{
1951
- custom: "custom";
1952
1975
  built_in: "built_in";
1976
+ custom: "custom";
1953
1977
  }>>;
1954
1978
  }, z.core.$strip>>>>;
1955
1979
  version: z.ZodOptional<z.ZodEnum<{
@@ -2088,8 +2112,8 @@ declare const zUpdateAgentConfigRequest: z.ZodObject<{
2088
2112
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2089
2113
  }, z.core.$strip>>;
2090
2114
  type: z.ZodOptional<z.ZodEnum<{
2091
- custom: "custom";
2092
2115
  built_in: "built_in";
2116
+ custom: "custom";
2093
2117
  }>>;
2094
2118
  }, z.core.$strip>>>>;
2095
2119
  version: z.ZodOptional<z.ZodEnum<{
@@ -2767,10 +2791,10 @@ declare const zCronTriggerLastRun: z.ZodObject<{
2767
2791
  }, z.core.$strip>;
2768
2792
  declare const zAgentActivity: z.ZodObject<{
2769
2793
  state: z.ZodEnum<{
2794
+ archived: "archived";
2770
2795
  running: "running";
2771
2796
  idle: "idle";
2772
2797
  waiting_on_interaction: "waiting_on_interaction";
2773
- archived: "archived";
2774
2798
  }>;
2775
2799
  last_activity_at: z.ZodISODateTime;
2776
2800
  }, z.core.$strip>;
@@ -2814,7 +2838,6 @@ declare const zAgentSequenceCursor: z.ZodInt;
2814
2838
  */
2815
2839
  declare const zAgentCount: z.ZodInt;
2816
2840
  declare const zModelStopReason: z.ZodEnum<{
2817
- unknown: "unknown";
2818
2841
  end_turn: "end_turn";
2819
2842
  tool_use: "tool_use";
2820
2843
  max_tokens: "max_tokens";
@@ -2822,17 +2845,18 @@ declare const zModelStopReason: z.ZodEnum<{
2822
2845
  content_filter: "content_filter";
2823
2846
  pause: "pause";
2824
2847
  context_window: "context_window";
2848
+ unknown: "unknown";
2825
2849
  }>;
2826
2850
  /**
2827
2851
  * Stop reasons admitted as durable model-output events.
2828
2852
  */
2829
2853
  declare const zModelOutputStopReason: z.ZodEnum<{
2830
- error: "error";
2831
2854
  end_turn: "end_turn";
2832
2855
  tool_use: "tool_use";
2833
2856
  max_tokens: "max_tokens";
2834
2857
  refusal: "refusal";
2835
2858
  content_filter: "content_filter";
2859
+ error: "error";
2836
2860
  }>;
2837
2861
  declare const zAgentInputDeliveryMode: z.ZodEnum<{
2838
2862
  queued: "queued";
@@ -3141,9 +3165,9 @@ declare const zAgentInputEnvelope: z.ZodObject<{
3141
3165
  * Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
3142
3166
  */
3143
3167
  declare const zToolCallType: z.ZodEnum<{
3144
- custom: "custom";
3145
- built_in: "built_in";
3146
3168
  mcp: "mcp";
3169
+ built_in: "built_in";
3170
+ custom: "custom";
3147
3171
  }>;
3148
3172
  declare const zModelToolCallContentBlock: z.ZodObject<{
3149
3173
  type: z.ZodEnum<{
@@ -3151,9 +3175,9 @@ declare const zModelToolCallContentBlock: z.ZodObject<{
3151
3175
  }>;
3152
3176
  tool_call_id: z.ZodString;
3153
3177
  tool_type: z.ZodEnum<{
3154
- custom: "custom";
3155
- built_in: "built_in";
3156
3178
  mcp: "mcp";
3179
+ built_in: "built_in";
3180
+ custom: "custom";
3157
3181
  }>;
3158
3182
  name: z.ZodString;
3159
3183
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3175,9 +3199,9 @@ declare const zModelOutputContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
3175
3199
  }, z.core.$strip>, z.ZodObject<{
3176
3200
  tool_call_id: z.ZodString;
3177
3201
  tool_type: z.ZodEnum<{
3178
- custom: "custom";
3179
- built_in: "built_in";
3180
3202
  mcp: "mcp";
3203
+ built_in: "built_in";
3204
+ custom: "custom";
3181
3205
  }>;
3182
3206
  name: z.ZodString;
3183
3207
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3219,9 +3243,9 @@ declare const zToolCall: z.ZodObject<{
3219
3243
  name: z.ZodString;
3220
3244
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3221
3245
  type: z.ZodEnum<{
3222
- custom: "custom";
3223
- built_in: "built_in";
3224
3246
  mcp: "mcp";
3247
+ built_in: "built_in";
3248
+ custom: "custom";
3225
3249
  }>;
3226
3250
  state: z.ZodEnum<{
3227
3251
  completed: "completed";
@@ -3249,9 +3273,9 @@ declare const zListToolCallsResponse: z.ZodObject<{
3249
3273
  name: z.ZodString;
3250
3274
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3251
3275
  type: z.ZodEnum<{
3252
- custom: "custom";
3253
- built_in: "built_in";
3254
3276
  mcp: "mcp";
3277
+ built_in: "built_in";
3278
+ custom: "custom";
3255
3279
  }>;
3256
3280
  state: z.ZodEnum<{
3257
3281
  completed: "completed";
@@ -3350,9 +3374,9 @@ declare const zSubmitToolCallResultResponse: z.ZodObject<{
3350
3374
  name: z.ZodString;
3351
3375
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3352
3376
  type: z.ZodEnum<{
3353
- custom: "custom";
3354
- built_in: "built_in";
3355
3377
  mcp: "mcp";
3378
+ built_in: "built_in";
3379
+ custom: "custom";
3356
3380
  }>;
3357
3381
  state: z.ZodEnum<{
3358
3382
  completed: "completed";
@@ -3686,12 +3710,12 @@ declare const zModelOutputEvent: z.ZodObject<{
3686
3710
  }>;
3687
3711
  model_call_context_id: z.ZodString;
3688
3712
  stop_reason: z.ZodEnum<{
3689
- error: "error";
3690
3713
  end_turn: "end_turn";
3691
3714
  tool_use: "tool_use";
3692
3715
  max_tokens: "max_tokens";
3693
3716
  refusal: "refusal";
3694
3717
  content_filter: "content_filter";
3718
+ error: "error";
3695
3719
  }>;
3696
3720
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3697
3721
  text: z.ZodString;
@@ -3709,9 +3733,9 @@ declare const zModelOutputEvent: z.ZodObject<{
3709
3733
  }, z.core.$strip>, z.ZodObject<{
3710
3734
  tool_call_id: z.ZodString;
3711
3735
  tool_type: z.ZodEnum<{
3712
- custom: "custom";
3713
- built_in: "built_in";
3714
3736
  mcp: "mcp";
3737
+ built_in: "built_in";
3738
+ custom: "custom";
3715
3739
  }>;
3716
3740
  name: z.ZodString;
3717
3741
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3751,12 +3775,12 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3751
3775
  }>;
3752
3776
  model_call_context_id: z.ZodString;
3753
3777
  stop_reason: z.ZodEnum<{
3754
- error: "error";
3755
3778
  end_turn: "end_turn";
3756
3779
  tool_use: "tool_use";
3757
3780
  max_tokens: "max_tokens";
3758
3781
  refusal: "refusal";
3759
3782
  content_filter: "content_filter";
3783
+ error: "error";
3760
3784
  }>;
3761
3785
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3762
3786
  text: z.ZodString;
@@ -3774,9 +3798,9 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
3774
3798
  }, z.core.$strip>, z.ZodObject<{
3775
3799
  tool_call_id: z.ZodString;
3776
3800
  tool_type: z.ZodEnum<{
3777
- custom: "custom";
3778
- built_in: "built_in";
3779
3801
  mcp: "mcp";
3802
+ built_in: "built_in";
3803
+ custom: "custom";
3780
3804
  }>;
3781
3805
  name: z.ZodString;
3782
3806
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3845,12 +3869,12 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3845
3869
  sequence: z.ZodInt;
3846
3870
  model_call_context_id: z.ZodString;
3847
3871
  stop_reason: z.ZodEnum<{
3848
- error: "error";
3849
3872
  end_turn: "end_turn";
3850
3873
  tool_use: "tool_use";
3851
3874
  max_tokens: "max_tokens";
3852
3875
  refusal: "refusal";
3853
3876
  content_filter: "content_filter";
3877
+ error: "error";
3854
3878
  }>;
3855
3879
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3856
3880
  text: z.ZodString;
@@ -3868,9 +3892,9 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
3868
3892
  }, z.core.$strip>, z.ZodObject<{
3869
3893
  tool_call_id: z.ZodString;
3870
3894
  tool_type: z.ZodEnum<{
3871
- custom: "custom";
3872
- built_in: "built_in";
3873
3895
  mcp: "mcp";
3896
+ built_in: "built_in";
3897
+ custom: "custom";
3874
3898
  }>;
3875
3899
  name: z.ZodString;
3876
3900
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -3945,7 +3969,6 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3945
3969
  }>;
3946
3970
  stop: z.ZodObject<{
3947
3971
  reason: z.ZodEnum<{
3948
- unknown: "unknown";
3949
3972
  end_turn: "end_turn";
3950
3973
  tool_use: "tool_use";
3951
3974
  max_tokens: "max_tokens";
@@ -3953,6 +3976,7 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
3953
3976
  content_filter: "content_filter";
3954
3977
  pause: "pause";
3955
3978
  context_window: "context_window";
3979
+ unknown: "unknown";
3956
3980
  }>;
3957
3981
  usage: z.ZodObject<{
3958
3982
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4002,7 +4026,6 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4002
4026
  }, z.core.$strip>, z.ZodObject<{
4003
4027
  stop: z.ZodObject<{
4004
4028
  reason: z.ZodEnum<{
4005
- unknown: "unknown";
4006
4029
  end_turn: "end_turn";
4007
4030
  tool_use: "tool_use";
4008
4031
  max_tokens: "max_tokens";
@@ -4010,6 +4033,7 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4010
4033
  content_filter: "content_filter";
4011
4034
  pause: "pause";
4012
4035
  context_window: "context_window";
4036
+ unknown: "unknown";
4013
4037
  }>;
4014
4038
  usage: z.ZodObject<{
4015
4039
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4064,7 +4088,6 @@ declare const zModelOutputDelta: z.ZodObject<{
4064
4088
  }, z.core.$strip>, z.ZodObject<{
4065
4089
  stop: z.ZodObject<{
4066
4090
  reason: z.ZodEnum<{
4067
- unknown: "unknown";
4068
4091
  end_turn: "end_turn";
4069
4092
  tool_use: "tool_use";
4070
4093
  max_tokens: "max_tokens";
@@ -4072,6 +4095,7 @@ declare const zModelOutputDelta: z.ZodObject<{
4072
4095
  content_filter: "content_filter";
4073
4096
  pause: "pause";
4074
4097
  context_window: "context_window";
4098
+ unknown: "unknown";
4075
4099
  }>;
4076
4100
  usage: z.ZodObject<{
4077
4101
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4137,12 +4161,12 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4137
4161
  sequence: z.ZodInt;
4138
4162
  model_call_context_id: z.ZodString;
4139
4163
  stop_reason: z.ZodEnum<{
4140
- error: "error";
4141
4164
  end_turn: "end_turn";
4142
4165
  tool_use: "tool_use";
4143
4166
  max_tokens: "max_tokens";
4144
4167
  refusal: "refusal";
4145
4168
  content_filter: "content_filter";
4169
+ error: "error";
4146
4170
  }>;
4147
4171
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4148
4172
  text: z.ZodString;
@@ -4160,9 +4184,9 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4160
4184
  }, z.core.$strip>, z.ZodObject<{
4161
4185
  tool_call_id: z.ZodString;
4162
4186
  tool_type: z.ZodEnum<{
4163
- custom: "custom";
4164
- built_in: "built_in";
4165
4187
  mcp: "mcp";
4188
+ built_in: "built_in";
4189
+ custom: "custom";
4166
4190
  }>;
4167
4191
  name: z.ZodString;
4168
4192
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4282,12 +4306,12 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4282
4306
  sequence: z.ZodInt;
4283
4307
  model_call_context_id: z.ZodString;
4284
4308
  stop_reason: z.ZodEnum<{
4285
- error: "error";
4286
4309
  end_turn: "end_turn";
4287
4310
  tool_use: "tool_use";
4288
4311
  max_tokens: "max_tokens";
4289
4312
  refusal: "refusal";
4290
4313
  content_filter: "content_filter";
4314
+ error: "error";
4291
4315
  }>;
4292
4316
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4293
4317
  text: z.ZodString;
@@ -4305,9 +4329,9 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4305
4329
  }, z.core.$strip>, z.ZodObject<{
4306
4330
  tool_call_id: z.ZodString;
4307
4331
  tool_type: z.ZodEnum<{
4308
- custom: "custom";
4309
- built_in: "built_in";
4310
4332
  mcp: "mcp";
4333
+ built_in: "built_in";
4334
+ custom: "custom";
4311
4335
  }>;
4312
4336
  name: z.ZodString;
4313
4337
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4429,12 +4453,12 @@ declare const zAgentTurn: z.ZodObject<{
4429
4453
  sequence: z.ZodInt;
4430
4454
  model_call_context_id: z.ZodString;
4431
4455
  stop_reason: z.ZodEnum<{
4432
- error: "error";
4433
4456
  end_turn: "end_turn";
4434
4457
  tool_use: "tool_use";
4435
4458
  max_tokens: "max_tokens";
4436
4459
  refusal: "refusal";
4437
4460
  content_filter: "content_filter";
4461
+ error: "error";
4438
4462
  }>;
4439
4463
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4440
4464
  text: z.ZodString;
@@ -4452,9 +4476,9 @@ declare const zAgentTurn: z.ZodObject<{
4452
4476
  }, z.core.$strip>, z.ZodObject<{
4453
4477
  tool_call_id: z.ZodString;
4454
4478
  tool_type: z.ZodEnum<{
4455
- custom: "custom";
4456
- built_in: "built_in";
4457
4479
  mcp: "mcp";
4480
+ built_in: "built_in";
4481
+ custom: "custom";
4458
4482
  }>;
4459
4483
  name: z.ZodString;
4460
4484
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4569,12 +4593,12 @@ declare const zAgentTurn: z.ZodObject<{
4569
4593
  sequence: z.ZodInt;
4570
4594
  model_call_context_id: z.ZodString;
4571
4595
  stop_reason: z.ZodEnum<{
4572
- error: "error";
4573
4596
  end_turn: "end_turn";
4574
4597
  tool_use: "tool_use";
4575
4598
  max_tokens: "max_tokens";
4576
4599
  refusal: "refusal";
4577
4600
  content_filter: "content_filter";
4601
+ error: "error";
4578
4602
  }>;
4579
4603
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4580
4604
  text: z.ZodString;
@@ -4592,9 +4616,9 @@ declare const zAgentTurn: z.ZodObject<{
4592
4616
  }, z.core.$strip>, z.ZodObject<{
4593
4617
  tool_call_id: z.ZodString;
4594
4618
  tool_type: z.ZodEnum<{
4595
- custom: "custom";
4596
- built_in: "built_in";
4597
4619
  mcp: "mcp";
4620
+ built_in: "built_in";
4621
+ custom: "custom";
4598
4622
  }>;
4599
4623
  name: z.ZodString;
4600
4624
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4709,12 +4733,12 @@ declare const zAgentTurn: z.ZodObject<{
4709
4733
  sequence: z.ZodInt;
4710
4734
  model_call_context_id: z.ZodString;
4711
4735
  stop_reason: z.ZodEnum<{
4712
- error: "error";
4713
4736
  end_turn: "end_turn";
4714
4737
  tool_use: "tool_use";
4715
4738
  max_tokens: "max_tokens";
4716
4739
  refusal: "refusal";
4717
4740
  content_filter: "content_filter";
4741
+ error: "error";
4718
4742
  }>;
4719
4743
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4720
4744
  text: z.ZodString;
@@ -4732,9 +4756,9 @@ declare const zAgentTurn: z.ZodObject<{
4732
4756
  }, z.core.$strip>, z.ZodObject<{
4733
4757
  tool_call_id: z.ZodString;
4734
4758
  tool_type: z.ZodEnum<{
4735
- custom: "custom";
4736
- built_in: "built_in";
4737
4759
  mcp: "mcp";
4760
+ built_in: "built_in";
4761
+ custom: "custom";
4738
4762
  }>;
4739
4763
  name: z.ZodString;
4740
4764
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4858,12 +4882,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4858
4882
  sequence: z.ZodInt;
4859
4883
  model_call_context_id: z.ZodString;
4860
4884
  stop_reason: z.ZodEnum<{
4861
- error: "error";
4862
4885
  end_turn: "end_turn";
4863
4886
  tool_use: "tool_use";
4864
4887
  max_tokens: "max_tokens";
4865
4888
  refusal: "refusal";
4866
4889
  content_filter: "content_filter";
4890
+ error: "error";
4867
4891
  }>;
4868
4892
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4869
4893
  text: z.ZodString;
@@ -4881,9 +4905,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4881
4905
  }, z.core.$strip>, z.ZodObject<{
4882
4906
  tool_call_id: z.ZodString;
4883
4907
  tool_type: z.ZodEnum<{
4884
- custom: "custom";
4885
- built_in: "built_in";
4886
4908
  mcp: "mcp";
4909
+ built_in: "built_in";
4910
+ custom: "custom";
4887
4911
  }>;
4888
4912
  name: z.ZodString;
4889
4913
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -4998,12 +5022,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4998
5022
  sequence: z.ZodInt;
4999
5023
  model_call_context_id: z.ZodString;
5000
5024
  stop_reason: z.ZodEnum<{
5001
- error: "error";
5002
5025
  end_turn: "end_turn";
5003
5026
  tool_use: "tool_use";
5004
5027
  max_tokens: "max_tokens";
5005
5028
  refusal: "refusal";
5006
5029
  content_filter: "content_filter";
5030
+ error: "error";
5007
5031
  }>;
5008
5032
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5009
5033
  text: z.ZodString;
@@ -5021,9 +5045,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5021
5045
  }, z.core.$strip>, z.ZodObject<{
5022
5046
  tool_call_id: z.ZodString;
5023
5047
  tool_type: z.ZodEnum<{
5024
- custom: "custom";
5025
- built_in: "built_in";
5026
5048
  mcp: "mcp";
5049
+ built_in: "built_in";
5050
+ custom: "custom";
5027
5051
  }>;
5028
5052
  name: z.ZodString;
5029
5053
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5138,12 +5162,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5138
5162
  sequence: z.ZodInt;
5139
5163
  model_call_context_id: z.ZodString;
5140
5164
  stop_reason: z.ZodEnum<{
5141
- error: "error";
5142
5165
  end_turn: "end_turn";
5143
5166
  tool_use: "tool_use";
5144
5167
  max_tokens: "max_tokens";
5145
5168
  refusal: "refusal";
5146
5169
  content_filter: "content_filter";
5170
+ error: "error";
5147
5171
  }>;
5148
5172
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5149
5173
  text: z.ZodString;
@@ -5161,9 +5185,9 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5161
5185
  }, z.core.$strip>, z.ZodObject<{
5162
5186
  tool_call_id: z.ZodString;
5163
5187
  tool_type: z.ZodEnum<{
5164
- custom: "custom";
5165
- built_in: "built_in";
5166
5188
  mcp: "mcp";
5189
+ built_in: "built_in";
5190
+ custom: "custom";
5167
5191
  }>;
5168
5192
  name: z.ZodString;
5169
5193
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5284,12 +5308,12 @@ declare const zCancelAgentResponse: z.ZodObject<{
5284
5308
  sequence: z.ZodInt;
5285
5309
  model_call_context_id: z.ZodString;
5286
5310
  stop_reason: z.ZodEnum<{
5287
- error: "error";
5288
5311
  end_turn: "end_turn";
5289
5312
  tool_use: "tool_use";
5290
5313
  max_tokens: "max_tokens";
5291
5314
  refusal: "refusal";
5292
5315
  content_filter: "content_filter";
5316
+ error: "error";
5293
5317
  }>;
5294
5318
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5295
5319
  text: z.ZodString;
@@ -5307,9 +5331,9 @@ declare const zCancelAgentResponse: z.ZodObject<{
5307
5331
  }, z.core.$strip>, z.ZodObject<{
5308
5332
  tool_call_id: z.ZodString;
5309
5333
  tool_type: z.ZodEnum<{
5310
- custom: "custom";
5311
- built_in: "built_in";
5312
5334
  mcp: "mcp";
5335
+ built_in: "built_in";
5336
+ custom: "custom";
5313
5337
  }>;
5314
5338
  name: z.ZodString;
5315
5339
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5605,12 +5629,12 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5605
5629
  }>;
5606
5630
  model_call_context_id: z.ZodString;
5607
5631
  stop_reason: z.ZodEnum<{
5608
- error: "error";
5609
5632
  end_turn: "end_turn";
5610
5633
  tool_use: "tool_use";
5611
5634
  max_tokens: "max_tokens";
5612
5635
  refusal: "refusal";
5613
5636
  content_filter: "content_filter";
5637
+ error: "error";
5614
5638
  }>;
5615
5639
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5616
5640
  text: z.ZodString;
@@ -5628,9 +5652,9 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
5628
5652
  }, z.core.$strip>, z.ZodObject<{
5629
5653
  tool_call_id: z.ZodString;
5630
5654
  tool_type: z.ZodEnum<{
5631
- custom: "custom";
5632
- built_in: "built_in";
5633
5655
  mcp: "mcp";
5656
+ built_in: "built_in";
5657
+ custom: "custom";
5634
5658
  }>;
5635
5659
  name: z.ZodString;
5636
5660
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5785,12 +5809,12 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5785
5809
  sequence: z.ZodInt;
5786
5810
  model_call_context_id: z.ZodString;
5787
5811
  stop_reason: z.ZodEnum<{
5788
- error: "error";
5789
5812
  end_turn: "end_turn";
5790
5813
  tool_use: "tool_use";
5791
5814
  max_tokens: "max_tokens";
5792
5815
  refusal: "refusal";
5793
5816
  content_filter: "content_filter";
5817
+ error: "error";
5794
5818
  }>;
5795
5819
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5796
5820
  text: z.ZodString;
@@ -5808,9 +5832,9 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5808
5832
  }, z.core.$strip>, z.ZodObject<{
5809
5833
  tool_call_id: z.ZodString;
5810
5834
  tool_type: z.ZodEnum<{
5811
- custom: "custom";
5812
- built_in: "built_in";
5813
5835
  mcp: "mcp";
5836
+ built_in: "built_in";
5837
+ custom: "custom";
5814
5838
  }>;
5815
5839
  name: z.ZodString;
5816
5840
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -5938,7 +5962,6 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5938
5962
  }, z.core.$strip>, z.ZodObject<{
5939
5963
  stop: z.ZodObject<{
5940
5964
  reason: z.ZodEnum<{
5941
- unknown: "unknown";
5942
5965
  end_turn: "end_turn";
5943
5966
  tool_use: "tool_use";
5944
5967
  max_tokens: "max_tokens";
@@ -5946,6 +5969,7 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
5946
5969
  content_filter: "content_filter";
5947
5970
  pause: "pause";
5948
5971
  context_window: "context_window";
5972
+ unknown: "unknown";
5949
5973
  }>;
5950
5974
  usage: z.ZodObject<{
5951
5975
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -6130,6 +6154,9 @@ declare const zUserSecretOwnerInput: z.ZodObject<{
6130
6154
  user: "user";
6131
6155
  }>;
6132
6156
  }, z.core.$strip>;
6157
+ /**
6158
+ * Who owns the secret: {"kind":"org"}, {"kind":"project","project_id":"proj_..."}, or {"kind":"user"}. The owner cannot change later.
6159
+ */
6133
6160
  declare const zSecretOwnerInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
6134
6161
  kind: z.ZodLiteral<"org">;
6135
6162
  }, z.core.$strip>, z.ZodObject<{
@@ -6230,6 +6257,9 @@ declare const zGitHubAppCredentialsSecretMaterial: z.ZodObject<{
6230
6257
  private_key: z.ZodString;
6231
6258
  webhook_secret: z.ZodString;
6232
6259
  }, z.core.$strip>;
6260
+ /**
6261
+ * The secret's value. kind selects its shape: generic, oauth_token_set, aws_credentials, or github_app_credentials.
6262
+ */
6233
6263
  declare const zSecretMaterial: z.ZodDiscriminatedUnion<[z.ZodObject<{
6234
6264
  value: z.ZodString;
6235
6265
  kind: z.ZodLiteral<"generic">;
@@ -6698,6 +6728,9 @@ declare const zCreateMachinePoolRequestBase: z.ZodObject<{
6698
6728
  delete_after_idle_minutes: z.ZodOptional<z.ZodInt>;
6699
6729
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6700
6730
  }, z.core.$strip>;
6731
+ /**
6732
+ * Pool definition. name, provider, provider_auth_secret_id, default_machine_provider_options, and max_total_machines are always required; which default machine size and CPU and memory limits are required depends on the provider; Blaxel pools reject CPU fields.
6733
+ */
6701
6734
  declare const zCreateMachinePoolRequest: z.ZodIntersection<z.ZodObject<{
6702
6735
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
6703
6736
  description: z.ZodOptional<z.ZodString>;
@@ -6859,9 +6892,9 @@ declare const zMachineSourceKind: z.ZodEnum<{
6859
6892
  byo: "byo";
6860
6893
  }>;
6861
6894
  declare const zMachineLifecycleState: z.ZodEnum<{
6895
+ active: "active";
6862
6896
  provisioning: "provisioning";
6863
6897
  provision_failed: "provision_failed";
6864
- active: "active";
6865
6898
  deleting: "deleting";
6866
6899
  delete_failed: "delete_failed";
6867
6900
  deleted: "deleted";
@@ -6891,9 +6924,9 @@ declare const zMachine: z.ZodObject<{
6891
6924
  description: z.ZodString;
6892
6925
  provider: z.ZodString;
6893
6926
  lifecycle_state: z.ZodEnum<{
6927
+ active: "active";
6894
6928
  provisioning: "provisioning";
6895
6929
  provision_failed: "provision_failed";
6896
- active: "active";
6897
6930
  deleting: "deleting";
6898
6931
  delete_failed: "delete_failed";
6899
6932
  deleted: "deleted";
@@ -6971,9 +7004,9 @@ declare const zMachineSummaryFields: z.ZodObject<{
6971
7004
  description: z.ZodString;
6972
7005
  provider: z.ZodString;
6973
7006
  lifecycle_state: z.ZodEnum<{
7007
+ active: "active";
6974
7008
  provisioning: "provisioning";
6975
7009
  provision_failed: "provision_failed";
6976
- active: "active";
6977
7010
  deleting: "deleting";
6978
7011
  delete_failed: "delete_failed";
6979
7012
  deleted: "deleted";
@@ -6999,9 +7032,9 @@ declare const zMachineSummary: z.ZodObject<{
6999
7032
  description: z.ZodString;
7000
7033
  provider: z.ZodString;
7001
7034
  lifecycle_state: z.ZodEnum<{
7035
+ active: "active";
7002
7036
  provisioning: "provisioning";
7003
7037
  provision_failed: "provision_failed";
7004
- active: "active";
7005
7038
  deleting: "deleting";
7006
7039
  delete_failed: "delete_failed";
7007
7040
  deleted: "deleted";
@@ -7054,9 +7087,9 @@ declare const zVisibleMachine: z.ZodIntersection<z.ZodObject<{
7054
7087
  description: z.ZodString;
7055
7088
  provider: z.ZodString;
7056
7089
  lifecycle_state: z.ZodEnum<{
7090
+ active: "active";
7057
7091
  provisioning: "provisioning";
7058
7092
  provision_failed: "provision_failed";
7059
- active: "active";
7060
7093
  deleting: "deleting";
7061
7094
  delete_failed: "delete_failed";
7062
7095
  deleted: "deleted";
@@ -7099,9 +7132,9 @@ declare const zListVisibleMachinesResponse: z.ZodObject<{
7099
7132
  description: z.ZodString;
7100
7133
  provider: z.ZodString;
7101
7134
  lifecycle_state: z.ZodEnum<{
7135
+ active: "active";
7102
7136
  provisioning: "provisioning";
7103
7137
  provision_failed: "provision_failed";
7104
- active: "active";
7105
7138
  deleting: "deleting";
7106
7139
  delete_failed: "delete_failed";
7107
7140
  deleted: "deleted";
@@ -7182,9 +7215,9 @@ declare const zCreateProjectMachineGrantResponse: z.ZodObject<{
7182
7215
  description: z.ZodString;
7183
7216
  provider: z.ZodString;
7184
7217
  lifecycle_state: z.ZodEnum<{
7218
+ active: "active";
7185
7219
  provisioning: "provisioning";
7186
7220
  provision_failed: "provision_failed";
7187
- active: "active";
7188
7221
  deleting: "deleting";
7189
7222
  delete_failed: "delete_failed";
7190
7223
  deleted: "deleted";
@@ -7253,9 +7286,9 @@ declare const zProjectMachineGrantListItem: z.ZodObject<{
7253
7286
  description: z.ZodString;
7254
7287
  provider: z.ZodString;
7255
7288
  lifecycle_state: z.ZodEnum<{
7289
+ active: "active";
7256
7290
  provisioning: "provisioning";
7257
7291
  provision_failed: "provision_failed";
7258
- active: "active";
7259
7292
  deleting: "deleting";
7260
7293
  delete_failed: "delete_failed";
7261
7294
  deleted: "deleted";
@@ -7299,9 +7332,9 @@ declare const zListProjectMachineGrantsResponse: z.ZodObject<{
7299
7332
  description: z.ZodString;
7300
7333
  provider: z.ZodString;
7301
7334
  lifecycle_state: z.ZodEnum<{
7335
+ active: "active";
7302
7336
  provisioning: "provisioning";
7303
7337
  provision_failed: "provision_failed";
7304
- active: "active";
7305
7338
  deleting: "deleting";
7306
7339
  delete_failed: "delete_failed";
7307
7340
  deleted: "deleted";
@@ -7505,9 +7538,9 @@ declare const zConnectByoMachineResponse: z.ZodObject<{
7505
7538
  description: z.ZodString;
7506
7539
  provider: z.ZodString;
7507
7540
  lifecycle_state: z.ZodEnum<{
7541
+ active: "active";
7508
7542
  provisioning: "provisioning";
7509
7543
  provision_failed: "provision_failed";
7510
- active: "active";
7511
7544
  deleting: "deleting";
7512
7545
  delete_failed: "delete_failed";
7513
7546
  deleted: "deleted";
@@ -8001,13 +8034,13 @@ declare const zUsageTimeseriesMetric: z.ZodEnum<{
8001
8034
  count_model_calls: "count_model_calls";
8002
8035
  }>;
8003
8036
  declare const zUsageTimeseriesGroupBy: z.ZodEnum<{
8004
- model: "model";
8005
8037
  profile: "profile";
8038
+ model: "model";
8006
8039
  }>;
8007
8040
  declare const zUsageTimeseriesSeries: z.ZodObject<{
8008
8041
  kind: z.ZodEnum<{
8009
- model: "model";
8010
8042
  profile: "profile";
8043
+ model: "model";
8011
8044
  all: "all";
8012
8045
  no_profile: "no_profile";
8013
8046
  other: "other";
@@ -8224,8 +8257,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8224
8257
  month: "month";
8225
8258
  }>;
8226
8259
  group_by: z.ZodOptional<z.ZodEnum<{
8227
- model: "model";
8228
8260
  profile: "profile";
8261
+ model: "model";
8229
8262
  }>>;
8230
8263
  timezone: z.ZodString;
8231
8264
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -8248,8 +8281,8 @@ declare const zUsageTimeseries: z.ZodObject<{
8248
8281
  active_agents: z.ZodCoercedBigInt<unknown>;
8249
8282
  series: z.ZodArray<z.ZodObject<{
8250
8283
  kind: z.ZodEnum<{
8251
- model: "model";
8252
8284
  profile: "profile";
8285
+ model: "model";
8253
8286
  all: "all";
8254
8287
  no_profile: "no_profile";
8255
8288
  other: "other";
@@ -8446,8 +8479,8 @@ declare const zCompiledTool: z.ZodObject<{
8446
8479
  integration_id: z.ZodOptional<z.ZodString>;
8447
8480
  enabled: z.ZodBoolean;
8448
8481
  type: z.ZodOptional<z.ZodEnum<{
8449
- custom: "custom";
8450
8482
  built_in: "built_in";
8483
+ custom: "custom";
8451
8484
  }>>;
8452
8485
  permission: z.ZodObject<{
8453
8486
  mode: z.ZodString;
@@ -8467,6 +8500,9 @@ declare const zIntegrationCronTriggerTarget: z.ZodObject<{
8467
8500
  integration_id: z.ZodString;
8468
8501
  settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8469
8502
  }, z.core.$strip>;
8503
+ /**
8504
+ * What each firing does: type agent sends the message to an existing agent, type profile launches a new agent from a profile, and type integration hands the firing to an integration, such as a new Slack or Discord thread.
8505
+ */
8470
8506
  declare const zCronTriggerTarget: z.ZodDiscriminatedUnion<[z.ZodObject<{
8471
8507
  agent_id: z.ZodString;
8472
8508
  delivery_mode: z.ZodOptional<z.ZodEnum<{
@@ -8684,8 +8720,8 @@ declare const zCompiledAgentConfig: z.ZodObject<{
8684
8720
  integration_id: z.ZodOptional<z.ZodString>;
8685
8721
  enabled: z.ZodBoolean;
8686
8722
  type: z.ZodOptional<z.ZodEnum<{
8687
- custom: "custom";
8688
8723
  built_in: "built_in";
8724
+ custom: "custom";
8689
8725
  }>>;
8690
8726
  permission: z.ZodObject<{
8691
8727
  mode: z.ZodString;
@@ -8868,8 +8904,8 @@ declare const zAgentConfig: z.ZodObject<{
8868
8904
  integration_id: z.ZodOptional<z.ZodString>;
8869
8905
  enabled: z.ZodBoolean;
8870
8906
  type: z.ZodOptional<z.ZodEnum<{
8871
- custom: "custom";
8872
8907
  built_in: "built_in";
8908
+ custom: "custom";
8873
8909
  }>>;
8874
8910
  permission: z.ZodObject<{
8875
8911
  mode: z.ZodString;
@@ -9062,8 +9098,8 @@ declare const zAgentProfile: z.ZodObject<{
9062
9098
  integration_id: z.ZodOptional<z.ZodString>;
9063
9099
  enabled: z.ZodBoolean;
9064
9100
  type: z.ZodOptional<z.ZodEnum<{
9065
- custom: "custom";
9066
9101
  built_in: "built_in";
9102
+ custom: "custom";
9067
9103
  }>>;
9068
9104
  permission: z.ZodObject<{
9069
9105
  mode: z.ZodString;
@@ -9249,8 +9285,8 @@ declare const zUpdateAgentConfigResponse: z.ZodObject<{
9249
9285
  integration_id: z.ZodOptional<z.ZodString>;
9250
9286
  enabled: z.ZodBoolean;
9251
9287
  type: z.ZodOptional<z.ZodEnum<{
9252
- custom: "custom";
9253
9288
  built_in: "built_in";
9289
+ custom: "custom";
9254
9290
  }>>;
9255
9291
  permission: z.ZodObject<{
9256
9292
  mode: z.ZodString;
@@ -9440,8 +9476,8 @@ declare const zAgent: z.ZodObject<{
9440
9476
  project_id: z.ZodString;
9441
9477
  agent_profile_id: z.ZodOptional<z.ZodString>;
9442
9478
  state: z.ZodEnum<{
9443
- archived: "archived";
9444
9479
  active: "active";
9480
+ archived: "archived";
9445
9481
  }>;
9446
9482
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9447
9483
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9459,10 +9495,10 @@ declare const zAgent: z.ZodObject<{
9459
9495
  subagent_key: z.ZodOptional<z.ZodString>;
9460
9496
  activity: z.ZodOptional<z.ZodObject<{
9461
9497
  state: z.ZodEnum<{
9498
+ archived: "archived";
9462
9499
  running: "running";
9463
9500
  idle: "idle";
9464
9501
  waiting_on_interaction: "waiting_on_interaction";
9465
- archived: "archived";
9466
9502
  }>;
9467
9503
  last_activity_at: z.ZodISODateTime;
9468
9504
  }, z.core.$strip>>;
@@ -9492,8 +9528,8 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9492
9528
  project_id: z.ZodString;
9493
9529
  agent_profile_id: z.ZodOptional<z.ZodString>;
9494
9530
  state: z.ZodEnum<{
9495
- archived: "archived";
9496
9531
  active: "active";
9532
+ archived: "archived";
9497
9533
  }>;
9498
9534
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9499
9535
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9511,10 +9547,10 @@ declare const zCurrentAgentResponse: z.ZodObject<{
9511
9547
  subagent_key: z.ZodOptional<z.ZodString>;
9512
9548
  activity: z.ZodOptional<z.ZodObject<{
9513
9549
  state: z.ZodEnum<{
9550
+ archived: "archived";
9514
9551
  running: "running";
9515
9552
  idle: "idle";
9516
9553
  waiting_on_interaction: "waiting_on_interaction";
9517
- archived: "archived";
9518
9554
  }>;
9519
9555
  last_activity_at: z.ZodISODateTime;
9520
9556
  }, z.core.$strip>>;
@@ -9545,8 +9581,8 @@ declare const zGetAgentResponse: z.ZodObject<{
9545
9581
  project_id: z.ZodString;
9546
9582
  agent_profile_id: z.ZodOptional<z.ZodString>;
9547
9583
  state: z.ZodEnum<{
9548
- archived: "archived";
9549
9584
  active: "active";
9585
+ archived: "archived";
9550
9586
  }>;
9551
9587
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9552
9588
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9564,10 +9600,10 @@ declare const zGetAgentResponse: z.ZodObject<{
9564
9600
  subagent_key: z.ZodOptional<z.ZodString>;
9565
9601
  activity: z.ZodOptional<z.ZodObject<{
9566
9602
  state: z.ZodEnum<{
9603
+ archived: "archived";
9567
9604
  running: "running";
9568
9605
  idle: "idle";
9569
9606
  waiting_on_interaction: "waiting_on_interaction";
9570
- archived: "archived";
9571
9607
  }>;
9572
9608
  last_activity_at: z.ZodISODateTime;
9573
9609
  }, z.core.$strip>>;
@@ -9613,8 +9649,8 @@ declare const zListAgentsResponse: z.ZodObject<{
9613
9649
  project_id: z.ZodString;
9614
9650
  agent_profile_id: z.ZodOptional<z.ZodString>;
9615
9651
  state: z.ZodEnum<{
9616
- archived: "archived";
9617
9652
  active: "active";
9653
+ archived: "archived";
9618
9654
  }>;
9619
9655
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9620
9656
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9632,10 +9668,10 @@ declare const zListAgentsResponse: z.ZodObject<{
9632
9668
  subagent_key: z.ZodOptional<z.ZodString>;
9633
9669
  activity: z.ZodOptional<z.ZodObject<{
9634
9670
  state: z.ZodEnum<{
9671
+ archived: "archived";
9635
9672
  running: "running";
9636
9673
  idle: "idle";
9637
9674
  waiting_on_interaction: "waiting_on_interaction";
9638
- archived: "archived";
9639
9675
  }>;
9640
9676
  last_activity_at: z.ZodISODateTime;
9641
9677
  }, z.core.$strip>>;
@@ -9667,8 +9703,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9667
9703
  project_id: z.ZodString;
9668
9704
  agent_profile_id: z.ZodOptional<z.ZodString>;
9669
9705
  state: z.ZodEnum<{
9670
- archived: "archived";
9671
9706
  active: "active";
9707
+ archived: "archived";
9672
9708
  }>;
9673
9709
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9674
9710
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -9686,10 +9722,10 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9686
9722
  subagent_key: z.ZodOptional<z.ZodString>;
9687
9723
  activity: z.ZodOptional<z.ZodObject<{
9688
9724
  state: z.ZodEnum<{
9725
+ archived: "archived";
9689
9726
  running: "running";
9690
9727
  idle: "idle";
9691
9728
  waiting_on_interaction: "waiting_on_interaction";
9692
- archived: "archived";
9693
9729
  }>;
9694
9730
  last_activity_at: z.ZodISODateTime;
9695
9731
  }, z.core.$strip>>;
@@ -9785,8 +9821,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
9785
9821
  integration_id: z.ZodOptional<z.ZodString>;
9786
9822
  enabled: z.ZodBoolean;
9787
9823
  type: z.ZodOptional<z.ZodEnum<{
9788
- custom: "custom";
9789
9824
  built_in: "built_in";
9825
+ custom: "custom";
9790
9826
  }>>;
9791
9827
  permission: z.ZodObject<{
9792
9828
  mode: z.ZodString;
@@ -10099,8 +10135,8 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10099
10135
  project_id: z.ZodString;
10100
10136
  agent_profile_id: z.ZodOptional<z.ZodString>;
10101
10137
  state: z.ZodEnum<{
10102
- archived: "archived";
10103
10138
  active: "active";
10139
+ archived: "archived";
10104
10140
  }>;
10105
10141
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
10106
10142
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -10118,10 +10154,10 @@ declare const zOrgOverviewResponse: z.ZodObject<{
10118
10154
  subagent_key: z.ZodOptional<z.ZodString>;
10119
10155
  activity: z.ZodOptional<z.ZodObject<{
10120
10156
  state: z.ZodEnum<{
10157
+ archived: "archived";
10121
10158
  running: "running";
10122
10159
  idle: "idle";
10123
10160
  waiting_on_interaction: "waiting_on_interaction";
10124
- archived: "archived";
10125
10161
  }>;
10126
10162
  last_activity_at: z.ZodISODateTime;
10127
10163
  }, z.core.$strip>>;
@@ -10351,8 +10387,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10351
10387
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10352
10388
  }, z.core.$strip>>;
10353
10389
  type: z.ZodOptional<z.ZodEnum<{
10354
- custom: "custom";
10355
10390
  built_in: "built_in";
10391
+ custom: "custom";
10356
10392
  }>>;
10357
10393
  }, z.core.$strip>>>>;
10358
10394
  version: z.ZodOptional<z.ZodEnum<{
@@ -10491,8 +10527,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10491
10527
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10492
10528
  }, z.core.$strip>>;
10493
10529
  type: z.ZodOptional<z.ZodEnum<{
10494
- custom: "custom";
10495
10530
  built_in: "built_in";
10531
+ custom: "custom";
10496
10532
  }>>;
10497
10533
  }, z.core.$strip>>>>;
10498
10534
  version: z.ZodOptional<z.ZodEnum<{
@@ -10520,8 +10556,8 @@ declare const zCreateAgentRequest: z.ZodIntersection<z.ZodUnion<readonly [z.ZodO
10520
10556
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10521
10557
  }, z.core.$strip>>;
10522
10558
  type: z.ZodOptional<z.ZodEnum<{
10523
- custom: "custom";
10524
10559
  built_in: "built_in";
10560
+ custom: "custom";
10525
10561
  }>>;
10526
10562
  }, z.core.$strip>>>;
10527
10563
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -10838,8 +10874,8 @@ declare const zSkillOwnerProjectIdFilter: z.ZodString;
10838
10874
  * Filter a project inventory by how the skill became available.
10839
10875
  */
10840
10876
  declare const zSkillAvailabilitySourceFilter: z.ZodEnum<{
10841
- grant: "grant";
10842
10877
  direct: "direct";
10878
+ grant: "grant";
10843
10879
  }>;
10844
10880
  /**
10845
10881
  * Filter by the immutable owner kind.
@@ -10861,8 +10897,8 @@ declare const zSecretMcpoAuthFlowIdFilter: z.ZodString;
10861
10897
  * Filter a project inventory by how the secret became available.
10862
10898
  */
10863
10899
  declare const zSecretAvailabilitySourceFilter: z.ZodEnum<{
10864
- grant: "grant";
10865
10900
  direct: "direct";
10901
+ grant: "grant";
10866
10902
  }>;
10867
10903
  declare const zListPersonalAccessTokensQuery: z.ZodObject<{
10868
10904
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -11087,8 +11123,8 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11087
11123
  project_id: z.ZodString;
11088
11124
  agent_profile_id: z.ZodOptional<z.ZodString>;
11089
11125
  state: z.ZodEnum<{
11090
- archived: "archived";
11091
11126
  active: "active";
11127
+ archived: "archived";
11092
11128
  }>;
11093
11129
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11094
11130
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11106,10 +11142,10 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
11106
11142
  subagent_key: z.ZodOptional<z.ZodString>;
11107
11143
  activity: z.ZodOptional<z.ZodObject<{
11108
11144
  state: z.ZodEnum<{
11145
+ archived: "archived";
11109
11146
  running: "running";
11110
11147
  idle: "idle";
11111
11148
  waiting_on_interaction: "waiting_on_interaction";
11112
- archived: "archived";
11113
11149
  }>;
11114
11150
  last_activity_at: z.ZodISODateTime;
11115
11151
  }, z.core.$strip>>;
@@ -11278,8 +11314,8 @@ declare const zGetOrgUsageTimeseriesQuery: z.ZodObject<{
11278
11314
  count_model_calls: "count_model_calls";
11279
11315
  }>>;
11280
11316
  group_by: z.ZodOptional<z.ZodEnum<{
11281
- model: "model";
11282
11317
  profile: "profile";
11318
+ model: "model";
11283
11319
  }>>;
11284
11320
  group_limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
11285
11321
  project_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -11304,8 +11340,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11304
11340
  month: "month";
11305
11341
  }>;
11306
11342
  group_by: z.ZodOptional<z.ZodEnum<{
11307
- model: "model";
11308
11343
  profile: "profile";
11344
+ model: "model";
11309
11345
  }>>;
11310
11346
  timezone: z.ZodString;
11311
11347
  bucket_starts: z.ZodArray<z.ZodISODateTime>;
@@ -11328,8 +11364,8 @@ declare const zGetOrgUsageTimeseriesResponse: z.ZodObject<{
11328
11364
  active_agents: z.ZodCoercedBigInt<unknown>;
11329
11365
  series: z.ZodArray<z.ZodObject<{
11330
11366
  kind: z.ZodEnum<{
11331
- model: "model";
11332
11367
  profile: "profile";
11368
+ model: "model";
11333
11369
  all: "all";
11334
11370
  no_profile: "no_profile";
11335
11371
  other: "other";
@@ -11373,8 +11409,8 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11373
11409
  project_id: z.ZodString;
11374
11410
  agent_profile_id: z.ZodOptional<z.ZodString>;
11375
11411
  state: z.ZodEnum<{
11376
- archived: "archived";
11377
11412
  active: "active";
11413
+ archived: "archived";
11378
11414
  }>;
11379
11415
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
11380
11416
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -11392,10 +11428,10 @@ declare const zListOrgAgentsResponse: z.ZodObject<{
11392
11428
  subagent_key: z.ZodOptional<z.ZodString>;
11393
11429
  activity: z.ZodOptional<z.ZodObject<{
11394
11430
  state: z.ZodEnum<{
11431
+ archived: "archived";
11395
11432
  running: "running";
11396
11433
  idle: "idle";
11397
11434
  waiting_on_interaction: "waiting_on_interaction";
11398
- archived: "archived";
11399
11435
  }>;
11400
11436
  last_activity_at: z.ZodISODateTime;
11401
11437
  }, z.core.$strip>>;
@@ -12159,8 +12195,8 @@ declare const zListProjectAvailableSkillsQuery: z.ZodObject<{
12159
12195
  user: "user";
12160
12196
  }>>;
12161
12197
  availability_source: z.ZodOptional<z.ZodEnum<{
12162
- grant: "grant";
12163
12198
  direct: "direct";
12199
+ grant: "grant";
12164
12200
  }>>;
12165
12201
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
12166
12202
  name: "name";
@@ -12905,8 +12941,8 @@ declare const zResolveAgentConfigToolsBody: z.ZodObject<{
12905
12941
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12906
12942
  }, z.core.$strip>>;
12907
12943
  type: z.ZodOptional<z.ZodEnum<{
12908
- custom: "custom";
12909
12944
  built_in: "built_in";
12945
+ custom: "custom";
12910
12946
  }>>;
12911
12947
  }, z.core.$strip>>>>;
12912
12948
  }, z.core.$loose>]>;
@@ -13056,8 +13092,8 @@ declare const zCreateAgentConfigBody: z.ZodObject<{
13056
13092
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13057
13093
  }, z.core.$strip>>;
13058
13094
  type: z.ZodOptional<z.ZodEnum<{
13059
- custom: "custom";
13060
13095
  built_in: "built_in";
13096
+ custom: "custom";
13061
13097
  }>>;
13062
13098
  }, z.core.$strip>>>>;
13063
13099
  version: z.ZodOptional<z.ZodEnum<{
@@ -13149,8 +13185,8 @@ declare const zCreateAgentConfigResponse: z.ZodObject<{
13149
13185
  integration_id: z.ZodOptional<z.ZodString>;
13150
13186
  enabled: z.ZodBoolean;
13151
13187
  type: z.ZodOptional<z.ZodEnum<{
13152
- custom: "custom";
13153
13188
  built_in: "built_in";
13189
+ custom: "custom";
13154
13190
  }>>;
13155
13191
  permission: z.ZodObject<{
13156
13192
  mode: z.ZodString;
@@ -13471,8 +13507,8 @@ declare const zGetAgentConfigResponse: z.ZodObject<{
13471
13507
  integration_id: z.ZodOptional<z.ZodString>;
13472
13508
  enabled: z.ZodBoolean;
13473
13509
  type: z.ZodOptional<z.ZodEnum<{
13474
- custom: "custom";
13475
13510
  built_in: "built_in";
13511
+ custom: "custom";
13476
13512
  }>>;
13477
13513
  permission: z.ZodObject<{
13478
13514
  mode: z.ZodString;
@@ -13789,8 +13825,8 @@ declare const zCreateAgentProfileResponse: z.ZodObject<{
13789
13825
  integration_id: z.ZodOptional<z.ZodString>;
13790
13826
  enabled: z.ZodBoolean;
13791
13827
  type: z.ZodOptional<z.ZodEnum<{
13792
- custom: "custom";
13793
13828
  built_in: "built_in";
13829
+ custom: "custom";
13794
13830
  }>>;
13795
13831
  permission: z.ZodObject<{
13796
13832
  mode: z.ZodString;
@@ -14001,8 +14037,8 @@ declare const zGetAgentProfileResponse: z.ZodObject<{
14001
14037
  integration_id: z.ZodOptional<z.ZodString>;
14002
14038
  enabled: z.ZodBoolean;
14003
14039
  type: z.ZodOptional<z.ZodEnum<{
14004
- custom: "custom";
14005
14040
  built_in: "built_in";
14041
+ custom: "custom";
14006
14042
  }>>;
14007
14043
  permission: z.ZodObject<{
14008
14044
  mode: z.ZodString;
@@ -14207,8 +14243,8 @@ declare const zRenameAgentProfileResponse: z.ZodObject<{
14207
14243
  integration_id: z.ZodOptional<z.ZodString>;
14208
14244
  enabled: z.ZodBoolean;
14209
14245
  type: z.ZodOptional<z.ZodEnum<{
14210
- custom: "custom";
14211
14246
  built_in: "built_in";
14247
+ custom: "custom";
14212
14248
  }>>;
14213
14249
  permission: z.ZodObject<{
14214
14250
  mode: z.ZodString;
@@ -14469,8 +14505,8 @@ declare const zUpdateAgentProfileResponse: z.ZodObject<{
14469
14505
  integration_id: z.ZodOptional<z.ZodString>;
14470
14506
  enabled: z.ZodBoolean;
14471
14507
  type: z.ZodOptional<z.ZodEnum<{
14472
- custom: "custom";
14473
14508
  built_in: "built_in";
14509
+ custom: "custom";
14474
14510
  }>>;
14475
14511
  permission: z.ZodObject<{
14476
14512
  mode: z.ZodString;
@@ -14998,8 +15034,8 @@ declare const zListAgentsResponse2: z.ZodObject<{
14998
15034
  project_id: z.ZodString;
14999
15035
  agent_profile_id: z.ZodOptional<z.ZodString>;
15000
15036
  state: z.ZodEnum<{
15001
- archived: "archived";
15002
15037
  active: "active";
15038
+ archived: "archived";
15003
15039
  }>;
15004
15040
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15005
15041
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15017,10 +15053,10 @@ declare const zListAgentsResponse2: z.ZodObject<{
15017
15053
  subagent_key: z.ZodOptional<z.ZodString>;
15018
15054
  activity: z.ZodOptional<z.ZodObject<{
15019
15055
  state: z.ZodEnum<{
15056
+ archived: "archived";
15020
15057
  running: "running";
15021
15058
  idle: "idle";
15022
15059
  waiting_on_interaction: "waiting_on_interaction";
15023
- archived: "archived";
15024
15060
  }>;
15025
15061
  last_activity_at: z.ZodISODateTime;
15026
15062
  }, z.core.$strip>>;
@@ -15174,8 +15210,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15174
15210
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15175
15211
  }, z.core.$strip>>;
15176
15212
  type: z.ZodOptional<z.ZodEnum<{
15177
- custom: "custom";
15178
15213
  built_in: "built_in";
15214
+ custom: "custom";
15179
15215
  }>>;
15180
15216
  }, z.core.$strip>>>>;
15181
15217
  version: z.ZodOptional<z.ZodEnum<{
@@ -15314,8 +15350,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15314
15350
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15315
15351
  }, z.core.$strip>>;
15316
15352
  type: z.ZodOptional<z.ZodEnum<{
15317
- custom: "custom";
15318
15353
  built_in: "built_in";
15354
+ custom: "custom";
15319
15355
  }>>;
15320
15356
  }, z.core.$strip>>>>;
15321
15357
  version: z.ZodOptional<z.ZodEnum<{
@@ -15343,8 +15379,8 @@ declare const zCreateAgentBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObje
15343
15379
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15344
15380
  }, z.core.$strip>>;
15345
15381
  type: z.ZodOptional<z.ZodEnum<{
15346
- custom: "custom";
15347
15382
  built_in: "built_in";
15383
+ custom: "custom";
15348
15384
  }>>;
15349
15385
  }, z.core.$strip>>>;
15350
15386
  subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -15382,8 +15418,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15382
15418
  project_id: z.ZodString;
15383
15419
  agent_profile_id: z.ZodOptional<z.ZodString>;
15384
15420
  state: z.ZodEnum<{
15385
- archived: "archived";
15386
15421
  active: "active";
15422
+ archived: "archived";
15387
15423
  }>;
15388
15424
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15389
15425
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15401,10 +15437,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15401
15437
  subagent_key: z.ZodOptional<z.ZodString>;
15402
15438
  activity: z.ZodOptional<z.ZodObject<{
15403
15439
  state: z.ZodEnum<{
15440
+ archived: "archived";
15404
15441
  running: "running";
15405
15442
  idle: "idle";
15406
15443
  waiting_on_interaction: "waiting_on_interaction";
15407
- archived: "archived";
15408
15444
  }>;
15409
15445
  last_activity_at: z.ZodISODateTime;
15410
15446
  }, z.core.$strip>>;
@@ -15434,8 +15470,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15434
15470
  project_id: z.ZodString;
15435
15471
  agent_profile_id: z.ZodOptional<z.ZodString>;
15436
15472
  state: z.ZodEnum<{
15437
- archived: "archived";
15438
15473
  active: "active";
15474
+ archived: "archived";
15439
15475
  }>;
15440
15476
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15441
15477
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15453,10 +15489,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15453
15489
  subagent_key: z.ZodOptional<z.ZodString>;
15454
15490
  activity: z.ZodOptional<z.ZodObject<{
15455
15491
  state: z.ZodEnum<{
15492
+ archived: "archived";
15456
15493
  running: "running";
15457
15494
  idle: "idle";
15458
15495
  waiting_on_interaction: "waiting_on_interaction";
15459
- archived: "archived";
15460
15496
  }>;
15461
15497
  last_activity_at: z.ZodISODateTime;
15462
15498
  }, z.core.$strip>>;
@@ -15552,8 +15588,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
15552
15588
  integration_id: z.ZodOptional<z.ZodString>;
15553
15589
  enabled: z.ZodBoolean;
15554
15590
  type: z.ZodOptional<z.ZodEnum<{
15555
- custom: "custom";
15556
15591
  built_in: "built_in";
15592
+ custom: "custom";
15557
15593
  }>>;
15558
15594
  permission: z.ZodObject<{
15559
15595
  mode: z.ZodString;
@@ -15729,8 +15765,8 @@ declare const zGetAgentResponse2: z.ZodObject<{
15729
15765
  project_id: z.ZodString;
15730
15766
  agent_profile_id: z.ZodOptional<z.ZodString>;
15731
15767
  state: z.ZodEnum<{
15732
- archived: "archived";
15733
15768
  active: "active";
15769
+ archived: "archived";
15734
15770
  }>;
15735
15771
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15736
15772
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15748,10 +15784,10 @@ declare const zGetAgentResponse2: z.ZodObject<{
15748
15784
  subagent_key: z.ZodOptional<z.ZodString>;
15749
15785
  activity: z.ZodOptional<z.ZodObject<{
15750
15786
  state: z.ZodEnum<{
15787
+ archived: "archived";
15751
15788
  running: "running";
15752
15789
  idle: "idle";
15753
15790
  waiting_on_interaction: "waiting_on_interaction";
15754
- archived: "archived";
15755
15791
  }>;
15756
15792
  last_activity_at: z.ZodISODateTime;
15757
15793
  }, z.core.$strip>>;
@@ -15857,8 +15893,8 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15857
15893
  project_id: z.ZodString;
15858
15894
  agent_profile_id: z.ZodOptional<z.ZodString>;
15859
15895
  state: z.ZodEnum<{
15860
- archived: "archived";
15861
15896
  active: "active";
15897
+ archived: "archived";
15862
15898
  }>;
15863
15899
  name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
15864
15900
  integration_target: z.ZodOptional<z.ZodObject<{
@@ -15876,10 +15912,10 @@ declare const zArchiveAgentResponse: z.ZodObject<{
15876
15912
  subagent_key: z.ZodOptional<z.ZodString>;
15877
15913
  activity: z.ZodOptional<z.ZodObject<{
15878
15914
  state: z.ZodEnum<{
15915
+ archived: "archived";
15879
15916
  running: "running";
15880
15917
  idle: "idle";
15881
15918
  waiting_on_interaction: "waiting_on_interaction";
15882
- archived: "archived";
15883
15919
  }>;
15884
15920
  last_activity_at: z.ZodISODateTime;
15885
15921
  }, z.core.$strip>>;
@@ -16027,8 +16063,8 @@ declare const zUpdateAgentConfigBody: z.ZodObject<{
16027
16063
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16028
16064
  }, z.core.$strip>>;
16029
16065
  type: z.ZodOptional<z.ZodEnum<{
16030
- custom: "custom";
16031
16066
  built_in: "built_in";
16067
+ custom: "custom";
16032
16068
  }>>;
16033
16069
  }, z.core.$strip>>>>;
16034
16070
  version: z.ZodOptional<z.ZodEnum<{
@@ -16126,8 +16162,8 @@ declare const zUpdateAgentConfigResponse2: z.ZodObject<{
16126
16162
  integration_id: z.ZodOptional<z.ZodString>;
16127
16163
  enabled: z.ZodBoolean;
16128
16164
  type: z.ZodOptional<z.ZodEnum<{
16129
- custom: "custom";
16130
16165
  built_in: "built_in";
16166
+ custom: "custom";
16131
16167
  }>>;
16132
16168
  permission: z.ZodObject<{
16133
16169
  mode: z.ZodString;
@@ -16372,9 +16408,9 @@ declare const zListToolCallsQuery: z.ZodObject<{
16372
16408
  waiting: "waiting";
16373
16409
  }>>;
16374
16410
  type: z.ZodOptional<z.ZodEnum<{
16375
- custom: "custom";
16376
- built_in: "built_in";
16377
16411
  mcp: "mcp";
16412
+ built_in: "built_in";
16413
+ custom: "custom";
16378
16414
  }>>;
16379
16415
  include_subagents: z.ZodOptional<z.ZodBoolean>;
16380
16416
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -16392,9 +16428,9 @@ declare const zListToolCallsResponse2: z.ZodObject<{
16392
16428
  name: z.ZodString;
16393
16429
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16394
16430
  type: z.ZodEnum<{
16395
- custom: "custom";
16396
- built_in: "built_in";
16397
16431
  mcp: "mcp";
16432
+ built_in: "built_in";
16433
+ custom: "custom";
16398
16434
  }>;
16399
16435
  state: z.ZodEnum<{
16400
16436
  completed: "completed";
@@ -16476,9 +16512,9 @@ declare const zSubmitToolCallResultResponse2: z.ZodObject<{
16476
16512
  name: z.ZodString;
16477
16513
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
16478
16514
  type: z.ZodEnum<{
16479
- custom: "custom";
16480
- built_in: "built_in";
16481
16515
  mcp: "mcp";
16516
+ built_in: "built_in";
16517
+ custom: "custom";
16482
16518
  }>;
16483
16519
  state: z.ZodEnum<{
16484
16520
  completed: "completed";
@@ -16588,12 +16624,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16588
16624
  sequence: z.ZodInt;
16589
16625
  model_call_context_id: z.ZodString;
16590
16626
  stop_reason: z.ZodEnum<{
16591
- error: "error";
16592
16627
  end_turn: "end_turn";
16593
16628
  tool_use: "tool_use";
16594
16629
  max_tokens: "max_tokens";
16595
16630
  refusal: "refusal";
16596
16631
  content_filter: "content_filter";
16632
+ error: "error";
16597
16633
  }>;
16598
16634
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16599
16635
  text: z.ZodString;
@@ -16611,9 +16647,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16611
16647
  }, z.core.$strip>, z.ZodObject<{
16612
16648
  tool_call_id: z.ZodString;
16613
16649
  tool_type: z.ZodEnum<{
16614
- custom: "custom";
16615
- built_in: "built_in";
16616
16650
  mcp: "mcp";
16651
+ built_in: "built_in";
16652
+ custom: "custom";
16617
16653
  }>;
16618
16654
  name: z.ZodString;
16619
16655
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16728,12 +16764,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16728
16764
  sequence: z.ZodInt;
16729
16765
  model_call_context_id: z.ZodString;
16730
16766
  stop_reason: z.ZodEnum<{
16731
- error: "error";
16732
16767
  end_turn: "end_turn";
16733
16768
  tool_use: "tool_use";
16734
16769
  max_tokens: "max_tokens";
16735
16770
  refusal: "refusal";
16736
16771
  content_filter: "content_filter";
16772
+ error: "error";
16737
16773
  }>;
16738
16774
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16739
16775
  text: z.ZodString;
@@ -16751,9 +16787,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16751
16787
  }, z.core.$strip>, z.ZodObject<{
16752
16788
  tool_call_id: z.ZodString;
16753
16789
  tool_type: z.ZodEnum<{
16754
- custom: "custom";
16755
- built_in: "built_in";
16756
16790
  mcp: "mcp";
16791
+ built_in: "built_in";
16792
+ custom: "custom";
16757
16793
  }>;
16758
16794
  name: z.ZodString;
16759
16795
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -16868,12 +16904,12 @@ declare const zListTurnsResponse: z.ZodObject<{
16868
16904
  sequence: z.ZodInt;
16869
16905
  model_call_context_id: z.ZodString;
16870
16906
  stop_reason: z.ZodEnum<{
16871
- error: "error";
16872
16907
  end_turn: "end_turn";
16873
16908
  tool_use: "tool_use";
16874
16909
  max_tokens: "max_tokens";
16875
16910
  refusal: "refusal";
16876
16911
  content_filter: "content_filter";
16912
+ error: "error";
16877
16913
  }>;
16878
16914
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
16879
16915
  text: z.ZodString;
@@ -16891,9 +16927,9 @@ declare const zListTurnsResponse: z.ZodObject<{
16891
16927
  }, z.core.$strip>, z.ZodObject<{
16892
16928
  tool_call_id: z.ZodString;
16893
16929
  tool_type: z.ZodEnum<{
16894
- custom: "custom";
16895
- built_in: "built_in";
16896
16930
  mcp: "mcp";
16931
+ built_in: "built_in";
16932
+ custom: "custom";
16897
16933
  }>;
16898
16934
  name: z.ZodString;
16899
16935
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17027,12 +17063,12 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17027
17063
  sequence: z.ZodInt;
17028
17064
  model_call_context_id: z.ZodString;
17029
17065
  stop_reason: z.ZodEnum<{
17030
- error: "error";
17031
17066
  end_turn: "end_turn";
17032
17067
  tool_use: "tool_use";
17033
17068
  max_tokens: "max_tokens";
17034
17069
  refusal: "refusal";
17035
17070
  content_filter: "content_filter";
17071
+ error: "error";
17036
17072
  }>;
17037
17073
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17038
17074
  text: z.ZodString;
@@ -17050,9 +17086,9 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
17050
17086
  }, z.core.$strip>, z.ZodObject<{
17051
17087
  tool_call_id: z.ZodString;
17052
17088
  tool_type: z.ZodEnum<{
17053
- custom: "custom";
17054
- built_in: "built_in";
17055
17089
  mcp: "mcp";
17090
+ built_in: "built_in";
17091
+ custom: "custom";
17056
17092
  }>;
17057
17093
  name: z.ZodString;
17058
17094
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17183,12 +17219,12 @@ declare const zListEventsResponse: z.ZodObject<{
17183
17219
  sequence: z.ZodInt;
17184
17220
  model_call_context_id: z.ZodString;
17185
17221
  stop_reason: z.ZodEnum<{
17186
- error: "error";
17187
17222
  end_turn: "end_turn";
17188
17223
  tool_use: "tool_use";
17189
17224
  max_tokens: "max_tokens";
17190
17225
  refusal: "refusal";
17191
17226
  content_filter: "content_filter";
17227
+ error: "error";
17192
17228
  }>;
17193
17229
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17194
17230
  text: z.ZodString;
@@ -17206,9 +17242,9 @@ declare const zListEventsResponse: z.ZodObject<{
17206
17242
  }, z.core.$strip>, z.ZodObject<{
17207
17243
  tool_call_id: z.ZodString;
17208
17244
  tool_type: z.ZodEnum<{
17209
- custom: "custom";
17210
- built_in: "built_in";
17211
17245
  mcp: "mcp";
17246
+ built_in: "built_in";
17247
+ custom: "custom";
17212
17248
  }>;
17213
17249
  name: z.ZodString;
17214
17250
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17342,12 +17378,12 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17342
17378
  sequence: z.ZodInt;
17343
17379
  model_call_context_id: z.ZodString;
17344
17380
  stop_reason: z.ZodEnum<{
17345
- error: "error";
17346
17381
  end_turn: "end_turn";
17347
17382
  tool_use: "tool_use";
17348
17383
  max_tokens: "max_tokens";
17349
17384
  refusal: "refusal";
17350
17385
  content_filter: "content_filter";
17386
+ error: "error";
17351
17387
  }>;
17352
17388
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17353
17389
  text: z.ZodString;
@@ -17365,9 +17401,9 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17365
17401
  }, z.core.$strip>, z.ZodObject<{
17366
17402
  tool_call_id: z.ZodString;
17367
17403
  tool_type: z.ZodEnum<{
17368
- custom: "custom";
17369
- built_in: "built_in";
17370
17404
  mcp: "mcp";
17405
+ built_in: "built_in";
17406
+ custom: "custom";
17371
17407
  }>;
17372
17408
  name: z.ZodString;
17373
17409
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -17495,7 +17531,6 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17495
17531
  }, z.core.$strip>, z.ZodObject<{
17496
17532
  stop: z.ZodObject<{
17497
17533
  reason: z.ZodEnum<{
17498
- unknown: "unknown";
17499
17534
  end_turn: "end_turn";
17500
17535
  tool_use: "tool_use";
17501
17536
  max_tokens: "max_tokens";
@@ -17503,6 +17538,7 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
17503
17538
  content_filter: "content_filter";
17504
17539
  pause: "pause";
17505
17540
  context_window: "context_window";
17541
+ unknown: "unknown";
17506
17542
  }>;
17507
17543
  usage: z.ZodObject<{
17508
17544
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -17594,12 +17630,12 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17594
17630
  sequence: z.ZodInt;
17595
17631
  model_call_context_id: z.ZodString;
17596
17632
  stop_reason: z.ZodEnum<{
17597
- error: "error";
17598
17633
  end_turn: "end_turn";
17599
17634
  tool_use: "tool_use";
17600
17635
  max_tokens: "max_tokens";
17601
17636
  refusal: "refusal";
17602
17637
  content_filter: "content_filter";
17638
+ error: "error";
17603
17639
  }>;
17604
17640
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
17605
17641
  text: z.ZodString;
@@ -17617,9 +17653,9 @@ declare const zCancelAgentResponse2: z.ZodObject<{
17617
17653
  }, z.core.$strip>, z.ZodObject<{
17618
17654
  tool_call_id: z.ZodString;
17619
17655
  tool_type: z.ZodEnum<{
17620
- custom: "custom";
17621
- built_in: "built_in";
17622
17656
  mcp: "mcp";
17657
+ built_in: "built_in";
17658
+ custom: "custom";
17623
17659
  }>;
17624
17660
  name: z.ZodString;
17625
17661
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -18015,9 +18051,9 @@ declare const zListVisibleProjectMachinesResponse: z.ZodObject<{
18015
18051
  description: z.ZodString;
18016
18052
  provider: z.ZodString;
18017
18053
  lifecycle_state: z.ZodEnum<{
18054
+ active: "active";
18018
18055
  provisioning: "provisioning";
18019
18056
  provision_failed: "provision_failed";
18020
- active: "active";
18021
18057
  deleting: "deleting";
18022
18058
  delete_failed: "delete_failed";
18023
18059
  deleted: "deleted";
@@ -18098,9 +18134,9 @@ declare const zListProjectMachineGrantsResponse2: z.ZodObject<{
18098
18134
  description: z.ZodString;
18099
18135
  provider: z.ZodString;
18100
18136
  lifecycle_state: z.ZodEnum<{
18137
+ active: "active";
18101
18138
  provisioning: "provisioning";
18102
18139
  provision_failed: "provision_failed";
18103
- active: "active";
18104
18140
  deleting: "deleting";
18105
18141
  delete_failed: "delete_failed";
18106
18142
  deleted: "deleted";
@@ -18161,9 +18197,9 @@ declare const zCreateProjectMachineGrantResponse2: z.ZodObject<{
18161
18197
  description: z.ZodString;
18162
18198
  provider: z.ZodString;
18163
18199
  lifecycle_state: z.ZodEnum<{
18200
+ active: "active";
18164
18201
  provisioning: "provisioning";
18165
18202
  provision_failed: "provision_failed";
18166
- active: "active";
18167
18203
  deleting: "deleting";
18168
18204
  delete_failed: "delete_failed";
18169
18205
  deleted: "deleted";
@@ -18233,8 +18269,8 @@ declare const zListProjectAvailableSecretsQuery: z.ZodObject<{
18233
18269
  user: "user";
18234
18270
  }>>;
18235
18271
  availability_source: z.ZodOptional<z.ZodEnum<{
18236
- grant: "grant";
18237
18272
  direct: "direct";
18273
+ grant: "grant";
18238
18274
  }>>;
18239
18275
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18240
18276
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -18468,9 +18504,9 @@ declare const zListVisibleMachinesResponse2: z.ZodObject<{
18468
18504
  description: z.ZodString;
18469
18505
  provider: z.ZodString;
18470
18506
  lifecycle_state: z.ZodEnum<{
18507
+ active: "active";
18471
18508
  provisioning: "provisioning";
18472
18509
  provision_failed: "provision_failed";
18473
- active: "active";
18474
18510
  deleting: "deleting";
18475
18511
  delete_failed: "delete_failed";
18476
18512
  deleted: "deleted";
@@ -18532,9 +18568,9 @@ declare const zCreateMachineResponse: z.ZodObject<{
18532
18568
  description: z.ZodString;
18533
18569
  provider: z.ZodString;
18534
18570
  lifecycle_state: z.ZodEnum<{
18571
+ active: "active";
18535
18572
  provisioning: "provisioning";
18536
18573
  provision_failed: "provision_failed";
18537
- active: "active";
18538
18574
  deleting: "deleting";
18539
18575
  delete_failed: "delete_failed";
18540
18576
  deleted: "deleted";
@@ -18604,9 +18640,9 @@ declare const zConnectByoMachineResponse2: z.ZodObject<{
18604
18640
  description: z.ZodString;
18605
18641
  provider: z.ZodString;
18606
18642
  lifecycle_state: z.ZodEnum<{
18643
+ active: "active";
18607
18644
  provisioning: "provisioning";
18608
18645
  provision_failed: "provision_failed";
18609
- active: "active";
18610
18646
  deleting: "deleting";
18611
18647
  delete_failed: "delete_failed";
18612
18648
  deleted: "deleted";
@@ -18702,9 +18738,9 @@ declare const zGetMachineResponse: z.ZodObject<{
18702
18738
  description: z.ZodString;
18703
18739
  provider: z.ZodString;
18704
18740
  lifecycle_state: z.ZodEnum<{
18741
+ active: "active";
18705
18742
  provisioning: "provisioning";
18706
18743
  provision_failed: "provision_failed";
18707
- active: "active";
18708
18744
  deleting: "deleting";
18709
18745
  delete_failed: "delete_failed";
18710
18746
  deleted: "deleted";
@@ -18769,9 +18805,9 @@ declare const zUpdateMachineResponse: z.ZodObject<{
18769
18805
  description: z.ZodString;
18770
18806
  provider: z.ZodString;
18771
18807
  lifecycle_state: z.ZodEnum<{
18808
+ active: "active";
18772
18809
  provisioning: "provisioning";
18773
18810
  provision_failed: "provision_failed";
18774
- active: "active";
18775
18811
  deleting: "deleting";
18776
18812
  delete_failed: "delete_failed";
18777
18813
  deleted: "deleted";