@nodaro/shared 3.62.0 → 3.64.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 (264) hide show
  1. package/dist/{chunk-C7POAYFE.js → chunk-36VWLB4J.js} +3 -3
  2. package/dist/{chunk-C7POAYFE.js.map → chunk-36VWLB4J.js.map} +1 -1
  3. package/dist/{chunk-S24ZBUB4.js → chunk-3AYM47GW.js} +6 -32
  4. package/dist/chunk-3AYM47GW.js.map +1 -0
  5. package/dist/{chunk-YCXRSWCQ.js → chunk-3KTWYYCN.js} +8 -5
  6. package/dist/chunk-3KTWYYCN.js.map +1 -0
  7. package/dist/{chunk-ZES6EZC4.js → chunk-4IUE2JB7.js} +3 -3
  8. package/dist/{chunk-ZES6EZC4.js.map → chunk-4IUE2JB7.js.map} +1 -1
  9. package/dist/{chunk-MYJQELFN.cjs → chunk-5OBTGNUQ.cjs} +547 -29
  10. package/dist/chunk-5OBTGNUQ.cjs.map +1 -0
  11. package/dist/{chunk-TWF2OSH4.cjs → chunk-67CMMTLN.cjs} +4 -4
  12. package/dist/{chunk-TWF2OSH4.cjs.map → chunk-67CMMTLN.cjs.map} +1 -1
  13. package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
  14. package/dist/chunk-6BRWPJPP.cjs.map +1 -0
  15. package/dist/{chunk-S5TMRJMX.js → chunk-6YIV37V7.js} +4 -4
  16. package/dist/{chunk-S5TMRJMX.js.map → chunk-6YIV37V7.js.map} +1 -1
  17. package/dist/{chunk-3M4BNKFJ.cjs → chunk-7AJGUI7L.cjs} +202 -16
  18. package/dist/chunk-7AJGUI7L.cjs.map +1 -0
  19. package/dist/{chunk-JZGZ26YB.js → chunk-7KQ6W5DS.js} +4 -4
  20. package/dist/{chunk-JZGZ26YB.js.map → chunk-7KQ6W5DS.js.map} +1 -1
  21. package/dist/{chunk-IWWVPR3W.cjs → chunk-ACZZHHFZ.cjs} +149 -34
  22. package/dist/chunk-ACZZHHFZ.cjs.map +1 -0
  23. package/dist/{chunk-2W745U4A.cjs → chunk-AZNZ5WNZ.cjs} +42 -70
  24. package/dist/chunk-AZNZ5WNZ.cjs.map +1 -0
  25. package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
  26. package/dist/chunk-BQYCZLMF.js.map +1 -0
  27. package/dist/chunk-CHS2SIP6.cjs +504 -0
  28. package/dist/chunk-CHS2SIP6.cjs.map +1 -0
  29. package/dist/{chunk-CIPPPT7E.cjs → chunk-CHTZZRAL.cjs} +6 -6
  30. package/dist/{chunk-CIPPPT7E.cjs.map → chunk-CHTZZRAL.cjs.map} +1 -1
  31. package/dist/{chunk-AOJ6B7K4.cjs → chunk-D4KWNDPH.cjs} +12 -12
  32. package/dist/chunk-D4KWNDPH.cjs.map +1 -0
  33. package/dist/{chunk-5YYN5X57.js → chunk-DZ4IOP3Q.js} +536 -30
  34. package/dist/chunk-DZ4IOP3Q.js.map +1 -0
  35. package/dist/{chunk-VACPZPUA.cjs → chunk-EXEVT6D2.cjs} +15 -5
  36. package/dist/chunk-EXEVT6D2.cjs.map +1 -0
  37. package/dist/{chunk-5M43XMRB.cjs → chunk-FHGRKQVZ.cjs} +8 -8
  38. package/dist/{chunk-5M43XMRB.cjs.map → chunk-FHGRKQVZ.cjs.map} +1 -1
  39. package/dist/{chunk-KJSRPHJ2.cjs → chunk-GTWUS6MQ.cjs} +165 -54
  40. package/dist/chunk-GTWUS6MQ.cjs.map +1 -0
  41. package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
  42. package/dist/chunk-H5KHWTAE.js.map +1 -0
  43. package/dist/{chunk-G3KVK7OU.cjs → chunk-HDPJNNMF.cjs} +21 -21
  44. package/dist/{chunk-G3KVK7OU.cjs.map → chunk-HDPJNNMF.cjs.map} +1 -1
  45. package/dist/{chunk-3OYO3XCC.js → chunk-IYSOVS7O.js} +118 -24
  46. package/dist/chunk-IYSOVS7O.js.map +1 -0
  47. package/dist/{chunk-AFYTX4AI.cjs → chunk-J6B7J73J.cjs} +110 -50
  48. package/dist/chunk-J6B7J73J.cjs.map +1 -0
  49. package/dist/{chunk-I2RQB7VG.js → chunk-KB2SQAR3.js} +3 -3
  50. package/dist/{chunk-I2RQB7VG.js.map → chunk-KB2SQAR3.js.map} +1 -1
  51. package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
  52. package/dist/chunk-KSHAAPQF.cjs.map +1 -0
  53. package/dist/{chunk-6G7NN4S4.js → chunk-NIAFR5EE.js} +2 -2
  54. package/dist/chunk-NIAFR5EE.js.map +1 -0
  55. package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
  56. package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
  57. package/dist/{chunk-IDTKF5EX.cjs → chunk-O4RPXBDZ.cjs} +12 -8
  58. package/dist/chunk-O4RPXBDZ.cjs.map +1 -0
  59. package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
  60. package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
  61. package/dist/{chunk-PTD6EDUU.js → chunk-OBOOHG3N.js} +13 -4
  62. package/dist/chunk-OBOOHG3N.js.map +1 -0
  63. package/dist/{chunk-2D5LQFV4.cjs → chunk-OOZW2MM6.cjs} +9 -9
  64. package/dist/{chunk-2D5LQFV4.cjs.map → chunk-OOZW2MM6.cjs.map} +1 -1
  65. package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
  66. package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
  67. package/dist/{chunk-G4U3HW6W.js → chunk-PJJAZQVZ.js} +3 -3
  68. package/dist/{chunk-G4U3HW6W.js.map → chunk-PJJAZQVZ.js.map} +1 -1
  69. package/dist/{chunk-E2HZTGYX.js → chunk-Q2Y4JHF7.js} +7 -7
  70. package/dist/chunk-Q2Y4JHF7.js.map +1 -0
  71. package/dist/{chunk-FVII3KHN.js → chunk-QYU7J5EQ.js} +198 -17
  72. package/dist/chunk-QYU7J5EQ.js.map +1 -0
  73. package/dist/{chunk-JJNNM23P.js → chunk-S3UGLZSF.js} +3 -3
  74. package/dist/{chunk-JJNNM23P.js.map → chunk-S3UGLZSF.js.map} +1 -1
  75. package/dist/{chunk-CC4V2B7S.js → chunk-SHH2T4CR.js} +3 -3
  76. package/dist/{chunk-CC4V2B7S.js.map → chunk-SHH2T4CR.js.map} +1 -1
  77. package/dist/{chunk-4ZEFP2FQ.cjs → chunk-SPAHI7DY.cjs} +4 -4
  78. package/dist/{chunk-4ZEFP2FQ.cjs.map → chunk-SPAHI7DY.cjs.map} +1 -1
  79. package/dist/{chunk-Y6X7UJSD.js → chunk-SXHHLZ22.js} +122 -15
  80. package/dist/chunk-SXHHLZ22.js.map +1 -0
  81. package/dist/{chunk-HRY7KGAE.cjs → chunk-T2OVDF2M.cjs} +6 -6
  82. package/dist/{chunk-HRY7KGAE.cjs.map → chunk-T2OVDF2M.cjs.map} +1 -1
  83. package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
  84. package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
  85. package/dist/{chunk-NGKKNSK6.js → chunk-TPQJKS7D.js} +139 -16
  86. package/dist/chunk-TPQJKS7D.js.map +1 -0
  87. package/dist/{chunk-N7OUQK7E.cjs → chunk-TQW3R44P.cjs} +8 -8
  88. package/dist/{chunk-N7OUQK7E.cjs.map → chunk-TQW3R44P.cjs.map} +1 -1
  89. package/dist/{chunk-GSFB537T.js → chunk-TTGZ2L3O.js} +23 -4
  90. package/dist/chunk-TTGZ2L3O.js.map +1 -0
  91. package/dist/{chunk-SYWR5G3T.js → chunk-VPTA4Z7G.js} +54 -7
  92. package/dist/chunk-VPTA4Z7G.js.map +1 -0
  93. package/dist/{chunk-2HZGDZZN.cjs → chunk-VZ6TE23U.cjs} +6 -6
  94. package/dist/{chunk-2HZGDZZN.cjs.map → chunk-VZ6TE23U.cjs.map} +1 -1
  95. package/dist/{chunk-TRVWMKNE.cjs → chunk-W6VJAUGM.cjs} +285 -64
  96. package/dist/chunk-W6VJAUGM.cjs.map +1 -0
  97. package/dist/{chunk-UDDVDQMF.js → chunk-W7KHHNZR.js} +235 -37
  98. package/dist/chunk-W7KHHNZR.js.map +1 -0
  99. package/dist/{chunk-KYMHFVAZ.cjs → chunk-Y4GCJJPF.cjs} +2 -2
  100. package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
  101. package/dist/{chunk-6CSXMWL4.cjs → chunk-YQV53HRR.cjs} +27 -4
  102. package/dist/chunk-YQV53HRR.cjs.map +1 -0
  103. package/dist/{chunk-7FCTCWHD.js → chunk-ZI3QDUHO.js} +3 -3
  104. package/dist/{chunk-7FCTCWHD.js.map → chunk-ZI3QDUHO.js.map} +1 -1
  105. package/dist/entries/apps.cjs +43 -42
  106. package/dist/entries/apps.js +8 -7
  107. package/dist/entries/captions.cjs +38 -30
  108. package/dist/entries/captions.d.cts +47 -1
  109. package/dist/entries/captions.d.ts +47 -1
  110. package/dist/entries/captions.js +1 -1
  111. package/dist/entries/credits.cjs +354 -174
  112. package/dist/entries/credits.d.cts +378 -27
  113. package/dist/entries/credits.d.ts +378 -27
  114. package/dist/entries/credits.js +11 -11
  115. package/dist/entries/llm-models.cjs +77 -57
  116. package/dist/entries/llm-models.d.cts +108 -7
  117. package/dist/entries/llm-models.d.ts +108 -7
  118. package/dist/entries/llm-models.js +2 -2
  119. package/dist/entries/media.cjs +63 -63
  120. package/dist/entries/media.d.cts +8 -0
  121. package/dist/entries/media.d.ts +8 -0
  122. package/dist/entries/media.js +1 -1
  123. package/dist/entries/model-catalog.cjs +161 -105
  124. package/dist/entries/model-catalog.d.cts +109 -22
  125. package/dist/entries/model-catalog.d.ts +109 -22
  126. package/dist/entries/model-catalog.js +4 -4
  127. package/dist/entries/models.cjs +466 -322
  128. package/dist/entries/models.d.cts +71 -5
  129. package/dist/entries/models.d.ts +71 -5
  130. package/dist/entries/models.js +5 -5
  131. package/dist/entries/nodes.cjs +226 -209
  132. package/dist/entries/nodes.d.cts +66 -7
  133. package/dist/entries/nodes.d.ts +66 -7
  134. package/dist/entries/nodes.js +10 -9
  135. package/dist/entries/pipeline.cjs +156 -152
  136. package/dist/entries/pipeline.d.cts +14 -4
  137. package/dist/entries/pipeline.d.ts +14 -4
  138. package/dist/entries/pipeline.js +3 -3
  139. package/dist/entries/runtime-config.cjs +29 -29
  140. package/dist/entries/runtime-config.d.cts +10 -7
  141. package/dist/entries/runtime-config.d.ts +10 -7
  142. package/dist/entries/runtime-config.js +1 -1
  143. package/dist/entries/social.cjs +177 -177
  144. package/dist/entries/social.js +2 -2
  145. package/dist/entries/types.d.cts +8 -0
  146. package/dist/entries/types.d.ts +8 -0
  147. package/dist/entries/ugc.cjs +71 -71
  148. package/dist/entries/ugc.js +4 -4
  149. package/dist/entries/video.cjs +154 -150
  150. package/dist/entries/video.d.cts +11 -2
  151. package/dist/entries/video.d.ts +11 -2
  152. package/dist/entries/video.js +6 -6
  153. package/dist/entries/workflow.cjs +150 -150
  154. package/dist/entries/workflow.d.cts +1 -1
  155. package/dist/entries/workflow.d.ts +1 -1
  156. package/dist/entries/workflow.js +2 -2
  157. package/dist/index.cjs +2136 -1704
  158. package/dist/index.d.cts +10 -10
  159. package/dist/index.d.ts +10 -10
  160. package/dist/index.js +27 -27
  161. package/dist/{model-catalog-CCEcv08q.d.ts → model-catalog-Cf9fkEUp.d.cts} +45 -2
  162. package/dist/{model-catalog-CCEcv08q.d.cts → model-catalog-Cf9fkEUp.d.ts} +45 -2
  163. package/dist/{model-constants-B88p6XR0.d.ts → model-constants-BxjiWVQ9.d.ts} +215 -32
  164. package/dist/{model-constants-Cf3zaITt.d.cts → model-constants-C_Nyft_i.d.cts} +215 -32
  165. package/package.json +1 -1
  166. package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
  167. package/src/__tests__/credit-identifiers.test.ts +29 -0
  168. package/src/__tests__/extend-providers.test.ts +359 -39
  169. package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
  170. package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
  171. package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
  172. package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
  173. package/src/__tests__/flux-3-klein.test.ts +203 -0
  174. package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
  175. package/src/__tests__/gvp-supported-providers.test.ts +27 -2
  176. package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
  177. package/src/__tests__/lip-sync-levers.test.ts +31 -0
  178. package/src/__tests__/llm-models.test.ts +139 -12
  179. package/src/__tests__/llm-price-key.test.ts +164 -1
  180. package/src/__tests__/model-makers.test.ts +3 -0
  181. package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
  182. package/src/__tests__/node-runtime-keys.test.ts +7 -0
  183. package/src/__tests__/normalize-node-params.test.ts +172 -1
  184. package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
  185. package/src/__tests__/prompt-length-limits.test.ts +4 -0
  186. package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
  187. package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
  188. package/src/__tests__/seedance-task-type.test.ts +13 -3
  189. package/src/__tests__/sequence-execution.test.ts +22 -1
  190. package/src/__tests__/suno-credit-type.test.ts +21 -2
  191. package/src/__tests__/transcribe-capabilities.test.ts +41 -2
  192. package/src/__tests__/transcribe-preflight.test.ts +50 -1
  193. package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
  194. package/src/__tests__/video-analysis-pricing.test.ts +10 -9
  195. package/src/__tests__/video-audio-capability.test.ts +35 -6
  196. package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
  197. package/src/__tests__/video-upscale-params.test.ts +62 -0
  198. package/src/caption-styles.ts +62 -0
  199. package/src/catalog-projection.ts +8 -0
  200. package/src/credit-estimators/add-captions-nemotron.ts +73 -0
  201. package/src/credit-estimators/index.ts +20 -0
  202. package/src/credit-estimators/nemotron-transcribe.ts +87 -0
  203. package/src/credit-identifiers.ts +351 -41
  204. package/src/entries/captions.ts +2 -0
  205. package/src/entries/credits.ts +37 -2
  206. package/src/entries/llm-models.ts +6 -0
  207. package/src/entries/model-catalog.ts +22 -0
  208. package/src/entries/models.ts +50 -0
  209. package/src/entries/nodes.ts +4 -0
  210. package/src/entries/pipeline.ts +1 -1
  211. package/src/entries/video.ts +1 -1
  212. package/src/flux-3-klein.ts +69 -0
  213. package/src/freecut-protocol.ts +8 -0
  214. package/src/input-image-pricing.ts +23 -6
  215. package/src/lip-sync-levers.ts +56 -0
  216. package/src/lip-sync-pricing.ts +91 -1
  217. package/src/llm-models.ts +305 -16
  218. package/src/model-catalog.ts +529 -28
  219. package/src/model-constants.ts +417 -41
  220. package/src/model-tree.ts +2 -1
  221. package/src/nodaro-video-upscale.ts +48 -0
  222. package/src/node-default-mappings.ts +6 -0
  223. package/src/node-runtime-keys.ts +3 -0
  224. package/src/normalize-node-params.ts +172 -3
  225. package/src/runtime-config/contract.ts +10 -7
  226. package/src/seedance-draft.ts +2 -1
  227. package/src/seedance-extend-rate.ts +116 -0
  228. package/src/sequence-execution.ts +24 -0
  229. package/src/transcribe-preflight.ts +81 -7
  230. package/src/video-analysis-pricing.ts +28 -15
  231. package/src/video-duration.ts +9 -0
  232. package/src/video-ui-defaults.ts +5 -3
  233. package/src/video-upscale-params.ts +67 -0
  234. package/dist/chunk-2W745U4A.cjs.map +0 -1
  235. package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
  236. package/dist/chunk-3OYO3XCC.js.map +0 -1
  237. package/dist/chunk-5YYN5X57.js.map +0 -1
  238. package/dist/chunk-6CSXMWL4.cjs.map +0 -1
  239. package/dist/chunk-6G7NN4S4.js.map +0 -1
  240. package/dist/chunk-AFYTX4AI.cjs.map +0 -1
  241. package/dist/chunk-AOJ6B7K4.cjs.map +0 -1
  242. package/dist/chunk-BLJUCPMV.cjs.map +0 -1
  243. package/dist/chunk-E2HZTGYX.js.map +0 -1
  244. package/dist/chunk-FVII3KHN.js.map +0 -1
  245. package/dist/chunk-GSFB537T.js.map +0 -1
  246. package/dist/chunk-HSHCCBIV.js.map +0 -1
  247. package/dist/chunk-IDTKF5EX.cjs.map +0 -1
  248. package/dist/chunk-IWWVPR3W.cjs.map +0 -1
  249. package/dist/chunk-KJSRPHJ2.cjs.map +0 -1
  250. package/dist/chunk-KYMHFVAZ.cjs.map +0 -1
  251. package/dist/chunk-MYJQELFN.cjs.map +0 -1
  252. package/dist/chunk-NGKKNSK6.js.map +0 -1
  253. package/dist/chunk-PTD6EDUU.js.map +0 -1
  254. package/dist/chunk-Q6IES3U2.js.map +0 -1
  255. package/dist/chunk-QWYFHQYK.cjs +0 -357
  256. package/dist/chunk-QWYFHQYK.cjs.map +0 -1
  257. package/dist/chunk-S24ZBUB4.js.map +0 -1
  258. package/dist/chunk-SYWR5G3T.js.map +0 -1
  259. package/dist/chunk-TRVWMKNE.cjs.map +0 -1
  260. package/dist/chunk-UDDVDQMF.js.map +0 -1
  261. package/dist/chunk-VACPZPUA.cjs.map +0 -1
  262. package/dist/chunk-WRSWH7US.cjs.map +0 -1
  263. package/dist/chunk-Y6X7UJSD.js.map +0 -1
  264. package/dist/chunk-YCXRSWCQ.js.map +0 -1
