@nodaro/shared 3.63.0 → 3.65.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 (265) hide show
  1. package/dist/{chunk-3K24DWOH.js → chunk-222QM7CO.js} +3 -3
  2. package/dist/{chunk-3K24DWOH.js.map → chunk-222QM7CO.js.map} +1 -1
  3. package/dist/chunk-27HA6YOL.cjs +377 -0
  4. package/dist/chunk-27HA6YOL.cjs.map +1 -0
  5. package/dist/{chunk-4DVWXEB6.js → chunk-2NKF476Z.js} +3 -3
  6. package/dist/{chunk-4DVWXEB6.js.map → chunk-2NKF476Z.js.map} +1 -1
  7. package/dist/chunk-3AU52TSW.js +143 -0
  8. package/dist/chunk-3AU52TSW.js.map +1 -0
  9. package/dist/{chunk-F6WGGYQW.cjs → chunk-5NVGKXJV.cjs} +68 -29
  10. package/dist/chunk-5NVGKXJV.cjs.map +1 -0
  11. package/dist/{chunk-HWQ2SYNA.js → chunk-5SSMPYE5.js} +99 -9
  12. package/dist/chunk-5SSMPYE5.js.map +1 -0
  13. package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
  14. package/dist/chunk-6BRWPJPP.cjs.map +1 -0
  15. package/dist/{chunk-KHH54GRP.cjs → chunk-6ET3KDO4.cjs} +15 -338
  16. package/dist/chunk-6ET3KDO4.cjs.map +1 -0
  17. package/dist/{chunk-TM5JYSJF.cjs → chunk-6OSIOVF7.cjs} +98 -37
  18. package/dist/chunk-6OSIOVF7.cjs.map +1 -0
  19. package/dist/{chunk-YUER7TJG.js → chunk-6X5PBAC4.js} +13 -4
  20. package/dist/chunk-6X5PBAC4.js.map +1 -0
  21. package/dist/chunk-7BN4EDIC.cjs +185 -0
  22. package/dist/chunk-7BN4EDIC.cjs.map +1 -0
  23. package/dist/{chunk-6M563QE6.js → chunk-7OWXHW7Z.js} +78 -28
  24. package/dist/chunk-7OWXHW7Z.js.map +1 -0
  25. package/dist/{chunk-FXGNRYQQ.js → chunk-AT53ZQUC.js} +3 -3
  26. package/dist/{chunk-FXGNRYQQ.js.map → chunk-AT53ZQUC.js.map} +1 -1
  27. package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
  28. package/dist/chunk-BQYCZLMF.js.map +1 -0
  29. package/dist/{chunk-34QLPTSA.js → chunk-BSTAAGLY.js} +3 -3
  30. package/dist/{chunk-34QLPTSA.js.map → chunk-BSTAAGLY.js.map} +1 -1
  31. package/dist/{chunk-PSKZKLDG.js → chunk-CW6MMQNO.js} +562 -26
  32. package/dist/chunk-CW6MMQNO.js.map +1 -0
  33. package/dist/{chunk-EPXGG27L.js → chunk-D5Y3EYRM.js} +5 -5
  34. package/dist/{chunk-EPXGG27L.js.map → chunk-D5Y3EYRM.js.map} +1 -1
  35. package/dist/{chunk-XGVJGNZW.cjs → chunk-DQ2PARNH.cjs} +15 -5
  36. package/dist/chunk-DQ2PARNH.cjs.map +1 -0
  37. package/dist/{chunk-6BZC2ZHC.cjs → chunk-E66HSC2E.cjs} +9 -9
  38. package/dist/{chunk-6BZC2ZHC.cjs.map → chunk-E66HSC2E.cjs.map} +1 -1
  39. package/dist/{chunk-NIAFR5EE.js → chunk-FGBGKBML.js} +32 -3
  40. package/dist/chunk-FGBGKBML.js.map +1 -0
  41. package/dist/{chunk-M5OCFGHF.cjs → chunk-FI3HJZWM.cjs} +588 -25
  42. package/dist/chunk-FI3HJZWM.cjs.map +1 -0
  43. package/dist/{chunk-L2TVY6XN.cjs → chunk-FJZTQTF4.cjs} +4 -4
  44. package/dist/{chunk-L2TVY6XN.cjs.map → chunk-FJZTQTF4.cjs.map} +1 -1
  45. package/dist/{chunk-XGGZWA4A.cjs → chunk-GJ3D5X4X.cjs} +52 -49
  46. package/dist/chunk-GJ3D5X4X.cjs.map +1 -0
  47. package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
  48. package/dist/chunk-H5KHWTAE.js.map +1 -0
  49. package/dist/{chunk-MD4XHED4.js → chunk-H745DQ6V.js} +3 -3
  50. package/dist/{chunk-MD4XHED4.js.map → chunk-H745DQ6V.js.map} +1 -1
  51. package/dist/{chunk-KCZHQH2O.js → chunk-HAH2F7LT.js} +4 -4
  52. package/dist/{chunk-KCZHQH2O.js.map → chunk-HAH2F7LT.js.map} +1 -1
  53. package/dist/{chunk-V5EEQR2U.cjs → chunk-JQMFJAYU.cjs} +21 -21
  54. package/dist/{chunk-V5EEQR2U.cjs.map → chunk-JQMFJAYU.cjs.map} +1 -1
  55. package/dist/{chunk-WZVIBAKN.cjs → chunk-JYU5EIRM.cjs} +12 -12
  56. package/dist/{chunk-WZVIBAKN.cjs.map → chunk-JYU5EIRM.cjs.map} +1 -1
  57. package/dist/{chunk-Y35JQPT6.cjs → chunk-K6RIN3LW.cjs} +142 -45
  58. package/dist/chunk-K6RIN3LW.cjs.map +1 -0
  59. package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
  60. package/dist/chunk-KSHAAPQF.cjs.map +1 -0
  61. package/dist/{chunk-2PU3AGGS.cjs → chunk-KTCEKGBJ.cjs} +7 -7
  62. package/dist/{chunk-2PU3AGGS.cjs.map → chunk-KTCEKGBJ.cjs.map} +1 -1
  63. package/dist/{chunk-LH72PQO2.cjs → chunk-KWYS4IIM.cjs} +165 -50
  64. package/dist/chunk-KWYS4IIM.cjs.map +1 -0
  65. package/dist/{chunk-GSKLPI3J.cjs → chunk-MIT2USTS.cjs} +118 -61
  66. package/dist/chunk-MIT2USTS.cjs.map +1 -0
  67. package/dist/{chunk-Y4GCJJPF.cjs → chunk-NYZQOIXJ.cjs} +35 -2
  68. package/dist/chunk-NYZQOIXJ.cjs.map +1 -0
  69. package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
  70. package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
  71. package/dist/{chunk-X5BAFW3Q.cjs → chunk-PGDR7CO3.cjs} +8 -8
  72. package/dist/{chunk-X5BAFW3Q.cjs.map → chunk-PGDR7CO3.cjs.map} +1 -1
  73. package/dist/{chunk-OV3JTKBY.js → chunk-PL7AQQV7.js} +123 -22
  74. package/dist/chunk-PL7AQQV7.js.map +1 -0
  75. package/dist/chunk-Q4YOLT4M.js +164 -0
  76. package/dist/chunk-Q4YOLT4M.js.map +1 -0
  77. package/dist/{chunk-GMBDLNLD.cjs → chunk-R5ILCNCC.cjs} +197 -60
  78. package/dist/chunk-R5ILCNCC.cjs.map +1 -0
  79. package/dist/chunk-RP4KQUNU.cjs +168 -0
  80. package/dist/chunk-RP4KQUNU.cjs.map +1 -0
  81. package/dist/{chunk-77WU3V3J.cjs → chunk-SPU7MUWE.cjs} +6 -6
  82. package/dist/{chunk-77WU3V3J.cjs.map → chunk-SPU7MUWE.cjs.map} +1 -1
  83. package/dist/{chunk-XBTYGQ6Z.js → chunk-ST7OBB5J.js} +8 -5
  84. package/dist/chunk-ST7OBB5J.js.map +1 -0
  85. package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
  86. package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
  87. package/dist/{chunk-BMJVKYVB.js → chunk-V5NLQ4L5.js} +123 -7
  88. package/dist/chunk-V5NLQ4L5.js.map +1 -0
  89. package/dist/{chunk-KMGCHV6O.js → chunk-V6OXSXIX.js} +63 -30
  90. package/dist/chunk-V6OXSXIX.js.map +1 -0
  91. package/dist/{chunk-LMAQUR55.cjs → chunk-WQMPIURW.cjs} +6 -6
  92. package/dist/{chunk-LMAQUR55.cjs.map → chunk-WQMPIURW.cjs.map} +1 -1
  93. package/dist/{chunk-ZPE2ZTJ4.cjs → chunk-WZG6GZIL.cjs} +4 -4
  94. package/dist/{chunk-ZPE2ZTJ4.cjs.map → chunk-WZG6GZIL.cjs.map} +1 -1
  95. package/dist/{chunk-AE3AAJ4O.js → chunk-XJANKTIL.js} +3 -3
  96. package/dist/{chunk-AE3AAJ4O.js.map → chunk-XJANKTIL.js.map} +1 -1
  97. package/dist/{chunk-O7RZRUMZ.js → chunk-XJWED257.js} +14 -309
  98. package/dist/chunk-XJWED257.js.map +1 -0
  99. package/dist/chunk-XSSLNINL.js +346 -0
  100. package/dist/chunk-XSSLNINL.js.map +1 -0
  101. package/dist/{chunk-6TGB7ECA.cjs → chunk-YD4XY74W.cjs} +12 -8
  102. package/dist/chunk-YD4XY74W.cjs.map +1 -0
  103. package/dist/{chunk-YX6TFX7H.js → chunk-YMZUE2IX.js} +66 -11
  104. package/dist/chunk-YMZUE2IX.js.map +1 -0
  105. package/dist/{chunk-4MMZD63H.js → chunk-Z77M7Q2R.js} +3 -3
  106. package/dist/{chunk-4MMZD63H.js.map → chunk-Z77M7Q2R.js.map} +1 -1
  107. package/dist/{chunk-CZ5IQB3L.js → chunk-ZSRXY5YT.js} +8 -5
  108. package/dist/chunk-ZSRXY5YT.js.map +1 -0
  109. package/dist/entries/apps.cjs +43 -42
  110. package/dist/entries/apps.js +8 -7
  111. package/dist/entries/captions.cjs +38 -30
  112. package/dist/entries/captions.d.cts +48 -2
  113. package/dist/entries/captions.d.ts +48 -2
  114. package/dist/entries/captions.js +1 -1
  115. package/dist/entries/credits.cjs +319 -191
  116. package/dist/entries/credits.d.cts +260 -19
  117. package/dist/entries/credits.d.ts +260 -19
  118. package/dist/entries/credits.js +11 -11
  119. package/dist/entries/entities.cjs +202 -193
  120. package/dist/entries/entities.d.cts +44 -9
  121. package/dist/entries/entities.d.ts +44 -9
  122. package/dist/entries/entities.js +2 -1
  123. package/dist/entries/llm-models.cjs +86 -62
  124. package/dist/entries/llm-models.d.cts +73 -20
  125. package/dist/entries/llm-models.d.ts +73 -20
  126. package/dist/entries/llm-models.js +2 -2
  127. package/dist/entries/media.cjs +79 -63
  128. package/dist/entries/media.d.cts +154 -1
  129. package/dist/entries/media.d.ts +154 -1
  130. package/dist/entries/media.js +1 -1
  131. package/dist/entries/model-catalog.cjs +205 -109
  132. package/dist/entries/model-catalog.d.cts +65 -58
  133. package/dist/entries/model-catalog.d.ts +65 -58
  134. package/dist/entries/model-catalog.js +4 -4
  135. package/dist/entries/models.cjs +527 -346
  136. package/dist/entries/models.d.cts +86 -7
  137. package/dist/entries/models.d.ts +86 -7
  138. package/dist/entries/models.js +6 -5
  139. package/dist/entries/nodes.cjs +220 -211
  140. package/dist/entries/nodes.d.cts +46 -3
  141. package/dist/entries/nodes.d.ts +46 -3
  142. package/dist/entries/nodes.js +10 -9
  143. package/dist/entries/pipeline.cjs +156 -152
  144. package/dist/entries/pipeline.d.cts +14 -4
  145. package/dist/entries/pipeline.d.ts +14 -4
  146. package/dist/entries/pipeline.js +3 -3
  147. package/dist/entries/social.cjs +177 -177
  148. package/dist/entries/social.js +2 -2
  149. package/dist/entries/ugc.cjs +71 -71
  150. package/dist/entries/ugc.js +4 -4
  151. package/dist/entries/video.cjs +174 -145
  152. package/dist/entries/video.d.cts +114 -2
  153. package/dist/entries/video.d.ts +114 -2
  154. package/dist/entries/video.js +7 -6
  155. package/dist/entries/workflow.cjs +150 -150
  156. package/dist/entries/workflow.d.cts +1 -1
  157. package/dist/entries/workflow.d.ts +1 -1
  158. package/dist/entries/workflow.js +2 -2
  159. package/dist/index.cjs +2430 -1929
  160. package/dist/index.d.cts +13 -12
  161. package/dist/index.d.ts +13 -12
  162. package/dist/index.js +28 -27
  163. package/dist/{model-catalog-C_Eo35tL.d.cts → model-catalog-BoUKGFNl.d.cts} +182 -3
  164. package/dist/{model-catalog-C_Eo35tL.d.ts → model-catalog-BoUKGFNl.d.ts} +182 -3
  165. package/dist/{model-constants-DWcxOmaY.d.cts → model-constants-BElS3AeE.d.ts} +142 -23
  166. package/dist/{model-constants-Bg4ccSQb.d.ts → model-constants-CpQz1bGa.d.cts} +142 -23
  167. package/dist/tts-capabilities-BtnDWK9K.d.ts +133 -0
  168. package/dist/tts-capabilities-C52UccTI.d.cts +133 -0
  169. package/package.json +1 -1
  170. package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
  171. package/src/__tests__/dialogue-capabilities.test.ts +167 -6
  172. package/src/__tests__/extend-providers.test.ts +353 -26
  173. package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
  174. package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
  175. package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
  176. package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
  177. package/src/__tests__/flux-3-klein.test.ts +203 -0
  178. package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
  179. package/src/__tests__/kling4-catalog.test.ts +1 -1
  180. package/src/__tests__/llm-models.test.ts +48 -13
  181. package/src/__tests__/llm-price-key.test.ts +12 -0
  182. package/src/__tests__/model-makers.test.ts +3 -0
  183. package/src/__tests__/node-runtime-keys.test.ts +7 -0
  184. package/src/__tests__/normalize-node-params.test.ts +147 -1
  185. package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
  186. package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
  187. package/src/__tests__/sequence-execution.test.ts +22 -1
  188. package/src/__tests__/speech-pricing.test.ts +62 -1
  189. package/src/__tests__/suno-credit-type.test.ts +21 -2
  190. package/src/__tests__/transcribe-capabilities.test.ts +4 -2
  191. package/src/__tests__/tts-capabilities.test.ts +160 -4
  192. package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
  193. package/src/__tests__/video-analysis-pricing.test.ts +22 -9
  194. package/src/__tests__/video-subjects.test.ts +192 -0
  195. package/src/__tests__/wired-character-names.test.ts +142 -0
  196. package/src/caption-styles.ts +62 -0
  197. package/src/credit-estimators/add-captions-nemotron.ts +73 -0
  198. package/src/credit-estimators/index.ts +14 -0
  199. package/src/credit-estimators/speech.ts +57 -9
  200. package/src/credit-identifiers.ts +284 -13
  201. package/src/dialogue-capabilities.ts +220 -3
  202. package/src/dubbing-structure.ts +186 -0
  203. package/src/entries/captions.ts +2 -0
  204. package/src/entries/credits.ts +25 -1
  205. package/src/entries/entities.ts +2 -0
  206. package/src/entries/llm-models.ts +7 -0
  207. package/src/entries/media.ts +3 -1
  208. package/src/entries/model-catalog.ts +30 -0
  209. package/src/entries/models.ts +54 -0
  210. package/src/entries/nodes.ts +2 -0
  211. package/src/entries/pipeline.ts +1 -1
  212. package/src/entries/video.ts +8 -1
  213. package/src/flux-3-klein.ts +69 -0
  214. package/src/gemini-tts.ts +144 -0
  215. package/src/input-image-pricing.ts +23 -6
  216. package/src/llm-models.ts +130 -36
  217. package/src/model-catalog.ts +539 -25
  218. package/src/model-constants.ts +247 -25
  219. package/src/node-default-mappings.ts +3 -0
  220. package/src/node-runtime-keys.ts +3 -0
  221. package/src/normalize-node-params.ts +123 -2
  222. package/src/seedance-extend-rate.ts +116 -0
  223. package/src/sequence-execution.ts +24 -0
  224. package/src/transcribe-preflight.ts +23 -0
  225. package/src/tts-capabilities.ts +193 -1
  226. package/src/video-analysis-pricing.ts +39 -15
  227. package/src/video-character-refs.ts +160 -3
  228. package/src/wired-character-names.ts +134 -18
  229. package/src/wired-character-video-subjects.ts +63 -0
  230. package/dist/chunk-63H4C56Q.cjs +0 -38
  231. package/dist/chunk-63H4C56Q.cjs.map +0 -1
  232. package/dist/chunk-6M563QE6.js.map +0 -1
  233. package/dist/chunk-6TGB7ECA.cjs.map +0 -1
  234. package/dist/chunk-6XUG4L7X.cjs +0 -54
  235. package/dist/chunk-6XUG4L7X.cjs.map +0 -1
  236. package/dist/chunk-BLJUCPMV.cjs.map +0 -1
  237. package/dist/chunk-BMJVKYVB.js.map +0 -1
  238. package/dist/chunk-CZ5IQB3L.js.map +0 -1
  239. package/dist/chunk-F6WGGYQW.cjs.map +0 -1
  240. package/dist/chunk-GMBDLNLD.cjs.map +0 -1
  241. package/dist/chunk-GSKLPI3J.cjs.map +0 -1
  242. package/dist/chunk-HBXF6RUU.js +0 -31
  243. package/dist/chunk-HBXF6RUU.js.map +0 -1
  244. package/dist/chunk-HSHCCBIV.js.map +0 -1
  245. package/dist/chunk-HWQ2SYNA.js.map +0 -1
  246. package/dist/chunk-IY3Y462W.js +0 -42
  247. package/dist/chunk-IY3Y462W.js.map +0 -1
  248. package/dist/chunk-KHH54GRP.cjs.map +0 -1
  249. package/dist/chunk-KMGCHV6O.js.map +0 -1
  250. package/dist/chunk-LH72PQO2.cjs.map +0 -1
  251. package/dist/chunk-M5OCFGHF.cjs.map +0 -1
  252. package/dist/chunk-NIAFR5EE.js.map +0 -1
  253. package/dist/chunk-O7RZRUMZ.js.map +0 -1
  254. package/dist/chunk-OV3JTKBY.js.map +0 -1
  255. package/dist/chunk-PSKZKLDG.js.map +0 -1
  256. package/dist/chunk-Q6IES3U2.js.map +0 -1
  257. package/dist/chunk-TM5JYSJF.cjs.map +0 -1
  258. package/dist/chunk-WRSWH7US.cjs.map +0 -1
  259. package/dist/chunk-XBTYGQ6Z.js.map +0 -1
  260. package/dist/chunk-XGGZWA4A.cjs.map +0 -1
  261. package/dist/chunk-XGVJGNZW.cjs.map +0 -1
  262. package/dist/chunk-Y35JQPT6.cjs.map +0 -1
  263. package/dist/chunk-Y4GCJJPF.cjs.map +0 -1
  264. package/dist/chunk-YUER7TJG.js.map +0 -1
  265. package/dist/chunk-YX6TFX7H.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { LLM_FEATURE_DEFAULTS } from './chunk-KMGCHV6O.js';
