@arizeai/phoenix-client 5.5.4 → 5.6.0

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.
Files changed (53) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +5 -5
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/config.d.ts.map +1 -1
  4. package/dist/esm/config.js +5 -23
  5. package/dist/esm/config.js.map +1 -1
  6. package/dist/esm/schemas/llm/anthropic/converters.d.ts +82 -82
  7. package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
  8. package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
  9. package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
  10. package/dist/esm/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
  11. package/dist/esm/schemas/llm/constants.d.ts +46 -46
  12. package/dist/esm/schemas/llm/converters.d.ts +184 -184
  13. package/dist/esm/schemas/llm/openai/converters.d.ts +32 -32
  14. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +6 -6
  15. package/dist/esm/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
  16. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
  17. package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
  18. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
  19. package/dist/esm/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
  20. package/dist/esm/schemas/llm/schemas.d.ts +79 -79
  21. package/dist/esm/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
  22. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +8 -8
  23. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  24. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  25. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  26. package/dist/src/__generated__/api/v1.d.ts +5 -5
  27. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  28. package/dist/src/config.d.ts.map +1 -1
  29. package/dist/src/config.js +5 -27
  30. package/dist/src/config.js.map +1 -1
  31. package/dist/src/schemas/llm/anthropic/converters.d.ts +82 -82
  32. package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
  33. package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
  34. package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
  35. package/dist/src/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
  36. package/dist/src/schemas/llm/constants.d.ts +46 -46
  37. package/dist/src/schemas/llm/converters.d.ts +184 -184
  38. package/dist/src/schemas/llm/openai/converters.d.ts +32 -32
  39. package/dist/src/schemas/llm/openai/messageSchemas.d.ts +6 -6
  40. package/dist/src/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
  41. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
  42. package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
  43. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
  44. package/dist/src/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
  45. package/dist/src/schemas/llm/schemas.d.ts +79 -79
  46. package/dist/src/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
  47. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +8 -8
  48. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  49. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  50. package/dist/tsconfig.tsbuildinfo +1 -1
  51. package/package.json +5 -4
  52. package/src/__generated__/api/v1.ts +5 -5
  53. package/src/config.ts +11 -28
@@ -45,8 +45,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
45
45
  } & {
46
46
  [k: string]: unknown;
47
47
  };
48
- type: "function";
49
48
  id: string;
49
+ type: "function";
50
50
  }, {
51
51
  function: {
52
52
  name: string;
@@ -91,8 +91,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
91
91
  } & {
92
92
  [k: string]: unknown;
93
93
  };
94
- type: "function";
95
94
  id: string;
95
+ type: "function";
96
96
  }, {
97
97
  function: {
98
98
  name: string;
@@ -137,8 +137,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
137
137
  } & {
138
138
  [k: string]: unknown;
139
139
  };
140
- type: "function";
141
140
  id: string;
141
+ type: "function";
142
142
  }, {
143
143
  function: {
144
144
  name: string;
@@ -441,8 +441,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
441
441
  } & {
442
442
  [k: string]: unknown;
443
443
  };
444
- type: "function";
445
444
  id: string;
445
+ type: "function";
446
446
  }, {
447
447
  function: {
448
448
  name: string;
@@ -1973,8 +1973,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
1973
1973
  } & {
1974
1974
  [k: string]: unknown;
1975
1975
  };
1976
- type: "function";
1977
1976
  id: string;
1977
+ type: "function";
1978
1978
  }, {
1979
1979
  function: {
1980
1980
  name: string;
@@ -2019,8 +2019,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
2019
2019
  } & {
2020
2020
  [k: string]: unknown;
2021
2021
  };
2022
- type: "function";
2023
2022
  id: string;
2023
+ type: "function";
2024
2024
  }, {
2025
2025
  function: {
2026
2026
  name: string;
@@ -2065,8 +2065,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
2065
2065
  } & {
2066
2066
  [k: string]: unknown;
2067
2067
  };
2068
- type: "function";
2069
2068
  id: string;
2069
+ type: "function";
2070
2070
  }, {
2071
2071
  function: {
2072
2072
  name: string;
@@ -2369,8 +2369,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
2369
2369
  } & {
2370
2370
  [k: string]: unknown;
2371
2371
  };
2372
- type: "function";
2373
2372
  id: string;
2373
+ type: "function";
2374
2374
  }, {
2375
2375
  function: {
2376
2376
  name: string;
@@ -3901,8 +3901,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
3901
3901
  } & {
3902
3902
  [k: string]: unknown;
3903
3903
  };
3904
- type: "function";
3905
3904
  id: string;
3905
+ type: "function";
3906
3906
  }, {
3907
3907
  function: {
3908
3908
  name: string;
@@ -3947,8 +3947,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
3947
3947
  } & {
3948
3948
  [k: string]: unknown;
3949
3949
  };
3950
- type: "function";
3951
3950
  id: string;
3951
+ type: "function";
3952
3952
  }, {
3953
3953
  function: {
3954
3954
  name: string;
@@ -3993,8 +3993,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
3993
3993
  } & {
3994
3994
  [k: string]: unknown;
3995
3995
  };
3996
- type: "function";
3997
3996
  id: string;
3997
+ type: "function";
3998
3998
  }, {
3999
3999
  function: {
4000
4000
  name: string;
@@ -4248,26 +4248,26 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4248
4248
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
4249
4249
  type: z.ZodLiteral<"base64">;
4250
4250
  }, "strip", z.ZodTypeAny, {
4251
- type: "base64";
4252
4251
  data: string;
4252
+ type: "base64";
4253
4253
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4254
4254
  }, {
4255
- type: "base64";
4256
4255
  data: string;
4256
+ type: "base64";
4257
4257
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4258
4258
  }>;
4259
4259
  }, "strip", z.ZodTypeAny, {
4260
4260
  type: "image";
4261
4261
  source: {
4262
- type: "base64";
4263
4262
  data: string;
4263
+ type: "base64";
4264
4264
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4265
4265
  };
4266
4266
  }, {
4267
4267
  type: "image";
4268
4268
  source: {
4269
- type: "base64";
4270
4269
  data: string;
4270
+ type: "base64";
4271
4271
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4272
4272
  };
4273
4273
  }>, z.ZodObject<{
@@ -4276,15 +4276,15 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4276
4276
  name: z.ZodString;
4277
4277
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
4278
4278
  }, "strip", z.ZodTypeAny, {
4279
- type: "tool_use";
4280
4279
  name: string;
4281
4280
  id: string;
4282
4281
  input: JSONLiteral;
4283
- }, {
4284
4282
  type: "tool_use";
4283
+ }, {
4285
4284
  name: string;
4286
4285
  id: string;
4287
4286
  input: JSONLiteral;
4287
+ type: "tool_use";
4288
4288
  }>, z.ZodObject<{
4289
4289
  type: z.ZodLiteral<"tool_result">;
4290
4290
  tool_use_id: z.ZodString;
@@ -4304,58 +4304,58 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4304
4304
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
4305
4305
  type: z.ZodLiteral<"base64">;
4306
4306
  }, "strip", z.ZodTypeAny, {
4307
- type: "base64";
4308
4307
  data: string;
4308
+ type: "base64";
4309
4309
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4310
4310
  }, {
4311
- type: "base64";
4312
4311
  data: string;
4312
+ type: "base64";
4313
4313
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4314
4314
  }>;