@@ -1,157 +1,158 @@
1
1
  'use strict';
2
2
 
3
- var chunkCIPPPT7E_cjs = require('../chunk-CIPPPT7E.cjs');
4
- var chunk2D5LQFV4_cjs = require('../chunk-2D5LQFV4.cjs');
3
+ var chunkCHTZZRAL_cjs = require('../chunk-CHTZZRAL.cjs');
4
+ var chunkOOZW2MM6_cjs = require('../chunk-OOZW2MM6.cjs');
5
5
  require('../chunk-YTXP4VHD.cjs');
6
- require('../chunk-QWYFHQYK.cjs');
7
- require('../chunk-AOJ6B7K4.cjs');
8
- require('../chunk-4ZEFP2FQ.cjs');
6
+ require('../chunk-CHS2SIP6.cjs');
7
+ require('../chunk-T3TOSWVH.cjs');
8
+ require('../chunk-D4KWNDPH.cjs');
9
+ require('../chunk-SPAHI7DY.cjs');
9
10
  require('../chunk-V24EPI5N.cjs');
10
11
  require('../chunk-D34K455O.cjs');
11
- require('../chunk-TRVWMKNE.cjs');
12
- require('../chunk-MYJQELFN.cjs');
12
+ require('../chunk-W6VJAUGM.cjs');
13
+ require('../chunk-5OBTGNUQ.cjs');
13
14
 