1
+ import { LLM_FEATURE_DEFAULTS } from './chunk-V6OXSXIX.js';
2
2
 
3
3
  // src/script-model.ts
4
4
  var SCRIPT_LEGACY_PROVIDER_MODELS = {
@@ -12,5 +12,5 @@ function resolveScriptModelId(provider, llmModel) {
12
12
  }
13
13
 
14
14
  export { SCRIPT_LEGACY_PROVIDER_MODELS, resolveScriptModelId };
15
- //# sourceMappingURL=chunk-4MMZD63H.js.map
16
- //# sourceMappingURL=chunk-4MMZD63H.js.map
15
+ //# sourceMappingURL=chunk-Z77M7Q2R.js.map
16
+ //# sourceMappingURL=chunk-Z77M7Q2R.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/script-model.ts"],"names":[],"mappings":";;;AAWO,IAAM,6BAAA,GAA0E;AAAA,EACrF,MAAA,EAAQ,kBAAA;AAAA,EACR,MAAA,EAAQ,mBAAA;AAAA,EACR,GAAA,EAAK;AACP;AAEO,SAAS,oBAAA,CAAqB,UAAmB,QAAA,EAA2B;AACjF,EAAA,MAAM,MAAA,GAAS,YAAY,MAAA,CAAO,MAAA,CAAO,+BAA+B,QAAQ,CAAA,GAAI,6BAAA,CAA8B,QAA0B,CAAA,GAAI,MAAA;AAChJ,EAAA,OAAO,QAAA,IAAY,MAAA,IAAU,oBAAA,CAAqB,iBAAiB,CAAA;AACrE","file":"chunk-4MMZD63H.js","sourcesContent":["/**\n * The model a Generate Script call runs on, in one place: an explicit\n * `llmModel`, else a legacy script `provider` alias (nodes saved before the\n * per-model picker), else the feature's default. The route validates against\n * it, the worker runs it, and the server's estimate and the editor's price it —\n * one rule, so none of them can name a different model.\n */\nimport { LLM_FEATURE_DEFAULTS } from \"./llm-models.js\"\nimport type { ScriptProvider } from \"./model-constants.js\"\n\n/** Legacy provider names → the LLM model ids they ran. */\nexport const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>> = {\n gemini: \"gemini-3.6-flash\",\n claude: \"claude-sonnet-4.6\",\n gpt: \"gpt-5.2\",\n}\n\nexport function resolveScriptModelId(provider?: string, llmModel?: string): string {\n const legacy = provider && Object.hasOwn(SCRIPT_LEGACY_PROVIDER_MODELS, provider) ? SCRIPT_LEGACY_PROVIDER_MODELS[provider as ScriptProvider] : undefined\n return llmModel || legacy || LLM_FEATURE_DEFAULTS[\"generate-script\"]\n}\n"]}
1
+ {"version":3,"sources":["../src/script-model.ts"],"names":[],"mappings":";;;AAWO,IAAM,6BAAA,GAA0E;AAAA,EACrF,MAAA,EAAQ,kBAAA;AAAA,EACR,MAAA,EAAQ,mBAAA;AAAA,EACR,GAAA,EAAK;AACP;AAEO,SAAS,oBAAA,CAAqB,UAAmB,QAAA,EAA2B;AACjF,EAAA,MAAM,MAAA,GAAS,YAAY,MAAA,CAAO,MAAA,CAAO,+BAA+B,QAAQ,CAAA,GAAI,6BAAA,CAA8B,QAA0B,CAAA,GAAI,MAAA;AAChJ,EAAA,OAAO,QAAA,IAAY,MAAA,IAAU,oBAAA,CAAqB,iBAAiB,CAAA;AACrE","file":"chunk-Z77M7Q2R.js","sourcesContent":["/**\n * The model a Generate Script call runs on, in one place: an explicit\n * `llmModel`, else a legacy script `provider` alias (nodes saved before the\n * per-model picker), else the feature's default. The route validates against\n * it, the worker runs it, and the server's estimate and the editor's price it —\n * one rule, so none of them can name a different model.\n */\nimport { LLM_FEATURE_DEFAULTS } from \"./llm-models.js\"\nimport type { ScriptProvider } from \"./model-constants.js\"\n\n/** Legacy provider names → the LLM model ids they ran. */\nexport const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>> = {\n gemini: \"gemini-3.6-flash\",\n claude: \"claude-sonnet-4.6\",\n gpt: \"gpt-5.2\",\n}\n\nexport function resolveScriptModelId(provider?: string, llmModel?: string): string {\n const legacy = provider && Object.hasOwn(SCRIPT_LEGACY_PROVIDER_MODELS, provider) ? SCRIPT_LEGACY_PROVIDER_MODELS[provider as ScriptProvider] : undefined\n return llmModel || legacy || LLM_FEATURE_DEFAULTS[\"generate-script\"]\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { isGptImage26Tiered, isGptImage26I2i, GPT_IMAGE_2_6_MOODBOARD_MAX_IMAGES } from './chunk-RGNHHIMN.js';
2
- import { isMinimaxH3Image, isSeedream55, isMinimaxH3ImageI2i, isSeedream55I2i, getModel } from './chunk-PSKZKLDG.js';
2
+ import { isMinimaxH3Image, isSeedream55, isMinimaxH3ImageI2i, isSeedream55I2i, isFlux3Klein, getModel } from './chunk-CW6MMQNO.js';
3
3
 
4
4
  // src/input-image-pricing.ts
5
5
  function isPricedPerInputImage(model) {
@@ -8,8 +8,11 @@ function isPricedPerInputImage(model) {
8
8
  function isPricedPerInputImageEdit(model) {
9
9
  return typeof model === "string" && (isGptImage26I2i(model) || isMinimaxH3ImageI2i(model) || isSeedream55I2i(model));
10
10
  }
11
+ function priceReadsInputImages(model) {
12
+ return isPricedPerInputImage(model) || isFlux3Klein(model);
13
+ }
11
14
  function pricedSentImages(provider, references, baseImageUrl) {
12
- const countsBase = isPricedPerInputImage(provider) && typeof baseImageUrl === "string" && baseImageUrl.length > 0 && !references.includes(baseImageUrl);
15
+ const countsBase = priceReadsInputImages(provider) && typeof baseImageUrl === "string" && baseImageUrl.length > 0 && !references.includes(baseImageUrl);
13
16
  return references.length + (countsBase ? 1 : 0);
14
17
  }
15
18
  function namesMoodboard(direction) {
@@ -37,6 +40,6 @@ function safetyRetryPolicy(modelId) {
37
40
  return { maxAttempts: 2 };
38
41
  }
39
42
 
40
- export { isPricedPerInputImage, isPricedPerInputImageEdit, pricedEstimatedImages, pricedSentImages, safetyRetryPolicy };
41
- //# sourceMappingURL=chunk-CZ5IQB3L.js.map
42
- //# sourceMappingURL=chunk-CZ5IQB3L.js.map
43
+ export { isPricedPerInputImage, isPricedPerInputImageEdit, priceReadsInputImages, pricedEstimatedImages, pricedSentImages, safetyRetryPolicy };
44
+ //# sourceMappingURL=chunk-ZSRXY5YT.js.map
45
+ //# sourceMappingURL=chunk-ZSRXY5YT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/input-image-pricing.ts","../src/safety-retry-policy.ts"],"names":[],"mappings":";;;;AAkBO,SAAS,sBAAsB,KAAA,EAAyB;AAC7D,EAAA,OAAO,OAAO,KAAA,KAAU,QAAA,KAAa,kBAAA,CAAmB,KAAK,KAAK,gBAAA,CAAiB,KAAK,CAAA,IAAK,YAAA,CAAa,KAAK,CAAA,CAAA;AACjH;AAGO,SAAS,0BAA0B,KAAA,EAAyB;AACjE,EAAA,OAAO,OAAO,KAAA,KAAU,QAAA,KAAa,eAAA,CAAgB,KAAK,KAAK,mBAAA,CAAoB,KAAK,CAAA,IAAK,eAAA,CAAgB,KAAK,CAAA,CAAA;AACpH;AAWO,SAAS,sBAAsB,KAAA,EAAyB;AAC7D,EAAA,OAAO,qBAAA,CAAsB,KAAK,CAAA,IAAK,YAAA,CAAa,KAAK,CAAA;AAC3D;AASO,SAAS,gBAAA,CACd,QAAA,EACA,UAAA,EACA,YAAA,EACQ;AACR,EAAA,MAAM,UAAA,GACJ,qBAAA,CAAsB,QAAQ,CAAA,IAC9B,OAAO,YAAA,KAAiB,QAAA,IACxB,YAAA,CAAa,MAAA,GAAS,CAAA,IACtB,CAAC,UAAA,CAAW,SAAS,YAAY,CAAA;AACnC,EAAA,OAAO,UAAA,CAAW,MAAA,IAAU,UAAA,GAAa,CAAA,GAAI,CAAA,CAAA;AAC/C;AAEA,SAAS,eAAe,SAAA,EAA6B;AACnD,EAAA,IAAI,SAAA,KAAc,IAAA,IAAQ,OAAO,SAAA,KAAc,UAAU,OAAO,KAAA;AAChE,EAAA,MAAM,QAAS,SAAA,CAAsC,KAAA;AACrD,EAAA,OAAA,CAAQ,MAAM,OAAA,CAAQ,KAAK,IAAI,KAAA,GAAQ,CAAC,KAAK,CAAA,EAAG,IAAA;AAAA,IAC9C,CAAC,KAAA,KAAU,OAAO,UAAU,QAAA,IAAY,KAAA,CAAM,WAAW,YAAY;AAAA,GACvE;AACF;AAQO,SAAS,qBAAA,CACd,KAAA,EACA,IAAA,EACA,WAAA,EACQ;AACR,EAAA,MAAM,MAAA,GAAS,CAAC,CAAA,KAAgB,KAAA,CAAM,QAAQ,CAAC,CAAA,GAAI,EAAE,MAAA,GAAS,CAAA;AAC9D,EAAA,MAAM,MAAA,GAAS,CAAC,CAAA,KAAgB,OAAO,MAAM,QAAA,IAAY,CAAA,CAAE,MAAA,GAAS,CAAA,GAAI,CAAA,GAAI,CAAA;AAC5E,EAAA,OACE,MAAA,CAAO,IAAA,CAAK,kBAAkB,CAAA,GAC9B,OAAO,IAAA,CAAK,sBAAsB,CAAA,GAClC,MAAA,CAAO,KAAK,SAAS,CAAA,GACrB,MAAA,CAAO,IAAA,CAAK,iBAAiB,CAAA,GAC7B,MAAA,CAAO,IAAA,CAAK,YAAY,CAAA,GACxB,MAAA,CAAO,IAAA,CAAK,cAAc,IAC1B,WAAA,IACC,cAAA,CAAe,IAAA,CAAK,SAAS,IAAI,kCAAA,GAAqC,CAAA,CAAA,IACtE,yBAAA,CAA0B,KAAK,IAAI,CAAA,GAAI,CAAA,CAAA;AAE5C;;;AClEO,SAAS,kBAAkB,OAAA,EAAoC;AACpE,EAAA,MAAM,KAAA,GAAQ,SAAS,OAAO,CAAA;AAC9B,EAAA,MAAM,eAAe,KAAA,EAAO,YAAA;AAC5B,EAAA,IAAI,CAAC,YAAA,EAAc,UAAA,EAAY,OAAO,EAAE,aAAa,CAAA,EAAE;AAEvD,EAAA,MAAM,WAAW,YAAA,CAAa,QAAA;AAC9B,EAAA,IAAI,QAAA,IAAY,QAAA,CAAS,QAAQ,CAAA,EAAG;AAClC,IAAA,OAAO,EAAE,WAAA,EAAa,CAAA,EAAG,QAAA,EAAS;AAAA,EACpC;AACA,EAAA,OAAO,EAAE,aAAa,CAAA,EAAE;AAC1B","file":"chunk-ZSRXY5YT.js","sourcesContent":["/**\n * The image models whose price depends on how many input images a run sends:\n * GPT Image 2.6 Flare and Sunburst, MiniMax H3 Image and Seedream 5.5. Every place that\n * prices a run counts those images through here, so a model that joins\n * `isPricedPerInputImage` is counted on every path at once. FLUX 3 Klein is\n * counted the same way (`priceReadsInputImages`): its price does not move with\n * the images, but whether any go decides the id it runs, and is priced, on.\n */\nimport {\n GPT_IMAGE_2_6_MOODBOARD_MAX_IMAGES,\n isGptImage26I2i,\n isGptImage26Tiered,\n} from \"./gpt-image-2-6.js\"\nimport { isMinimaxH3Image, isMinimaxH3ImageI2i } from \"./minimax-h3-image.js\"\nimport { isSeedream55, isSeedream55I2i } from \"./seedream-5-5.js\"\nimport { isFlux3Klein } from \"./flux-3-klein.js\"\n\n/** True for a model whose price counts the input images a run sends. */\nexport function isPricedPerInputImage(model: unknown): boolean {\n return typeof model === \"string\" && (isGptImage26Tiered(model) || isMinimaxH3Image(model) || isSeedream55(model))\n}\n\n/** True for the edit id of such a model: it always sends at least its source. */\nexport function isPricedPerInputImageEdit(model: unknown): boolean {\n return typeof model === \"string\" && (isGptImage26I2i(model) || isMinimaxH3ImageI2i(model) || isSeedream55I2i(model))\n}\n\n/**\n * True for a model whose price id reads the input images a run sends: one\n * priced per input image ({@link isPricedPerInputImage}), or FLUX 3 Klein, which\n * runs on its edit id whenever an image goes (its text-to-image endpoint takes\n * none) and is priced on that id, at the same price. Every place that prices a\n * run counts the images through {@link pricedSentImages} and\n * {@link pricedEstimatedImages} for such a model, so the id priced is the id\n * the provider runs.\n */\nexport function priceReadsInputImages(model: unknown): boolean {\n return isPricedPerInputImage(model) || isFlux3Klein(model)\n}\n\n/**\n * The images a Generate Image run sends its provider: its references and, when\n * it edits a base image, that image too (the worker puts it first, unless it is\n * already one of the references). The base is counted only on a model whose\n * price reads the images ({@link priceReadsInputImages}); any other model is\n * priced, and held to its image limit, on its references alone, as before.\n */\nexport function pricedSentImages(\n provider: string | undefined,\n references: readonly string[],\n baseImageUrl: unknown,\n): number {\n const countsBase =\n priceReadsInputImages(provider) &&\n typeof baseImageUrl === \"string\" &&\n baseImageUrl.length > 0 &&\n !references.includes(baseImageUrl)\n return references.length + (countsBase ? 1 : 0)\n}\n\nfunction namesMoodboard(direction: unknown): boolean {\n if (direction === null || typeof direction !== \"object\") return false\n const style = (direction as Record<string, unknown>).style\n return (Array.isArray(style) ? style : [style]).some(\n (value) => typeof value === \"string\" && value.startsWith(\"moodboard:\"),\n )\n}\n\n/**\n * The input images a workflow estimate counts for one node on a model whose\n * price reads them ({@link priceReadsInputImages}): every list on the node, its source or base image, what is\n * wired in, a moodboard its direction names (at the most a moodboard holds),\n * and an edit model's own source. An estimate may over-quote, never under.\n */\nexport function pricedEstimatedImages(\n model: string,\n data: Record<string, unknown>,\n wiredImages: number,\n): number {\n const listed = (v: unknown) => (Array.isArray(v) ? v.length : 0)\n const single = (v: unknown) => (typeof v === \"string\" && v.length > 0 ? 1 : 0)\n return (\n listed(data.referenceImageUrls) +\n listed(data.characterDefinitionIds) +\n listed(data.extraRefs) +\n single(data.referenceImageUrl) +\n single(data.baseImageUrl) +\n single(data.sourceImageUrl) +\n wiredImages +\n (namesMoodboard(data.direction) ? GPT_IMAGE_2_6_MOODBOARD_MAX_IMAGES : 0) +\n (isPricedPerInputImageEdit(model) ? 1 : 0)\n )\n}\n","import { getModel } from \"./model-catalog.js\"\n\n/**\n * Retry/fallback behavior derived from a catalog entry's `safetyFilter`\n * flag (see `ModelCatalogEntry.safetyFilter` in `model-catalog.ts`).\n */\nexport interface SafetyRetryPolicy {\n /** 2 when the model declares `safetyFilter.stochastic`, else 1. */\n maxAttempts: 1 | 2\n /**\n * Catalog model id to offer when the retry also blocks. Only present\n * when the entry declares one AND it resolves to a real catalog entry.\n */\n fallback?: string\n}\n\n/**\n * The provider's safety filter is known to be non-deterministic on some\n * catalog models — a benign prompt can trip it once and pass on an\n * identical retry. For those models the platform retries a blocked\n * request once (`maxAttempts: 2`) before giving up; `fallback` names the\n * catalog model to offer the user when the retry also blocks.\n *\n * Every model not flagged this way — including an unrecognized id —\n * gets a single attempt and no fallback.\n */\nexport function safetyRetryPolicy(modelId: string): SafetyRetryPolicy {\n const entry = getModel(modelId)\n const safetyFilter = entry?.safetyFilter\n if (!safetyFilter?.stochastic) return { maxAttempts: 1 }\n\n const fallback = safetyFilter.fallback\n if (fallback && getModel(fallback)) {\n return { maxAttempts: 2, fallback }\n }\n return { maxAttempts: 2 }\n}\n"]}
@@ -1,157 +1,158 @@
1
1
  'use strict';
2
2
 
3
- var chunk77WU3V3J_cjs = require('../chunk-77WU3V3J.cjs');
4
- var chunk6BZC2ZHC_cjs = require('../chunk-6BZC2ZHC.cjs');
3
+ var chunkSPU7MUWE_cjs = require('../chunk-SPU7MUWE.cjs');
4
+ var chunkE66HSC2E_cjs = require('../chunk-E66HSC2E.cjs');
5
5
  require('../chunk-YTXP4VHD.cjs');
6
- require('../chunk-GMBDLNLD.cjs');
7
- require('../chunk-WZVIBAKN.cjs');
8
- require('../chunk-L2TVY6XN.cjs');
6
+ require('../chunk-R5ILCNCC.cjs');
7
+ require('../chunk-T3TOSWVH.cjs');
8
+ require('../chunk-JYU5EIRM.cjs');
9
+ require('../chunk-FJZTQTF4.cjs');
9
10
  require('../chunk-V24EPI5N.cjs');
10
11
  require('../chunk-D34K455O.cjs');
11
- require('../chunk-LH72PQO2.cjs');
12
- require('../chunk-M5OCFGHF.cjs');
12
+ require('../chunk-KWYS4IIM.cjs');
13
+ require('../chunk-FI3HJZWM.cjs');
13
14
 
14
15
 
15
16
 
16
17
  Object.defineProperty(exports, "DEFAULT_TEMPLATE_CATEGORY", {
17
18
  enumerable: true,
18
- get: function () { return chunk77WU3V3J_cjs.DEFAULT_TEMPLATE_CATEGORY; }
19
+ get: function () { return chunkSPU7MUWE_cjs.DEFAULT_TEMPLATE_CATEGORY; }
19
20
  });
20
21
  Object.defineProperty(exports, "HANDLE_PORT_SEPARATOR", {
21
22
  enumerable: true,
22
- get: function () { return chunk77WU3V3J_cjs.HANDLE_PORT_SEPARATOR; }
23
+ get: function () { return chunkSPU7MUWE_cjs.HANDLE_PORT_SEPARATOR; }
23
24
  });
24
25
  Object.defineProperty(exports, "INPUT_FIELD_MAP", {
25
26
  enumerable: true,
26
- get: function () { return chunk77WU3V3J_cjs.INPUT_FIELD_MAP; }
27
+ get: function () { return chunkSPU7MUWE_cjs.INPUT_FIELD_MAP; }
27
28
  });
28
29
  Object.defineProperty(exports, "LEGACY_TEMPLATE_CATEGORIES", {
29
30
  enumerable: true,
30
- get: function () { return chunk77WU3V3J_cjs.LEGACY_TEMPLATE_CATEGORIES; }
31
+ get: function () { return chunkSPU7MUWE_cjs.LEGACY_TEMPLATE_CATEGORIES; }
31
32
  });
32
33
  Object.defineProperty(exports, "OAUTH_SCOPES", {
33
34
  enumerable: true,
34
- get: function () { return chunk77WU3V3J_cjs.OAUTH_SCOPES; }
35
+ get: function () { return chunkSPU7MUWE_cjs.OAUTH_SCOPES; }
35
36
  });
36
37
  Object.defineProperty(exports, "OUTPUT_FIELD_MAP", {
37
38
  enumerable: true,
38
- get: function () { return chunk77WU3V3J_cjs.OUTPUT_FIELD_MAP; }
39
+ get: function () { return chunkSPU7MUWE_cjs.OUTPUT_FIELD_MAP; }
39
40
  });
40
41
  Object.defineProperty(exports, "RECAST_SEGMENT_PACKS", {
41
42
  enumerable: true,
42
- get: function () { return chunk77WU3V3J_cjs.RECAST_SEGMENT_PACKS; }
43
+ get: function () { return chunkSPU7MUWE_cjs.RECAST_SEGMENT_PACKS; }
43
44
  });
44
45
  Object.defineProperty(exports, "TEMPLATE_CATEGORIES", {
45
46
  enumerable: true,
46
- get: function () { return chunk77WU3V3J_cjs.TEMPLATE_CATEGORIES; }
47
+ get: function () { return chunkSPU7MUWE_cjs.TEMPLATE_CATEGORIES; }
47
48
  });
48
49
  Object.defineProperty(exports, "applyHandleInputOverride", {
49
50
  enumerable: true,
50
- get: function () { return chunk77WU3V3J_cjs.applyHandleInputOverride; }
51
+ get: function () { return chunkSPU7MUWE_cjs.applyHandleInputOverride; }
51
52
  });
52
53
  Object.defineProperty(exports, "findRestrictedPickerValue", {
53
54
  enumerable: true,
54
- get: function () { return chunk77WU3V3J_cjs.findRestrictedPickerValue; }
55
+ get: function () { return chunkSPU7MUWE_cjs.findRestrictedPickerValue; }
55
56
  });
56
57
  Object.defineProperty(exports, "isHandleInputWired", {
57
58
  enumerable: true,
58
- get: function () { return chunk77WU3V3J_cjs.isHandleInputWired; }
59
+ get: function () { return chunkSPU7MUWE_cjs.isHandleInputWired; }
59
60
  });
60
61
  Object.defineProperty(exports, "isTemplateCategory", {
61
62
  enumerable: true,
62
- get: function () { return chunk77WU3V3J_cjs.isTemplateCategory; }
63
+ get: function () { return chunkSPU7MUWE_cjs.isTemplateCategory; }
63
64
  });
64
65
  Object.defineProperty(exports, "mergeExposedSettings", {
65
66
  enumerable: true,
66
- get: function () { return chunk77WU3V3J_cjs.mergeExposedSettings; }
67
+ get: function () { return chunkSPU7MUWE_cjs.mergeExposedSettings; }
67
68
  });
68
69
  Object.defineProperty(exports, "normalizeTemplateCategory", {
69
70
  enumerable: true,
70
- get: function () { return chunk77WU3V3J_cjs.normalizeTemplateCategory; }
71
+ get: function () { return chunkSPU7MUWE_cjs.normalizeTemplateCategory; }
71
72
  });
72
73
  Object.defineProperty(exports, "parseHandleId", {
73
74
  enumerable: true,
74
- get: function () { return chunk77WU3V3J_cjs.parseHandleId; }
75
+ get: function () { return chunkSPU7MUWE_cjs.parseHandleId; }
75
76
  });
76
77
  Object.defineProperty(exports, "resolveTemplateCategory", {
77
78
  enumerable: true,
78
- get: function () { return chunk77WU3V3J_cjs.resolveTemplateCategory; }
79
+ get: function () { return chunkSPU7MUWE_cjs.resolveTemplateCategory; }
79
80
  });
80
81
  Object.defineProperty(exports, "templateCategoryStoredValues", {
81
82
  enumerable: true,
82
- get: function () { return chunk77WU3V3J_cjs.templateCategoryStoredValues; }
83
+ get: function () { return chunkSPU7MUWE_cjs.templateCategoryStoredValues; }
83
84
  });
84
85
  Object.defineProperty(exports, "INPUT_FIELD_EXTRA_KEYS", {
85
86
  enumerable: true,
86
- get: function () { return chunk6BZC2ZHC_cjs.INPUT_FIELD_EXTRA_KEYS; }
87
+ get: function () { return chunkE66HSC2E_cjs.INPUT_FIELD_EXTRA_KEYS; }
87
88
  });
88
89
  Object.defineProperty(exports, "INPUT_NODE_TYPES", {
89
90
  enumerable: true,
90
- get: function () { return chunk6BZC2ZHC_cjs.INPUT_NODE_TYPES; }
91
+ get: function () { return chunkE66HSC2E_cjs.INPUT_NODE_TYPES; }
91
92
  });
92
93
  Object.defineProperty(exports, "LEGACY_EXPOSED_FIELD_KEYS", {
93
94
  enumerable: true,
94
- get: function () { return chunk6BZC2ZHC_cjs.LEGACY_EXPOSED_FIELD_KEYS; }
95
+ get: function () { return chunkE66HSC2E_cjs.LEGACY_EXPOSED_FIELD_KEYS; }
95
96
  });
96
97
  Object.defineProperty(exports, "canonicalExposedFieldKey", {
97
98
  enumerable: true,
98
- get: function () { return chunk6BZC2ZHC_cjs.canonicalExposedFieldKey; }
99
+ get: function () { return chunkE66HSC2E_cjs.canonicalExposedFieldKey; }
99
100
  });
100
101
  Object.defineProperty(exports, "canonicalizeOverrideKeys", {
101
102
  enumerable: true,
102
- get: function () { return chunk6BZC2ZHC_cjs.canonicalizeOverrideKeys; }
103
+ get: function () { return chunkE66HSC2E_cjs.canonicalizeOverrideKeys; }
103
104
  });
104
105
  Object.defineProperty(exports, "cleanOrphanedItems", {
105
106
  enumerable: true,
106
- get: function () { return chunk6BZC2ZHC_cjs.cleanOrphanedItems; }
107
+ get: function () { return chunkE66HSC2E_cjs.cleanOrphanedItems; }
107
108
  });
108
109
  Object.defineProperty(exports, "flattenItems", {
109
110
  enumerable: true,
110
- get: function () { return chunk6BZC2ZHC_cjs.flattenItems; }
111
+ get: function () { return chunkE66HSC2E_cjs.flattenItems; }
111
112
  });
112
113
  Object.defineProperty(exports, "getInputFieldExtraKeys", {
113
114
  enumerable: true,
114
- get: function () { return chunk6BZC2ZHC_cjs.getInputFieldExtraKeys; }
115
+ get: function () { return chunkE66HSC2E_cjs.getInputFieldExtraKeys; }
115
116
  });
116
117
  Object.defineProperty(exports, "getInputFieldSchema", {
117
118
  enumerable: true,
118
- get: function () { return chunk6BZC2ZHC_cjs.getInputFieldSchema; }
119
+ get: function () { return chunkE66HSC2E_cjs.getInputFieldSchema; }
119
120
  });
120
121
  Object.defineProperty(exports, "getInputNodes", {
121
122
  enumerable: true,
122
- get: function () { return chunk6BZC2ZHC_cjs.getInputNodes; }
123
+ get: function () { return chunkE66HSC2E_cjs.getInputNodes; }
123
124
  });
124
125
  Object.defineProperty(exports, "getItemSortId", {
125
126
  enumerable: true,
126
- get: function () { return chunk6BZC2ZHC_cjs.getItemSortId; }
127
+ get: function () { return chunkE66HSC2E_cjs.getItemSortId; }
127
128
  });
128
129
  Object.defineProperty(exports, "getNodeLabel", {
129
130
  enumerable: true,
130
- get: function () { return chunk6BZC2ZHC_cjs.getNodeLabel; }
131
+ get: function () { return chunkE66HSC2E_cjs.getNodeLabel; }
131
132
  });
132
133
  Object.defineProperty(exports, "getNodeResult", {
133
134
  enumerable: true,
134
- get: function () { return chunk6BZC2ZHC_cjs.getNodeResult; }
135
+ get: function () { return chunkE66HSC2E_cjs.getNodeResult; }
135
136
  });
136
137
  Object.defineProperty(exports, "getOutputNodes", {
137
138
  enumerable: true,
138
- get: function () { return chunk6BZC2ZHC_cjs.getOutputNodes; }
139
+ get: function () { return chunkE66HSC2E_cjs.getOutputNodes; }
139
140
  });
140
141
  Object.defineProperty(exports, "getOutputType", {
141
142
  enumerable: true,
142
- get: function () { return chunk6BZC2ZHC_cjs.getOutputType; }
143
+ get: function () { return chunkE66HSC2E_cjs.getOutputType; }
143
144
  });
144
145
  Object.defineProperty(exports, "mergeNodeInputOverrides", {
145
146
  enumerable: true,
146
- get: function () { return chunk6BZC2ZHC_cjs.mergeNodeInputOverrides; }
147
+ get: function () { return chunkE66HSC2E_cjs.mergeNodeInputOverrides; }
147
148
  });
148
149
  Object.defineProperty(exports, "migrateToItems", {
149
150
  enumerable: true,
150
- get: function () { return chunk6BZC2ZHC_cjs.migrateToItems; }
151
+ get: function () { return chunkE66HSC2E_cjs.migrateToItems; }
151
152
  });
152
153
  Object.defineProperty(exports, "validateNoNestedGroups", {
153
154
  enumerable: true,
154
- get: function () { return chunk6BZC2ZHC_cjs.validateNoNestedGroups; }
155
+ get: function () { return chunkE66HSC2E_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-34QLPTSA.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-KCZHQH2O.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-BSTAAGLY.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-HAH2F7LT.js';
3
3
  import '../chunk-JCNTNAZP.js';
4
- import '../chunk-BMJVKYVB.js';
5
- import '../chunk-EPXGG27L.js';
6
- import '../chunk-MD4XHED4.js';
4
+ import '../chunk-V5NLQ4L5.js';
5
+ import '../chunk-M7G66F6H.js';
6
+ import '../chunk-D5Y3EYRM.js';
7
+ import '../chunk-H745DQ6V.js';
7
8
  import '../chunk-KL6GAYTT.js';
8
9
  import '../chunk-RGNHHIMN.js';
9
- import '../chunk-OV3JTKBY.js';
10
- import '../chunk-PSKZKLDG.js';
10
+ import '../chunk-PL7AQQV7.js';
11
+ import '../chunk-CW6MMQNO.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
@@ -249,6 +295,7 @@ declare const captionSegmentInputSchema: z.ZodObject<{
249
295
  outline: "outline";
250
296
  }>>;
251
297
  fontFamily: z.ZodOptional<z.ZodEnum<{
298
+ Lora: "Lora";
252
299
  Inter: "Inter";
253
300
  Roboto: "Roboto";
254
301
  "Open Sans": "Open Sans";
@@ -259,7 +306,6 @@ declare const captionSegmentInputSchema: z.ZodObject<{
259
306
  Lato: "Lato";
260
307
  "Playfair Display": "Playfair Display";
261
308
  Merriweather: "Merriweather";
262
- Lora: "Lora";
263
309
  "EB Garamond": "EB Garamond";
264
310
  "Bebas Neue": "Bebas Neue";
265
311
  Oswald: "Oswald";
@@ -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
@@ -249,6 +295,7 @@ declare const captionSegmentInputSchema: z.ZodObject<{
249
295
  outline: "outline";
250
296
  }>>;
251
297
  fontFamily: z.ZodOptional<z.ZodEnum<{
298
+ Lora: "Lora";
252
299
  Inter: "Inter";
253
300
  Roboto: "Roboto";
254
301
  "Open Sans": "Open Sans";
@@ -259,7 +306,6 @@ declare const captionSegmentInputSchema: z.ZodObject<{
259
306
  Lato: "Lato";
260
307
  "Playfair Display": "Playfair Display";
261
308
  Merriweather: "Merriweather";
262
- Lora: "Lora";
263
309
  "EB Garamond": "EB Garamond";
264
310
  "Bebas Neue": "Bebas Neue";
265
311
  Oswald: "Oswald";
@@ -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