@arizeai/phoenix-client 5.9.0 → 6.0.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 (198) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +190 -0
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/schemas/jsonLiteralSchema.d.ts +1 -1
  4. package/dist/esm/schemas/jsonLiteralSchema.d.ts.map +1 -1
  5. package/dist/esm/schemas/jsonLiteralSchema.js +1 -1
  6. package/dist/esm/schemas/jsonLiteralSchema.js.map +1 -1
  7. package/dist/esm/schemas/jsonSchema.d.ts +28 -126
  8. package/dist/esm/schemas/jsonSchema.d.ts.map +1 -1
  9. package/dist/esm/schemas/jsonSchema.js +5 -11
  10. package/dist/esm/schemas/jsonSchema.js.map +1 -1
  11. package/dist/esm/schemas/llm/anthropic/converters.d.ts +205 -1344
  12. package/dist/esm/schemas/llm/anthropic/converters.d.ts.map +1 -1
  13. package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts +45 -217
  14. package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts.map +1 -1
  15. package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts +87 -725
  16. package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts.map +1 -1
  17. package/dist/esm/schemas/llm/anthropic/messageSchemas.js +3 -13
  18. package/dist/esm/schemas/llm/anthropic/messageSchemas.js.map +1 -1
  19. package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -24
  20. package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts.map +1 -1
  21. package/dist/esm/schemas/llm/anthropic/toolChoiceSchemas.d.ts +4 -18
  22. package/dist/esm/schemas/llm/anthropic/toolChoiceSchemas.d.ts.map +1 -1
  23. package/dist/esm/schemas/llm/anthropic/toolSchemas.d.ts +29 -169
  24. package/dist/esm/schemas/llm/anthropic/toolSchemas.d.ts.map +1 -1
  25. package/dist/esm/schemas/llm/constants.d.ts +836 -8952
  26. package/dist/esm/schemas/llm/constants.d.ts.map +1 -1
  27. package/dist/esm/schemas/llm/converters.d.ts +3564 -36028
  28. package/dist/esm/schemas/llm/converters.d.ts.map +1 -1
  29. package/dist/esm/schemas/llm/converters.js +8 -0
  30. package/dist/esm/schemas/llm/converters.js.map +1 -1
  31. package/dist/esm/schemas/llm/openai/converters.d.ts +559 -5065
  32. package/dist/esm/schemas/llm/openai/converters.d.ts.map +1 -1
  33. package/dist/esm/schemas/llm/openai/messagePartSchemas.d.ts +7 -47
  34. package/dist/esm/schemas/llm/openai/messagePartSchemas.d.ts.map +1 -1
  35. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +51 -665
  36. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts.map +1 -1
  37. package/dist/esm/schemas/llm/openai/messageSchemas.js +12 -24
  38. package/dist/esm/schemas/llm/openai/messageSchemas.js.map +1 -1
  39. package/dist/esm/schemas/llm/openai/responseFormatSchema.d.ts +30 -218
  40. package/dist/esm/schemas/llm/openai/responseFormatSchema.d.ts.map +1 -1
  41. package/dist/esm/schemas/llm/openai/toolCallSchemas.d.ts +6 -54
  42. package/dist/esm/schemas/llm/openai/toolCallSchemas.d.ts.map +1 -1
  43. package/dist/esm/schemas/llm/openai/toolCallSchemas.js +2 -3
  44. package/dist/esm/schemas/llm/openai/toolCallSchemas.js.map +1 -1
  45. package/dist/esm/schemas/llm/openai/toolChoiceSchemas.d.ts +3 -17
  46. package/dist/esm/schemas/llm/openai/toolChoiceSchemas.d.ts.map +1 -1
  47. package/dist/esm/schemas/llm/openai/toolSchemas.d.ts +33 -1254
  48. package/dist/esm/schemas/llm/openai/toolSchemas.d.ts.map +1 -1
  49. package/dist/esm/schemas/llm/openai/toolSchemas.js +3 -6
  50. package/dist/esm/schemas/llm/openai/toolSchemas.js.map +1 -1
  51. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +105 -696
  52. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts.map +1 -1
  53. package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +13 -89
  54. package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts.map +1 -1
  55. package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.js +1 -1
  56. package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.js.map +1 -1
  57. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +41 -165
  58. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts.map +1 -1
  59. package/dist/esm/schemas/llm/phoenixPrompt/responseFormatSchema.d.ts +2 -28
  60. package/dist/esm/schemas/llm/phoenixPrompt/responseFormatSchema.d.ts.map +1 -1
  61. package/dist/esm/schemas/llm/phoenixPrompt/responseFormatSchema.js +1 -1
  62. package/dist/esm/schemas/llm/phoenixPrompt/responseFormatSchema.js.map +1 -1
  63. package/dist/esm/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +2 -26
  64. package/dist/esm/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts.map +1 -1
  65. package/dist/esm/schemas/llm/phoenixPrompt/toolChoiceSchemas.d.ts +5 -23
  66. package/dist/esm/schemas/llm/phoenixPrompt/toolChoiceSchemas.d.ts.map +1 -1
  67. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.d.ts +2 -28
  68. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.d.ts.map +1 -1
  69. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.js +1 -1
  70. package/dist/esm/schemas/llm/phoenixPrompt/toolSchemas.js.map +1 -1
  71. package/dist/esm/schemas/llm/schemas.d.ts +172 -2608
  72. package/dist/esm/schemas/llm/schemas.d.ts.map +1 -1
  73. package/dist/esm/schemas/llm/schemas.js +2 -2
  74. package/dist/esm/schemas/llm/schemas.js.map +1 -1
  75. package/dist/esm/schemas/llm/types.d.ts +8 -8
  76. package/dist/esm/schemas/llm/types.d.ts.map +1 -1
  77. package/dist/esm/schemas/llm/utils.d.ts +2 -2
  78. package/dist/esm/schemas/llm/utils.d.ts.map +1 -1
  79. package/dist/esm/schemas/llm/vercel/messagePartSchemas.d.ts +13 -105
  80. package/dist/esm/schemas/llm/vercel/messagePartSchemas.d.ts.map +1 -1
  81. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +20 -137
  82. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts.map +1 -1
  83. package/dist/esm/schemas/llm/vercel/toolChoiceSchemas.d.ts +2 -8
  84. package/dist/esm/schemas/llm/vercel/toolChoiceSchemas.d.ts.map +1 -1
  85. package/dist/esm/schemas/llm/vercel/toolSchemas.d.ts +2 -26
  86. package/dist/esm/schemas/llm/vercel/toolSchemas.d.ts.map +1 -1
  87. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  88. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  89. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  90. package/dist/esm/utils/schemaMatches.d.ts +1 -1
  91. package/dist/esm/utils/schemaMatches.d.ts.map +1 -1
  92. package/dist/src/__generated__/api/v1.d.ts +190 -0
  93. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  94. package/dist/src/schemas/jsonLiteralSchema.d.ts +1 -1
  95. package/dist/src/schemas/jsonLiteralSchema.d.ts.map +1 -1
  96. package/dist/src/schemas/jsonLiteralSchema.js +1 -1
  97. package/dist/src/schemas/jsonLiteralSchema.js.map +1 -1
  98. package/dist/src/schemas/jsonSchema.d.ts +28 -126
  99. package/dist/src/schemas/jsonSchema.d.ts.map +1 -1
  100. package/dist/src/schemas/jsonSchema.js +5 -11
  101. package/dist/src/schemas/jsonSchema.js.map +1 -1
  102. package/dist/src/schemas/llm/anthropic/converters.d.ts +205 -1344
  103. package/dist/src/schemas/llm/anthropic/converters.d.ts.map +1 -1
  104. package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts +45 -217
  105. package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts.map +1 -1
  106. package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts +87 -725
  107. package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts.map +1 -1
  108. package/dist/src/schemas/llm/anthropic/messageSchemas.js +3 -13
  109. package/dist/src/schemas/llm/anthropic/messageSchemas.js.map +1 -1
  110. package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -24
  111. package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts.map +1 -1
  112. package/dist/src/schemas/llm/anthropic/toolChoiceSchemas.d.ts +4 -18
  113. package/dist/src/schemas/llm/anthropic/toolChoiceSchemas.d.ts.map +1 -1
  114. package/dist/src/schemas/llm/anthropic/toolSchemas.d.ts +29 -169
  115. package/dist/src/schemas/llm/anthropic/toolSchemas.d.ts.map +1 -1
  116. package/dist/src/schemas/llm/constants.d.ts +836 -8952
  117. package/dist/src/schemas/llm/constants.d.ts.map +1 -1
  118. package/dist/src/schemas/llm/converters.d.ts +3564 -36028
  119. package/dist/src/schemas/llm/converters.d.ts.map +1 -1
  120. package/dist/src/schemas/llm/converters.js +8 -0
  121. package/dist/src/schemas/llm/converters.js.map +1 -1
  122. package/dist/src/schemas/llm/openai/converters.d.ts +559 -5065
  123. package/dist/src/schemas/llm/openai/converters.d.ts.map +1 -1
  124. package/dist/src/schemas/llm/openai/messagePartSchemas.d.ts +7 -47
  125. package/dist/src/schemas/llm/openai/messagePartSchemas.d.ts.map +1 -1
  126. package/dist/src/schemas/llm/openai/messageSchemas.d.ts +51 -665
  127. package/dist/src/schemas/llm/openai/messageSchemas.d.ts.map +1 -1
  128. package/dist/src/schemas/llm/openai/messageSchemas.js +12 -24
  129. package/dist/src/schemas/llm/openai/messageSchemas.js.map +1 -1
  130. package/dist/src/schemas/llm/openai/responseFormatSchema.d.ts +30 -218
  131. package/dist/src/schemas/llm/openai/responseFormatSchema.d.ts.map +1 -1
  132. package/dist/src/schemas/llm/openai/toolCallSchemas.d.ts +6 -54
  133. package/dist/src/schemas/llm/openai/toolCallSchemas.d.ts.map +1 -1
  134. package/dist/src/schemas/llm/openai/toolCallSchemas.js +2 -3
  135. package/dist/src/schemas/llm/openai/toolCallSchemas.js.map +1 -1
  136. package/dist/src/schemas/llm/openai/toolChoiceSchemas.d.ts +3 -17
  137. package/dist/src/schemas/llm/openai/toolChoiceSchemas.d.ts.map +1 -1
  138. package/dist/src/schemas/llm/openai/toolSchemas.d.ts +33 -1254
  139. package/dist/src/schemas/llm/openai/toolSchemas.d.ts.map +1 -1
  140. package/dist/src/schemas/llm/openai/toolSchemas.js +3 -6
  141. package/dist/src/schemas/llm/openai/toolSchemas.js.map +1 -1
  142. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +105 -696
  143. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts.map +1 -1
  144. package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +13 -89
  145. package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts.map +1 -1
  146. package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.js +1 -1
  147. package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.js.map +1 -1
  148. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +41 -165
  149. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts.map +1 -1
  150. package/dist/src/schemas/llm/phoenixPrompt/responseFormatSchema.d.ts +2 -28
  151. package/dist/src/schemas/llm/phoenixPrompt/responseFormatSchema.d.ts.map +1 -1
  152. package/dist/src/schemas/llm/phoenixPrompt/responseFormatSchema.js +1 -1
  153. package/dist/src/schemas/llm/phoenixPrompt/responseFormatSchema.js.map +1 -1
  154. package/dist/src/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +2 -26
  155. package/dist/src/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts.map +1 -1
  156. package/dist/src/schemas/llm/phoenixPrompt/toolChoiceSchemas.d.ts +5 -23
  157. package/dist/src/schemas/llm/phoenixPrompt/toolChoiceSchemas.d.ts.map +1 -1
  158. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.d.ts +2 -28
  159. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.d.ts.map +1 -1
  160. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.js +1 -1
  161. package/dist/src/schemas/llm/phoenixPrompt/toolSchemas.js.map +1 -1
  162. package/dist/src/schemas/llm/schemas.d.ts +172 -2608
  163. package/dist/src/schemas/llm/schemas.d.ts.map +1 -1
  164. package/dist/src/schemas/llm/schemas.js +2 -2
  165. package/dist/src/schemas/llm/schemas.js.map +1 -1
  166. package/dist/src/schemas/llm/types.d.ts +8 -8
  167. package/dist/src/schemas/llm/types.d.ts.map +1 -1
  168. package/dist/src/schemas/llm/utils.d.ts +2 -2
  169. package/dist/src/schemas/llm/utils.d.ts.map +1 -1
  170. package/dist/src/schemas/llm/vercel/messagePartSchemas.d.ts +13 -105
  171. package/dist/src/schemas/llm/vercel/messagePartSchemas.d.ts.map +1 -1
  172. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +20 -137
  173. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts.map +1 -1
  174. package/dist/src/schemas/llm/vercel/toolChoiceSchemas.d.ts +2 -8
  175. package/dist/src/schemas/llm/vercel/toolChoiceSchemas.d.ts.map +1 -1
  176. package/dist/src/schemas/llm/vercel/toolSchemas.d.ts +2 -26
  177. package/dist/src/schemas/llm/vercel/toolSchemas.d.ts.map +1 -1
  178. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  179. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  180. package/dist/src/utils/schemaMatches.d.ts +1 -1
  181. package/dist/src/utils/schemaMatches.d.ts.map +1 -1
  182. package/dist/tsconfig.tsbuildinfo +1 -1
  183. package/package.json +4 -5
  184. package/src/__generated__/api/v1.ts +190 -0
  185. package/src/schemas/jsonLiteralSchema.ts +1 -1
  186. package/src/schemas/jsonSchema.ts +18 -25
  187. package/src/schemas/llm/anthropic/messageSchemas.ts +6 -15
  188. package/src/schemas/llm/converters.ts +40 -16
  189. package/src/schemas/llm/openai/messageSchemas.ts +35 -47
  190. package/src/schemas/llm/openai/toolCallSchemas.ts +2 -3
  191. package/src/schemas/llm/openai/toolSchemas.ts +22 -25
  192. package/src/schemas/llm/phoenixPrompt/messagePartSchemas.ts +1 -1
  193. package/src/schemas/llm/phoenixPrompt/responseFormatSchema.ts +1 -1
  194. package/src/schemas/llm/phoenixPrompt/toolSchemas.ts +1 -1
  195. package/src/schemas/llm/schemas.ts +2 -2
  196. package/src/schemas/llm/types.ts +13 -13
  197. package/src/schemas/llm/utils.ts +7 -7
  198. package/src/utils/schemaMatches.ts +1 -1