14
15
 
15
16
 
16
17
  Object.defineProperty(exports, "DEFAULT_TEMPLATE_CATEGORY", {
17
18
  enumerable: true,
18
- get: function () { return chunkCIPPPT7E_cjs.DEFAULT_TEMPLATE_CATEGORY; }
19
+ get: function () { return chunkCHTZZRAL_cjs.DEFAULT_TEMPLATE_CATEGORY; }
19
20
  });
20
21
  Object.defineProperty(exports, "HANDLE_PORT_SEPARATOR", {
21
22
  enumerable: true,
22
- get: function () { return chunkCIPPPT7E_cjs.HANDLE_PORT_SEPARATOR; }
23
+ get: function () { return chunkCHTZZRAL_cjs.HANDLE_PORT_SEPARATOR; }
23
24
  });
24
25
  Object.defineProperty(exports, "INPUT_FIELD_MAP", {
25
26
  enumerable: true,
26
- get: function () { return chunkCIPPPT7E_cjs.INPUT_FIELD_MAP; }
27
+ get: function () { return chunkCHTZZRAL_cjs.INPUT_FIELD_MAP; }
27
28
  });
28
29
  Object.defineProperty(exports, "LEGACY_TEMPLATE_CATEGORIES", {
29
30
  enumerable: true,
30
- get: function () { return chunkCIPPPT7E_cjs.LEGACY_TEMPLATE_CATEGORIES; }
31
+ get: function () { return chunkCHTZZRAL_cjs.LEGACY_TEMPLATE_CATEGORIES; }
31
32
  });
