@wiro-ai/wiro-mcp 1.4.0 → 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 (162) hide show
  1. package/README.md +12 -2
  2. package/dist/client.d.ts +6 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +88 -5
  5. package/dist/client.js.map +1 -1
  6. package/dist/instructions.d.ts.map +1 -1
  7. package/dist/instructions.js +20 -16
  8. package/dist/instructions.js.map +1 -1
  9. package/dist/playbooks.d.ts.map +1 -1
  10. package/dist/playbooks.js +19 -17
  11. package/dist/playbooks.js.map +1 -1
  12. package/dist/prompts.js +1 -1
  13. package/dist/prompts.js.map +1 -1
  14. package/dist/server.d.ts +6 -0
  15. package/dist/server.d.ts.map +1 -1
  16. package/dist/server.js +3 -4
  17. package/dist/server.js.map +1 -1
  18. package/dist/tools/apply-agent-skills.d.ts.map +1 -1
  19. package/dist/tools/apply-agent-skills.js +77 -21
  20. package/dist/tools/apply-agent-skills.js.map +1 -1
  21. package/dist/tools/connect-agent-oauth.js +5 -5
  22. package/dist/tools/connect-agent-oauth.js.map +1 -1
  23. package/dist/tools/control-agent.d.ts.map +1 -1
  24. package/dist/tools/control-agent.js +28 -13
  25. package/dist/tools/control-agent.js.map +1 -1
  26. package/dist/tools/create-workflow.d.ts +6 -6
  27. package/dist/tools/create-workflow.d.ts.map +1 -1
  28. package/dist/tools/create-workflow.js +1 -2
  29. package/dist/tools/create-workflow.js.map +1 -1
  30. package/dist/tools/delete-agent-session.js +2 -2
  31. package/dist/tools/delete-agent-session.js.map +1 -1
  32. package/dist/tools/delete-agent.d.ts.map +1 -1
  33. package/dist/tools/delete-agent.js +2 -1
  34. package/dist/tools/delete-agent.js.map +1 -1
  35. package/dist/tools/delete-workflow.js +1 -1
  36. package/dist/tools/delete-workflow.js.map +1 -1
  37. package/dist/tools/deploy-agent.d.ts.map +1 -1
  38. package/dist/tools/deploy-agent.js +17 -9
  39. package/dist/tools/deploy-agent.js.map +1 -1
  40. package/dist/tools/get-account.d.ts.map +1 -1
  41. package/dist/tools/get-account.js +22 -20
  42. package/dist/tools/get-account.js.map +1 -1
  43. package/dist/tools/get-agent-activity.js +2 -2
  44. package/dist/tools/get-agent-activity.js.map +1 -1
  45. package/dist/tools/get-agent-conversation.d.ts.map +1 -1
  46. package/dist/tools/get-agent-conversation.js +10 -6
  47. package/dist/tools/get-agent-conversation.js.map +1 -1
  48. package/dist/tools/get-agent-template.d.ts.map +1 -1
  49. package/dist/tools/get-agent-template.js +23 -2
  50. package/dist/tools/get-agent-template.js.map +1 -1
  51. package/dist/tools/get-model-schema.d.ts.map +1 -1
  52. package/dist/tools/get-model-schema.js +4 -2
  53. package/dist/tools/get-model-schema.js.map +1 -1
  54. package/dist/tools/get-my-agent.d.ts.map +1 -1
  55. package/dist/tools/get-my-agent.js +45 -6
  56. package/dist/tools/get-my-agent.js.map +1 -1
  57. package/dist/tools/get-task-price.d.ts +1 -1
  58. package/dist/tools/get-task-price.d.ts.map +1 -1
  59. package/dist/tools/get-task-price.js +26 -5
  60. package/dist/tools/get-task-price.js.map +1 -1
  61. package/dist/tools/get-task.d.ts.map +1 -1
  62. package/dist/tools/get-task.js +22 -6
  63. package/dist/tools/get-task.js.map +1 -1
  64. package/dist/tools/get-workflow.d.ts.map +1 -1
  65. package/dist/tools/get-workflow.js +8 -2
  66. package/dist/tools/get-workflow.js.map +1 -1
  67. package/dist/tools/index.d.ts +1 -0
  68. package/dist/tools/index.d.ts.map +1 -1
  69. package/dist/tools/index.js +4 -0
  70. package/dist/tools/index.js.map +1 -1
  71. package/dist/tools/list-my-agents.d.ts.map +1 -1
  72. package/dist/tools/list-my-agents.js +4 -1
  73. package/dist/tools/list-my-agents.js.map +1 -1
  74. package/dist/tools/manage-agent-billing.d.ts.map +1 -1
  75. package/dist/tools/manage-agent-billing.js +53 -29
  76. package/dist/tools/manage-agent-billing.js.map +1 -1
  77. package/dist/tools/manage-agent-custom-skill.d.ts.map +1 -1
  78. package/dist/tools/manage-agent-custom-skill.js +4 -10
  79. package/dist/tools/manage-agent-custom-skill.js.map +1 -1
  80. package/dist/tools/run-model.js +2 -2
  81. package/dist/tools/save-workflow-from-agent.d.ts.map +1 -1
  82. package/dist/tools/save-workflow-from-agent.js +5 -8
  83. package/dist/tools/save-workflow-from-agent.js.map +1 -1
  84. package/dist/tools/schemas.d.ts +130 -113
  85. package/dist/tools/schemas.d.ts.map +1 -1
  86. package/dist/tools/schemas.js +9 -3
  87. package/dist/tools/schemas.js.map +1 -1
  88. package/dist/tools/search-models.d.ts.map +1 -1
  89. package/dist/tools/search-models.js +4 -1
  90. package/dist/tools/search-models.js.map +1 -1
  91. package/dist/tools/send-agent-message.js +2 -2
  92. package/dist/tools/send-agent-message.js.map +1 -1
  93. package/dist/tools/set-agent-credentials.d.ts.map +1 -1
  94. package/dist/tools/set-agent-credentials.js +16 -5
  95. package/dist/tools/set-agent-credentials.js.map +1 -1
  96. package/dist/tools/update-agent.d.ts.map +1 -1
  97. package/dist/tools/update-agent.js +5 -4
  98. package/dist/tools/update-agent.js.map +1 -1
  99. package/dist/tools/update-workflow.d.ts +6 -6
  100. package/dist/tools/upload-file.d.ts.map +1 -1
  101. package/dist/tools/upload-file.js +10 -6
  102. package/dist/tools/upload-file.js.map +1 -1
  103. package/dist/tools/wait-for-task.d.ts.map +1 -1
  104. package/dist/tools/wait-for-task.js +20 -2
  105. package/dist/tools/wait-for-task.js.map +1 -1
  106. package/dist/tools/wait-for-workflow-run.d.ts +15 -15
  107. package/dist/types.d.ts +6 -0
  108. package/dist/types.d.ts.map +1 -1
  109. package/dist/types.js.map +1 -1
  110. package/dist/utils/agent-catalog.d.ts +139 -139
  111. package/dist/utils/agent-catalog.d.ts.map +1 -1
  112. package/dist/utils/agent-catalog.js +6 -7
  113. package/dist/utils/agent-catalog.js.map +1 -1
  114. package/dist/utils/agent-config.d.ts +4 -2
  115. package/dist/utils/agent-config.d.ts.map +1 -1
  116. package/dist/utils/agent-config.js +12 -3
  117. package/dist/utils/agent-config.js.map +1 -1
  118. package/dist/utils/agent-message.d.ts +8 -11
  119. package/dist/utils/agent-message.d.ts.map +1 -1
  120. package/dist/utils/agent-message.js +5 -8
  121. package/dist/utils/agent-message.js.map +1 -1
  122. package/dist/utils/agent-targets.d.ts +1 -1
  123. package/dist/utils/agent-targets.d.ts.map +1 -1
  124. package/dist/utils/agent-targets.js +20 -16
  125. package/dist/utils/agent-targets.js.map +1 -1
  126. package/dist/utils/agent-turns.d.ts +12 -12
  127. package/dist/utils/agent-turns.d.ts.map +1 -1
  128. package/dist/utils/agent-turns.js +58 -21
  129. package/dist/utils/agent-turns.js.map +1 -1
  130. package/dist/utils/format.d.ts +27 -1
  131. package/dist/utils/format.d.ts.map +1 -1
  132. package/dist/utils/format.js +422 -69
  133. package/dist/utils/format.js.map +1 -1
  134. package/dist/utils/json-schema-dialect.d.ts +8 -1
  135. package/dist/utils/json-schema-dialect.d.ts.map +1 -1
  136. package/dist/utils/json-schema-dialect.js +23 -1
  137. package/dist/utils/json-schema-dialect.js.map +1 -1
  138. package/dist/utils/structured.d.ts +2 -0
  139. package/dist/utils/structured.d.ts.map +1 -1
  140. package/dist/utils/structured.js +15 -2
  141. package/dist/utils/structured.js.map +1 -1
  142. package/dist/utils/studio-runs.d.ts +4 -4
  143. package/dist/utils/studio-runs.js +4 -4
  144. package/dist/utils/studio-runs.js.map +1 -1
  145. package/dist/utils/user-agent.d.ts +283 -224
  146. package/dist/utils/user-agent.d.ts.map +1 -1
  147. package/dist/utils/user-agent.js +149 -54
  148. package/dist/utils/user-agent.js.map +1 -1
  149. package/dist/utils/workflow-agent.d.ts +4 -4
  150. package/dist/utils/workflow-save.d.ts +1 -4
  151. package/dist/utils/workflow-save.d.ts.map +1 -1
  152. package/dist/utils/workflow-save.js +8 -14
  153. package/dist/utils/workflow-save.js.map +1 -1
  154. package/dist/utils/workflow.d.ts +53 -48
  155. package/dist/utils/workflow.d.ts.map +1 -1
  156. package/dist/utils/workflow.js +108 -9
  157. package/dist/utils/workflow.js.map +1 -1
  158. package/dist/utils/workspace.d.ts +38 -0
  159. package/dist/utils/workspace.d.ts.map +1 -0
  160. package/dist/utils/workspace.js +90 -0
  161. package/dist/utils/workspace.js.map +1 -0
  162. package/package.json +6 -4
@@ -214,17 +214,17 @@ export declare const taskSegmentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
214
214
  }, "strip", z.ZodTypeAny, {
215
215
  type: "function_call";
216
216
  id: string;
217
- arguments: string;
218
- call_id: string;
219
217
  name: string;
220
218
  status: "in_progress" | "completed" | "incomplete";
219
+ arguments: string;
220
+ call_id: string;
221
221
  }, {
222
222
  type: "function_call";
223
223
  id: string;
224
- arguments: string;
225
- call_id: string;
226
224
  name: string;
227
225
  status: "in_progress" | "completed" | "incomplete";
226
+ arguments: string;
227
+ call_id: string;
228
228
  }>, z.ZodObject<{
229
229
  type: z.ZodLiteral<"custom_tool_call">;
230
230
  id: z.ZodString;
@@ -235,17 +235,17 @@ export declare const taskSegmentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  type: "custom_tool_call";
237
237
  id: string;
238
- call_id: string;
239
238
  name: string;
240
- status: "in_progress" | "completed" | "incomplete";
241
239
  input: string;
240
+ status: "in_progress" | "completed" | "incomplete";
241
+ call_id: string;
242
242
  }, {
243
243
  type: "custom_tool_call";
244
244
  id: string;
245
- call_id: string;
246
245
  name: string;
247
- status: "in_progress" | "completed" | "incomplete";
248
246
  input: string;
247
+ status: "in_progress" | "completed" | "incomplete";
248
+ call_id: string;
249
249
  }>]>;