@@ -1,733 +1,119 @@
1
1
  import z from "zod";
2
- export declare const openAIMessageRoleSchema: z.ZodEnum<["system", "user", "assistant", "developer", "tool"]>;
2
+ export declare const openAIMessageRoleSchema: z.ZodEnum<{
3
+ user: "user";
4
+ assistant: "assistant";
5
+ tool: "tool";
6
+ system: "system";
7
+ developer: "developer";
8
+ }>;
3
9
  export type OpenAIMessageRole = z.infer<typeof openAIMessageRoleSchema>;
4
- export declare const openAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
10
+ export declare const openAIMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
11
  role: z.ZodLiteral<"assistant">;
6
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
12
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
7
13
  type: z.ZodLiteral<"text">;
8
14
  text: z.ZodString;
9
- }, "strip", z.ZodTypeAny, {
10
- text: string;
11
- type: "text";
12
- }, {
13
- text: string;
14
- type: "text";
15
- }>, "many">, z.ZodString]>;
15
+ }, z.core.$strip>>, z.ZodString]>;
16
16
  name: z.ZodOptional<z.ZodString>;
17
17
  tool_call_id: z.ZodOptional<z.ZodString>;
18
18
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
- type: z.ZodEffects<z.ZodOptional<z.ZodLiteral<"function">>, "function", "function" | undefined>;
19
+ type: z.ZodPipe<z.ZodOptional<z.ZodLiteral<"function">>, z.ZodTransform<"function", "function" | undefined>>;
20
20
  id: z.ZodString;