32
33
  Object.defineProperty(exports, "OAUTH_SCOPES", {
33
34
  enumerable: true,
34
- get: function () { return chunkCIPPPT7E_cjs.OAUTH_SCOPES; }
35
+ get: function () { return chunkCHTZZRAL_cjs.OAUTH_SCOPES; }
35
36
  });
36
37
  Object.defineProperty(exports, "OUTPUT_FIELD_MAP", {
37
38
  enumerable: true,
38
- get: function () { return chunkCIPPPT7E_cjs.OUTPUT_FIELD_MAP; }
39
+ get: function () { return chunkCHTZZRAL_cjs.OUTPUT_FIELD_MAP; }
39
40
  });
40
41
  Object.defineProperty(exports, "RECAST_SEGMENT_PACKS", {
41
42
  enumerable: true,
42
- get: function () { return chunkCIPPPT7E_cjs.RECAST_SEGMENT_PACKS; }
43
+ get: function () { return chunkCHTZZRAL_cjs.RECAST_SEGMENT_PACKS; }
43
44
  });
44
45
  Object.defineProperty(exports, "TEMPLATE_CATEGORIES", {
45
46
  enumerable: true,
46
- get: function () { return chunkCIPPPT7E_cjs.TEMPLATE_CATEGORIES; }
47
+ get: function () { return chunkCHTZZRAL_cjs.TEMPLATE_CATEGORIES; }
47
48
  });
48
49
  Object.defineProperty(exports, "applyHandleInputOverride", {
49
50
  enumerable: true,
50
- get: function () { return chunkCIPPPT7E_cjs.applyHandleInputOverride; }
51
+ get: function () { return chunkCHTZZRAL_cjs.applyHandleInputOverride; }
51
52
  });
52
53
  Object.defineProperty(exports, "findRestrictedPickerValue", {
53
54
  enumerable: true,
54
- get: function () { return chunkCIPPPT7E_cjs.findRestrictedPickerValue; }
55
+ get: function () { return chunkCHTZZRAL_cjs.findRestrictedPickerValue; }
55
56
  });
56
57
  Object.defineProperty(exports, "isHandleInputWired", {
57
58
  enumerable: true,
58
- get: function () { return chunkCIPPPT7E_cjs.isHandleInputWired; }
59
+ get: function () { return chunkCHTZZRAL_cjs.isHandleInputWired; }
59
60
  });
60
61
  Object.defineProperty(exports, "isTemplateCategory", {
61
62
  enumerable: true,
62
- get: function () { return chunkCIPPPT7E_cjs.isTemplateCategory; }
63
+ get: function () { return chunkCHTZZRAL_cjs.isTemplateCategory; }
63
64
  });
64
65
  Object.defineProperty(exports, "mergeExposedSettings", {
65
66
  enumerable: true,
66
- get: function () { return chunkCIPPPT7E_cjs.mergeExposedSettings; }
67
+ get: function () { return chunkCHTZZRAL_cjs.mergeExposedSettings; }
67
68
  });
68
69
  Object.defineProperty(exports, "normalizeTemplateCategory", {
69
70
  enumerable: true,
70
- get: function () { return chunkCIPPPT7E_cjs.normalizeTemplateCategory; }
71
+ get: function () { return chunkCHTZZRAL_cjs.normalizeTemplateCategory; }
71
72
  });
72
73
  Object.defineProperty(exports, "parseHandleId", {
73
74
  enumerable: true,
74
- get: function () { return chunkCIPPPT7E_cjs.parseHandleId; }
75
+ get: function () { return chunkCHTZZRAL_cjs.parseHandleId; }
75
76
  });
76
77
  Object.defineProperty(exports, "resolveTemplateCategory", {
77
78
  enumerable: true,
78
- get: function () { return chunkCIPPPT7E_cjs.resolveTemplateCategory; }
79
+ get: function () { return chunkCHTZZRAL_cjs.resolveTemplateCategory; }
79
80
  });
80
81
  Object.defineProperty(exports, "templateCategoryStoredValues", {
81
82
  enumerable: true,
82
- get: function () { return chunkCIPPPT7E_cjs.templateCategoryStoredValues; }
83
+ get: function () { return chunkCHTZZRAL_cjs.templateCategoryStoredValues; }
83
84
  });
84
85
  Object.defineProperty(exports, "INPUT_FIELD_EXTRA_KEYS", {
85
86
  enumerable: true,
86
- get: function () { return chunk2D5LQFV4_cjs.INPUT_FIELD_EXTRA_KEYS; }
87
+ get: function () { return chunkOOZW2MM6_cjs.INPUT_FIELD_EXTRA_KEYS; }
87
88
  });
