@synthetic-ai/premiere-mcp 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/LICENSE +21 -0
  3. package/README.md +242 -0
  4. package/cep-plugin/.debug +8 -0
  5. package/cep-plugin/CSInterface.js +70 -0
  6. package/cep-plugin/CSXS/manifest.xml +49 -0
  7. package/cep-plugin/host.jsx +7 -0
  8. package/cep-plugin/index.html +419 -0
  9. package/cep-plugin/main.js +327 -0
  10. package/cep-plugin/premiere.jsx +24947 -0
  11. package/cep-plugin/synthetic-logo.png +0 -0
  12. package/dist/bridge/file-bridge.d.ts +29 -0
  13. package/dist/bridge/file-bridge.js +145 -0
  14. package/dist/bridge/script-builder.d.ts +19 -0
  15. package/dist/bridge/script-builder.js +408 -0
  16. package/dist/http-server.d.ts +21 -0
  17. package/dist/http-server.js +140 -0
  18. package/dist/index.d.ts +3 -0
  19. package/dist/index.js +70 -0
  20. package/dist/resources/extendscript-reference.d.ts +2 -0
  21. package/dist/resources/extendscript-reference.js +219 -0
  22. package/dist/server.d.ts +4 -0
  23. package/dist/server.js +276 -0
  24. package/dist/tools/advanced.d.ts +530 -0
  25. package/dist/tools/advanced.js +923 -0
  26. package/dist/tools/audio-advanced.d.ts +847 -0
  27. package/dist/tools/audio-advanced.js +1653 -0
  28. package/dist/tools/audio.d.ts +84 -0
  29. package/dist/tools/audio.js +123 -0
  30. package/dist/tools/captions.d.ts +30 -0
  31. package/dist/tools/captions.js +73 -0
  32. package/dist/tools/clipboard.d.ts +153 -0
  33. package/dist/tools/clipboard.js +381 -0
  34. package/dist/tools/color-advanced.d.ts +821 -0
  35. package/dist/tools/color-advanced.js +772 -0
  36. package/dist/tools/discovery.d.ts +128 -0
  37. package/dist/tools/discovery.js +445 -0
  38. package/dist/tools/effects.d.ts +211 -0
  39. package/dist/tools/effects.js +554 -0
  40. package/dist/tools/export-presets.d.ts +333 -0
  41. package/dist/tools/export-presets.js +490 -0
  42. package/dist/tools/export.d.ts +320 -0
  43. package/dist/tools/export.js +618 -0
  44. package/dist/tools/health.d.ts +9 -0
  45. package/dist/tools/health.js +25 -0
  46. package/dist/tools/inspection.d.ts +179 -0
  47. package/dist/tools/inspection.js +1089 -0
  48. package/dist/tools/keyframes.d.ts +253 -0
  49. package/dist/tools/keyframes.js +611 -0
  50. package/dist/tools/markers.d.ts +117 -0
  51. package/dist/tools/markers.js +206 -0
  52. package/dist/tools/media.d.ts +297 -0
  53. package/dist/tools/media.js +493 -0
  54. package/dist/tools/metadata.d.ts +178 -0
  55. package/dist/tools/metadata.js +278 -0
  56. package/dist/tools/multicam.d.ts +199 -0
  57. package/dist/tools/multicam.js +212 -0
  58. package/dist/tools/playback.d.ts +34 -0
  59. package/dist/tools/playback.js +63 -0
  60. package/dist/tools/playhead.d.ts +77 -0
  61. package/dist/tools/playhead.js +185 -0
  62. package/dist/tools/project-manager.d.ts +65 -0
  63. package/dist/tools/project-manager.js +81 -0
  64. package/dist/tools/project.d.ts +390 -0
  65. package/dist/tools/project.js +596 -0
  66. package/dist/tools/scripting.d.ts +98 -0
  67. package/dist/tools/scripting.js +434 -0
  68. package/dist/tools/selection.d.ts +120 -0
  69. package/dist/tools/selection.js +334 -0
  70. package/dist/tools/sequence-advanced.d.ts +84 -0
  71. package/dist/tools/sequence-advanced.js +471 -0
  72. package/dist/tools/sequence-settings.d.ts +397 -0
  73. package/dist/tools/sequence-settings.js +967 -0
  74. package/dist/tools/sequence.d.ts +211 -0
  75. package/dist/tools/sequence.js +378 -0
  76. package/dist/tools/source-monitor.d.ts +95 -0
  77. package/dist/tools/source-monitor.js +180 -0
  78. package/dist/tools/text.d.ts +97 -0
  79. package/dist/tools/text.js +159 -0
  80. package/dist/tools/timeline.d.ts +265 -0
  81. package/dist/tools/timeline.js +575 -0
  82. package/dist/tools/track-management.d.ts +482 -0
  83. package/dist/tools/track-management.js +787 -0
  84. package/dist/tools/track-targeting.d.ts +666 -0
  85. package/dist/tools/track-targeting.js +1318 -0
  86. package/dist/tools/tracks.d.ts +90 -0
  87. package/dist/tools/tracks.js +183 -0
  88. package/dist/tools/transitions-motion.d.ts +788 -0
  89. package/dist/tools/transitions-motion.js +680 -0
  90. package/dist/tools/transitions.d.ts +124 -0
  91. package/dist/tools/transitions.js +267 -0
  92. package/dist/tools/utility.d.ts +469 -0
  93. package/dist/tools/utility.js +1118 -0
  94. package/dist/tools/workspace.d.ts +25 -0
  95. package/dist/tools/workspace.js +61 -0
  96. package/package.json +66 -0
  97. package/scripts/build-chat-dmg.sh +210 -0
  98. package/scripts/build-chat-zip.sh +291 -0
  99. package/scripts/install-cep-windows.ps1 +99 -0
  100. package/scripts/install-cep.sh +66 -0
  101. package/scripts/install-chat-plugin.bat +67 -0
  102. package/scripts/install-chat-plugin.sh +85 -0
  103. package/scripts/install-windows.bat +95 -0
  104. package/scripts/package.mjs +218 -0