21
21
  function: z.ZodObject<{
22
22
  name: z.ZodString;
23
23
  arguments: z.ZodString;
24
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25
- name: z.ZodString;
26
- arguments: z.ZodString;
27
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
28
- name: z.ZodString;
29
- arguments: z.ZodString;
30
- }, z.ZodTypeAny, "passthrough">>;
31
- }, "strip", z.ZodTypeAny, {
32
- function: {
33
- name: string;
34
- arguments: string;
35
- } & {
36
- [k: string]: unknown;
37
- };
38
- id: string;
39
- type: "function";
40
- }, {
41
- function: {
42
- name: string;
43
- arguments: string;
44
- } & {
45
- [k: string]: unknown;
46
- };
47
- id: string;
48
- type?: "function" | undefined;
49
- }>, "many">>;
50
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
51
- role: z.ZodLiteral<"assistant">;
52
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
53
- type: z.ZodLiteral<"text">;
54
- text: z.ZodString;
55
- }, "strip", z.ZodTypeAny, {
56
- text: string;
57
- type: "text";
58
- }, {
59
- text: string;
60
- type: "text";
61
- }>, "many">, z.ZodString]>;
62
- name: z.ZodOptional<z.ZodString>;
63
- tool_call_id: z.ZodOptional<z.ZodString>;
64
- tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
- type: z.ZodEffects<z.ZodOptional<z.ZodLiteral<"function">>, "function", "function" | undefined>;
66
- id: z.ZodString;
67
- function: z.ZodObject<{
68
- name: z.ZodString;
69
- arguments: z.ZodString;
70
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
71
- name: z.ZodString;
72
- arguments: z.ZodString;
73
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
74
- name: z.ZodString;
75
- arguments: z.ZodString;
76
- }, z.ZodTypeAny, "passthrough">>;
77
- }, "strip", z.ZodTypeAny, {
78
- function: {
79
- name: string;
80
- arguments: string;
81
- } & {
82
- [k: string]: unknown;
83
- };
84
- id: string;
85
- type: "function";
86
- }, {
87
- function: {
88
- name: string;
89
- arguments: string;
90
- } & {
91
- [k: string]: unknown;
92
- };
93
- id: string;
94
- type?: "function" | undefined;
95
- }>, "many">>;
96
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
97
- role: z.ZodLiteral<"assistant">;
98
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
99
- type: z.ZodLiteral<"text">;
100
- text: z.ZodString;
101
- }, "strip", z.ZodTypeAny, {
102
- text: string;
103
- type: "text";
104
- }, {
105
- text: string;
106
- type: "text";
107
- }>, "many">, z.ZodString]>;
108
- name: z.ZodOptional<z.ZodString>;
109
- tool_call_id: z.ZodOptional<z.ZodString>;
110
- tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
111
- type: z.ZodEffects<z.ZodOptional<z.ZodLiteral<"function">>, "function", "function" | undefined>;
112
- id: z.ZodString;
113
- function: z.ZodObject<{
114
- name: z.ZodString;
115
- arguments: z.ZodString;
116
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
117
- name: z.ZodString;
118
- arguments: z.ZodString;
119
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
120
- name: z.ZodString;
121
- arguments: z.ZodString;
122
- }, z.ZodTypeAny, "passthrough">>;
123
- }, "strip", z.ZodTypeAny, {
124
- function: {
125
- name: string;
126
- arguments: string;
127
- } & {
128
- [k: string]: unknown;
129
- };
130
- id: string;
131
- type: "function";
132
- }, {
133
- function: {
134
- name: string;
135
- arguments: string;
136
- } & {
137
- [k: string]: unknown;
138
- };
139
- id: string;
140
- type?: "function" | undefined;
141
- }>, "many">>;
142
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
143
- role: z.ZodLiteral<"tool">;
144
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
145
- type: z.ZodLiteral<"text">;
146
- text: z.ZodString;
147
- }, "strip", z.ZodTypeAny, {
148
- text: string;
149
- type: "text";
150
- }, {
151
- text: string;
152
- type: "text";
153
- }>, "many">, z.ZodString]>;
154
- tool_call_id: z.ZodString;
155
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
156
- role: z.ZodLiteral<"tool">;
157
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
158
- type: z.ZodLiteral<"text">;
159
- text: z.ZodString;
160
- }, "strip", z.ZodTypeAny, {
161
- text: string;
162
- type: "text";
163
- }, {
164
- text: string;
165
- type: "text";
166
- }>, "many">, z.ZodString]>;
167
- tool_call_id: z.ZodString;
168
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
24
+ }, z.core.$loose>;
25
+ }, z.core.$strip>>>;
26
+ }, z.core.$loose>, z.ZodObject<{
169
27
  role: z.ZodLiteral<"tool">;
170
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
28
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
171
29
  type: z.ZodLiteral<"text">;
172
30
  text: z.ZodString;
173
- }, "strip", z.ZodTypeAny, {
174
- text: string;
175
- type: "text";
176
- }, {
177
- text: string;
178
- type: "text";
179
- }>, "many">, z.ZodString]>;
31
+ }, z.core.$strip>>, z.ZodString]>;
180
32
  tool_call_id: z.ZodString;