88
89
  Object.defineProperty(exports, "INPUT_NODE_TYPES", {
89
90
  enumerable: true,
90
- get: function () { return chunk2D5LQFV4_cjs.INPUT_NODE_TYPES; }
91
+ get: function () { return chunkOOZW2MM6_cjs.INPUT_NODE_TYPES; }
91
92
  });
92
93
  Object.defineProperty(exports, "LEGACY_EXPOSED_FIELD_KEYS", {
93
94
  enumerable: true,
94
- get: function () { return chunk2D5LQFV4_cjs.LEGACY_EXPOSED_FIELD_KEYS; }
95
+ get: function () { return chunkOOZW2MM6_cjs.LEGACY_EXPOSED_FIELD_KEYS; }
95
96
  });
96
97
  Object.defineProperty(exports, "canonicalExposedFieldKey", {
97
98
  enumerable: true,
98
- get: function () { return chunk2D5LQFV4_cjs.canonicalExposedFieldKey; }
99
+ get: function () { return chunkOOZW2MM6_cjs.canonicalExposedFieldKey; }
99
100
  });
100
101
  Object.defineProperty(exports, "canonicalizeOverrideKeys", {
101
102
  enumerable: true,
102
- get: function () { return chunk2D5LQFV4_cjs.canonicalizeOverrideKeys; }
103
+ get: function () { return chunkOOZW2MM6_cjs.canonicalizeOverrideKeys; }
103
104
  });
104
105
  Object.defineProperty(exports, "cleanOrphanedItems", {
105
106
  enumerable: true,
106
- get: function () { return chunk2D5LQFV4_cjs.cleanOrphanedItems; }
107
+ get: function () { return chunkOOZW2MM6_cjs.cleanOrphanedItems; }
107
108
  });
108
109
  Object.defineProperty(exports, "flattenItems", {
109
110
  enumerable: true,
110
- get: function () { return chunk2D5LQFV4_cjs.flattenItems; }
111
+ get: function () { return chunkOOZW2MM6_cjs.flattenItems; }
111
112
  });
112
113
  Object.defineProperty(exports, "getInputFieldExtraKeys", {
113
114
  enumerable: true,
114
- get: function () { return chunk2D5LQFV4_cjs.getInputFieldExtraKeys; }
115
+ get: function () { return chunkOOZW2MM6_cjs.getInputFieldExtraKeys; }
115
116
  });
116
117
  Object.defineProperty(exports, "getInputFieldSchema", {
117
118
  enumerable: true,
118
- get: function () { return chunk2D5LQFV4_cjs.getInputFieldSchema; }
119
+ get: function () { return chunkOOZW2MM6_cjs.getInputFieldSchema; }
119
120
  });
120
121
  Object.defineProperty(exports, "getInputNodes", {
121
122
  enumerable: true,
122
- get: function () { return chunk2D5LQFV4_cjs.getInputNodes; }
123
+ get: function () { return chunkOOZW2MM6_cjs.getInputNodes; }
123
124
  });
124
125
  Object.defineProperty(exports, "getItemSortId", {
125
126
  enumerable: true,
126
- get: function () { return chunk2D5LQFV4_cjs.getItemSortId; }
127
+ get: function () { return chunkOOZW2MM6_cjs.getItemSortId; }
127
128
  });
128
129
  Object.defineProperty(exports, "getNodeLabel", {
129
130
  enumerable: true,
130
- get: function () { return chunk2D5LQFV4_cjs.getNodeLabel; }
131
+ get: function () { return chunkOOZW2MM6_cjs.getNodeLabel; }
131
132
  });
132
133
  Object.defineProperty(exports, "getNodeResult", {
133
134
  enumerable: true,
134
- get: function () { return chunk2D5LQFV4_cjs.getNodeResult; }
135
+ get: function () { return chunkOOZW2MM6_cjs.getNodeResult; }
135
136
  });
136
137
  Object.defineProperty(exports, "getOutputNodes", {
137
138
  enumerable: true,
138
- get: function () { return chunk2D5LQFV4_cjs.getOutputNodes; }
139
+ get: function () { return chunkOOZW2MM6_cjs.getOutputNodes; }
139
140
  });
140
141
  Object.defineProperty(exports, "getOutputType", {
141
142
  enumerable: true,
142
- get: function () { return chunk2D5LQFV4_cjs.getOutputType; }
143
+ get: function () { return chunkOOZW2MM6_cjs.getOutputType; }
143
144
  });
144
145
  Object.defineProperty(exports, "mergeNodeInputOverrides", {
145
146
  enumerable: true,
146
- get: function () { return chunk2D5LQFV4_cjs.mergeNodeInputOverrides; }
147
+ get: function () { return chunkOOZW2MM6_cjs.mergeNodeInputOverrides; }
147
148
  });
148
149
  Object.defineProperty(exports, "migrateToItems", {
149
150
  enumerable: true,
150
- get: function () { return chunk2D5LQFV4_cjs.migrateToItems; }
151
+ get: function () { return chunkOOZW2MM6_cjs.migrateToItems; }
151
152
  });
152
153
  Object.defineProperty(exports, "validateNoNestedGroups", {
153
154
  enumerable: true,
154
- get: function () { return chunk2D5LQFV4_cjs.validateNoNestedGroups; }
155
+ get: function () { return chunkOOZW2MM6_cjs.validateNoNestedGroups; }
155
156
  });
156
157
  //# sourceMappingURL=apps.cjs.map
157
158
  //# sourceMappingURL=apps.cjs.map
@@ -1,12 +1,13 @@
1
- export { DEFAULT_TEMPLATE_CATEGORY, HANDLE_PORT_SEPARATOR, INPUT_FIELD_MAP, LEGACY_TEMPLATE_CATEGORIES, OAUTH_SCOPES, OUTPUT_FIELD_MAP, RECAST_SEGMENT_PACKS, TEMPLATE_CATEGORIES, applyHandleInputOverride, findRestrictedPickerValue, isHandleInputWired, isTemplateCategory, mergeExposedSettings, normalizeTemplateCategory, parseHandleId, resolveTemplateCategory, templateCategoryStoredValues } from '../chunk-CC4V2B7S.js';
2
- export { INPUT_FIELD_EXTRA_KEYS, INPUT_NODE_TYPES, LEGACY_EXPOSED_FIELD_KEYS, canonicalExposedFieldKey, canonicalizeOverrideKeys, cleanOrphanedItems, flattenItems, getInputFieldExtraKeys, getInputFieldSchema, getInputNodes, getItemSortId, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, mergeNodeInputOverrides, migrateToItems, validateNoNestedGroups } from '../chunk-JZGZ26YB.js';
1
+ export { DEFAULT_TEMPLATE_CATEGORY, HANDLE_PORT_SEPARATOR, INPUT_FIELD_MAP, LEGACY_TEMPLATE_CATEGORIES, OAUTH_SCOPES, OUTPUT_FIELD_MAP, RECAST_SEGMENT_PACKS, TEMPLATE_CATEGORIES, applyHandleInputOverride, findRestrictedPickerValue, isHandleInputWired, isTemplateCategory, mergeExposedSettings, normalizeTemplateCategory, parseHandleId, resolveTemplateCategory, templateCategoryStoredValues } from '../chunk-SHH2T4CR.js';
2
+ export { INPUT_FIELD_EXTRA_KEYS, INPUT_NODE_TYPES, LEGACY_EXPOSED_FIELD_KEYS, canonicalExposedFieldKey, canonicalizeOverrideKeys, cleanOrphanedItems, flattenItems, getInputFieldExtraKeys, getInputFieldSchema, getInputNodes, getItemSortId, getNodeLabel, getNodeResult, getOutputNodes, getOutputType, mergeNodeInputOverrides, migrateToItems, validateNoNestedGroups } from '../chunk-7KQ6W5DS.js';
3
3
  import '../chunk-JCNTNAZP.js';