4315
4315
  }, "strip", z.ZodTypeAny, {
4316
4316
  type: "image";
4317
4317
  source: {
4318
- type: "base64";
4319
4318
  data: string;
4319
+ type: "base64";
4320
4320
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4321
4321
  };
4322
4322
  }, {
4323
4323
  type: "image";
4324
4324
  source: {
4325
- type: "base64";
4326
4325
  data: string;
4326
+ type: "base64";
4327
4327
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4328
4328
  };
4329
4329
  }>]>, "many">]>;
4330
4330
  is_error: z.ZodOptional<z.ZodBoolean>;
4331
4331
  }, "strip", z.ZodTypeAny, {
4332
- type: "tool_result";
4333
4332
  content: string | ({
4334
4333
  text: string;
4335
4334
  type: "text";
4336
4335
  } | {
4337
4336
  type: "image";
4338
4337
  source: {
4339
- type: "base64";
4340
4338
  data: string;
4339
+ type: "base64";
4341
4340
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4342
4341
  };
4343
4342
  })[];
4343
+ type: "tool_result";
4344
4344
  tool_use_id: string;
4345
4345
  is_error?: boolean | undefined;
4346
4346
  }, {
4347
- type: "tool_result";
4348
4347
  content: string | ({
4349
4348
  text: string;
4350
4349
  type: "text";
4351
4350
  } | {
4352
4351
  type: "image";
4353
4352
  source: {
4354
- type: "base64";
4355
4353
  data: string;
4354
+ type: "base64";
4356
4355
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
4357
4356
  };
4358
4357
  })[];
4358
+ type: "tool_result";
4359
4359
  tool_use_id: string;
4360
4360
  is_error?: boolean | undefined;
4361
4361
  }>]>, "many">]>;
@@ -4393,8 +4393,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4393
4393
  } & {
4394
4394
  [k: string]: unknown;
4395
4395
  };
4396
- type: "function";
4397
4396
  id: string;
4397
+ type: "function";
4398
4398
  }, {
4399
4399
  function: {
4400
4400
  name: string;
@@ -4548,8 +4548,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4548
4548
  };
4549
4549
  type: "function";
4550
4550
  }>]>, {
4551
- type: "tool";
4552
4551
  name: string;
4552
+ type: "tool";
4553
4553
  } | {
4554
4554
  type: "auto";
4555
4555
  } | {
@@ -4579,8 +4579,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4579
4579
  } & {
4580
4580
  [k: string]: unknown;
4581
4581
  };
4582
- type: "function";
4583
4582
  id: string;
4583
+ type: "function";
4584
4584
  }, {
4585
4585
  function: {
4586
4586
  name: string;
@@ -4591,10 +4591,10 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
4591
4591
  id: string;
4592
4592
  type?: "function" | undefined;
4593
4593
  }>, {
4594
- type: "tool_use";
4595
4594
  name: string;
4596
4595
  id: string;
4597
4596
  input: JSONLiteral;
4597
+ type: "tool_use";
4598
4598
  }, {
4599
4599
  function: {
4600
4600
  name: string;
@@ -6340,8 +6340,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6340
6340
  } & {
6341
6341
  [k: string]: unknown;
6342
6342
  };
6343
- type: "function";
6344
6343
  id: string;
6344
+ type: "function";
6345
6345
  }, {
6346
6346
  function: {
6347
6347
  name: string;
@@ -6386,8 +6386,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6386
6386
  } & {
6387
6387
  [k: string]: unknown;
6388
6388
  };
6389
- type: "function";
6390
6389
  id: string;
6390
+ type: "function";
6391
6391
  }, {
6392
6392
  function: {
6393
6393
  name: string;
@@ -6432,8 +6432,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6432
6432
  } & {
6433
6433
  [k: string]: unknown;
6434
6434
  };
6435
- type: "function";
6436
6435
  id: string;
6436
+ type: "function";
6437
6437
  }, {
6438
6438
  function: {
6439
6439
  name: string;
@@ -6675,8 +6675,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6675
6675
  type: "text";
6676
6676
  } | {
6677
6677
  tool_call: {
6678
- type: "function";
6679
6678
  name: string;
6679
+ type: "function";
6680
6680
  arguments: string;
6681
6681
  };
6682
6682
  type: "tool_call";
@@ -6721,8 +6721,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6721
6721
  } & {
6722
6722
  [k: string]: unknown;
6723
6723
  };
6724
- type: "function";
6725
6724
  id: string;
6725
+ type: "function";
6726
6726
  }, {
6727
6727
  function: {
6728
6728
  name: string;
@@ -6843,8 +6843,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6843
6843
  } & {
6844
6844
  [k: string]: unknown;
6845
6845
  };
6846
- type: "function";
6847
6846
  id: string;
6847
+ type: "function";
6848
6848
  }, {
6849
6849
  function: {
6850
6850
  name: string;
@@ -6889,8 +6889,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6889
6889
  } & {
6890
6890
  [k: string]: unknown;
6891
6891
  };
6892
- type: "function";
6893
6892
  id: string;
6893
+ type: "function";
6894
6894
  }, {
6895
6895
  function: {
6896
6896
  name: string;
@@ -6935,8 +6935,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
6935
6935
  } & {
6936
6936
  [k: string]: unknown;
6937
6937
  };
6938
- type: "function";
6939
6938
  id: string;
6939
+ type: "function";
6940
6940
  }, {
6941
6941
  function: {
6942
6942
  name: string;
@@ -7190,19 +7190,19 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
7190
7190
  text: string;
7191
7191
  type: "text";
7192
7192
  } | {
7193
- type: "tool-call";
7194
7193
  input: JSONLiteral;
7194
+ type: "tool-call";
7195
7195
  toolCallId: string;
7196
7196
  toolName: string;
7197
7197
  })[];
7198
7198
  role: "assistant";
7199
7199
  } | {
7200
7200
  content: {
7201
- type: "tool-result";
7202
7201
  output: {
7203
7202
  value: string;
7204
7203
  type: "text";
7205
7204
  };
7205
+ type: "tool-result";
7206
7206
  toolCallId: string;
7207
7207
  toolName: string;
7208
7208
  }[];
@@ -7241,8 +7241,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
7241
7241
  } & {
7242
7242
  [k: string]: unknown;
7243
7243
  };
7244
- type: "function";
7245
7244
  id: string;