181
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
182
- role: z.ZodLiteral<"function">;
183
- content: z.ZodNullable<z.ZodString>;
184
- name: z.ZodString;
185
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
33
+ }, z.core.$loose>, z.ZodObject<{
186
34
  role: z.ZodLiteral<"function">;
187
35
  content: z.ZodNullable<z.ZodString>;
188
36
  name: z.ZodString;
189
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
190
- role: z.ZodLiteral<"function">;
191
- content: z.ZodNullable<z.ZodString>;
192
- name: z.ZodString;
193
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
194
- role: z.ZodLiteral<"user">;
195
- content: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
196
- type: z.ZodLiteral<"text">;
197
- text: z.ZodString;
198
- }, "strip", z.ZodTypeAny, {
199
- text: string;
200
- type: "text";
201
- }, {
202
- text: string;
203
- type: "text";
204
- }>, z.ZodObject<{
205
- type: z.ZodLiteral<"image_url">;
206
- image_url: z.ZodObject<{
207
- url: z.ZodString;
208
- }, "strip", z.ZodTypeAny, {
209
- url: string;
210
- }, {
211
- url: string;
212
- }>;
213
- }, "strip", z.ZodTypeAny, {
214
- type: "image_url";
215
- image_url: {
216
- url: string;
217
- };
218
- }, {
219
- type: "image_url";
220
- image_url: {
221
- url: string;
222
- };
223
- }>]>, "many">, z.ZodString]>;
224
- name: z.ZodOptional<z.ZodString>;
225
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
226
- role: z.ZodLiteral<"user">;
227
- content: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
228
- type: z.ZodLiteral<"text">;
229
- text: z.ZodString;
230
- }, "strip", z.ZodTypeAny, {
231
- text: string;
232
- type: "text";
233
- }, {
234
- text: string;
235
- type: "text";
236
- }>, z.ZodObject<{
237
- type: z.ZodLiteral<"image_url">;
238
- image_url: z.ZodObject<{
239
- url: z.ZodString;
240
- }, "strip", z.ZodTypeAny, {
241
- url: string;
242
- }, {
243
- url: string;
244
- }>;
245
- }, "strip", z.ZodTypeAny, {
246
- type: "image_url";
247
- image_url: {
248
- url: string;
249
- };
250
- }, {
251
- type: "image_url";
252
- image_url: {
253
- url: string;
254
- };
255
- }>]>, "many">, z.ZodString]>;
256
- name: z.ZodOptional<z.ZodString>;
257
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
37
+ }, z.core.$loose>, z.ZodObject<{
258
38
  role: z.ZodLiteral<"user">;
259
- content: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
39
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
260
40
  type: z.ZodLiteral<"text">;
261
41
  text: z.ZodString;
262
- }, "strip", z.ZodTypeAny, {
263
- text: string;
264
- type: "text";
265
- }, {
266
- text: string;
267
- type: "text";
268
- }>, z.ZodObject<{
42
+ }, z.core.$strip>, z.ZodObject<{
269
43
  type: z.ZodLiteral<"image_url">;
270
44
  image_url: z.ZodObject<{
271
45
  url: z.ZodString;
272
- }, "strip", z.ZodTypeAny, {
273
- url: string;
274
- }, {
275
- url: string;
276
- }>;
277
- }, "strip", z.ZodTypeAny, {
278
- type: "image_url";
279
- image_url: {
280
- url: string;
281
- };
282
- }, {
283
- type: "image_url";
284
- image_url: {
285
- url: string;
286
- };
287
- }>]>, "many">, z.ZodString]>;
288
- name: z.ZodOptional<z.ZodString>;
289
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
290
- role: z.ZodLiteral<"system">;
291
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
292
- type: z.ZodLiteral<"text">;
293
- text: z.ZodString;
294
- }, "strip", z.ZodTypeAny, {
295
- text: string;
296
- type: "text";
297
- }, {
298
- text: string;
299
- type: "text";
300
- }>, "many">, z.ZodString]>;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>]>>, z.ZodString]>;
301
48
  name: z.ZodOptional<z.ZodString>;