4
- import '../chunk-NGKKNSK6.js';
5
- import '../chunk-E2HZTGYX.js';
6
- import '../chunk-I2RQB7VG.js';
4
+ import '../chunk-TPQJKS7D.js';
5
+ import '../chunk-M7G66F6H.js';
6
+ import '../chunk-Q2Y4JHF7.js';
7
+ import '../chunk-KB2SQAR3.js';
7
8
  import '../chunk-KL6GAYTT.js';
8
9
  import '../chunk-RGNHHIMN.js';
9
- import '../chunk-UDDVDQMF.js';
10
- import '../chunk-5YYN5X57.js';
10
+ import '../chunk-W7KHHNZR.js';
11
+ import '../chunk-DZ4IOP3Q.js';
11
12
  //# sourceMappingURL=apps.js.map
12
13
  //# sourceMappingURL=apps.js.map
@@ -1,124 +1,132 @@
1
1
  'use strict';
2
2
 
3
- var chunkWRSWH7US_cjs = require('../chunk-WRSWH7US.cjs');
3
+ var chunk6BRWPJPP_cjs = require('../chunk-6BRWPJPP.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ALL_CAPTION_STYLES", {
8
8
  enumerable: true,
9
- get: function () { return chunkWRSWH7US_cjs.ALL_CAPTION_STYLES; }
9
+ get: function () { return chunk6BRWPJPP_cjs.ALL_CAPTION_STYLES; }
10
10
  });
11
11
  Object.defineProperty(exports, "CAPTION_LEVER_BOUNDS", {
12
12
  enumerable: true,
13
- get: function () { return chunkWRSWH7US_cjs.CAPTION_LEVER_BOUNDS; }
13
+ get: function () { return chunk6BRWPJPP_cjs.CAPTION_LEVER_BOUNDS; }
14
14
  });
15
15
  Object.defineProperty(exports, "CAPTION_LOOKS", {
16
16
  enumerable: true,
17
- get: function () { return chunkWRSWH7US_cjs.CAPTION_LOOKS; }
17
+ get: function () { return chunk6BRWPJPP_cjs.CAPTION_LOOKS; }
18
18
  });
19
19
  Object.defineProperty(exports, "CAPTION_LOOK_IDS", {
20
20
  enumerable: true,
21
- get: function () { return chunkWRSWH7US_cjs.CAPTION_LOOK_IDS; }
21
+ get: function () { return chunk6BRWPJPP_cjs.CAPTION_LOOK_IDS; }
22
22
  });
23
23
  Object.defineProperty(exports, "CAPTION_MAX_WORDS_PER_LINE_MAX", {
24
24
  enumerable: true,
25
- get: function () { return chunkWRSWH7US_cjs.CAPTION_MAX_WORDS_PER_LINE_MAX; }
25
+ get: function () { return chunk6BRWPJPP_cjs.CAPTION_MAX_WORDS_PER_LINE_MAX; }
26
26
  });
27
27
  Object.defineProperty(exports, "CAPTION_MAX_WORDS_PER_LINE_MIN", {
28
28
  enumerable: true,
29
- get: function () { return chunkWRSWH7US_cjs.CAPTION_MAX_WORDS_PER_LINE_MIN; }
29
+ get: function () { return chunk6BRWPJPP_cjs.CAPTION_MAX_WORDS_PER_LINE_MIN; }
30
30
  });
31
31
  Object.defineProperty(exports, "CAPTION_SEGMENT_SCHEMA_KEYS", {
32
32
  enumerable: true,
33
- get: function () { return chunkWRSWH7US_cjs.CAPTION_SEGMENT_SCHEMA_KEYS; }
33
+ get: function () { return chunk6BRWPJPP_cjs.CAPTION_SEGMENT_SCHEMA_KEYS; }
34
34
  });
35
35
  Object.defineProperty(exports, "DEFAULT_CAPTION_LOOK", {
36
36
  enumerable: true,
37
- get: function () { return chunkWRSWH7US_cjs.DEFAULT_CAPTION_LOOK; }
37
+ get: function () { return chunk6BRWPJPP_cjs.DEFAULT_CAPTION_LOOK; }
38
38
  });
39
39
  Object.defineProperty(exports, "DEFAULT_SUBTITLE_LOOK", {
40
40
  enumerable: true,
41
- get: function () { return chunkWRSWH7US_cjs.DEFAULT_SUBTITLE_LOOK; }
41
+ get: function () { return chunk6BRWPJPP_cjs.DEFAULT_SUBTITLE_LOOK; }
42
42
  });
43
43
  Object.defineProperty(exports, "KINETIC_CAPTION_STYLES", {
44
44
  enumerable: true,
45
- get: function () { return chunkWRSWH7US_cjs.KINETIC_CAPTION_STYLES; }
45
+ get: function () { return chunk6BRWPJPP_cjs.KINETIC_CAPTION_STYLES; }
46
46
  });
47
47
  Object.defineProperty(exports, "KINETIC_ONLY_CAPTION_LEVER_KEYS", {
48
48
  enumerable: true,
49
- get: function () { return chunkWRSWH7US_cjs.KINETIC_ONLY_CAPTION_LEVER_KEYS; }
49
+ get: function () { return chunk6BRWPJPP_cjs.KINETIC_ONLY_CAPTION_LEVER_KEYS; }
50
50
  });
51
51
  Object.defineProperty(exports, "STATIC_CAPTION_STYLES", {
52
52
  enumerable: true,
53
- get: function () { return chunkWRSWH7US_cjs.STATIC_CAPTION_STYLES; }
53
+ get: function () { return chunk6BRWPJPP_cjs.STATIC_CAPTION_STYLES; }
54
54
  });
55
55
  Object.defineProperty(exports, "SUPPORTED_FONT_NAMES", {
56
56
  enumerable: true,
57
- get: function () { return chunkWRSWH7US_cjs.SUPPORTED_FONT_NAMES; }
57
+ get: function () { return chunk6BRWPJPP_cjs.SUPPORTED_FONT_NAMES; }
58
58
  });