@@ -0,0 +1,666 @@
1
+ import { BridgeOptions } from "../bridge/file-bridge.js";
2
+ export declare function getTrackTargetingTools(bridgeOptions: BridgeOptions): {
3
+ set_target_track: {
4
+ description: string;
5
+ parameters: {
6
+ type: "object";
7
+ properties: {
8
+ track_type: {
9
+ type: string;
10
+ enum: string[];
11
+ description: string;
12
+ };
13
+ track_index: {
14
+ type: string;
15
+ description: string;
16
+ };
17
+ targeted: {
18
+ type: string;
19
+ description: string;
20
+ };
21
+ };
22
+ required: string[];
23
+ };
24
+ handler: (args: {
25
+ track_type: string;
26
+ track_index: number;
27
+ targeted: boolean;
28
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
29
+ };
30
+ get_target_tracks: {
31
+ description: string;
32
+ parameters: {};
33
+ handler: () => Promise<import("../bridge/file-bridge.js").CommandResult>;
34
+ };
35
+ set_all_tracks_targeted: {
36
+ description: string;
37
+ parameters: {
38
+ type: "object";
39
+ properties: {
40
+ targeted: {
41
+ type: string;
42
+ description: string;
43
+ };
44
+ track_type: {
45
+ type: string;
46
+ enum: string[];
47
+ description: string;
48
+ };
49
+ };
50
+ required: string[];
51
+ };
52
+ handler: (args: {
53
+ targeted: boolean;
54
+ track_type?: string;
55
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
56
+ };
57
+ rename_track: {
58
+ description: string;
59
+ parameters: {
60
+ type: "object";
61
+ properties: {
62
+ track_type: {
63
+ type: string;
64
+ enum: string[];
65
+ description: string;
66
+ };
67
+ track_index: {
68
+ type: string;
69
+ description: string;
70
+ };
71
+ name: {
72
+ type: string;
73
+ description: string;
74
+ };
75
+ };
76
+ required: string[];
77
+ };
78
+ handler: (args: {
79
+ track_type: string;
80
+ track_index: number;
81
+ name: string;
82
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
83
+ };
84
+ get_track_info: {
85
+ description: string;
86
+ parameters: {
87
+ type: "object";
88
+ properties: {
89
+ track_type: {
90
+ type: string;
91
+ enum: string[];
92
+ description: string;
93
+ };
94
+ track_index: {
95
+ type: string;
96
+ description: string;
97
+ };
98
+ };
99
+ required: string[];
100
+ };
101
+ handler: (args: {
102
+ track_type: string;
103
+ track_index: number;
104
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
105
+ };
106
+ razor_all_tracks: {
107
+ description: string;
108
+ parameters: {
109
+ type: "object";
110
+ properties: {
111
+ time_seconds: {
112
+ type: string;
113
+ description: string;
114
+ };
115
+ track_type: {
116
+ type: string;
117
+ enum: string[];
118
+ description: string;
119
+ };
120
+ };
121
+ };
122
+ handler: (args: {
123
+ time_seconds?: number;
124
+ track_type?: string;
125
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
126
+ };
127
+ set_clip_start_time: {
128
+ description: string;
129
+ parameters: {
130
+ type: "object";
131
+ properties: {
132
+ item_id: {
133
+ type: string;
134
+ description: string;
135
+ };
136
+ start_seconds: {
137
+ type: string;
138
+ description: string;
139
+ };
140
+ };
141
+ required: string[];
142
+ };
143
+ handler: (args: {
144
+ item_id: string;
145
+ start_seconds: number;
146
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
147
+ };
148
+ clear_item_in_out: {
149
+ description: string;
150
+ parameters: {
151
+ type: "object";
152
+ properties: {
153
+ item_id: {
154
+ type: string;
155
+ description: string;
156
+ };
157
+ clear_in: {
158
+ type: string;
159
+ description: string;
160
+ };
161
+ clear_out: {
162
+ type: string;
163
+ description: string;
164
+ };
165
+ };
166
+ required: string[];
167
+ };
168
+ handler: (args: {
169
+ item_id: string;
170
+ clear_in?: boolean;
171
+ clear_out?: boolean;
172
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
173
+ };
174
+ set_item_in_out: {
175
+ description: string;
176
+ parameters: {
177
+ type: "object";
178
+ properties: {
179
+ item_id: {
180
+ type: string;
181
+ description: string;
182
+ };
183
+ in_seconds: {
184
+ type: string;
185
+ description: string;
186
+ };
187
+ out_seconds: {
188
+ type: string;
189
+ description: string;
190
+ };
191
+ media_type: {
192
+ type: string;
193
+ description: string;
194
+ };
195
+ };
196
+ required: string[];
197
+ };
198
+ handler: (args: {
199
+ item_id: string;
200
+ in_seconds?: number;
201
+ out_seconds?: number;
202
+ media_type?: number;
203
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
204
+ };
205
+ import_image_sequence: {
206
+ description: string;
207
+ parameters: {
208
+ type: "object";
209
+ properties: {
210
+ first_file_path: {
211
+ type: string;
212
+ description: string;
213
+ };
214
+ target_bin: {
215
+ type: string;
216
+ description: string;
217
+ };
218
+ };
219
+ required: string[];
220
+ };
221
+ handler: (args: {
222
+ first_file_path: string;
223
+ target_bin?: string;
224
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
225
+ };
226
+ set_clip_position: {
227
+ description: string;
228
+ parameters: {
229
+ type: "object";
230
+ properties: {
231
+ node_id: {
232
+ type: string;
233
+ description: string;
234
+ };
235
+ x: {
236
+ type: string;
237
+ description: string;
238
+ };
239
+ y: {
240
+ type: string;
241
+ description: string;
242
+ };
243
+ };
244
+ required: string[];
245
+ };
246
+ handler: (args: {
247
+ node_id: string;
248
+ x: number;
249
+ y: number;
250
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
251
+ };
252
+ set_clip_scale: {
253
+ description: string;
254
+ parameters: {
255
+ type: "object";
256
+ properties: {
257
+ node_id: {
258
+ type: string;
259
+ description: string;
260
+ };
261
+ scale: {
262
+ type: string;
263
+ description: string;
264
+ };
265
+ };
266
+ required: string[];
267
+ };
268
+ handler: (args: {
269
+ node_id: string;
270
+ scale: number;
271
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
272
+ };
273
+ set_clip_rotation: {
274
+ description: string;
275
+ parameters: {
276
+ type: "object";
277
+ properties: {
278
+ node_id: {
279
+ type: string;
280
+ description: string;
281
+ };
282
+ degrees: {
283
+ type: string;
284
+ description: string;
285
+ };
286
+ };
287
+ required: string[];
288
+ };
289
+ handler: (args: {
290
+ node_id: string;
291
+ degrees: number;
292
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
293
+ };
294
+ set_clip_anchor_point: {
295
+ description: string;
296
+ parameters: {
297
+ type: "object";
298
+ properties: {
299
+ node_id: {
300
+ type: string;
301
+ description: string;
302
+ };
303
+ x: {
304
+ type: string;
305
+ description: string;
306
+ };
307
+ y: {
308
+ type: string;
309
+ description: string;
310
+ };
311
+ };
312
+ required: string[];
313
+ };
314
+ handler: (args: {
315
+ node_id: string;
316
+ x: number;
317
+ y: number;
318
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
319
+ };
320
+ set_clip_opacity: {
321
+ description: string;
322
+ parameters: {
323
+ type: "object";
324
+ properties: {
325
+ node_id: {
326
+ type: string;
327
+ description: string;
328
+ };
329
+ opacity: {
330
+ type: string;
331
+ description: string;
332
+ };
333
+ };
334
+ required: string[];
335
+ };
336
+ handler: (args: {
337
+ node_id: string;
338
+ opacity: number;
339
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
340
+ };
341
+ set_clip_volume: {
342
+ description: string;
343
+ parameters: {
344
+ type: "object";
345
+ properties: {
346
+ node_id: {
347
+ type: string;
348
+ description: string;
349
+ };
350
+ volume_db: {
351
+ type: string;
352
+ description: string;
353
+ };
354
+ };
355
+ required: string[];
356
+ };
357
+ handler: (args: {
358
+ node_id: string;
359
+ volume_db: number;
360
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
361
+ };
362
+ set_clip_pan: {
363
+ description: string;
364
+ parameters: {
365
+ type: "object";
366
+ properties: {
367
+ node_id: {
368
+ type: string;
369
+ description: string;
370
+ };
371
+ pan: {
372
+ type: string;
373
+ description: string;
374
+ };
375
+ };
376
+ required: string[];
377
+ };
378
+ handler: (args: {
379
+ node_id: string;
380
+ pan: number;
381
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
382
+ };
383
+ batch_rename_clips: {
384
+ description: string;
385
+ parameters: {
386
+ type: "object";
387
+ properties: {
388
+ pattern: {
389
+ type: string;
390
+ description: string;
391
+ };
392
+ track_type: {
393
+ type: string;
394
+ enum: string[];
395
+ description: string;
396
+ };
397
+ track_index: {
398
+ type: string;
399
+ description: string;
400
+ };
401
+ selected_only: {
402
+ type: string;
403
+ description: string;
404
+ };
405
+ start_number: {
406
+ type: string;
407
+ description: string;
408
+ };
409
+ };
410
+ required: string[];
411
+ };
412
+ handler: (args: {
413
+ pattern: string;
414
+ track_type: string;
415
+ track_index: number;
416
+ selected_only?: boolean;
417
+ start_number?: number;
418
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
419
+ };
420
+ batch_enable_disable: {
421
+ description: string;
422
+ parameters: {
423
+ type: "object";
424
+ properties: {
425
+ enabled: {
426
+ type: string;
427
+ description: string;
428
+ };
429
+ target: {
430
+ type: string;
431
+ enum: string[];
432
+ description: string;
433
+ };
434
+ track_type: {
435
+ type: string;
436
+ enum: string[];
437
+ description: string;
438
+ };
439
+ track_index: {
440
+ type: string;
441
+ description: string;
442
+ };
443
+ };
444
+ required: string[];
445
+ };
446
+ handler: (args: {
447
+ enabled: boolean;
448
+ target: string;
449
+ track_type?: string;
450
+ track_index?: number;
451
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
452
+ };
453
+ remove_selected_clips: {
454
+ description: string;
455
+ parameters: {
456
+ type: "object";
457
+ properties: {
458
+ ripple: {
459
+ type: string;
460
+ description: string;
461
+ };
462
+ };
463
+ };
464
+ handler: (args: {
465
+ ripple?: boolean;
466
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
467
+ };
468
+ clear_sequence_in_out: {
469
+ description: string;
470
+ parameters: {
471
+ type: "object";
472
+ properties: {
473
+ clear_in: {
474
+ type: string;
475
+ description: string;
476
+ };
477
+ clear_out: {
478
+ type: string;
479
+ description: string;
480
+ };
481
+ };
482
+ };
483
+ handler: (args: {
484
+ clear_in?: boolean;
485
+ clear_out?: boolean;
486
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
487
+ };
488
+ get_encoder_presets: {
489
+ description: string;
490
+ parameters: {
491
+ type: "object";
492
+ properties: {
493
+ format: {
494
+ type: string;
495
+ description: string;
496
+ };
497
+ };
498
+ };
499
+ handler: (args: {
500
+ format?: string;
501
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
502
+ };
503
+ get_qe_clip_info: {
504
+ description: string;
505
+ parameters: {
506
+ type: "object";
507
+ properties: {
508
+ track_type: {
509
+ type: string;
510
+ enum: string[];
511
+ description: string;
512
+ };
513
+ track_index: {
514
+ type: string;
515
+ description: string;
516
+ };
517
+ clip_index: {
518
+ type: string;
519
+ description: string;
520
+ };
521
+ };
522
+ required: string[];
523
+ };
524
+ handler: (args: {
525
+ track_type: string;
526
+ track_index: number;
527
+ clip_index: number;
528
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
529
+ };
530
+ redo: {
531
+ description: string;
532
+ parameters: {};
533
+ handler: () => Promise<import("../bridge/file-bridge.js").CommandResult>;
534
+ };
535
+ multiple_undo: {
536
+ description: string;
537
+ parameters: {
538
+ type: "object";
539
+ properties: {
540
+ count: {
541
+ type: string;
542
+ description: string;
543
+ };
544
+ };
545
+ };
546
+ handler: (args: {
547
+ count?: number;
548
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
549
+ };
550
+ set_poster_frame: {
551
+ description: string;
552
+ parameters: {
553
+ type: "object";
554
+ properties: {
555
+ item_id: {
556
+ type: string;
557
+ description: string;
558
+ };
559
+ time_seconds: {
560
+ type: string;
561
+ description: string;
562
+ };
563
+ };
564
+ required: string[];
565
+ };
566
+ handler: (args: {
567
+ item_id: string;
568
+ time_seconds: number;
569
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
570
+ };
571
+ get_version_info: {
572
+ description: string;
573
+ parameters: {};
574
+ handler: () => Promise<import("../bridge/file-bridge.js").CommandResult>;
575
+ };
576
+ move_items_to_bin: {
577
+ description: string;
578
+ parameters: {
579
+ type: "object";
580
+ properties: {
581
+ item_ids: {
582
+ type: string;
583
+ description: string;
584
+ };
585
+ target_bin: {
586
+ type: string;
587
+ description: string;
588
+ };
589
+ };
590
+ required: string[];
591
+ };
592
+ handler: (args: {
593
+ item_ids: string[];
594
+ target_bin: string;
595
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
596
+ };
597
+ set_anti_alias_quality: {
598
+ description: string;
599
+ parameters: {
600
+ type: "object";
601
+ properties: {
602
+ node_id: {
603
+ type: string;
604
+ description: string;
605
+ };
606
+ enabled: {
607
+ type: string;
608
+ description: string;
609
+ };
610
+ };
611
+ required: string[];
612
+ };
613
+ handler: (args: {
614
+ node_id: string;
615
+ enabled: boolean;
616
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
617
+ };
618
+ set_uniform_scale: {
619
+ description: string;
620
+ parameters: {
621
+ type: "object";
622
+ properties: {
623
+ node_id: {
624
+ type: string;
625
+ description: string;
626
+ };
627
+ uniform: {
628
+ type: string;
629
+ description: string;
630
+ };
631
+ };
632
+ required: string[];
633
+ };
634
+ handler: (args: {
635
+ node_id: string;
636
+ uniform: boolean;
637
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
638
+ };
639
+ set_scale_width_height: {
640
+ description: string;
641
+ parameters: {
642
+ type: "object";
643
+ properties: {
644
+ node_id: {
645
+ type: string;
646
+ description: string;
647
+ };
648
+ scale_width: {
649
+ type: string;
650
+ description: string;
651
+ };
652
+ scale_height: {
653
+ type: string;
654
+ description: string;
655
+ };
656
+ };
657
+ required: string[];
658
+ };
659
+ handler: (args: {
660
+ node_id: string;
661
+ scale_width: number;
662
+ scale_height: number;
663
+ }) => Promise<import("../bridge/file-bridge.js").CommandResult>;
664
+ };
665
+ };
666
+ //# sourceMappingURL=track-targeting.d.ts.map