302
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
49
+ }, z.core.$loose>, z.ZodObject<{
303
50
  role: z.ZodLiteral<"system">;
304
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
305
- type: z.ZodLiteral<"text">;
306
- text: z.ZodString;
307
- }, "strip", z.ZodTypeAny, {
308
- text: string;
309
- type: "text";
310
- }, {
311
- text: string;
312
- type: "text";
313
- }>, "many">, z.ZodString]>;
314
- name: z.ZodOptional<z.ZodString>;
315
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
316
- role: z.ZodLiteral<"system">;
317
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
318
- type: z.ZodLiteral<"text">;
319
- text: z.ZodString;
320
- }, "strip", z.ZodTypeAny, {
321
- text: string;
322
- type: "text";
323
- }, {
324
- text: string;
325
- type: "text";
326
- }>, "many">, z.ZodString]>;
327
- name: z.ZodOptional<z.ZodString>;
328
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
329
- role: z.ZodLiteral<"developer">;
330
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
331
- type: z.ZodLiteral<"text">;
332
- text: z.ZodString;
333
- }, "strip", z.ZodTypeAny, {
334
- text: string;
335
- type: "text";
336
- }, {
337
- text: string;
338
- type: "text";
339
- }>, "many">, z.ZodString]>;
340
- name: z.ZodOptional<z.ZodString>;
341
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
342
- role: z.ZodLiteral<"developer">;
343
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
51
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
344
52
  type: z.ZodLiteral<"text">;
345
53
  text: z.ZodString;
346
- }, "strip", z.ZodTypeAny, {
347
- text: string;
348
- type: "text";
349
- }, {
350
- text: string;
351
- type: "text";
352
- }>, "many">, z.ZodString]>;
54
+ }, z.core.$strip>>, z.ZodString]>;
353
55
  name: z.ZodOptional<z.ZodString>;
354
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
56
+ }, z.core.$loose>, z.ZodObject<{
355
57
  role: z.ZodLiteral<"developer">;
356
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
58
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
357
59
  type: z.ZodLiteral<"text">;
358
60
  text: z.ZodString;
359
- }, "strip", z.ZodTypeAny, {
360
- text: string;
361
- type: "text";
362
- }, {
363
- text: string;
364
- type: "text";
365
- }>, "many">, z.ZodString]>;
61
+ }, z.core.$strip>>, z.ZodString]>;
366
62
  name: z.ZodOptional<z.ZodString>;
367
- }, z.ZodTypeAny, "passthrough">>]>;
63
+ }, z.core.$loose>], "role">;
368
64
  export type OpenAIMessage = z.infer<typeof openAIMessageSchema>;
369
- export declare const openAIMessagesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
65
+ export declare const openAIMessagesSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
370
66
  role: z.ZodLiteral<"assistant">;
371
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
67
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
372
68
  type: z.ZodLiteral<"text">;
373
69
  text: z.ZodString;
374
- }, "strip", z.ZodTypeAny, {
375
- text: string;
376
- type: "text";
377
- }, {
378
- text: string;
379
- type: "text";
380
- }>, "many">, z.ZodString]>;
70
+ }, z.core.$strip>>, z.ZodString]>;
381
71
  name: z.ZodOptional<z.ZodString>;
382
72
  tool_call_id: z.ZodOptional<z.ZodString>;
383
73
  tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
384
- type: z.ZodEffects<z.ZodOptional<z.ZodLiteral<"function">>, "function", "function" | undefined>;
74
+ type: z.ZodPipe<z.ZodOptional<z.ZodLiteral<"function">>, z.ZodTransform<"function", "function" | undefined>>;
385
75
  id: z.ZodString;
386
76
  function: z.ZodObject<{
387
77
  name: z.ZodString;
388
78
  arguments: z.ZodString;
389
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
390
- name: z.ZodString;
391
- arguments: z.ZodString;
392
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
393
- name: z.ZodString;
394
- arguments: z.ZodString;
395
- }, z.ZodTypeAny, "passthrough">>;
396
- }, "strip", z.ZodTypeAny, {
397
- function: {
398
- name: string;
399
- arguments: string;
400
- } & {
401
- [k: string]: unknown;
402
- };
403
- id: string;
404
- type: "function";
405
- }, {
406
- function: {
407
- name: string;
408
- arguments: string;
409
- } & {
410
- [k: string]: unknown;
411
- };
412
- id: string;
413
- type?: "function" | undefined;
414
- }>, "many">>;
415
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
416
- role: z.ZodLiteral<"assistant">;
417
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
418
- type: z.ZodLiteral<"text">;
419
- text: z.ZodString;
420
- }, "strip", z.ZodTypeAny, {
421
- text: string;
422
- type: "text";
423
- }, {
424
- text: string;
425
- type: "text";
426
- }>, "many">, z.ZodString]>;
427
- name: z.ZodOptional<z.ZodString>;
428
- tool_call_id: z.ZodOptional<z.ZodString>;
429
- tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
430
- type: z.ZodEffects<z.ZodOptional<z.ZodLiteral<"function">>, "function", "function" | undefined>;
431
- id: z.ZodString;
432
- function: z.ZodObject<{
433
- name: z.ZodString;
434
- arguments: z.ZodString;
435
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
436
- name: z.ZodString;
437
- arguments: z.ZodString;
438
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
439
- name: z.ZodString;
440
- arguments: z.ZodString;
441
- }, z.ZodTypeAny, "passthrough">>;
442
- }, "strip", z.ZodTypeAny, {
443
- function: {
444
- name: string;
445
- arguments: string;
446
- } & {
447
- [k: string]: unknown;
448
- };
449
- id: string;
450
- type: "function";
451
- }, {
452
- function: {
453
- name: string;
454
- arguments: string;
455
- } & {
456
- [k: string]: unknown;
457
- };
458
- id: string;
459
- type?: "function" | undefined;
460
- }>, "many">>;
461
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
462
- role: z.ZodLiteral<"assistant">;
463
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
464
- type: z.ZodLiteral<"text">;
465
- text: z.ZodString;
466
- }, "strip", z.ZodTypeAny, {
467
- text: string;
468
- type: "text";
469
- }, {
470
- text: string;
471
- type: "text";
472
- }>, "many">, z.ZodString]>;
473
- name: z.ZodOptional<z.ZodString>;
474
- tool_call_id: z.ZodOptional<z.ZodString>;
475
- tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
476
- type: z.ZodEffects<z.ZodOptional<z.ZodLiteral<"function">>, "function", "function" | undefined>;
477
- id: z.ZodString;
478
- function: z.ZodObject<{
479
- name: z.ZodString;
480
- arguments: z.ZodString;
481
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
482
- name: z.ZodString;
483
- arguments: z.ZodString;
484
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
485
- name: z.ZodString;
486
- arguments: z.ZodString;
487
- }, z.ZodTypeAny, "passthrough">>;
488
- }, "strip", z.ZodTypeAny, {
489
- function: {
490
- name: string;
491
- arguments: string;
492
- } & {
493
- [k: string]: unknown;
494
- };
495
- id: string;
496
- type: "function";
497
- }, {
498
- function: {
499
- name: string;
500
- arguments: string;
501
- } & {
502
- [k: string]: unknown;
503
- };
504
- id: string;
505
- type?: "function" | undefined;
506
- }>, "many">>;
507
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
508
- role: z.ZodLiteral<"tool">;
509
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
510
- type: z.ZodLiteral<"text">;
511
- text: z.ZodString;
512
- }, "strip", z.ZodTypeAny, {
513
- text: string;
514
- type: "text";
515
- }, {
516
- text: string;
517
- type: "text";
518
- }>, "many">, z.ZodString]>;
519
- tool_call_id: z.ZodString;
520
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
521
- role: z.ZodLiteral<"tool">;
522
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
523
- type: z.ZodLiteral<"text">;
524
- text: z.ZodString;
525
- }, "strip", z.ZodTypeAny, {
526
- text: string;
527
- type: "text";
528
- }, {
529
- text: string;
530
- type: "text";
531
- }>, "many">, z.ZodString]>;
532
- tool_call_id: z.ZodString;
533
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
79
+ }, z.core.$loose>;
80
+ }, z.core.$strip>>>;
81
+ }, z.core.$loose>, z.ZodObject<{
534
82
  role: z.ZodLiteral<"tool">;
535
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
83
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
536
84
  type: z.ZodLiteral<"text">;
537
85
  text: z.ZodString;
538
- }, "strip", z.ZodTypeAny, {
539
- text: string;
540
- type: "text";
541
- }, {
542
- text: string;
543
- type: "text";
544
- }>, "many">, z.ZodString]>;
86
+ }, z.core.$strip>>, z.ZodString]>;
545
87
  tool_call_id: z.ZodString;
