@wiro-ai/wiro-mcp 1.3.4 → 1.4.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 (283) hide show
  1. package/README.md +183 -16
  2. package/dist/client.d.ts +16 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +126 -24
  5. package/dist/client.js.map +1 -1
  6. package/dist/index.js +4 -2
  7. package/dist/index.js.map +1 -1
  8. package/dist/instructions.d.ts +2 -0
  9. package/dist/instructions.d.ts.map +1 -0
  10. package/dist/instructions.js +29 -0
  11. package/dist/instructions.js.map +1 -0
  12. package/dist/playbooks.d.ts +8 -0
  13. package/dist/playbooks.d.ts.map +1 -0
  14. package/dist/playbooks.js +667 -0
  15. package/dist/playbooks.js.map +1 -0
  16. package/dist/prompts.d.ts +4 -0
  17. package/dist/prompts.d.ts.map +1 -0
  18. package/dist/prompts.js +133 -0
  19. package/dist/prompts.js.map +1 -0
  20. package/dist/server.d.ts +15 -2
  21. package/dist/server.d.ts.map +1 -1
  22. package/dist/server.js +12 -7
  23. package/dist/server.js.map +1 -1
  24. package/dist/tools/apply-agent-skills.d.ts +4 -0
  25. package/dist/tools/apply-agent-skills.d.ts.map +1 -0
  26. package/dist/tools/apply-agent-skills.js +601 -0
  27. package/dist/tools/apply-agent-skills.js.map +1 -0
  28. package/dist/tools/cancel-agent-message.d.ts +4 -0
  29. package/dist/tools/cancel-agent-message.d.ts.map +1 -0
  30. package/dist/tools/cancel-agent-message.js +126 -0
  31. package/dist/tools/cancel-agent-message.js.map +1 -0
  32. package/dist/tools/cancel-task.js +3 -3
  33. package/dist/tools/cancel-task.js.map +1 -1
  34. package/dist/tools/clone-workflow.d.ts +4 -0
  35. package/dist/tools/clone-workflow.d.ts.map +1 -0
  36. package/dist/tools/clone-workflow.js +83 -0
  37. package/dist/tools/clone-workflow.js.map +1 -0
  38. package/dist/tools/connect-agent-oauth.d.ts +4 -0
  39. package/dist/tools/connect-agent-oauth.d.ts.map +1 -0
  40. package/dist/tools/connect-agent-oauth.js +508 -0
  41. package/dist/tools/connect-agent-oauth.js.map +1 -0
  42. package/dist/tools/control-agent.d.ts +4 -0
  43. package/dist/tools/control-agent.d.ts.map +1 -0
  44. package/dist/tools/control-agent.js +289 -0
  45. package/dist/tools/control-agent.js.map +1 -0
  46. package/dist/tools/create-workflow.d.ts +100 -0
  47. package/dist/tools/create-workflow.d.ts.map +1 -0
  48. package/dist/tools/create-workflow.js +102 -0
  49. package/dist/tools/create-workflow.js.map +1 -0
  50. package/dist/tools/delete-agent-session.d.ts +6 -0
  51. package/dist/tools/delete-agent-session.d.ts.map +1 -0
  52. package/dist/tools/delete-agent-session.js +134 -0
  53. package/dist/tools/delete-agent-session.js.map +1 -0
  54. package/dist/tools/delete-agent.d.ts +4 -0
  55. package/dist/tools/delete-agent.d.ts.map +1 -0
  56. package/dist/tools/delete-agent.js +145 -0
  57. package/dist/tools/delete-agent.js.map +1 -0
  58. package/dist/tools/delete-workflow.d.ts +4 -0
  59. package/dist/tools/delete-workflow.d.ts.map +1 -0
  60. package/dist/tools/delete-workflow.js +77 -0
  61. package/dist/tools/delete-workflow.js.map +1 -0
  62. package/dist/tools/deploy-agent.d.ts +4 -0
  63. package/dist/tools/deploy-agent.d.ts.map +1 -0
  64. package/dist/tools/deploy-agent.js +463 -0
  65. package/dist/tools/deploy-agent.js.map +1 -0
  66. package/dist/tools/disconnect-agent-oauth.d.ts +4 -0
  67. package/dist/tools/disconnect-agent-oauth.d.ts.map +1 -0
  68. package/dist/tools/disconnect-agent-oauth.js +118 -0
  69. package/dist/tools/disconnect-agent-oauth.js.map +1 -0
  70. package/dist/tools/get-account.d.ts +4 -0
  71. package/dist/tools/get-account.d.ts.map +1 -0
  72. package/dist/tools/get-account.js +112 -0
  73. package/dist/tools/get-account.js.map +1 -0
  74. package/dist/tools/get-agent-activity.d.ts +4 -0
  75. package/dist/tools/get-agent-activity.d.ts.map +1 -0
  76. package/dist/tools/get-agent-activity.js +383 -0
  77. package/dist/tools/get-agent-activity.js.map +1 -0
  78. package/dist/tools/get-agent-conversation.d.ts +4 -0
  79. package/dist/tools/get-agent-conversation.d.ts.map +1 -0
  80. package/dist/tools/get-agent-conversation.js +228 -0
  81. package/dist/tools/get-agent-conversation.js.map +1 -0
  82. package/dist/tools/get-agent-message.d.ts +4 -0
  83. package/dist/tools/get-agent-message.d.ts.map +1 -0
  84. package/dist/tools/get-agent-message.js +68 -0
  85. package/dist/tools/get-agent-message.js.map +1 -0
  86. package/dist/tools/get-agent-template.d.ts +4 -0
  87. package/dist/tools/get-agent-template.d.ts.map +1 -0
  88. package/dist/tools/get-agent-template.js +128 -0
  89. package/dist/tools/get-agent-template.js.map +1 -0
  90. package/dist/tools/get-model-schema.d.ts +5 -1
  91. package/dist/tools/get-model-schema.d.ts.map +1 -1
  92. package/dist/tools/get-model-schema.js +138 -8
  93. package/dist/tools/get-model-schema.js.map +1 -1
  94. package/dist/tools/get-my-agent.d.ts +4 -0
  95. package/dist/tools/get-my-agent.d.ts.map +1 -0
  96. package/dist/tools/get-my-agent.js +117 -0
  97. package/dist/tools/get-my-agent.js.map +1 -0
  98. package/dist/tools/get-playbook.d.ts +3 -0
  99. package/dist/tools/get-playbook.d.ts.map +1 -0
  100. package/dist/tools/get-playbook.js +50 -0
  101. package/dist/tools/get-playbook.js.map +1 -0
  102. package/dist/tools/get-task-price.d.ts +1 -1
  103. package/dist/tools/get-task-price.d.ts.map +1 -1
  104. package/dist/tools/get-task-price.js +64 -16
  105. package/dist/tools/get-task-price.js.map +1 -1
  106. package/dist/tools/get-task.d.ts.map +1 -1
  107. package/dist/tools/get-task.js +26 -9
  108. package/dist/tools/get-task.js.map +1 -1
  109. package/dist/tools/get-workflow.d.ts +9 -0
  110. package/dist/tools/get-workflow.d.ts.map +1 -0
  111. package/dist/tools/get-workflow.js +105 -0
  112. package/dist/tools/get-workflow.js.map +1 -0
  113. package/dist/tools/index.d.ts +63 -2
  114. package/dist/tools/index.d.ts.map +1 -1
  115. package/dist/tools/index.js +131 -14
  116. package/dist/tools/index.js.map +1 -1
  117. package/dist/tools/kill-task.d.ts.map +1 -1
  118. package/dist/tools/kill-task.js +10 -6
  119. package/dist/tools/kill-task.js.map +1 -1
  120. package/dist/tools/list-agent-skills.d.ts +4 -0
  121. package/dist/tools/list-agent-skills.d.ts.map +1 -0
  122. package/dist/tools/list-agent-skills.js +242 -0
  123. package/dist/tools/list-agent-skills.js.map +1 -0
  124. package/dist/tools/list-agent-templates.d.ts +4 -0
  125. package/dist/tools/list-agent-templates.d.ts.map +1 -0
  126. package/dist/tools/list-agent-templates.js +110 -0
  127. package/dist/tools/list-agent-templates.js.map +1 -0
  128. package/dist/tools/list-my-agents.d.ts +4 -0
  129. package/dist/tools/list-my-agents.d.ts.map +1 -0
  130. package/dist/tools/list-my-agents.js +93 -0
  131. package/dist/tools/list-my-agents.js.map +1 -0
  132. package/dist/tools/list-studio-results.d.ts +4 -0
  133. package/dist/tools/list-studio-results.d.ts.map +1 -0
  134. package/dist/tools/list-studio-results.js +95 -0
  135. package/dist/tools/list-studio-results.js.map +1 -0
  136. package/dist/tools/list-tasks.d.ts.map +1 -1
  137. package/dist/tools/list-tasks.js +7 -5
  138. package/dist/tools/list-tasks.js.map +1 -1
  139. package/dist/tools/list-workflow-runs.d.ts +4 -0
  140. package/dist/tools/list-workflow-runs.d.ts.map +1 -0
  141. package/dist/tools/list-workflow-runs.js +110 -0
  142. package/dist/tools/list-workflow-runs.js.map +1 -0
  143. package/dist/tools/list-workflows.d.ts +4 -0
  144. package/dist/tools/list-workflows.d.ts.map +1 -0
  145. package/dist/tools/list-workflows.js +143 -0
  146. package/dist/tools/list-workflows.js.map +1 -0
  147. package/dist/tools/manage-agent-billing.d.ts +4 -0
  148. package/dist/tools/manage-agent-billing.d.ts.map +1 -0
  149. package/dist/tools/manage-agent-billing.js +788 -0
  150. package/dist/tools/manage-agent-billing.js.map +1 -0
  151. package/dist/tools/manage-agent-custom-skill.d.ts +4 -0
  152. package/dist/tools/manage-agent-custom-skill.d.ts.map +1 -0
  153. package/dist/tools/manage-agent-custom-skill.js +531 -0
  154. package/dist/tools/manage-agent-custom-skill.js.map +1 -0
  155. package/dist/tools/recommend-model.d.ts.map +1 -1
  156. package/dist/tools/recommend-model.js +6 -5
  157. package/dist/tools/recommend-model.js.map +1 -1
  158. package/dist/tools/resume-workflow-run.d.ts +4 -0
  159. package/dist/tools/resume-workflow-run.d.ts.map +1 -0
  160. package/dist/tools/resume-workflow-run.js +69 -0
  161. package/dist/tools/resume-workflow-run.js.map +1 -0
  162. package/dist/tools/run-model.d.ts.map +1 -1
  163. package/dist/tools/run-model.js +40 -4
  164. package/dist/tools/run-model.js.map +1 -1
  165. package/dist/tools/run-workflow.d.ts +6 -0
  166. package/dist/tools/run-workflow.d.ts.map +1 -0
  167. package/dist/tools/run-workflow.js +132 -0
  168. package/dist/tools/run-workflow.js.map +1 -0
  169. package/dist/tools/save-workflow-from-agent.d.ts +4 -0
  170. package/dist/tools/save-workflow-from-agent.d.ts.map +1 -0
  171. package/dist/tools/save-workflow-from-agent.js +280 -0
  172. package/dist/tools/save-workflow-from-agent.js.map +1 -0
  173. package/dist/tools/schemas.d.ts +182 -115
  174. package/dist/tools/schemas.d.ts.map +1 -1
  175. package/dist/tools/schemas.js +26 -6
  176. package/dist/tools/schemas.js.map +1 -1
  177. package/dist/tools/search-models.d.ts.map +1 -1
  178. package/dist/tools/search-models.js +9 -6
  179. package/dist/tools/search-models.js.map +1 -1
  180. package/dist/tools/send-agent-message.d.ts +4 -0
  181. package/dist/tools/send-agent-message.d.ts.map +1 -0
  182. package/dist/tools/send-agent-message.js +156 -0
  183. package/dist/tools/send-agent-message.js.map +1 -0
  184. package/dist/tools/set-agent-credentials.d.ts +4 -0
  185. package/dist/tools/set-agent-credentials.d.ts.map +1 -0
  186. package/dist/tools/set-agent-credentials.js +540 -0
  187. package/dist/tools/set-agent-credentials.js.map +1 -0
  188. package/dist/tools/update-agent.d.ts +4 -0
  189. package/dist/tools/update-agent.d.ts.map +1 -0
  190. package/dist/tools/update-agent.js +179 -0
  191. package/dist/tools/update-agent.js.map +1 -0
  192. package/dist/tools/update-workflow.d.ts +201 -0
  193. package/dist/tools/update-workflow.d.ts.map +1 -0
  194. package/dist/tools/update-workflow.js +168 -0
  195. package/dist/tools/update-workflow.js.map +1 -0
  196. package/dist/tools/upload-file.d.ts.map +1 -1
  197. package/dist/tools/upload-file.js +12 -7
  198. package/dist/tools/upload-file.js.map +1 -1
  199. package/dist/tools/wait-for-task.d.ts.map +1 -1
  200. package/dist/tools/wait-for-task.js +20 -2
  201. package/dist/tools/wait-for-task.js.map +1 -1
  202. package/dist/tools/wait-for-workflow-run.d.ts +259 -0
  203. package/dist/tools/wait-for-workflow-run.d.ts.map +1 -0
  204. package/dist/tools/wait-for-workflow-run.js +190 -0
  205. package/dist/tools/wait-for-workflow-run.js.map +1 -0
  206. package/dist/types.d.ts +18 -0
  207. package/dist/types.d.ts.map +1 -1
  208. package/dist/types.js.map +1 -1
  209. package/dist/utils/agent-catalog.d.ts +1256 -0
  210. package/dist/utils/agent-catalog.d.ts.map +1 -0
  211. package/dist/utils/agent-catalog.js +387 -0
  212. package/dist/utils/agent-catalog.js.map +1 -0
  213. package/dist/utils/agent-config.d.ts +443 -0
  214. package/dist/utils/agent-config.d.ts.map +1 -0
  215. package/dist/utils/agent-config.js +1676 -0
  216. package/dist/utils/agent-config.js.map +1 -0
  217. package/dist/utils/agent-message.d.ts +112 -0
  218. package/dist/utils/agent-message.d.ts.map +1 -0
  219. package/dist/utils/agent-message.js +243 -0
  220. package/dist/utils/agent-message.js.map +1 -0
  221. package/dist/utils/agent-targets.d.ts +76 -0
  222. package/dist/utils/agent-targets.d.ts.map +1 -0
  223. package/dist/utils/agent-targets.js +412 -0
  224. package/dist/utils/agent-targets.js.map +1 -0
  225. package/dist/utils/agent-turns.d.ts +354 -0
  226. package/dist/utils/agent-turns.d.ts.map +1 -0
  227. package/dist/utils/agent-turns.js +660 -0
  228. package/dist/utils/agent-turns.js.map +1 -0
  229. package/dist/utils/api.d.ts +40 -0
  230. package/dist/utils/api.d.ts.map +1 -0
  231. package/dist/utils/api.js +111 -0
  232. package/dist/utils/api.js.map +1 -0
  233. package/dist/utils/format.d.ts +65 -2
  234. package/dist/utils/format.d.ts.map +1 -1
  235. package/dist/utils/format.js +583 -81
  236. package/dist/utils/format.js.map +1 -1
  237. package/dist/utils/json-schema-dialect.d.ts +8 -1
  238. package/dist/utils/json-schema-dialect.d.ts.map +1 -1
  239. package/dist/utils/json-schema-dialect.js +23 -1
  240. package/dist/utils/json-schema-dialect.js.map +1 -1
  241. package/dist/utils/media.d.ts +28 -0
  242. package/dist/utils/media.d.ts.map +1 -0
  243. package/dist/utils/media.js +65 -0
  244. package/dist/utils/media.js.map +1 -0
  245. package/dist/utils/poll.d.ts +39 -0
  246. package/dist/utils/poll.d.ts.map +1 -0
  247. package/dist/utils/poll.js +111 -0
  248. package/dist/utils/poll.js.map +1 -0
  249. package/dist/utils/remote-file.js +2 -2
  250. package/dist/utils/remote-file.js.map +1 -1
  251. package/dist/utils/structured.d.ts +4 -0
  252. package/dist/utils/structured.d.ts.map +1 -1
  253. package/dist/utils/structured.js +23 -7
  254. package/dist/utils/structured.js.map +1 -1
  255. package/dist/utils/studio-runs.d.ts +87 -0
  256. package/dist/utils/studio-runs.d.ts.map +1 -0
  257. package/dist/utils/studio-runs.js +167 -0
  258. package/dist/utils/studio-runs.js.map +1 -0
  259. package/dist/utils/user-agent.d.ts +1199 -0
  260. package/dist/utils/user-agent.d.ts.map +1 -0
  261. package/dist/utils/user-agent.js +897 -0
  262. package/dist/utils/user-agent.js.map +1 -0
  263. package/dist/utils/workflow-agent.d.ts +151 -0
  264. package/dist/utils/workflow-agent.d.ts.map +1 -0
  265. package/dist/utils/workflow-agent.js +292 -0
  266. package/dist/utils/workflow-agent.js.map +1 -0
  267. package/dist/utils/workflow-artifacts.d.ts +160 -0
  268. package/dist/utils/workflow-artifacts.d.ts.map +1 -0
  269. package/dist/utils/workflow-artifacts.js +801 -0
  270. package/dist/utils/workflow-artifacts.js.map +1 -0
  271. package/dist/utils/workflow-save.d.ts +120 -0
  272. package/dist/utils/workflow-save.d.ts.map +1 -0
  273. package/dist/utils/workflow-save.js +728 -0
  274. package/dist/utils/workflow-save.js.map +1 -0
  275. package/dist/utils/workflow.d.ts +564 -0
  276. package/dist/utils/workflow.d.ts.map +1 -0
  277. package/dist/utils/workflow.js +712 -0
  278. package/dist/utils/workflow.js.map +1 -0
  279. package/dist/utils/workspace.d.ts +38 -0
  280. package/dist/utils/workspace.d.ts.map +1 -0
  281. package/dist/utils/workspace.js +90 -0
  282. package/dist/utils/workspace.js.map +1 -0
  283. package/package.json +6 -4
