@clipwright/core 0.55.1 → 0.56.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 (78) hide show
  1. package/dist/caption-funnel.d.ts +10 -0
  2. package/dist/caption-funnel.js +101 -0
  3. package/dist/caption-funnel.js.map +1 -0
  4. package/dist/contract-dispositions.d.ts +411 -1
  5. package/dist/contract-dispositions.js +6 -1
  6. package/dist/contract-dispositions.js.map +1 -1
  7. package/dist/contracts/v1/workflow-brief.d.ts +2702 -1066
  8. package/dist/contracts/v1/workflow-catalog.d.ts +2714 -1066
  9. package/dist/contracts/v1/workflow-client.d.ts +1280 -440
  10. package/dist/contracts/v1/workflow-execution.d.ts +5 -0
  11. package/dist/contracts/v1/workflow-next.d.ts +1 -0
  12. package/dist/contracts/v1/workflow-plan.d.ts +4174 -1702
  13. package/dist/contracts/v1/workflow-run-read.d.ts +2 -0
  14. package/dist/creator-profile.d.ts +81 -2
  15. package/dist/creator-profile.js +158 -18
  16. package/dist/creator-profile.js.map +1 -1
  17. package/dist/faceless-media-record.js +4 -2
  18. package/dist/faceless-media-record.js.map +1 -1
  19. package/dist/faceless-public.d.ts +1130 -316
  20. package/dist/faceless-public.js +13 -0
  21. package/dist/faceless-public.js.map +1 -1
  22. package/dist/index.d.ts +3 -0
  23. package/dist/index.js +3 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/mcp-ugc-descriptions.js +11 -4
  26. package/dist/mcp-ugc-descriptions.js.map +1 -1
  27. package/dist/parts-pricing.d.ts +2 -0
  28. package/dist/parts-pricing.js +1 -1
  29. package/dist/parts-pricing.js.map +1 -1
  30. package/dist/presenter-matte.d.ts +17 -0
  31. package/dist/presenter-matte.js +29 -0
  32. package/dist/presenter-matte.js.map +1 -0
  33. package/dist/reference-analysis.d.ts +24 -0
  34. package/dist/reference-analysis.js +9 -3
  35. package/dist/reference-analysis.js.map +1 -1
  36. package/dist/reference-display.js +2 -1
  37. package/dist/reference-display.js.map +1 -1
  38. package/dist/reference-kinds.d.ts +2 -2
  39. package/dist/reference-profile.d.ts +48 -0
  40. package/dist/reference-staging.d.ts +8 -0
  41. package/dist/reference-voice-over.d.ts +35 -0
  42. package/dist/reference-voice-over.js +27 -0
  43. package/dist/reference-voice-over.js.map +1 -0
  44. package/dist/resolved-timeline.js +4 -4
  45. package/dist/resolved-timeline.js.map +1 -1
  46. package/dist/runs.d.ts +2 -0
  47. package/dist/skills.d.ts +4697 -2662
  48. package/dist/skills.js +10 -4
  49. package/dist/skills.js.map +1 -1
  50. package/dist/templates/backdrop.d.ts +33 -0
  51. package/dist/templates/backdrop.js +50 -0
  52. package/dist/templates/backdrop.js.map +1 -0
  53. package/dist/templates/comment-cta.d.ts +105 -0
  54. package/dist/templates/comment-cta.js +160 -0
  55. package/dist/templates/comment-cta.js.map +1 -0
  56. package/dist/templates/cover-story.d.ts +16 -0
  57. package/dist/templates/cover-story.js +33 -0
  58. package/dist/templates/cover-story.js.map +1 -0
  59. package/dist/templates/index.d.ts +35 -1
  60. package/dist/templates/index.js +83 -9
  61. package/dist/templates/index.js.map +1 -1
  62. package/dist/templates/series-frame.d.ts +59 -0
  63. package/dist/templates/series-frame.js +121 -0
  64. package/dist/templates/series-frame.js.map +1 -0
  65. package/dist/trend-search.d.ts +3 -2
  66. package/dist/trend-search.js +4 -26
  67. package/dist/trend-search.js.map +1 -1
  68. package/dist/voice-admission.d.ts +1282 -470
  69. package/dist/workflows/methods/faceless-explainer.d.ts +483 -3
  70. package/dist/workflows/methods/kinetic-launch.d.ts +483 -3
  71. package/dist/workflows/methods/product-image-story.d.ts +483 -3
  72. package/dist/workflows/methods/reference-remake.d.ts +483 -3
  73. package/dist/workflows/methods/shared.d.ts +483 -3
  74. package/dist/workflows/methods/ugc-faq-answer.d.ts +483 -3
  75. package/dist/workflows/methods/ugc-product-intro.d.ts +483 -3
  76. package/dist/workflows/methods/website-proof-demo.d.ts +483 -3
  77. package/dist/workflows/reference-remake.d.ts +32 -0
  78. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ export declare const CAPTION_FUNNEL_MAX_CHARS = 24;