7245
+ type: "function";
7246
7246
  }, {
7247
7247
  function: {
7248
7248
  name: string;
@@ -7355,13 +7355,13 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
7355
7355
  toolName: z.ZodString;
7356
7356
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
7357
7357
  }, "strip", z.ZodTypeAny, {
7358
- type: "tool-call";
7359
7358
  input: JSONLiteral;
7359
+ type: "tool-call";
7360
7360
  toolCallId: string;
7361
7361
  toolName: string;
7362
7362
  }, {
7363
- type: "tool-call";
7364
7363
  input: JSONLiteral;
7364
+ type: "tool-call";
7365
7365
  toolCallId: string;
7366
7366
  toolName: string;
7367
7367
  }>, z.ZodObject<{
@@ -7379,19 +7379,19 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
7379
7379
  type: "text";
7380
7380
  }>;
7381
7381
  }, "strip", z.ZodTypeAny, {
7382
- type: "tool-result";
7383
7382
  output: {
7384
7383
  value: string;
7385
7384
  type: "text";
7386
7385
  };
7386
+ type: "tool-result";
7387
7387
  toolCallId: string;
7388
7388
  toolName: string;
7389
7389
  }, {
7390
- type: "tool-result";
7391
7390
  output: {
7392
7391
  value: string;
7393
7392
  type: "text";
7394
7393
  };
7394
+ type: "tool-result";
7395
7395
  toolCallId: string;
7396
7396
  toolName: string;
7397
7397
  }>]>, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
@@ -7427,13 +7427,13 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
7427
7427
  toolName: z.ZodString;
7428
7428
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
7429
7429
  }, "strip", z.ZodTypeAny, {
7430
- type: "tool-call";
7431
7430
  input: JSONLiteral;
7431
+ type: "tool-call";
7432
7432
  toolCallId: string;
7433
7433
  toolName: string;
7434
7434
  }, {
7435
- type: "tool-call";
7436
7435
  input: JSONLiteral;
7436
+ type: "tool-call";
7437
7437
  toolCallId: string;
7438
7438
  toolName: string;
7439
7439
  }>, z.ZodEffects<z.ZodObject<{
@@ -9164,8 +9164,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
9164
9164
  } & {
9165
9165
  [k: string]: unknown;
9166
9166
  };
9167
- type: "function";
9168
9167
  id: string;
9168
+ type: "function";
9169
9169
  }, {
9170
9170
  function: {
9171
9171
  name: string;
@@ -9210,8 +9210,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
9210
9210
  } & {
9211
9211
  [k: string]: unknown;
9212
9212
  };
9213
- type: "function";
9214
9213
  id: string;
9214
+ type: "function";
9215
9215
  }, {
9216
9216
  function: {
9217
9217
  name: string;
@@ -9256,8 +9256,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
9256
9256
  } & {
9257
9257
  [k: string]: unknown;
9258
9258
  };
9259
- type: "function";
9260
9259
  id: string;
9260
+ type: "function";
9261
9261
  }, {
9262
9262
  function: {
9263
9263
  name: string;
@@ -9560,8 +9560,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
9560
9560
  } & {
9561
9561
  [k: string]: unknown;
9562
9562
  };
9563
- type: "function";
9564
9563
  id: string;
9564
+ type: "function";
9565
9565
  }, {
9566
9566
  function: {
9567
9567
  name: string;
@@ -11092,8 +11092,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
11092
11092
  } & {
11093
11093
  [k: string]: unknown;
11094
11094
  };
11095
- type: "function";
11096
11095
  id: string;
11096
+ type: "function";
11097
11097
  }, {
11098
11098
  function: {
11099
11099
  name: string;
@@ -11138,8 +11138,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
11138
11138
  } & {
11139
11139
  [k: string]: unknown;
11140
11140
  };
11141
- type: "function";
11142
11141
  id: string;
11142
+ type: "function";
11143
11143
  }, {
11144
11144
  function: {
11145
11145
  name: string;
@@ -11184,8 +11184,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
11184
11184
  } & {
11185
11185
  [k: string]: unknown;
11186
11186
  };
11187
- type: "function";
11188
11187
  id: string;
11188
+ type: "function";
11189
11189
  }, {
11190
11190
  function: {
11191
11191
  name: string;
@@ -11488,8 +11488,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
11488
11488
  } & {
11489
11489
  [k: string]: unknown;
11490
11490
  };
11491
- type: "function";
11492
11491
  id: string;
11492
+ type: "function";
11493
11493
  }, {
11494
11494
  function: {
11495
11495
  name: string;
@@ -13020,8 +13020,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13020
13020
  } & {
13021
13021
  [k: string]: unknown;
13022
13022
  };
13023
- type: "function";
13024
13023
  id: string;
13024
+ type: "function";
13025
13025
  }, {
13026
13026
  function: {
13027
13027
  name: string;
@@ -13066,8 +13066,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13066
13066
  } & {
13067
13067
  [k: string]: unknown;
13068
13068
  };
13069
- type: "function";
13070
13069
  id: string;
13070
+ type: "function";
13071
13071
  }, {
13072
13072
  function: {
13073
13073
  name: string;
@@ -13112,8 +13112,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13112
13112
  } & {
13113
13113
  [k: string]: unknown;
13114
13114
  };
13115
- type: "function";
13116
13115
  id: string;
13116
+ type: "function";
13117
13117
  }, {
13118
13118
  function: {
13119
13119
  name: string;
@@ -13367,26 +13367,26 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13367
13367
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
13368
13368
  type: z.ZodLiteral<"base64">;
13369
13369
  }, "strip", z.ZodTypeAny, {
13370
- type: "base64";
13371
13370
  data: string;
13371
+ type: "base64";
13372
13372
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13373
13373
  }, {
13374
- type: "base64";
13375
13374
  data: string;
13375
+ type: "base64";
13376
13376
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13377
13377
  }>;
13378
13378
  }, "strip", z.ZodTypeAny, {
13379
13379
  type: "image";
13380
13380
  source: {
13381
- type: "base64";
13382
13381
  data: string;
13382
+ type: "base64";
13383
13383
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13384
13384
  };
13385
13385
  }, {
13386
13386
  type: "image";
13387
13387
  source: {
13388
- type: "base64";
13389
13388
  data: string;
13389
+ type: "base64";
13390
13390
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13391
13391
  };
13392
13392
  }>, z.ZodObject<{
@@ -13395,15 +13395,15 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13395
13395
  name: z.ZodString;
13396
13396
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
13397
13397
  }, "strip", z.ZodTypeAny, {
13398
- type: "tool_use";
13399
13398
  name: string;
13400
13399
  id: string;
13401
13400
  input: JSONLiteral;
13402
- }, {
13403
13401
  type: "tool_use";
13402
+ }, {
13404
13403
  name: string;
13405
13404
  id: string;
13406
13405
  input: JSONLiteral;
13406
+ type: "tool_use";
13407
13407
  }>, z.ZodObject<{
13408
13408
  type: z.ZodLiteral<"tool_result">;
13409
13409
  tool_use_id: z.ZodString;
@@ -13423,58 +13423,58 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13423
13423
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
13424
13424
  type: z.ZodLiteral<"base64">;
13425
13425
  }, "strip", z.ZodTypeAny, {
13426
- type: "base64";
13427
13426
  data: string;
13427
+ type: "base64";
13428
13428
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13429
13429
  }, {
13430
- type: "base64";
13431
13430
  data: string;
13431
+ type: "base64";
13432
13432
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13433
13433
  }>;
13434
13434
  }, "strip", z.ZodTypeAny, {
13435
13435
  type: "image";
13436
13436
  source: {
13437
- type: "base64";
13438
13437
  data: string;
13438
+ type: "base64";
13439
13439
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13440
13440
  };
13441
13441
  }, {
13442
13442
  type: "image";
13443
13443
  source: {
13444
- type: "base64";
13445
13444
  data: string;
13445
+ type: "base64";
13446
13446
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13447
13447
  };
13448
13448
  }>]>, "many">]>;
