transloadit 4.9.1 → 4.10.1

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 (132) hide show
  1. package/README.md +43 -2
  2. package/dist/alphalib/types/assembliesGet.d.ts +8 -8
  3. package/dist/alphalib/types/assemblyReplay.d.ts +8 -8
  4. package/dist/alphalib/types/assemblyReplayNotification.d.ts +8 -8
  5. package/dist/alphalib/types/assemblyStatus.d.ts +2422 -2422
  6. package/dist/alphalib/types/bill.d.ts +8 -8
  7. package/dist/alphalib/types/builtinTemplates.d.ts +4 -4
  8. package/dist/alphalib/types/robots/_index.d.ts +186 -186
  9. package/dist/alphalib/types/robots/_instructions-primitives.d.ts +32 -32
  10. package/dist/alphalib/types/robots/ai-chat.d.ts +205 -205
  11. package/dist/alphalib/types/robots/ai-chat.d.ts.map +1 -1
  12. package/dist/alphalib/types/robots/ai-chat.js +5 -4
  13. package/dist/alphalib/types/robots/ai-chat.js.map +1 -1
  14. package/dist/alphalib/types/robots/assembly-savejson.d.ts +4 -4
  15. package/dist/alphalib/types/robots/audio-artwork.d.ts +16 -16
  16. package/dist/alphalib/types/robots/audio-concat.d.ts +16 -16
  17. package/dist/alphalib/types/robots/audio-encode.d.ts +16 -16
  18. package/dist/alphalib/types/robots/audio-loop.d.ts +16 -16
  19. package/dist/alphalib/types/robots/audio-merge.d.ts +16 -16
  20. package/dist/alphalib/types/robots/audio-split.d.ts +32 -32
  21. package/dist/alphalib/types/robots/audio-waveform.d.ts +44 -44
  22. package/dist/alphalib/types/robots/azure-import.d.ts +16 -16
  23. package/dist/alphalib/types/robots/azure-store.d.ts +8 -8
  24. package/dist/alphalib/types/robots/backblaze-import.d.ts +16 -16
  25. package/dist/alphalib/types/robots/backblaze-store.d.ts +8 -8
  26. package/dist/alphalib/types/robots/box-import.d.ts +8 -8
  27. package/dist/alphalib/types/robots/box-store.d.ts +8 -8
  28. package/dist/alphalib/types/robots/cloudfiles-import.d.ts +16 -16
  29. package/dist/alphalib/types/robots/cloudfiles-store.d.ts +8 -8
  30. package/dist/alphalib/types/robots/cloudflare-import.d.ts +24 -24
  31. package/dist/alphalib/types/robots/cloudflare-store.d.ts +16 -16
  32. package/dist/alphalib/types/robots/digitalocean-import.d.ts +24 -24
  33. package/dist/alphalib/types/robots/digitalocean-store.d.ts +16 -16
  34. package/dist/alphalib/types/robots/document-autorotate.d.ts +8 -8
  35. package/dist/alphalib/types/robots/document-convert.d.ts +16 -16
  36. package/dist/alphalib/types/robots/document-merge.d.ts +8 -8
  37. package/dist/alphalib/types/robots/document-ocr.d.ts +16 -16
  38. package/dist/alphalib/types/robots/document-optimize.d.ts +8 -8
  39. package/dist/alphalib/types/robots/document-split.d.ts +8 -8
  40. package/dist/alphalib/types/robots/document-thumbs.d.ts +20 -20
  41. package/dist/alphalib/types/robots/dropbox-import.d.ts +8 -8
  42. package/dist/alphalib/types/robots/dropbox-store.d.ts +8 -8
  43. package/dist/alphalib/types/robots/edgly-deliver.d.ts +8 -8
  44. package/dist/alphalib/types/robots/file-compress.d.ts +28 -28
  45. package/dist/alphalib/types/robots/file-decompress.d.ts +8 -8
  46. package/dist/alphalib/types/robots/file-filter.d.ts +12 -12
  47. package/dist/alphalib/types/robots/file-hash.d.ts +12 -12
  48. package/dist/alphalib/types/robots/file-preview.d.ts +48 -48
  49. package/dist/alphalib/types/robots/file-read.d.ts +8 -8
  50. package/dist/alphalib/types/robots/file-serve.d.ts +8 -8
  51. package/dist/alphalib/types/robots/file-verify.d.ts +8 -8
  52. package/dist/alphalib/types/robots/file-virusscan.d.ts +8 -8
  53. package/dist/alphalib/types/robots/file-watermark.d.ts +8 -8
  54. package/dist/alphalib/types/robots/ftp-import.d.ts +8 -8
  55. package/dist/alphalib/types/robots/ftp-store.d.ts +8 -8
  56. package/dist/alphalib/types/robots/google-import.d.ts +16 -16
  57. package/dist/alphalib/types/robots/google-store.d.ts +8 -8
  58. package/dist/alphalib/types/robots/html-convert.d.ts +16 -16
  59. package/dist/alphalib/types/robots/http-import.d.ts +16 -16
  60. package/dist/alphalib/types/robots/image-bgremove.d.ts +16 -16
  61. package/dist/alphalib/types/robots/image-copyrightdetect.d.ts +16 -16
  62. package/dist/alphalib/types/robots/image-describe.d.ts +16 -16
  63. package/dist/alphalib/types/robots/image-enhance.d.ts +12 -12
  64. package/dist/alphalib/types/robots/image-facedetect.d.ts +16 -16
  65. package/dist/alphalib/types/robots/image-generate.d.ts +32 -32
  66. package/dist/alphalib/types/robots/image-generate.d.ts.map +1 -1
  67. package/dist/alphalib/types/robots/image-generate.js +4 -4
  68. package/dist/alphalib/types/robots/image-generate.js.map +1 -1
  69. package/dist/alphalib/types/robots/image-merge.d.ts +16 -16
  70. package/dist/alphalib/types/robots/image-ocr.d.ts +16 -16
  71. package/dist/alphalib/types/robots/image-optimize.d.ts +16 -16
  72. package/dist/alphalib/types/robots/image-resize.d.ts +74 -74
  73. package/dist/alphalib/types/robots/image-upscale.d.ts +8 -8
  74. package/dist/alphalib/types/robots/mega-import.d.ts +24 -24
  75. package/dist/alphalib/types/robots/mega-store.d.ts +16 -16
  76. package/dist/alphalib/types/robots/meta-read.d.ts +8 -8
  77. package/dist/alphalib/types/robots/meta-write.d.ts +8 -8
  78. package/dist/alphalib/types/robots/minio-import.d.ts +24 -24
  79. package/dist/alphalib/types/robots/minio-store.d.ts +16 -16
  80. package/dist/alphalib/types/robots/progress-simulate.d.ts +4 -4
  81. package/dist/alphalib/types/robots/s3-import.d.ts +32 -32
  82. package/dist/alphalib/types/robots/s3-store.d.ts +20 -20
  83. package/dist/alphalib/types/robots/script-run.d.ts +16 -16
  84. package/dist/alphalib/types/robots/sftp-import.d.ts +8 -8
  85. package/dist/alphalib/types/robots/sftp-store.d.ts +8 -8
  86. package/dist/alphalib/types/robots/speech-transcribe.d.ts +16 -16
  87. package/dist/alphalib/types/robots/supabase-import.d.ts +24 -24
  88. package/dist/alphalib/types/robots/supabase-store.d.ts +16 -16
  89. package/dist/alphalib/types/robots/swift-import.d.ts +24 -24
  90. package/dist/alphalib/types/robots/swift-store.d.ts +16 -16
  91. package/dist/alphalib/types/robots/text-speak.d.ts +16 -16
  92. package/dist/alphalib/types/robots/text-translate.d.ts +16 -16
  93. package/dist/alphalib/types/robots/tigris-import.d.ts +24 -24
  94. package/dist/alphalib/types/robots/tigris-store.d.ts +16 -16
  95. package/dist/alphalib/types/robots/tlcdn-deliver.d.ts +8 -8
  96. package/dist/alphalib/types/robots/tus-store.d.ts +8 -8
  97. package/dist/alphalib/types/robots/upload-handle.d.ts +8 -8
  98. package/dist/alphalib/types/robots/video-adaptive.d.ts +16 -16
  99. package/dist/alphalib/types/robots/video-artwork.d.ts +16 -16
  100. package/dist/alphalib/types/robots/video-concat.d.ts +16 -16
  101. package/dist/alphalib/types/robots/video-encode.d.ts +16 -16
  102. package/dist/alphalib/types/robots/video-generate.d.ts +32 -32
  103. package/dist/alphalib/types/robots/video-merge.d.ts +16 -16
  104. package/dist/alphalib/types/robots/video-ondemand.d.ts +20 -20
  105. package/dist/alphalib/types/robots/video-split.d.ts +32 -32
  106. package/dist/alphalib/types/robots/video-subtitle.d.ts +36 -36
  107. package/dist/alphalib/types/robots/video-thumbs.d.ts +24 -24
  108. package/dist/alphalib/types/robots/vimeo-import.d.ts +8 -8
  109. package/dist/alphalib/types/robots/vimeo-store.d.ts +8 -8
  110. package/dist/alphalib/types/robots/wasabi-import.d.ts +24 -24
  111. package/dist/alphalib/types/robots/wasabi-store.d.ts +16 -16
  112. package/dist/alphalib/types/robots/youtube-store.d.ts +12 -12
  113. package/dist/alphalib/types/skillFrontmatter.d.ts +2 -2
  114. package/dist/alphalib/types/template.d.ts +62 -62
  115. package/dist/alphalib/types/templateCredential.d.ts +18 -18
  116. package/dist/cli/intentCommandSpecs.d.ts.map +1 -1
  117. package/dist/cli/intentCommandSpecs.js +7 -0
  118. package/dist/cli/intentCommandSpecs.js.map +1 -1
  119. package/dist/cli/semanticIntents/imageGenerate.d.ts +1 -1
  120. package/dist/cli/semanticIntents/imageGenerate.js +2 -2
  121. package/dist/cli/semanticIntents/imageGenerate.js.map +1 -1
  122. package/dist/cli/types.d.ts +8 -8
  123. package/dist/inputFiles.d.ts +12 -2
  124. package/dist/inputFiles.d.ts.map +1 -1
  125. package/dist/inputFiles.js +4 -1
  126. package/dist/inputFiles.js.map +1 -1
  127. package/package.json +12 -16
  128. package/src/alphalib/types/robots/ai-chat.ts +5 -5
  129. package/src/alphalib/types/robots/image-generate.ts +8 -4
  130. package/src/cli/intentCommandSpecs.ts +10 -0
  131. package/src/cli/semanticIntents/imageGenerate.ts +2 -2
  132. package/src/inputFiles.ts +43 -7