2
+ type Found = {
3
+ word: string;
4
+ end: number;
5
+ };
6
+ /** The word a text asks viewers to comment or send (a caption, the spoken words or one screen text), upper case, with the offset its own last */
7
+ /** letter ends at, so a cut caption can tell a word it may have shortened; "any" for any word; else `null`. */
8
+ export declare function captionFunnel(text: string | null | undefined): Found | null;
9
+ export declare const captionFunnelWord: (text: string | null | undefined) => string | null;
10
+ export {};
@@ -0,0 +1,101 @@
1
+ // The code word a text asks viewers to comment or send (#917, #1422), read by trend cards, creator profiles and reference analyses alike:
2
+ // "Comment LIST", a Russian "write «ESTIMATE»", a Japanese "「LIST」 then comment". Verb-first languages name it after the verb, verb-last ones before.
3
+ export const CAPTION_FUNNEL_MAX_CHARS = 24;
4
+ /** Imperatives that ask for a comment or a message, the word after them. */
5
+ const VERBS_FIRST = [
6
+ "comment", "type", "drop", "dm", "message", "send", "reply", "write",
7
+ "напиши", "напишите", "пиши", "пишите", "оставь", "оставьте", "отправь", "отправьте", "комментируй", "комментируйте",
8
+ "напишіть", "залиш", "залиште", "коментуй", "коментуйте", "надішли", "надішліть",
9
+ "comenta", "comente", "comentá", "escribe", "escriba", "escríbeme", "escreva", "escreve", "manda", "mande", "envía", "envie", "deja", "deixe",
10
+ "commente", "commentez", "écris", "écrivez", "envoie", "envoyez", "tape", "tapez",
11
+ "kommentiere", "kommentiert", "schreib", "schreibe", "schreibt", "sende", "schick", "schickt",
12
+ "commenta", "commentate", "scrivi", "scrivete", "invia", "inviami",
13
+ "skomentuj", "napisz", "wpisz", "wyślij", "komentuj",
14
+ "typ", "schrijf", "stuur", "reageer",
15
+ "komentujte", "napište", "napíšte", "kommentér", "skriv", "kommentera", "kommentoi", "kirjoita", "kommenteer",
16
+ "comentează", "scrie", "írd", "kommenteld", "komentiraj", "napiši", "σχολίασε", "γράψε", "напишете", "коментирай",
17
+ "komentari", "ketik", "tulis", "kirim", "bình luận", "comment mo", "i-comment", "評論", "评论", "留言", "私信",
18
+ ];
19
+ /** Verbs that close the ask in languages that put the verb last: the quoted or capital word comes just before. */
20
+ const VERBS_LAST = ["コメント", "書いて", "送って", "댓글", "남겨", "적어", "보내", "yaz", "yorum", "gönder", "कमेंट", "लिखें", "लिखो", "लिखिए", "எழுது", "கமெண்ட்"];
21
+ /** Words between the verb and the code word: "DM me", "the word", "in the comments", in each language. */
22
+ const FILLER = new Set([
23
+ "me", "us", "the", "a", "word", "below", "down", "in", "comments", "comment", "dms", "section", "here",
24
+ "мне", "слово", "в", "комментариях", "комментарии", "комменты", "комментах", "директ", "личку", "ниже", "у", "коментарях", "мені",
25
+ "la", "palabra", "en", "los", "comentarios", "abajo", "aquí", "por", "palavra", "nos", "comentários", "aqui", "no",
26
+ "le", "mot", "commentaire", "commentaires", "moi", "dessous", "ci-dessous", "mir", "das", "wort", "die", "kommentare", "unten",
27
+ "parola", "nei", "commenti", "qui", "sotto", "mi", "słowo", "w", "komentarzu", "komentarzach", "poniżej", "het", "woord", "de", "reacties", "hieronder",
28
+ ]);
29
+ /** Words that are not a code word when nothing marks one: "comment your thoughts", and the same in each language. */
30
+ const NOT_A_CODE_WORD = new Set([
31
+ "what", "your", "yours", "my", "if", "this", "that", "it", "them", "how", "why", "and", "or", "to", "for", "something", "which", "who", "where", "when",
32
+ "follow", "like", "share", "save", "subscribe", "please", "now", "us", "me", "back", "you", "him", "her",
33
+ "что", "если", "свой", "своё", "свои", "это", "как", "почему", "какой", "и", "или", "що", "якщо", "свою", "це",
34
+ "lo", "que", "tu", "tus", "si", "qué", "o", "y", "e", "seu", "sua", "ce", "tes", "ton", "ta", "et", "ou", "dein", "deine", "was", "und", "oder",
35
+ "il", "tuo", "tua", "che", "co", "czy", "i", "wat", "je", "jouw",
36
+ ]);
37
+ /** What a viewer gets for the word, right after it: the mark of a code word in plain speech ("comment list and I'll send you…"). */
38
+ const AFTER_WORD = /^[\s,.!:;—–-]*(?:and i\b|and i'll|and i will|and we|and get|and you'll|and you will|to get|to receive|for the|for my|for a|for free|and receive|и я|и мы|и получи|и пришлю|и отправлю|чтобы получить|і я|щоб отримати|y te|y yo|y recibe|para recibir|e eu|e te|e receba|para receber|et je|et on|pour recevoir|und ich|und du|und erhalte|e ti|e io|per ricevere|a ja|i wyślę|żeby dostać|en ik|en ontvang)(?![\p{L}\p{N}])/u;
39
+ const QUOTES = "\"'“”‘’«»„「」『』";
40
+ /** A quoted word, with the space French puts inside « »; bold or italic marks quote it as well: `Comment **EDITOR**`. */
41
+ const MARK = `(?:[${QUOTES}] ?|\\*{1,2})`, UNMARK = `(?: ?[${QUOTES}]|\\*{1,2})`;
42
+ const QUOTED = new RegExp(`^${MARK}([\\p{L}\\p{N}][\\p{L}\\p{N}-]{0,22})${UNMARK}`, "u");
43
+ const CAPS = /^(\p{Lu}[\p{Lu}\p{N}]{1,22})(?![\p{L}\p{N}])/u;
44
+ const PLAIN = /^([\p{L}\p{N}][\p{L}\p{N}-]{1,22})(?![\p{L}\p{N}])/u;
45
+ const ANY = /^(?:anything|any word|any emoji|что угодно|любое слово|cualquier cosa|qualquer coisa|n'importe quoi)(?![\p{L}\p{N}])/u;
46
+ const literal = (word) => word.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
47
+ /** A Latin, Cyrillic or Greek verb stands on word boundaries; a CJK, Hangul or Indic one has none to stand on. */
48
+ const bounded = (verb) => (/^[\p{Script=Latin}\p{Script=Cyrillic}\p{Script=Greek}\s'-]+$/u.test(verb)
49
+ ? `(?<![\\p{L}\\p{N}])${literal(verb)}(?![\\p{L}\\p{N}])` : literal(verb));
50
+ const VERB_FIRST = new RegExp(VERBS_FIRST.map(bounded).join("|"), "gu");
51
+ const VERB_LAST = new RegExp(`(?:${MARK}([\\p{L}\\p{N}][\\p{L}\\p{N}-]{0,22})${UNMARK}|(?<![\\p{L}\\p{N}])(\\p{Lu}[\\p{Lu}\\p{N}]{1,22})(?![\\p{Lu}\\p{Ll}\\p{N}]))`
52
+ + `[^\\n]{0,12}?(?:${VERBS_LAST.map(literal).join("|")})`, "gu");
53
+ /** The word after a verb at `from`: past the filler, then quoted, in capitals (unless the verb shouts too), or plain with what the viewer gets. */
54
+ function wordAfter(text, lower, from, shouting) {
55
+ let at = from;
56
+ for (;;) {
57
+ const gap = /^[\s:\-–—,]+/u.exec(lower.slice(at))?.[0].length ?? 0;
58
+ const next = /^[\p{L}\p{N}'-]+/u.exec(lower.slice(at + gap))?.[0];
59
+ if (next === undefined || !FILLER.has(next)) {
60
+ at += gap;
61
+ break;
62
+ }
63
+ at += gap + next.length;
64
+ }
65
+ const any = ANY.exec(lower.slice(at, at + 40));
66
+ if (any)
67
+ return { word: "any", end: at + any[0].length };
68
+ const rest = text.slice(at, at + 40);
69
+ const marked = QUOTED.exec(rest) ?? (shouting ? null : CAPS.exec(rest));
70
+ if (marked)
71
+ return { word: marked[1], end: at + marked[0].indexOf(marked[1]) + marked[1].length };
72
+ const plain = PLAIN.exec(rest)?.[1];
73
+ if (plain === undefined || NOT_A_CODE_WORD.has(plain.toLowerCase()))
74
+ return null;
75
+ return AFTER_WORD.test(lower.slice(at + plain.length, at + plain.length + 40)) ? { word: plain, end: at + plain.length } : null;
76
+ }
77
+ /** The word a text asks viewers to comment or send (a caption, the spoken words or one screen text), upper case, with the offset its own last */
78
+ /** letter ends at, so a cut caption can tell a word it may have shortened; "any" for any word; else `null`. */
79
+ export function captionFunnel(text) {
80
+ if (typeof text !== "string")
81
+ return null;
82
+ const lower = text.toLowerCase();
83
+ // Lower case keeps every offset of these scripts; a text it would reshape is read no further.
84
+ if (lower.length !== text.length)
85
+ return null;
86
+ for (const verb of lower.matchAll(VERB_FIRST)) {
87
+ const said = text.slice(verb.index, verb.index + verb[0].length);
88
+ // "DM" is written in capitals anyway; a longer verb in capitals means the whole line shouts.
89
+ const found = wordAfter(text, lower, verb.index + verb[0].length, said.length > 2 && said === said.toUpperCase() && said !== said.toLowerCase());
90
+ if (found)
91
+ return { word: found.word === "any" ? "any" : found.word.toUpperCase(), end: found.end };
92
+ }
93
+ const last = VERB_LAST.exec(text);
94
+ VERB_LAST.lastIndex = 0;
95
+ if (!last)
96
+ return null;
97
+ const word = last[1] ?? last[2];
98
+ return { word: word.toUpperCase(), end: last.index + last[0].indexOf(word) + word.length };
99
+ }
100
+ export const captionFunnelWord = (text) => captionFunnel(text)?.word ?? null;
101
+ //# sourceMappingURL=caption-funnel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"caption-funnel.js","sourceRoot":"","sources":["../src/caption-funnel.ts"],"names":[],"mappings":"AAAA,0IAA0I;AAC1I,sJAAsJ;AAEtJ,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE3C,4EAA4E;AAC5E,MAAM,WAAW,GAAG;IAClB,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IACpE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe;IACpH,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW;IAChF,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO;IAC7I,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO;IACjF,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS;IAC7F,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS;IAClE,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AI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,IAAI,KAAK,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QACjJ,IAAI,KAAK;YAAE,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC;IACtG,CAAC;IACD,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClC,SAAS,CAAC,SAAS,GAAG,CAAC,CAAC;IACxB,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IACvB,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAE,CAAC;IACjC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;AAC7F,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAA+B,EAAiB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,IAAI,CAAC"}
@@ -2792,6 +2792,412 @@ export declare const offeredUgcInput: z.ZodObject<{
2792
2792
  small: "small";
2793
2793
  }>>;
2794
2794
  }, z.core.$strict>;
2795
+ }, z.core.$strict>, z.ZodObject<{
2796
+ id: z.ZodString;
2797
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
2798
+ startWord: z.ZodNumber;
2799
+ endWord: z.ZodNumber;
2800
+ }, z.core.$strict>, z.ZodObject<{
2801
+ quote: z.ZodString;
2802
+ occurrence: z.ZodOptional<z.ZodNumber>;
2803
+ }, z.core.$strict>]>;
2804
+ cover_words: z.ZodOptional<z.ZodNumber>;
2805
+ placement: z.ZodOptional<z.ZodEnum<{
2806
+ full: "full";
2807
+ over: "over";
2808
+ }>>;
2809
+ transition: z.ZodOptional<z.ZodEnum<{
2810
+ cut: "cut";
2811
+ flash: "flash";
2812
+ wipe: "wipe";
2813
+ zoom: "zoom";
2814
+ }>>;
2815
+ place: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2816
+ fit: z.ZodOptional<z.ZodEnum<{
2817
+ contain: "contain";
2818
+ cover: "cover";
2819
+ }>>;
2820
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
2821
+ relative_to: z.ZodDefault<z.ZodLiteral<"frame">>;
2822
+ rect: z.ZodObject<{
2823
+ left: z.ZodNumber;
2824
+ top: z.ZodNumber;
2825
+ width: z.ZodNumber;
2826
+ height: z.ZodNumber;
2827
+ }, z.core.$strict>;
2828
+ }, z.core.$strict>, z.ZodObject<{
2829
+ fit: z.ZodOptional<z.ZodEnum<{
2830
+ contain: "contain";
2831
+ cover: "cover";
2832
+ }>>;
2833
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
2834
+ relative_to: z.ZodLiteral<"face">;
2835
+ rect: z.ZodObject<{
2836
+ left: z.ZodNumber;
2837
+ top: z.ZodNumber;
2838
+ width: z.ZodNumber;
2839
+ height: z.ZodNumber;
2840
+ }, z.core.$strict>;
2841
+ }, z.core.$strict>, z.ZodObject<{
2842
+ fit: z.ZodOptional<z.ZodEnum<{
2843
+ contain: "contain";
2844
+ cover: "cover";
2845
+ }>>;
2846
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
2847
+ relative_to: z.ZodUnion<readonly [z.ZodEnum<{
2848
+ captions: "captions";
2849
+ face: "face";
2850
+ }>, z.ZodObject<{
2851
+ layer: z.ZodString;
2852
+ }, z.core.$strict>]>;
2853
+ side: z.ZodEnum<{
2854
+ above: "above";
2855
+ below: "below";
2856
+ left: "left";
2857
+ over: "over";
2858
+ right: "right";
2859
+ }>;
2860
+ gap: z.ZodOptional<z.ZodNumber>;
2861
+ align: z.ZodOptional<z.ZodEnum<{
2862
+ center: "center";
2863
+ end: "end";
2864
+ start: "start";
2865
+ }>>;
2866
+ width: z.ZodOptional<z.ZodNumber>;
2867
+ height: z.ZodOptional<z.ZodNumber>;
2868
+ size_unit: z.ZodOptional<z.ZodEnum<{
2869
+ face: "face";
2870
+ frame: "frame";
2871
+ }>>;
2872
+ }, z.core.$strict>]>>;
2873
+ kind: z.ZodLiteral<"cover_story">;
2874
+ data: z.ZodObject<{
2875
+ masthead: z.ZodString;
2876
+ issue: z.ZodOptional<z.ZodString>;
2877
+ number: z.ZodOptional<z.ZodString>;
2878
+ cover_line: z.ZodString;
2879
+ size: z.ZodOptional<z.ZodEnum<{
2880
+ large: "large";
2881
+ medium: "medium";
2882
+ small: "small";
2883
+ }>>;
2884
+ }, z.core.$strict>;
2885
+ }, z.core.$strict>, z.ZodObject<{
2886
+ id: z.ZodString;
2887
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
2888
+ startWord: z.ZodNumber;
2889
+ endWord: z.ZodNumber;
2890
+ }, z.core.$strict>, z.ZodObject<{
2891
+ quote: z.ZodString;
2892
+ occurrence: z.ZodOptional<z.ZodNumber>;
2893
+ }, z.core.$strict>]>;
2894
+ cover_words: z.ZodOptional<z.ZodNumber>;
2895
+ placement: z.ZodOptional<z.ZodEnum<{
2896
+ full: "full";
2897
+ over: "over";
2898
+ }>>;
2899
+ transition: z.ZodOptional<z.ZodEnum<{
2900
+ cut: "cut";
2901
+ flash: "flash";
2902
+ wipe: "wipe";
2903
+ zoom: "zoom";
2904
+ }>>;
2905
+ place: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2906
+ fit: z.ZodOptional<z.ZodEnum<{
2907
+ contain: "contain";
2908
+ cover: "cover";
2909
+ }>>;
2910
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
2911
+ relative_to: z.ZodDefault<z.ZodLiteral<"frame">>;
2912
+ rect: z.ZodObject<{
2913
+ left: z.ZodNumber;
2914
+ top: z.ZodNumber;
2915
+ width: z.ZodNumber;
2916
+ height: z.ZodNumber;
2917
+ }, z.core.$strict>;
2918
+ }, z.core.$strict>, z.ZodObject<{
2919
+ fit: z.ZodOptional<z.ZodEnum<{
2920
+ contain: "contain";
2921
+ cover: "cover";
2922
+ }>>;
2923
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
2924
+ relative_to: z.ZodLiteral<"face">;
2925
+ rect: z.ZodObject<{
2926
+ left: z.ZodNumber;
2927
+ top: z.ZodNumber;
2928
+ width: z.ZodNumber;
2929
+ height: z.ZodNumber;
2930
+ }, z.core.$strict>;
2931
+ }, z.core.$strict>, z.ZodObject<{
2932
+ fit: z.ZodOptional<z.ZodEnum<{
2933
+ contain: "contain";
2934
+ cover: "cover";
2935
+ }>>;
2936
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
2937
+ relative_to: z.ZodUnion<readonly [z.ZodEnum<{
2938
+ captions: "captions";
2939
+ face: "face";
2940
+ }>, z.ZodObject<{
2941
+ layer: z.ZodString;
2942
+ }, z.core.$strict>]>;
2943
+ side: z.ZodEnum<{
2944
+ above: "above";
2945
+ below: "below";
2946
+ left: "left";
2947
+ over: "over";
2948
+ right: "right";
2949
+ }>;
2950
+ gap: z.ZodOptional<z.ZodNumber>;
2951
+ align: z.ZodOptional<z.ZodEnum<{
2952
+ center: "center";
2953
+ end: "end";
2954
+ start: "start";
2955
+ }>>;
2956
+ width: z.ZodOptional<z.ZodNumber>;
2957
+ height: z.ZodOptional<z.ZodNumber>;
2958
+ size_unit: z.ZodOptional<z.ZodEnum<{
2959
+ face: "face";
2960
+ frame: "frame";
2961
+ }>>;
2962
+ }, z.core.$strict>]>>;
2963
+ kind: z.ZodLiteral<"series_frame">;
2964
+ data: z.ZodObject<{
2965
+ title: z.ZodString;
2966
+ accent: z.ZodOptional<z.ZodString>;
2967
+ items: z.ZodArray<z.ZodObject<{
2968
+ name: z.ZodString;
2969
+ clip: z.ZodOptional<z.ZodObject<{
2970
+ asset_id: z.ZodString;
2971
+ }, z.core.$strict>>;
2972
+ look: z.ZodOptional<z.ZodEnum<{
2973
+ card: "card";
2974
+ editor: "editor";
2975
+ orbit: "orbit";
2976
+ phone: "phone";
2977
+ ui: "ui";
2978
+ }>>;
2979
+ prompt: z.ZodOptional<z.ZodString>;
2980
+ at: z.ZodOptional<z.ZodString>;
2981
+ }, z.core.$strict>>;
2982
+ loop: z.ZodOptional<z.ZodBoolean>;
2983
+ size: z.ZodOptional<z.ZodEnum<{
2984
+ large: "large";
2985
+ medium: "medium";
2986
+ small: "small";
2987
+ }>>;
2988
+ }, z.core.$strict>;
2989
+ }, z.core.$strict>, z.ZodObject<{
2990
+ id: z.ZodString;
2991
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
2992
+ startWord: z.ZodNumber;
2993
+ endWord: z.ZodNumber;
2994
+ }, z.core.$strict>, z.ZodObject<{
2995
+ quote: z.ZodString;
2996
+ occurrence: z.ZodOptional<z.ZodNumber>;
2997
+ }, z.core.$strict>]>;
2998
+ cover_words: z.ZodOptional<z.ZodNumber>;
2999
+ placement: z.ZodOptional<z.ZodEnum<{
3000
+ full: "full";
3001
+ over: "over";
3002
+ }>>;
3003
+ transition: z.ZodOptional<z.ZodEnum<{
3004
+ cut: "cut";
3005
+ flash: "flash";
3006
+ wipe: "wipe";
3007
+ zoom: "zoom";
3008
+ }>>;
3009
+ place: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3010
+ fit: z.ZodOptional<z.ZodEnum<{
3011
+ contain: "contain";
3012
+ cover: "cover";
3013
+ }>>;
3014
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
3015
+ relative_to: z.ZodDefault<z.ZodLiteral<"frame">>;
3016
+ rect: z.ZodObject<{
3017
+ left: z.ZodNumber;
3018
+ top: z.ZodNumber;
3019
+ width: z.ZodNumber;
3020
+ height: z.ZodNumber;
3021
+ }, z.core.$strict>;
3022
+ }, z.core.$strict>, z.ZodObject<{
3023
+ fit: z.ZodOptional<z.ZodEnum<{
3024
+ contain: "contain";
3025
+ cover: "cover";
3026
+ }>>;
3027
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
3028
+ relative_to: z.ZodLiteral<"face">;
3029
+ rect: z.ZodObject<{
3030
+ left: z.ZodNumber;
3031
+ top: z.ZodNumber;
3032
+ width: z.ZodNumber;
3033
+ height: z.ZodNumber;
3034
+ }, z.core.$strict>;
3035
+ }, z.core.$strict>, z.ZodObject<{
3036
+ fit: z.ZodOptional<z.ZodEnum<{
3037
+ contain: "contain";
3038
+ cover: "cover";
3039
+ }>>;
3040
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
3041
+ relative_to: z.ZodUnion<readonly [z.ZodEnum<{
3042
+ captions: "captions";
3043
+ face: "face";
3044
+ }>, z.ZodObject<{
3045
+ layer: z.ZodString;
3046
+ }, z.core.$strict>]>;
3047
+ side: z.ZodEnum<{
3048
+ above: "above";
3049
+ below: "below";
3050
+ left: "left";
3051
+ over: "over";
3052
+ right: "right";
3053
+ }>;
3054
+ gap: z.ZodOptional<z.ZodNumber>;
3055
+ align: z.ZodOptional<z.ZodEnum<{
3056
+ center: "center";
3057
+ end: "end";
3058
+ start: "start";
3059
+ }>>;
3060
+ width: z.ZodOptional<z.ZodNumber>;
3061
+ height: z.ZodOptional<z.ZodNumber>;
3062
+ size_unit: z.ZodOptional<z.ZodEnum<{
3063
+ face: "face";
3064
+ frame: "frame";
3065
+ }>>;
3066
+ }, z.core.$strict>]>>;
3067
+ kind: z.ZodLiteral<"comment_cta">;
3068
+ data: z.ZodObject<{
3069
+ title: z.ZodString;
3070
+ accent: z.ZodOptional<z.ZodString>;
3071
+ list_title: z.ZodString;
3072
+ items: z.ZodArray<z.ZodString>;
3073
+ code: z.ZodString;
3074
+ handle: z.ZodString;
3075
+ dm: z.ZodString;
3076
+ lines: z.ZodArray<z.ZodObject<{
3077
+ text: z.ZodString;
3078
+ accent: z.ZodOptional<z.ZodString>;
3079
+ act: z.ZodOptional<z.ZodEnum<{
3080
+ dm: "dm";
3081
+ follow: "follow";
3082
+ }>>;
3083
+ at: z.ZodOptional<z.ZodString>;
3084
+ }, z.core.$strict>>;
3085
+ avatar: z.ZodOptional<z.ZodObject<{
3086
+ asset_id: z.ZodString;
3087
+ }, z.core.$strict>>;
3088
+ labels: z.ZodOptional<z.ZodObject<{
3089
+ comment: z.ZodOptional<z.ZodString>;
3090
+ follow: z.ZodOptional<z.ZodString>;
3091
+ following: z.ZodOptional<z.ZodString>;
3092
+ }, z.core.$strict>>;
3093
+ loop: z.ZodOptional<z.ZodBoolean>;
3094
+ size: z.ZodOptional<z.ZodEnum<{
3095
+ large: "large";
3096
+ medium: "medium";
3097
+ small: "small";
3098
+ }>>;
3099
+ }, z.core.$strict>;
3100
+ }, z.core.$strict>, z.ZodObject<{
3101
+ id: z.ZodString;
3102
+ anchor: z.ZodUnion<readonly [z.ZodObject<{
3103
+ startWord: z.ZodNumber;
3104
+ endWord: z.ZodNumber;
3105
+ }, z.core.$strict>, z.ZodObject<{
3106
+ quote: z.ZodString;
3107
+ occurrence: z.ZodOptional<z.ZodNumber>;
3108
+ }, z.core.$strict>]>;
3109
+ cover_words: z.ZodOptional<z.ZodNumber>;
3110
+ placement: z.ZodOptional<z.ZodEnum<{
3111
+ full: "full";
3112
+ over: "over";
3113
+ }>>;
3114
+ transition: z.ZodOptional<z.ZodEnum<{
3115
+ cut: "cut";
3116
+ flash: "flash";
3117
+ wipe: "wipe";
3118
+ zoom: "zoom";
3119
+ }>>;
3120
+ place: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3121
+ fit: z.ZodOptional<z.ZodEnum<{
3122
+ contain: "contain";
3123
+ cover: "cover";
3124
+ }>>;
3125
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
3126
+ relative_to: z.ZodDefault<z.ZodLiteral<"frame">>;
3127
+ rect: z.ZodObject<{
3128
+ left: z.ZodNumber;
3129
+ top: z.ZodNumber;
3130
+ width: z.ZodNumber;
3131
+ height: z.ZodNumber;
3132
+ }, z.core.$strict>;
3133
+ }, z.core.$strict>, z.ZodObject<{
3134
+ fit: z.ZodOptional<z.ZodEnum<{
3135
+ contain: "contain";
3136
+ cover: "cover";
3137
+ }>>;
3138
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
3139
+ relative_to: z.ZodLiteral<"face">;
3140
+ rect: z.ZodObject<{
3141
+ left: z.ZodNumber;
3142
+ top: z.ZodNumber;
3143
+ width: z.ZodNumber;
3144
+ height: z.ZodNumber;
3145
+ }, z.core.$strict>;
3146
+ }, z.core.$strict>, z.ZodObject<{
3147
+ fit: z.ZodOptional<z.ZodEnum<{
3148
+ contain: "contain";
3149
+ cover: "cover";
3150
+ }>>;
3151
+ allow_face: z.ZodOptional<z.ZodLiteral<true>>;
3152
+ relative_to: z.ZodUnion<readonly [z.ZodEnum<{
3153
+ captions: "captions";
3154
+ face: "face";
3155
+ }>, z.ZodObject<{
3156
+ layer: z.ZodString;
3157
+ }, z.core.$strict>]>;
3158
+ side: z.ZodEnum<{
3159
+ above: "above";
3160
+ below: "below";
3161
+ left: "left";
3162
+ over: "over";
3163
+ right: "right";
3164
+ }>;
3165
+ gap: z.ZodOptional<z.ZodNumber>;
3166
+ align: z.ZodOptional<z.ZodEnum<{
3167
+ center: "center";
3168
+ end: "end";
3169
+ start: "start";
3170
+ }>>;
3171
+ width: z.ZodOptional<z.ZodNumber>;
3172
+ height: z.ZodOptional<z.ZodNumber>;
3173
+ size_unit: z.ZodOptional<z.ZodEnum<{
3174
+ face: "face";
3175
+ frame: "frame";
3176
+ }>>;
3177
+ }, z.core.$strict>]>>;
3178
+ kind: z.ZodLiteral<"backdrop">;
3179
+ data: z.ZodObject<{
3180
+ style: z.ZodEnum<{
3181
+ doodle: "doodle";
3182
+ gallery: "gallery";
3183
+ glass: "glass";
3184
+ pop_out: "pop_out";
3185
+ sticker: "sticker";
3186
+ swap: "swap";
3187
+ vertigo: "vertigo";
3188
+ wall: "wall";
3189
+ }>;
3190
+ title: z.ZodString;
3191
+ notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
3192
+ picture: z.ZodOptional<z.ZodObject<{
3193
+ asset_id: z.ZodString;
3194
+ }, z.core.$strict>>;
3195
+ size: z.ZodOptional<z.ZodEnum<{
3196
+ large: "large";
3197
+ medium: "medium";
3198
+ small: "small";
3199
+ }>>;
3200
+ }, z.core.$strict>;
2795
3201
  }, z.core.$strict>], "kind">>>;