250
250
  export declare const taskOutputSchema: z.ZodObject<{
251
251
  name: z.ZodOptional<z.ZodString>;
@@ -273,17 +273,17 @@ export declare const taskOutputSchema: z.ZodObject<{
273
273
  }, "strip", z.ZodTypeAny, {
274
274
  type: "function_call";
275
275
  id: string;
276
- arguments: string;
277
- call_id: string;
278
276
  name: string;
279
277
  status: "in_progress" | "completed" | "incomplete";
278
+ arguments: string;
279
+ call_id: string;
280
280
  }, {
281
281
  type: "function_call";
282
282
  id: string;
283
- arguments: string;
284
- call_id: string;
285
283
  name: string;
286
284
  status: "in_progress" | "completed" | "incomplete";
285
+ arguments: string;
286
+ call_id: string;
287
287
  }>, z.ZodObject<{
288
288
  type: z.ZodLiteral<"custom_tool_call">;
289
289
  id: z.ZodString;
@@ -294,17 +294,17 @@ export declare const taskOutputSchema: z.ZodObject<{
294
294
  }, "strip", z.ZodTypeAny, {
295
295
  type: "custom_tool_call";
296
296
  id: string;
297
- call_id: string;
298
297
  name: string;
299
- status: "in_progress" | "completed" | "incomplete";
300
298
  input: string;
299
+ status: "in_progress" | "completed" | "incomplete";
300
+ call_id: string;
301
301
  }, {
302
302
  type: "custom_tool_call";
303
303
  id: string;
304
- call_id: string;
305
304
  name: string;
306
- status: "in_progress" | "completed" | "incomplete";
307
305
  input: string;
306
+ status: "in_progress" | "completed" | "incomplete";
307
+ call_id: string;
308
308
  }>]>, "many">>;
309
309
  finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
310
310
  usage: z.ZodOptional<z.ZodObject<{
@@ -462,24 +462,27 @@ export declare const taskOutputSchema: z.ZodObject<{
462
462
  }, "strip", z.ZodTypeAny, {
463
463
  mimeType: string;
464
464
  sizeBytes: number | null;
465
- 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;
466
469
  segments?: ({
467
470
  type: "thinking" | "answer";
468
471
  text: string;
469
472
  } | {
470
473
  type: "function_call";
471
474
  id: string;
472
- arguments: string;
473
- call_id: string;
474
475
  name: string;
475
476
  status: "in_progress" | "completed" | "incomplete";
477
+ arguments: string;
478
+ call_id: string;
476
479
  } | {
477
480
  type: "custom_tool_call";
478
481
  id: string;
479
- call_id: string;
480
482
  name: string;
481
- status: "in_progress" | "completed" | "incomplete";
482
483
  input: string;
484
+ status: "in_progress" | "completed" | "incomplete";
485
+ call_id: string;
483
486
  })[] | undefined;
484
487
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
485
488
  usage?: {
@@ -516,30 +519,30 @@ export declare const taskOutputSchema: z.ZodObject<{
516
519
  image_generation_requests?: number | undefined;
517
520
  } | undefined;
518
521
  } | undefined;
519
- text?: string | undefined;
520
- name?: string | undefined;
521
- url?: string | undefined;
522
522
  }, {
523
523
  mimeType: string;
524
524
  sizeBytes: number | null;
525
- 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;
526
529
  segments?: ({
527
530
  type: "thinking" | "answer";
528
531
  text: string;
529
532
  } | {
530
533
  type: "function_call";
531
534
  id: string;
532
- arguments: string;
533
- call_id: string;
534
535
  name: string;
535
536
  status: "in_progress" | "completed" | "incomplete";
537
+ arguments: string;
538
+ call_id: string;
536
539
  } | {
537
540
  type: "custom_tool_call";
538
541
  id: string;
539
- call_id: string;
540
542
  name: string;
541
- status: "in_progress" | "completed" | "incomplete";
542
543
  input: string;
544
+ status: "in_progress" | "completed" | "incomplete";
545
+ call_id: string;
543
546
  })[] | undefined;
544
547
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
545
548
  usage?: {
@@ -576,9 +579,6 @@ export declare const taskOutputSchema: z.ZodObject<{
576
579
  image_generation_requests?: number | undefined;
577
580
  } | undefined;
578
581
  } | undefined;
579
- text?: string | undefined;
580
- name?: string | undefined;
581
- url?: string | undefined;
582
582
  }>;
583
583
  export declare const taskResultOutputSchema: {
584
584
  state: z.ZodEnum<["submitted", "running", "completed", "failed", "cancelled"]>;
@@ -636,17 +636,17 @@ export declare const taskResultOutputSchema: {
636
636
  }, "strip", z.ZodTypeAny, {
637
637
  type: "function_call";
638
638
  id: string;
639
- arguments: string;
640
- call_id: string;
641
639
  name: string;
642
640
  status: "in_progress" | "completed" | "incomplete";
641
+ arguments: string;
642
+ call_id: string;
643
643
  }, {
644
644
  type: "function_call";
645
645
  id: string;
646
- arguments: string;
647
- call_id: string;
648
646
  name: string;
649
647
  status: "in_progress" | "completed" | "incomplete";
648
+ arguments: string;
649
+ call_id: string;
650
650
  }>, z.ZodObject<{
651
651
  type: z.ZodLiteral<"custom_tool_call">;
652
652
  id: z.ZodString;
@@ -657,17 +657,17 @@ export declare const taskResultOutputSchema: {
657
657
  }, "strip", z.ZodTypeAny, {
658
658
  type: "custom_tool_call";
659
659
  id: string;
660
- call_id: string;
661
660
  name: string;
662
- status: "in_progress" | "completed" | "incomplete";
663
661
  input: string;
662
+ status: "in_progress" | "completed" | "incomplete";
663
+ call_id: string;
664
664
  }, {
665
665
  type: "custom_tool_call";
666
666
  id: string;
667
- call_id: string;
668
667
  name: string;
669
- status: "in_progress" | "completed" | "incomplete";
670
668
  input: string;
669
+ status: "in_progress" | "completed" | "incomplete";
670
+ call_id: string;
671
671
  }>]>, "many">>;
672
672
  finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
673
673
  usage: z.ZodOptional<z.ZodObject<{
@@ -825,24 +825,27 @@ export declare const taskResultOutputSchema: {
825
825
  }, "strip", z.ZodTypeAny, {
826
826
  mimeType: string;
827
827
  sizeBytes: number | null;
828
- 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;
829
832
  segments?: ({
830
833
  type: "thinking" | "answer";
831
834
  text: string;
832
835
  } | {
833
836
  type: "function_call";
834
837
  id: string;
835
- arguments: string;
836
- call_id: string;
837
838
  name: string;
838
839
  status: "in_progress" | "completed" | "incomplete";
840
+ arguments: string;
841
+ call_id: string;
839
842
  } | {
840
843
  type: "custom_tool_call";
841
844
  id: string;
842
- call_id: string;
843
845
  name: string;
844
- status: "in_progress" | "completed" | "incomplete";
845
846
  input: string;
847
+ status: "in_progress" | "completed" | "incomplete";
848
+ call_id: string;
846
849
  })[] | undefined;
847
850
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
848
851
  usage?: {
@@ -879,30 +882,30 @@ export declare const taskResultOutputSchema: {
879
882
  image_generation_requests?: number | undefined;
880
883
  } | undefined;
881
884
  } | undefined;
882
- text?: string | undefined;
883
- name?: string | undefined;
884
- url?: string | undefined;
885
885
  }, {
886
886
  mimeType: string;
887
887
  sizeBytes: number | null;
888
- 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;
889
892
  segments?: ({
890
893
  type: "thinking" | "answer";
891
894
  text: string;
892
895
  } | {
893
896
  type: "function_call";
894
897
  id: string;
895
- arguments: string;
896
- call_id: string;
897
898
  name: string;
898
899
  status: "in_progress" | "completed" | "incomplete";
900
+ arguments: string;
901
+ call_id: string;
899
902
  } | {
900
903
  type: "custom_tool_call";
901
904
  id: string;
902
- call_id: string;
903
905
  name: string;
904
- status: "in_progress" | "completed" | "incomplete";
905
906
  input: string;
907
+ status: "in_progress" | "completed" | "incomplete";
908
+ call_id: string;
906
909
  })[] | undefined;
907
910
  finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
908
911
  usage?: {
@@ -939,9 +942,6 @@ export declare const taskResultOutputSchema: {
939
942
  image_generation_requests?: number | undefined;
940
943
  } | undefined;
941
944
  } | undefined;
942
- text?: string | undefined;
943
- name?: string | undefined;
944
- url?: string | undefined;
945
945
  }>, "many">;
946
946
  response: z.ZodOptional<z.ZodString>;
947
947
  error: z.ZodOptional<z.ZodString>;
@@ -1016,17 +1016,17 @@ export declare const taskListOutputSchema: {
1016
1016
  }, "strip", z.ZodTypeAny, {
1017
1017
  type: "function_call";
1018
1018
  id: string;
1019
- arguments: string;
1020
- call_id: string;
1021
1019
  name: string;
1022
1020
  status: "in_progress" | "completed" | "incomplete";
1021
+ arguments: string;
1022
+ call_id: string;
1023
1023
  }, {
1024
1024
  type: "function_call";
1025
1025
  id: string;
1026
- arguments: string;
1027
- call_id: string;
1028
1026
  name: string;
1029
1027
  status: "in_progress" | "completed" | "incomplete";
1028
+ arguments: string;
1029
+ call_id: string;
1030
1030
  }>, z.ZodObject<{
1031
1031
  type: z.ZodLiteral<"custom_tool_call">;
1032
1032
  id: z.ZodString;
@@ -1037,17 +1037,17 @@ export declare const taskListOutputSchema: {
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
1038
  type: "custom_tool_call";
1039
1039
  id: string;
1040
- call_id: string;
1041
1040
  name: string;
1042
- status: "in_progress" | "completed" | "incomplete";
1043
1041
  input: string;
1042
+ status: "in_progress" | "completed" | "incomplete";
1043
+ call_id: string;
1044
1044
  }, {
1045
1045
  type: "custom_tool_call";
1046
1046
  id: string;
1047
- call_id: string;
1048
1047
  name: string;
1049
- status: "in_progress" | "completed" | "incomplete";
1050
1048
  input: string;
1049
+ status: "in_progress" | "completed" | "incomplete";
1050
+ call_id: string;
1051
1051
  }>]>, "many">>;
1052
1052
  finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
1053
1053
  usage: z.ZodOptional<z.ZodObject<{
@@ -1202,10 +1202,12 @@ export declare const taskListOutputSchema: {
1202
1202
  image_generation_requests?: number | undefined;
1203
1203
  } | undefined;
1204
1204
  }>>;
1205
- }, "segments" | "finishreason" | "text">, "strip", z.ZodTypeAny, {
1205
+ }, "text" | "segments" | "finishreason">, "strip", z.ZodTypeAny, {
1206
1206
  mimeType: string;
1207
1207
  sizeBytes: number | null;
1208
- kind: "file" | "text" | "image" | "video" | "audio";
1208
+ kind: "file" | "text" | "image" | "audio" | "video";
1209
+ name?: string | undefined;
1210
+ url?: string | undefined;
1209
1211
  usage?: {
1210
1212
  input_tokens: number;
1211
1213
  output_tokens: number;
@@ -1240,12 +1242,12 @@ export declare const taskListOutputSchema: {
1240
1242
  image_generation_requests?: number | undefined;
1241
1243
  } | undefined;
1242
1244
  } | undefined;
1243
- name?: string | undefined;
1244
- url?: string | undefined;
1245
1245
  }, {
1246
1246
  mimeType: string;
1247
1247
  sizeBytes: number | null;
1248
- kind: "file" | "text" | "image" | "video" | "audio";
1248
+ kind: "file" | "text" | "image" | "audio" | "video";
1249
+ name?: string | undefined;
1250
+ url?: string | undefined;
1249
1251
  usage?: {
1250
1252
  input_tokens: number;
1251
1253
  output_tokens: number;
@@ -1280,11 +1282,8 @@ export declare const taskListOutputSchema: {
1280
1282
  image_generation_requests?: number | undefined;
1281
1283
  } | undefined;
1282
1284
  } | undefined;
1283
- name?: string | undefined;
1284
- url?: string | undefined;
1285
1285
  }>, "many">;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
- state: "completed" | "submitted" | "running" | "failed" | "cancelled";
1288
1287
  task: {
1289
1288
  model?: string | undefined;
1290
1289
  id?: string | undefined;
@@ -1295,10 +1294,13 @@ export declare const taskListOutputSchema: {
1295
1294
  costUsd?: number | null | undefined;
1296
1295
  chargedUsd?: number | null | undefined;
1297
1296
  };
1297
+ state: "completed" | "failed" | "cancelled" | "submitted" | "running";
1298
1298
  outputs: {
1299
1299
  mimeType: string;
1300
1300
  sizeBytes: number | null;
1301
- kind: "file" | "text" | "image" | "video" | "audio";
1301
+ kind: "file" | "text" | "image" | "audio" | "video";
1302
+ name?: string | undefined;
1303
+ url?: string | undefined;
1302
1304
  usage?: {
1303
1305
  input_tokens: number;
1304
1306
  output_tokens: number;
@@ -1333,11 +1335,8 @@ export declare const taskListOutputSchema: {
1333
1335
  image_generation_requests?: number | undefined;
1334
1336
  } | undefined;
1335
1337
  } | undefined;
1336
- name?: string | undefined;
1337
- url?: string | undefined;
1338
1338
  }[];
1339
1339
  }, {
1340
- state: "completed" | "submitted" | "running" | "failed" | "cancelled";
1341
1340
  task: {
1342
1341
  model?: string | undefined;
1343
1342
  id?: string | undefined;
@@ -1348,10 +1347,13 @@ export declare const taskListOutputSchema: {
1348
1347
  costUsd?: number | null | undefined;
1349
1348
  chargedUsd?: number | null | undefined;
1350
1349
  };
1350
+ state: "completed" | "failed" | "cancelled" | "submitted" | "running";
1351
1351
  outputs: {
1352
1352
  mimeType: string;
1353
1353
  sizeBytes: number | null;
1354
- kind: "file" | "text" | "image" | "video" | "audio";
1354
+ kind: "file" | "text" | "image" | "audio" | "video";
1355
+ name?: string | undefined;
1356
+ url?: string | undefined;
1355
1357
  usage?: {
1356
1358
  input_tokens: number;
1357
1359
  output_tokens: number;
@@ -1386,8 +1388,6 @@ export declare const taskListOutputSchema: {
1386
1388
  image_generation_requests?: number | undefined;
1387
1389
  } | undefined;
1388
1390
  } | undefined;
1389
- name?: string | undefined;
1390
- url?: string | undefined;
1391
1391
  }[];
1392
1392
  }>, "many">;
1393
1393
  total: z.ZodNumber;
@@ -1415,20 +1415,23 @@ export declare const modelSummarySchema: z.ZodObject<{
1415
1415
  categories: z.ZodArray<z.ZodString, "many">;
1416
1416
  pricing: z.ZodOptional<z.ZodString>;
1417
1417
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1418
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1418
1419
  }, "strip", z.ZodTypeAny, {
1419
1420
  categories: string[];
1420
- slug: string;
1421
1421
  title: string;
1422
+ slug: string;
1422
1423
  description?: string | undefined;
1423
1424
  pricing?: string | undefined;
1424
1425
  estimatedCostUsd?: number | null | undefined;
1426
+ discountPercent?: number | undefined;
1425
1427
  }, {
1426
1428
  categories: string[];
1427
- slug: string;
1428
1429
  title: string;
1430
+ slug: string;
1429
1431
  description?: string | undefined;
1430
1432
  pricing?: string | undefined;
1431
1433
  estimatedCostUsd?: number | null | undefined;
1434
+ discountPercent?: number | undefined;
1432
1435
  }>;
1433
1436
  export declare const modelListOutputSchema: {
1434
1437
  models: z.ZodArray<z.ZodObject<{
@@ -1438,20 +1441,23 @@ export declare const modelListOutputSchema: {
1438
1441
  categories: z.ZodArray<z.ZodString, "many">;
1439
1442
  pricing: z.ZodOptional<z.ZodString>;
1440
1443
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1444
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1441
1445
  }, "strip", z.ZodTypeAny, {
1442
1446
  categories: string[];
1443
- slug: string;
1444
1447
  title: string;
1448
+ slug: string;
1445
1449
  description?: string | undefined;
1446
1450
  pricing?: string | undefined;
1447
1451
  estimatedCostUsd?: number | null | undefined;
1452
+ discountPercent?: number | undefined;
1448
1453
  }, {
1449
1454
  categories: string[];
1450
- slug: string;
1451
1455
  title: string;
1456
+ slug: string;
1452
1457
  description?: string | undefined;
1453
1458
  pricing?: string | undefined;
1454
1459
  estimatedCostUsd?: number | null | undefined;
1460
+ discountPercent?: number | undefined;
1455
1461
  }>, "many">;
1456
1462
  total: z.ZodNumber;
1457
1463
  start: z.ZodNumber;
@@ -1499,16 +1505,16 @@ export declare const modelParameterSchema: z.ZodObject<{
1499
1505
  }, "strip", z.ZodTypeAny, {
1500
1506
  type: string;
1501
1507
  id: string;
1502
- label: string;
1503
1508
  required: boolean;
1509
+ label: string;
1504
1510
  options: {
1505
1511
  value: string;
1506
1512
  label: string;
1507
1513
  }[];
1508
1514
  advanced: boolean;
1509
1515
  default?: string | undefined;
1510
- sample?: string | undefined;
1511
1516
  description?: string | undefined;
1517
+ sample?: string | undefined;
1512
1518
  placeholder?: string | undefined;
1513
1519
  note?: string | undefined;
1514
1520
  min?: number | undefined;
@@ -1518,16 +1524,16 @@ export declare const modelParameterSchema: z.ZodObject<{
1518
1524
  }, {
1519
1525
  type: string;
1520
1526
  id: string;
1521
- label: string;
1522
1527
  required: boolean;
1528
+ label: string;
1523
1529
  options: {
1524
1530
  value: string;
1525
1531
  label: string;
1526
1532
  }[];
1527
1533
  advanced: boolean;
1528
1534
  default?: string | undefined;
1529
- sample?: string | undefined;
1530
1535
  description?: string | undefined;
1536
+ sample?: string | undefined;
1531
1537
  placeholder?: string | undefined;
1532
1538
  note?: string | undefined;
1533
1539
  min?: number | undefined;
@@ -1543,7 +1549,9 @@ export declare const modelDetailOutputSchema: {
1543
1549
  categories: z.ZodArray<z.ZodString, "many">;
1544
1550
  pricing: z.ZodOptional<z.ZodString>;
1545
1551
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1552
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1546
1553
  } & {
1554
+ pricingNotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1547
1555
  parameters: z.ZodArray<z.ZodObject<{
1548
1556
  title: z.ZodString;
1549
1557
  items: z.ZodArray<z.ZodObject<{
@@ -1574,16 +1582,16 @@ export declare const modelDetailOutputSchema: {
1574
1582
  }, "strip", z.ZodTypeAny, {
1575
1583
  type: string;
1576
1584
  id: string;
1577
- label: string;
1578
1585
  required: boolean;
1586
+ label: string;
1579
1587
  options: {
1580
1588
  value: string;
1581
1589
  label: string;
1582
1590
  }[];
1583
1591
  advanced: boolean;
1584
1592
  default?: string | undefined;
1585
- sample?: string | undefined;
1586
1593
  description?: string | undefined;
1594
+ sample?: string | undefined;
1587
1595
  placeholder?: string | undefined;
1588
1596
  note?: string | undefined;
1589
1597
  min?: number | undefined;
@@ -1593,16 +1601,16 @@ export declare const modelDetailOutputSchema: {
1593
1601
  }, {
1594
1602
  type: string;
1595
1603
  id: string;
1596
- label: string;
1597
1604
  required: boolean;
1605
+ label: string;
1598
1606
  options: {
1599
1607
  value: string;
1600
1608
  label: string;
1601
1609
  }[];
1602
1610
  advanced: boolean;
1603
1611
  default?: string | undefined;
1604
- sample?: string | undefined;
1605
1612
  description?: string | undefined;
1613
+ sample?: string | undefined;
1606
1614
  placeholder?: string | undefined;
1607
1615
  note?: string | undefined;
1608
1616
  min?: number | undefined;
@@ -1611,20 +1619,19 @@ export declare const modelDetailOutputSchema: {
1611
1619
  jsonSchema?: Record<string, unknown> | undefined;
1612
1620
  }>, "many">;
1613
1621
  }, "strip", z.ZodTypeAny, {
1614
- title: string;
1615
1622
  items: {
1616
1623
  type: string;
1617
1624
  id: string;
1618
- label: string;
1619
1625
  required: boolean;
1626
+ label: string;
1620
1627
  options: {
1621
1628
  value: string;
1622
1629
  label: string;
1623
1630
  }[];
1624
1631
  advanced: boolean;
1625
1632
  default?: string | undefined;
1626
- sample?: string | undefined;
1627
1633
  description?: string | undefined;
1634
+ sample?: string | undefined;
1628
1635
  placeholder?: string | undefined;
1629
1636
  note?: string | undefined;
1630
1637
  min?: number | undefined;
@@ -1632,21 +1639,21 @@ export declare const modelDetailOutputSchema: {
1632
1639
  step?: number | undefined;
1633
1640
  jsonSchema?: Record<string, unknown> | undefined;
1634
1641
  }[];
1635
- }, {
1636
1642
  title: string;
1643
+ }, {
1637
1644
  items: {
1638
1645
  type: string;
1639
1646
  id: string;
1640
- label: string;
1641
1647
  required: boolean;
1648
+ label: string;
1642
1649
  options: {
1643
1650
  value: string;
1644
1651
  label: string;
1645
1652
  }[];
1646
1653
  advanced: boolean;
1647
1654
  default?: string | undefined;
1648
- sample?: string | undefined;
1649
1655
  description?: string | undefined;
1656
+ sample?: string | undefined;
1650
1657
  placeholder?: string | undefined;
1651
1658
  note?: string | undefined;
1652
1659
  min?: number | undefined;
@@ -1654,6 +1661,7 @@ export declare const modelDetailOutputSchema: {
1654
1661
  step?: number | undefined;
1655
1662
  jsonSchema?: Record<string, unknown> | undefined;
1656
1663
  }[];
1664
+ title: string;
1657
1665
  }>, "many">;
1658
1666
  outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1659
1667
  id: z.ZodString;
@@ -1671,23 +1679,21 @@ export declare const modelDetailOutputSchema: {
1671
1679
  dynamicOutputs: z.ZodOptional<z.ZodBoolean>;
1672
1680
  }, "strip", z.ZodTypeAny, {
1673
1681
  categories: string[];
1674
- slug: string;
1675
1682
  title: string;
1676
1683
  parameters: {
1677
- title: string;
1678
1684
  items: {
1679
1685
  type: string;
1680
1686
  id: string;
1681
- label: string;
1682
1687
  required: boolean;
1688
+ label: string;
1683
1689
  options: {
1684
1690
  value: string;
1685
1691
  label: string;
1686
1692
  }[];
1687
1693
  advanced: boolean;
1688
1694
  default?: string | undefined;
1689
- sample?: string | undefined;
1690
1695
  description?: string | undefined;
1696
+ sample?: string | undefined;
1691
1697
  placeholder?: string | undefined;
1692
1698
  note?: string | undefined;
1693
1699
  min?: number | undefined;
@@ -1695,35 +1701,37 @@ export declare const modelDetailOutputSchema: {
1695
1701
  step?: number | undefined;
1696
1702
  jsonSchema?: Record<string, unknown> | undefined;
1697
1703
  }[];
1704
+ title: string;
1698
1705
  }[];
1706
+ slug: string;
1707
+ description?: string | undefined;
1699
1708
  outputs?: {
1700
1709
  type: string;
1701
1710
  id: string;
1702
1711
  label: string;
1703
1712
  }[] | undefined;
1704
- description?: string | undefined;
1705
1713
  pricing?: string | undefined;
1706
1714
  estimatedCostUsd?: number | null | undefined;
1715
+ discountPercent?: number | undefined;
1716
+ pricingNotes?: string[] | undefined;
1707
1717
  dynamicOutputs?: boolean | undefined;
1708
1718
  }, {
1709
1719
  categories: string[];
1710
- slug: string;
1711
1720
  title: string;
1712
1721
  parameters: {
1713
- title: string;
1714
1722
  items: {
1715
1723
  type: string;
1716
1724
  id: string;
1717
- label: string;
1718
1725
  required: boolean;
1726
+ label: string;
1719
1727
  options: {
1720
1728
  value: string;
1721
1729
  label: string;
1722
1730
  }[];
1723
1731
  advanced: boolean;
1724
1732
  default?: string | undefined;
1725
- sample?: string | undefined;
1726
1733
  description?: string | undefined;
1734
+ sample?: string | undefined;
1727
1735
  placeholder?: string | undefined;
1728
1736
  note?: string | undefined;
1729
1737
  min?: number | undefined;
@@ -1731,15 +1739,19 @@ export declare const modelDetailOutputSchema: {
1731
1739
  step?: number | undefined;
1732
1740
  jsonSchema?: Record<string, unknown> | undefined;
1733
1741
  }[];
1742
+ title: string;
1734
1743
  }[];
1744
+ slug: string;
1745
+ description?: string | undefined;
1735
1746
  outputs?: {
1736
1747
  type: string;
1737
1748
  id: string;
1738
1749
  label: string;
1739
1750
  }[] | undefined;
1740
- description?: string | undefined;
1741
1751
  pricing?: string | undefined;
1742
1752
  estimatedCostUsd?: number | null | undefined;
1753
+ discountPercent?: number | undefined;
1754
+ pricingNotes?: string[] | undefined;
1743
1755
  dynamicOutputs?: boolean | undefined;
1744
1756
  }>;
1745
1757
  nextAction: z.ZodObject<{
@@ -1767,42 +1779,47 @@ export declare const exploreOutputSchema: {
1767
1779
  categories: z.ZodArray<z.ZodString, "many">;
1768
1780
  pricing: z.ZodOptional<z.ZodString>;
1769
1781
  estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1782
+ discountPercent: z.ZodOptional<z.ZodNumber>;
1770
1783
  }, "strip", z.ZodTypeAny, {
1771
1784
  categories: string[];
1772
- slug: string;
1773
1785
  title: string;
1786
+ slug: string;
1774
1787
  description?: string | undefined;
1775
1788
  pricing?: string | undefined;
1776
1789
  estimatedCostUsd?: number | null | undefined;
1790
+ discountPercent?: number | undefined;
1777
1791
  }, {
1778
1792
  categories: string[];
1779
- slug: string;
1780
1793
  title: string;
1794
+ slug: string;
1781
1795
  description?: string | undefined;
1782
1796
  pricing?: string | undefined;
1783
1797
  estimatedCostUsd?: number | null | undefined;
1798
+ discountPercent?: number | undefined;
1784
1799
  }>, "many">;
1785
1800
  }, "strip", z.ZodTypeAny, {
1786
1801
  title: string;
1787
1802
  total: number;
1788
1803
  models: {
1789
1804
  categories: string[];
1790
- slug: string;
1791
1805
  title: string;
1806
+ slug: string;
1792
1807
  description?: string | undefined;
1793
1808
  pricing?: string | undefined;
1794
1809
  estimatedCostUsd?: number | null | undefined;
1810
+ discountPercent?: number | undefined;
1795
1811
  }[];
1796
1812
  }, {
1797
1813
  title: string;
1798
1814
  total: number;
1799
1815
  models: {
1800
1816
  categories: string[];
1801
- slug: string;
1802
1817
  title: string;
1818
+ slug: string;
1803
1819
  description?: string | undefined;
1804
1820
  pricing?: string | undefined;
1805
1821
  estimatedCostUsd?: number | null | undefined;
1822
+ discountPercent?: number | undefined;
1806
1823
  }[];
1807
1824
  }>, "many">;
1808
1825
  nextAction: z.ZodOptional<z.ZodObject<{
@@ -1890,15 +1907,15 @@ export declare const uploadedFileOutputSchema: {
1890
1907
  }, "strip", z.ZodTypeAny, {
1891
1908
  id: string;
1892
1909
  name: string;
1910
+ url: string;
1893
1911
  mimeType: string;
1894
1912
  sizeBytes: number | null;
1895
- url: string;
1896
1913
  }, {
1897
1914
  id: string;
1898
1915
  name: string;
1916
+ url: string;
1899
1917
  mimeType: string;
1900
1918
  sizeBytes: number | null;
1901
- url: string;
1902
1919
  }>;
1903
1920
  };
1904
1921
  export declare const docsSearchOutputSchema: {