13449
13449
  is_error: z.ZodOptional<z.ZodBoolean>;
13450
13450
  }, "strip", z.ZodTypeAny, {
13451
- type: "tool_result";
13452
13451
  content: string | ({
13453
13452
  text: string;
13454
13453
  type: "text";
13455
13454
  } | {
13456
13455
  type: "image";
13457
13456
  source: {
13458
- type: "base64";
13459
13457
  data: string;
13458
+ type: "base64";
13460
13459
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13461
13460
  };
13462
13461
  })[];
13462
+ type: "tool_result";
13463
13463
  tool_use_id: string;
13464
13464
  is_error?: boolean | undefined;
13465
13465
  }, {
13466
- type: "tool_result";
13467
13466
  content: string | ({
13468
13467
  text: string;
13469
13468
  type: "text";
13470
13469
  } | {
13471
13470
  type: "image";
13472
13471
  source: {
13473
- type: "base64";
13474
13472
  data: string;
13473
+ type: "base64";
13475
13474
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
13476
13475
  };
13477
13476
  })[];
13477
+ type: "tool_result";
13478
13478
  tool_use_id: string;
13479
13479
  is_error?: boolean | undefined;
13480
13480
  }>]>, "many">]>;
@@ -13512,8 +13512,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13512
13512
  } & {
13513
13513
  [k: string]: unknown;
13514
13514
  };
13515
- type: "function";
13516
13515
  id: string;
13516
+ type: "function";
13517
13517
  }, {
13518
13518
  function: {
13519
13519
  name: string;
@@ -13667,8 +13667,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13667
13667
  };
13668
13668
  type: "function";
13669
13669
  }>]>, {
13670
- type: "tool";
13671
13670
  name: string;
13671
+ type: "tool";
13672
13672
  } | {
13673
13673
  type: "auto";
13674
13674
  } | {
@@ -13698,8 +13698,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13698
13698
  } & {
13699
13699
  [k: string]: unknown;
13700
13700
  };
13701
- type: "function";
13702
13701
  id: string;
13702
+ type: "function";
13703
13703
  }, {
13704
13704
  function: {
13705
13705
  name: string;
@@ -13710,10 +13710,10 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
13710
13710
  id: string;
13711
13711
  type?: "function" | undefined;
13712
13712
  }>, {
13713
- type: "tool_use";
13714
13713
  name: string;
13715
13714
  id: string;
13716
13715
  input: JSONLiteral;
13716
+ type: "tool_use";
13717
13717
  }, {
13718
13718
  function: {
13719
13719
  name: string;
@@ -15459,8 +15459,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
15459
15459
  } & {
15460
15460
  [k: string]: unknown;
15461
15461
  };
15462
- type: "function";
15463
15462
  id: string;
15463
+ type: "function";
15464
15464
  }, {
15465
15465
  function: {
15466
15466
  name: string;
@@ -15505,8 +15505,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
15505
15505
  } & {
15506
15506
  [k: string]: unknown;
15507
15507
  };
15508
- type: "function";
15509
15508
  id: string;
15509
+ type: "function";
15510
15510
  }, {
15511
15511
  function: {
15512
15512
  name: string;
@@ -15551,8 +15551,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
15551
15551
  } & {
15552
15552
  [k: string]: unknown;
15553
15553
  };
15554
- type: "function";
15555
15554
  id: string;
15555
+ type: "function";
15556
15556
  }, {
15557
15557
  function: {
15558
15558
  name: string;
@@ -15794,8 +15794,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
15794
15794
  type: "text";
15795
15795
  } | {
15796
15796
  tool_call: {
15797
- type: "function";
15798
15797
  name: string;
15798
+ type: "function";
15799
15799
  arguments: string;
15800
15800
  };
15801
15801
  type: "tool_call";
@@ -15840,8 +15840,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
15840
15840
  } & {
15841
15841
  [k: string]: unknown;
15842
15842
  };
15843
- type: "function";
15844
15843
  id: string;
15844
+ type: "function";
15845
15845
  }, {
15846
15846
  function: {
15847
15847
  name: string;
@@ -15962,8 +15962,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
15962
15962
  } & {
15963
15963
  [k: string]: unknown;
15964
15964
  };
15965
- type: "function";
15966
15965
  id: string;
15966
+ type: "function";
15967
15967
  }, {
15968
15968
  function: {
15969
15969
  name: string;
@@ -16008,8 +16008,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16008
16008
  } & {
16009
16009
  [k: string]: unknown;
16010
16010
  };
16011
- type: "function";
16012
16011
  id: string;
16012
+ type: "function";
16013
16013
  }, {
16014
16014
  function: {
16015
16015
  name: string;
@@ -16054,8 +16054,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16054
16054
  } & {
16055
16055
  [k: string]: unknown;
16056
16056
  };
16057
- type: "function";
16058
16057
  id: string;
16058
+ type: "function";
16059
16059
  }, {
16060
16060
  function: {
16061
16061
  name: string;
@@ -16309,19 +16309,19 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16309
16309
  text: string;
16310
16310
  type: "text";
16311
16311
  } | {
16312
- type: "tool-call";
16313
16312
  input: JSONLiteral;
16313
+ type: "tool-call";
16314
16314
  toolCallId: string;
16315
16315
  toolName: string;
16316
16316
  })[];
16317
16317
  role: "assistant";
16318
16318
  } | {
16319
16319
  content: {
16320
- type: "tool-result";
16321
16320
  output: {
16322
16321
  value: string;
16323
16322
  type: "text";
16324
16323
  };
16324
+ type: "tool-result";
16325
16325
  toolCallId: string;
16326
16326
  toolName: string;
16327
16327
  }[];
@@ -16360,8 +16360,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16360
16360
  } & {
16361
16361
  [k: string]: unknown;
16362
16362
  };
16363
- type: "function";
16364
16363
  id: string;
16364
+ type: "function";
16365
16365
  }, {
16366
16366
  function: {
16367
16367
  name: string;
@@ -16474,13 +16474,13 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16474
16474
  toolName: z.ZodString;
16475
16475
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
16476
16476
  }, "strip", z.ZodTypeAny, {
16477
- type: "tool-call";
16478
16477
  input: JSONLiteral;
16478
+ type: "tool-call";
16479
16479
  toolCallId: string;
16480
16480
  toolName: string;
16481
16481
  }, {
16482
- type: "tool-call";
16483
16482
  input: JSONLiteral;
16483
+ type: "tool-call";
16484
16484
  toolCallId: string;
16485
16485
  toolName: string;
16486
16486
  }>, z.ZodObject<{
@@ -16498,19 +16498,19 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16498
16498
  type: "text";
16499
16499
  }>;
16500
16500
  }, "strip", z.ZodTypeAny, {
16501
- type: "tool-result";
16502
16501
  output: {
16503
16502
  value: string;
16504
16503
  type: "text";
16505
16504
  };
16505
+ type: "tool-result";
16506
16506
  toolCallId: string;
16507
16507
  toolName: string;
16508
16508
  }, {
16509
- type: "tool-result";
16510
16509
  output: {
16511
16510
  value: string;
16512
16511
  type: "text";
16513
16512
  };
16513
+ type: "tool-result";
16514
16514
  toolCallId: string;
16515
16515
  toolName: string;
16516
16516
  }>]>, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
