@omnara/sdk 0.1.18 → 0.1.20

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.
@@ -56,9 +56,9 @@ declare const zError: z.ZodObject<{
56
56
  request_too_large: "request_too_large";
57
57
  unsupported_media_type: "unsupported_media_type";
58
58
  unprocessable: "unprocessable";
59
+ upstream_unavailable: "upstream_unavailable";
59
60
  rate_limited: "rate_limited";
60
61
  internal_error: "internal_error";
61
- upstream_error: "upstream_error";
62
62
  service_unavailable: "service_unavailable";
63
63
  idempotency_key_conflict: "idempotency_key_conflict";
64
64
  state_transition_conflict: "state_transition_conflict";
@@ -84,6 +84,7 @@ declare const zClientErrorCode: z.ZodEnum<{
84
84
  request_too_large: "request_too_large";
85
85
  unsupported_media_type: "unsupported_media_type";
86
86
  unprocessable: "unprocessable";
87
+ upstream_unavailable: "upstream_unavailable";
87
88
  rate_limited: "rate_limited";
88
89
  idempotency_key_conflict: "idempotency_key_conflict";
89
90
  state_transition_conflict: "state_transition_conflict";
@@ -98,7 +99,6 @@ declare const zClientErrorCode: z.ZodEnum<{
98
99
  */
99
100
  declare const zServerErrorCode: z.ZodEnum<{
100
101
  internal_error: "internal_error";
101
- upstream_error: "upstream_error";
102
102
  service_unavailable: "service_unavailable";
103
103
  authentication_unavailable: "authentication_unavailable";
104
104
  }>;
@@ -1247,14 +1247,14 @@ declare const zMcpServerAuthRequiredError: z.ZodObject<{
1247
1247
  code: z.ZodEnum<{
1248
1248
  unprocessable: "unprocessable";
1249
1249
  }>;
1250
- auth: z.ZodObject<{
1250
+ auth: z.ZodOptional<z.ZodObject<{
1251
1251
  type: z.ZodEnum<{
1252
1252
  bearer: "bearer";
1253
1253
  oauth: "oauth";
1254
1254
  }>;
1255
1255
  scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1256
1256
  authorization_server: z.ZodOptional<z.ZodString>;
1257
- }, z.core.$strip>;
1257
+ }, z.core.$strip>>;
1258
1258
  }, z.core.$strip>;
1259
1259
  declare const zMcpServerInfo: z.ZodObject<{
1260
1260
  name: z.ZodString;
@@ -1379,8 +1379,8 @@ declare const zCompiledMachineSource: z.ZodObject<{
1379
1379
  declare const zCompiledTool: z.ZodObject<{
1380
1380
  enabled: z.ZodBoolean;
1381
1381
  type: z.ZodOptional<z.ZodEnum<{
1382
- custom: "custom";
1383
1382
  built_in: "built_in";
1383
+ custom: "custom";
1384
1384
  }>>;
1385
1385
  permission: z.ZodObject<{
1386
1386
  mode: z.ZodString;
@@ -1596,8 +1596,8 @@ declare const zCompiledAgentConfig: z.ZodObject<{
1596
1596
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1597
1597
  enabled: z.ZodBoolean;
1598
1598
  type: z.ZodOptional<z.ZodEnum<{
1599
- custom: "custom";
1600
1599
  built_in: "built_in";
1600
+ custom: "custom";
1601
1601
  }>>;
1602
1602
  permission: z.ZodObject<{
1603
1603
  mode: z.ZodString;
@@ -1805,8 +1805,8 @@ declare const zAgentConfig: z.ZodObject<{
1805
1805
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1806
1806
  enabled: z.ZodBoolean;
1807
1807
  type: z.ZodOptional<z.ZodEnum<{
1808
- custom: "custom";
1809
1808
  built_in: "built_in";
1809
+ custom: "custom";
1810
1810
  }>>;
1811
1811
  permission: z.ZodObject<{
1812
1812
  mode: z.ZodString;
@@ -2045,8 +2045,8 @@ declare const zAgentProfile: z.ZodObject<{
2045
2045
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2046
2046
  enabled: z.ZodBoolean;
2047
2047
  type: z.ZodOptional<z.ZodEnum<{
2048
- custom: "custom";
2049
2048
  built_in: "built_in";
2049
+ custom: "custom";
2050
2050
  }>>;
2051
2051
  permission: z.ZodObject<{
2052
2052
  mode: z.ZodString;
@@ -2355,10 +2355,10 @@ declare const zCreateAgentRequest: z.ZodObject<{
2355
2355
  }, z.core.$strip>;
2356
2356
  declare const zAgentActivity: z.ZodObject<{
2357
2357
  state: z.ZodEnum<{
2358
+ archived: "archived";
2358
2359
  running: "running";
2359
2360
  idle: "idle";
2360
2361
  waiting_on_interaction: "waiting_on_interaction";
2361
- archived: "archived";
2362
2362
  }>;
2363
2363
  last_activity_at: z.ZodISODateTime;
2364
2364
  }, z.core.$strip>;
@@ -2399,10 +2399,10 @@ declare const zAgent: z.ZodObject<{
2399
2399
  subagent_key: z.ZodOptional<z.ZodString>;
2400
2400
  activity: z.ZodOptional<z.ZodObject<{
2401
2401
  state: z.ZodEnum<{
2402
+ archived: "archived";
2402
2403
  running: "running";
2403
2404
  idle: "idle";
2404
2405
  waiting_on_interaction: "waiting_on_interaction";
2405
- archived: "archived";
2406
2406
  }>;
2407
2407
  last_activity_at: z.ZodISODateTime;
2408
2408
  }, z.core.$strip>>;
@@ -2451,10 +2451,10 @@ declare const zCurrentAgentResponse: z.ZodObject<{
2451
2451
  subagent_key: z.ZodOptional<z.ZodString>;
2452
2452
  activity: z.ZodOptional<z.ZodObject<{
2453
2453
  state: z.ZodEnum<{
2454
+ archived: "archived";
2454
2455
  running: "running";
2455
2456
  idle: "idle";
2456
2457
  waiting_on_interaction: "waiting_on_interaction";
2457
- archived: "archived";
2458
2458
  }>;
2459
2459
  last_activity_at: z.ZodISODateTime;
2460
2460
  }, z.core.$strip>>;
@@ -2490,10 +2490,10 @@ declare const zGetAgentResponse: z.ZodObject<{
2490
2490
  subagent_key: z.ZodOptional<z.ZodString>;
2491
2491
  activity: z.ZodOptional<z.ZodObject<{
2492
2492
  state: z.ZodEnum<{
2493
+ archived: "archived";
2493
2494
  running: "running";
2494
2495
  idle: "idle";
2495
2496
  waiting_on_interaction: "waiting_on_interaction";
2496
- archived: "archived";
2497
2497
  }>;
2498
2498
  last_activity_at: z.ZodISODateTime;
2499
2499
  }, z.core.$strip>>;
@@ -2544,10 +2544,10 @@ declare const zListAgentsResponse: z.ZodObject<{
2544
2544
  subagent_key: z.ZodOptional<z.ZodString>;
2545
2545
  activity: z.ZodOptional<z.ZodObject<{
2546
2546
  state: z.ZodEnum<{
2547
+ archived: "archived";
2547
2548
  running: "running";
2548
2549
  idle: "idle";
2549
2550
  waiting_on_interaction: "waiting_on_interaction";
2550
- archived: "archived";
2551
2551
  }>;
2552
2552
  last_activity_at: z.ZodISODateTime;
2553
2553
  }, z.core.$strip>>;
@@ -2579,7 +2579,6 @@ declare const zAgentSequenceCursor: z.ZodInt;
2579
2579
  */
2580
2580
  declare const zAgentCount: z.ZodInt;
2581
2581
  declare const zModelStopReason: z.ZodEnum<{
2582
- unknown: "unknown";
2583
2582
  end_turn: "end_turn";
2584
2583
  tool_use: "tool_use";
2585
2584
  max_tokens: "max_tokens";
@@ -2587,17 +2586,18 @@ declare const zModelStopReason: z.ZodEnum<{
2587
2586
  content_filter: "content_filter";
2588
2587
  pause: "pause";
2589
2588
  context_window: "context_window";
2589
+ unknown: "unknown";
2590
2590
  }>;
2591
2591
  /**
2592
2592
  * Stop reasons admitted as durable model-output events.
2593
2593
  */
2594
2594
  declare const zModelOutputStopReason: z.ZodEnum<{
2595
- error: "error";
2596
2595
  end_turn: "end_turn";
2597
2596
  tool_use: "tool_use";
2598
2597
  max_tokens: "max_tokens";
2599
2598
  refusal: "refusal";
2600
2599
  content_filter: "content_filter";
2600
+ error: "error";
2601
2601
  }>;
2602
2602
  declare const zAgentInputDeliveryMode: z.ZodEnum<{
2603
2603
  queued: "queued";
@@ -2894,10 +2894,10 @@ declare const zLaunchAgentResponse: z.ZodObject<{
2894
2894
  subagent_key: z.ZodOptional<z.ZodString>;
2895
2895
  activity: z.ZodOptional<z.ZodObject<{
2896
2896
  state: z.ZodEnum<{
2897
+ archived: "archived";
2897
2898
  running: "running";
2898
2899
  idle: "idle";
2899
2900
  waiting_on_interaction: "waiting_on_interaction";
2900
- archived: "archived";
2901
2901
  }>;
2902
2902
  last_activity_at: z.ZodISODateTime;
2903
2903
  }, z.core.$strip>>;
@@ -2977,8 +2977,8 @@ declare const zLaunchAgentResponse: z.ZodObject<{
2977
2977
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2978
2978
  enabled: z.ZodBoolean;
2979
2979
  type: z.ZodOptional<z.ZodEnum<{
2980
- custom: "custom";
2981
2980
  built_in: "built_in";
2981
+ custom: "custom";
2982
2982
  }>>;
2983
2983
  permission: z.ZodObject<{
2984
2984
  mode: z.ZodString;
@@ -3198,8 +3198,8 @@ declare const zUpdateAgentConfigResponse: z.ZodObject<{
3198
3198
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3199
3199
  enabled: z.ZodBoolean;
3200
3200
  type: z.ZodOptional<z.ZodEnum<{
3201
- custom: "custom";
3202
3201
  built_in: "built_in";
3202
+ custom: "custom";
3203
3203
  }>>;
3204
3204
  permission: z.ZodObject<{
3205
3205
  mode: z.ZodString;
@@ -3366,8 +3366,8 @@ declare const zAgentInputEnvelope: z.ZodObject<{
3366
3366
  * Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
3367
3367
  */
3368
3368
  declare const zToolCallType: z.ZodEnum<{
3369
- custom: "custom";
3370
3369
  built_in: "built_in";
3370
+ custom: "custom";
3371
3371
  mcp: "mcp";
3372
3372
  }>;
3373
3373
  declare const zModelToolCallContentBlock: z.ZodObject<{
@@ -3376,8 +3376,8 @@ declare const zModelToolCallContentBlock: z.ZodObject<{
3376
3376
  }>;
3377
3377
  tool_call_id: z.ZodString;
3378
3378
  tool_type: z.ZodEnum<{
3379
- custom: "custom";
3380
3379
  built_in: "built_in";
3380
+ custom: "custom";
3381
3381
  mcp: "mcp";
3382
3382
  }>;
3383
3383
  name: z.ZodString;
@@ -3400,8 +3400,8 @@ declare const zModelOutputContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
3400
3400
  }, z.core.$strip>, z.ZodObject<{
3401
3401
  tool_call_id: z.ZodString;
3402
3402
  tool_type: z.ZodEnum<{
3403
- custom: "custom";
3404
3403
  built_in: "built_in";
3404
+ custom: "custom";
3405
3405
  mcp: "mcp";
3406
3406
  }>;
3407
3407
  name: z.ZodString;
@@ -3444,8 +3444,8 @@ declare const zToolCall: z.ZodObject<{
3444
3444
  name: z.ZodString;
3445
3445
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3446
3446
  type: z.ZodEnum<{
3447
- custom: "custom";
3448
3447
  built_in: "built_in";
3448
+ custom: "custom";
3449
3449
  mcp: "mcp";
3450
3450
  }>;
3451
3451
  state: z.ZodEnum<{
@@ -3489,8 +3489,8 @@ declare const zListToolCallsResponse: z.ZodObject<{
3489
3489
  name: z.ZodString;
3490
3490
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3491
3491
  type: z.ZodEnum<{
3492
- custom: "custom";
3493
3492
  built_in: "built_in";
3493
+ custom: "custom";
3494
3494
  mcp: "mcp";
3495
3495
  }>;
3496
3496
  state: z.ZodEnum<{
@@ -3590,8 +3590,8 @@ declare const zSubmitToolCallResultResponse: z.ZodObject<{
3590
3590
  name: z.ZodString;
3591
3591
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3592
3592
  type: z.ZodEnum<{
3593
- custom: "custom";
3594
3593
  built_in: "built_in";
3594
+ custom: "custom";
3595
3595
  mcp: "mcp";
3596
3596
  }>;
3597
3597
  state: z.ZodEnum<{
@@ -3943,12 +3943,12 @@ declare const zModelOutputEvent: z.ZodObject<{
3943
3943
  }>;
3944
3944
  model_call_context_id: z.ZodString;
3945
3945
  stop_reason: z.ZodEnum<{
3946
- error: "error";
3947
3946
  end_turn: "end_turn";
3948
3947
  tool_use: "tool_use";
3949
3948
  max_tokens: "max_tokens";
3950
3949
  refusal: "refusal";
3951
3950
  content_filter: "content_filter";
3951
+ error: "error";
3952
3952
  }>;
3953
3953
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3954
3954
  text: z.ZodString;
@@ -3966,8 +3966,8 @@ declare const zModelOutputEvent: z.ZodObject<{
3966
3966
  }, z.core.$strip>, z.ZodObject<{
3967
3967
  tool_call_id: z.ZodString;
3968
3968
  tool_type: z.ZodEnum<{
3969
- custom: "custom";
3970
3969
  built_in: "built_in";
3970
+ custom: "custom";
3971
3971
  mcp: "mcp";
3972
3972
  }>;
3973
3973
  name: z.ZodString;
@@ -4008,12 +4008,12 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
4008
4008
  }>;
4009
4009
  model_call_context_id: z.ZodString;
4010
4010
  stop_reason: z.ZodEnum<{
4011
- error: "error";
4012
4011
  end_turn: "end_turn";
4013
4012
  tool_use: "tool_use";
4014
4013
  max_tokens: "max_tokens";
4015
4014
  refusal: "refusal";
4016
4015
  content_filter: "content_filter";
4016
+ error: "error";
4017
4017
  }>;
4018
4018
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4019
4019
  text: z.ZodString;
@@ -4031,8 +4031,8 @@ declare const zEventWebhookModelOutputEvent: z.ZodObject<{
4031
4031
  }, z.core.$strip>, z.ZodObject<{
4032
4032
  tool_call_id: z.ZodString;
4033
4033
  tool_type: z.ZodEnum<{
4034
- custom: "custom";
4035
4034
  built_in: "built_in";
4035
+ custom: "custom";
4036
4036
  mcp: "mcp";
4037
4037
  }>;
4038
4038
  name: z.ZodString;
@@ -4114,12 +4114,12 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
4114
4114
  }>;
4115
4115
  model_call_context_id: z.ZodString;
4116
4116
  stop_reason: z.ZodEnum<{
4117
- error: "error";
4118
4117
  end_turn: "end_turn";
4119
4118
  tool_use: "tool_use";
4120
4119
  max_tokens: "max_tokens";
4121
4120
  refusal: "refusal";
4122
4121
  content_filter: "content_filter";
4122
+ error: "error";
4123
4123
  }>;
4124
4124
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4125
4125
  text: z.ZodString;
@@ -4137,8 +4137,8 @@ declare const zEventWebhookPayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
4137
4137
  }, z.core.$strip>, z.ZodObject<{
4138
4138
  tool_call_id: z.ZodString;
4139
4139
  tool_type: z.ZodEnum<{
4140
- custom: "custom";
4141
4140
  built_in: "built_in";
4141
+ custom: "custom";
4142
4142
  mcp: "mcp";
4143
4143
  }>;
4144
4144
  name: z.ZodString;
@@ -4279,12 +4279,12 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
4279
4279
  sequence: z.ZodInt;
4280
4280
  model_call_context_id: z.ZodString;
4281
4281
  stop_reason: z.ZodEnum<{
4282
- error: "error";
4283
4282
  end_turn: "end_turn";
4284
4283
  tool_use: "tool_use";
4285
4284
  max_tokens: "max_tokens";
4286
4285
  refusal: "refusal";
4287
4286
  content_filter: "content_filter";
4287
+ error: "error";
4288
4288
  }>;
4289
4289
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4290
4290
  text: z.ZodString;
@@ -4302,8 +4302,8 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
4302
4302
  }, z.core.$strip>, z.ZodObject<{
4303
4303
  tool_call_id: z.ZodString;
4304
4304
  tool_type: z.ZodEnum<{
4305
- custom: "custom";
4306
4305
  built_in: "built_in";
4306
+ custom: "custom";
4307
4307
  mcp: "mcp";
4308
4308
  }>;
4309
4309
  name: z.ZodString;
@@ -4379,7 +4379,6 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
4379
4379
  }>;
4380
4380
  stop: z.ZodObject<{
4381
4381
  reason: z.ZodEnum<{
4382
- unknown: "unknown";
4383
4382
  end_turn: "end_turn";
4384
4383
  tool_use: "tool_use";
4385
4384
  max_tokens: "max_tokens";
@@ -4387,6 +4386,7 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
4387
4386
  content_filter: "content_filter";
4388
4387
  pause: "pause";
4389
4388
  context_window: "context_window";
4389
+ unknown: "unknown";
4390
4390
  }>;
4391
4391
  usage: z.ZodObject<{
4392
4392
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4436,7 +4436,6 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4436
4436
  }, z.core.$strip>, z.ZodObject<{
4437
4437
  stop: z.ZodObject<{
4438
4438
  reason: z.ZodEnum<{
4439
- unknown: "unknown";
4440
4439
  end_turn: "end_turn";
4441
4440
  tool_use: "tool_use";
4442
4441
  max_tokens: "max_tokens";
@@ -4444,6 +4443,7 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
4444
4443
  content_filter: "content_filter";
4445
4444
  pause: "pause";
4446
4445
  context_window: "context_window";
4446
+ unknown: "unknown";
4447
4447
  }>;
4448
4448
  usage: z.ZodObject<{
4449
4449
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4498,7 +4498,6 @@ declare const zModelOutputDelta: z.ZodObject<{
4498
4498
  }, z.core.$strip>, z.ZodObject<{
4499
4499
  stop: z.ZodObject<{
4500
4500
  reason: z.ZodEnum<{
4501
- unknown: "unknown";
4502
4501
  end_turn: "end_turn";
4503
4502
  tool_use: "tool_use";
4504
4503
  max_tokens: "max_tokens";
@@ -4506,6 +4505,7 @@ declare const zModelOutputDelta: z.ZodObject<{
4506
4505
  content_filter: "content_filter";
4507
4506
  pause: "pause";
4508
4507
  context_window: "context_window";
4508
+ unknown: "unknown";
4509
4509
  }>;
4510
4510
  usage: z.ZodObject<{
4511
4511
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4573,12 +4573,12 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
4573
4573
  sequence: z.ZodInt;
4574
4574
  model_call_context_id: z.ZodString;
4575
4575
  stop_reason: z.ZodEnum<{
4576
- error: "error";
4577
4576
  end_turn: "end_turn";
4578
4577
  tool_use: "tool_use";
4579
4578
  max_tokens: "max_tokens";
4580
4579
  refusal: "refusal";
4581
4580
  content_filter: "content_filter";
4581
+ error: "error";
4582
4582
  }>;
4583
4583
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4584
4584
  text: z.ZodString;
@@ -4596,8 +4596,8 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
4596
4596
  }, z.core.$strip>, z.ZodObject<{
4597
4597
  tool_call_id: z.ZodString;
4598
4598
  tool_type: z.ZodEnum<{
4599
- custom: "custom";
4600
4599
  built_in: "built_in";
4600
+ custom: "custom";
4601
4601
  mcp: "mcp";
4602
4602
  }>;
4603
4603
  name: z.ZodString;
@@ -4714,7 +4714,6 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
4714
4714
  }, z.core.$strip>, z.ZodObject<{
4715
4715
  stop: z.ZodObject<{
4716
4716
  reason: z.ZodEnum<{
4717
- unknown: "unknown";
4718
4717
  end_turn: "end_turn";
4719
4718
  tool_use: "tool_use";
4720
4719
  max_tokens: "max_tokens";
@@ -4722,6 +4721,7 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
4722
4721
  content_filter: "content_filter";
4723
4722
  pause: "pause";
4724
4723
  context_window: "context_window";
4724
+ unknown: "unknown";
4725
4725
  }>;
4726
4726
  usage: z.ZodObject<{
4727
4727
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -4757,9 +4757,9 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
4757
4757
  request_too_large: "request_too_large";
4758
4758
  unsupported_media_type: "unsupported_media_type";
4759
4759
  unprocessable: "unprocessable";
4760
+ upstream_unavailable: "upstream_unavailable";
4760
4761
  rate_limited: "rate_limited";
4761
4762
  internal_error: "internal_error";
4762
- upstream_error: "upstream_error";
4763
4763
  service_unavailable: "service_unavailable";
4764
4764
  idempotency_key_conflict: "idempotency_key_conflict";
4765
4765
  state_transition_conflict: "state_transition_conflict";
@@ -4819,12 +4819,12 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4819
4819
  sequence: z.ZodInt;
4820
4820
  model_call_context_id: z.ZodString;
4821
4821
  stop_reason: z.ZodEnum<{
4822
- error: "error";
4823
4822
  end_turn: "end_turn";
4824
4823
  tool_use: "tool_use";
4825
4824
  max_tokens: "max_tokens";
4826
4825
  refusal: "refusal";
4827
4826
  content_filter: "content_filter";
4827
+ error: "error";
4828
4828
  }>;
4829
4829
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4830
4830
  text: z.ZodString;
@@ -4842,8 +4842,8 @@ declare const zListAgentEventsResponse: z.ZodObject<{
4842
4842
  }, z.core.$strip>, z.ZodObject<{
4843
4843
  tool_call_id: z.ZodString;
4844
4844
  tool_type: z.ZodEnum<{
4845
- custom: "custom";
4846
4845
  built_in: "built_in";
4846
+ custom: "custom";
4847
4847
  mcp: "mcp";
4848
4848
  }>;
4849
4849
  name: z.ZodString;
@@ -4964,12 +4964,12 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4964
4964
  sequence: z.ZodInt;
4965
4965
  model_call_context_id: z.ZodString;
4966
4966
  stop_reason: z.ZodEnum<{
4967
- error: "error";
4968
4967
  end_turn: "end_turn";
4969
4968
  tool_use: "tool_use";
4970
4969
  max_tokens: "max_tokens";
4971
4970
  refusal: "refusal";
4972
4971
  content_filter: "content_filter";
4972
+ error: "error";
4973
4973
  }>;
4974
4974
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4975
4975
  text: z.ZodString;
@@ -4987,8 +4987,8 @@ declare const zListTurnEventsResponse: z.ZodObject<{
4987
4987
  }, z.core.$strip>, z.ZodObject<{
4988
4988
  tool_call_id: z.ZodString;
4989
4989
  tool_type: z.ZodEnum<{
4990
- custom: "custom";
4991
4990
  built_in: "built_in";
4991
+ custom: "custom";
4992
4992
  mcp: "mcp";
4993
4993
  }>;
4994
4994
  name: z.ZodString;
@@ -5111,12 +5111,12 @@ declare const zAgentTurn: z.ZodObject<{
5111
5111
  sequence: z.ZodInt;
5112
5112
  model_call_context_id: z.ZodString;
5113
5113
  stop_reason: z.ZodEnum<{
5114
- error: "error";
5115
5114
  end_turn: "end_turn";
5116
5115
  tool_use: "tool_use";
5117
5116
  max_tokens: "max_tokens";
5118
5117
  refusal: "refusal";
5119
5118
  content_filter: "content_filter";
5119
+ error: "error";
5120
5120
  }>;
5121
5121
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5122
5122
  text: z.ZodString;
@@ -5134,8 +5134,8 @@ declare const zAgentTurn: z.ZodObject<{
5134
5134
  }, z.core.$strip>, z.ZodObject<{
5135
5135
  tool_call_id: z.ZodString;
5136
5136
  tool_type: z.ZodEnum<{
5137
- custom: "custom";
5138
5137
  built_in: "built_in";
5138
+ custom: "custom";
5139
5139
  mcp: "mcp";
5140
5140
  }>;
5141
5141
  name: z.ZodString;
@@ -5251,12 +5251,12 @@ declare const zAgentTurn: z.ZodObject<{
5251
5251
  sequence: z.ZodInt;
5252
5252
  model_call_context_id: z.ZodString;
5253
5253
  stop_reason: z.ZodEnum<{
5254
- error: "error";
5255
5254
  end_turn: "end_turn";
5256
5255
  tool_use: "tool_use";
5257
5256
  max_tokens: "max_tokens";
5258
5257
  refusal: "refusal";
5259
5258
  content_filter: "content_filter";
5259
+ error: "error";
5260
5260
  }>;
5261
5261
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5262
5262
  text: z.ZodString;
@@ -5274,8 +5274,8 @@ declare const zAgentTurn: z.ZodObject<{
5274
5274
  }, z.core.$strip>, z.ZodObject<{
5275
5275
  tool_call_id: z.ZodString;
5276
5276
  tool_type: z.ZodEnum<{
5277
- custom: "custom";
5278
5277
  built_in: "built_in";
5278
+ custom: "custom";
5279
5279
  mcp: "mcp";
5280
5280
  }>;
5281
5281
  name: z.ZodString;
@@ -5391,12 +5391,12 @@ declare const zAgentTurn: z.ZodObject<{
5391
5391
  sequence: z.ZodInt;
5392
5392
  model_call_context_id: z.ZodString;
5393
5393
  stop_reason: z.ZodEnum<{
5394
- error: "error";
5395
5394
  end_turn: "end_turn";
5396
5395
  tool_use: "tool_use";
5397
5396
  max_tokens: "max_tokens";
5398
5397
  refusal: "refusal";
5399
5398
  content_filter: "content_filter";
5399
+ error: "error";
5400
5400
  }>;
5401
5401
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5402
5402
  text: z.ZodString;
@@ -5414,8 +5414,8 @@ declare const zAgentTurn: z.ZodObject<{
5414
5414
  }, z.core.$strip>, z.ZodObject<{
5415
5415
  tool_call_id: z.ZodString;
5416
5416
  tool_type: z.ZodEnum<{
5417
- custom: "custom";
5418
5417
  built_in: "built_in";
5418
+ custom: "custom";
5419
5419
  mcp: "mcp";
5420
5420
  }>;
5421
5421
  name: z.ZodString;
@@ -5540,12 +5540,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5540
5540
  sequence: z.ZodInt;
5541
5541
  model_call_context_id: z.ZodString;
5542
5542
  stop_reason: z.ZodEnum<{
5543
- error: "error";
5544
5543
  end_turn: "end_turn";
5545
5544
  tool_use: "tool_use";
5546
5545
  max_tokens: "max_tokens";
5547
5546
  refusal: "refusal";
5548
5547
  content_filter: "content_filter";
5548
+ error: "error";
5549
5549
  }>;
5550
5550
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5551
5551
  text: z.ZodString;
@@ -5563,8 +5563,8 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5563
5563
  }, z.core.$strip>, z.ZodObject<{
5564
5564
  tool_call_id: z.ZodString;
5565
5565
  tool_type: z.ZodEnum<{
5566
- custom: "custom";
5567
5566
  built_in: "built_in";
5567
+ custom: "custom";
5568
5568
  mcp: "mcp";
5569
5569
  }>;
5570
5570
  name: z.ZodString;
@@ -5680,12 +5680,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5680
5680
  sequence: z.ZodInt;
5681
5681
  model_call_context_id: z.ZodString;
5682
5682
  stop_reason: z.ZodEnum<{
5683
- error: "error";
5684
5683
  end_turn: "end_turn";
5685
5684
  tool_use: "tool_use";
5686
5685
  max_tokens: "max_tokens";
5687
5686
  refusal: "refusal";
5688
5687
  content_filter: "content_filter";
5688
+ error: "error";
5689
5689
  }>;
5690
5690
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5691
5691
  text: z.ZodString;
@@ -5703,8 +5703,8 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5703
5703
  }, z.core.$strip>, z.ZodObject<{
5704
5704
  tool_call_id: z.ZodString;
5705
5705
  tool_type: z.ZodEnum<{
5706
- custom: "custom";
5707
5706
  built_in: "built_in";
5707
+ custom: "custom";
5708
5708
  mcp: "mcp";
5709
5709
  }>;
5710
5710
  name: z.ZodString;
@@ -5820,12 +5820,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5820
5820
  sequence: z.ZodInt;
5821
5821
  model_call_context_id: z.ZodString;
5822
5822
  stop_reason: z.ZodEnum<{
5823
- error: "error";
5824
5823
  end_turn: "end_turn";
5825
5824
  tool_use: "tool_use";
5826
5825
  max_tokens: "max_tokens";
5827
5826
  refusal: "refusal";
5828
5827
  content_filter: "content_filter";
5828
+ error: "error";
5829
5829
  }>;
5830
5830
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5831
5831
  text: z.ZodString;
@@ -5843,8 +5843,8 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
5843
5843
  }, z.core.$strip>, z.ZodObject<{
5844
5844
  tool_call_id: z.ZodString;
5845
5845
  tool_type: z.ZodEnum<{
5846
- custom: "custom";
5847
5846
  built_in: "built_in";
5847
+ custom: "custom";
5848
5848
  mcp: "mcp";
5849
5849
  }>;
5850
5850
  name: z.ZodString;
@@ -5966,12 +5966,12 @@ declare const zCancelAgentResponse: z.ZodObject<{
5966
5966
  sequence: z.ZodInt;
5967
5967
  model_call_context_id: z.ZodString;
5968
5968
  stop_reason: z.ZodEnum<{
5969
- error: "error";
5970
5969
  end_turn: "end_turn";
5971
5970
  tool_use: "tool_use";
5972
5971
  max_tokens: "max_tokens";
5973
5972
  refusal: "refusal";
5974
5973
  content_filter: "content_filter";
5974
+ error: "error";
5975
5975
  }>;
5976
5976
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5977
5977
  text: z.ZodString;
@@ -5989,8 +5989,8 @@ declare const zCancelAgentResponse: z.ZodObject<{
5989
5989
  }, z.core.$strip>, z.ZodObject<{
5990
5990
  tool_call_id: z.ZodString;
5991
5991
  tool_type: z.ZodEnum<{
5992
- custom: "custom";
5993
5992
  built_in: "built_in";
5993
+ custom: "custom";
5994
5994
  mcp: "mcp";
5995
5995
  }>;
5996
5996
  name: z.ZodString;
@@ -6208,8 +6208,8 @@ declare const zAgentInteraction: z.ZodObject<{
6208
6208
  * omnara for project members, an integration provider such as slack, or external for API-managed actors.
6209
6209
  */
6210
6210
  declare const zActorProvider: z.ZodEnum<{
6211
- slack: "slack";
6212
6211
  omnara: "omnara";
6212
+ slack: "slack";
6213
6213
  external: "external";
6214
6214
  }>;
6215
6215
  declare const zActor: z.ZodObject<{
@@ -6217,8 +6217,8 @@ declare const zActor: z.ZodObject<{
6217
6217
  org_id: z.ZodString;
6218
6218
  project_id: z.ZodString;
6219
6219
  provider: z.ZodEnum<{
6220
- slack: "slack";
6221
6220
  omnara: "omnara";
6221
+ slack: "slack";
6222
6222
  external: "external";
6223
6223
  }>;
6224
6224
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -6309,8 +6309,8 @@ declare const zListActorsResponse: z.ZodObject<{
6309
6309
  org_id: z.ZodString;
6310
6310
  project_id: z.ZodString;
6311
6311
  provider: z.ZodEnum<{
6312
- slack: "slack";
6313
6312
  omnara: "omnara";
6313
+ slack: "slack";
6314
6314
  external: "external";
6315
6315
  }>;
6316
6316
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -8425,10 +8425,10 @@ declare const zOrgOverviewResponse: z.ZodObject<{
8425
8425
  subagent_key: z.ZodOptional<z.ZodString>;
8426
8426
  activity: z.ZodOptional<z.ZodObject<{
8427
8427
  state: z.ZodEnum<{
8428
+ archived: "archived";
8428
8429
  running: "running";
8429
8430
  idle: "idle";
8430
8431
  waiting_on_interaction: "waiting_on_interaction";
8431
- archived: "archived";
8432
8432
  }>;
8433
8433
  last_activity_at: z.ZodISODateTime;
8434
8434
  }, z.core.$strip>>;
@@ -8795,8 +8795,8 @@ declare const zSkillOwnerProjectIdFilter: z.ZodString;
8795
8795
  * Filter a project inventory by how the skill became available.
8796
8796
  */
8797
8797
  declare const zSkillAvailabilitySourceFilter: z.ZodEnum<{
8798
- grant: "grant";
8799
8798
  direct: "direct";
8799
+ grant: "grant";
8800
8800
  }>;
8801
8801
  /**
8802
8802
  * Filter by the immutable owner kind.
@@ -8826,8 +8826,8 @@ declare const zIntegrationInstallOAuthFlowIdFilter: z.ZodString;
8826
8826
  * Filter a project inventory by how the secret became available.
8827
8827
  */
8828
8828
  declare const zSecretAvailabilitySourceFilter: z.ZodEnum<{
8829
- grant: "grant";
8830
8829
  direct: "direct";
8830
+ grant: "grant";
8831
8831
  }>;
8832
8832
  declare const zListPersonalAccessTokensQuery: z.ZodObject<{
8833
8833
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -9071,10 +9071,10 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
9071
9071
  subagent_key: z.ZodOptional<z.ZodString>;
9072
9072
  activity: z.ZodOptional<z.ZodObject<{
9073
9073
  state: z.ZodEnum<{
9074
+ archived: "archived";
9074
9075
  running: "running";
9075
9076
  idle: "idle";
9076
9077
  waiting_on_interaction: "waiting_on_interaction";
9077
- archived: "archived";
9078
9078
  }>;
9079
9079
  last_activity_at: z.ZodISODateTime;
9080
9080
  }, z.core.$strip>>;
@@ -9922,8 +9922,8 @@ declare const zListProjectAvailableSkillsQuery: z.ZodObject<{
9922
9922
  user: "user";
9923
9923
  }>>;
9924
9924
  availability_source: z.ZodOptional<z.ZodEnum<{
9925
- grant: "grant";
9926
9925
  direct: "direct";
9926
+ grant: "grant";
9927
9927
  }>>;
9928
9928
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
9929
9929
  name: "name";
@@ -10515,8 +10515,8 @@ declare const zCreateAgentConfigResponse: z.ZodObject<{
10515
10515
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10516
10516
  enabled: z.ZodBoolean;
10517
10517
  type: z.ZodOptional<z.ZodEnum<{
10518
- custom: "custom";
10519
10518
  built_in: "built_in";
10519
+ custom: "custom";
10520
10520
  }>>;
10521
10521
  permission: z.ZodObject<{
10522
10522
  mode: z.ZodString;
@@ -10822,8 +10822,8 @@ declare const zGetAgentConfigResponse: z.ZodObject<{
10822
10822
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10823
10823
  enabled: z.ZodBoolean;
10824
10824
  type: z.ZodOptional<z.ZodEnum<{
10825
- custom: "custom";
10826
10825
  built_in: "built_in";
10826
+ custom: "custom";
10827
10827
  }>>;
10828
10828
  permission: z.ZodObject<{
10829
10829
  mode: z.ZodString;
@@ -11088,8 +11088,8 @@ declare const zCreateAgentProfileResponse: z.ZodObject<{
11088
11088
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11089
11089
  enabled: z.ZodBoolean;
11090
11090
  type: z.ZodOptional<z.ZodEnum<{
11091
- custom: "custom";
11092
11091
  built_in: "built_in";
11092
+ custom: "custom";
11093
11093
  }>>;
11094
11094
  permission: z.ZodObject<{
11095
11095
  mode: z.ZodString;
@@ -11285,8 +11285,8 @@ declare const zGetAgentProfileResponse: z.ZodObject<{
11285
11285
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11286
11286
  enabled: z.ZodBoolean;
11287
11287
  type: z.ZodOptional<z.ZodEnum<{
11288
- custom: "custom";
11289
11288
  built_in: "built_in";
11289
+ custom: "custom";
11290
11290
  }>>;
11291
11291
  permission: z.ZodObject<{
11292
11292
  mode: z.ZodString;
@@ -11476,8 +11476,8 @@ declare const zRenameAgentProfileResponse: z.ZodObject<{
11476
11476
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11477
11477
  enabled: z.ZodBoolean;
11478
11478
  type: z.ZodOptional<z.ZodEnum<{
11479
- custom: "custom";
11480
11479
  built_in: "built_in";
11480
+ custom: "custom";
11481
11481
  }>>;
11482
11482
  permission: z.ZodObject<{
11483
11483
  mode: z.ZodString;
@@ -11723,8 +11723,8 @@ declare const zUpdateAgentProfileResponse: z.ZodObject<{
11723
11723
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11724
11724
  enabled: z.ZodBoolean;
11725
11725
  type: z.ZodOptional<z.ZodEnum<{
11726
- custom: "custom";
11727
11726
  built_in: "built_in";
11727
+ custom: "custom";
11728
11728
  }>>;
11729
11729
  permission: z.ZodObject<{
11730
11730
  mode: z.ZodString;
@@ -12140,10 +12140,10 @@ declare const zListAgentsResponse2: z.ZodObject<{
12140
12140
  subagent_key: z.ZodOptional<z.ZodString>;
12141
12141
  activity: z.ZodOptional<z.ZodObject<{
12142
12142
  state: z.ZodEnum<{
12143
+ archived: "archived";
12143
12144
  running: "running";
12144
12145
  idle: "idle";
12145
12146
  waiting_on_interaction: "waiting_on_interaction";
12146
- archived: "archived";
12147
12147
  }>;
12148
12148
  last_activity_at: z.ZodISODateTime;
12149
12149
  }, z.core.$strip>>;
@@ -12193,10 +12193,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
12193
12193
  subagent_key: z.ZodOptional<z.ZodString>;
12194
12194
  activity: z.ZodOptional<z.ZodObject<{
12195
12195
  state: z.ZodEnum<{
12196
+ archived: "archived";
12196
12197
  running: "running";
12197
12198
  idle: "idle";
12198
12199
  waiting_on_interaction: "waiting_on_interaction";
12199
- archived: "archived";
12200
12200
  }>;
12201
12201
  last_activity_at: z.ZodISODateTime;
12202
12202
  }, z.core.$strip>>;
@@ -12231,10 +12231,10 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
12231
12231
  subagent_key: z.ZodOptional<z.ZodString>;
12232
12232
  activity: z.ZodOptional<z.ZodObject<{
12233
12233
  state: z.ZodEnum<{
12234
+ archived: "archived";
12234
12235
  running: "running";
12235
12236
  idle: "idle";
12236
12237
  waiting_on_interaction: "waiting_on_interaction";
12237
- archived: "archived";
12238
12238
  }>;
12239
12239
  last_activity_at: z.ZodISODateTime;
12240
12240
  }, z.core.$strip>>;
@@ -12314,8 +12314,8 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
12314
12314
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12315
12315
  enabled: z.ZodBoolean;
12316
12316
  type: z.ZodOptional<z.ZodEnum<{
12317
- custom: "custom";
12318
12317
  built_in: "built_in";
12318
+ custom: "custom";
12319
12319
  }>>;
12320
12320
  permission: z.ZodObject<{
12321
12321
  mode: z.ZodString;
@@ -12497,10 +12497,10 @@ declare const zGetAgentResponse2: z.ZodObject<{
12497
12497
  subagent_key: z.ZodOptional<z.ZodString>;
12498
12498
  activity: z.ZodOptional<z.ZodObject<{
12499
12499
  state: z.ZodEnum<{
12500
+ archived: "archived";
12500
12501
  running: "running";
12501
12502
  idle: "idle";
12502
12503
  waiting_on_interaction: "waiting_on_interaction";
12503
- archived: "archived";
12504
12504
  }>;
12505
12505
  last_activity_at: z.ZodISODateTime;
12506
12506
  }, z.core.$strip>>;
@@ -12611,10 +12611,10 @@ declare const zArchiveAgentResponse: z.ZodObject<{
12611
12611
  subagent_key: z.ZodOptional<z.ZodString>;
12612
12612
  activity: z.ZodOptional<z.ZodObject<{
12613
12613
  state: z.ZodEnum<{
12614
+ archived: "archived";
12614
12615
  running: "running";
12615
12616
  idle: "idle";
12616
12617
  waiting_on_interaction: "waiting_on_interaction";
12617
- archived: "archived";
12618
12618
  }>;
12619
12619
  last_activity_at: z.ZodISODateTime;
12620
12620
  }, z.core.$strip>>;
@@ -12715,8 +12715,8 @@ declare const zUpdateAgentConfigResponse2: z.ZodObject<{
12715
12715
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12716
12716
  enabled: z.ZodBoolean;
12717
12717
  type: z.ZodOptional<z.ZodEnum<{
12718
- custom: "custom";
12719
12718
  built_in: "built_in";
12719
+ custom: "custom";
12720
12720
  }>>;
12721
12721
  permission: z.ZodObject<{
12722
12722
  mode: z.ZodString;
@@ -12947,8 +12947,8 @@ declare const zListToolCallsQuery: z.ZodObject<{
12947
12947
  completed: "completed";
12948
12948
  }>>;
12949
12949
  type: z.ZodOptional<z.ZodEnum<{
12950
- custom: "custom";
12951
12950
  built_in: "built_in";
12951
+ custom: "custom";
12952
12952
  mcp: "mcp";
12953
12953
  }>>;
12954
12954
  include_subagents: z.ZodOptional<z.ZodBoolean>;
@@ -12967,8 +12967,8 @@ declare const zListToolCallsResponse2: z.ZodObject<{
12967
12967
  name: z.ZodString;
12968
12968
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
12969
12969
  type: z.ZodEnum<{
12970
- custom: "custom";
12971
12970
  built_in: "built_in";
12971
+ custom: "custom";
12972
12972
  mcp: "mcp";
12973
12973
  }>;
12974
12974
  state: z.ZodEnum<{
@@ -13051,8 +13051,8 @@ declare const zSubmitToolCallResultResponse2: z.ZodObject<{
13051
13051
  name: z.ZodString;
13052
13052
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13053
13053
  type: z.ZodEnum<{
13054
- custom: "custom";
13055
13054
  built_in: "built_in";
13055
+ custom: "custom";
13056
13056
  mcp: "mcp";
13057
13057
  }>;
13058
13058
  state: z.ZodEnum<{
@@ -13163,12 +13163,12 @@ declare const zListTurnsResponse: z.ZodObject<{
13163
13163
  sequence: z.ZodInt;
13164
13164
  model_call_context_id: z.ZodString;
13165
13165
  stop_reason: z.ZodEnum<{
13166
- error: "error";
13167
13166
  end_turn: "end_turn";
13168
13167
  tool_use: "tool_use";
13169
13168
  max_tokens: "max_tokens";
13170
13169
  refusal: "refusal";
13171
13170
  content_filter: "content_filter";
13171
+ error: "error";
13172
13172
  }>;
13173
13173
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13174
13174
  text: z.ZodString;
@@ -13186,8 +13186,8 @@ declare const zListTurnsResponse: z.ZodObject<{
13186
13186
  }, z.core.$strip>, z.ZodObject<{
13187
13187
  tool_call_id: z.ZodString;
13188
13188
  tool_type: z.ZodEnum<{
13189
- custom: "custom";
13190
13189
  built_in: "built_in";
13190
+ custom: "custom";
13191
13191
  mcp: "mcp";
13192
13192
  }>;
13193
13193
  name: z.ZodString;
@@ -13303,12 +13303,12 @@ declare const zListTurnsResponse: z.ZodObject<{
13303
13303
  sequence: z.ZodInt;
13304
13304
  model_call_context_id: z.ZodString;
13305
13305
  stop_reason: z.ZodEnum<{
13306
- error: "error";
13307
13306
  end_turn: "end_turn";
13308
13307
  tool_use: "tool_use";
13309
13308
  max_tokens: "max_tokens";
13310
13309
  refusal: "refusal";
13311
13310
  content_filter: "content_filter";
13311
+ error: "error";
13312
13312
  }>;
13313
13313
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13314
13314
  text: z.ZodString;
@@ -13326,8 +13326,8 @@ declare const zListTurnsResponse: z.ZodObject<{
13326
13326
  }, z.core.$strip>, z.ZodObject<{
13327
13327
  tool_call_id: z.ZodString;
13328
13328
  tool_type: z.ZodEnum<{
13329
- custom: "custom";
13330
13329
  built_in: "built_in";
13330
+ custom: "custom";
13331
13331
  mcp: "mcp";
13332
13332
  }>;
13333
13333
  name: z.ZodString;
@@ -13443,12 +13443,12 @@ declare const zListTurnsResponse: z.ZodObject<{
13443
13443
  sequence: z.ZodInt;
13444
13444
  model_call_context_id: z.ZodString;
13445
13445
  stop_reason: z.ZodEnum<{
13446
- error: "error";
13447
13446
  end_turn: "end_turn";
13448
13447
  tool_use: "tool_use";
13449
13448
  max_tokens: "max_tokens";
13450
13449
  refusal: "refusal";
13451
13450
  content_filter: "content_filter";
13451
+ error: "error";
13452
13452
  }>;
13453
13453
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13454
13454
  text: z.ZodString;
@@ -13466,8 +13466,8 @@ declare const zListTurnsResponse: z.ZodObject<{
13466
13466
  }, z.core.$strip>, z.ZodObject<{
13467
13467
  tool_call_id: z.ZodString;
13468
13468
  tool_type: z.ZodEnum<{
13469
- custom: "custom";
13470
13469
  built_in: "built_in";
13470
+ custom: "custom";
13471
13471
  mcp: "mcp";
13472
13472
  }>;
13473
13473
  name: z.ZodString;
@@ -13602,12 +13602,12 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
13602
13602
  sequence: z.ZodInt;
13603
13603
  model_call_context_id: z.ZodString;
13604
13604
  stop_reason: z.ZodEnum<{
13605
- error: "error";
13606
13605
  end_turn: "end_turn";
13607
13606
  tool_use: "tool_use";
13608
13607
  max_tokens: "max_tokens";
13609
13608
  refusal: "refusal";
13610
13609
  content_filter: "content_filter";
13610
+ error: "error";
13611
13611
  }>;
13612
13612
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13613
13613
  text: z.ZodString;
@@ -13625,8 +13625,8 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
13625
13625
  }, z.core.$strip>, z.ZodObject<{
13626
13626
  tool_call_id: z.ZodString;
13627
13627
  tool_type: z.ZodEnum<{
13628
- custom: "custom";
13629
13628
  built_in: "built_in";
13629
+ custom: "custom";
13630
13630
  mcp: "mcp";
13631
13631
  }>;
13632
13632
  name: z.ZodString;
@@ -13758,12 +13758,12 @@ declare const zListEventsResponse: z.ZodObject<{
13758
13758
  sequence: z.ZodInt;
13759
13759
  model_call_context_id: z.ZodString;
13760
13760
  stop_reason: z.ZodEnum<{
13761
- error: "error";
13762
13761
  end_turn: "end_turn";
13763
13762
  tool_use: "tool_use";
13764
13763
  max_tokens: "max_tokens";
13765
13764
  refusal: "refusal";
13766
13765
  content_filter: "content_filter";
13766
+ error: "error";
13767
13767
  }>;
13768
13768
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13769
13769
  text: z.ZodString;
@@ -13781,8 +13781,8 @@ declare const zListEventsResponse: z.ZodObject<{
13781
13781
  }, z.core.$strip>, z.ZodObject<{
13782
13782
  tool_call_id: z.ZodString;
13783
13783
  tool_type: z.ZodEnum<{
13784
- custom: "custom";
13785
13784
  built_in: "built_in";
13785
+ custom: "custom";
13786
13786
  mcp: "mcp";
13787
13787
  }>;
13788
13788
  name: z.ZodString;
@@ -13917,12 +13917,12 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
13917
13917
  sequence: z.ZodInt;
13918
13918
  model_call_context_id: z.ZodString;
13919
13919
  stop_reason: z.ZodEnum<{
13920
- error: "error";
13921
13920
  end_turn: "end_turn";
13922
13921
  tool_use: "tool_use";
13923
13922
  max_tokens: "max_tokens";
13924
13923
  refusal: "refusal";
13925
13924
  content_filter: "content_filter";
13925
+ error: "error";
13926
13926
  }>;
13927
13927
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
13928
13928
  text: z.ZodString;
@@ -13940,8 +13940,8 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
13940
13940
  }, z.core.$strip>, z.ZodObject<{
13941
13941
  tool_call_id: z.ZodString;
13942
13942
  tool_type: z.ZodEnum<{
13943
- custom: "custom";
13944
13943
  built_in: "built_in";
13944
+ custom: "custom";
13945
13945
  mcp: "mcp";
13946
13946
  }>;
13947
13947
  name: z.ZodString;
@@ -14058,7 +14058,6 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
14058
14058
  }, z.core.$strip>, z.ZodObject<{
14059
14059
  stop: z.ZodObject<{
14060
14060
  reason: z.ZodEnum<{
14061
- unknown: "unknown";
14062
14061
  end_turn: "end_turn";
14063
14062
  tool_use: "tool_use";
14064
14063
  max_tokens: "max_tokens";
@@ -14066,6 +14065,7 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
14066
14065
  content_filter: "content_filter";
14067
14066
  pause: "pause";
14068
14067
  context_window: "context_window";
14068
+ unknown: "unknown";
14069
14069
  }>;
14070
14070
  usage: z.ZodObject<{
14071
14071
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -14101,9 +14101,9 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
14101
14101
  request_too_large: "request_too_large";
14102
14102
  unsupported_media_type: "unsupported_media_type";
14103
14103
  unprocessable: "unprocessable";
14104
+ upstream_unavailable: "upstream_unavailable";
14104
14105
  rate_limited: "rate_limited";
14105
14106
  internal_error: "internal_error";
14106
- upstream_error: "upstream_error";
14107
14107
  service_unavailable: "service_unavailable";
14108
14108
  idempotency_key_conflict: "idempotency_key_conflict";
14109
14109
  state_transition_conflict: "state_transition_conflict";
@@ -14179,12 +14179,12 @@ declare const zCancelAgentResponse2: z.ZodObject<{
14179
14179
  sequence: z.ZodInt;
14180
14180
  model_call_context_id: z.ZodString;
14181
14181
  stop_reason: z.ZodEnum<{
14182
- error: "error";
14183
14182
  end_turn: "end_turn";
14184
14183
  tool_use: "tool_use";
14185
14184
  max_tokens: "max_tokens";
14186
14185
  refusal: "refusal";
14187
14186
  content_filter: "content_filter";
14187
+ error: "error";
14188
14188
  }>;
14189
14189
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
14190
14190
  text: z.ZodString;
@@ -14202,8 +14202,8 @@ declare const zCancelAgentResponse2: z.ZodObject<{
14202
14202
  }, z.core.$strip>, z.ZodObject<{
14203
14203
  tool_call_id: z.ZodString;
14204
14204
  tool_type: z.ZodEnum<{
14205
- custom: "custom";
14206
14205
  built_in: "built_in";
14206
+ custom: "custom";
14207
14207
  mcp: "mcp";
14208
14208
  }>;
14209
14209
  name: z.ZodString;
@@ -14792,8 +14792,8 @@ declare const zListProjectAvailableSecretsQuery: z.ZodObject<{
14792
14792
  user: "user";
14793
14793
  }>>;
14794
14794
  availability_source: z.ZodOptional<z.ZodEnum<{
14795
- grant: "grant";
14796
14795
  direct: "direct";
14796
+ grant: "grant";
14797
14797
  }>>;
14798
14798
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
14799
14799
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -14905,8 +14905,8 @@ declare const zListActorsPath: z.ZodObject<{
14905
14905
  }, z.core.$strip>;
14906
14906
  declare const zListActorsQuery: z.ZodObject<{
14907
14907
  provider: z.ZodOptional<z.ZodEnum<{
14908
- slack: "slack";
14909
14908
  omnara: "omnara";
14909
+ slack: "slack";
14910
14910
  external: "external";
14911
14911
  }>>;
14912
14912
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -14923,8 +14923,8 @@ declare const zListActorsResponse2: z.ZodObject<{
14923
14923
  org_id: z.ZodString;
14924
14924
  project_id: z.ZodString;
14925
14925
  provider: z.ZodEnum<{
14926
- slack: "slack";
14927
14926
  omnara: "omnara";
14927
+ slack: "slack";
14928
14928
  external: "external";
14929
14929
  }>;
14930
14930
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -14954,8 +14954,8 @@ declare const zPutActorResponse: z.ZodObject<{
14954
14954
  org_id: z.ZodString;
14955
14955
  project_id: z.ZodString;
14956
14956
  provider: z.ZodEnum<{
14957
- slack: "slack";
14958
14957
  omnara: "omnara";
14958
+ slack: "slack";
14959
14959
  external: "external";
14960
14960
  }>;
14961
14961
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -14978,8 +14978,8 @@ declare const zGetActorResponse: z.ZodObject<{
14978
14978
  org_id: z.ZodString;
14979
14979
  project_id: z.ZodString;
14980
14980
  provider: z.ZodEnum<{
14981
- slack: "slack";
14982
14981
  omnara: "omnara";
14982
+ slack: "slack";
14983
14983
  external: "external";
14984
14984
  }>;
14985
14985
  provider_tenant_id: z.ZodOptional<z.ZodString>;