@@ -21,6 +21,7 @@ export declare const taskReferenceSchema: z.ZodObject<{
21
21
  exitCode: z.ZodOptional<z.ZodString>;
22
22
  durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ chargedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
25
  }, "strip", z.ZodTypeAny, {
25
26
  model?: string | undefined;
26
27
  id?: string | undefined;
@@ -29,6 +30,7 @@ export declare const taskReferenceSchema: z.ZodObject<{
29
30
  exitCode?: string | undefined;
30
31
  durationSeconds?: number | null | undefined;
31
32
  costUsd?: number | null | undefined;
33
+ chargedUsd?: number | null | undefined;
32
34
  }, {
33
35
  model?: string | undefined;
34
36
  id?: string | undefined;
@@ -37,6 +39,7 @@ export declare const taskReferenceSchema: z.ZodObject<{
37
39
  exitCode?: string | undefined;
38
40
  durationSeconds?: number | null | undefined;
39
41
  costUsd?: number | null | undefined;
42
+ chargedUsd?: number | null | undefined;
40
43
  }>;
41
44
  export declare const taskFinishReasonSchema: z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>;
42
45
  export declare const taskToolCallStatusSchema: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
@@ -211,17 +214,17 @@ export declare const taskSegmentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
211
214
  }, "strip", z.ZodTypeAny, {
212
215
  type: "function_call";
213
216
  id: string;
214
- arguments: string;
215
- call_id: string;
216
217
  name: string;
217
218
  status: "in_progress" | "completed" | "incomplete";
219
+ arguments: string;
220
+ call_id: string;
218
221
  }, {
219
222
  type: "function_call";
220
223
  id: string;
221
- arguments: string;
222
- call_id: string;
223
224
  name: string;
224
225
  status: "in_progress" | "completed" | "incomplete";
226
+ arguments: string;
227
+ call_id: string;
225
228
  }>, z.ZodObject<{
226
229
  type: z.ZodLiteral<"custom_tool_call">;
227
230
  id: z.ZodString;
@@ -232,17 +235,17 @@ export declare const taskSegmentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
232
235
  }, "strip", z.ZodTypeAny, {
233
236
  type: "custom_tool_call";
234
237
  id: string;
235
- call_id: string;
236
238
  name: string;
237
- status: "in_progress" | "completed" | "incomplete";
238
239
  input: string;
240
+ status: "in_progress" | "completed" | "incomplete";
241
+ call_id: string;
239
242
  }, {
240
243
  type: "custom_tool_call";
241
244
  id: string;
242
- call_id: string;
243
245
  name: string;
244
- status: "in_progress" | "completed" | "incomplete";
245
246
  input: string;
247
+ status: "in_progress" | "completed" | "incomplete";
248
+ call_id: string;
246
249
  }>]>;