@@ -9,7 +9,7 @@ export declare const MODEL_CAPABILITIES: Record<string, {
9
9
  pdf: boolean;
10
10
  image: boolean;
11
11
  }>;
12
- export declare const AI_CHAT_DEFAULT_MODEL = "anthropic/claude-opus-4-7";
12
+ export declare const AI_CHAT_DEFAULT_MODEL = "openai/gpt-5.5";
13
13
  export declare const vendorModelSchema: z.ZodEffects<z.ZodString, string, string>;
14
14
  export type VendorModel = z.infer<typeof vendorModelSchema>;
15
15
  export declare const robotAiChatInstructionsSchema: z.ZodObject<{
@@ -92,12 +92,12 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
92
92
  text: z.ZodString;
93
93
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
94
94
  }, "strip", z.ZodTypeAny, {
95
- type: "text";
96
95
  text: string;
96
+ type: "text";
97
97
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
98
98
  }, {
99
- type: "text";
100
99
  text: string;
100
+ type: "text";
101
101
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
102
102
  }>, z.ZodObject<{
103
103
  type: z.ZodLiteral<"image">;
@@ -105,13 +105,13 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
105
105
  mimeType: z.ZodOptional<z.ZodString>;
106
106
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
109
108
  type: "image";
109
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
110
110
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
111
111
  mimeType?: string | undefined;
112
112
  }, {
113
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
114
113
  type: "image";
114
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
115
115
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
116
116
  mimeType?: string | undefined;
117
117
  }>, z.ZodObject<{
@@ -120,13 +120,13 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
120
120
  mediaType: z.ZodString;
121
121
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
122
122
  }, "strip", z.ZodTypeAny, {
123
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
124
123
  type: "file";
124
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
125
125
  mediaType: string;
126
126
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
127
127
  }, {
128
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
129
128
  type: "file";
129
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
130
130
  mediaType: string;
131
131
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
132
132
  }>]>, "many">]>;
@@ -134,17 +134,17 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
134
134
  }, "strip", z.ZodTypeAny, {
135
135
  role: "user";
136
136
  content: string | ({
137
- type: "text";
138
137
  text: string;
138
+ type: "text";
139
139
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
140
140
  } | {
141
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
142
141
  type: "image";
142
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
143
143
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
144
144
  mimeType?: string | undefined;
145
145
  } | {
146
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
147
146
  type: "file";
147
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
148
148
  mediaType: string;
149
149
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
150
150
  })[];
@@ -152,17 +152,17 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
152
152
  }, {
153
153
  role: "user";
154
154
  content: string | ({
155
- type: "text";
156
155
  text: string;
156
+ type: "text";
157
157
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
158
158
  } | {
159
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
160
159
  type: "image";
160
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
161
161
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
162
162
  mimeType?: string | undefined;
163
163
  } | {
164
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
165
164
  type: "file";
165
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
166
166
  mediaType: string;
167
167
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
168
168
  })[];
@@ -174,12 +174,12 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
174
174
  text: z.ZodString;
175
175
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
176
176
  }, "strip", z.ZodTypeAny, {
177
- type: "text";
178
177
  text: string;
178
+ type: "text";
179
179
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
180
180
  }, {
181
- type: "text";
182
181
  text: string;
182
+ type: "text";
183
183
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
184
184
  }>, z.ZodObject<{
185
185
  type: z.ZodLiteral<"tool-call">;
@@ -204,8 +204,8 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
204
204
  }, "strip", z.ZodTypeAny, {
205
205
  role: "assistant";
206
206
  content: string | ({
207
- type: "text";
208
207
  text: string;
208
+ type: "text";
209
209
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
210
210
  } | {
211
211
  type: "tool-call";
@@ -218,8 +218,8 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
218
218
  }, {
219
219
  role: "assistant";
220
220
  content: string | ({
221
- type: "text";
222
221
  text: string;
222
+ type: "text";
223
223
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
224
224
  } | {
225
225
  type: "tool-call";
@@ -240,22 +240,22 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
240
240
  type: z.ZodLiteral<"text">;
241
241
  text: z.ZodString;
242
242
  }, "strip", z.ZodTypeAny, {
243
- type: "text";
244
243
  text: string;
245
- }, {
246
244
  type: "text";
245
+ }, {
247
246
  text: string;
247
+ type: "text";
248
248
  }>, z.ZodObject<{
249
249
  type: z.ZodLiteral<"image">;
250
250
  data: z.ZodString;
251
251
  mimeType: z.ZodOptional<z.ZodString>;
252
252
  }, "strip", z.ZodTypeAny, {
253
- data: string;
254
253
  type: "image";
254
+ data: string;
255
255
  mimeType?: string | undefined;
256
256
  }, {
257
- data: string;
258
257
  type: "image";
258
+ data: string;
259
259
  mimeType?: string | undefined;
260
260
  }>]>, "many">>;
261
261
  isError: z.ZodOptional<z.ZodBoolean>;
@@ -267,11 +267,11 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
267
267
  result?: unknown;
268
268
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
269
269
  experimental_content?: ({
270
- type: "text";
271
270
  text: string;
271
+ type: "text";
272
272
  } | {
273
- data: string;
274
273
  type: "image";
274
+ data: string;
275
275
  mimeType?: string | undefined;
276
276
  })[] | undefined;
277
277
  isError?: boolean | undefined;
@@ -282,11 +282,11 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
282
282
  result?: unknown;
283
283
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
284
284
  experimental_content?: ({
285
- type: "text";
286
285
  text: string;
286
+ type: "text";
287
287
  } | {
288
- data: string;
289
288
  type: "image";
289
+ data: string;
290
290
  mimeType?: string | undefined;
291
291
  })[] | undefined;
292
292
  isError?: boolean | undefined;
@@ -301,11 +301,11 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
301
301
  result?: unknown;
302
302
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
303
303
  experimental_content?: ({
304
- type: "text";
305
304
  text: string;
305
+ type: "text";
306
306
  } | {
307
- data: string;
308
307
  type: "image";
308
+ data: string;
309
309
  mimeType?: string | undefined;
310
310
  })[] | undefined;
311
311
  isError?: boolean | undefined;
@@ -320,11 +320,11 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
320
320
  result?: unknown;
321
321
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
322
322
  experimental_content?: ({
323
- type: "text";
324
323
  text: string;
324
+ type: "text";
325
325
  } | {
326
- data: string;
327
326
  type: "image";
327
+ data: string;
328
328
  mimeType?: string | undefined;
329
329
  })[] | undefined;
330
330
  isError?: boolean | undefined;
@@ -332,7 +332,7 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
332
332
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
333
333
  }>]>, "many">]>;
