hyperframes 0.8.211 → 0.8.213

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 (220) hide show
  1. package/dist/{add-WERDY37C.js → add-GRJ6BQMO.js} +14 -13
  2. package/dist/{agentPromptGenerator-SEAPWYY5.js → agentPromptGenerator-2HTUGEKK.js} +6 -6
  3. package/dist/{animatedGifPrep-LC43PROA.js → animatedGifPrep-7KPZBZXD.js} +6 -6
  4. package/dist/api.js +18 -18
  5. package/dist/{asset-IVDQNYHP.js → asset-YVIFFWCU.js} +5 -4
  6. package/dist/{assetCataloger-PPE7M2WM.js → assetCataloger-IZW7LPCT.js} +7 -7
  7. package/dist/{audio-IJ22GXO6.js → audio-X7274SUF.js} +316 -210
  8. package/dist/{auth-FZMDHX2H.js → auth-II6SIDJD.js} +4 -4
  9. package/dist/{autoUpdate-EO6SFALF.js → autoUpdate-WJIT74BG.js} +4 -2
  10. package/dist/{backgroundChecks-YW5VIAYF.js → backgroundChecks-NMKJAES7.js} +5 -3
  11. package/dist/backgroundChecksWorker.js +5 -3
  12. package/dist/{batchRender-OOXYNZOT.js → batchRender-I7GRY73M.js} +8 -7
  13. package/dist/{beats-X7GRQA4J.js → beats-6VXALJZT.js} +15 -14
  14. package/dist/{benchmark-JGGBMRZO.js → benchmark-RLIRA74V.js} +19 -17
  15. package/dist/{browser-FQ5JPTME.js → browser-7T3JMNTR.js} +12 -10
  16. package/dist/{bundleWithLocalizedFonts-XA73ZJ4S.js → bundleWithLocalizedFonts-C2LP6QZZ.js} +2 -2
  17. package/dist/{capture-GUVCA5JQ.js → capture-OZFDTN4A.js} +48 -18
  18. package/dist/{capture-KKVB3MKM.js → capture-V4HWHG7C.js} +13 -10
  19. package/dist/{captureCompositionFrame-LNKWWCXE.js → captureCompositionFrame-WZAVXCRQ.js} +14 -13
  20. package/dist/{catalog-LKJEMEOC.js → catalog-UFC7JS4T.js} +18 -17
  21. package/dist/{catch-up-FA6KWX4S.js → catch-up-YBNKJDWJ.js} +8 -7
  22. package/dist/{check-6GIDKL6S.js → check-ESQJHRGA.js} +42 -41
  23. package/dist/{checkAudio-H3AUFC4M.js → checkAudio-OIIBWFBF.js} +26 -11
  24. package/dist/{checkBrowser-YWWF63S6.js → checkBrowser-WAWL6TKX.js} +35 -34
  25. package/dist/{chunk-KSNIYQRB.js → chunk-26AQTUU4.js} +5 -7
  26. package/dist/{chunk-B2B4MN3R.js → chunk-2GS2RUVI.js} +2 -2
  27. package/dist/{chunk-WNDTMINP.js → chunk-2WELGDXU.js} +3 -3
  28. package/dist/{chunk-OE5EHGDG.js → chunk-3OYLHBQZ.js} +1 -1
  29. package/dist/{chunk-U46JEU26.js → chunk-4645UHJF.js} +1 -0
  30. package/dist/{chunk-FI7SSV73.js → chunk-46HYDDZ5.js} +1 -1
  31. package/dist/{chunk-YPNBEBQ6.js → chunk-4BXPCS5B.js} +26 -19
  32. package/dist/{chunk-ABBVDJMG.js → chunk-53VXGZ3L.js} +2 -2
  33. package/dist/{chunk-66KMYUNO.js → chunk-5ODMV7X6.js} +2 -2
  34. package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
  35. package/dist/{chunk-J2JG4XGP.js → chunk-5ZBMHUY2.js} +4 -0
  36. package/dist/{chunk-YRO3PXWU.js → chunk-6CGYINE7.js} +97 -2
  37. package/dist/{chunk-JMD5HDPB.js → chunk-6ZLDIMPL.js} +2 -2
  38. package/dist/{chunk-3R5MYOJN.js → chunk-76T7KAYD.js} +2 -2
  39. package/dist/{chunk-OOA6C4AG.js → chunk-7I5N36JA.js} +2 -2
  40. package/dist/{chunk-CNU65QE2.js → chunk-7JWRVKN4.js} +9 -5
  41. package/dist/{chunk-CJ5QZRY7.js → chunk-7KBS6ZLB.js} +2 -2
  42. package/dist/{chunk-T2L2GJ4C.js → chunk-7LOVQRUJ.js} +7 -7
  43. package/dist/{chunk-FBN5AQJL.js → chunk-7TWX4Y7I.js} +3 -3
  44. package/dist/{chunk-VBC3DQFS.js → chunk-AJ3QW6RX.js} +12 -5
  45. package/dist/{chunk-FIC3E7IM.js → chunk-BE6XXZAR.js} +9 -9
  46. package/dist/{chunk-5MCR5DA5.js → chunk-BVHNFPRF.js} +5 -5
  47. package/dist/{chunk-PKWZG642.js → chunk-CLA4XSBO.js} +3 -3
  48. package/dist/{chunk-DAXKGMJL.js → chunk-D3Q2TABU.js} +5 -5
  49. package/dist/{chunk-AIY2Y5UY.js → chunk-DJFEYX23.js} +5 -5
  50. package/dist/{chunk-FVY2XRX4.js → chunk-DKEZSH6M.js} +2 -2
  51. package/dist/{chunk-LALLQUSK.js → chunk-DP5LF7GF.js} +2 -0
  52. package/dist/{chunk-Q52ISCT4.js → chunk-DQ26IA5P.js} +1 -1
  53. package/dist/{chunk-3WL7WU6K.js → chunk-ENE4IKFX.js} +19 -20
  54. package/dist/{chunk-JZVUSRZ5.js → chunk-EQ66MVWZ.js} +1 -1
  55. package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
  56. package/dist/{chunk-KZBBY72Q.js → chunk-F4EX52FU.js} +1 -1
  57. package/dist/{chunk-4JWKC3GH.js → chunk-FGIMC5I4.js} +5 -5
  58. package/dist/{chunk-CGAUUUDL.js → chunk-FHO3FXTW.js} +3 -3
  59. package/dist/chunk-FJ646TIT.js +201 -0
  60. package/dist/{chunk-77KGX4A3.js → chunk-FKFGGAXN.js} +50 -8
  61. package/dist/{chunk-VUEWZXZG.js → chunk-G6HUXX3L.js} +1 -1
  62. package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
  63. package/dist/{chunk-VGKQFZCC.js → chunk-GNSNCIHF.js} +14 -14
  64. package/dist/{chunk-SXJJTFV4.js → chunk-H3I2VLLL.js} +16 -4
  65. package/dist/{chunk-UYEZTK4U.js → chunk-HPTFD6MO.js} +10 -10
  66. package/dist/{chunk-5KOZRJR7.js → chunk-HWHPYCBZ.js} +1 -1
  67. package/dist/{chunk-22OGII5H.js → chunk-I3G45TWG.js} +1 -1
  68. package/dist/{chunk-DMIFCIG6.js → chunk-IHYWP4V5.js} +1 -1
  69. package/dist/{chunk-5LITFBMY.js → chunk-ISMOBMWF.js} +35 -24
  70. package/dist/{chunk-DDRCX7P2.js → chunk-KL2UJXCY.js} +2 -2
  71. package/dist/{chunk-KDDO3UYI.js → chunk-KSMCX5EP.js} +3 -3
  72. package/dist/{chunk-UI7X4L4M.js → chunk-KVFOQ3EM.js} +2137 -2100
  73. package/dist/{chunk-472C35EW.js → chunk-KY67MTBH.js} +1 -1
  74. package/dist/{chunk-DPYI2HRJ.js → chunk-L34IH4SH.js} +5 -5
  75. package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
  76. package/dist/{chunk-YWPCMOX4.js → chunk-LALMFSLB.js} +5 -5
  77. package/dist/{chunk-4D46TX6Q.js → chunk-LGDRKQKL.js} +1 -1
  78. package/dist/{chunk-DWIMUPFK.js → chunk-LTQXIYNL.js} +2 -2
  79. package/dist/{chunk-Z2UZAY2Q.js → chunk-LYON3VGF.js} +2 -2
  80. package/dist/{chunk-AQMGYRX6.js → chunk-MBSESQED.js} +1 -1
  81. package/dist/{chunk-ZPXXWUQ3.js → chunk-MFC2PE7D.js} +30 -4
  82. package/dist/{chunk-6J2G57BB.js → chunk-N3MOQTRS.js} +7 -7
  83. package/dist/chunk-N3ZAIZF3.js +4870 -0
  84. package/dist/{chunk-JLGVBK5M.js → chunk-N4XNRHFM.js} +18 -4
  85. package/dist/{chunk-3NIESDKN.js → chunk-NGJS5H5E.js} +1 -1
  86. package/dist/{chunk-DJ3H6EW3.js → chunk-NP4G4WPP.js} +10 -9
  87. package/dist/{chunk-RQNFW6YC.js → chunk-O63A26XQ.js} +8 -3
  88. package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
  89. package/dist/{chunk-SJK64HHG.js → chunk-OWV36OJP.js} +5 -2
  90. package/dist/{chunk-4EO7DNRJ.js → chunk-PAZ7WUYZ.js} +2 -2
  91. package/dist/{chunk-K43XLAQV.js → chunk-Q55JNFDV.js} +3 -3
  92. package/dist/{chunk-CZCRSS3U.js → chunk-QHWVCKC5.js} +1 -1
  93. package/dist/{chunk-ORXLO64X.js → chunk-S2HWGG5O.js} +1 -1
  94. package/dist/{chunk-5AKWJHRJ.js → chunk-S3ZWVEGQ.js} +1 -1
  95. package/dist/chunk-SJGE5I5F.js +131 -0
  96. package/dist/{chunk-GSXA4YLV.js → chunk-STK62RL7.js} +1 -1
  97. package/dist/{chunk-B4KGJHTE.js → chunk-SZOCI3JJ.js} +2 -2
  98. package/dist/{chunk-PICG2XRD.js → chunk-TCCCAEZD.js} +2 -2
  99. package/dist/{chunk-KF6I5WA7.js → chunk-TDNPJHEQ.js} +15 -18
  100. package/dist/{chunk-BGC5S3OZ.js → chunk-TLXK5A2N.js} +49 -36
  101. package/dist/{chunk-6EN2LWOM.js → chunk-TWCICOCI.js} +1 -1
  102. package/dist/{chunk-NEQIJUV2.js → chunk-UBDO4EHA.js} +10 -1
  103. package/dist/{chunk-2QAR7ZNY.js → chunk-V2H5UABS.js} +3 -3
  104. package/dist/{chunk-3LACB6HG.js → chunk-VTX27LET.js} +3 -3
  105. package/dist/{chunk-3JYKWNFR.js → chunk-VVDHSRKD.js} +1 -1
  106. package/dist/{chunk-2RQZQJHV.js → chunk-WSEPFRJV.js} +1 -1
  107. package/dist/{chunk-K3LLHG6I.js → chunk-XNY2KI2Z.js} +1 -1
  108. package/dist/{chunk-ZNSKOXFW.js → chunk-Z65ZQYBW.js} +3 -3
  109. package/dist/{chunk-QVHC77IF.js → chunk-Z7QHOT65.js} +2 -2
  110. package/dist/{chunk-LAR5VTCN.js → chunk-ZGG53XZX.js} +5 -5
  111. package/dist/{chunk-67JTGRNM.js → chunk-ZSRNM6LP.js} +1 -1
  112. package/dist/{chunk-IEVU4FXB.js → chunk-ZTCILR3V.js} +3 -3
  113. package/dist/{clean-SVEOBRPM.js → clean-XBQ54UZX.js} +22 -21
  114. package/dist/cli.js +151 -82
  115. package/dist/{cloud-ADFJGIEH.js → cloud-E2GUGXXL.js} +4 -4
  116. package/dist/{cloudrun-BNY7Q5RK.js → cloudrun-IAPFT66T.js} +23 -20
  117. package/dist/commands/layout-audit.browser.js +7 -10
  118. package/dist/{compare-QC3T22KV.js → compare-2VPIOCLV.js} +45 -46
  119. package/dist/{compiler-4ITKK4XI.js → compiler-3ED6KJYN.js} +3 -3
  120. package/dist/{component-CNZCB3RY.js → component-IH2KSDNM.js} +6 -5
  121. package/dist/{compositions-UO32IP6Z.js → compositions-MIMF2GM3.js} +14 -13
  122. package/dist/{delete-RWTOSI24.js → delete-5H5EYSYK.js} +13 -11
  123. package/dist/{deploy-OKWS53NP.js → deploy-DMQT34K2.js} +5 -5
  124. package/dist/{destroy-4RL5VOXQ.js → destroy-BQ5R7LUF.js} +3 -3
  125. package/dist/{deterministicFonts-LKAGUNE5.js → deterministicFonts-2ISM3LMW.js} +1 -1
  126. package/dist/{dist-AEE3QTRB.js → dist-ANQ2CIIO.js} +2 -2
  127. package/dist/{dist-NCI6JOJZ.js → dist-OKQM7BQ3.js} +3 -1
  128. package/dist/{docs-UMIA66EZ.js → docs-6EM6FDNI.js} +5 -4
  129. package/dist/{doctor-SIF72ESZ.js → doctor-MTRZJQZZ.js} +12 -10
  130. package/dist/{events-S3VUTFEG.js → events-2GNMM2YS.js} +5 -3
  131. package/dist/{events-34PIVLZQ.js → events-TBKM6B5H.js} +8 -5
  132. package/dist/{feedback-VS4LRXHW.js → feedback-6NNSKXQP.js} +20 -19
  133. package/dist/{ffmpeg-YVQOKNV6.js → ffmpeg-622QCJLB.js} +6 -6
  134. package/dist/{figma-AF4JKDBA.js → figma-TFHZ3N5A.js} +3 -3
  135. package/dist/fontLocalizeCli.js +11 -11
  136. package/dist/{get-UQGCS6Q4.js → get-P6RA7MAU.js} +8 -7
  137. package/dist/{gpuPolicy-Q4B3D6PW.js → gpuPolicy-CK2XDEAM.js} +6 -6
  138. package/dist/{grade-compare-G34673XC.js → grade-compare-LK6U7OJD.js} +47 -45
  139. package/dist/{heifImagePrep-XD4DGOUS.js → heifImagePrep-3OXKQUEZ.js} +7 -7
  140. package/dist/{help-3QSD26IC.js → help-YENCFXYK.js} +11 -7
  141. package/dist/{history-6DC24UCF.js → history-V3E4UCMY.js} +15 -12
  142. package/dist/hyperframe.manifest.json +1 -1
  143. package/dist/hyperframe.runtime.iife.js +64 -64
  144. package/dist/hyperframes-player.global.js +1 -1
  145. package/dist/{info-6JUHWWJK.js → info-ZGKQMX3Z.js} +11 -10
  146. package/dist/{init-2DPX6U3J.js → init-D6PJI2TA.js} +38 -37
  147. package/dist/{inspect-Z55YUSXC.js → inspect-UCHLILOX.js} +33 -32
  148. package/dist/{installer-XVKYJU7S.js → installer-CV2OKJFW.js} +4 -4
  149. package/dist/{keyframes-YHF4AQIL.js → keyframes-2IJTDJ7K.js} +10 -9
  150. package/dist/{lambda-JITTS37E.js → lambda-GKZBKWTK.js} +32 -30
  151. package/dist/{layout-V5NYJXIX.js → layout-KKPRCTME.js} +33 -32
  152. package/dist/{lint-V4WMO7YL.js → lint-NAC6M4NT.js} +18 -15
  153. package/dist/{lintProject-EM7Y2ZRB.js → lintProject-MSATZIK7.js} +1 -1
  154. package/dist/{list-W7UCIYKA.js → list-QRMXOTNB.js} +11 -10
  155. package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
  156. package/dist/{localPage-BLQFFIDF.js → localPage-KMXALM7A.js} +6 -6
  157. package/dist/{login-IX3MOREU.js → login-GBN5ZMEA.js} +11 -11
  158. package/dist/{logout-46NLNY2K.js → logout-C6P6ERZ3.js} +5 -5
  159. package/dist/{manager-WJOWZNHM.js → manager-GPDDRQIW.js} +8 -8
  160. package/dist/{media-treatment-XBO6EXL4.js → media-treatment-4Q7G27JJ.js} +44 -34
  161. package/dist/{media-use-3RFKY7XJ.js → media-use-ZRHFRO46.js} +1 -1
  162. package/dist/{models-P3NSHDQS.js → models-7KJF4LYJ.js} +27 -20
  163. package/dist/{motionShot-D4QMLTQP.js → motionShot-DQAX2QTZ.js} +17 -16
  164. package/dist/{normalize-audio-Q4VUR3QJ.js → normalize-audio-K7VCJQYJ.js} +30 -19
  165. package/dist/{open-LGKX534P.js → open-ZSBVR3KC.js} +17 -16
  166. package/dist/{parakeetRunner-FAOQMPS6.js → parakeetRunner-XXZHJYKO.js} +12 -12
  167. package/dist/{pipeline-2YONKZYC.js → pipeline-KNLOS5CL.js} +11 -11
  168. package/dist/{play-PJOUIY55.js → play-GQWF7MU5.js} +32 -34
  169. package/dist/{policies-UPNRQ7IW.js → policies-J5BWAZHM.js} +11 -10
  170. package/dist/{preflight-3PPM7QBU.js → preflight-UMKQ5C5W.js} +7 -7
  171. package/dist/{present-323D6OE2.js → present-X7BPH35M.js} +28 -30
  172. package/dist/{preview-E42QP2KX.js → preview-5Q7HPEOF.js} +25 -24
  173. package/dist/{producer-MTMNLJSC.js → producer-IXOPGETH.js} +1 -1
  174. package/dist/{progress-LMQ2DXM4.js → progress-X3QFO3FE.js} +4 -4
  175. package/dist/{projectConfig-5QRVB5KY.js → projectConfig-YGI5AINR.js} +6 -6
  176. package/dist/{prompts-P3IT5H36.js → prompts-VAO7RDKX.js} +2 -2
  177. package/dist/{publication-AUZLFOG5.js → publication-ZSDCS2ST.js} +2 -2
  178. package/dist/{publish-H5P7UHRV.js → publish-S2IIRPFZ.js} +18 -18
  179. package/dist/{refresh-4XRQS3N6.js → refresh-IYRGLHG5.js} +5 -5
  180. package/dist/{remove-background-T2RV476S.js → remove-background-F2WFDCNM.js} +22 -18
  181. package/dist/{render-4XEB3XWI.js → render-CHRSSQNM.js} +60 -58
  182. package/dist/{render-3FRGIWES.js → render-NVHUPEDG.js} +28 -27
  183. package/dist/{render-GJH7446R.js → render-WYBQO4SR.js} +11 -10
  184. package/dist/{render-batch-77X5453X.js → render-batch-SDGA2643.js} +12 -11
  185. package/dist/renderSetupWorker.js +1 -1
  186. package/dist/{resolver-DIUNK525.js → resolver-3W2OPVGC.js} +4 -4
  187. package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
  188. package/dist/{sherpa-SUS3YSEP.js → sherpa-HCPAOYGA.js} +11 -11
  189. package/dist/{sites-V42IFVTK.js → sites-MTLVMYJ6.js} +2 -2
  190. package/dist/{skills-YCGSIOCE.js → skills-KOVM4OP5.js} +17 -13
  191. package/dist/{skillsUpdateCheck-VCQIZGOL.js → skillsUpdateCheck-ISMQFMPY.js} +5 -3
  192. package/dist/{snapshot-H6R5PWNS.js → snapshot-K7LVZDHG.js} +340 -107
  193. package/dist/{src-ED5VCIRC.js → src-FUMXFZYG.js} +10 -10
  194. package/dist/{src-HHDLJV4L.js → src-QEFKMRH7.js} +11 -5
  195. package/dist/{state-D5SYQFCB.js → state-6QHNNHDA.js} +2 -2
  196. package/dist/{staticProjectServer-VY7QG5XH.js → staticProjectServer-MF57NBIU.js} +18 -18
  197. package/dist/{status-GEZNVPII.js → status-SLILCDBZ.js} +12 -7
  198. package/dist/studio/assets/{hyperframes-player-CzrqgMUX.js → hyperframes-player-Bb6n05RB.js} +1 -1
  199. package/dist/studio/assets/{index-B3SPHPi1.js → index-DOtf09XR.js} +1 -1
  200. package/dist/studio/assets/{index-k4nVfS2D.js → index-pq574E5O.js} +119 -119
  201. package/dist/studio/index.html +1 -1
  202. package/dist/{studio-api-TR5RPX57.js → studio-api-Y4S3W7XE.js} +10 -10
  203. package/dist/{studioServer-4SZLLQOV.js → studioServer-5LUZQOQV.js} +53 -52
  204. package/dist/{synthesize-QALK5SQR.js → synthesize-FQML2LN2.js} +2 -2
  205. package/dist/{telemetry-KGY7G3UR.js → telemetry-NTO4FJFN.js} +5 -4
  206. package/dist/{telemetry-7HUKOQ6X.js → telemetry-TJMB5BTF.js} +6 -5
  207. package/dist/{timeline-CGIKWCQI.js → timeline-CU6CIWYL.js} +31 -27
  208. package/dist/{tokens-AZALDJEK.js → tokens-7P4N2FWN.js} +5 -4
  209. package/dist/{transcribe-CTF5EIXJ.js → transcribe-FZ7JK6QS.js} +28 -25
  210. package/dist/{transcribe-V6K5547L.js → transcribe-TFDEQFMG.js} +10 -10
  211. package/dist/{tts-C2HBLFKK.js → tts-K5HRN6NQ.js} +17 -13
  212. package/dist/{updateCheck-5I563YLB.js → updateCheck-HUDVZHVM.js} +4 -2
  213. package/dist/{upgrade-GRPVQE7Z.js → upgrade-KP4RQZKY.js} +7 -6
  214. package/dist/{urlDownloader-EP6Q4WES.js → urlDownloader-5SHSHWMB.js} +5 -5
  215. package/dist/{validate-TVCDSQS3.js → validate-VWX423M4.js} +27 -26
  216. package/dist/{video-CFEIRKAE.js → video-K4L2YFU2.js} +10 -10
  217. package/dist/warmCheck.js +44 -43
  218. package/package.json +1 -1
  219. package/dist/chunk-FWKZ3O52.js +0 -4870
  220. package/dist/chunk-WQ6ZXHFQ.js +0 -133