247
250
  export declare const taskOutputSchema: z.ZodObject<{
248
251
  name: z.ZodOptional<z.ZodString>;
@@ -270,17 +273,17 @@ export declare const taskOutputSchema: z.ZodObject<{
270
273
  }, "strip", z.ZodTypeAny, {
271
274
  type: "function_call";
272
275
  id: string;
273
- arguments: string;
274
- call_id: string;
275
276
  name: string;
276
277
  status: "in_progress" | "completed" | "incomplete";
278
+ arguments: string;
279
+ call_id: string;
277
280
  }, {
278
281
  type: "function_call";
279
282
  id: string;
280
- arguments: string;
281
- call_id: string;
282
283
  name: string;
283
284
  status: "in_progress" | "completed" | "incomplete";
285
+ arguments: string;
286
+ call_id: string;
284
287
  }>, z.ZodObject<{
285
288
  type: z.ZodLiteral<"custom_tool_call">;
286
289
  id: z.ZodString;
@@ -291,17 +294,17 @@ export declare const taskOutputSchema: z.ZodObject<{
291
294
  }, "strip", z.ZodTypeAny, {
292
295
  type: "custom_tool_call";
293
296
  id: string;
294
- call_id: string;
295
297
  name: string;
296
- status: "in_progress" | "completed" | "incomplete";
297
298
  input: string;
299
+ status: "in_progress" | "completed" | "incomplete";
300
+ call_id: string;
298
301
  }, {
299
302
  type: "custom_tool_call";
300
303
  id: string;
301
- call_id: string;
302
304
  name: string;
303
- status: "in_progress" | "completed" | "incomplete";
304
305
  input: string;
306
+ status: "in_progress" | "completed" | "incomplete";
307
+ call_id: string;
305
308
  }>]>, "many">>;
306
309
  finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
307
310
  usage: z.ZodOptional<z.ZodObject<{
@@ -459,24 +462,27 @@ export declare const taskOutputSchema: z.ZodObject<{
459
462
  }, "strip", z.ZodTypeAny, {
460
463
  mimeType: string;
461
464
  sizeBytes: number | null;
462
- kind: "file" | "text" | "image" | "video" | "audio";
465
+ kind: "file" | "text" | "image" | "audio" | "video";
466
+ name?: string | undefined;
467
+ url?: string | undefined;
468
+ text?: string | undefined;
463
469
  segments?: ({
464
470
  type: "thinking" | "answer";
465
471
  text: string;
466
472
  } | {
467
473
  type: "function_call";
468
474
  id: string;
469
- arguments: string;
470
- call_id: string;
471
475
  name: string;
472
476
  status: "in_progress" | "completed" | "incomplete";
477
+ arguments: string;
478
+ call_id: string;
473
479
  } | {
474
480
  type: "custom_tool_call";
475
481
  id: string;
476
- call_id: string;
477
482
  name: string;
478
- status: "in_progress" | "completed" | "incomplete";
479
483
  input: string;
484
+ status: "in_progress" | "completed" | "incomplete";
485
+ call_id: string;
480
486
  })[] | undefined;
481
487
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
482
488
  usage?: {
@@ -513,30 +519,30 @@ export declare const taskOutputSchema: z.ZodObject<{
513
519
  image_generation_requests?: number | undefined;
514
520
  } | undefined;
515
521
  } | undefined;
516
- text?: string | undefined;
517
- name?: string | undefined;
518
- url?: string | undefined;
519
522
  }, {
520
523
  mimeType: string;
521
524
  sizeBytes: number | null;
522
- kind: "file" | "text" | "image" | "video" | "audio";
525
+ kind: "file" | "text" | "image" | "audio" | "video";
526
+ name?: string | undefined;
527
+ url?: string | undefined;
528
+ text?: string | undefined;
523
529
  segments?: ({
524
530
  type: "thinking" | "answer";
525
531
  text: string;
526
532
  } | {
527
533
  type: "function_call";
528
534
  id: string;
529
- arguments: string;
530
- call_id: string;
531
535
  name: string;
532
536
  status: "in_progress" | "completed" | "incomplete";
537
+ arguments: string;
538
+ call_id: string;
533
539
  } | {
534
540
  type: "custom_tool_call";
535
541
  id: string;
536
- call_id: string;
537
542
  name: string;
538
- status: "in_progress" | "completed" | "incomplete";
539
543
  input: string;
544
+ status: "in_progress" | "completed" | "incomplete";
545
+ call_id: string;
540
546
  })[] | undefined;
541
547
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
542
548
  usage?: {
@@ -573,9 +579,6 @@ export declare const taskOutputSchema: z.ZodObject<{
573
579
  image_generation_requests?: number | undefined;
574
580
  } | undefined;
575
581
  } | undefined;
576
- text?: string | undefined;
577
- name?: string | undefined;
578
- url?: string | undefined;
579
582
  }>;
580
583
  export declare const taskResultOutputSchema: {
581
584
  state: z.ZodEnum<["submitted", "running", "completed", "failed", "cancelled"]>;
@@ -587,6 +590,7 @@ export declare const taskResultOutputSchema: {
587
590
  exitCode: z.ZodOptional<z.ZodString>;
588
591
  durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
589
592
  costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
593
+ chargedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
590
594
  }, "strip", z.ZodTypeAny, {
591
595
  model?: string | undefined;
592
596
  id?: string | undefined;
@@ -595,6 +599,7 @@ export declare const taskResultOutputSchema: {
595
599
  exitCode?: string | undefined;
596
600
  durationSeconds?: number | null | undefined;
597
601
  costUsd?: number | null | undefined;
602
+ chargedUsd?: number | null | undefined;
598
603
  }, {
599
604
  model?: string | undefined;
600
605
  id?: string | undefined;
@@ -603,6 +608,7 @@ export declare const taskResultOutputSchema: {
603
608
  exitCode?: string | undefined;
604
609
  durationSeconds?: number | null | undefined;
605
610
  costUsd?: number | null | undefined;
611
+ chargedUsd?: number | null | undefined;
606
612
  }>;
607
613
  outputs: z.ZodArray<z.ZodObject<{
608
614
  name: z.ZodOptional<z.ZodString>;
@@ -630,17 +636,17 @@ export declare const taskResultOutputSchema: {
630
636
  }, "strip", z.ZodTypeAny, {
631
637
  type: "function_call";
632
638
  id: string;
633
- arguments: string;
634
- call_id: string;
635
639
  name: string;
636
640
  status: "in_progress" | "completed" | "incomplete";
641
+ arguments: string;
642
+ call_id: string;
637
643
  }, {
638
644
  type: "function_call";
639
645
  id: string;
640
- arguments: string;
641
- call_id: string;
642
646
  name: string;
643
647
  status: "in_progress" | "completed" | "incomplete";
648
+ arguments: string;
649
+ call_id: string;
644
650
  }>, z.ZodObject<{
645
651
  type: z.ZodLiteral<"custom_tool_call">;
646
652
  id: z.ZodString;
@@ -651,17 +657,17 @@ export declare const taskResultOutputSchema: {
651
657
  }, "strip", z.ZodTypeAny, {
652
658
  type: "custom_tool_call";
653
659
  id: string;
654
- call_id: string;
655
660
  name: string;
656
- status: "in_progress" | "completed" | "incomplete";
657
661
  input: string;
662
+ status: "in_progress" | "completed" | "incomplete";
663
+ call_id: string;
658
664
  }, {
659
665
  type: "custom_tool_call";
660
666
  id: string;
661
- call_id: string;
662
667
  name: string;
663
- status: "in_progress" | "completed" | "incomplete";
664
668
  input: string;
669
+ status: "in_progress" | "completed" | "incomplete";
670
+ call_id: string;
665
671
  }>]>, "many">>;
666
672
  finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
667
673
  usage: z.ZodOptional<z.ZodObject<{
@@ -819,24 +825,27 @@ export declare const taskResultOutputSchema: {
819
825
  }, "strip", z.ZodTypeAny, {
820
826
  mimeType: string;
821
827
  sizeBytes: number | null;
822
- kind: "file" | "text" | "image" | "video" | "audio";
828
+ kind: "file" | "text" | "image" | "audio" | "video";
829
+ name?: string | undefined;
830
+ url?: string | undefined;
831
+ text?: string | undefined;
823
832
  segments?: ({
824
833
  type: "thinking" | "answer";
825
834
  text: string;
826
835
  } | {
827
836
  type: "function_call";
828
837
  id: string;
829
- arguments: string;
830
- call_id: string;
831
838
  name: string;
832
839
  status: "in_progress" | "completed" | "incomplete";
840
+ arguments: string;
841
+ call_id: string;
833
842
  } | {
834
843
  type: "custom_tool_call";
835
844
  id: string;
836
- call_id: string;
837
845
  name: string;
838
- status: "in_progress" | "completed" | "incomplete";
839
846
  input: string;
847
+ status: "in_progress" | "completed" | "incomplete";
848
+ call_id: string;
840
849
  })[] | undefined;
841
850
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
842
851
  usage?: {
@@ -873,30 +882,30 @@ export declare const taskResultOutputSchema: {
873
882
  image_generation_requests?: number | undefined;
874
883
  } | undefined;
875
884
  } | undefined;
876
- text?: string | undefined;
877
- name?: string | undefined;
878
- url?: string | undefined;
879
885
  }, {
880
886
  mimeType: string;
881
887
  sizeBytes: number | null;
882
- kind: "file" | "text" | "image" | "video" | "audio";
888
+ kind: "file" | "text" | "image" | "audio" | "video";
889
+ name?: string | undefined;
890
+ url?: string | undefined;
891
+ text?: string | undefined;
883
892
  segments?: ({
884
893
  type: "thinking" | "answer";
885
894
  text: string;
886
895
  } | {
887
896
  type: "function_call";
888
897
  id: string;
889
- arguments: string;
890
- call_id: string;
891
898
  name: string;
892
899
  status: "in_progress" | "completed" | "incomplete";
900
+ arguments: string;
901
+ call_id: string;
893
902
  } | {
894
903
  type: "custom_tool_call";
895
904
  id: string;
896
- call_id: string;
897
905
  name: string;
898
- status: "in_progress" | "completed" | "incomplete";
899
906
  input: string;
907
+ status: "in_progress" | "completed" | "incomplete";
908
+ call_id: string;
900
909
  })[] | undefined;
901
910
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
902
911
  usage?: {
@@ -933,9 +942,6 @@ export declare const taskResultOutputSchema: {
933
942
  image_generation_requests?: number | undefined;
934
943
  } | undefined;
935
944
  } | undefined;
936
- text?: string | undefined;
937
- name?: string | undefined;
938
- url?: string | undefined;
939
945
  }>, "many">;
940
946
  response: z.ZodOptional<z.ZodString>;
941
947
  error: z.ZodOptional<z.ZodString>;
@@ -964,6 +970,7 @@ export declare const taskListOutputSchema: {
964
970
  exitCode: z.ZodOptional<z.ZodString>;
965
971
  durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
966
972
  costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
973
+ chargedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
967
974
  }, "strip", z.ZodTypeAny, {
968
975
  model?: string | undefined;
969
976
  id?: string | undefined;
@@ -972,6 +979,7 @@ export declare const taskListOutputSchema: {
972
979
  exitCode?: string | undefined;
973
980
  durationSeconds?: number | null | undefined;
974
981
  costUsd?: number | null | undefined;
982
+ chargedUsd?: number | null | undefined;
975
983
  }, {
976
984
  model?: string | undefined;
977
985
  id?: string | undefined;
@@ -980,6 +988,7 @@ export declare const taskListOutputSchema: {
980
988
  exitCode?: string | undefined;
981
989
  durationSeconds?: number | null | undefined;
982
990
  costUsd?: number | null | undefined;
991
+ chargedUsd?: number | null | undefined;
983
992
  }>;
984
993
  outputs: z.ZodArray<z.ZodObject<Omit<{
985
994
  name: z.ZodOptional<z.ZodString>;
@@ -1007,17 +1016,17 @@ export declare const taskListOutputSchema: {
1007
1016
  }, "strip", z.ZodTypeAny, {
1008
1017
  type: "function_call";
1009
1018
  id: string;
1010
- arguments: string;
1011
- call_id: string;
1012
1019
  name: string;
1013
1020
  status: "in_progress" | "completed" | "incomplete";
1021
+ arguments: string;
1022
+ call_id: string;
1014
1023
  }, {
1015
1024
  type: "function_call";
1016
1025
  id: string;
1017
- arguments: string;
1018
- call_id: string;
1019
1026
  name: string;
1020
1027
  status: "in_progress" | "completed" | "incomplete";
1028
+ arguments: string;
1029
+ call_id: string;
1021
1030
  }>, z.ZodObject<{
1022
1031
  type: z.ZodLiteral<"custom_tool_call">;
1023
1032
  id: z.ZodString;
@@ -1028,17 +1037,17 @@ export declare const taskListOutputSchema: {
1028
1037
  }, "strip", z.ZodTypeAny, {
1029
1038
  type: "custom_tool_call";
1030
1039
  id: string;
1031
- call_id: string;
1032
1040
  name: string;
1033
- status: "in_progress" | "completed" | "incomplete";
1034
1041
  input: string;
1042
+ status: "in_progress" | "completed" | "incomplete";
1043
+ call_id: string;
1035
1044
  }, {
1036
1045
  type: "custom_tool_call";
1037
1046
  id: string;
1038
- call_id: string;
1039
1047
  name: string;
1040
- status: "in_progress" | "completed" | "incomplete";
1041
1048
  input: string;
1049
+ status: "in_progress" | "completed" | "incomplete";
1050
+ call_id: string;
1042
1051
  }>]>, "many">>;
1043
1052
  finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
1044
1053
  usage: z.ZodOptional<z.ZodObject<{
@@ -1193,10 +1202,12 @@ export declare const taskListOutputSchema: {
1193
1202
  image_generation_requests?: number | undefined;
1194
1203
  } | undefined;
1195
1204
  }>>;
1196
- }, "segments" | "finishreason" | "text">, "strip", z.ZodTypeAny, {
1205
+ }, "text" | "segments" | "finishreason">, "strip", z.ZodTypeAny, {
1197
1206
  mimeType: string;
1198
1207
  sizeBytes: number | null;
1199
- kind: "file" | "text" | "image" | "video" | "audio";
1208
+ kind: "file" | "text" | "image" | "audio" | "video";
1209
+ name?: string | undefined;
1210
+ url?: string | undefined;
1200
1211
  usage?: {
1201
1212
  input_tokens: number;
1202
1213
  output_tokens: number;
@@ -1231,12 +1242,12 @@ export declare const taskListOutputSchema: {
1231
1242
  image_generation_requests?: number | undefined;
1232
1243
  } | undefined;
1233
1244
  } | undefined;
1234
- name?: string | undefined;
1235
- url?: string | undefined;
1236
1245
  }, {
1237
1246
  mimeType: string;
1238
1247
  sizeBytes: number | null;
1239
- kind: "file" | "text" | "image" | "video" | "audio";
1248
+ kind: "file" | "text" | "image" | "audio" | "video";
1249
+ name?: string | undefined;
1250
+ url?: string | undefined;
1240
1251
  usage?: {
1241
1252
  input_tokens: number;
1242
1253
  output_tokens: number;
@@ -1271,11 +1282,8 @@ export declare const taskListOutputSchema: {
1271
1282
  image_generation_requests?: number | undefined;
1272
1283
  } | undefined;
1273
1284
  } | undefined;
1274
- name?: string | undefined;
1275
- url?: string | undefined;
1276
1285
  }>, "many">;
1277
1286
  }, "strip", z.ZodTypeAny, {
1278
- state: "completed" | "submitted" | "running" | "failed" | "cancelled";
1279
1287
  task: {
1280
1288
  model?: string | undefined;
1281
1289
  id?: string | undefined;
@@ -1284,11 +1292,15 @@ export declare const taskListOutputSchema: {
1284
1292
  exitCode?: string | undefined;
1285
1293
  durationSeconds?: number | null | undefined;
1286
1294
  costUsd?: number | null | undefined;
1295
+ chargedUsd?: number | null | undefined;
1287
1296
  };
1297
+ state: "completed" | "failed" | "cancelled" | "submitted" | "running";
1288
1298
  outputs: {
1289
1299
  mimeType: string;
1290
1300
  sizeBytes: number | null;
1291
- kind: "file" | "text" | "image" | "video" | "audio";
1301
+ kind: "file" | "text" | "image" | "audio" | "video";
1302
+ name?: string | undefined;
1303
+ url?: string | undefined;
1292
1304
  usage?: {
1293
1305
  input_tokens: number;
1294
1306
  output_tokens: number;
@@ -1323,11 +1335,8 @@ export declare const taskListOutputSchema: {
1323
1335
  image_generation_requests?: number | undefined;
1324
1336
  } | undefined;
1325
1337
  } | undefined;
1326
- name?: string | undefined;
1327
- url?: string | undefined;
1328
1338
  }[];
1329
1339
  }, {
1330
- state: "completed" | "submitted" | "running" | "failed" | "cancelled";
1331
1340
  task: {
1332
1341
  model?: string | undefined;
1333
1342
  id?: string | undefined;
@@ -1336,11 +1345,15 @@ export declare const taskListOutputSchema: {
1336
1345
  exitCode?: string | undefined;
1337
1346
  durationSeconds?: number | null | undefined;
1338
1347
  costUsd?: number | null | undefined;
1348
+ chargedUsd?: number | null | undefined;
1339
1349
  };
1350
+ state: "completed" | "failed" | "cancelled" | "submitted" | "running";
1340
1351
  outputs: {
1341
1352
  mimeType: string;
1342
1353
  sizeBytes: number | null;
1343
- kind: "file" | "text" | "image" | "video" | "audio";
1354
+ kind: "file" | "text" | "image" | "audio" | "video";
1355
+ name?: string | undefined;
1356
+ url?: string | undefined;
1344
1357
  usage?: {
1345
1358
  input_tokens: number;
1346
1359
  output_tokens: number;
@@ -1375,8 +1388,6 @@ export declare const taskListOutputSchema: {
1375
1388
  image_generation_requests?: number | undefined;
1376
1389
  } | undefined;
1377
1390
  } | undefined;
1378
- name?: string | undefined;
1379
- url?: string | undefined;
1380
1391
  }[];
1381
1392
  }>, "many">;
1382
1393
  total: z.ZodNumber;
@@ -1404,20 +1415,23 @@ export declare const modelSummarySchema: z.ZodObject<{
1404
1415
  categories: z.ZodArray<z.ZodString, "many">;
1405
1416
  pricing: z.ZodOptional<z.ZodString>;
1406
1417
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1418
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1407
1419
  }, "strip", z.ZodTypeAny, {
1408
1420
  categories: string[];
1409
- slug: string;
1410
1421
  title: string;
1422
+ slug: string;
1411
1423
  description?: string | undefined;
1412
1424
  pricing?: string | undefined;
1413
1425
  estimatedCostUsd?: number | null | undefined;
1426
+ discountPercent?: number | undefined;
1414
1427
  }, {
1415
1428
  categories: string[];
1416
- slug: string;
1417
1429
  title: string;
1430
+ slug: string;
1418
1431
  description?: string | undefined;
1419
1432
  pricing?: string | undefined;
1420
1433
  estimatedCostUsd?: number | null | undefined;
1434
+ discountPercent?: number | undefined;
1421
1435
  }>;
1422
1436
  export declare const modelListOutputSchema: {
1423
1437
  models: z.ZodArray<z.ZodObject<{
@@ -1427,20 +1441,23 @@ export declare const modelListOutputSchema: {
1427
1441
  categories: z.ZodArray<z.ZodString, "many">;
1428
1442
  pricing: z.ZodOptional<z.ZodString>;
1429
1443
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1444
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1430
1445
  }, "strip", z.ZodTypeAny, {
1431
1446
  categories: string[];
1432
- slug: string;
1433
1447
  title: string;
1448
+ slug: string;
1434
1449
  description?: string | undefined;
1435
1450
  pricing?: string | undefined;
1436
1451
  estimatedCostUsd?: number | null | undefined;
1452
+ discountPercent?: number | undefined;
1437
1453
  }, {
1438
1454
  categories: string[];
1439
- slug: string;
1440
1455
  title: string;
1456
+ slug: string;
1441
1457
  description?: string | undefined;
1442
1458
  pricing?: string | undefined;
1443
1459
  estimatedCostUsd?: number | null | undefined;
1460
+ discountPercent?: number | undefined;
1444
1461
  }>, "many">;
1445
1462
  total: z.ZodNumber;
1446
1463
  start: z.ZodNumber;
@@ -1466,6 +1483,7 @@ export declare const modelParameterSchema: z.ZodObject<{
1466
1483
  label: z.ZodString;
1467
1484
  description: z.ZodOptional<z.ZodString>;
1468
1485
  default: z.ZodOptional<z.ZodString>;
1486
+ sample: z.ZodOptional<z.ZodString>;
1469
1487
  required: z.ZodBoolean;
1470
1488
  placeholder: z.ZodOptional<z.ZodString>;
1471
1489
  note: z.ZodOptional<z.ZodString>;
@@ -1473,11 +1491,11 @@ export declare const modelParameterSchema: z.ZodObject<{
1473
1491
  label: z.ZodString;
1474
1492
  value: z.ZodString;
1475
1493
  }, "strip", z.ZodTypeAny, {
1476
- label: string;
1477
1494
  value: string;
1478
- }, {
1479
1495
  label: string;
1496
+ }, {
1480
1497
  value: string;
1498
+ label: string;
1481
1499
  }>, "many">;
1482
1500
  min: z.ZodOptional<z.ZodNumber>;
1483
1501
  max: z.ZodOptional<z.ZodNumber>;
@@ -1487,15 +1505,16 @@ export declare const modelParameterSchema: z.ZodObject<{
1487
1505
  }, "strip", z.ZodTypeAny, {
1488
1506
  type: string;
1489
1507
  id: string;
1490
- label: string;
1491
1508
  required: boolean;
1509
+ label: string;
1492
1510
  options: {
1493
- label: string;
1494
1511
  value: string;
1512
+ label: string;
1495
1513
  }[];
1496
1514
  advanced: boolean;
1497
1515
  default?: string | undefined;
1498
1516
  description?: string | undefined;
1517
+ sample?: string | undefined;
1499
1518
  placeholder?: string | undefined;
1500
1519
  note?: string | undefined;
1501
1520
  min?: number | undefined;
@@ -1505,15 +1524,16 @@ export declare const modelParameterSchema: z.ZodObject<{
1505
1524
  }, {
1506
1525
  type: string;
1507
1526
  id: string;
1508
- label: string;
1509
1527
  required: boolean;
1528
+ label: string;
1510
1529
  options: {
1511
- label: string;
1512
1530
  value: string;
1531
+ label: string;
1513
1532
  }[];
1514
1533
  advanced: boolean;
1515
1534
  default?: string | undefined;
1516
1535
  description?: string | undefined;
1536
+ sample?: string | undefined;
1517
1537
  placeholder?: string | undefined;
1518
1538
  note?: string | undefined;
1519
1539
  min?: number | undefined;
@@ -1529,7 +1549,9 @@ export declare const modelDetailOutputSchema: {
1529
1549
  categories: z.ZodArray<z.ZodString, "many">;
1530
1550
  pricing: z.ZodOptional<z.ZodString>;
1531
1551
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1552
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1532
1553
  } & {
1554
+ pricingNotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1533
1555
  parameters: z.ZodArray<z.ZodObject<{
1534
1556
  title: z.ZodString;
1535
1557
  items: z.ZodArray<z.ZodObject<{
@@ -1538,6 +1560,7 @@ export declare const modelDetailOutputSchema: {
1538
1560
  label: z.ZodString;
1539
1561
  description: z.ZodOptional<z.ZodString>;
1540
1562
  default: z.ZodOptional<z.ZodString>;
1563
+ sample: z.ZodOptional<z.ZodString>;
1541
1564
  required: z.ZodBoolean;
1542
1565
  placeholder: z.ZodOptional<z.ZodString>;
1543
1566
  note: z.ZodOptional<z.ZodString>;
@@ -1545,11 +1568,11 @@ export declare const modelDetailOutputSchema: {
1545
1568
  label: z.ZodString;
1546
1569
  value: z.ZodString;
1547
1570
  }, "strip", z.ZodTypeAny, {
1548
- label: string;
1549
1571
  value: string;
1550
- }, {
1551
1572
  label: string;
1573
+ }, {
1552
1574
  value: string;
1575
+ label: string;
1553
1576
  }>, "many">;
1554
1577
  min: z.ZodOptional<z.ZodNumber>;
1555
1578
  max: z.ZodOptional<z.ZodNumber>;
@@ -1559,15 +1582,16 @@ export declare const modelDetailOutputSchema: {
1559
1582
  }, "strip", z.ZodTypeAny, {
1560
1583
  type: string;
1561
1584
  id: string;
1562
- label: string;
1563
1585
  required: boolean;
1586
+ label: string;
1564
1587
  options: {
1565
- label: string;
1566
1588
  value: string;
1589
+ label: string;
1567
1590
  }[];
1568
1591
  advanced: boolean;
1569
1592
  default?: string | undefined;
1570
1593
  description?: string | undefined;
1594
+ sample?: string | undefined;
1571
1595
  placeholder?: string | undefined;
1572
1596
  note?: string | undefined;
1573
1597
  min?: number | undefined;
@@ -1577,15 +1601,16 @@ export declare const modelDetailOutputSchema: {
1577
1601
  }, {
1578
1602
  type: string;
1579
1603
  id: string;
1580
- label: string;
1581
1604
  required: boolean;
1605
+ label: string;
1582
1606
  options: {
1583
- label: string;
1584
1607
  value: string;
1608
+ label: string;
1585
1609
  }[];
1586
1610
  advanced: boolean;
1587
1611
  default?: string | undefined;
1588
1612
  description?: string | undefined;
1613
+ sample?: string | undefined;
1589
1614
  placeholder?: string | undefined;
1590
1615
  note?: string | undefined;
1591
1616
  min?: number | undefined;
@@ -1594,19 +1619,19 @@ export declare const modelDetailOutputSchema: {
1594
1619
  jsonSchema?: Record<string, unknown> | undefined;
1595
1620
  }>, "many">;
1596
1621
  }, "strip", z.ZodTypeAny, {
1597
- title: string;
1598
1622
  items: {
1599
1623
  type: string;
1600
1624
  id: string;
1601
- label: string;
1602
1625
  required: boolean;
1626
+ label: string;
1603
1627
  options: {
1604
- label: string;
1605
1628
  value: string;
1629
+ label: string;
1606
1630
  }[];
1607
1631
  advanced: boolean;
1608
1632
  default?: string | undefined;
1609
1633
  description?: string | undefined;
1634
+ sample?: string | undefined;
1610
1635
  placeholder?: string | undefined;
1611
1636
  note?: string | undefined;
1612
1637
  min?: number | undefined;
@@ -1614,20 +1639,21 @@ export declare const modelDetailOutputSchema: {
1614
1639
  step?: number | undefined;
1615
1640
  jsonSchema?: Record<string, unknown> | undefined;
1616
1641
  }[];
1617
- }, {
1618
1642
  title: string;
1643
+ }, {
1619
1644
  items: {
1620
1645
  type: string;
1621
1646
  id: string;
1622
- label: string;
1623
1647
  required: boolean;
1648
+ label: string;
1624
1649
  options: {
1625
- label: string;
1626
1650
  value: string;
1651
+ label: string;
1627
1652
  }[];
1628
1653
  advanced: boolean;
1629
1654
  default?: string | undefined;
1630
1655
  description?: string | undefined;
1656
+ sample?: string | undefined;
1631
1657
  placeholder?: string | undefined;
1632
1658
  note?: string | undefined;
1633
1659
  min?: number | undefined;
@@ -1635,25 +1661,39 @@ export declare const modelDetailOutputSchema: {
1635
1661
  step?: number | undefined;
1636
1662
  jsonSchema?: Record<string, unknown> | undefined;
1637
1663
  }[];
1664
+ title: string;
1638
1665
  }>, "many">;
1666
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1667
+ id: z.ZodString;
1668
+ label: z.ZodString;
1669
+ type: z.ZodString;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ type: string;
1672
+ id: string;
1673
+ label: string;
1674
+ }, {
1675
+ type: string;
1676
+ id: string;
1677
+ label: string;
1678
+ }>, "many">>;
1679
+ dynamicOutputs: z.ZodOptional<z.ZodBoolean>;
1639
1680
  }, "strip", z.ZodTypeAny, {
1640
1681
  categories: string[];
1641
- slug: string;
1642
1682
  title: string;
1643
1683
  parameters: {
1644
- title: string;
1645
1684
  items: {
1646
1685
  type: string;
1647
1686
  id: string;
1648
- label: string;
1649
1687
  required: boolean;
1688
+ label: string;
1650
1689
  options: {
1651
- label: string;
1652
1690
  value: string;
1691
+ label: string;
1653
1692
  }[];
1654
1693
  advanced: boolean;
1655
1694
  default?: string | undefined;
1656
1695
  description?: string | undefined;
1696
+ sample?: string | undefined;
1657
1697
  placeholder?: string | undefined;
1658
1698
  note?: string | undefined;
1659
1699
  min?: number | undefined;
@@ -1661,28 +1701,37 @@ export declare const modelDetailOutputSchema: {
1661
1701
  step?: number | undefined;
1662
1702
  jsonSchema?: Record<string, unknown> | undefined;
1663
1703
  }[];
1704
+ title: string;
1664
1705
  }[];
1706
+ slug: string;
1665
1707
  description?: string | undefined;
1708
+ outputs?: {
1709
+ type: string;
1710
+ id: string;
1711
+ label: string;
1712
+ }[] | undefined;
1666
1713
  pricing?: string | undefined;
1667
1714
  estimatedCostUsd?: number | null | undefined;
1715
+ discountPercent?: number | undefined;
1716
+ pricingNotes?: string[] | undefined;
1717
+ dynamicOutputs?: boolean | undefined;
1668
1718
  }, {
1669
1719
  categories: string[];
1670
- slug: string;
1671
1720
  title: string;
1672
1721
  parameters: {
1673
- title: string;
1674
1722
  items: {
1675
1723
  type: string;
1676
1724
  id: string;
1677
- label: string;
1678
1725
  required: boolean;
1726
+ label: string;
1679
1727
  options: {
1680
- label: string;
1681
1728
  value: string;
1729
+ label: string;
1682
1730
  }[];
1683
1731
  advanced: boolean;
1684
1732
  default?: string | undefined;
1685
1733
  description?: string | undefined;
1734
+ sample?: string | undefined;
1686
1735
  placeholder?: string | undefined;
1687
1736
  note?: string | undefined;
1688
1737
  min?: number | undefined;
@@ -1690,10 +1739,20 @@ export declare const modelDetailOutputSchema: {
1690
1739
  step?: number | undefined;
1691
1740
  jsonSchema?: Record<string, unknown> | undefined;
1692
1741
  }[];
1742
+ title: string;
1693
1743
  }[];
1744
+ slug: string;
1694
1745
  description?: string | undefined;
1746
+ outputs?: {
1747
+ type: string;
1748
+ id: string;
1749
+ label: string;
1750
+ }[] | undefined;
1695
1751
  pricing?: string | undefined;
1696
1752
  estimatedCostUsd?: number | null | undefined;
1753
+ discountPercent?: number | undefined;
1754
+ pricingNotes?: string[] | undefined;
1755
+ dynamicOutputs?: boolean | undefined;
1697
1756
  }>;
1698
1757
  nextAction: z.ZodObject<{
1699
1758
  tool: z.ZodString;
@@ -1720,42 +1779,47 @@ export declare const exploreOutputSchema: {
1720
1779
  categories: z.ZodArray<z.ZodString, "many">;
1721
1780
  pricing: z.ZodOptional<z.ZodString>;
1722
1781
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1782
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1723
1783
  }, "strip", z.ZodTypeAny, {
1724
1784
  categories: string[];
1725
- slug: string;
1726
1785
  title: string;
1786
+ slug: string;
1727
1787
  description?: string | undefined;
1728
1788
  pricing?: string | undefined;
1729
1789
  estimatedCostUsd?: number | null | undefined;
1790
+ discountPercent?: number | undefined;
1730
1791
  }, {
1731
1792
  categories: string[];
1732
- slug: string;
1733
1793
  title: string;
1794
+ slug: string;
1734
1795
  description?: string | undefined;
1735
1796
  pricing?: string | undefined;
1736
1797
  estimatedCostUsd?: number | null | undefined;
1798
+ discountPercent?: number | undefined;
1737
1799
  }>, "many">;
1738
1800
  }, "strip", z.ZodTypeAny, {
1739
1801
  title: string;
1740
1802
  total: number;
1741
1803
  models: {
1742
1804
  categories: string[];
1743
- slug: string;
1744
1805
  title: string;
1806
+ slug: string;
1745
1807
  description?: string | undefined;
1746
1808
  pricing?: string | undefined;
1747
1809
  estimatedCostUsd?: number | null | undefined;
1810
+ discountPercent?: number | undefined;
1748
1811
  }[];
1749
1812
  }, {
1750
1813
  title: string;
1751
1814
  total: number;
1752
1815
  models: {
1753
1816
  categories: string[];
1754
- slug: string;
1755
1817
  title: string;
1818
+ slug: string;
1756
1819
  description?: string | undefined;
1757
1820
  pricing?: string | undefined;
1758
1821
  estimatedCostUsd?: number | null | undefined;
1822
+ discountPercent?: number | undefined;
1759
1823
  }[];
1760
1824
  }>, "many">;
1761
1825
  nextAction: z.ZodOptional<z.ZodObject<{
@@ -1782,6 +1846,7 @@ export declare const taskPriceOutputSchema: {
1782
1846
  exitCode: z.ZodOptional<z.ZodString>;
1783
1847
  durationSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1784
1848
  costUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1849
+ chargedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1785
1850
  }, "strip", z.ZodTypeAny, {
1786
1851
  model?: string | undefined;
1787
1852
  id?: string | undefined;
@@ -1790,6 +1855,7 @@ export declare const taskPriceOutputSchema: {
1790
1855
  exitCode?: string | undefined;
1791
1856
  durationSeconds?: number | null | undefined;
1792
1857
  costUsd?: number | null | undefined;
1858
+ chargedUsd?: number | null | undefined;
1793
1859
  }, {
1794
1860
  model?: string | undefined;
1795
1861
  id?: string | undefined;
@@ -1798,6 +1864,7 @@ export declare const taskPriceOutputSchema: {
1798
1864
  exitCode?: string | undefined;
1799
1865
  durationSeconds?: number | null | undefined;
1800
1866
  costUsd?: number | null | undefined;
1867
+ chargedUsd?: number | null | undefined;
1801
1868
  }>;
1802
1869
  billed: z.ZodNullable<z.ZodBoolean>;
1803
1870
  costUsd: z.ZodNullable<z.ZodNumber>;
@@ -1840,15 +1907,15 @@ export declare const uploadedFileOutputSchema: {
1840
1907
  }, "strip", z.ZodTypeAny, {
1841
1908
  id: string;
1842
1909
  name: string;
1910
+ url: string;
1843
1911
  mimeType: string;
1844
1912
  sizeBytes: number | null;
1845
- url: string;
1846
1913
  }, {
1847
1914
  id: string;
1848
1915
  name: string;
1916
+ url: string;
1849
1917
  mimeType: string;
1850
1918
  sizeBytes: number | null;
1851
- url: string;
1852
1919
  }>;
1853
1920
  };
1854
1921
  export declare const docsSearchOutputSchema: {