@omnara/sdk 0.1.7 → 0.1.8

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.
@@ -161,7 +161,7 @@ declare const zModelProviderApiVariantResponse: z.ZodString;
161
161
  */
162
162
  declare const zModelApiVariantOptions: z.ZodRecord<z.ZodString, z.ZodUnknown>;
163
163
  /**
164
- * Default prompt-cache hint for model requests. `none` means Omnara does not send a cache hint; providers may still apply their own automatic caching. `short` and `long` are translated to the closest supported control for the selected API.
164
+ * Default prompt-cache hint for model requests. When omitted, the provider adapter chooses: Anthropic models (direct or via OpenRouter) default to `short`; other providers rely on their own automatic caching. `none` means Omnara does not send a cache hint. `short` and `long` are translated to the closest supported control for the selected API.
165
165
  */
166
166
  declare const zModelCacheRetention: z.ZodEnum<{
167
167
  none: "none";
@@ -450,11 +450,11 @@ declare const zConfiguredModel: z.ZodObject<{
450
450
  context_window_tokens: z.ZodInt;
451
451
  max_output_tokens: z.ZodInt;
452
452
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
453
- default_cache_retention: z.ZodEnum<{
453
+ default_cache_retention: z.ZodOptional<z.ZodEnum<{
454
454
  none: "none";
455
455
  short: "short";
456
456
  long: "long";
457
- }>;
457
+ }>>;
458
458
  supports_tools: z.ZodBoolean;
459
459
  supports_reasoning: z.ZodBoolean;
460
460
  default_reasoning_effort: z.ZodString;
@@ -481,11 +481,11 @@ declare const zConfiguredModelList: z.ZodObject<{
481
481
  context_window_tokens: z.ZodInt;
482
482
  max_output_tokens: z.ZodInt;
483
483
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
484
- default_cache_retention: z.ZodEnum<{
484
+ default_cache_retention: z.ZodOptional<z.ZodEnum<{
485
485
  none: "none";
486
486
  short: "short";
487
487
  long: "long";
488
- }>;
488
+ }>>;
489
489
  supports_tools: z.ZodBoolean;
490
490
  supports_reasoning: z.ZodBoolean;
491
491
  default_reasoning_effort: z.ZodString;
@@ -1730,6 +1730,7 @@ declare const zAgentSequenceCursor: z.ZodInt;
1730
1730
  */
1731
1731
  declare const zAgentCount: z.ZodInt;
1732
1732
  declare const zModelStopReason: z.ZodEnum<{
1733
+ unknown: "unknown";
1733
1734
  end_turn: "end_turn";
1734
1735
  tool_use: "tool_use";
1735
1736
  max_tokens: "max_tokens";
@@ -1737,18 +1738,17 @@ declare const zModelStopReason: z.ZodEnum<{
1737
1738
  content_filter: "content_filter";
1738
1739
  pause: "pause";
1739
1740
  context_window: "context_window";
1740
- unknown: "unknown";
1741
1741
  }>;
1742
1742
  /**
1743
1743
  * Stop reasons admitted as durable model-output events.
1744
1744
  */
1745
1745
  declare const zModelOutputStopReason: z.ZodEnum<{
1746
+ error: "error";
1746
1747
  end_turn: "end_turn";
1747
1748
  tool_use: "tool_use";
1748
1749
  max_tokens: "max_tokens";
1749
1750
  refusal: "refusal";
1750
1751
  content_filter: "content_filter";
1751
- error: "error";
1752
1752
  }>;
1753
1753
  declare const zAgentInputDeliveryMode: z.ZodEnum<{
1754
1754
  queued: "queued";
@@ -2261,8 +2261,8 @@ declare const zAgentInputEnvelope: z.ZodObject<{
2261
2261
  * Identifies who manages execution. Built-in and MCP calls are platform-managed; custom calls wait for an external consumer to submit their result.
2262
2262
  */
2263
2263
  declare const zToolCallType: z.ZodEnum<{
2264
- built_in: "built_in";
2265
2264
  custom: "custom";
2265
+ built_in: "built_in";
2266
2266
  mcp: "mcp";
2267
2267
  }>;
2268
2268
  declare const zModelToolCallContentBlock: z.ZodObject<{
@@ -2271,8 +2271,8 @@ declare const zModelToolCallContentBlock: z.ZodObject<{
2271
2271
  }>;
2272
2272
  tool_call_id: z.ZodString;
2273
2273
  tool_type: z.ZodEnum<{
2274
- built_in: "built_in";
2275
2274
  custom: "custom";
2275
+ built_in: "built_in";
2276
2276
  mcp: "mcp";
2277
2277
  }>;
2278
2278
  name: z.ZodString;
@@ -2295,8 +2295,8 @@ declare const zModelOutputContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
2295
2295
  }, z.core.$strip>, z.ZodObject<{
2296
2296
  tool_call_id: z.ZodString;
2297
2297
  tool_type: z.ZodEnum<{
2298
- built_in: "built_in";
2299
2298
  custom: "custom";
2299
+ built_in: "built_in";
2300
2300
  mcp: "mcp";
2301
2301
  }>;
2302
2302
  name: z.ZodString;
@@ -2338,8 +2338,8 @@ declare const zToolCall: z.ZodObject<{
2338
2338
  name: z.ZodString;
2339
2339
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2340
2340
  type: z.ZodEnum<{
2341
- built_in: "built_in";
2342
2341
  custom: "custom";
2342
+ built_in: "built_in";
2343
2343
  mcp: "mcp";
2344
2344
  }>;
2345
2345
  state: z.ZodEnum<{
@@ -2381,8 +2381,8 @@ declare const zListToolCallsResponse: z.ZodObject<{
2381
2381
  name: z.ZodString;
2382
2382
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2383
2383
  type: z.ZodEnum<{
2384
- built_in: "built_in";
2385
2384
  custom: "custom";
2385
+ built_in: "built_in";
2386
2386
  mcp: "mcp";
2387
2387
  }>;
2388
2388
  state: z.ZodEnum<{
@@ -2481,8 +2481,8 @@ declare const zSubmitToolCallResultResponse: z.ZodObject<{
2481
2481
  name: z.ZodString;
2482
2482
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2483
2483
  type: z.ZodEnum<{
2484
- built_in: "built_in";
2485
2484
  custom: "custom";
2485
+ built_in: "built_in";
2486
2486
  mcp: "mcp";
2487
2487
  }>;
2488
2488
  state: z.ZodEnum<{
@@ -2581,12 +2581,12 @@ declare const zModelOutputEvent: z.ZodObject<{
2581
2581
  }>;
2582
2582
  model_call_context_id: z.ZodString;
2583
2583
  stop_reason: z.ZodEnum<{
2584
+ error: "error";
2584
2585
  end_turn: "end_turn";
2585
2586
  tool_use: "tool_use";
2586
2587
  max_tokens: "max_tokens";
2587
2588
  refusal: "refusal";
2588
2589
  content_filter: "content_filter";
2589
- error: "error";
2590
2590
  }>;
2591
2591
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2592
2592
  text: z.ZodString;
@@ -2604,8 +2604,8 @@ declare const zModelOutputEvent: z.ZodObject<{
2604
2604
  }, z.core.$strip>, z.ZodObject<{
2605
2605
  tool_call_id: z.ZodString;
2606
2606
  tool_type: z.ZodEnum<{
2607
- built_in: "built_in";
2608
2607
  custom: "custom";
2608
+ built_in: "built_in";
2609
2609
  mcp: "mcp";
2610
2610
  }>;
2611
2611
  name: z.ZodString;
@@ -2717,12 +2717,12 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
2717
2717
  sequence: z.ZodInt;
2718
2718
  model_call_context_id: z.ZodString;
2719
2719
  stop_reason: z.ZodEnum<{
2720
+ error: "error";
2720
2721
  end_turn: "end_turn";
2721
2722
  tool_use: "tool_use";
2722
2723
  max_tokens: "max_tokens";
2723
2724
  refusal: "refusal";
2724
2725
  content_filter: "content_filter";
2725
- error: "error";
2726
2726
  }>;
2727
2727
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2728
2728
  text: z.ZodString;
@@ -2740,8 +2740,8 @@ declare const zAgentEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
2740
2740
  }, z.core.$strip>, z.ZodObject<{
2741
2741
  tool_call_id: z.ZodString;
2742
2742
  tool_type: z.ZodEnum<{
2743
- built_in: "built_in";
2744
2743
  custom: "custom";
2744
+ built_in: "built_in";
2745
2745
  mcp: "mcp";
2746
2746
  }>;
2747
2747
  name: z.ZodString;
@@ -2884,6 +2884,7 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
2884
2884
  }>;
2885
2885
  stop: z.ZodObject<{
2886
2886
  reason: z.ZodEnum<{
2887
+ unknown: "unknown";
2887
2888
  end_turn: "end_turn";
2888
2889
  tool_use: "tool_use";
2889
2890
  max_tokens: "max_tokens";
@@ -2891,7 +2892,6 @@ declare const zModelOutputMessageStopDelta: z.ZodObject<{
2891
2892
  content_filter: "content_filter";
2892
2893
  pause: "pause";
2893
2894
  context_window: "context_window";
2894
- unknown: "unknown";
2895
2895
  }>;
2896
2896
  usage: z.ZodObject<{
2897
2897
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -2941,6 +2941,7 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
2941
2941
  }, z.core.$strip>, z.ZodObject<{
2942
2942
  stop: z.ZodObject<{
2943
2943
  reason: z.ZodEnum<{
2944
+ unknown: "unknown";
2944
2945
  end_turn: "end_turn";
2945
2946
  tool_use: "tool_use";
2946
2947
  max_tokens: "max_tokens";
@@ -2948,7 +2949,6 @@ declare const zModelOutputStreamDelta: z.ZodDiscriminatedUnion<[z.ZodObject<{
2948
2949
  content_filter: "content_filter";
2949
2950
  pause: "pause";
2950
2951
  context_window: "context_window";
2951
- unknown: "unknown";
2952
2952
  }>;
2953
2953
  usage: z.ZodObject<{
2954
2954
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -3003,6 +3003,7 @@ declare const zModelOutputDelta: z.ZodObject<{
3003
3003
  }, z.core.$strip>, z.ZodObject<{
3004
3004
  stop: z.ZodObject<{
3005
3005
  reason: z.ZodEnum<{
3006
+ unknown: "unknown";
3006
3007
  end_turn: "end_turn";
3007
3008
  tool_use: "tool_use";
3008
3009
  max_tokens: "max_tokens";
@@ -3010,7 +3011,6 @@ declare const zModelOutputDelta: z.ZodObject<{
3010
3011
  content_filter: "content_filter";
3011
3012
  pause: "pause";
3012
3013
  context_window: "context_window";
3013
- unknown: "unknown";
3014
3014
  }>;
3015
3015
  usage: z.ZodObject<{
3016
3016
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -3078,12 +3078,12 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
3078
3078
  sequence: z.ZodInt;
3079
3079
  model_call_context_id: z.ZodString;
3080
3080
  stop_reason: z.ZodEnum<{
3081
+ error: "error";
3081
3082
  end_turn: "end_turn";
3082
3083
  tool_use: "tool_use";
3083
3084
  max_tokens: "max_tokens";
3084
3085
  refusal: "refusal";
3085
3086
  content_filter: "content_filter";
3086
- error: "error";
3087
3087
  }>;
3088
3088
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3089
3089
  text: z.ZodString;
@@ -3101,8 +3101,8 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
3101
3101
  }, z.core.$strip>, z.ZodObject<{
3102
3102
  tool_call_id: z.ZodString;
3103
3103
  tool_type: z.ZodEnum<{
3104
- built_in: "built_in";
3105
3104
  custom: "custom";
3105
+ built_in: "built_in";
3106
3106
  mcp: "mcp";
3107
3107
  }>;
3108
3108
  name: z.ZodString;
@@ -3209,6 +3209,7 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
3209
3209
  }, z.core.$strip>, z.ZodObject<{
3210
3210
  stop: z.ZodObject<{
3211
3211
  reason: z.ZodEnum<{
3212
+ unknown: "unknown";
3212
3213
  end_turn: "end_turn";
3213
3214
  tool_use: "tool_use";
3214
3215
  max_tokens: "max_tokens";
@@ -3216,7 +3217,6 @@ declare const zAgentEventStreamData: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
3216
3217
  content_filter: "content_filter";
3217
3218
  pause: "pause";
3218
3219
  context_window: "context_window";
3219
- unknown: "unknown";
3220
3220
  }>;
3221
3221
  usage: z.ZodObject<{
3222
3222
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -3314,12 +3314,12 @@ declare const zListAgentEventsResponse: z.ZodObject<{
3314
3314
  sequence: z.ZodInt;
3315
3315
  model_call_context_id: z.ZodString;
3316
3316
  stop_reason: z.ZodEnum<{
3317
+ error: "error";
3317
3318
  end_turn: "end_turn";
3318
3319
  tool_use: "tool_use";
3319
3320
  max_tokens: "max_tokens";
3320
3321
  refusal: "refusal";
3321
3322
  content_filter: "content_filter";
3322
- error: "error";
3323
3323
  }>;
3324
3324
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3325
3325
  text: z.ZodString;
@@ -3337,8 +3337,8 @@ declare const zListAgentEventsResponse: z.ZodObject<{
3337
3337
  }, z.core.$strip>, z.ZodObject<{
3338
3338
  tool_call_id: z.ZodString;
3339
3339
  tool_type: z.ZodEnum<{
3340
- built_in: "built_in";
3341
3340
  custom: "custom";
3341
+ built_in: "built_in";
3342
3342
  mcp: "mcp";
3343
3343
  }>;
3344
3344
  name: z.ZodString;
@@ -3450,12 +3450,12 @@ declare const zListTurnEventsResponse: z.ZodObject<{
3450
3450
  sequence: z.ZodInt;
3451
3451
  model_call_context_id: z.ZodString;
3452
3452
  stop_reason: z.ZodEnum<{
3453
+ error: "error";
3453
3454
  end_turn: "end_turn";
3454
3455
  tool_use: "tool_use";
3455
3456
  max_tokens: "max_tokens";
3456
3457
  refusal: "refusal";
3457
3458
  content_filter: "content_filter";
3458
- error: "error";
3459
3459
  }>;
3460
3460
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3461
3461
  text: z.ZodString;
@@ -3473,8 +3473,8 @@ declare const zListTurnEventsResponse: z.ZodObject<{
3473
3473
  }, z.core.$strip>, z.ZodObject<{
3474
3474
  tool_call_id: z.ZodString;
3475
3475
  tool_type: z.ZodEnum<{
3476
- built_in: "built_in";
3477
3476
  custom: "custom";
3477
+ built_in: "built_in";
3478
3478
  mcp: "mcp";
3479
3479
  }>;
3480
3480
  name: z.ZodString;
@@ -3588,12 +3588,12 @@ declare const zAgentTurn: z.ZodObject<{
3588
3588
  sequence: z.ZodInt;
3589
3589
  model_call_context_id: z.ZodString;
3590
3590
  stop_reason: z.ZodEnum<{
3591
+ error: "error";
3591
3592
  end_turn: "end_turn";
3592
3593
  tool_use: "tool_use";
3593
3594
  max_tokens: "max_tokens";
3594
3595
  refusal: "refusal";
3595
3596
  content_filter: "content_filter";
3596
- error: "error";
3597
3597
  }>;
3598
3598
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3599
3599
  text: z.ZodString;
@@ -3611,8 +3611,8 @@ declare const zAgentTurn: z.ZodObject<{
3611
3611
  }, z.core.$strip>, z.ZodObject<{
3612
3612
  tool_call_id: z.ZodString;
3613
3613
  tool_type: z.ZodEnum<{
3614
- built_in: "built_in";
3615
3614
  custom: "custom";
3615
+ built_in: "built_in";
3616
3616
  mcp: "mcp";
3617
3617
  }>;
3618
3618
  name: z.ZodString;
@@ -3719,12 +3719,12 @@ declare const zAgentTurn: z.ZodObject<{
3719
3719
  sequence: z.ZodInt;
3720
3720
  model_call_context_id: z.ZodString;
3721
3721
  stop_reason: z.ZodEnum<{
3722
+ error: "error";
3722
3723
  end_turn: "end_turn";
3723
3724
  tool_use: "tool_use";
3724
3725
  max_tokens: "max_tokens";
3725
3726
  refusal: "refusal";
3726
3727
  content_filter: "content_filter";
3727
- error: "error";
3728
3728
  }>;
3729
3729
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3730
3730
  text: z.ZodString;
@@ -3742,8 +3742,8 @@ declare const zAgentTurn: z.ZodObject<{
3742
3742
  }, z.core.$strip>, z.ZodObject<{
3743
3743
  tool_call_id: z.ZodString;
3744
3744
  tool_type: z.ZodEnum<{
3745
- built_in: "built_in";
3746
3745
  custom: "custom";
3746
+ built_in: "built_in";
3747
3747
  mcp: "mcp";
3748
3748
  }>;
3749
3749
  name: z.ZodString;
@@ -3850,12 +3850,12 @@ declare const zAgentTurn: z.ZodObject<{
3850
3850
  sequence: z.ZodInt;
3851
3851
  model_call_context_id: z.ZodString;
3852
3852
  stop_reason: z.ZodEnum<{
3853
+ error: "error";
3853
3854
  end_turn: "end_turn";
3854
3855
  tool_use: "tool_use";
3855
3856
  max_tokens: "max_tokens";
3856
3857
  refusal: "refusal";
3857
3858
  content_filter: "content_filter";
3858
- error: "error";
3859
3859
  }>;
3860
3860
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3861
3861
  text: z.ZodString;
@@ -3873,8 +3873,8 @@ declare const zAgentTurn: z.ZodObject<{
3873
3873
  }, z.core.$strip>, z.ZodObject<{
3874
3874
  tool_call_id: z.ZodString;
3875
3875
  tool_type: z.ZodEnum<{
3876
- built_in: "built_in";
3877
3876
  custom: "custom";
3877
+ built_in: "built_in";
3878
3878
  mcp: "mcp";
3879
3879
  }>;
3880
3880
  name: z.ZodString;
@@ -3990,12 +3990,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
3990
3990
  sequence: z.ZodInt;
3991
3991
  model_call_context_id: z.ZodString;
3992
3992
  stop_reason: z.ZodEnum<{
3993
+ error: "error";
3993
3994
  end_turn: "end_turn";
3994
3995
  tool_use: "tool_use";
3995
3996
  max_tokens: "max_tokens";
3996
3997
  refusal: "refusal";
3997
3998
  content_filter: "content_filter";
3998
- error: "error";
3999
3999
  }>;
4000
4000
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4001
4001
  text: z.ZodString;
@@ -4013,8 +4013,8 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4013
4013
  }, z.core.$strip>, z.ZodObject<{
4014
4014
  tool_call_id: z.ZodString;
4015
4015
  tool_type: z.ZodEnum<{
4016
- built_in: "built_in";
4017
4016
  custom: "custom";
4017
+ built_in: "built_in";
4018
4018
  mcp: "mcp";
4019
4019
  }>;
4020
4020
  name: z.ZodString;
@@ -4121,12 +4121,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4121
4121
  sequence: z.ZodInt;
4122
4122
  model_call_context_id: z.ZodString;
4123
4123
  stop_reason: z.ZodEnum<{
4124
+ error: "error";
4124
4125
  end_turn: "end_turn";
4125
4126
  tool_use: "tool_use";
4126
4127
  max_tokens: "max_tokens";
4127
4128
  refusal: "refusal";
4128
4129
  content_filter: "content_filter";
4129
- error: "error";
4130
4130
  }>;
4131
4131
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4132
4132
  text: z.ZodString;
@@ -4144,8 +4144,8 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4144
4144
  }, z.core.$strip>, z.ZodObject<{
4145
4145
  tool_call_id: z.ZodString;
4146
4146
  tool_type: z.ZodEnum<{
4147
- built_in: "built_in";
4148
4147
  custom: "custom";
4148
+ built_in: "built_in";
4149
4149
  mcp: "mcp";
4150
4150
  }>;
4151
4151
  name: z.ZodString;
@@ -4252,12 +4252,12 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4252
4252
  sequence: z.ZodInt;
4253
4253
  model_call_context_id: z.ZodString;
4254
4254
  stop_reason: z.ZodEnum<{
4255
+ error: "error";
4255
4256
  end_turn: "end_turn";
4256
4257
  tool_use: "tool_use";
4257
4258
  max_tokens: "max_tokens";
4258
4259
  refusal: "refusal";
4259
4260
  content_filter: "content_filter";
4260
- error: "error";
4261
4261
  }>;
4262
4262
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4263
4263
  text: z.ZodString;
@@ -4275,8 +4275,8 @@ declare const zListAgentTurnsResponse: z.ZodObject<{
4275
4275
  }, z.core.$strip>, z.ZodObject<{
4276
4276
  tool_call_id: z.ZodString;
4277
4277
  tool_type: z.ZodEnum<{
4278
- built_in: "built_in";
4279
4278
  custom: "custom";
4279
+ built_in: "built_in";
4280
4280
  mcp: "mcp";
4281
4281
  }>;
4282
4282
  name: z.ZodString;
@@ -4389,12 +4389,12 @@ declare const zCancelAgentResponse: z.ZodObject<{
4389
4389
  sequence: z.ZodInt;
4390
4390
  model_call_context_id: z.ZodString;
4391
4391
  stop_reason: z.ZodEnum<{
4392
+ error: "error";
4392
4393
  end_turn: "end_turn";
4393
4394
  tool_use: "tool_use";
4394
4395
  max_tokens: "max_tokens";
4395
4396
  refusal: "refusal";
4396
4397
  content_filter: "content_filter";
4397
- error: "error";
4398
4398
  }>;
4399
4399
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4400
4400
  text: z.ZodString;
@@ -4412,8 +4412,8 @@ declare const zCancelAgentResponse: z.ZodObject<{
4412
4412
  }, z.core.$strip>, z.ZodObject<{
4413
4413
  tool_call_id: z.ZodString;
4414
4414
  tool_type: z.ZodEnum<{
4415
- built_in: "built_in";
4416
4415
  custom: "custom";
4416
+ built_in: "built_in";
4417
4417
  mcp: "mcp";
4418
4418
  }>;
4419
4419
  name: z.ZodString;
@@ -4618,8 +4618,8 @@ declare const zAgentInteraction: z.ZodObject<{
4618
4618
  * omnara for project members, an integration provider such as slack, or external for API-managed actors.
4619
4619
  */
4620
4620
  declare const zActorProvider: z.ZodEnum<{
4621
- omnara: "omnara";
4622
4621
  slack: "slack";
4622
+ omnara: "omnara";
4623
4623
  external: "external";
4624
4624
  }>;
4625
4625
  declare const zActor: z.ZodObject<{
@@ -4627,8 +4627,8 @@ declare const zActor: z.ZodObject<{
4627
4627
  org_id: z.ZodString;
4628
4628
  project_id: z.ZodString;
4629
4629
  provider: z.ZodEnum<{
4630
- omnara: "omnara";
4631
4630
  slack: "slack";
4631
+ omnara: "omnara";
4632
4632
  external: "external";
4633
4633
  }>;
4634
4634
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -4719,8 +4719,8 @@ declare const zListActorsResponse: z.ZodObject<{
4719
4719
  org_id: z.ZodString;
4720
4720
  project_id: z.ZodString;
4721
4721
  provider: z.ZodEnum<{
4722
- omnara: "omnara";
4723
4722
  slack: "slack";
4723
+ omnara: "omnara";
4724
4724
  external: "external";
4725
4725
  }>;
4726
4726
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -6811,8 +6811,8 @@ declare const zSkillOwnerProjectIdFilter: z.ZodString;
6811
6811
  * Filter a project inventory by how the skill became available.
6812
6812
  */
6813
6813
  declare const zSkillAvailabilitySourceFilter: z.ZodEnum<{
6814
- direct: "direct";
6815
6814
  grant: "grant";
6815
+ direct: "direct";
6816
6816
  }>;
6817
6817
  /**
6818
6818
  * Filter by the immutable owner kind.
@@ -6842,8 +6842,8 @@ declare const zIntegrationInstallOAuthFlowIdFilter: z.ZodString;
6842
6842
  * Filter a project inventory by how the secret became available.
6843
6843
  */
6844
6844
  declare const zSecretAvailabilitySourceFilter: z.ZodEnum<{
6845
- direct: "direct";
6846
6845
  grant: "grant";
6846
+ direct: "direct";
6847
6847
  }>;
6848
6848
  declare const zListPersonalAccessTokensQuery: z.ZodObject<{
6849
6849
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -7727,8 +7727,8 @@ declare const zListProjectAvailableSkillsQuery: z.ZodObject<{
7727
7727
  user: "user";
7728
7728
  }>>;
7729
7729
  availability_source: z.ZodOptional<z.ZodEnum<{
7730
- direct: "direct";
7731
7730
  grant: "grant";
7731
+ direct: "direct";
7732
7732
  }>>;
7733
7733
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7734
7734
  name: "name";
@@ -9558,8 +9558,8 @@ declare const zListToolCallsQuery: z.ZodObject<{
9558
9558
  completed: "completed";
9559
9559
  }>>;
9560
9560
  type: z.ZodOptional<z.ZodEnum<{
9561
- built_in: "built_in";
9562
9561
  custom: "custom";
9562
+ built_in: "built_in";
9563
9563
  mcp: "mcp";
9564
9564
  }>>;
9565
9565
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -9576,8 +9576,8 @@ declare const zListToolCallsResponse2: z.ZodObject<{
9576
9576
  name: z.ZodString;
9577
9577
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9578
9578
  type: z.ZodEnum<{
9579
- built_in: "built_in";
9580
9579
  custom: "custom";
9580
+ built_in: "built_in";
9581
9581
  mcp: "mcp";
9582
9582
  }>;
9583
9583
  state: z.ZodEnum<{
@@ -9659,8 +9659,8 @@ declare const zSubmitToolCallResultResponse2: z.ZodObject<{
9659
9659
  name: z.ZodString;
9660
9660
  input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9661
9661
  type: z.ZodEnum<{
9662
- built_in: "built_in";
9663
9662
  custom: "custom";
9663
+ built_in: "built_in";
9664
9664
  mcp: "mcp";
9665
9665
  }>;
9666
9666
  state: z.ZodEnum<{
@@ -9771,12 +9771,12 @@ declare const zListTurnsResponse: z.ZodObject<{
9771
9771
  sequence: z.ZodInt;
9772
9772
  model_call_context_id: z.ZodString;
9773
9773
  stop_reason: z.ZodEnum<{
9774
+ error: "error";
9774
9775
  end_turn: "end_turn";
9775
9776
  tool_use: "tool_use";
9776
9777
  max_tokens: "max_tokens";
9777
9778
  refusal: "refusal";
9778
9779
  content_filter: "content_filter";
9779
- error: "error";
9780
9780
  }>;
9781
9781
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9782
9782
  text: z.ZodString;
@@ -9794,8 +9794,8 @@ declare const zListTurnsResponse: z.ZodObject<{
9794
9794
  }, z.core.$strip>, z.ZodObject<{
9795
9795
  tool_call_id: z.ZodString;
9796
9796
  tool_type: z.ZodEnum<{
9797
- built_in: "built_in";
9798
9797
  custom: "custom";
9798
+ built_in: "built_in";
9799
9799
  mcp: "mcp";
9800
9800
  }>;
9801
9801
  name: z.ZodString;
@@ -9902,12 +9902,12 @@ declare const zListTurnsResponse: z.ZodObject<{
9902
9902
  sequence: z.ZodInt;
9903
9903
  model_call_context_id: z.ZodString;
9904
9904
  stop_reason: z.ZodEnum<{
9905
+ error: "error";
9905
9906
  end_turn: "end_turn";
9906
9907
  tool_use: "tool_use";
9907
9908
  max_tokens: "max_tokens";
9908
9909
  refusal: "refusal";
9909
9910
  content_filter: "content_filter";
9910
- error: "error";
9911
9911
  }>;
9912
9912
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9913
9913
  text: z.ZodString;
@@ -9925,8 +9925,8 @@ declare const zListTurnsResponse: z.ZodObject<{
9925
9925
  }, z.core.$strip>, z.ZodObject<{
9926
9926
  tool_call_id: z.ZodString;
9927
9927
  tool_type: z.ZodEnum<{
9928
- built_in: "built_in";
9929
9928
  custom: "custom";
9929
+ built_in: "built_in";
9930
9930
  mcp: "mcp";
9931
9931
  }>;
9932
9932
  name: z.ZodString;
@@ -10033,12 +10033,12 @@ declare const zListTurnsResponse: z.ZodObject<{
10033
10033
  sequence: z.ZodInt;
10034
10034
  model_call_context_id: z.ZodString;
10035
10035
  stop_reason: z.ZodEnum<{
10036
+ error: "error";
10036
10037
  end_turn: "end_turn";
10037
10038
  tool_use: "tool_use";
10038
10039
  max_tokens: "max_tokens";
10039
10040
  refusal: "refusal";
10040
10041
  content_filter: "content_filter";
10041
- error: "error";
10042
10042
  }>;
10043
10043
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10044
10044
  text: z.ZodString;
@@ -10056,8 +10056,8 @@ declare const zListTurnsResponse: z.ZodObject<{
10056
10056
  }, z.core.$strip>, z.ZodObject<{
10057
10057
  tool_call_id: z.ZodString;
10058
10058
  tool_type: z.ZodEnum<{
10059
- built_in: "built_in";
10060
10059
  custom: "custom";
10060
+ built_in: "built_in";
10061
10061
  mcp: "mcp";
10062
10062
  }>;
10063
10063
  name: z.ZodString;
@@ -10183,12 +10183,12 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
10183
10183
  sequence: z.ZodInt;
10184
10184
  model_call_context_id: z.ZodString;
10185
10185
  stop_reason: z.ZodEnum<{
10186
+ error: "error";
10186
10187
  end_turn: "end_turn";
10187
10188
  tool_use: "tool_use";
10188
10189
  max_tokens: "max_tokens";
10189
10190
  refusal: "refusal";
10190
10191
  content_filter: "content_filter";
10191
- error: "error";
10192
10192
  }>;
10193
10193
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10194
10194
  text: z.ZodString;
@@ -10206,8 +10206,8 @@ declare const zListTurnEventsResponse2: z.ZodObject<{
10206
10206
  }, z.core.$strip>, z.ZodObject<{
10207
10207
  tool_call_id: z.ZodString;
10208
10208
  tool_type: z.ZodEnum<{
10209
- built_in: "built_in";
10210
10209
  custom: "custom";
10210
+ built_in: "built_in";
10211
10211
  mcp: "mcp";
10212
10212
  }>;
10213
10213
  name: z.ZodString;
@@ -10330,12 +10330,12 @@ declare const zListEventsResponse: z.ZodObject<{
10330
10330
  sequence: z.ZodInt;
10331
10331
  model_call_context_id: z.ZodString;
10332
10332
  stop_reason: z.ZodEnum<{
10333
+ error: "error";
10333
10334
  end_turn: "end_turn";
10334
10335
  tool_use: "tool_use";
10335
10336
  max_tokens: "max_tokens";
10336
10337
  refusal: "refusal";
10337
10338
  content_filter: "content_filter";
10338
- error: "error";
10339
10339
  }>;
10340
10340
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10341
10341
  text: z.ZodString;
@@ -10353,8 +10353,8 @@ declare const zListEventsResponse: z.ZodObject<{
10353
10353
  }, z.core.$strip>, z.ZodObject<{
10354
10354
  tool_call_id: z.ZodString;
10355
10355
  tool_type: z.ZodEnum<{
10356
- built_in: "built_in";
10357
10356
  custom: "custom";
10357
+ built_in: "built_in";
10358
10358
  mcp: "mcp";
10359
10359
  }>;
10360
10360
  name: z.ZodString;
@@ -10480,12 +10480,12 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
10480
10480
  sequence: z.ZodInt;
10481
10481
  model_call_context_id: z.ZodString;
10482
10482
  stop_reason: z.ZodEnum<{
10483
+ error: "error";
10483
10484
  end_turn: "end_turn";
10484
10485
  tool_use: "tool_use";
10485
10486
  max_tokens: "max_tokens";
10486
10487
  refusal: "refusal";
10487
10488
  content_filter: "content_filter";
10488
- error: "error";
10489
10489
  }>;
10490
10490
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10491
10491
  text: z.ZodString;
@@ -10503,8 +10503,8 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
10503
10503
  }, z.core.$strip>, z.ZodObject<{
10504
10504
  tool_call_id: z.ZodString;
10505
10505
  tool_type: z.ZodEnum<{
10506
- built_in: "built_in";
10507
10506
  custom: "custom";
10507
+ built_in: "built_in";
10508
10508
  mcp: "mcp";
10509
10509
  }>;
10510
10510
  name: z.ZodString;
@@ -10611,6 +10611,7 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
10611
10611
  }, z.core.$strip>, z.ZodObject<{
10612
10612
  stop: z.ZodObject<{
10613
10613
  reason: z.ZodEnum<{
10614
+ unknown: "unknown";
10614
10615
  end_turn: "end_turn";
10615
10616
  tool_use: "tool_use";
10616
10617
  max_tokens: "max_tokens";
@@ -10618,7 +10619,6 @@ declare const zStreamEventsResponse: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
10618
10619
  content_filter: "content_filter";
10619
10620
  pause: "pause";
10620
10621
  context_window: "context_window";
10621
- unknown: "unknown";
10622
10622
  }>;
10623
10623
  usage: z.ZodObject<{
10624
10624
  input_tokens_total: z.ZodOptional<z.ZodInt>;
@@ -10732,12 +10732,12 @@ declare const zCancelAgentResponse2: z.ZodObject<{
10732
10732
  sequence: z.ZodInt;
10733
10733
  model_call_context_id: z.ZodString;
10734
10734
  stop_reason: z.ZodEnum<{
10735
+ error: "error";
10735
10736
  end_turn: "end_turn";
10736
10737
  tool_use: "tool_use";
10737
10738
  max_tokens: "max_tokens";
10738
10739
  refusal: "refusal";
10739
10740
  content_filter: "content_filter";
10740
- error: "error";
10741
10741
  }>;
10742
10742
  content_blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10743
10743
  text: z.ZodString;
@@ -10755,8 +10755,8 @@ declare const zCancelAgentResponse2: z.ZodObject<{
10755
10755
  }, z.core.$strip>, z.ZodObject<{
10756
10756
  tool_call_id: z.ZodString;
10757
10757
  tool_type: z.ZodEnum<{
10758
- built_in: "built_in";
10759
10758
  custom: "custom";
10759
+ built_in: "built_in";
10760
10760
  mcp: "mcp";
10761
10761
  }>;
10762
10762
  name: z.ZodString;
@@ -11326,8 +11326,8 @@ declare const zListProjectAvailableSecretsQuery: z.ZodObject<{
11326
11326
  user: "user";
11327
11327
  }>>;
11328
11328
  availability_source: z.ZodOptional<z.ZodEnum<{
11329
- direct: "direct";
11330
11329
  grant: "grant";
11330
+ direct: "direct";
11331
11331
  }>>;
11332
11332
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
11333
11333
  sort: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
@@ -11439,8 +11439,8 @@ declare const zListActorsPath: z.ZodObject<{
11439
11439
  }, z.core.$strip>;
11440
11440
  declare const zListActorsQuery: z.ZodObject<{
11441
11441
  provider: z.ZodOptional<z.ZodEnum<{
11442
- omnara: "omnara";
11443
11442
  slack: "slack";
11443
+ omnara: "omnara";
11444
11444
  external: "external";
11445
11445
  }>>;
11446
11446
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -11457,8 +11457,8 @@ declare const zListActorsResponse2: z.ZodObject<{
11457
11457
  org_id: z.ZodString;
11458
11458
  project_id: z.ZodString;
11459
11459
  provider: z.ZodEnum<{
11460
- omnara: "omnara";
11461
11460
  slack: "slack";
11461
+ omnara: "omnara";
11462
11462
  external: "external";
11463
11463
  }>;
11464
11464
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -11488,8 +11488,8 @@ declare const zPutActorResponse: z.ZodObject<{
11488
11488
  org_id: z.ZodString;
11489
11489
  project_id: z.ZodString;
11490
11490
  provider: z.ZodEnum<{
11491
- omnara: "omnara";
11492
11491
  slack: "slack";
11492
+ omnara: "omnara";
11493
11493
  external: "external";
11494
11494
  }>;
11495
11495
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -11512,8 +11512,8 @@ declare const zGetActorResponse: z.ZodObject<{
11512
11512
  org_id: z.ZodString;
11513
11513
  project_id: z.ZodString;
11514
11514
  provider: z.ZodEnum<{
11515
- omnara: "omnara";
11516
11515
  slack: "slack";
11516
+ omnara: "omnara";
11517
11517
  external: "external";
11518
11518
  }>;
11519
11519
  provider_tenant_id: z.ZodOptional<z.ZodString>;
@@ -12163,11 +12163,11 @@ declare const zListConfiguredModelsResponse: z.ZodObject<{
12163
12163
  context_window_tokens: z.ZodInt;
12164
12164
  max_output_tokens: z.ZodInt;
12165
12165
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12166
- default_cache_retention: z.ZodEnum<{
12166
+ default_cache_retention: z.ZodOptional<z.ZodEnum<{
12167
12167
  none: "none";
12168
12168
  short: "short";
12169
12169
  long: "long";
12170
- }>;
12170
+ }>>;
12171
12171
  supports_tools: z.ZodBoolean;
12172
12172
  supports_reasoning: z.ZodBoolean;
12173
12173
  default_reasoning_effort: z.ZodString;
@@ -12221,11 +12221,11 @@ declare const zCreateConfiguredModelResponse: z.ZodObject<{
12221
12221
  context_window_tokens: z.ZodInt;
12222
12222
  max_output_tokens: z.ZodInt;
12223
12223
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12224
- default_cache_retention: z.ZodEnum<{
12224
+ default_cache_retention: z.ZodOptional<z.ZodEnum<{
12225
12225
  none: "none";
12226
12226
  short: "short";
12227
12227
  long: "long";
12228
- }>;
12228
+ }>>;
12229
12229
  supports_tools: z.ZodBoolean;
12230
12230
  supports_reasoning: z.ZodBoolean;
12231
12231
  default_reasoning_effort: z.ZodString;
@@ -12287,11 +12287,11 @@ declare const zUpdateConfiguredModelResponse: z.ZodObject<{
12287
12287
  context_window_tokens: z.ZodInt;
12288
12288
  max_output_tokens: z.ZodInt;
12289
12289
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12290
- default_cache_retention: z.ZodEnum<{
12290
+ default_cache_retention: z.ZodOptional<z.ZodEnum<{
12291
12291
  none: "none";
12292
12292
  short: "short";
12293
12293
  long: "long";
12294
- }>;
12294
+ }>>;
12295
12295
  supports_tools: z.ZodBoolean;
12296
12296
  supports_reasoning: z.ZodBoolean;
12297
12297
  default_reasoning_effort: z.ZodString;