2796
3202
  template_theme: z.ZodOptional<z.ZodObject<{
2797
3203
  preset: z.ZodOptional<z.ZodEnum<{
@@ -4530,11 +4936,14 @@ export declare const mcpUgcInputShape: {
4530
4936
  }>>;
4531
4937
  place: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4532
4938
  kind: z.ZodEnum<{
4939
+ backdrop: "backdrop";
4533
4940
  callout: "callout";
4534
4941
  chart: "chart";
4535
4942
  chat_window: "chat_window";
4536
4943
  checklist: "checklist";
4944
+ comment_cta: "comment_cta";
4537
4945
  compare: "compare";
4946
+ cover_story: "cover_story";
4538
4947
  end_card: "end_card";
4539
4948
  hand_title: "hand_title";
4540
4949
  lower_third: "lower_third";
@@ -4546,6 +4955,7 @@ export declare const mcpUgcInputShape: {
4546
4955
  quote: "quote";
4547
4956
  race: "race";
4548
4957
  rating: "rating";
4958
+ series_frame: "series_frame";
4549
4959
  stat: "stat";
4550
4960
  tag: "tag";
4551
4961
  terminal: "terminal";
@@ -4618,7 +5028,7 @@ export interface RejectedFieldHit {
4618
5028
  }
4619
5029
  /** Rejected fields present in the input. Called by the API (400 before a run or a */
4620
5030
  /** reserve), by MCP and by the SDK. */
4621
- export declare function rejectedFields(input: Readonly<Record<string, unknown>>): RejectedFieldHit[];
5031
+ export declare function rejectedFields(input: Readonly<Record<string, unknown>>, env?: Record<string, string | undefined>): RejectedFieldHit[];
4622
5032
  /** A body key outside the contract and the field it resembles, if any. */
4623
5033
  export interface UnknownFieldHit {
4624
5034
  field: string;
@@ -12,6 +12,7 @@ import { isMusicEnabled, MUSIC_DISABLED_MESSAGE } from "./music.js";
12
12
  import { MAX_SCENES, SCENES_DISABLED_MESSAGE } from "./ugc-scenes.js";
13
13
  import { MOTION_STYLE_UNUSED_WARNING, motionStyleAsked, motionStyleHasCanvas } from "./motion-styles.js";
14
14
  import { AD_PAUSE_TRIM_WARNING } from "./ad-pause-trim.js";
15
+ import { isPresenterMatteEnabled, needsPresenterCutout, PRESENTER_MATTE_DISABLED_MESSAGE } from "./presenter-matte.js";
15
16
  /** Disposition registry for `make_ugc` input fields: every field must have a recorded */
16
17
  /** decision. The type guards completeness; tests at each effect boundary prove truth. */
17
18
  /** Public header/quote version: optional visible_ai_label and new-run marking admission policy. */
@@ -346,7 +347,7 @@ export const mcpUgcInputShape = { ...offeredUgcInputShape, ...compactlyDescribed
346
347
  "look, fonts: from brand_kit; palette #RRGGBB.") };
347
348
  /** Rejected fields present in the input. Called by the API (400 before a run or a */
348
349
  /** reserve), by MCP and by the SDK. */
349
- export function rejectedFields(input) {
350
+ export function rejectedFields(input, env = typeof process === "undefined" ? {} : process.env) {
350
351
  const hits = [];
351
352
  for (const field of CONTRACT_FIELDS) {
352
353
  const disposition = EFFECTIVE_DISPOSITIONS[field];
@@ -356,6 +357,10 @@ export function rejectedFields(input) {
356
357
  continue;
357
358
  hits.push({ field, message: disposition.message });
358
359
  }
360
+ // A kind behind its own switch is refused by value, the field itself staying open (#1428).
361
+ if (!hits.some(hit => hit.field === "templates") && needsPresenterCutout(input.templates) && !isPresenterMatteEnabled(env)) {
362
+ hits.push({ field: "templates", message: PRESENTER_MATTE_DISABLED_MESSAGE });
363
+ }
359
364
  return hits;
360
365
  }
361
366
  const normalizedFieldName = (name) => name.toLowerCase().replace(/[^a-z0-9]/g, "");