@@ -6,10 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-J2JG4XGP.js";
10
- import {
11
- failCommand
12
- } from "./chunk-LALLQUSK.js";
9
+ } from "./chunk-5ZBMHUY2.js";
13
10
  import {
14
11
  cssVariableName,
15
12
  slugify
@@ -17,6 +14,9 @@ import {
17
14
  import {
18
15
  DOMParser
19
16
  } from "./chunk-GWTIFRF5.js";
17
+ import {
18
+ failCommand
19
+ } from "./chunk-DP5LF7GF.js";
20
20
 
21
21
  // ../core/dist/figma/client.js
22
22
  var FigmaClientError = class extends Error {
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-34PIVLZQ.js");
1281
+ const { trackCommandFailure } = await import("./events-TBKM6B5H.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-DMIFCIG6.js";
9
+ } from "./chunk-IHYWP4V5.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-FWKZ3O52.js";
17
+ } from "./chunk-N3ZAIZF3.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-VAS6HQX3.js";
@@ -14,10 +14,12 @@ var USAGE_EXIT_CODE = 2;
14
14
  var CliUsageError = class extends Error {
15
15
  result;
16
16
  hint;
17
+ code;
17
18
  constructor(message = "Invalid command usage", options = {}) {
18
19
  super(message);
19
20
  this.name = "CliUsageError";
20
21
  this.hint = options.hint;
22
+ this.code = options.code ?? "usage_error";
21
23
  this.result = {
22
24
  exitCode: options.exitCode ?? USAGE_EXIT_CODE,
23
25
  kind: "usage_error",
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-DDRCX7P2.js";
9
+ } from "./chunk-KL2UJXCY.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -9,44 +9,45 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-IEVU4FXB.js";
12
+ } from "./chunk-ZTCILR3V.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-6J2G57BB.js";
15
+ } from "./chunk-N3MOQTRS.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-DJ3H6EW3.js";
22
+ } from "./chunk-NP4G4WPP.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-7J6LQ3SQ.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-T2L2GJ4C.js";
28
+ } from "./chunk-7LOVQRUJ.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-5MCR5DA5.js";
32
+ } from "./chunk-BVHNFPRF.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-DL4OD7IA.js";
36
- import {
37
- failCommand,
38
- setCommandExitCode
39
- } from "./chunk-LALLQUSK.js";
40
36
  import {
41
37
  c
42
38
  } from "./chunk-2GICKZ3I.js";