334
334
  system_message: z.ZodOptional<z.ZodString>;
335
- reasoning_effort: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
335
+ reasoning_effort: z.ZodOptional<z.ZodEnum<["xhigh", "high", "medium", "low"]>>;
336
336
  credentials: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
337
337
  test_credentials: z.ZodOptional<z.ZodBoolean>;
338
338
  mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -342,26 +342,26 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
342
342
  auth: z.ZodOptional<z.ZodEnum<["transloadit"]>>;
343
343
  allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
344
344
  }, "strip", z.ZodTypeAny, {
345
- type: "http" | "sse";
346
345
  url: string;
346
+ type: "sse" | "http";
347
347
  auth?: "transloadit" | undefined;
348
348
  headers?: Record<string, string> | undefined;
349
349
  allowed_tools?: string[] | undefined;
350
350
  }, {
351
- type: "http" | "sse";
352
351
  url: string;
352
+ type: "sse" | "http";
353
353
  auth?: "transloadit" | undefined;
354
354
  headers?: Record<string, string> | undefined;
355
355
  allowed_tools?: string[] | undefined;
356
356
  }>, "many">>;
357
357
  }, "strict", z.ZodTypeAny, {
358
- format: "json" | "text" | "meta";
359
- result: boolean;
360
358
  robot: "/ai/chat";
359
+ result: boolean;
361
360
  force_accept: boolean;
362
361
  ignore_errors: string[];
363
362
  model: string;
364
- return_messages: "all" | "last";
363
+ format: "json" | "text" | "meta";
364
+ return_messages: "last" | "all";
365
365
  messages: string | ({
366
366
  role: "system";
367
367
  content: string;
@@ -369,17 +369,17 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
369
369
  } | {
370
370
  role: "user";
371
371
  content: string | ({
372
- type: "text";
373
372
  text: string;
373
+ type: "text";
374
374
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
375
375
  } | {
376
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
377
376
  type: "image";
377
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
378
378
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
379
379
  mimeType?: string | undefined;
380
380
  } | {
381
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
382
381
  type: "file";
382
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
383
383
  mediaType: string;
384
384
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
385
385
  })[];
@@ -387,8 +387,8 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
387
387
  } | {
388
388
  role: "assistant";
389
389
  content: string | ({
390
- type: "text";
391
390
  text: string;
391
+ type: "text";
392
392
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
393
393
  } | {
394
394
  type: "tool-call";
@@ -407,11 +407,11 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
407
407
  result?: unknown;
408
408
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
409
409
  experimental_content?: ({
410
- type: "text";
411
410
  text: string;
411
+ type: "text";
412
412
  } | {
413
- data: string;
414
413
  type: "image";
414
+ data: string;
415
415
  mimeType?: string | undefined;
416
416
  })[] | undefined;
417
417
  isError?: boolean | undefined;
@@ -437,11 +437,11 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
437
437
  queue?: "batch" | undefined;
438
438
  credentials?: string | string[] | undefined;
439
439
  system_message?: string | undefined;
440
- reasoning_effort?: "high" | "low" | "medium" | undefined;
440
+ reasoning_effort?: "high" | "low" | "xhigh" | "medium" | undefined;
441
441
  test_credentials?: boolean | undefined;
442
442
  mcp_servers?: {
443
- type: "http" | "sse";
444
443
  url: string;
444
+ type: "sse" | "http";
445
445
  auth?: "transloadit" | undefined;
446
446
  headers?: Record<string, string> | undefined;
447
447
  allowed_tools?: string[] | undefined;
@@ -455,17 +455,17 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
455
455
  } | {
456
456
  role: "user";
457
457
  content: string | ({
458
- type: "text";
459
458
  text: string;
459
+ type: "text";
460
460
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
461
461
  } | {
462
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
463
462
  type: "image";
463
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
464
464
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
465
465
  mimeType?: string | undefined;
466
466
  } | {
467
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
468
467
  type: "file";
468
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
469
469
  mediaType: string;
470
470
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
471
471
  })[];
@@ -473,8 +473,8 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
473
473
  } | {
474
474
  role: "assistant";
475
475
  content: string | ({
476
- type: "text";
477
476
  text: string;
477
+ type: "text";
478
478
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
479
479
  } | {
480
480
  type: "tool-call";
@@ -493,19 +493,17 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
493
493
  result?: unknown;
494
494
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
495
495
  experimental_content?: ({
496
- type: "text";
497
496
  text: string;
497
+ type: "text";
498
498
  } | {
499
- data: string;
500
499
  type: "image";
500
+ data: string;
501
501
  mimeType?: string | undefined;
502
502
  })[] | undefined;
503
503
  isError?: boolean | undefined;
504
504
  }[];
505
505
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
506
506
  })[];
507
- format?: "json" | "text" | "meta" | undefined;
508
- result?: boolean | undefined;
509
507
  schema?: string | undefined;
510
508
  use?: string | string[] | {
511
509
  name: string;
@@ -522,18 +520,20 @@ export declare const robotAiChatInstructionsSchema: z.ZodObject<{
522
520
  group_by_original?: boolean | undefined;
523
521
  } | undefined;
524
522
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
523
+ result?: boolean | undefined;
525
524
  queue?: "batch" | undefined;
526
525
  force_accept?: boolean | undefined;
527
526
  ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
528
527
  credentials?: string | string[] | undefined;
529
528
  model?: string | undefined;
530
- return_messages?: "all" | "last" | undefined;
529
+ format?: "json" | "text" | "meta" | undefined;
530
+ return_messages?: "last" | "all" | undefined;
531
531
  system_message?: string | undefined;
532
- reasoning_effort?: "high" | "low" | "medium" | undefined;
532
+ reasoning_effort?: "high" | "low" | "xhigh" | "medium" | undefined;
533
533
  test_credentials?: boolean | undefined;
534
534
  mcp_servers?: {
535
- type: "http" | "sse";
536
535
  url: string;
536
+ type: "sse" | "http";
537
537
  auth?: "transloadit" | undefined;
538
538
  headers?: Record<string, string> | undefined;
539
539
  allowed_tools?: string[] | undefined;
@@ -616,12 +616,12 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
616
616
  text: z.ZodString;
617
617
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
618
618
  }, "strip", z.ZodTypeAny, {
619
- type: "text";
620
619
  text: string;
620
+ type: "text";
621
621
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
622
622
  }, {
623
- type: "text";
624
623
  text: string;
624
+ type: "text";
625
625
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
626
626
  }>, z.ZodObject<{
627
627
  type: z.ZodLiteral<"image">;
@@ -629,13 +629,13 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
629
629
  mimeType: z.ZodOptional<z.ZodString>;
630
630
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
631
631
  }, "strip", z.ZodTypeAny, {
632
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
633
632
  type: "image";
633
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
634
634
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
635
635
  mimeType?: string | undefined;
636
636
  }, {
637
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
638
637
  type: "image";
638
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
639
639
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
640
640
  mimeType?: string | undefined;
641
641
  }>, z.ZodObject<{
@@ -644,13 +644,13 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
644
644
  mediaType: z.ZodString;
645
645
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
646
646
  }, "strip", z.ZodTypeAny, {
647
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
648
647
  type: "file";
648
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
649
649
  mediaType: string;
650
650
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
651
651
  }, {
652
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
653
652
  type: "file";
653
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
654
654
  mediaType: string;
655
655
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
656
656
  }>]>, "many">]>;
@@ -658,17 +658,17 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
658
658
  }, "strip", z.ZodTypeAny, {
659
659
  role: "user";
660
660
  content: string | ({
661
- type: "text";
662
661
  text: string;
662
+ type: "text";
663
663
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
664
664
  } | {
665
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
666
665
  type: "image";
666
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
667
667
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
668
668
  mimeType?: string | undefined;
669
669
  } | {
670
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
671
670
  type: "file";
671
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
672
672
  mediaType: string;
673
673
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
674
674
  })[];
@@ -676,17 +676,17 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
676
676
  }, {
677
677
  role: "user";
678
678
  content: string | ({
679
- type: "text";
680
679
  text: string;
680
+ type: "text";
681
681
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
682
682
  } | {
683
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
684
683
  type: "image";
684
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
685
685
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
686
686
  mimeType?: string | undefined;
687
687
  } | {
688
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
689
688
  type: "file";
689
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
690
690
  mediaType: string;
691
691
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
692
692
  })[];
@@ -698,12 +698,12 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
698
698
  text: z.ZodString;
699
699
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
700
700
  }, "strip", z.ZodTypeAny, {
701
- type: "text";
702
701
  text: string;
702
+ type: "text";
703
703
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
704
704
  }, {
705
- type: "text";
706
705
  text: string;
706
+ type: "text";
707
707
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
708
708
  }>, z.ZodObject<{
709
709
  type: z.ZodLiteral<"tool-call">;
@@ -728,8 +728,8 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
728
728
  }, "strip", z.ZodTypeAny, {
729
729
  role: "assistant";
730
730
  content: string | ({
731
- type: "text";
732
731
  text: string;
732
+ type: "text";
733
733
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
734
734
  } | {
735
735
  type: "tool-call";
@@ -742,8 +742,8 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
742
742
  }, {
743
743
  role: "assistant";
744
744
  content: string | ({
745
- type: "text";
746
745
  text: string;
746
+ type: "text";
747
747
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
748
748
  } | {
749
749
  type: "tool-call";
@@ -764,22 +764,22 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
764
764
  type: z.ZodLiteral<"text">;
765
765
  text: z.ZodString;
766
766
  }, "strip", z.ZodTypeAny, {
767
- type: "text";
768
767
  text: string;
769
- }, {
770
768
  type: "text";
769
+ }, {
771
770
  text: string;
771
+ type: "text";
772
772
  }>, z.ZodObject<{
773
773
  type: z.ZodLiteral<"image">;
774
774
  data: z.ZodString;
775
775
  mimeType: z.ZodOptional<z.ZodString>;
776
776
  }, "strip", z.ZodTypeAny, {
777
- data: string;
778
777
  type: "image";
778
+ data: string;
779
779
  mimeType?: string | undefined;
780
780
  }, {
781
- data: string;
782
781
  type: "image";
782
+ data: string;
783
783
  mimeType?: string | undefined;
784
784
  }>]>, "many">>;
785
785
  isError: z.ZodOptional<z.ZodBoolean>;
@@ -791,11 +791,11 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
791
791
  result?: unknown;
792
792
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
793
793
  experimental_content?: ({
794
- type: "text";
795
794
  text: string;
795
+ type: "text";
796
796
  } | {
797
- data: string;
798
797
  type: "image";
798
+ data: string;
799
799
  mimeType?: string | undefined;
800
800
  })[] | undefined;
801
801
  isError?: boolean | undefined;
@@ -806,11 +806,11 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
806
806
  result?: unknown;
807
807
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
808
808
  experimental_content?: ({
809
- type: "text";
810
809
  text: string;
810
+ type: "text";
811
811
  } | {
812
- data: string;
813
812
  type: "image";
813
+ data: string;
814
814
  mimeType?: string | undefined;
815
815
  })[] | undefined;
816
816
  isError?: boolean | undefined;
@@ -825,11 +825,11 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
825
825
  result?: unknown;
826
826
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
827
827
  experimental_content?: ({
828
- type: "text";
829
828
  text: string;
829
+ type: "text";
830
830
  } | {
831
- data: string;
832
831
  type: "image";
832
+ data: string;
833
833
  mimeType?: string | undefined;
834
834
  })[] | undefined;
835
835
  isError?: boolean | undefined;
@@ -844,11 +844,11 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
844
844
  result?: unknown;
845
845
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
846
846
  experimental_content?: ({
847
- type: "text";
848
847
  text: string;
848
+ type: "text";
849
849
  } | {
850
- data: string;
851
850
  type: "image";
851
+ data: string;
852
852
  mimeType?: string | undefined;
853
853
  })[] | undefined;
854
854
  isError?: boolean | undefined;
@@ -856,7 +856,7 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
856
856
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
857
857
  }>]>, "many">]>;
858
858
  system_message: z.ZodOptional<z.ZodString>;
859
- reasoning_effort: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
859
+ reasoning_effort: z.ZodOptional<z.ZodEnum<["xhigh", "high", "medium", "low"]>>;
860
860
  credentials: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
861
861
  test_credentials: z.ZodOptional<z.ZodBoolean>;
862
862
  mcp_servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -866,14 +866,14 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
866
866
  auth: z.ZodOptional<z.ZodEnum<["transloadit"]>>;
867
867
  allowed_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
868
868
  }, "strip", z.ZodTypeAny, {
869
- type: "http" | "sse";
870
869
  url: string;
870
+ type: "sse" | "http";
871
871
  auth?: "transloadit" | undefined;
872
872
  headers?: Record<string, string> | undefined;
873
873
  allowed_tools?: string[] | undefined;
874
874
  }, {
875
- type: "http" | "sse";
876
875
  url: string;
876
+ type: "sse" | "http";
877
877
  auth?: "transloadit" | undefined;
878
878
  headers?: Record<string, string> | undefined;
879
879
  allowed_tools?: string[] | undefined;
@@ -887,13 +887,13 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
887
887
  google_generative_ai_api_key: z.ZodOptional<z.ZodString>;
888
888
  xai_api_key: z.ZodOptional<z.ZodString>;
889
889
  }, "strict", z.ZodTypeAny, {
890
- format: "json" | "text" | "meta";
891
- result: boolean | "debug";
892
890
  robot: "/ai/chat";
891
+ result: boolean | "debug";
893
892
  force_accept: boolean;
894
893
  ignore_errors: string[];
895
894
  model: string;
896
- return_messages: "all" | "last";
895
+ format: "json" | "text" | "meta";
896
+ return_messages: "last" | "all";
897
897
  messages: string | ({
898
898
  role: "system";
899
899
  content: string;
@@ -901,17 +901,17 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
901
901
  } | {
902
902
  role: "user";
903
903
  content: string | ({
904
- type: "text";
905
904
  text: string;
905
+ type: "text";
906
906
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
907
907
  } | {
908
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
909
908
  type: "image";
909
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
910
910
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
911
911
  mimeType?: string | undefined;
912
912
  } | {
913
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
914
913
  type: "file";
914
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
915
915
  mediaType: string;
916
916
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
917
917
  })[];
@@ -919,8 +919,8 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
919
919
  } | {
920
920
  role: "assistant";
921
921
  content: string | ({
922
- type: "text";
923
922
  text: string;
923
+ type: "text";
924
924
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
925
925
  } | {
926
926
  type: "tool-call";
@@ -939,11 +939,11 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
939
939
  result?: unknown;
940
940
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
941
941
  experimental_content?: ({
942
- type: "text";
943
942
  text: string;
943
+ type: "text";
944
944
  } | {
945
- data: string;
946
945
  type: "image";
946
+ data: string;
947
947
  mimeType?: string | undefined;
948
948
  })[] | undefined;
949
949
  isError?: boolean | undefined;
@@ -969,11 +969,11 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
969
969
  queue?: "batch" | undefined;
970
970
  credentials?: string | string[] | undefined;
971
971
  system_message?: string | undefined;
972
- reasoning_effort?: "high" | "low" | "medium" | undefined;
972
+ reasoning_effort?: "high" | "low" | "xhigh" | "medium" | undefined;
973
973
  test_credentials?: boolean | undefined;
974
974
  mcp_servers?: {
975
- type: "http" | "sse";
976
975
  url: string;
976
+ type: "sse" | "http";
977
977
  auth?: "transloadit" | undefined;
978
978
  headers?: Record<string, string> | undefined;
979
979
  allowed_tools?: string[] | undefined;
@@ -993,17 +993,17 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
993
993
  } | {
994
994
  role: "user";
995
995
  content: string | ({
996
- type: "text";
997
996
  text: string;
997
+ type: "text";
998
998
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
999
999
  } | {
1000
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1001
1000
  type: "image";
1001
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1002
1002
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1003
1003
  mimeType?: string | undefined;
1004
1004
  } | {
1005
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1006
1005
  type: "file";
1006
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1007
1007
  mediaType: string;
1008
1008
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1009
1009
  })[];
@@ -1011,8 +1011,8 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
1011
1011
  } | {
1012
1012
  role: "assistant";
1013
1013
  content: string | ({
1014
- type: "text";
1015
1014
  text: string;
1015
+ type: "text";
1016
1016
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1017
1017
  } | {
1018
1018
  type: "tool-call";
@@ -1031,19 +1031,17 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
1031
1031
  result?: unknown;
1032
1032
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1033
1033
  experimental_content?: ({
1034
- type: "text";
1035
1034
  text: string;
1035
+ type: "text";
1036
1036
  } | {
1037
- data: string;
1038
1037
  type: "image";
1038
+ data: string;
1039
1039
  mimeType?: string | undefined;
1040
1040
  })[] | undefined;
1041
1041
  isError?: boolean | undefined;
1042
1042
  }[];
1043
1043
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1044
1044
  })[];
1045
- format?: "json" | "text" | "meta" | undefined;
1046
- result?: boolean | "debug" | undefined;
1047
1045
  schema?: string | undefined;
1048
1046
  use?: string | string[] | {
1049
1047
  name: string;
@@ -1060,18 +1058,20 @@ export declare const robotAiChatInstructionsWithHiddenFieldsSchema: z.ZodObject<
1060
1058
  group_by_original?: boolean | undefined;
1061
1059
  } | undefined;
1062
1060
  output_meta?: boolean | string[] | Record<string, boolean> | undefined;
1061
+ result?: boolean | "debug" | undefined;
1063
1062
  queue?: "batch" | undefined;
1064
1063
  force_accept?: boolean | undefined;
1065
1064
  ignore_errors?: boolean | ("meta" | "execute")[] | undefined;
1066
1065
  credentials?: string | string[] | undefined;
1067
1066
  model?: string | undefined;
1068
- return_messages?: "all" | "last" | undefined;
1067
+ format?: "json" | "text" | "meta" | undefined;
1068
+ return_messages?: "last" | "all" | undefined;
1069
1069
  system_message?: string | undefined;
1070
- reasoning_effort?: "high" | "low" | "medium" | undefined;
1070
+ reasoning_effort?: "high" | "low" | "xhigh" | "medium" | undefined;
1071
1071
  test_credentials?: boolean | undefined;
1072
1072
  mcp_servers?: {
1073
- type: "http" | "sse";
1074
1073
  url: string;
1074
+ type: "sse" | "http";
1075
1075
  auth?: "transloadit" | undefined;
1076
1076
  headers?: Record<string, string> | undefined;
1077
1077
  allowed_tools?: string[] | undefined;
@@ -1164,12 +1164,12 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1164
1164
  text: z.ZodString;
1165
1165
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1166
1166
  }, "strip", z.ZodTypeAny, {
1167
- type: "text";
1168
1167
  text: string;
1168
+ type: "text";
1169
1169
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1170
1170
  }, {
1171
- type: "text";
1172
1171
  text: string;
1172
+ type: "text";
1173
1173
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1174
1174
  }>, z.ZodObject<{
1175
1175
  type: z.ZodLiteral<"image">;
@@ -1177,13 +1177,13 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1177
1177
  mimeType: z.ZodOptional<z.ZodString>;
1178
1178
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1179
1179
  }, "strip", z.ZodTypeAny, {
1180
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1181
1180
  type: "image";
1181
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1182
1182
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1183
1183
  mimeType?: string | undefined;
1184
1184
  }, {
1185
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1186
1185
  type: "image";
1186
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1187
1187
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1188
1188
  mimeType?: string | undefined;
1189
1189
  }>, z.ZodObject<{
@@ -1192,13 +1192,13 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1192
1192
  mediaType: z.ZodString;
1193
1193
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1194
1194
  }, "strip", z.ZodTypeAny, {
1195
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1196
1195
  type: "file";
1196
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1197
1197
  mediaType: string;
1198
1198
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1199
1199
  }, {
1200
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1201
1200
  type: "file";
1201
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1202
1202
  mediaType: string;
1203
1203
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1204
1204
  }>]>, "many">]>;
@@ -1206,17 +1206,17 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1206
1206
  }, "strip", z.ZodTypeAny, {
1207
1207
  role: "user";
1208
1208
  content: string | ({
1209
- type: "text";
1210
1209
  text: string;
1210
+ type: "text";
1211
1211
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1212
1212
  } | {
1213
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1214
1213
  type: "image";
1214
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1215
1215
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1216
1216
  mimeType?: string | undefined;
1217
1217
  } | {
1218
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1219
1218
  type: "file";
1219
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1220
1220
  mediaType: string;
1221
1221
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1222
1222
  })[];
@@ -1224,17 +1224,17 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1224
1224
  }, {
1225
1225
  role: "user";
1226
1226
  content: string | ({
1227
- type: "text";
1228
1227
  text: string;
1228
+ type: "text";
1229
1229
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1230
1230
  } | {
1231
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1232
1231
  type: "image";
1232
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1233
1233
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1234
1234
  mimeType?: string | undefined;
1235
1235
  } | {
1236
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1237
1236
  type: "file";
1237
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1238
1238
  mediaType: string;
1239
1239
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1240
1240
  })[];
@@ -1246,12 +1246,12 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1246
1246
  text: z.ZodString;
1247
1247
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1248
1248
  }, "strip", z.ZodTypeAny, {
1249
- type: "text";
1250
1249
  text: string;
1250
+ type: "text";
1251
1251
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1252
1252
  }, {
1253
- type: "text";
1254
1253
  text: string;
1254
+ type: "text";
1255
1255
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1256
1256
  }>, z.ZodObject<{
1257
1257
  type: z.ZodLiteral<"tool-call">;
@@ -1276,8 +1276,8 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1276
1276
  }, "strip", z.ZodTypeAny, {
1277
1277
  role: "assistant";
1278
1278
  content: string | ({
1279
- type: "text";
1280
1279
  text: string;
1280
+ type: "text";
1281
1281
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1282
1282
  } | {
1283
1283
  type: "tool-call";
@@ -1290,8 +1290,8 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1290
1290
  }, {
1291
1291
  role: "assistant";
1292
1292
  content: string | ({
1293
- type: "text";
1294
1293
  text: string;
1294
+ type: "text";
1295
1295
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1296
1296
  } | {
1297
1297
  type: "tool-call";
@@ -1312,22 +1312,22 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1312
1312
  type: z.ZodLiteral<"text">;
1313
1313
  text: z.ZodString;
1314
1314
  }, "strip", z.ZodTypeAny, {
1315
- type: "text";
1316
1315
  text: string;
1317
- }, {
1318
1316
  type: "text";
1317
+ }, {
1319
1318
  text: string;
1319
+ type: "text";
1320
1320
  }>, z.ZodObject<{
1321
1321
  type: z.ZodLiteral<"image">;
1322
1322
  data: z.ZodString;
1323
1323
  mimeType: z.ZodOptional<z.ZodString>;
1324
1324
  }, "strip", z.ZodTypeAny, {
1325
- data: string;
1326
1325
  type: "image";
1326
+ data: string;
1327
1327
  mimeType?: string | undefined;
1328
1328
  }, {
1329
- data: string;
1330
1329
  type: "image";
1330
+ data: string;
1331
1331
  mimeType?: string | undefined;
1332
1332
  }>]>, "many">>;
1333
1333
  isError: z.ZodOptional<z.ZodBoolean>;
@@ -1339,11 +1339,11 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1339
1339
  result?: unknown;
1340
1340
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1341
1341
  experimental_content?: ({
1342
- type: "text";
1343
1342
  text: string;
1343
+ type: "text";
1344
1344
  } | {
1345
- data: string;
1346
1345
  type: "image";
1346
+ data: string;
1347
1347
  mimeType?: string | undefined;
1348
1348
  })[] | undefined;
1349
1349
  isError?: boolean | undefined;
@@ -1354,11 +1354,11 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1354
1354
  result?: unknown;
1355
1355
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1356
1356
  experimental_content?: ({
1357
- type: "text";
1358
1357
  text: string;
1358
+ type: "text";
1359
1359
  } | {
1360
- data: string;
1361
1360
  type: "image";
1361
+ data: string;
1362
1362
  mimeType?: string | undefined;
1363
1363
  })[] | undefined;
1364
1364
  isError?: boolean | undefined;
@@ -1373,11 +1373,11 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1373
1373
  result?: unknown;
1374
1374
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1375
1375
  experimental_content?: ({
1376
- type: "text";
1377
1376
  text: string;
1377
+ type: "text";
1378
1378
  } | {
1379
- data: string;
1380
1379
  type: "image";
1380
+ data: string;
1381
1381
  mimeType?: string | undefined;
1382
1382
  })[] | undefined;
1383
1383
  isError?: boolean | undefined;
@@ -1392,11 +1392,11 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1392
1392
  result?: unknown;
1393
1393
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1394
1394
  experimental_content?: ({
1395
- type: "text";
1396
1395
  text: string;
1396
+ type: "text";
1397
1397
  } | {
1398
- data: string;
1399
1398
  type: "image";
1399
+ data: string;
1400
1400
  mimeType?: string | undefined;
1401
1401
  })[] | undefined;
1402
1402
  isError?: boolean | undefined;
@@ -1404,7 +1404,7 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1404
1404
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1405
1405
  }>]>, "many">]>]>;
1406
1406
  system_message: z.ZodOptional<z.ZodString>;
1407
- reasoning_effort: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEnum<["high", "medium", "low"]>]>>;
1407
+ reasoning_effort: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEnum<["xhigh", "high", "medium", "low"]>]>>;
1408
1408
  credentials: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
1409
1409
  test_credentials: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1410
1410
  mcp_servers: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1414,25 +1414,25 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1414
1414
  auth: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEnum<["transloadit"]>]>>;
