@sogni-ai/sogni-intelligence-client 4.23.0 → 4.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/contracts/imagePrompt.d.ts.map +1 -1
  2. package/dist/contracts/imagePrompt.js +6 -3
  3. package/dist/contracts/imagePrompt.js.map +1 -1
  4. package/dist/mcp/index.d.ts +1254 -0
  5. package/dist/mcp/index.d.ts.map +1 -0
  6. package/dist/mcp/index.js +199 -0
  7. package/dist/mcp/index.js.map +1 -0
  8. package/dist/mcp/manifest.generated.d.ts +1240 -0
  9. package/dist/mcp/manifest.generated.d.ts.map +1 -0
  10. package/dist/mcp/manifest.generated.js +5 -0
  11. package/dist/mcp/manifest.generated.js.map +1 -0
  12. package/dist/media/gptImage.d.ts +15 -4
  13. package/dist/media/gptImage.d.ts.map +1 -1
  14. package/dist/media/gptImage.js +55 -7
  15. package/dist/media/gptImage.js.map +1 -1
  16. package/dist/media/imageEditRouting.d.ts +1 -1
  17. package/dist/media/imageEditRouting.d.ts.map +1 -1
  18. package/dist/media/imageEditRouting.js +1 -1
  19. package/dist/media/imageEditRouting.js.map +1 -1
  20. package/dist/openai-tools/_manifests.generated.d.ts.map +1 -1
  21. package/dist/openai-tools/_manifests.generated.js +45 -6
  22. package/dist/openai-tools/_manifests.generated.js.map +1 -1
  23. package/dist/openai-tools/generation-tools.json +45 -6
  24. package/dist/prompt-guides/image.js +2 -2
  25. package/dist/prompt-guides/image.js.map +1 -1
  26. package/dist/schemas/mcp/approve_cost.schema.json +57 -0
  27. package/dist/schemas/mcp/cancel_job.schema.json +26 -0
  28. package/dist/schemas/mcp/create_upload.schema.json +27 -0
  29. package/dist/schemas/mcp/generate_audio.schema.json +112 -0
  30. package/dist/schemas/mcp/generate_image.schema.json +115 -0
  31. package/dist/schemas/mcp/generate_video.schema.json +151 -0
  32. package/dist/schemas/mcp/get_balance.schema.json +9 -0
  33. package/dist/schemas/mcp/get_job.schema.json +37 -0
  34. package/dist/schemas/mcp/list_models.schema.json +33 -0
  35. package/dist/schemas/mcp/quote.schema.json +26 -0
  36. package/dist/schemas/mcp/result.schema.json +27 -0
  37. package/dist/schemas/mcp/run_creative_agent.schema.json +81 -0
  38. package/dist/schemas/mcp/transform_media.schema.json +97 -0
  39. package/dist/schemas/tools/edit_image.schema.json +17 -2
  40. package/dist/schemas/tools/generate_image.schema.json +32 -8
  41. package/dist/tools/definitions/edit-image/definition.d.ts.map +1 -1
  42. package/dist/tools/definitions/edit-image/definition.js +4 -0
  43. package/dist/tools/definitions/edit-image/definition.js.map +1 -1
  44. package/dist/tools/definitions/generate-image/definition.d.ts.map +1 -1
  45. package/dist/tools/definitions/generate-image/definition.js +6 -3
  46. package/dist/tools/definitions/generate-image/definition.js.map +1 -1
  47. package/dist/tools/shared/modelRegistry.d.ts +6 -0
  48. package/dist/tools/shared/modelRegistry.d.ts.map +1 -1
  49. package/dist/tools/shared/modelRegistry.js +4 -0
  50. package/dist/tools/shared/modelRegistry.js.map +1 -1
  51. package/dist/utils/imageReferenceModelIds.js +1 -1
  52. package/dist/utils/imageReferenceModelIds.js.map +1 -1
  53. package/dist-esm/contracts/imagePrompt.js +6 -3
  54. package/dist-esm/contracts/imagePrompt.js.map +1 -1
  55. package/dist-esm/mcp/index.js +193 -0
  56. package/dist-esm/mcp/index.js.map +1 -0
  57. package/dist-esm/mcp/manifest.generated.js +2 -0
  58. package/dist-esm/mcp/manifest.generated.js.map +1 -0
  59. package/dist-esm/media/gptImage.js +53 -7
  60. package/dist-esm/media/gptImage.js.map +1 -1
  61. package/dist-esm/media/imageEditRouting.js +1 -1
  62. package/dist-esm/media/imageEditRouting.js.map +1 -1
  63. package/dist-esm/openai-tools/_manifests.generated.js +45 -6
  64. package/dist-esm/openai-tools/_manifests.generated.js.map +1 -1
  65. package/dist-esm/openai-tools/generation-tools.json +45 -6
  66. package/dist-esm/prompt-guides/image.js +2 -2
  67. package/dist-esm/prompt-guides/image.js.map +1 -1
  68. package/dist-esm/schemas/mcp/approve_cost.schema.json +57 -0
  69. package/dist-esm/schemas/mcp/cancel_job.schema.json +26 -0
  70. package/dist-esm/schemas/mcp/create_upload.schema.json +27 -0
  71. package/dist-esm/schemas/mcp/generate_audio.schema.json +112 -0
  72. package/dist-esm/schemas/mcp/generate_image.schema.json +115 -0
  73. package/dist-esm/schemas/mcp/generate_video.schema.json +151 -0
  74. package/dist-esm/schemas/mcp/get_balance.schema.json +9 -0
  75. package/dist-esm/schemas/mcp/get_job.schema.json +37 -0
  76. package/dist-esm/schemas/mcp/list_models.schema.json +33 -0
  77. package/dist-esm/schemas/mcp/quote.schema.json +26 -0
  78. package/dist-esm/schemas/mcp/result.schema.json +27 -0
  79. package/dist-esm/schemas/mcp/run_creative_agent.schema.json +81 -0
  80. package/dist-esm/schemas/mcp/transform_media.schema.json +97 -0
  81. package/dist-esm/schemas/tools/edit_image.schema.json +17 -2
  82. package/dist-esm/schemas/tools/generate_image.schema.json +32 -8
  83. package/dist-esm/tools/definitions/edit-image/definition.js +4 -0
  84. package/dist-esm/tools/definitions/edit-image/definition.js.map +1 -1
  85. package/dist-esm/tools/definitions/generate-image/definition.js +6 -3
  86. package/dist-esm/tools/definitions/generate-image/definition.js.map +1 -1
  87. package/dist-esm/tools/shared/modelRegistry.js +4 -0
  88. package/dist-esm/tools/shared/modelRegistry.js.map +1 -1
  89. package/dist-esm/utils/imageReferenceModelIds.js +1 -1
  90. package/dist-esm/utils/imageReferenceModelIds.js.map +1 -1
  91. package/mcp/index.d.ts +1 -0
  92. package/mcp/index.js +1 -0
  93. package/package.json +20 -7