43
39
  import {
44
40
  printDeprecationNotice,
45
41
  withMeta
46
- } from "./chunk-RQNFW6YC.js";
42
+ } from "./chunk-O63A26XQ.js";
47
43
  import {
48
- normalizeErrorMessage
49
- } from "./chunk-E63BDV4Z.js";
44
+ failureMessage,
45
+ jsonFailure
46
+ } from "./chunk-SJGE5I5F.js";
47
+ import {
48
+ failCommand,
49
+ setCommandExitCode
50
+ } from "./chunk-DP5LF7GF.js";
50
51
 
51
52
  // src/commands/layout.ts
52
53
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -698,7 +699,7 @@ async function collectTweenBoundaries(page) {
698
699
  });
699
700
  }
700
701
  async function bundleProjectHtml(projectDir) {
701
- const { bundleToSingleHtml } = await import("./compiler-4ITKK4XI.js");
702
+ const { bundleToSingleHtml } = await import("./compiler-3ED6KJYN.js");
702
703
  return bundleToSingleHtml(projectDir);
703
704
  }
704
705
  async function alignViewportToComposition(page, url) {
@@ -717,13 +718,13 @@ async function alignViewportToComposition(page, url) {
717
718
  async function runLayoutAudit(projectDir, opts) {
718
719
  const { ensureBrowser } = await import("./manager-IZIK7BHN.js");
719
720
  const puppeteer = await import("puppeteer-core");
720
- const { buildChromeArgs } = await import("./src-HHDLJV4L.js");
721
+ const { buildChromeArgs } = await import("./src-QEFKMRH7.js");
721
722
  const {
722
723
  assertWebGpuAdapterAvailable,
723
724
  compositionRequiresWebGpu,
724
725
  resolveLocalBrowserGpuMode,
725
726
  resolveLocalWebGpu
726
- } = await import("./gpuPolicy-Q4B3D6PW.js");
727
+ } = await import("./gpuPolicy-CK2XDEAM.js");
727
728
  const html = await bundleProjectHtml(projectDir);
728
729
  const server = await serveStaticProjectHtml(
729
730
  projectDir,
@@ -874,8 +875,7 @@ function resolveMotionSpec(specPath, json) {
874
875
  withMeta(
875
876
  {
876
877
  schemaVersion: INSPECT_SCHEMA_VERSION,
877
- ok: false,
878
- error: message,
878
+ ...jsonFailure("runtime_error", message),
879
879
  issues: [],
880
880
  errorCount: 0,
881
881
  warningCount: 0,
@@ -1055,15 +1055,14 @@ function createInspectCommand(commandName) {
1055
1055
  setCommandExitCode(ok ? 0 : 1);
1056
1056
  return;
1057
1057
  } catch (err) {
1058
- const message = normalizeErrorMessage(err);
1058
+ const message = failureMessage(err);
1059
1059
  if (args.json) {
1060
1060
  console.log(
1061
1061
  JSON.stringify(
1062
1062
  withMeta(
1063
1063
  {
1064
1064
  schemaVersion: INSPECT_SCHEMA_VERSION,
1065
- ok: false,
1066
- error: message,
1065
+ ...jsonFailure("runtime_error", message),
1067
1066
  issues: [],
1068
1067
  errorCount: 0,
1069
1068
  warningCount: 0,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-3NIESDKN.js";
9
+ } from "./chunk-NGJS5H5E.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-NHA4NRBE.js";
@@ -4,12 +4,15 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ asNotice
9
+ } from "./chunk-SJGE5I5F.js";
7
10
 
8
11
  // src/ui/diagnostics.ts
9
12
  var diag = {
10
13
  /** A user-facing notice or progress line (e.g. "Installing … skills…"). */
11
14
  notice(...args) {
12
- console.error(...args);
15
+ asNotice(() => console.error(...args));
13
16
  },
14
17
  /** A warning the user should see but that isn't fatal. */
15
18
  warn(...args) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-IEVU4FXB.js";
9
+ } from "./chunk-ZTCILR3V.js";
10
10
  import {
11
11
  DEFAULT_HISTORY_ROOT,
12
12
  HistoryBusyError,
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-OE5EHGDG.js";
9
+ } from "./chunk-3OYLHBQZ.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-3LACB6HG.js";
15
+ } from "./chunk-VTX27LET.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-PKWZG642.js";
19
+ } from "./chunk-CLA4XSBO.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-67JTGRNM.js";
23
+ } from "./chunk-ZSRNM6LP.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-QVHC77IF.js";
28
+ } from "./chunk-Z7QHOT65.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshIfNeeded
9
- } from "./chunk-3JYKWNFR.js";
9
+ } from "./chunk-VVDHSRKD.js";
10
10
  import {
11
11
  buildAuthHeaders,
12
12
  envCredentialVar,
13
13
  isAuthError,
14
14
  isTokenExpired,
15
15
  tryResolveCredential
16
- } from "./chunk-FBN5AQJL.js";
16
+ } from "./chunk-7TWX4Y7I.js";
17
17
  import {
18
18
  rewriteSrcsetUrls
19
- } from "./chunk-FWKZ3O52.js";
19
+ } from "./chunk-N3ZAIZF3.js";
20
20
  import {
21
21
  CSS_URL_RE,
22
22
  isNonRelativeUrl,
@@ -0,0 +1,201 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/utils/download.ts
9
+ import { randomUUID } from "crypto";
10
+ import { createWriteStream, renameSync, statSync, unlinkSync } from "fs";
11
+ import { get as httpsGet } from "https";
12
+ import { once } from "events";
13
+ import { Transform } from "stream";
14
+ import { pipeline } from "stream/promises";
15
+ var DEFAULT_DOWNLOAD_TIMEOUT_MS = 3e4;
16
+ var REDIRECT_CODES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
17
+ function redirectTarget(location, from) {
18
+ return new URL(location, from).toString();
19
+ }
20
+ var MAX_REDIRECTS = 10;
21
+ function removePartialFile(path) {
22
+ try {
23
+ unlinkSync(path);
24
+ } catch {
25
+ }
26
+ }
27
+ function measureDownload(options, startBytes, totalBytes) {
28
+ let receivedBytes = startBytes;
29
+ let reportedAt = Date.now();
30
+ options.onProgress?.(receivedBytes, totalBytes);
31
+ const stream = new Transform({
32
+ transform(chunk, _encoding, callback) {
33
+ receivedBytes += chunk.byteLength;
34
+ if (options.maxBytes !== void 0 && receivedBytes > options.maxBytes) {
35
+ callback(new Error(`Download exceeded ${options.maxBytes} bytes`));
36
+ return;
37
+ }
38
+ const now = Date.now();
39
+ if (now - reportedAt >= 100) {
40
+ options.onProgress?.(receivedBytes, totalBytes);
41
+ reportedAt = now;
42
+ }
43
+ callback(null, chunk);
44
+ }
45
+ });
46
+ return {
47
+ stream,
48
+ received: () => receivedBytes,
49
+ complete: () => options.onProgress?.(receivedBytes, totalBytes)
50
+ };
51
+ }
52
+ function getUrl(url, signal, offset, onResponse) {
53
+ const headers = offset > 0 ? { Range: `bytes=${offset}-` } : void 0;
54
+ if (!signal && !headers) return httpsGet(url, onResponse);
55
+ return httpsGet(
56
+ url,
57
+ { ...signal ? { signal } : {}, ...headers ? { headers } : {} },
58
+ onResponse
59
+ );
60
+ }
61
+ function fileSize(path) {
62
+ try {
63
+ return statSync(path).size;
64
+ } catch {
65
+ return 0;
66
+ }
67
+ }
68
+ function byteCount(value) {
69
+ const n = Number(value);
70
+ return value !== void 0 && Number.isSafeInteger(n) && n >= 0 ? n : null;
71
+ }
72
+ function contentRange(header) {
73
+ const match = /^bytes (\d+)-\d+\/(\d+|\*)$/.exec(header ?? "");
74
+ return match ? { start: Number(match[1]), total: match[2] === "*" ? null : Number(match[2]) } : null;
75
+ }
76
+ function planResponse(res, offset) {
77
+ const status = res.statusCode;
78
+ const location = res.headers.location;
79
+ if (status && REDIRECT_CODES.has(status) && location) return { kind: "redirect", location };
80
+ const range = status === 206 ? contentRange(res.headers["content-range"]) : null;
81
+ if (offset > 0 && range?.start === offset) {
82
+ return { kind: "body", start: offset, total: range.total, append: true };
83
+ }
84
+ if (status === 200) {
85
+ return {
86
+ kind: "body",
87
+ start: 0,
88
+ total: byteCount(res.headers["content-length"]),
89
+ append: false
90
+ };
91
+ }
92
+ return { kind: "refuse", status };
93
+ }
94
+ async function writeBody(res, tmp, plan, state, options) {
95
+ state.received = plan.start;
96
+ state.total = plan.total;
97
+ const meter = measureDownload(options, plan.start, plan.total);
98
+ const file = createWriteStream(tmp, { flags: plan.append ? "a" : "w" });
99
+ try {
100
+ await pipeline(res, meter.stream, file);
101
+ } catch (error) {
102
+ if (!file.closed) await once(file, "close").catch(() => {
103
+ });
104
+ state.received = fileSize(tmp);
105
+ throw error;
106
+ }
107
+ state.received = meter.received();
108
+ meter.complete();
109
+ }
110
+ function downloadAttempt(url, tmp, state, options) {
111
+ const timeoutMs = options.timeoutMs ?? DEFAULT_DOWNLOAD_TIMEOUT_MS;
112
+ const offset = state.received;
113
+ return new Promise((resolve, reject) => {
114
+ const follow = (u, hops = 0) => {
115
+ let activeResponse;
116
+ let responseDiscarded = false;
117
+ let responsePipelineStarted = false;
118
+ let requestError;
119
+ const discard = (res) => {
120
+ responseDiscarded = true;
121
+ res.destroy();
122
+ };
123
+ const onResponse = (res) => {
124
+ activeResponse = res;
125
+ const plan = planResponse(res, offset);
126
+ if (plan.kind === "refuse") {
127
+ discard(res);
128
+ reject(new Error(`Download failed: HTTP ${plan.status}`));
129
+ } else if (plan.kind === "redirect") {
130
+ discard(res);
131
+ if (hops >= MAX_REDIRECTS) {
132
+ reject(
133
+ new Error(
134
+ `Download failed: more than ${MAX_REDIRECTS} redirects from ${url.split("?")[0]}`
135
+ )
136
+ );
137
+ } else {
138
+ try {
139
+ follow(redirectTarget(plan.location, u), hops + 1);
140
+ } catch (error) {
141
+ reject(error);
142
+ }
143
+ }
144
+ } else {
145
+ responsePipelineStarted = true;
146
+ writeBody(res, tmp, plan, state, options).then(
147
+ resolve,
148
+ (err) => reject(requestError ?? err)
149
+ );
150
+ }
151
+ };
152
+ let request;
153
+ try {
154
+ request = getUrl(u, options.signal, offset, onResponse);
155
+ } catch (error) {
156
+ reject(error);
157
+ return;
158
+ }
159
+ request.setTimeout(timeoutMs, () => {
160
+ request.destroy(new Error(`Download timed out after ${timeoutMs}ms`));
161
+ });
162
+ request.on("error", (err) => {
163
+ if (responseDiscarded) return;
164
+ if (responsePipelineStarted) {
165
+ requestError = err;
166
+ activeResponse?.destroy(err);
167
+ return;
168
+ }
169
+ reject(err);
170
+ });
171
+ };
172
+ follow(url);
173
+ });
174
+ }
175
+ async function downloadFile(url, dest, options = {}) {
176
+ const tmp = `${dest}.${process.pid}.${randomUUID()}.tmp`;
177
+ const state = { received: 0, total: null };
178
+ for (; ; ) {
179
+ const before = state.received;
180
+ try {
181
+ await downloadAttempt(url, tmp, state, options);
182
+ const size = fileSize(tmp);
183
+ if (state.total !== null && size !== state.total) {
184
+ state.received = size;
185
+ throw new Error(`Download incomplete: ${size} of ${state.total} bytes`);
186
+ }
187
+ renameSync(tmp, dest);
188
+ return;
189
+ } catch (error) {
190
+ const overLimit = error instanceof Error && error.message.startsWith("Download exceeded");
191
+ if (options.signal?.aborted || overLimit || state.received <= before) {
192
+ removePartialFile(tmp);
193
+ throw error;
194
+ }
195
+ }
196
+ }
197
+ }
198
+
199
+ export {
200
+ downloadFile
201
+ };
@@ -4,15 +4,45 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- CliUsageError
9
- } from "./chunk-LALLQUSK.js";
10
7
  import {
11
8
  c
12
9
  } from "./chunk-2GICKZ3I.js";
10
+ import {
11
+ CliUsageError
12
+ } from "./chunk-DP5LF7GF.js";
13
+
14
+ // src/utils/didYouMean.ts
15
+ function editDistance(a, b) {
16
+ let previous = Array.from({ length: b.length + 1 }, (_, i) => i);
17
+ for (let i = 1; i <= a.length; i++) {
18
+ const current = [i];
19
+ for (let j = 1; j <= b.length; j++) {
20
+ const substitution = previous[j - 1] + (a[i - 1] === b[j - 1] ? 0 : 1);
21
+ current[j] = Math.min(previous[j] + 1, current[j - 1] + 1, substitution);
22
+ }
23
+ previous = current;
24
+ }
25
+ return previous[b.length];
26
+ }
27
+ function closestMatch(input, candidates) {
28
+ const names = [...candidates];
29
+ const prefixed = input.length >= 2 ? names.find((name) => name.startsWith(input)) : void 0;
30
+ if (prefixed) return prefixed;
31
+ const limit = input.length <= 3 ? 1 : Math.max(2, Math.floor(input.length / 3));
32
+ let best;
33
+ let bestDistance = limit + 1;
34
+ for (const name of names) {
35
+ const distance = editDistance(input, name);
36
+ if (distance < bestDistance) {
37
+ best = name;
38
+ bestDistance = distance;
39
+ }
40
+ }
41
+ return best;
42
+ }
13
43
 
14
44
  // src/utils/reject-unknown-flags.ts
15
- var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v", "json"]);
45
+ var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
16
46
  function nameVariants(name) {
17
47
  const kebab = name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
18
48
  const camel = name.replace(/-([a-z])/g, (_, c2) => c2.toUpperCase());
@@ -52,6 +82,20 @@ function unknownFlagIn(tok, known) {
52
82
  }
53
83
  return null;
54
84
  }
85
+ function unknownFlagError(flag, known, path) {
86
+ const command = `hyperframes ${path ? `${path} ` : ""}`.trim();
87
+ if (flag === "--json") {
88
+ return new CliUsageError(`${command} has no JSON output.`, {
89
+ code: "json_unsupported",
90
+ hint: "Run it without --json."
91
+ });
92
+ }
93
+ const longNames = [...known].filter((name) => name.length > 1);
94
+ const match = flag.startsWith("--") ? closestMatch(flag.slice(2), longNames) : void 0;
95
+ const help = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
96
+ const hint = match ? `Did you mean --${match}? ${help}` : help;
97
+ return new CliUsageError(`Unknown flag: ${flag}`, { hint, code: "unknown_flag" });
98
+ }
55
99
  function assertKnownFlags(cmd, rawArgs, path = "") {
56
100
  if (!Array.isArray(rawArgs)) return;
57
101
  const rawDef = cmd.args;
@@ -60,10 +104,7 @@ function assertKnownFlags(cmd, rawArgs, path = "") {
60
104
  for (const tok of rawArgs) {
61
105
  if (tok === "--") break;
62
106
  const bad = unknownFlagIn(tok, known);
63
- if (bad) {
64
- const hint = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
65
- throw new CliUsageError(`Unknown flag: ${bad}`, { hint });
66
- }
107
+ if (bad) throw unknownFlagError(bad, known, path);
67
108
  }
68
109
  }
69
110
  function stringValueFlagOwners(args, ignore) {
@@ -139,6 +180,7 @@ function guardSwallowedFlagValues(cmd, path, rawArgs) {
139
180
  }
140
181
 
141
182
  export {
183
+ closestMatch,
142
184
  assertKnownFlags,
143
185
  swallowedFlagUsageError,
144
186
  guardSwallowedFlagValues
@@ -10,7 +10,7 @@ import {
10
10
  hasPreservedUnknownData,
11
11
  readStore,
12
12
  writeStore
13
- } from "./chunk-FBN5AQJL.js";
13
+ } from "./chunk-7TWX4Y7I.js";
14
14
 
15
15
  // src/auth/user.ts
16
16
  function isUserInfoEmpty(u) {
@@ -5,11 +5,12 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
- // ../studio-server/dist/chunk-ZR3T4TKU.js
8
+ // ../studio-server/dist/chunk-H5AB5322.js
9
9
  var CRF_MAX_BY_FORMAT = { mp4: 51, webm: 63 };
10
10
  var VIDEO_BITRATE = /^\d+(\.\d+)?[kKmMgG]?$/;
11
11
  var VIDEO_FRAME_FORMATS = ["auto", "jpg", "png"];
12
12
  var HDR_MODES = ["auto", "force-hdr", "force-sdr"];
13
+ var PRORES_PROFILES = ["4444", "hq", "422", "lt", "proxy"];
13
14
  var isSet = (value) => value !== void 0 && value !== null;
14
15
  function oneOf(value, allowed) {
15
16
  return typeof value === "string" && allowed.includes(value);
@@ -70,12 +71,21 @@ function parseDelivery(body, format) {
70
71
  }
71
72
  return { ok: true, options };
72
73
  }
74
+ function parseProres(value, format) {
75
+ if (!isSet(value)) return { ok: true, options: {} };
76
+ if (!oneOf(value, PRORES_PROFILES)) {
77
+ return { ok: false, error: `proresProfile must be one of ${PRORES_PROFILES.join(", ")}` };
78
+ }
79
+ return { ok: true, options: format === "mov" ? { proresProfile: value } : {} };
80
+ }
73
81
  function parseEncoderOptions(body, format) {
74
82
  const rate = parseRateControl(body, format);
75
83
  if (!rate.ok) return rate;
76
84
  const delivery = parseDelivery(body, format);
77
85
  if (!delivery.ok) return delivery;
78
- const options = { ...rate.options, ...delivery.options };
86
+ const prores = parseProres(body.proresProfile, format);
87
+ if (!prores.ok) return prores;
88
+ const options = { ...rate.options, ...delivery.options, ...prores.options };
79
89
  if (isSet(body.gifLoop)) {
80
90
  if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
81
91
  return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };