@arizeai/phoenix-client 2.0.0 → 2.1.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 +331 -3
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/experiments/runExperiment.d.ts.map +1 -1
  4. package/dist/esm/experiments/runExperiment.js +35 -0
  5. package/dist/esm/experiments/runExperiment.js.map +1 -1
  6. package/dist/esm/prompts/createPrompt.d.ts +5 -1
  7. package/dist/esm/prompts/createPrompt.d.ts.map +1 -1
  8. package/dist/esm/prompts/createPrompt.js +16 -0
  9. package/dist/esm/prompts/createPrompt.js.map +1 -1
  10. package/dist/esm/schemas/llm/anthropic/converters.d.ts +21 -21
  11. package/dist/esm/schemas/llm/constants.d.ts +294 -294
  12. package/dist/esm/schemas/llm/converters.d.ts +1176 -1176
  13. package/dist/esm/schemas/llm/openai/converters.d.ts +168 -168
  14. package/dist/esm/schemas/llm/openai/toolSchemas.d.ts +63 -63
  15. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +21 -21
  16. package/dist/esm/schemas/llm/schemas.d.ts +63 -63
  17. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  18. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  19. package/dist/esm/utils/getPromptBySelector.d.ts +1 -1
  20. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  21. package/dist/esm/utils/urlUtils.d.ts +36 -0
  22. package/dist/esm/utils/urlUtils.d.ts.map +1 -0
  23. package/dist/esm/utils/urlUtils.js +40 -0
  24. package/dist/esm/utils/urlUtils.js.map +1 -0
  25. package/dist/src/__generated__/api/v1.d.ts +331 -3
  26. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  27. package/dist/src/experiments/runExperiment.d.ts.map +1 -1
  28. package/dist/src/experiments/runExperiment.js +35 -0
  29. package/dist/src/experiments/runExperiment.js.map +1 -1
  30. package/dist/src/prompts/createPrompt.d.ts +5 -1
  31. package/dist/src/prompts/createPrompt.d.ts.map +1 -1
  32. package/dist/src/prompts/createPrompt.js +16 -0
  33. package/dist/src/prompts/createPrompt.js.map +1 -1
  34. package/dist/src/schemas/llm/anthropic/converters.d.ts +21 -21
  35. package/dist/src/schemas/llm/constants.d.ts +294 -294
  36. package/dist/src/schemas/llm/converters.d.ts +1176 -1176
  37. package/dist/src/schemas/llm/openai/converters.d.ts +168 -168
  38. package/dist/src/schemas/llm/openai/toolSchemas.d.ts +63 -63
  39. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +21 -21
  40. package/dist/src/schemas/llm/schemas.d.ts +63 -63
  41. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  42. package/dist/src/utils/getPromptBySelector.d.ts +1 -1
  43. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  44. package/dist/src/utils/urlUtils.d.ts +36 -0
  45. package/dist/src/utils/urlUtils.d.ts.map +1 -0
  46. package/dist/src/utils/urlUtils.js +45 -0
  47. package/dist/src/utils/urlUtils.js.map +1 -0
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/package.json +1 -1
  50. package/src/__generated__/api/v1.ts +331 -3
  51. package/src/experiments/runExperiment.ts +43 -0
  52. package/src/prompts/createPrompt.ts +23 -1
  53. package/src/utils/urlUtils.ts +63 -0
@@ -12,7 +12,7 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
12
12
  function: z.ZodObject<{
13
13
  name: z.ZodString;
14
14
  description: z.ZodOptional<z.ZodString>;
15
- parameters: z.ZodObject<z.objectUtil.extendShape<{
15
+ parameters: z.ZodObject<{
16
16
  type: z.ZodLiteral<"object">;
17
17
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
18
18
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -55,9 +55,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
55
55
  }>]>>;
56
56
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
57
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
58
- }, {
58
+ } & {
59
59
  strict: z.ZodOptional<z.ZodBoolean>;
60
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
60
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
61
61
  type: z.ZodLiteral<"object">;
62
62
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
63
63
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -100,9 +100,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
100
100
  }>]>>;
101
101
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
102
102
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
103
- }, {
103
+ } & {
104
104
  strict: z.ZodOptional<z.ZodBoolean>;
105
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
105
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
106
106
  type: z.ZodLiteral<"object">;
107
107
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
108
108
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -145,13 +145,13 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
145
145
  }>]>>;
146
146
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
147
147
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
148
- }, {
148
+ } & {
149
149
  strict: z.ZodOptional<z.ZodBoolean>;
150
- }>, z.ZodTypeAny, "passthrough">>;
150
+ }, z.ZodTypeAny, "passthrough">>;
151
151
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
152
152
  name: z.ZodString;
153
153
  description: z.ZodOptional<z.ZodString>;
154
- parameters: z.ZodObject<z.objectUtil.extendShape<{
154
+ parameters: z.ZodObject<{
155
155
  type: z.ZodLiteral<"object">;
156
156
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
157
157
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -194,9 +194,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
194
194
  }>]>>;
195
195
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
196
196
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
197
- }, {
197
+ } & {
198
198
  strict: z.ZodOptional<z.ZodBoolean>;
199
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
199
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
200
200
  type: z.ZodLiteral<"object">;
201
201
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
202
202
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -239,9 +239,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
239
239
  }>]>>;
240
240
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
241
241
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
242
- }, {
242
+ } & {
243
243
  strict: z.ZodOptional<z.ZodBoolean>;
244
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
244
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
245
245
  type: z.ZodLiteral<"object">;
246
246
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
247
247
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -284,13 +284,13 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
284
284
  }>]>>;
285
285
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
286
286
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
287
- }, {
287
+ } & {
288
288
  strict: z.ZodOptional<z.ZodBoolean>;
289
- }>, z.ZodTypeAny, "passthrough">>;
289
+ }, z.ZodTypeAny, "passthrough">>;
290
290
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
291
291
  name: z.ZodString;
292
292
  description: z.ZodOptional<z.ZodString>;
293
- parameters: z.ZodObject<z.objectUtil.extendShape<{
293
+ parameters: z.ZodObject<{
294
294
  type: z.ZodLiteral<"object">;
295
295
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
296
296
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -333,9 +333,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
333
333
  }>]>>;
334
334
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
335
335
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
336
- }, {
336
+ } & {
337
337
  strict: z.ZodOptional<z.ZodBoolean>;
338
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
338
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
339
339
  type: z.ZodLiteral<"object">;
340
340
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
341
341
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -378,9 +378,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
378
378
  }>]>>;
379
379
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
380
380
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
381
- }, {
381
+ } & {
382
382
  strict: z.ZodOptional<z.ZodBoolean>;
383
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
383
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
384
384
  type: z.ZodLiteral<"object">;
385
385
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
386
386
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -423,16 +423,16 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
423
423
  }>]>>;
424
424
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
425
425
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
426
- }, {
426
+ } & {
427
427
  strict: z.ZodOptional<z.ZodBoolean>;
428
- }>, z.ZodTypeAny, "passthrough">>;
428
+ }, z.ZodTypeAny, "passthrough">>;
429
429
  }, z.ZodTypeAny, "passthrough">>;
430
430
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
431
431
  type: z.ZodLiteral<"function">;
432
432
  function: z.ZodObject<{
433
433
  name: z.ZodString;
434
434
  description: z.ZodOptional<z.ZodString>;
435
- parameters: z.ZodObject<z.objectUtil.extendShape<{
435
+ parameters: z.ZodObject<{
436
436
  type: z.ZodLiteral<"object">;
437
437
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
438
438
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -475,9 +475,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
475
475
  }>]>>;
476
476
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
477
477
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
478
- }, {
478
+ } & {
479
479
  strict: z.ZodOptional<z.ZodBoolean>;
480
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
481
481
  type: z.ZodLiteral<"object">;
482
482
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
483
483
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -520,9 +520,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
520
520
  }>]>>;
521
521
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
522
522
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
523
- }, {
523
+ } & {
524
524
  strict: z.ZodOptional<z.ZodBoolean>;
525
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
525
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
526
526
  type: z.ZodLiteral<"object">;
527
527
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
528
528
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -565,13 +565,13 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
565
565
  }>]>>;
566
566
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
567
567
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
568
- }, {
568
+ } & {
569
569
  strict: z.ZodOptional<z.ZodBoolean>;
570
- }>, z.ZodTypeAny, "passthrough">>;
570
+ }, z.ZodTypeAny, "passthrough">>;
571
571
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
572
572
  name: z.ZodString;
573
573
  description: z.ZodOptional<z.ZodString>;
574
- parameters: z.ZodObject<z.objectUtil.extendShape<{
574
+ parameters: z.ZodObject<{
575
575
  type: z.ZodLiteral<"object">;
576
576
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
577
577
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -614,9 +614,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
614
614
  }>]>>;
615
615
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
616
616
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
617
- }, {
617
+ } & {
618
618
  strict: z.ZodOptional<z.ZodBoolean>;
619
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
619
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
620
620
  type: z.ZodLiteral<"object">;
621
621
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
622
622
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -659,9 +659,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
659
659
  }>]>>;
660
660
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
661
661
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
662
- }, {
662
+ } & {
663
663
  strict: z.ZodOptional<z.ZodBoolean>;
664
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
664
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
665
665
  type: z.ZodLiteral<"object">;
666
666
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
667
667
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -704,13 +704,13 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
704
704
  }>]>>;
705
705
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
706
706
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
707
- }, {
707
+ } & {
708
708
  strict: z.ZodOptional<z.ZodBoolean>;
709
- }>, z.ZodTypeAny, "passthrough">>;
709
+ }, z.ZodTypeAny, "passthrough">>;
710
710
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
711
711
  name: z.ZodString;
712
712
  description: z.ZodOptional<z.ZodString>;
713
- parameters: z.ZodObject<z.objectUtil.extendShape<{
713
+ parameters: z.ZodObject<{
714
714
  type: z.ZodLiteral<"object">;
715
715
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
716
716
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -753,9 +753,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
753
753
  }>]>>;
754
754
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
755
755
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
756
- }, {
756
+ } & {
757
757
  strict: z.ZodOptional<z.ZodBoolean>;
758
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
758
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
759
759
  type: z.ZodLiteral<"object">;
760
760
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
761
761
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -798,9 +798,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
798
798
  }>]>>;
799
799
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
800
800
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
801
- }, {
801
+ } & {
802
802
  strict: z.ZodOptional<z.ZodBoolean>;
803
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
803
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
804
804
  type: z.ZodLiteral<"object">;
805
805
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
806
806
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -843,16 +843,16 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
843
843
  }>]>>;
844
844
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
845
845
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
846
- }, {
846
+ } & {
847
847
  strict: z.ZodOptional<z.ZodBoolean>;
848
- }>, z.ZodTypeAny, "passthrough">>;
848
+ }, z.ZodTypeAny, "passthrough">>;
849
849
  }, z.ZodTypeAny, "passthrough">>;
850
850
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
851
851
  type: z.ZodLiteral<"function">;
852
852
  function: z.ZodObject<{
853
853
  name: z.ZodString;
854
854
  description: z.ZodOptional<z.ZodString>;
855
- parameters: z.ZodObject<z.objectUtil.extendShape<{
855
+ parameters: z.ZodObject<{
856
856
  type: z.ZodLiteral<"object">;
857
857
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
858
858
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -895,9 +895,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
895
895
  }>]>>;
896
896
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
897
897
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
898
- }, {
898
+ } & {
899
899
  strict: z.ZodOptional<z.ZodBoolean>;
900
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
900
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
901
901
  type: z.ZodLiteral<"object">;
902
902
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
903
903
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -940,9 +940,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
940
940
  }>]>>;
941
941
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
942
942
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
943
- }, {
943
+ } & {
944
944
  strict: z.ZodOptional<z.ZodBoolean>;
945
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
945
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
946
946
  type: z.ZodLiteral<"object">;
947
947
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
948
948
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -985,13 +985,13 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
985
985
  }>]>>;
986
986
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
987
987
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
988
- }, {
988
+ } & {
989
989
  strict: z.ZodOptional<z.ZodBoolean>;
990
- }>, z.ZodTypeAny, "passthrough">>;
990
+ }, z.ZodTypeAny, "passthrough">>;
991
991
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
992
992
  name: z.ZodString;
993
993
  description: z.ZodOptional<z.ZodString>;
994
- parameters: z.ZodObject<z.objectUtil.extendShape<{
994
+ parameters: z.ZodObject<{
995
995
  type: z.ZodLiteral<"object">;
996
996
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
997
997
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -1034,9 +1034,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
1034
1034
  }>]>>;
1035
1035
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1036
1036
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
1037
- }, {
1037
+ } & {
1038
1038
  strict: z.ZodOptional<z.ZodBoolean>;
1039
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1039
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1040
1040
  type: z.ZodLiteral<"object">;
1041
1041
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1042
1042
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -1079,9 +1079,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
1079
1079
  }>]>>;
1080
1080
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1081
1081
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
1082
- }, {
1082
+ } & {
1083
1083
  strict: z.ZodOptional<z.ZodBoolean>;
1084
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
1084
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1085
1085
  type: z.ZodLiteral<"object">;
1086
1086
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1087
1087
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -1124,13 +1124,13 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
1124
1124
  }>]>>;
1125
1125
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1126
1126
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
1127
- }, {
1127
+ } & {
1128
1128
  strict: z.ZodOptional<z.ZodBoolean>;
1129
- }>, z.ZodTypeAny, "passthrough">>;
1129
+ }, z.ZodTypeAny, "passthrough">>;
1130
1130
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1131
1131
  name: z.ZodString;
1132
1132
  description: z.ZodOptional<z.ZodString>;
1133
- parameters: z.ZodObject<z.objectUtil.extendShape<{
1133
+ parameters: z.ZodObject<{
1134
1134
  type: z.ZodLiteral<"object">;
1135
1135
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1136
1136
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -1173,9 +1173,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
1173
1173
  }>]>>;
1174
1174
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1175
1175
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
1176
- }, {
1176
+ } & {
1177
1177
  strict: z.ZodOptional<z.ZodBoolean>;
1178
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1178
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1179
1179
  type: z.ZodLiteral<"object">;
1180
1180
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1181
1181
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -1218,9 +1218,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
1218
1218
  }>]>>;
1219
1219
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1220
1220
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
1221
- }, {
1221
+ } & {
1222
1222
  strict: z.ZodOptional<z.ZodBoolean>;
1223
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
1223
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1224
1224
  type: z.ZodLiteral<"object">;
1225
1225
  properties: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
1226
1226
  type: z.ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -1263,9 +1263,9 @@ export declare const openAIToolDefinitionSchema: z.ZodObject<{
1263
1263
  }>]>>;
1264
1264
  required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1265
1265
  additionalProperties: z.ZodOptional<z.ZodBoolean>;
1266
- }, {
1266
+ } & {
1267
1267
  strict: z.ZodOptional<z.ZodBoolean>;
1268
- }>, z.ZodTypeAny, "passthrough">>;
1268
+ }, z.ZodTypeAny, "passthrough">>;
1269
1269
  }, z.ZodTypeAny, "passthrough">>;
1270
1270
  }, z.ZodTypeAny, "passthrough">>;
1271
1271
  /**
@@ -378,7 +378,7 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
378
378
  function: import("zod").ZodObject<{
379
379
  name: import("zod").ZodString;
380
380
  description: import("zod").ZodOptional<import("zod").ZodString>;
381
- parameters: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
381
+ parameters: import("zod").ZodObject<{
382
382
  type: import("zod").ZodLiteral<"object">;
383
383
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
384
384
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -421,9 +421,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
421
421
  }>]>>;
422
422
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
423
423
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
424
- }, {
424
+ } & {
425
425
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
426
- }>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
426
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
427
427
  type: import("zod").ZodLiteral<"object">;
428
428
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
429
429
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -466,9 +466,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
466
466
  }>]>>;
467
467
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
468
468
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
469
- }, {
469
+ } & {
470
470
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
471
- }>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
471
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
472
472
  type: import("zod").ZodLiteral<"object">;
473
473
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
474
474
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -511,13 +511,13 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
511
511
  }>]>>;
512
512
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
513
513
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
514
- }, {
514
+ } & {
515
515
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
516
- }>, import("zod").ZodTypeAny, "passthrough">>;
516
+ }, import("zod").ZodTypeAny, "passthrough">>;
517
517
  }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
518
518
  name: import("zod").ZodString;
519
519
  description: import("zod").ZodOptional<import("zod").ZodString>;
520
- parameters: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
520
+ parameters: import("zod").ZodObject<{
521
521
  type: import("zod").ZodLiteral<"object">;
522
522
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
523
523
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -560,9 +560,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
560
560
  }>]>>;
561
561
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
562
562
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
563
- }, {
563
+ } & {
564
564
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
565
- }>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
565
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
566
566
  type: import("zod").ZodLiteral<"object">;
567
567
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
568
568
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -605,9 +605,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
605
605
  }>]>>;
606
606
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
607
607
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
608
- }, {
608
+ } & {
609
609
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
610
- }>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
610
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
611
611
  type: import("zod").ZodLiteral<"object">;
612
612
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
613
613
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -650,13 +650,13 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
650
650
  }>]>>;
651
651
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
652
652
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
653
- }, {
653
+ } & {
654
654
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
655
- }>, import("zod").ZodTypeAny, "passthrough">>;
655
+ }, import("zod").ZodTypeAny, "passthrough">>;
656
656
  }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
657
657
  name: import("zod").ZodString;
658
658
  description: import("zod").ZodOptional<import("zod").ZodString>;
659
- parameters: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
659
+ parameters: import("zod").ZodObject<{
660
660
  type: import("zod").ZodLiteral<"object">;
661
661
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
662
662
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -699,9 +699,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
699
699
  }>]>>;
700
700
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
701
701
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
702
- }, {
702
+ } & {
703
703
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
704
- }>, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
704
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
705
705
  type: import("zod").ZodLiteral<"object">;
706
706
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
707
707
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -744,9 +744,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
744
744
  }>]>>;
745
745
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
746
746
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
747
- }, {
747
+ } & {
748
748
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
749
- }>, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<import("zod").objectUtil.extendShape<{
749
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
750
750
  type: import("zod").ZodLiteral<"object">;
751
751
  properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodObject<{
752
752
  type: import("zod").ZodEnum<["string", "number", "boolean", "object", "array", "null", "integer"]>;
@@ -789,9 +789,9 @@ export declare const phoenixToolDefinitionToOpenAI: import("zod").ZodEffects<imp
789
789
  }>]>>;
790
790
  required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
791
791
  additionalProperties: import("zod").ZodOptional<import("zod").ZodBoolean>;
792
- }, {
792
+ } & {
793
793
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
794
- }>, import("zod").ZodTypeAny, "passthrough">>;
794
+ }, import("zod").ZodTypeAny, "passthrough">>;
795
795
  }, import("zod").ZodTypeAny, "passthrough">>;
796
796
  }, import("zod").ZodTypeAny, "passthrough">, {
797
797
  function: {