546
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
547
- role: z.ZodLiteral<"function">;
548
- content: z.ZodNullable<z.ZodString>;
549
- name: z.ZodString;
550
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
88
+ }, z.core.$loose>, z.ZodObject<{
551
89
  role: z.ZodLiteral<"function">;
552
90
  content: z.ZodNullable<z.ZodString>;
553
91
  name: z.ZodString;
554
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
555
- role: z.ZodLiteral<"function">;
556
- content: z.ZodNullable<z.ZodString>;
557
- name: z.ZodString;
558
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
559
- role: z.ZodLiteral<"user">;
560
- content: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
561
- type: z.ZodLiteral<"text">;
562
- text: z.ZodString;
563
- }, "strip", z.ZodTypeAny, {
564
- text: string;
565
- type: "text";
566
- }, {
567
- text: string;
568
- type: "text";
569
- }>, z.ZodObject<{
570
- type: z.ZodLiteral<"image_url">;
571
- image_url: z.ZodObject<{
572
- url: z.ZodString;
573
- }, "strip", z.ZodTypeAny, {
574
- url: string;
575
- }, {
576
- url: string;
577
- }>;
578
- }, "strip", z.ZodTypeAny, {
579
- type: "image_url";
580
- image_url: {
581
- url: string;
582
- };
583
- }, {
584
- type: "image_url";
585
- image_url: {
586
- url: string;
587
- };
588
- }>]>, "many">, z.ZodString]>;
589
- name: z.ZodOptional<z.ZodString>;
590
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
591
- role: z.ZodLiteral<"user">;
592
- content: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
593
- type: z.ZodLiteral<"text">;
594
- text: z.ZodString;
595
- }, "strip", z.ZodTypeAny, {
596
- text: string;
597
- type: "text";
598
- }, {
599
- text: string;
600
- type: "text";
601
- }>, z.ZodObject<{
602
- type: z.ZodLiteral<"image_url">;
603
- image_url: z.ZodObject<{
604
- url: z.ZodString;
605
- }, "strip", z.ZodTypeAny, {
606
- url: string;
607
- }, {
608
- url: string;
609
- }>;
610
- }, "strip", z.ZodTypeAny, {
611
- type: "image_url";
612
- image_url: {
613
- url: string;
614
- };
615
- }, {
616
- type: "image_url";
617
- image_url: {
618
- url: string;
619
- };
620
- }>]>, "many">, z.ZodString]>;
621
- name: z.ZodOptional<z.ZodString>;
622
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
92
+ }, z.core.$loose>, z.ZodObject<{
623
93
  role: z.ZodLiteral<"user">;
624
- content: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
94
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
625
95
  type: z.ZodLiteral<"text">;
626
96
  text: z.ZodString;
627
- }, "strip", z.ZodTypeAny, {
628
- text: string;
629
- type: "text";
630
- }, {
631
- text: string;
632
- type: "text";
633
- }>, z.ZodObject<{
97
+ }, z.core.$strip>, z.ZodObject<{
634
98
  type: z.ZodLiteral<"image_url">;
635
99
  image_url: z.ZodObject<{
636
100
  url: z.ZodString;
637
- }, "strip", z.ZodTypeAny, {
638
- url: string;
639
- }, {
640
- url: string;
641
- }>;
642
- }, "strip", z.ZodTypeAny, {
643
- type: "image_url";
644
- image_url: {
645
- url: string;
646
- };
647
- }, {
648
- type: "image_url";
649
- image_url: {
650
- url: string;
651
- };
652
- }>]>, "many">, z.ZodString]>;
653
- name: z.ZodOptional<z.ZodString>;
654
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
655
- role: z.ZodLiteral<"system">;
656
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
657
- type: z.ZodLiteral<"text">;
658
- text: z.ZodString;
659
- }, "strip", z.ZodTypeAny, {
660
- text: string;
661
- type: "text";
662
- }, {
663
- text: string;
664
- type: "text";
665
- }>, "many">, z.ZodString]>;
101
+ }, z.core.$strip>;
102
+ }, z.core.$strip>]>>, z.ZodString]>;
666
103
  name: z.ZodOptional<z.ZodString>;
667
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104
+ }, z.core.$loose>, z.ZodObject<{
668
105
  role: z.ZodLiteral<"system">;
669
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
670
- type: z.ZodLiteral<"text">;
671
- text: z.ZodString;
672
- }, "strip", z.ZodTypeAny, {
673
- text: string;
674
- type: "text";
675
- }, {
676
- text: string;
677
- type: "text";
678
- }>, "many">, z.ZodString]>;
679
- name: z.ZodOptional<z.ZodString>;
680
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
681
- role: z.ZodLiteral<"system">;
682
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
683
- type: z.ZodLiteral<"text">;
684
- text: z.ZodString;
685
- }, "strip", z.ZodTypeAny, {
686
- text: string;
687
- type: "text";
688
- }, {
689
- text: string;
690
- type: "text";
691
- }>, "many">, z.ZodString]>;
692
- name: z.ZodOptional<z.ZodString>;
693
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
694
- role: z.ZodLiteral<"developer">;
695
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
696
- type: z.ZodLiteral<"text">;
697
- text: z.ZodString;
698
- }, "strip", z.ZodTypeAny, {
699
- text: string;
700
- type: "text";
701
- }, {
702
- text: string;
703
- type: "text";
704
- }>, "many">, z.ZodString]>;
705
- name: z.ZodOptional<z.ZodString>;
706
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
707
- role: z.ZodLiteral<"developer">;
708
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
106
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
709
107
  type: z.ZodLiteral<"text">;
710
108
  text: z.ZodString;
711
- }, "strip", z.ZodTypeAny, {
712
- text: string;
713
- type: "text";
714
- }, {
715
- text: string;
716
- type: "text";
717
- }>, "many">, z.ZodString]>;
109
+ }, z.core.$strip>>, z.ZodString]>;
718
110
  name: z.ZodOptional<z.ZodString>;
719
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
111
+ }, z.core.$loose>, z.ZodObject<{
720
112
  role: z.ZodLiteral<"developer">;
721
- content: z.ZodUnion<[z.ZodArray<z.ZodObject<{
113
+ content: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
722
114
  type: z.ZodLiteral<"text">;
723
115
  text: z.ZodString;
724
- }, "strip", z.ZodTypeAny, {
725
- text: string;
726
- type: "text";
727
- }, {
728
- text: string;
729
- type: "text";
730
- }>, "many">, z.ZodString]>;
116
+ }, z.core.$strip>>, z.ZodString]>;
731
117
  name: z.ZodOptional<z.ZodString>;
732
- }, z.ZodTypeAny, "passthrough">>]>, "many">;
118
+ }, z.core.$loose>], "role">>;
733
119
  //# sourceMappingURL=messageSchemas.d.ts.map