@@ -0,0 +1,1254 @@
1
+ export declare const MCP_TOOLS: ({
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: string;
6
+ properties: {
7
+ prompt: {
8
+ type: string;
9
+ minLength: number;
10
+ maxLength: number;
11
+ description: string;
12
+ };
13
+ model: {
14
+ type: string;
15
+ minLength: number;
16
+ maxLength: number;
17
+ description: string;
18
+ };
19
+ parameters: {
20
+ type: string;
21
+ additionalProperties: boolean;
22
+ description: string;
23
+ };
24
+ reference_images: {
25
+ type: string;
26
+ items: {
27
+ type: string;
28
+ format: string;
29
+ pattern: string;
30
+ maxLength: number;
31
+ description: string;
32
+ };
33
+ maxItems: number;
34
+ };
35
+ reference_audios: {
36
+ type: string;
37
+ items: {
38
+ type: string;
39
+ format: string;
40
+ pattern: string;
41
+ maxLength: number;
42
+ description: string;
43
+ };
44
+ maxItems: number;
45
+ };
46
+ reference_videos: {
47
+ type: string;
48
+ items: {
49
+ type: string;
50
+ format: string;
51
+ pattern: string;
52
+ maxLength: number;
53
+ description: string;
54
+ };
55
+ maxItems: number;
56
+ };
57
+ token_type: {
58
+ type: string;
59
+ enum: string[];
60
+ description: string;
61
+ };
62
+ billing_mode: {
63
+ type: string;
64
+ enum: string[];
65
+ description: string;
66
+ };
67
+ request_id: {
68
+ type: string;
69
+ minLength: number;
70
+ maxLength: number;
71
+ description: string;
72
+ pattern: string;
73
+ };
74
+ width: {
75
+ type: string;
76
+ minimum: number;
77
+ };
78
+ height: {
79
+ type: string;
80
+ minimum: number;
81
+ };
82
+ count: {
83
+ type: string;
84
+ minimum: number;
85
+ };
86
+ seed: {
87
+ type: string;
88
+ };
89
+ mask: {
90
+ type: string;
91
+ format: string;
92
+ pattern: string;
93
+ maxLength: number;
94
+ description: string;
95
+ };
96
+ safe_content_filter: {
97
+ type: string;
98
+ description: string;
99
+ };
100
+ mode?: undefined;
101
+ duration?: undefined;
102
+ first_frame?: undefined;
103
+ last_frame?: undefined;
104
+ audio?: undefined;
105
+ source_video?: undefined;
106
+ kind?: undefined;
107
+ voice_sample?: undefined;
108
+ operation?: undefined;
109
+ brief?: undefined;
110
+ media_type?: undefined;
111
+ network?: undefined;
112
+ tool?: undefined;
113
+ arguments?: undefined;
114
+ job_id?: undefined;
115
+ artifact_offset?: undefined;
116
+ artifact_limit?: undefined;
117
+ content_type?: undefined;
118
+ decision?: undefined;
119
+ approval?: undefined;
120
+ };
121
+ required: string[];
122
+ additionalProperties: boolean;
123
+ };
124
+ outputSchema: {
125
+ type: string;
126
+ properties: {
127
+ kind: {
128
+ type: string;
129
+ enum: string[];
130
+ };
131
+ data: {
132
+ type: string;
133
+ additionalProperties: boolean;
134
+ };
135
+ };
136
+ required: string[];
137
+ additionalProperties: boolean;
138
+ };
139
+ annotations: {
140
+ readOnlyHint: boolean;
141
+ destructiveHint: boolean;
142
+ idempotentHint: boolean;
143
+ openWorldHint: boolean;
144
+ };
145
+ } | {
146
+ name: string;
147
+ description: string;
148
+ inputSchema: {
149
+ type: string;
150
+ properties: {
151
+ prompt: {
152
+ type: string;
153
+ minLength: number;
154
+ maxLength: number;
155
+ description: string;
156
+ };
157
+ model: {
158
+ type: string;
159
+ minLength: number;
160
+ maxLength: number;
161
+ description: string;
162
+ };
163
+ parameters: {
164
+ type: string;
165
+ additionalProperties: boolean;
166
+ description: string;
167
+ };
168
+ reference_images: {
169
+ type: string;
170
+ items: {
171
+ type: string;
172
+ format: string;
173
+ pattern: string;
174
+ maxLength: number;
175
+ description: string;
176
+ };
177
+ maxItems: number;
178
+ };
179
+ reference_audios: {
180
+ type: string;
181
+ items: {
182
+ type: string;
183
+ format: string;
184
+ pattern: string;
185
+ maxLength: number;
186
+ description: string;
187
+ };
188
+ maxItems: number;
189
+ };
190
+ reference_videos: {
191
+ type: string;
192
+ items: {
193
+ type: string;
194
+ format: string;
195
+ pattern: string;
196
+ maxLength: number;
197
+ description: string;
198
+ };
199
+ maxItems: number;
200
+ };
201
+ token_type: {
202
+ type: string;
203
+ enum: string[];
204
+ description: string;
205
+ };
206
+ billing_mode: {
207
+ type: string;
208
+ enum: string[];
209
+ description: string;
210
+ };
211
+ request_id: {
212
+ type: string;
213
+ minLength: number;
214
+ maxLength: number;
215
+ description: string;
216
+ pattern: string;
217
+ };
218
+ mode: {
219
+ type: string;
220
+ enum: string[];
221
+ };
222
+ duration: {
223
+ type: string;
224
+ exclusiveMinimum: number;
225
+ };
226
+ first_frame: {
227
+ type: string;
228
+ format: string;
229
+ pattern: string;
230
+ maxLength: number;
231
+ description: string;
232
+ };
233
+ last_frame: {
234
+ type: string;
235
+ format: string;
236
+ pattern: string;
237
+ maxLength: number;
238
+ description: string;
239
+ };
240
+ audio: {
241
+ type: string;
242
+ format: string;
243
+ pattern: string;
244
+ maxLength: number;
245
+ description: string;
246
+ };
247
+ source_video: {
248
+ type: string;
249
+ format: string;
250
+ pattern: string;
251
+ maxLength: number;
252
+ description: string;
253
+ };
254
+ width: {
255
+ type: string;
256
+ minimum: number;
257
+ };
258
+ height: {
259
+ type: string;
260
+ minimum: number;
261
+ };
262
+ count: {
263
+ type: string;
264
+ minimum: number;
265
+ };
266
+ safe_content_filter: {
267
+ type: string;
268
+ description: string;
269
+ };
270
+ seed?: undefined;
271
+ mask?: undefined;
272
+ kind?: undefined;
273
+ voice_sample?: undefined;
274
+ operation?: undefined;
275
+ brief?: undefined;
276
+ media_type?: undefined;
277
+ network?: undefined;
278
+ tool?: undefined;
279
+ arguments?: undefined;
280
+ job_id?: undefined;
281
+ artifact_offset?: undefined;
282
+ artifact_limit?: undefined;
283
+ content_type?: undefined;
284
+ decision?: undefined;
285
+ approval?: undefined;
286
+ };
287
+ required: string[];
288
+ additionalProperties: boolean;
289
+ };
290
+ outputSchema: {
291
+ type: string;
292
+ properties: {
293
+ kind: {
294
+ type: string;
295
+ enum: string[];
296
+ };
297
+ data: {
298
+ type: string;
299
+ additionalProperties: boolean;
300
+ };
301
+ };
302
+ required: string[];
303
+ additionalProperties: boolean;
304
+ };
305
+ annotations: {
306
+ readOnlyHint: boolean;
307
+ destructiveHint: boolean;
308
+ idempotentHint: boolean;
309
+ openWorldHint: boolean;
310
+ };
311
+ } | {
312
+ name: string;
313
+ description: string;
314
+ inputSchema: {
315
+ type: string;
316
+ properties: {
317
+ prompt: {
318
+ type: string;
319
+ minLength: number;
320
+ maxLength: number;
321
+ description: string;
322
+ };
323
+ model: {
324
+ type: string;
325
+ minLength: number;
326
+ maxLength: number;
327
+ description: string;
328
+ };
329
+ parameters: {
330
+ type: string;
331
+ additionalProperties: boolean;
332
+ description: string;
333
+ };
334
+ reference_images: {
335
+ type: string;
336
+ items: {
337
+ type: string;
338
+ format: string;
339
+ pattern: string;
340
+ maxLength: number;
341
+ description: string;
342
+ };
343
+ maxItems: number;
344
+ };
345
+ reference_audios: {
346
+ type: string;
347
+ items: {
348
+ type: string;
349
+ format: string;
350
+ pattern: string;
351
+ maxLength: number;
352
+ description: string;
353
+ };
354
+ maxItems: number;
355
+ };
356
+ reference_videos: {
357
+ type: string;
358
+ items: {
359
+ type: string;
360
+ format: string;
361
+ pattern: string;
362
+ maxLength: number;
363
+ description: string;
364
+ };
365
+ maxItems: number;
366
+ };
367
+ token_type: {
368
+ type: string;
369
+ enum: string[];
370
+ description: string;
371
+ };
372
+ billing_mode: {
373
+ type: string;
374
+ enum: string[];
375
+ description: string;
376
+ };
377
+ request_id: {
378
+ type: string;
379
+ minLength: number;
380
+ maxLength: number;
381
+ description: string;
382
+ pattern: string;
383
+ };
384
+ kind: {
385
+ type: string;
386
+ enum: string[];
387
+ };
388
+ duration: {
389
+ type: string;
390
+ exclusiveMinimum: number;
391
+ };
392
+ voice_sample: {
393
+ type: string;
394
+ format: string;
395
+ pattern: string;
396
+ maxLength: number;
397
+ description: string;
398
+ };
399
+ safe_content_filter: {
400
+ type: string;
401
+ description: string;
402
+ };
403
+ width?: undefined;
404
+ height?: undefined;
405
+ count?: undefined;
406
+ seed?: undefined;
407
+ mask?: undefined;
408
+ mode?: undefined;
409
+ first_frame?: undefined;
410
+ last_frame?: undefined;
411
+ audio?: undefined;
412
+ source_video?: undefined;
413
+ operation?: undefined;
414
+ brief?: undefined;
415
+ media_type?: undefined;
416
+ network?: undefined;
417
+ tool?: undefined;
418
+ arguments?: undefined;
419
+ job_id?: undefined;
420
+ artifact_offset?: undefined;
421
+ artifact_limit?: undefined;
422
+ content_type?: undefined;
423
+ decision?: undefined;
424
+ approval?: undefined;
425
+ };
426
+ required: string[];
427
+ additionalProperties: boolean;
428
+ };
429
+ outputSchema: {
430
+ type: string;
431
+ properties: {
432
+ kind: {
433
+ type: string;
434
+ enum: string[];
435
+ };
436
+ data: {
437
+ type: string;
438
+ additionalProperties: boolean;
439
+ };
440
+ };
441
+ required: string[];
442
+ additionalProperties: boolean;
443
+ };
444
+ annotations: {
445
+ readOnlyHint: boolean;
446
+ destructiveHint: boolean;
447
+ idempotentHint: boolean;
448
+ openWorldHint: boolean;
449
+ };
450
+ } | {
451
+ name: string;
452
+ description: string;
453
+ inputSchema: {
454
+ type: string;
455
+ properties: {
456
+ operation: {
457
+ type: string;
458
+ enum: string[];
459
+ };
460
+ prompt: {
461
+ type: string;
462
+ minLength: number;
463
+ maxLength: number;
464
+ description: string;
465
+ };
466
+ parameters: {
467
+ type: string;
468
+ additionalProperties: boolean;
469
+ description: string;
470
+ };
471
+ reference_images: {
472
+ type: string;
473
+ items: {
474
+ type: string;
475
+ format: string;
476
+ pattern: string;
477
+ maxLength: number;
478
+ description: string;
479
+ };
480
+ maxItems: number;
481
+ };
482
+ reference_audios: {
483
+ type: string;
484
+ items: {
485
+ type: string;
486
+ format: string;
487
+ pattern: string;
488
+ maxLength: number;
489
+ description: string;
490
+ };
491
+ maxItems: number;
492
+ };
493
+ reference_videos: {
494
+ type: string;
495
+ items: {
496
+ type: string;
497
+ format: string;
498
+ pattern: string;
499
+ maxLength: number;
500
+ description: string;
501
+ };
502
+ maxItems: number;
503
+ };
504
+ token_type: {
505
+ type: string;
506
+ enum: string[];
507
+ description: string;
508
+ };
509
+ billing_mode: {
510
+ type: string;
511
+ enum: string[];
512
+ description: string;
513
+ };
514
+ request_id: {
515
+ type: string;
516
+ minLength: number;
517
+ maxLength: number;
518
+ description: string;
519
+ pattern: string;
520
+ };
521
+ safe_content_filter: {
522
+ type: string;
523
+ description: string;
524
+ };
525
+ model?: undefined;
526
+ width?: undefined;
527
+ height?: undefined;
528
+ count?: undefined;
529
+ seed?: undefined;
530
+ mask?: undefined;
531
+ mode?: undefined;
532
+ duration?: undefined;
533
+ first_frame?: undefined;
534
+ last_frame?: undefined;
535
+ audio?: undefined;
536
+ source_video?: undefined;
537
+ kind?: undefined;
538
+ voice_sample?: undefined;
539
+ brief?: undefined;
540
+ media_type?: undefined;
541
+ network?: undefined;
542
+ tool?: undefined;
543
+ arguments?: undefined;
544
+ job_id?: undefined;
545
+ artifact_offset?: undefined;
546
+ artifact_limit?: undefined;
547
+ content_type?: undefined;
548
+ decision?: undefined;
549
+ approval?: undefined;
550
+ };
551
+ required: string[];
552
+ additionalProperties: boolean;
553
+ };
554
+ outputSchema: {
555
+ type: string;
556
+ properties: {
557
+ kind: {
558
+ type: string;
559
+ enum: string[];
560
+ };
561
+ data: {
562
+ type: string;
563
+ additionalProperties: boolean;
564
+ };
565
+ };
566
+ required: string[];
567
+ additionalProperties: boolean;
568
+ };
569
+ annotations: {
570
+ readOnlyHint: boolean;
571
+ destructiveHint: boolean;
572
+ idempotentHint: boolean;
573
+ openWorldHint: boolean;
574
+ };
575
+ } | {
576
+ name: string;
577
+ description: string;
578
+ inputSchema: {
579
+ type: string;
580
+ properties: {
581
+ brief: {
582
+ type: string;
583
+ minLength: number;
584
+ maxLength: number;
585
+ description: string;
586
+ };
587
+ reference_images: {
588
+ type: string;
589
+ items: {
590
+ type: string;
591
+ format: string;
592
+ pattern: string;
593
+ maxLength: number;
594
+ description: string;
595
+ };
596
+ maxItems: number;
597
+ };
598
+ reference_audios: {
599
+ type: string;
600
+ items: {
601
+ type: string;
602
+ format: string;
603
+ pattern: string;
604
+ maxLength: number;
605
+ description: string;
606
+ };
607
+ maxItems: number;
608
+ };
609
+ reference_videos: {
610
+ type: string;
611
+ items: {
612
+ type: string;
613
+ format: string;
614
+ pattern: string;
615
+ maxLength: number;
616
+ description: string;
617
+ };
618
+ maxItems: number;
619
+ };
620
+ token_type: {
621
+ type: string;
622
+ enum: string[];
623
+ description: string;
624
+ };
625
+ billing_mode: {
626
+ type: string;
627
+ enum: string[];
628
+ description: string;
629
+ };
630
+ request_id: {
631
+ type: string;
632
+ minLength: number;
633
+ maxLength: number;
634
+ description: string;
635
+ pattern: string;
636
+ };
637
+ safe_content_filter: {
638
+ type: string;
639
+ description: string;
640
+ };
641
+ prompt?: undefined;
642
+ model?: undefined;
643
+ parameters?: undefined;
644
+ width?: undefined;
645
+ height?: undefined;
646
+ count?: undefined;
647
+ seed?: undefined;
648
+ mask?: undefined;
649
+ mode?: undefined;
650
+ duration?: undefined;
651
+ first_frame?: undefined;
652
+ last_frame?: undefined;
653
+ audio?: undefined;
654
+ source_video?: undefined;
655
+ kind?: undefined;
656
+ voice_sample?: undefined;
657
+ operation?: undefined;
658
+ media_type?: undefined;
659
+ network?: undefined;
660
+ tool?: undefined;
661
+ arguments?: undefined;
662
+ job_id?: undefined;
663
+ artifact_offset?: undefined;
664
+ artifact_limit?: undefined;
665
+ content_type?: undefined;
666
+ decision?: undefined;
667
+ approval?: undefined;
668
+ };
669
+ required: string[];
670
+ additionalProperties: boolean;
671
+ };
672
+ outputSchema: {
673
+ type: string;
674
+ properties: {
675
+ kind: {
676
+ type: string;
677
+ enum: string[];
678
+ };
679
+ data: {
680
+ type: string;
681
+ additionalProperties: boolean;
682
+ };
683
+ };
684
+ required: string[];
685
+ additionalProperties: boolean;
686
+ };
687
+ annotations: {
688
+ readOnlyHint: boolean;
689
+ destructiveHint: boolean;
690
+ idempotentHint: boolean;
691
+ openWorldHint: boolean;
692
+ };
693
+ } | {
694
+ name: string;
695
+ description: string;
696
+ inputSchema: {
697
+ type: string;
698
+ properties: {
699
+ media_type: {
700
+ type: string;
701
+ enum: string[];
702
+ };
703
+ network: {
704
+ type: string;
705
+ enum: string[];
706
+ };
707
+ model: {
708
+ type: string;
709
+ minLength: number;
710
+ maxLength: number;
711
+ description: string;
712
+ };
713
+ prompt?: undefined;
714
+ parameters?: undefined;
715
+ reference_images?: undefined;
716
+ reference_audios?: undefined;
717
+ reference_videos?: undefined;
718
+ token_type?: undefined;
719
+ billing_mode?: undefined;
720
+ request_id?: undefined;
721
+ width?: undefined;
722
+ height?: undefined;
723
+ count?: undefined;
724
+ seed?: undefined;
725
+ mask?: undefined;
726
+ safe_content_filter?: undefined;
727
+ mode?: undefined;
728
+ duration?: undefined;
729
+ first_frame?: undefined;
730
+ last_frame?: undefined;
731
+ audio?: undefined;
732
+ source_video?: undefined;
733
+ kind?: undefined;
734
+ voice_sample?: undefined;
735
+ operation?: undefined;
736
+ brief?: undefined;
737
+ tool?: undefined;
738
+ arguments?: undefined;
739
+ job_id?: undefined;
740
+ artifact_offset?: undefined;
741
+ artifact_limit?: undefined;
742
+ content_type?: undefined;
743
+ decision?: undefined;
744
+ approval?: undefined;
745
+ };
746
+ required: never[];
747
+ additionalProperties: boolean;
748
+ };
749
+ outputSchema: {
750
+ type: string;
751
+ properties: {
752
+ kind: {
753
+ type: string;
754
+ enum: string[];
755
+ };
756
+ data: {
757
+ type: string;
758
+ additionalProperties: boolean;
759
+ };
760
+ };
761
+ required: string[];
762
+ additionalProperties: boolean;
763
+ };
764
+ annotations: {
765
+ readOnlyHint: boolean;
766
+ destructiveHint: boolean;
767
+ idempotentHint: boolean;
768
+ openWorldHint: boolean;
769
+ };
770
+ } | {
771
+ name: string;
772
+ description: string;
773
+ inputSchema: {
774
+ type: string;
775
+ properties: {
776
+ tool: {
777
+ type: string;
778
+ enum: string[];
779
+ };
780
+ arguments: {
781
+ type: string;
782
+ additionalProperties: boolean;
783
+ };
784
+ prompt?: undefined;
785
+ model?: undefined;
786
+ parameters?: undefined;
787
+ reference_images?: undefined;
788
+ reference_audios?: undefined;
789
+ reference_videos?: undefined;
790
+ token_type?: undefined;
791
+ billing_mode?: undefined;
792
+ request_id?: undefined;
793
+ width?: undefined;
794
+ height?: undefined;
795
+ count?: undefined;
796
+ seed?: undefined;
797
+ mask?: undefined;
798
+ safe_content_filter?: undefined;
799
+ mode?: undefined;
800
+ duration?: undefined;
801
+ first_frame?: undefined;
802
+ last_frame?: undefined;
803
+ audio?: undefined;
804
+ source_video?: undefined;
805
+ kind?: undefined;
806
+ voice_sample?: undefined;
807
+ operation?: undefined;
808
+ brief?: undefined;
809
+ media_type?: undefined;
810
+ network?: undefined;
811
+ job_id?: undefined;
812
+ artifact_offset?: undefined;
813
+ artifact_limit?: undefined;
814
+ content_type?: undefined;
815
+ decision?: undefined;
816
+ approval?: undefined;
817
+ };
818
+ required: string[];
819
+ additionalProperties: boolean;
820
+ };
821
+ outputSchema: {
822
+ type: string;
823
+ properties: {
824
+ kind: {
825
+ type: string;
826
+ enum: string[];
827
+ };
828
+ data: {
829
+ type: string;
830
+ additionalProperties: boolean;
831
+ };
832
+ };
833
+ required: string[];
834
+ additionalProperties: boolean;
835
+ };
836
+ annotations: {
837
+ readOnlyHint: boolean;
838
+ destructiveHint: boolean;
839
+ idempotentHint: boolean;
840
+ openWorldHint: boolean;
841
+ };
842
+ } | {
843
+ name: string;
844
+ description: string;
845
+ inputSchema: {
846
+ type: string;
847
+ properties: {
848
+ prompt?: undefined;
849
+ model?: undefined;
850
+ parameters?: undefined;
851
+ reference_images?: undefined;
852
+ reference_audios?: undefined;
853
+ reference_videos?: undefined;
854
+ token_type?: undefined;
855
+ billing_mode?: undefined;
856
+ request_id?: undefined;
857
+ width?: undefined;
858
+ height?: undefined;
859
+ count?: undefined;
860
+ seed?: undefined;
861
+ mask?: undefined;
862
+ safe_content_filter?: undefined;
863
+ mode?: undefined;
864
+ duration?: undefined;
865
+ first_frame?: undefined;
866
+ last_frame?: undefined;
867
+ audio?: undefined;
868
+ source_video?: undefined;
869
+ kind?: undefined;
870
+ voice_sample?: undefined;
871
+ operation?: undefined;
872
+ brief?: undefined;
873
+ media_type?: undefined;
874
+ network?: undefined;
875
+ tool?: undefined;
876
+ arguments?: undefined;
877
+ job_id?: undefined;
878
+ artifact_offset?: undefined;
879
+ artifact_limit?: undefined;
880
+ content_type?: undefined;
881
+ decision?: undefined;
882
+ approval?: undefined;
883
+ };
884
+ required: never[];
885
+ additionalProperties: boolean;
886
+ };
887
+ outputSchema: {
888
+ type: string;
889
+ properties: {
890
+ kind: {
891
+ type: string;
892
+ enum: string[];
893
+ };
894
+ data: {
895
+ type: string;
896
+ additionalProperties: boolean;
897
+ };
898
+ };
899
+ required: string[];
900
+ additionalProperties: boolean;
901
+ };
902
+ annotations: {
903
+ readOnlyHint: boolean;
904
+ destructiveHint: boolean;
905
+ idempotentHint: boolean;
906
+ openWorldHint: boolean;
907
+ };
908
+ } | {
909
+ name: string;
910
+ description: string;
911
+ inputSchema: {
912
+ type: string;
913
+ properties: {
914
+ job_id: {
915
+ type: string;
916
+ minLength: number;
917
+ maxLength: number;
918
+ description: string;
919
+ };
920
+ kind: {
921
+ type: string;
922
+ enum: string[];
923
+ };
924
+ artifact_offset: {
925
+ type: string;
926
+ minimum: number;
927
+ description: string;
928
+ };
929
+ artifact_limit: {
930
+ type: string;
931
+ minimum: number;
932
+ maximum: number;
933
+ description: string;
934
+ };
935
+ prompt?: undefined;
936
+ model?: undefined;
937
+ parameters?: undefined;
938
+ reference_images?: undefined;
939
+ reference_audios?: undefined;
940
+ reference_videos?: undefined;
941
+ token_type?: undefined;
942
+ billing_mode?: undefined;
943
+ request_id?: undefined;
944
+ width?: undefined;
945
+ height?: undefined;
946
+ count?: undefined;
947
+ seed?: undefined;
948
+ mask?: undefined;
949
+ safe_content_filter?: undefined;
950
+ mode?: undefined;
951
+ duration?: undefined;
952
+ first_frame?: undefined;
953
+ last_frame?: undefined;
954
+ audio?: undefined;
955
+ source_video?: undefined;
956
+ voice_sample?: undefined;
957
+ operation?: undefined;
958
+ brief?: undefined;
959
+ media_type?: undefined;
960
+ network?: undefined;
961
+ tool?: undefined;
962
+ arguments?: undefined;
963
+ content_type?: undefined;
964
+ decision?: undefined;
965
+ approval?: undefined;
966
+ };
967
+ required: string[];
968
+ additionalProperties: boolean;
969
+ };
970
+ outputSchema: {
971
+ type: string;
972
+ properties: {
973
+ kind: {
974
+ type: string;
975
+ enum: string[];
976
+ };
977
+ data: {
978
+ type: string;
979
+ additionalProperties: boolean;
980
+ };
981
+ };
982
+ required: string[];
983
+ additionalProperties: boolean;
984
+ };
985
+ annotations: {
986
+ readOnlyHint: boolean;
987
+ destructiveHint: boolean;
988
+ idempotentHint: boolean;
989
+ openWorldHint: boolean;
990
+ };
991
+ } | {
992
+ name: string;
993
+ description: string;
994
+ inputSchema: {
995
+ type: string;
996
+ properties: {
997
+ media_type: {
998
+ type: string;
999
+ enum: string[];
1000
+ };
1001
+ content_type: {
1002
+ type: string;
1003
+ minLength: number;
1004
+ maxLength: number;
1005
+ description: string;
1006
+ };
1007
+ prompt?: undefined;
1008
+ model?: undefined;
1009
+ parameters?: undefined;
1010
+ reference_images?: undefined;
1011
+ reference_audios?: undefined;
1012
+ reference_videos?: undefined;
1013
+ token_type?: undefined;
1014
+ billing_mode?: undefined;
1015
+ request_id?: undefined;
1016
+ width?: undefined;
1017
+ height?: undefined;
1018
+ count?: undefined;
1019
+ seed?: undefined;
1020
+ mask?: undefined;
1021
+ safe_content_filter?: undefined;
1022
+ mode?: undefined;
1023
+ duration?: undefined;
1024
+ first_frame?: undefined;
1025
+ last_frame?: undefined;
1026
+ audio?: undefined;
1027
+ source_video?: undefined;
1028
+ kind?: undefined;
1029
+ voice_sample?: undefined;
1030
+ operation?: undefined;
1031
+ brief?: undefined;
1032
+ network?: undefined;
1033
+ tool?: undefined;
1034
+ arguments?: undefined;
1035
+ job_id?: undefined;
1036
+ artifact_offset?: undefined;
1037
+ artifact_limit?: undefined;
1038
+ decision?: undefined;
1039
+ approval?: undefined;
1040
+ };
1041
+ required: string[];
1042
+ additionalProperties: boolean;
1043
+ };
1044
+ outputSchema: {
1045
+ type: string;
1046
+ properties: {
1047
+ kind: {
1048
+ type: string;
1049
+ enum: string[];
1050
+ };
1051
+ data: {
1052
+ type: string;
1053
+ additionalProperties: boolean;
1054
+ };
1055
+ };
1056
+ required: string[];
1057
+ additionalProperties: boolean;
1058
+ };
1059
+ annotations: {
1060
+ readOnlyHint: boolean;
1061
+ destructiveHint: boolean;
1062
+ idempotentHint: boolean;
1063
+ openWorldHint: boolean;
1064
+ };
1065
+ } | {
1066
+ name: string;
1067
+ description: string;
1068
+ inputSchema: {
1069
+ type: string;
1070
+ properties: {
1071
+ job_id: {
1072
+ type: string;
1073
+ minLength: number;
1074
+ maxLength: number;
1075
+ description: string;
1076
+ };
1077
+ kind: {
1078
+ type: string;
1079
+ enum: string[];
1080
+ };
1081
+ decision: {
1082
+ type: string;
1083
+ enum: string[];
1084
+ };
1085
+ approval: {
1086
+ type: string;
1087
+ properties: {
1088
+ acceptedCostPreview: {
1089
+ type: string;
1090
+ additionalProperties: boolean;
1091
+ };
1092
+ toolCallId: {
1093
+ type: string;
1094
+ minLength: number;
1095
+ maxLength: number;
1096
+ };
1097
+ };
1098
+ additionalProperties: boolean;
1099
+ };
1100
+ request_id: {
1101
+ type: string;
1102
+ minLength: number;
1103
+ maxLength: number;
1104
+ description: string;
1105
+ pattern: string;
1106
+ };
1107
+ prompt?: undefined;
1108
+ model?: undefined;
1109
+ parameters?: undefined;
1110
+ reference_images?: undefined;
1111
+ reference_audios?: undefined;
1112
+ reference_videos?: undefined;
1113
+ token_type?: undefined;
1114
+ billing_mode?: undefined;
1115
+ width?: undefined;
1116
+ height?: undefined;
1117
+ count?: undefined;
1118
+ seed?: undefined;
1119
+ mask?: undefined;
1120
+ safe_content_filter?: undefined;
1121
+ mode?: undefined;
1122
+ duration?: undefined;
1123
+ first_frame?: undefined;
1124
+ last_frame?: undefined;
1125
+ audio?: undefined;
1126
+ source_video?: undefined;
1127
+ voice_sample?: undefined;
1128
+ operation?: undefined;
1129
+ brief?: undefined;
1130
+ media_type?: undefined;
1131
+ network?: undefined;
1132
+ tool?: undefined;
1133
+ arguments?: undefined;
1134
+ artifact_offset?: undefined;
1135
+ artifact_limit?: undefined;
1136
+ content_type?: undefined;
1137
+ };
1138
+ required: string[];
1139
+ additionalProperties: boolean;
1140
+ };
1141
+ outputSchema: {
1142
+ type: string;
1143
+ properties: {
1144
+ kind: {
1145
+ type: string;
1146
+ enum: string[];
1147
+ };
1148
+ data: {
1149
+ type: string;
1150
+ additionalProperties: boolean;
1151
+ };
1152
+ };
1153
+ required: string[];
1154
+ additionalProperties: boolean;
1155
+ };
1156
+ annotations: {
1157
+ readOnlyHint: boolean;
1158
+ destructiveHint: boolean;
1159
+ idempotentHint: boolean;
1160
+ openWorldHint: boolean;
1161
+ };
1162
+ } | {
1163
+ name: string;
1164
+ description: string;
1165
+ inputSchema: {
1166
+ type: string;
1167
+ properties: {
1168
+ job_id: {
1169
+ type: string;
1170
+ minLength: number;
1171
+ maxLength: number;
1172
+ description: string;
1173
+ };
1174
+ kind: {
1175
+ type: string;
1176
+ enum: string[];
1177
+ };
1178
+ prompt?: undefined;
1179
+ model?: undefined;
1180
+ parameters?: undefined;
1181
+ reference_images?: undefined;
1182
+ reference_audios?: undefined;
1183
+ reference_videos?: undefined;
1184
+ token_type?: undefined;
1185
+ billing_mode?: undefined;
1186
+ request_id?: undefined;
1187
+ width?: undefined;
1188
+ height?: undefined;
1189
+ count?: undefined;
1190
+ seed?: undefined;
1191
+ mask?: undefined;
1192
+ safe_content_filter?: undefined;
1193
+ mode?: undefined;
1194
+ duration?: undefined;
1195
+ first_frame?: undefined;
1196
+ last_frame?: undefined;
1197
+ audio?: undefined;
1198
+ source_video?: undefined;
1199
+ voice_sample?: undefined;
1200
+ operation?: undefined;
1201
+ brief?: undefined;
1202
+ media_type?: undefined;
1203
+ network?: undefined;
1204
+ tool?: undefined;
1205
+ arguments?: undefined;
1206
+ artifact_offset?: undefined;
1207
+ artifact_limit?: undefined;
1208
+ content_type?: undefined;
1209
+ decision?: undefined;
1210
+ approval?: undefined;
1211
+ };
1212
+ required: string[];
1213
+ additionalProperties: boolean;
1214
+ };
1215
+ outputSchema: {
1216
+ type: string;
1217
+ properties: {
1218
+ kind: {
1219
+ type: string;
1220
+ enum: string[];
1221
+ };
1222
+ data: {
1223
+ type: string;
1224
+ additionalProperties: boolean;
1225
+ };
1226
+ };
1227
+ required: string[];
1228
+ additionalProperties: boolean;
1229
+ };
1230
+ annotations: {
1231
+ readOnlyHint: boolean;
1232
+ destructiveHint: boolean;
1233
+ idempotentHint: boolean;
1234
+ openWorldHint: boolean;
1235
+ };
1236
+ })[];
1237
+ export declare const MCP_CONTRACT_VERSION: string;
1238
+ export type McpMediaReference = {
1239
+ type: 'image' | 'video' | 'audio';
1240
+ url: string;
1241
+ };
1242
+ export interface McpRoutedCall {
1243
+ toolName: string;
1244
+ arguments: Record<string, unknown>;
1245
+ mediaReferences: McpMediaReference[];
1246
+ requestId?: string;
1247
+ tokenType?: string;
1248
+ billingMode?: string;
1249
+ safeContentFilter?: boolean;
1250
+ }
1251
+ export declare function validateMcpArguments(name: string, input: unknown): Record<string, unknown>;
1252
+ export declare function mcpMediaReferences(input: Record<string, unknown>): McpMediaReference[];
1253
+ export declare function routeMcpCall(name: string, raw: unknown): McpRoutedCall;
1254
+ //# sourceMappingURL=index.d.ts.map