59
59
  Object.defineProperty(exports, "autoStrokeWidth", {
60
60
  enumerable: true,
61
- get: function () { return chunkWRSWH7US_cjs.autoStrokeWidth; }
61
+ get: function () { return chunk6BRWPJPP_cjs.autoStrokeWidth; }
62
62
  });
63
63
  Object.defineProperty(exports, "captionFontWeightSchema", {
64
64
  enumerable: true,
65
- get: function () { return chunkWRSWH7US_cjs.captionFontWeightSchema; }
65
+ get: function () { return chunk6BRWPJPP_cjs.captionFontWeightSchema; }
66
66
  });
67
67
  Object.defineProperty(exports, "captionInputSchema", {
68
68
  enumerable: true,
69
- get: function () { return chunkWRSWH7US_cjs.captionInputSchema; }
69
+ get: function () { return chunk6BRWPJPP_cjs.captionInputSchema; }
70
70
  });
71
71
  Object.defineProperty(exports, "captionPlanBodyLevers", {
72
72
  enumerable: true,
73
- get: function () { return chunkWRSWH7US_cjs.captionPlanBodyLevers; }
73
+ get: function () { return chunk6BRWPJPP_cjs.captionPlanBodyLevers; }
74
74
  });
75
75
  Object.defineProperty(exports, "captionRoutesToRemotion", {
76
76
  enumerable: true,
77
- get: function () { return chunkWRSWH7US_cjs.captionRoutesToRemotion; }
77
+ get: function () { return chunk6BRWPJPP_cjs.captionRoutesToRemotion; }
78
78
  });
79
79
  Object.defineProperty(exports, "captionSegmentInputSchema", {
80
80
  enumerable: true,
81
- get: function () { return chunkWRSWH7US_cjs.captionSegmentInputSchema; }
81
+ get: function () { return chunk6BRWPJPP_cjs.captionSegmentInputSchema; }
82
+ });
83
+ Object.defineProperty(exports, "captionsNeedTranscription", {
84
+ enumerable: true,
85
+ get: function () { return chunk6BRWPJPP_cjs.captionsNeedTranscription; }
82
86
  });
83
87
  Object.defineProperty(exports, "findSegmentOverlap", {
84
88
  enumerable: true,
85
- get: function () { return chunkWRSWH7US_cjs.findSegmentOverlap; }
89
+ get: function () { return chunk6BRWPJPP_cjs.findSegmentOverlap; }
86
90
  });
87
91
  Object.defineProperty(exports, "isBareDashToken", {
88
92
  enumerable: true,
89
- get: function () { return chunkWRSWH7US_cjs.isBareDashToken; }
93
+ get: function () { return chunk6BRWPJPP_cjs.isBareDashToken; }
90
94
  });
91
95
  Object.defineProperty(exports, "isKineticCaptionStyle", {
92
96
  enumerable: true,
93
- get: function () { return chunkWRSWH7US_cjs.isKineticCaptionStyle; }
97
+ get: function () { return chunk6BRWPJPP_cjs.isKineticCaptionStyle; }
98
+ });
99
+ Object.defineProperty(exports, "isStaticTextCaptionSource", {
100
+ enumerable: true,
101
+ get: function () { return chunk6BRWPJPP_cjs.isStaticTextCaptionSource; }
94
102
  });
95
103
  Object.defineProperty(exports, "nonBlankCaptionText", {
96
104
  enumerable: true,
97
- get: function () { return chunkWRSWH7US_cjs.nonBlankCaptionText; }
105
+ get: function () { return chunk6BRWPJPP_cjs.nonBlankCaptionText; }
98
106
  });
99
107
  Object.defineProperty(exports, "normalizeCaptionNumericLevers", {
100
108
  enumerable: true,
101
- get: function () { return chunkWRSWH7US_cjs.normalizeCaptionNumericLevers; }
109
+ get: function () { return chunk6BRWPJPP_cjs.normalizeCaptionNumericLevers; }
102
110
  });
103
111
  Object.defineProperty(exports, "parseCaptionPlan", {
104
112
  enumerable: true,
105
- get: function () { return chunkWRSWH7US_cjs.parseCaptionPlan; }
113
+ get: function () { return chunk6BRWPJPP_cjs.parseCaptionPlan; }
106
114
  });
107
115
  Object.defineProperty(exports, "resolveCaptionLevers", {
108
116
  enumerable: true,
109
- get: function () { return chunkWRSWH7US_cjs.resolveCaptionLevers; }
117
+ get: function () { return chunk6BRWPJPP_cjs.resolveCaptionLevers; }
110
118
  });
111
119
  Object.defineProperty(exports, "resolveCaptionLook", {
112
120
  enumerable: true,
113
- get: function () { return chunkWRSWH7US_cjs.resolveCaptionLook; }
121
+ get: function () { return chunk6BRWPJPP_cjs.resolveCaptionLook; }
114
122
  });
115
123
  Object.defineProperty(exports, "styleCaptionPlan", {
116
124
  enumerable: true,
117
- get: function () { return chunkWRSWH7US_cjs.styleCaptionPlan; }
125
+ get: function () { return chunk6BRWPJPP_cjs.styleCaptionPlan; }
118
126
  });
119
127
  Object.defineProperty(exports, "trimEdgeDashTokens", {
120
128
  enumerable: true,
121
- get: function () { return chunkWRSWH7US_cjs.trimEdgeDashTokens; }
129
+ get: function () { return chunk6BRWPJPP_cjs.trimEdgeDashTokens; }
122
130
  });
123
131
  //# sourceMappingURL=captions.cjs.map
124
132
  //# sourceMappingURL=captions.cjs.map
@@ -80,6 +80,52 @@ declare function captionRoutesToRemotion(input: {
80
80
  positionY?: unknown;
81
81
  maxWordsPerLine?: unknown;
82
82
  }): boolean;