1415
1415
  allowed_tools: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1416
1416
  }, "strip", z.ZodTypeAny, {
1417
- type: string;
1418
1417
  url: string;
1418
+ type: string;
1419
1419
  auth?: string | undefined;
1420
1420
  headers?: Record<string, string> | undefined;
1421
1421
  allowed_tools?: string | string[] | undefined;
1422
1422
  }, {
1423
- type: string;
1424
1423
  url: string;
1424
+ type: string;
1425
1425
  auth?: string | undefined;
1426
1426
  headers?: Record<string, string> | undefined;
1427
1427
  allowed_tools?: string | string[] | undefined;
1428
1428
  }>]>, "many">]>>;
1429
1429
  }, "strict", z.ZodTypeAny, {
1430
- format: string;
1431
- result: string | boolean;
1432
1430
  robot: "/ai/chat";
1431
+ result: string | boolean;
1433
1432
  force_accept: string | boolean;
1434
1433
  ignore_errors: string | string[];
1435
1434
  model: string;
1435
+ format: string;
1436
1436
  return_messages: string;
1437
1437
  messages: string | ({
1438
1438
  role: "system";
@@ -1441,17 +1441,17 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1441
1441
  } | {
1442
1442
  role: "user";
1443
1443
  content: string | ({
1444
- type: "text";
1445
1444
  text: string;
1445
+ type: "text";
1446
1446
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1447
1447
  } | {
1448
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1449
1448
  type: "image";
1449
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1450
1450
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1451
1451
  mimeType?: string | undefined;
1452
1452
  } | {
1453
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1454
1453
  type: "file";
1454
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1455
1455
  mediaType: string;
1456
1456
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1457
1457
  })[];
@@ -1459,8 +1459,8 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1459
1459
  } | {
1460
1460
  role: "assistant";
1461
1461
  content: string | ({
1462
- type: "text";
1463
1462
  text: string;
1463
+ type: "text";
1464
1464
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1465
1465
  } | {
1466
1466
  type: "tool-call";
@@ -1479,11 +1479,11 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1479
1479
  result?: unknown;
1480
1480
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1481
1481
  experimental_content?: ({
1482
- type: "text";
1483
1482
  text: string;
1483
+ type: "text";
1484
1484
  } | {
1485
- data: string;
1486
1485
  type: "image";
1486
+ data: string;
1487
1487
  mimeType?: string | undefined;
1488
1488
  })[] | undefined;
1489
1489
  isError?: boolean | undefined;
@@ -1512,8 +1512,8 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1512
1512
  reasoning_effort?: string | undefined;
1513
1513
  test_credentials?: string | boolean | undefined;
1514
1514
  mcp_servers?: string | (string | {
1515
- type: string;
1516
1515
  url: string;
1516
+ type: string;
1517
1517
  auth?: string | undefined;
1518
1518
  headers?: Record<string, string> | undefined;
1519
1519
  allowed_tools?: string | string[] | undefined;
@@ -1527,17 +1527,17 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1527
1527
  } | {
1528
1528
  role: "user";
1529
1529
  content: string | ({
1530
- type: "text";
1531
1530
  text: string;
1531
+ type: "text";
1532
1532
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1533
1533
  } | {
1534
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1535
1534
  type: "image";
1535
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1536
1536
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1537
1537
  mimeType?: string | undefined;
1538
1538
  } | {
1539
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1540
1539
  type: "file";
1540
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1541
1541
  mediaType: string;
1542
1542
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1543
1543
  })[];
@@ -1545,8 +1545,8 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1545
1545
  } | {
1546
1546
  role: "assistant";
1547
1547
  content: string | ({
1548
- type: "text";
1549
1548
  text: string;
1549
+ type: "text";
1550
1550
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1551
1551
  } | {
1552
1552
  type: "tool-call";
@@ -1565,19 +1565,17 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1565
1565
  result?: unknown;
1566
1566
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1567
1567
  experimental_content?: ({
1568
- type: "text";
1569
1568
  text: string;
1569
+ type: "text";
1570
1570
  } | {
1571
- data: string;
1572
1571
  type: "image";
1572
+ data: string;
1573
1573
  mimeType?: string | undefined;
1574
1574
  })[] | undefined;
1575
1575
  isError?: boolean | undefined;
1576
1576
  }[];
1577
1577
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1578
1578
  })[];
1579
- format?: string | undefined;
1580
- result?: string | boolean | undefined;
1581
1579
  schema?: string | undefined;
1582
1580
  use?: string | string[] | {
1583
1581
  name: string;
@@ -1594,18 +1592,20 @@ export declare const interpolatableRobotAiChatInstructionsSchema: z.ZodObject<{
1594
1592
  group_by_original?: boolean | undefined;
1595
1593
  } | undefined;
1596
1594
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
1595
+ result?: string | boolean | undefined;
1597
1596
  queue?: string | undefined;
1598
1597
  force_accept?: string | boolean | undefined;
1599
1598
  ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
1600
1599
  credentials?: string | string[] | undefined;
1601
1600
  model?: string | undefined;
1601
+ format?: string | undefined;
1602
1602
  return_messages?: string | undefined;
1603
1603
  system_message?: string | undefined;
1604
1604
  reasoning_effort?: string | undefined;
1605
1605
  test_credentials?: string | boolean | undefined;
1606
1606
  mcp_servers?: string | (string | {
1607
- type: string;
1608
1607
  url: string;
1608
+ type: string;
1609
1609
  auth?: string | undefined;
1610
1610
  headers?: Record<string, string> | undefined;
1611
1611
  allowed_tools?: string | string[] | undefined;
@@ -1690,12 +1690,12 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1690
1690
  text: z.ZodString;
1691
1691
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1692
1692
  }, "strip", z.ZodTypeAny, {
1693
- type: "text";
1694
1693
  text: string;
1694
+ type: "text";
1695
1695
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1696
1696
  }, {
1697
- type: "text";
1698
1697
  text: string;
1698
+ type: "text";
1699
1699
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1700
1700
  }>, z.ZodObject<{
1701
1701
  type: z.ZodLiteral<"image">;
@@ -1703,13 +1703,13 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1703
1703
  mimeType: z.ZodOptional<z.ZodString>;
1704
1704
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1705
1705
  }, "strip", z.ZodTypeAny, {
1706
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1707
1706
  type: "image";
1707
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1708
1708
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1709
1709
  mimeType?: string | undefined;
1710
1710
  }, {
1711
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1712
1711
  type: "image";
1712
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1713
1713
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1714
1714
  mimeType?: string | undefined;
1715
1715
  }>, z.ZodObject<{
@@ -1718,13 +1718,13 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1718
1718
  mediaType: z.ZodString;
1719
1719
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1720
1720
  }, "strip", z.ZodTypeAny, {
1721
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1722
1721
  type: "file";
1722
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1723
1723
  mediaType: string;
1724
1724
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1725
1725
  }, {
1726
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1727
1726
  type: "file";
1727
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1728
1728
  mediaType: string;
1729
1729
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1730
1730
  }>]>, "many">]>;
@@ -1732,17 +1732,17 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1732
1732
  }, "strip", z.ZodTypeAny, {
1733
1733
  role: "user";
1734
1734
  content: string | ({
1735
- type: "text";
1736
1735
  text: string;
1736
+ type: "text";
1737
1737
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1738
1738
  } | {
1739
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1740
1739
  type: "image";
1740
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1741
1741
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1742
1742
  mimeType?: string | undefined;
1743
1743
  } | {
1744
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1745
1744
  type: "file";
1745
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1746
1746
  mediaType: string;
1747
1747
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1748
1748
  })[];
@@ -1750,17 +1750,17 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1750
1750
  }, {
1751
1751
  role: "user";
1752
1752
  content: string | ({
1753
- type: "text";
1754
1753
  text: string;
1754
+ type: "text";
1755
1755
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1756
1756
  } | {
1757
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1758
1757
  type: "image";
1758
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1759
1759
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1760
1760
  mimeType?: string | undefined;
1761
1761
  } | {
1762
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1763
1762
  type: "file";
1763
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1764
1764
  mediaType: string;
1765
1765
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1766
1766
  })[];
@@ -1772,12 +1772,12 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1772
1772
  text: z.ZodString;
1773
1773
  experimental_providerMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>>;
1774
1774
  }, "strip", z.ZodTypeAny, {
1775
- type: "text";
1776
1775
  text: string;
1776
+ type: "text";
1777
1777
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1778
1778
  }, {
1779
- type: "text";
1780
1779
  text: string;
1780
+ type: "text";
1781
1781
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1782
1782
  }>, z.ZodObject<{
1783
1783
  type: z.ZodLiteral<"tool-call">;
@@ -1802,8 +1802,8 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1802
1802
  }, "strip", z.ZodTypeAny, {
1803
1803
  role: "assistant";
1804
1804
  content: string | ({
1805
- type: "text";
1806
1805
  text: string;
1806
+ type: "text";
1807
1807
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1808
1808
  } | {
1809
1809
  type: "tool-call";
@@ -1816,8 +1816,8 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1816
1816
  }, {
1817
1817
  role: "assistant";
1818
1818
  content: string | ({
1819
- type: "text";
1820
1819
  text: string;
1820
+ type: "text";
1821
1821
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1822
1822
  } | {
1823
1823
  type: "tool-call";
@@ -1838,22 +1838,22 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1838
1838
  type: z.ZodLiteral<"text">;
1839
1839
  text: z.ZodString;
1840
1840
  }, "strip", z.ZodTypeAny, {
1841
- type: "text";
1842
1841
  text: string;
1843
- }, {
1844
1842
  type: "text";
1843
+ }, {
1845
1844
  text: string;
1845
+ type: "text";
1846
1846
  }>, z.ZodObject<{
1847
1847
  type: z.ZodLiteral<"image">;
1848
1848
  data: z.ZodString;
1849
1849
  mimeType: z.ZodOptional<z.ZodString>;
1850
1850
  }, "strip", z.ZodTypeAny, {
1851
- data: string;
1852
1851
  type: "image";
1852
+ data: string;
1853
1853
  mimeType?: string | undefined;
1854
1854
  }, {
1855
- data: string;
1856
1855
  type: "image";
1856
+ data: string;
1857
1857
  mimeType?: string | undefined;
1858
1858
  }>]>, "many">>;
1859
1859
  isError: z.ZodOptional<z.ZodBoolean>;
@@ -1865,11 +1865,11 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1865
1865
  result?: unknown;
1866
1866
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1867
1867
  experimental_content?: ({
1868
- type: "text";
1869
1868
  text: string;
1869
+ type: "text";
1870
1870
  } | {
1871
- data: string;
1872
1871
  type: "image";
1872
+ data: string;
1873
1873
  mimeType?: string | undefined;
1874
1874
  })[] | undefined;
1875
1875
  isError?: boolean | undefined;
@@ -1880,11 +1880,11 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1880
1880
  result?: unknown;
1881
1881
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1882
1882
  experimental_content?: ({
1883
- type: "text";
1884
1883
  text: string;
1884
+ type: "text";
1885
1885
  } | {
1886
- data: string;
1887
1886
  type: "image";
1887
+ data: string;
1888
1888
  mimeType?: string | undefined;
1889
1889
  })[] | undefined;
1890
1890
  isError?: boolean | undefined;
@@ -1899,11 +1899,11 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1899
1899
  result?: unknown;
1900
1900
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1901
1901
  experimental_content?: ({
1902
- type: "text";
1903
1902
  text: string;
1903
+ type: "text";
1904
1904
  } | {
1905
- data: string;
1906
1905
  type: "image";
1906
+ data: string;
1907
1907
  mimeType?: string | undefined;
1908
1908
  })[] | undefined;
1909
1909
  isError?: boolean | undefined;
@@ -1918,11 +1918,11 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1918
1918
  result?: unknown;
1919
1919
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1920
1920
  experimental_content?: ({
1921
- type: "text";
1922
1921
  text: string;
1922
+ type: "text";
1923
1923
  } | {
1924
- data: string;
1925
1924
  type: "image";
1925
+ data: string;
1926
1926
  mimeType?: string | undefined;
1927
1927
  })[] | undefined;
1928
1928
  isError?: boolean | undefined;
@@ -1930,7 +1930,7 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1930
1930
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1931
1931
  }>]>, "many">]>]>;
1932
1932
  system_message: z.ZodOptional<z.ZodString>;
1933
- reasoning_effort: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEnum<["high", "medium", "low"]>]>>;
1933
+ reasoning_effort: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEnum<["xhigh", "high", "medium", "low"]>]>>;
1934
1934
  credentials: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>;
1935
1935
  test_credentials: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1936
1936
  mcp_servers: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1940,14 +1940,14 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1940
1940
  auth: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEnum<["transloadit"]>]>>;
1941
1941
  allowed_tools: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1942
1942
  }, "strip", z.ZodTypeAny, {
1943
- type: string;
1944
1943
  url: string;
1944
+ type: string;
1945
1945
  auth?: string | undefined;
1946
1946
  headers?: Record<string, string> | undefined;
1947
1947
  allowed_tools?: string | string[] | undefined;
1948
1948
  }, {
1949
- type: string;
1950
1949
  url: string;
1950
+ type: string;
1951
1951
  auth?: string | undefined;
1952
1952
  headers?: Record<string, string> | undefined;
1953
1953
  allowed_tools?: string | string[] | undefined;
@@ -1960,12 +1960,12 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1960
1960
  google_generative_ai_api_key: z.ZodOptional<z.ZodString>;
1961
1961
  xai_api_key: z.ZodOptional<z.ZodString>;
1962
1962
  }, "strict", z.ZodTypeAny, {
1963
- format: string;
1964
- result: string | boolean;
1965
1963
  robot: "/ai/chat";
1964
+ result: string | boolean;
1966
1965
  force_accept: string | boolean;
1967
1966
  ignore_errors: string | string[];
1968
1967
  model: string;
1968
+ format: string;
1969
1969
  return_messages: string;
1970
1970
  messages: string | ({
1971
1971
  role: "system";
@@ -1974,17 +1974,17 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1974
1974
  } | {
1975
1975
  role: "user";
1976
1976
  content: string | ({
1977
- type: "text";
1978
1977
  text: string;
1978
+ type: "text";
1979
1979
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1980
1980
  } | {
1981
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1982
1981
  type: "image";
1982
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1983
1983
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1984
1984
  mimeType?: string | undefined;
1985
1985
  } | {
1986
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
1987
1986
  type: "file";
1987
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
1988
1988
  mediaType: string;
1989
1989
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1990
1990
  })[];
@@ -1992,8 +1992,8 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
1992
1992
  } | {
1993
1993
  role: "assistant";
1994
1994
  content: string | ({
1995
- type: "text";
1996
1995
  text: string;
1996
+ type: "text";
1997
1997
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
1998
1998
  } | {
1999
1999
  type: "tool-call";
@@ -2012,11 +2012,11 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
2012
2012
  result?: unknown;
2013
2013
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2014
2014
  experimental_content?: ({
2015
- type: "text";
2016
2015
  text: string;
2016
+ type: "text";
2017
2017
  } | {
2018
- data: string;
2019
2018
  type: "image";
2019
+ data: string;
2020
2020
  mimeType?: string | undefined;
2021
2021
  })[] | undefined;
2022
2022
  isError?: boolean | undefined;
@@ -2045,8 +2045,8 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
2045
2045
  reasoning_effort?: string | undefined;
2046
2046
  test_credentials?: string | boolean | undefined;
2047
2047
  mcp_servers?: string | (string | {
2048
- type: string;
2049
2048
  url: string;
2049
+ type: string;
2050
2050
  auth?: string | undefined;
2051
2051
  headers?: Record<string, string> | undefined;
2052
2052
  allowed_tools?: string | string[] | undefined;
@@ -2066,17 +2066,17 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
2066
2066
  } | {
2067
2067
  role: "user";
2068
2068
  content: string | ({
2069
- type: "text";
2070
2069
  text: string;
2070
+ type: "text";
2071
2071
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2072
2072
  } | {
2073
- image: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
2074
2073
  type: "image";
2074
+ image: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
2075
2075
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2076
2076
  mimeType?: string | undefined;
2077
2077
  } | {
2078
- data: string | ArrayBuffer | Uint8Array<ArrayBuffer> | URL;
2079
2078
  type: "file";
2079
+ data: string | ArrayBuffer | URL | Uint8Array<ArrayBuffer>;
2080
2080
  mediaType: string;
2081
2081
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2082
2082
  })[];
@@ -2084,8 +2084,8 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
2084
2084
  } | {
2085
2085
  role: "assistant";
2086
2086
  content: string | ({
2087
- type: "text";
2088
2087
  text: string;
2088
+ type: "text";
2089
2089
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2090
2090
  } | {
2091
2091
  type: "tool-call";
@@ -2104,19 +2104,17 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
2104
2104
  result?: unknown;
2105
2105
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2106
2106
  experimental_content?: ({
2107
- type: "text";
2108
2107
  text: string;
2108
+ type: "text";
2109
2109
  } | {
2110
- data: string;
2111
2110
  type: "image";
2111
+ data: string;
2112
2112
  mimeType?: string | undefined;
2113
2113
  })[] | undefined;
2114
2114
  isError?: boolean | undefined;
2115
2115
  }[];
2116
2116
  experimental_providerMetadata?: Record<string, Record<string, any>> | undefined;
2117
2117
  })[];
2118
- format?: string | undefined;
2119
- result?: string | boolean | undefined;
2120
2118
  schema?: string | undefined;
2121
2119
  use?: string | string[] | {
2122
2120
  name: string;
@@ -2133,18 +2131,20 @@ export declare const interpolatableRobotAiChatInstructionsWithHiddenFieldsSchema
2133
2131
  group_by_original?: boolean | undefined;
2134
2132
  } | undefined;
2135
2133
  output_meta?: string | boolean | string[] | Record<string, string | boolean> | undefined;
2134
+ result?: string | boolean | undefined;
2136
2135
  queue?: string | undefined;
2137
2136
  force_accept?: string | boolean | undefined;
2138
2137
  ignore_errors?: string | boolean | ("meta" | "execute")[] | undefined;
2139
2138
  credentials?: string | string[] | undefined;
2140
2139
  model?: string | undefined;
2140
+ format?: string | undefined;
2141
2141
  return_messages?: string | undefined;
2142
2142
  system_message?: string | undefined;
2143
2143
  reasoning_effort?: string | undefined;
2144
2144
  test_credentials?: string | boolean | undefined;
2145
2145
  mcp_servers?: string | (string | {
2146
- type: string;
2147
2146
  url: string;
2147
+ type: string;
2148
2148
  auth?: string | undefined;
2149
2149
  headers?: Record<string, string> | undefined;
2150
2150
  allowed_tools?: string | string[] | undefined;