@@ -16546,13 +16546,13 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
16546
16546
  toolName: z.ZodString;
16547
16547
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
16548
16548
  }, "strip", z.ZodTypeAny, {
16549
- type: "tool-call";
16550
16549
  input: JSONLiteral;
16550
+ type: "tool-call";
16551
16551
  toolCallId: string;
16552
16552
  toolName: string;
16553
16553
  }, {
16554
- type: "tool-call";
16555
16554
  input: JSONLiteral;
16555
+ type: "tool-call";
16556
16556
  toolCallId: string;
16557
16557
  toolName: string;
16558
16558
  }>, z.ZodEffects<z.ZodObject<{
@@ -18283,8 +18283,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
18283
18283
  } & {
18284
18284
  [k: string]: unknown;
18285
18285
  };
18286
- type: "function";
18287
18286
  id: string;
18287
+ type: "function";
18288
18288
  }, {
18289
18289
  function: {
18290
18290
  name: string;
@@ -18329,8 +18329,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
18329
18329
  } & {
18330
18330
  [k: string]: unknown;
18331
18331
  };
18332
- type: "function";
18333
18332
  id: string;
18333
+ type: "function";
18334
18334
  }, {
18335
18335
  function: {
18336
18336
  name: string;
@@ -18375,8 +18375,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
18375
18375
  } & {
18376
18376
  [k: string]: unknown;
18377
18377
  };
18378
- type: "function";
18379
18378
  id: string;
18379
+ type: "function";
18380
18380
  }, {
18381
18381
  function: {
18382
18382
  name: string;
@@ -18679,8 +18679,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
18679
18679
  } & {
18680
18680
  [k: string]: unknown;
18681
18681
  };
18682
- type: "function";
18683
18682
  id: string;
18683
+ type: "function";
18684
18684
  }, {
18685
18685
  function: {
18686
18686
  name: string;
@@ -20211,8 +20211,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
20211
20211
  } & {
20212
20212
  [k: string]: unknown;
20213
20213
  };
20214
- type: "function";
20215
20214
  id: string;
20215
+ type: "function";
20216
20216
  }, {
20217
20217
  function: {
20218
20218
  name: string;
@@ -20257,8 +20257,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
20257
20257
  } & {
20258
20258
  [k: string]: unknown;
20259
20259
  };
20260
- type: "function";
20261
20260
  id: string;
20261
+ type: "function";
20262
20262
  }, {
20263
20263
  function: {
20264
20264
  name: string;
@@ -20303,8 +20303,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
20303
20303
  } & {
20304
20304
  [k: string]: unknown;
20305
20305
  };
20306
- type: "function";
20307
20306
  id: string;
20307
+ type: "function";
20308
20308
  }, {
20309
20309
  function: {
20310
20310
  name: string;
@@ -20607,8 +20607,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
20607
20607
  } & {
20608
20608
  [k: string]: unknown;
20609
20609
  };
20610
- type: "function";
20611
20610
  id: string;
20611
+ type: "function";
20612
20612
  }, {
20613
20613
  function: {
20614
20614
  name: string;
@@ -22139,8 +22139,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22139
22139
  } & {
22140
22140
  [k: string]: unknown;
22141
22141
  };
22142
- type: "function";
22143
22142
  id: string;
22143
+ type: "function";
22144
22144
  }, {
22145
22145
  function: {
22146
22146
  name: string;
@@ -22185,8 +22185,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22185
22185
  } & {
22186
22186
  [k: string]: unknown;
22187
22187
  };
22188
- type: "function";
22189
22188
  id: string;
22189
+ type: "function";
22190
22190
  }, {
22191
22191
  function: {
22192
22192
  name: string;
@@ -22231,8 +22231,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22231
22231
  } & {
22232
22232
  [k: string]: unknown;
22233
22233
  };
22234
- type: "function";
22235
22234
  id: string;
22235
+ type: "function";
22236
22236
  }, {
22237
22237
  function: {
22238
22238
  name: string;
@@ -22486,26 +22486,26 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22486
22486
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
22487
22487
  type: z.ZodLiteral<"base64">;
22488
22488
  }, "strip", z.ZodTypeAny, {
22489
- type: "base64";
22490
22489
  data: string;
22490
+ type: "base64";
22491
22491
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22492
22492
  }, {
22493
- type: "base64";
22494
22493
  data: string;
22494
+ type: "base64";
22495
22495
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22496
22496
  }>;
22497
22497
  }, "strip", z.ZodTypeAny, {
22498
22498
  type: "image";
22499
22499
  source: {
22500
- type: "base64";
22501
22500
  data: string;
22501
+ type: "base64";
22502
22502
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22503
22503
  };
22504
22504
  }, {
22505
22505
  type: "image";
22506
22506
  source: {
22507
- type: "base64";
22508
22507
  data: string;
22508
+ type: "base64";
22509
22509
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22510
22510
  };
22511
22511
  }>, z.ZodObject<{
@@ -22514,15 +22514,15 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22514
22514
  name: z.ZodString;
22515
22515
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
22516
22516
  }, "strip", z.ZodTypeAny, {
22517
- type: "tool_use";
22518
22517
  name: string;
22519
22518
  id: string;
22520
22519
  input: JSONLiteral;
22521
- }, {
22522
22520
  type: "tool_use";
22521
+ }, {
22523
22522
  name: string;
22524
22523
  id: string;
22525
22524
  input: JSONLiteral;
22525
+ type: "tool_use";
22526
22526
  }>, z.ZodObject<{
22527
22527
  type: z.ZodLiteral<"tool_result">;
22528
22528
  tool_use_id: z.ZodString;
@@ -22542,58 +22542,58 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22542
22542
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
22543
22543
  type: z.ZodLiteral<"base64">;
22544
22544
  }, "strip", z.ZodTypeAny, {
22545
- type: "base64";
22546
22545
  data: string;
22546
+ type: "base64";
22547
22547
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22548
22548
  }, {
22549
- type: "base64";
22550
22549
  data: string;
22550
+ type: "base64";
22551
22551
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22552
22552
  }>;
22553
22553
  }, "strip", z.ZodTypeAny, {
22554
22554
  type: "image";
22555
22555
  source: {
22556
- type: "base64";
22557
22556
  data: string;
22557
+ type: "base64";
22558
22558
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22559
22559
  };
22560
22560
  }, {
22561
22561
  type: "image";
22562
22562
  source: {
22563
- type: "base64";
22564
22563
  data: string;
22564
+ type: "base64";
22565
22565
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22566
22566
  };
22567
22567
  }>]>, "many">]>;
22568
22568
  is_error: z.ZodOptional<z.ZodBoolean>;
22569
22569
  }, "strip", z.ZodTypeAny, {
22570
- type: "tool_result";
22571
22570
  content: string | ({
22572
22571
  text: string;
22573
22572
  type: "text";
22574
22573
  } | {
22575
22574
  type: "image";
22576
22575
  source: {
22577
- type: "base64";
22578
22576
  data: string;
22577
+ type: "base64";
22579
22578
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22580
22579
  };
22581
22580
  })[];
22581
+ type: "tool_result";
22582
22582
  tool_use_id: string;
22583
22583
  is_error?: boolean | undefined;
22584
22584
  }, {
22585
- type: "tool_result";
22586
22585
  content: string | ({
22587
22586
  text: string;
22588
22587
  type: "text";
22589
22588
  } | {
22590
22589
  type: "image";
22591
22590
  source: {
22592
- type: "base64";
22593
22591
  data: string;
22592
+ type: "base64";
22594
22593
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
22595
22594
  };
22596
22595
  })[];
22596
+ type: "tool_result";
22597
22597
  tool_use_id: string;
22598
22598
  is_error?: boolean | undefined;
22599
22599
  }>]>, "many">]>;
@@ -22631,8 +22631,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22631
22631
  } & {
22632
22632
  [k: string]: unknown;
22633
22633
  };
22634
- type: "function";
22635
22634
  id: string;
22635
+ type: "function";
22636
22636
  }, {
22637
22637
  function: {
22638
22638
  name: string;
@@ -22786,8 +22786,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22786
22786
  };
22787
22787
  type: "function";
22788
22788
  }>]>, {
22789
- type: "tool";
22790
22789
  name: string;
22790
+ type: "tool";
22791
22791
  } | {
22792
22792
  type: "auto";
22793
22793
  } | {
@@ -22817,8 +22817,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22817
22817
  } & {
22818
22818
  [k: string]: unknown;
22819
22819
  };
22820
- type: "function";
22821
22820
  id: string;
22821
+ type: "function";
22822
22822
  }, {
22823
22823
  function: {
22824
22824
  name: string;
@@ -22829,10 +22829,10 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
22829
22829
  id: string;
22830
22830
  type?: "function" | undefined;
22831
22831
  }>, {
22832
- type: "tool_use";
22833
22832
  name: string;
22834
22833
  id: string;
22835
22834
  input: JSONLiteral;
22835
+ type: "tool_use";
22836
22836
  }, {
22837
22837
  function: {
22838
22838
  name: string;
@@ -24578,8 +24578,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
24578
24578
  } & {
24579
24579
  [k: string]: unknown;
24580
24580
  };
24581
- type: "function";
24582
24581
  id: string;
24582
+ type: "function";
24583
24583
  }, {
24584
24584
  function: {
24585
24585
  name: string;
@@ -24624,8 +24624,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
24624
24624
  } & {
24625
24625
  [k: string]: unknown;
24626
24626
  };
24627
- type: "function";
24628
24627
  id: string;
24628
+ type: "function";
24629
24629
  }, {
24630
24630
  function: {
24631
24631
  name: string;
@@ -24670,8 +24670,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
24670
24670
  } & {
24671
24671
  [k: string]: unknown;
24672
24672
  };
24673
- type: "function";
24674
24673
  id: string;
24674
+ type: "function";
24675
24675
  }, {
24676
24676
  function: {
24677
24677
  name: string;
@@ -24913,8 +24913,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
24913
24913
  type: "text";
24914
24914
  } | {
24915
24915
  tool_call: {
24916
- type: "function";
24917
24916
  name: string;
24917
+ type: "function";
24918
24918
  arguments: string;
24919
24919
  };
24920
24920
  type: "tool_call";
@@ -24959,8 +24959,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
24959
24959
  } & {
24960
24960
  [k: string]: unknown;
24961
24961
  };
24962
- type: "function";
24963
24962
  id: string;
24963
+ type: "function";
24964
24964
  }, {
24965
24965
  function: {
24966
24966
  name: string;
@@ -25081,8 +25081,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25081
25081
  } & {
25082
25082
  [k: string]: unknown;
25083
25083
  };
25084
- type: "function";
25085
25084
  id: string;
25085
+ type: "function";
25086
25086
  }, {
25087
25087
  function: {
25088
25088
  name: string;
@@ -25127,8 +25127,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25127
25127
  } & {
25128
25128
  [k: string]: unknown;
25129
25129
  };
25130
- type: "function";
25131
25130
  id: string;
25131
+ type: "function";
25132
25132
  }, {
25133
25133
  function: {
25134
25134
  name: string;
@@ -25173,8 +25173,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25173
25173
  } & {
25174
25174
  [k: string]: unknown;
25175
25175
  };
25176
- type: "function";
25177
25176
  id: string;
25177
+ type: "function";
25178
25178
  }, {
25179
25179
  function: {
25180
25180
  name: string;
@@ -25428,19 +25428,19 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25428
25428
  text: string;
25429
25429
  type: "text";
25430
25430
  } | {
25431
- type: "tool-call";
25432
25431
  input: JSONLiteral;
25432
+ type: "tool-call";
25433
25433
  toolCallId: string;
25434
25434
  toolName: string;
25435
25435
  })[];
25436
25436
  role: "assistant";
25437
25437
  } | {
25438
25438
  content: {
25439
- type: "tool-result";
25440
25439
  output: {
25441
25440
  value: string;
25442
25441
  type: "text";
25443
25442
  };
25443
+ type: "tool-result";
25444
25444
  toolCallId: string;
25445
25445
  toolName: string;
25446
25446
  }[];
@@ -25479,8 +25479,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25479
25479
  } & {
25480
25480
  [k: string]: unknown;
25481
25481
  };
25482
- type: "function";
25483
25482
  id: string;
25483
+ type: "function";
25484
25484
  }, {
25485
25485
  function: {
25486
25486
  name: string;
@@ -25593,13 +25593,13 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25593
25593
  toolName: z.ZodString;
25594
25594
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
25595
25595
  }, "strip", z.ZodTypeAny, {
25596
- type: "tool-call";
25597
25596
  input: JSONLiteral;
25597
+ type: "tool-call";
25598
25598
  toolCallId: string;
25599
25599
  toolName: string;
25600
25600
  }, {
25601
- type: "tool-call";
25602
25601
  input: JSONLiteral;
25602
+ type: "tool-call";
25603
25603
  toolCallId: string;
25604
25604
  toolName: string;
25605
25605
  }>, z.ZodObject<{
@@ -25617,19 +25617,19 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25617
25617
  type: "text";
25618
25618
  }>;
25619
25619
  }, "strip", z.ZodTypeAny, {
25620
- type: "tool-result";
25621
25620
  output: {
25622
25621
  value: string;
25623
25622
  type: "text";
25624
25623
  };
25624
+ type: "tool-result";
25625
25625
  toolCallId: string;
25626
25626
  toolName: string;
25627
25627
  }, {
25628
- type: "tool-result";
25629
25628
  output: {
25630
25629
  value: string;
25631
25630
  type: "text";
25632
25631
  };
25632
+ type: "tool-result";
25633
25633
  toolCallId: string;
25634
25634
  toolName: string;
25635
25635
  }>]>, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
@@ -25665,13 +25665,13 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
25665
25665
  toolName: z.ZodString;
25666
25666
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
25667
25667
  }, "strip", z.ZodTypeAny, {
25668
- type: "tool-call";
25669
25668
  input: JSONLiteral;
25669
+ type: "tool-call";
25670
25670
  toolCallId: string;
25671
25671
  toolName: string;
25672
25672
  }, {
25673
- type: "tool-call";
25674
25673
  input: JSONLiteral;
25674
+ type: "tool-call";
25675
25675
  toolCallId: string;
25676
25676
  toolName: string;
25677
25677
  }>, z.ZodEffects<z.ZodObject<{
@@ -27402,8 +27402,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
27402
27402
  } & {
27403
27403
  [k: string]: unknown;
27404
27404
  };
27405
- type: "function";
27406
27405
  id: string;
27406
+ type: "function";
27407
27407
  }, {
27408
27408
  function: {
27409
27409
  name: string;
@@ -27448,8 +27448,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
27448
27448
  } & {
27449
27449
  [k: string]: unknown;
27450
27450
  };
27451
- type: "function";
27452
27451
  id: string;
27452
+ type: "function";
27453
27453
  }, {
27454
27454
  function: {
27455
27455
  name: string;
@@ -27494,8 +27494,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
27494
27494
  } & {
27495
27495
  [k: string]: unknown;
27496
27496
  };
27497
- type: "function";
27498
27497
  id: string;
27498
+ type: "function";
27499
27499
  }, {
27500
27500
  function: {
27501
27501
  name: string;
@@ -27798,8 +27798,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
27798
27798
  } & {
27799
27799
  [k: string]: unknown;
27800
27800
  };
27801
- type: "function";
27802
27801
  id: string;
27802
+ type: "function";
27803
27803
  }, {
27804
27804
  function: {
27805
27805
  name: string;
@@ -29330,8 +29330,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
29330
29330
  } & {
29331
29331
  [k: string]: unknown;
29332
29332
  };
29333
- type: "function";
29334
29333
  id: string;
29334
+ type: "function";
29335
29335
  }, {
29336
29336
  function: {
29337
29337
  name: string;
@@ -29376,8 +29376,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
29376
29376
  } & {
29377
29377
  [k: string]: unknown;
29378
29378
  };
29379
- type: "function";
29380
29379
  id: string;
29380
+ type: "function";
29381
29381
  }, {
29382
29382
  function: {
29383
29383
  name: string;
@@ -29422,8 +29422,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
29422
29422
  } & {
29423
29423
  [k: string]: unknown;
29424
29424
  };
29425
- type: "function";
29426
29425
  id: string;
29426
+ type: "function";
29427
29427
  }, {
29428
29428
  function: {
29429
29429
  name: string;
@@ -29726,8 +29726,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
29726
29726
  } & {
29727
29727
  [k: string]: unknown;
29728
29728
  };
29729
- type: "function";
29730
29729
  id: string;
29730
+ type: "function";
29731
29731
  }, {
29732
29732
  function: {
29733
29733
  name: string;
@@ -31258,8 +31258,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31258
31258
  } & {
31259
31259
  [k: string]: unknown;
31260
31260
  };
31261
- type: "function";
31262
31261
  id: string;
31262
+ type: "function";
31263
31263
  }, {
31264
31264
  function: {
31265
31265
  name: string;
@@ -31304,8 +31304,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31304
31304
  } & {
31305
31305
  [k: string]: unknown;
31306
31306
  };
31307
- type: "function";
31308
31307
  id: string;
31308
+ type: "function";
31309
31309
  }, {
31310
31310
  function: {
31311
31311
  name: string;
@@ -31350,8 +31350,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31350
31350
  } & {
31351
31351
  [k: string]: unknown;
31352
31352
  };
31353
- type: "function";
31354
31353
  id: string;
31354
+ type: "function";
31355
31355
  }, {
31356
31356
  function: {
31357
31357
  name: string;
@@ -31605,26 +31605,26 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31605
31605
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
31606
31606
  type: z.ZodLiteral<"base64">;
31607
31607
  }, "strip", z.ZodTypeAny, {
31608
- type: "base64";
31609
31608
  data: string;
31609
+ type: "base64";
31610
31610
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31611
31611
  }, {
31612
- type: "base64";
31613
31612
  data: string;
31613
+ type: "base64";
31614
31614
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31615
31615
  }>;
31616
31616
  }, "strip", z.ZodTypeAny, {
31617
31617
  type: "image";
31618
31618
  source: {
31619
- type: "base64";
31620
31619
  data: string;
31620
+ type: "base64";
31621
31621
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31622
31622
  };
31623
31623
  }, {
31624
31624
  type: "image";
31625
31625
  source: {
31626
- type: "base64";
31627
31626
  data: string;
31627
+ type: "base64";
31628
31628
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31629
31629
  };
31630
31630
  }>, z.ZodObject<{
@@ -31633,15 +31633,15 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31633
31633
  name: z.ZodString;
31634
31634
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
31635
31635
  }, "strip", z.ZodTypeAny, {
31636
- type: "tool_use";
31637
31636
  name: string;
31638
31637
  id: string;
31639
31638
  input: JSONLiteral;
31640
- }, {
31641
31639
  type: "tool_use";
31640
+ }, {
31642
31641
  name: string;
31643
31642
  id: string;
31644
31643
  input: JSONLiteral;
31644
+ type: "tool_use";
31645
31645
  }>, z.ZodObject<{
31646
31646
  type: z.ZodLiteral<"tool_result">;
31647
31647
  tool_use_id: z.ZodString;
@@ -31661,58 +31661,58 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31661
31661
  media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
31662
31662
  type: z.ZodLiteral<"base64">;
31663
31663
  }, "strip", z.ZodTypeAny, {
31664
- type: "base64";
31665
31664
  data: string;
31665
+ type: "base64";
31666
31666
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31667
31667
  }, {
31668
- type: "base64";
31669
31668
  data: string;
31669
+ type: "base64";
31670
31670
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31671
31671
  }>;
31672
31672
  }, "strip", z.ZodTypeAny, {
31673
31673
  type: "image";
31674
31674
  source: {
31675
- type: "base64";
31676
31675
  data: string;
31676
+ type: "base64";
31677
31677
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31678
31678
  };
31679
31679
  }, {
31680
31680
  type: "image";
31681
31681
  source: {
31682
- type: "base64";
31683
31682
  data: string;
31683
+ type: "base64";
31684
31684
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31685
31685
  };
31686
31686
  }>]>, "many">]>;
31687
31687
  is_error: z.ZodOptional<z.ZodBoolean>;
31688
31688
  }, "strip", z.ZodTypeAny, {
31689
- type: "tool_result";
31690
31689
  content: string | ({
31691
31690
  text: string;
31692
31691
  type: "text";
31693
31692
  } | {
31694
31693
  type: "image";
31695
31694
  source: {
31696
- type: "base64";
31697
31695
  data: string;
31696
+ type: "base64";
31698
31697
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31699
31698
  };
31700
31699
  })[];
31700
+ type: "tool_result";
31701
31701
  tool_use_id: string;
31702
31702
  is_error?: boolean | undefined;
31703
31703
  }, {
31704
- type: "tool_result";
31705
31704
  content: string | ({
31706
31705
  text: string;
31707
31706
  type: "text";
31708
31707
  } | {
31709
31708
  type: "image";
31710
31709
  source: {
31711
- type: "base64";
31712
31710
  data: string;
31711
+ type: "base64";
31713
31712
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
31714
31713
  };
31715
31714
  })[];
31715
+ type: "tool_result";
31716
31716
  tool_use_id: string;
31717
31717
  is_error?: boolean | undefined;
31718
31718
  }>]>, "many">]>;