83
+ /**
84
+ * Is this render's caption source a STATIC TEXT BLOCK — the caller's `text`,
85
+ * burned once for the whole clip — rather than timed words?
86
+ *
87
+ * On `subtitle`, `text` IS the caption: one block, `\n` a forced line break,
88
+ * never transcribed over, whichever renderer draws it (the cheap FFmpeg drawtext
89
+ * burn with no styling lever, the Remotion SubtitleOverlay with one). On a
90
+ * KINETIC style the same `text` stays what it always was — a FALLBACK, spread
91
+ * evenly across the clip as synthetic word timings when transcription returns
92
+ * nothing.
93
+ *
94
+ * Source precedence is unchanged: `captions[]` > wired transcript > (`text` on
95
+ * subtitle) > auto-transcription. `auto_transcribe` is deliberately NOT read: on
96
+ * a subtitle the caller's text wins either way.
97
+ *
98
+ * Shared by the WORKER (which must not pay for a transcription it then discards)
99
+ * and the ROUTE/DAG ingress, so the two cannot disagree about where the words
100
+ * come from.
101
+ */
102
+ declare function isStaticTextCaptionSource(input: {
103
+ style?: string | null;
104
+ text?: string | null;
105
+ captions?: readonly unknown[] | null;
106
+ transcript?: unknown;
107
+ segments?: readonly unknown[] | null;
108
+ }): boolean;
109
+ /**
110
+ * Whether an Add Captions render transcribes its audio: it carries no caption
111
+ * source of its own — no captions, no wired transcript, no static text block —
112
+ * auto-transcribe is not turned off, and its segments (when it has any) do not
113
+ * all carry their own text or captions. The worker decides with it; the route's
114
+ * credit guard asks it so a request is judged on its transcription model only
115
+ * when one will run, and every place that prices a run on an engine charged by
116
+ * the video's length (Nemotron 3.5 Transcribe) holds that price only when it does.
117
+ */
118
+ declare function captionsNeedTranscription(input: {
119
+ style?: string | null;
120
+ text?: string | null;
121
+ captions?: readonly unknown[] | null;
122
+ transcript?: unknown;
123
+ segments?: ReadonlyArray<{
124
+ readonly text?: unknown;
125
+ readonly captions?: readonly unknown[] | null;
126
+ }> | null;
127
+ auto_transcribe?: boolean | null;
128
+ }): boolean;
83
129
  /**
84
130
  * `maxWordsPerLine` — caps how many words a caption LINE (or tiktok-words page)
85
131
  * may hold, on top of the frame-width budget, sentence ends and pauses that
@@ -351,4 +397,4 @@ declare function styleCaptionPlan(raw: unknown, nodeData: Readonly<Record<string
351
397
  error: string;
352
398
  };
353
399
 
354
- export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
400
+ export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, captionsNeedTranscription, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, isStaticTextCaptionSource, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
@@ -80,6 +80,52 @@ declare function captionRoutesToRemotion(input: {
80
80
  positionY?: unknown;
81
81
  maxWordsPerLine?: unknown;
82
82
  }): boolean;
83
+ /**
84
+ * Is this render's caption source a STATIC TEXT BLOCK — the caller's `text`,
85
+ * burned once for the whole clip — rather than timed words?
86
+ *
87
+ * On `subtitle`, `text` IS the caption: one block, `\n` a forced line break,
88
+ * never transcribed over, whichever renderer draws it (the cheap FFmpeg drawtext
89
+ * burn with no styling lever, the Remotion SubtitleOverlay with one). On a
90
+ * KINETIC style the same `text` stays what it always was — a FALLBACK, spread
91
+ * evenly across the clip as synthetic word timings when transcription returns
92
+ * nothing.
93
+ *
94
+ * Source precedence is unchanged: `captions[]` > wired transcript > (`text` on
95
+ * subtitle) > auto-transcription. `auto_transcribe` is deliberately NOT read: on
96
+ * a subtitle the caller's text wins either way.
97
+ *
98
+ * Shared by the WORKER (which must not pay for a transcription it then discards)
99
+ * and the ROUTE/DAG ingress, so the two cannot disagree about where the words
100
+ * come from.
101
+ */
102
+ declare function isStaticTextCaptionSource(input: {
103
+ style?: string | null;
104
+ text?: string | null;
105
+ captions?: readonly unknown[] | null;
106
+ transcript?: unknown;
107
+ segments?: readonly unknown[] | null;
108
+ }): boolean;
109
+ /**
110
+ * Whether an Add Captions render transcribes its audio: it carries no caption
111
+ * source of its own — no captions, no wired transcript, no static text block —
112
+ * auto-transcribe is not turned off, and its segments (when it has any) do not
113
+ * all carry their own text or captions. The worker decides with it; the route's
114
+ * credit guard asks it so a request is judged on its transcription model only
115
+ * when one will run, and every place that prices a run on an engine charged by
116
+ * the video's length (Nemotron 3.5 Transcribe) holds that price only when it does.
117
+ */
118
+ declare function captionsNeedTranscription(input: {
119
+ style?: string | null;
120
+ text?: string | null;
121
+ captions?: readonly unknown[] | null;
122
+ transcript?: unknown;
123
+ segments?: ReadonlyArray<{
124
+ readonly text?: unknown;
125
+ readonly captions?: readonly unknown[] | null;
126
+ }> | null;
127
+ auto_transcribe?: boolean | null;
128
+ }): boolean;
83
129
  /**
84
130
  * `maxWordsPerLine` — caps how many words a caption LINE (or tiktok-words page)
85
131
  * may hold, on top of the frame-width budget, sentence ends and pauses that
@@ -351,4 +397,4 @@ declare function styleCaptionPlan(raw: unknown, nodeData: Readonly<Record<string
351
397
  error: string;
352
398
  };
353
399
 
354
- export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
400
+ export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, type CaptionLookId, type CaptionLookLevers, type CaptionPlan, type CaptionPlanStyler, type CaptionSegmentInput, type CaptionStyle, type CaptionWordTiming, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, type KineticCaptionStyle, type KineticOnlyCaptionLeverKey, STATIC_CAPTION_STYLES, type StaticCaptionStyle, SupportedFontName, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, captionsNeedTranscription, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, isStaticTextCaptionSource, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens };
@@ -1,3 +1,3 @@
1
- export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, STATIC_CAPTION_STYLES, SUPPORTED_FONT_NAMES, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens } from '../chunk-HSHCCBIV.js';
1
+ export { ALL_CAPTION_STYLES, CAPTION_LEVER_BOUNDS, CAPTION_LOOKS, CAPTION_LOOK_IDS, CAPTION_MAX_WORDS_PER_LINE_MAX, CAPTION_MAX_WORDS_PER_LINE_MIN, CAPTION_SEGMENT_SCHEMA_KEYS, DEFAULT_CAPTION_LOOK, DEFAULT_SUBTITLE_LOOK, KINETIC_CAPTION_STYLES, KINETIC_ONLY_CAPTION_LEVER_KEYS, STATIC_CAPTION_STYLES, SUPPORTED_FONT_NAMES, autoStrokeWidth, captionFontWeightSchema, captionInputSchema, captionPlanBodyLevers, captionRoutesToRemotion, captionSegmentInputSchema, captionsNeedTranscription, findSegmentOverlap, isBareDashToken, isKineticCaptionStyle, isStaticTextCaptionSource, nonBlankCaptionText, normalizeCaptionNumericLevers, parseCaptionPlan, resolveCaptionLevers, resolveCaptionLook, styleCaptionPlan, trimEdgeDashTokens } from '../chunk-BQYCZLMF.js';
2
2
  //# sourceMappingURL=captions.js.map
3
3
  //# sourceMappingURL=captions.js.map