@@ -31750,8 +31750,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31750
31750
  } & {
31751
31751
  [k: string]: unknown;
31752
31752
  };
31753
- type: "function";
31754
31753
  id: string;
31754
+ type: "function";
31755
31755
  }, {
31756
31756
  function: {
31757
31757
  name: string;
@@ -31905,8 +31905,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31905
31905
  };
31906
31906
  type: "function";
31907
31907
  }>]>, {
31908
- type: "tool";
31909
31908
  name: string;
31909
+ type: "tool";
31910
31910
  } | {
31911
31911
  type: "auto";
31912
31912
  } | {
@@ -31936,8 +31936,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31936
31936
  } & {
31937
31937
  [k: string]: unknown;
31938
31938
  };
31939
- type: "function";
31940
31939
  id: string;
31940
+ type: "function";
31941
31941
  }, {
31942
31942
  function: {
31943
31943
  name: string;
@@ -31948,10 +31948,10 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
31948
31948
  id: string;
31949
31949
  type?: "function" | undefined;
31950
31950
  }>, {
31951
- type: "tool_use";
31952
31951
  name: string;
31953
31952
  id: string;
31954
31953
  input: JSONLiteral;
31954
+ type: "tool_use";
31955
31955
  }, {
31956
31956
  function: {
31957
31957
  name: string;
@@ -33697,8 +33697,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
33697
33697
  } & {
33698
33698
  [k: string]: unknown;
33699
33699
  };
33700
- type: "function";
33701
33700
  id: string;
33701
+ type: "function";
33702
33702
  }, {
33703
33703
  function: {
33704
33704
  name: string;
@@ -33743,8 +33743,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
33743
33743
  } & {
33744
33744
  [k: string]: unknown;
33745
33745
  };
33746
- type: "function";
33747
33746
  id: string;
33747
+ type: "function";
33748
33748
  }, {
33749
33749
  function: {
33750
33750
  name: string;
@@ -33789,8 +33789,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
33789
33789
  } & {
33790
33790
  [k: string]: unknown;
33791
33791
  };
33792
- type: "function";
33793
33792
  id: string;
33793
+ type: "function";
33794
33794
  }, {
33795
33795
  function: {
33796
33796
  name: string;
@@ -34032,8 +34032,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34032
34032
  type: "text";
34033
34033
  } | {
34034
34034
  tool_call: {
34035
- type: "function";
34036
34035
  name: string;
34036
+ type: "function";
34037
34037
  arguments: string;
34038
34038
  };
34039
34039
  type: "tool_call";
@@ -34078,8 +34078,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34078
34078
  } & {
34079
34079
  [k: string]: unknown;
34080
34080
  };
34081
- type: "function";
34082
34081
  id: string;
34082
+ type: "function";
34083
34083
  }, {
34084
34084
  function: {
34085
34085
  name: string;
@@ -34200,8 +34200,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34200
34200
  } & {
34201
34201
  [k: string]: unknown;
34202
34202
  };
34203
- type: "function";
34204
34203
  id: string;
34204
+ type: "function";
34205
34205
  }, {
34206
34206
  function: {
34207
34207
  name: string;
@@ -34246,8 +34246,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34246
34246
  } & {
34247
34247
  [k: string]: unknown;
34248
34248
  };
34249
- type: "function";
34250
34249
  id: string;
34250
+ type: "function";
34251
34251
  }, {
34252
34252
  function: {
34253
34253
  name: string;
@@ -34292,8 +34292,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34292
34292
  } & {
34293
34293
  [k: string]: unknown;
34294
34294
  };
34295
- type: "function";
34296
34295
  id: string;
34296
+ type: "function";
34297
34297
  }, {
34298
34298
  function: {
34299
34299
  name: string;
@@ -34547,19 +34547,19 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34547
34547
  text: string;
34548
34548
  type: "text";
34549
34549
  } | {
34550
- type: "tool-call";
34551
34550
  input: JSONLiteral;
34551
+ type: "tool-call";
34552
34552
  toolCallId: string;
34553
34553
  toolName: string;
34554
34554
  })[];
34555
34555
  role: "assistant";
34556
34556
  } | {
34557
34557
  content: {
34558
- type: "tool-result";
34559
34558
  output: {
34560
34559
  value: string;
34561
34560
  type: "text";
34562
34561
  };
34562
+ type: "tool-result";
34563
34563
  toolCallId: string;
34564
34564
  toolName: string;
34565
34565
  }[];
@@ -34598,8 +34598,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34598
34598
  } & {
34599
34599
  [k: string]: unknown;
34600
34600
  };
34601
- type: "function";
34602
34601
  id: string;
34602
+ type: "function";
34603
34603
  }, {
34604
34604
  function: {
34605
34605
  name: string;
@@ -34712,13 +34712,13 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34712
34712
  toolName: z.ZodString;
34713
34713
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
34714
34714
  }, "strip", z.ZodTypeAny, {
34715
- type: "tool-call";
34716
34715
  input: JSONLiteral;
34716
+ type: "tool-call";
34717
34717
  toolCallId: string;
34718
34718
  toolName: string;
34719
34719
  }, {
34720
- type: "tool-call";
34721
34720
  input: JSONLiteral;
34721
+ type: "tool-call";
34722
34722
  toolCallId: string;
34723
34723
  toolName: string;
34724
34724
  }>, z.ZodObject<{
@@ -34736,19 +34736,19 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34736
34736
  type: "text";
34737
34737
  }>;
34738
34738
  }, "strip", z.ZodTypeAny, {
34739
- type: "tool-result";
34740
34739
  output: {
34741
34740
  value: string;
34742
34741
  type: "text";
34743
34742
  };
34743
+ type: "tool-result";
34744
34744
  toolCallId: string;
34745
34745
  toolName: string;
34746
34746
  }, {
34747
- type: "tool-result";
34748
34747
  output: {
34749
34748
  value: string;
34750
34749
  type: "text";
34751
34750
  };
34751
+ type: "tool-result";
34752
34752
  toolCallId: string;
34753
34753
  toolName: string;
34754
34754
  }>]>, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
@@ -34784,13 +34784,13 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
34784
34784
  toolName: z.ZodString;
34785
34785
  input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
34786
34786
  }, "strip", z.ZodTypeAny, {
34787
- type: "tool-call";
34788
34787
  input: JSONLiteral;
34788
+ type: "tool-call";
34789
34789
  toolCallId: string;
34790
34790
  toolName: string;
34791
34791
  }, {
34792
- type: "tool-call";
34793
34792
  input: JSONLiteral;
34793
+ type: "tool-call";
34794
34794
  toolCallId: string;
34795
34795
  toolName: string;
34796
34796
  }>, z.ZodEffects<z.ZodObject<{