hyperframes 0.9.37 → 0.9.39

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 (241) hide show
  1. package/dist/{add-IQIHS7ZQ.js → add-EPF7Q5LH.js} +11 -11
  2. package/dist/{agentPromptGenerator-PBF4MT4B.js → agentPromptGenerator-5I5H7RT5.js} +6 -6
  3. package/dist/{animatedGifPrep-7TU6NVDE.js → animatedGifPrep-4FJPUGZK.js} +6 -6
  4. package/dist/api.js +29 -29
  5. package/dist/{asset-4VSZJOKY.js → asset-Y6ED44BL.js} +2 -2
  6. package/dist/{assetCataloger-PZJR537U.js → assetCataloger-RBXHXTRT.js} +7 -7
  7. package/dist/{audio-7PWVXSJ2.js → audio-ZXV3V26D.js} +12 -12
  8. package/dist/{auth-FZ6KZXCL.js → auth-3PUCJISM.js} +2 -2
  9. package/dist/{autoUpdate-7B7CD4CQ.js → autoUpdate-3FBAOTZS.js} +2 -2
  10. package/dist/{avatars-KNHYAOJ4.js → avatars-TRTJL7G3.js} +10 -10
  11. package/dist/{backgroundChecks-FH2UEVAI.js → backgroundChecks-AD63IABJ.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-OSW3B7A4.js → batchRender-G5PRCRZ6.js} +3 -3
  14. package/dist/{beats-BW4A2LQ6.js → beats-C7NQQPCE.js} +8 -8
  15. package/dist/{benchmark-L2WT64XD.js → benchmark-FZSXEOQ2.js} +10 -9
  16. package/dist/{billing-PEFWMJYB.js → billing-DRPPJ3YD.js} +10 -10
  17. package/dist/{browser-CZUTCLHK.js → browser-MCB5RDJX.js} +5 -5
  18. package/dist/{bundleWithLocalizedFonts-IZYW6FIV.js → bundleWithLocalizedFonts-DUWMRI2L.js} +1 -1
  19. package/dist/{capture-NCR2BPKV.js → capture-GIRFKWFA.js} +14 -14
  20. package/dist/{capture-G3OGRUAN.js → capture-JFIODHSM.js} +3 -3
  21. package/dist/{captureCompositionFrame-M2MTVFPY.js → captureCompositionFrame-EDC7GN63.js} +13 -13
  22. package/dist/{catalog-EZP2RWMC.js → catalog-FNXA5YNX.js} +11 -11
  23. package/dist/{catch-up-IAGAFBUC.js → catch-up-DMIXTHHW.js} +6 -6
  24. package/dist/{check-Y5ZDSFTL.js → check-N6R5HDYR.js} +38 -38
  25. package/dist/{checkAudio-UPKSXM6O.js → checkAudio-A7CLQOUT.js} +9 -9
  26. package/dist/{checkBrowser-E3JKBE6E.js → checkBrowser-6BHXXNPQ.js} +32 -32
  27. package/dist/{chunk-3RMYJGDR.js → chunk-27RP4FZY.js} +7 -7
  28. package/dist/{chunk-NL2BKQBO.js → chunk-2UXRHKWA.js} +2 -2
  29. package/dist/{chunk-LGPEN7SE.js → chunk-3PQYPF36.js} +3 -3
  30. package/dist/{chunk-2XMF3H4T.js → chunk-4PYV2WCX.js} +1 -1
  31. package/dist/{chunk-HOKYS2AJ.js → chunk-4VB4NG7Q.js} +2 -2
  32. package/dist/{chunk-AC7KSSDQ.js → chunk-6EHXBROO.js} +2 -2
  33. package/dist/{chunk-OX73UETR.js → chunk-6JE3ZVZI.js} +4 -4
  34. package/dist/{chunk-RI4QWPMN.js → chunk-73KYX3FT.js} +3 -3
  35. package/dist/chunk-7ORCP3DJ.js +5053 -0
  36. package/dist/{chunk-36P26ILD.js → chunk-7RC6WJRQ.js} +2 -2
  37. package/dist/{chunk-PK5I3C5A.js → chunk-7Y47MTVU.js} +2 -2
  38. package/dist/{chunk-KLDMFHQP.js → chunk-7YZZ3LMX.js} +5 -5
  39. package/dist/{chunk-P3BHYHEJ.js → chunk-A423M2GX.js} +1 -1
  40. package/dist/{chunk-CNAVFDUF.js → chunk-ABHH72XJ.js} +3 -3
  41. package/dist/{chunk-6BRNC42U.js → chunk-ALKIRXCH.js} +1 -1
  42. package/dist/{chunk-275HEJWI.js → chunk-AU3IQ43F.js} +1 -1
  43. package/dist/{chunk-JJA4EMNO.js → chunk-CJAYLJIZ.js} +4 -2
  44. package/dist/{chunk-SURRJYN5.js → chunk-CY454EGG.js} +1 -1
  45. package/dist/{chunk-OJEU6EGQ.js → chunk-DCFA67GA.js} +2 -2
  46. package/dist/{chunk-WQJ5W4WM.js → chunk-DHW5MHVM.js} +1 -1
  47. package/dist/{chunk-ZPGODXXD.js → chunk-E5RZRG6T.js} +1 -1
  48. package/dist/{chunk-VJCGDSYU.js → chunk-ECCL3T3M.js} +1 -1
  49. package/dist/{chunk-HQKQ7G6L.js → chunk-EJ3PLUXI.js} +1 -1
  50. package/dist/{chunk-464YPKAD.js → chunk-GBHQIIW4.js} +1 -1
  51. package/dist/{chunk-ZZH3BDBR.js → chunk-GH7QKRBB.js} +2 -2
  52. package/dist/{chunk-YUQC2PFF.js → chunk-GOCDQNFH.js} +2 -2
  53. package/dist/{chunk-DOKWEMRD.js → chunk-H4GPL3AR.js} +66 -18
  54. package/dist/{chunk-LTB6C2S2.js → chunk-HFLGP2N4.js} +1 -1
  55. package/dist/{chunk-VO7JX5MH.js → chunk-HKFXLCVW.js} +1 -1
  56. package/dist/{chunk-WMNHHH4G.js → chunk-J4JHA5KK.js} +2 -2
  57. package/dist/{chunk-NSUA7UGO.js → chunk-JIEFYLQB.js} +3 -3
  58. package/dist/{chunk-424M5ITI.js → chunk-JIGONWQU.js} +1 -1
  59. package/dist/{chunk-Y3VS2ULV.js → chunk-JKEEGU3M.js} +1 -1
  60. package/dist/{chunk-DPKNVEUN.js → chunk-JOZDGORN.js} +67 -7
  61. package/dist/{chunk-K7E6H4DR.js → chunk-JWICDBCI.js} +3 -3
  62. package/dist/{chunk-4RHBW4E7.js → chunk-K7TH53HI.js} +4 -4
  63. package/dist/{chunk-DHYYW7TY.js → chunk-KU6HKKSH.js} +3 -3
  64. package/dist/{chunk-OPMYN4QX.js → chunk-L2NIMKOH.js} +5 -5
  65. package/dist/{chunk-ZHOC7WEG.js → chunk-L36GD43R.js} +10 -10
  66. package/dist/{chunk-43KCJ64B.js → chunk-LGB64JGG.js} +15 -8
  67. package/dist/{chunk-TNQLOBHZ.js → chunk-M4FETH22.js} +1 -1
  68. package/dist/{chunk-UD3JHXDK.js → chunk-M7MXXRET.js} +2 -2
  69. package/dist/{chunk-IL3VIGJ6.js → chunk-MCEO5ADO.js} +2 -2
  70. package/dist/{chunk-ILIYAYQJ.js → chunk-MK5CNS6Z.js} +1 -1
  71. package/dist/{chunk-2FY24OAX.js → chunk-MWUYKLK2.js} +1 -1
  72. package/dist/{chunk-3GHXPNOB.js → chunk-N7UUAKFP.js} +2 -2
  73. package/dist/{chunk-N63ML5LM.js → chunk-O2YUYQ5T.js} +1 -1
  74. package/dist/{chunk-5KDBUZEB.js → chunk-OFJYMQSV.js} +1 -1
  75. package/dist/{chunk-FB52G27O.js → chunk-OGSGFMKK.js} +1 -1
  76. package/dist/{chunk-23FXEJJT.js → chunk-OX7IN5U2.js} +1 -1
  77. package/dist/{chunk-NC7ZNIXW.js → chunk-PD56FD7N.js} +1 -1
  78. package/dist/{chunk-K3G3RYZY.js → chunk-PTAOILB2.js} +2 -2
  79. package/dist/{chunk-BZRQQI27.js → chunk-PV2SHAID.js} +20 -20
  80. package/dist/{chunk-64KB74WF.js → chunk-QG2PTQ5Q.js} +13 -13
  81. package/dist/{chunk-ZMJMY5CR.js → chunk-QTO2LAX3.js} +1 -1
  82. package/dist/{chunk-D7NBFM36.js → chunk-RFOD2LIS.js} +1 -1
  83. package/dist/{chunk-TJN27NAJ.js → chunk-RFX7G7QC.js} +7 -7
  84. package/dist/{chunk-X3QJIV5L.js → chunk-TPHMGQZB.js} +2 -2
  85. package/dist/{chunk-YLKJSPO4.js → chunk-TVSUPOOH.js} +74 -61
  86. package/dist/{chunk-OFPYC4XF.js → chunk-TWNQXV34.js} +1 -1
  87. package/dist/{chunk-PNJC2462.js → chunk-U5T7JC4R.js} +6 -6
  88. package/dist/{chunk-Y47OUROH.js → chunk-UNYPNSOJ.js} +1 -1
  89. package/dist/{chunk-JCIWX3ZX.js → chunk-UPODO2HU.js} +1 -1
  90. package/dist/{chunk-7E2IR5YL.js → chunk-UPRRMIY7.js} +1 -1
  91. package/dist/{chunk-IJNSVKFB.js → chunk-UUIJRHMO.js} +2 -2
  92. package/dist/{chunk-JKUC7A3A.js → chunk-VAUINYED.js} +1 -1
  93. package/dist/{chunk-57NAJJ2L.js → chunk-VLG64TXW.js} +2 -2
  94. package/dist/{chunk-3YWAA2CG.js → chunk-VLUDAW5X.js} +2 -2
  95. package/dist/{chunk-H7ECN5WE.js → chunk-VP4OD5KI.js} +2 -2
  96. package/dist/{chunk-VXTCMPNE.js → chunk-VQTDLM5E.js} +3 -3
  97. package/dist/{chunk-IB4TJZZM.js → chunk-VRR6FYUY.js} +1 -1
  98. package/dist/{chunk-OT2VLOPB.js → chunk-VX2JJLY4.js} +2 -2
  99. package/dist/{chunk-5I3EM64R.js → chunk-WAY5TSVT.js} +1 -1
  100. package/dist/{chunk-6UQGCFPG.js → chunk-WC6BPO2G.js} +2 -2
  101. package/dist/{chunk-A25ISJEK.js → chunk-WFWHPBXH.js} +1 -1
  102. package/dist/{chunk-VIFUSDHT.js → chunk-X3D672WJ.js} +7 -7
  103. package/dist/{chunk-UVFK4ZJX.js → chunk-XNMUNUOI.js} +3 -3
  104. package/dist/{chunk-EEY2ZTO7.js → chunk-XRFGNYTK.js} +4 -4
  105. package/dist/{chunk-6Q2FBJUF.js → chunk-XSZV7X7Y.js} +1 -1
  106. package/dist/{chunk-L2MAAYAE.js → chunk-XTLTLVEO.js} +1 -1
  107. package/dist/{chunk-VOP4S73F.js → chunk-XVOP5KDL.js} +2 -2
  108. package/dist/{chunk-W6EIGNTX.js → chunk-Y6NJN34R.js} +2 -2
  109. package/dist/{chunk-SEZQDAYP.js → chunk-YCHJNTEL.js} +10 -10
  110. package/dist/{chunk-XRWK2BXI.js → chunk-YD5A2ARU.js} +3 -3
  111. package/dist/{chunk-VDT2JIH2.js → chunk-YGG3ESNU.js} +221 -191
  112. package/dist/{chunk-BRTRZFR3.js → chunk-YNOBKT65.js} +7 -7
  113. package/dist/{chunk-SF2MHFM4.js → chunk-YWC7LMRZ.js} +1 -1
  114. package/dist/{chunk-TF3RW2VO.js → chunk-YX7XMHLP.js} +3 -3
  115. package/dist/{chunk-PVC2IEBV.js → chunk-Z6UJRQ2E.js} +14 -14
  116. package/dist/{chunk-H23DEQUR.js → chunk-ZEGG7LH6.js} +4 -4
  117. package/dist/{chunk-XLUF4H7G.js → chunk-ZPCOLVTF.js} +1 -1
  118. package/dist/{chunk-EYCOZTOP.js → chunk-ZY4OD7VP.js} +1 -1
  119. package/dist/{clean-H7533JWH.js → clean-J4527G73.js} +16 -16
  120. package/dist/cli.js +62 -62
  121. package/dist/{cloud-SKP5HRF6.js → cloud-UFYDCGO2.js} +4 -4
  122. package/dist/{cloudrun-DHM2JTF4.js → cloudrun-V22QDCLM.js} +4 -4
  123. package/dist/{compare-73KIXXO4.js → compare-PG5O3VMU.js} +29 -29
  124. package/dist/{compiler-M72SGDOU.js → compiler-CHG6MOG6.js} +3 -3
  125. package/dist/{component-S36I7EO7.js → component-FIBAPSLU.js} +3 -3
  126. package/dist/{compositions-A52NWBWZ.js → compositions-S2ACFEK3.js} +10 -10
  127. package/dist/{curve-EVDIGJYH.js → curve-6Q2UHCNL.js} +10 -10
  128. package/dist/{cuts-F3FIOBTA.js → cuts-KEWJINAP.js} +11 -11
  129. package/dist/{delete-TDRI7D5U.js → delete-SY36IJ5P.js} +2 -2
  130. package/dist/{deploy-JZB6L4J4.js → deploy-SVZ4ZP77.js} +2 -2
  131. package/dist/{describeProject-H36ODIUH.js → describeProject-JWKAZF36.js} +7 -7
  132. package/dist/{destroy-WV6MWU2X.js → destroy-AULATPZF.js} +2 -2
  133. package/dist/{diff-NAG2HJBV.js → diff-TSM62WEL.js} +28 -28
  134. package/dist/{dist-7HLUWFLO.js → dist-E4C3FE62.js} +1 -1
  135. package/dist/{dist-OM5EYFH7.js → dist-QWNNHDYG.js} +9 -9
  136. package/dist/{dist-E6EIPNKP.js → dist-YNVYELIJ.js} +2 -2
  137. package/dist/{doctor-VQ7ZUC5L.js → doctor-XQYOC5ZB.js} +10 -10
  138. package/dist/{energy-4MXJFKNG.js → energy-BH4PNALP.js} +11 -11
  139. package/dist/{events-YEM2QSWC.js → events-D6E4M2YR.js} +12 -12
  140. package/dist/{events-RXRGHWXQ.js → events-O45JX52N.js} +2 -2
  141. package/dist/{events-C5QIPKS6.js → events-ZOCLAUA3.js} +5 -5
  142. package/dist/{execute-OR5EMOBQ.js → execute-NXFQ5YDK.js} +22 -22
  143. package/dist/{extract-J5432KPU.js → extract-2IQW5CSF.js} +11 -11
  144. package/dist/{face-HXKBJG63.js → face-DFF74UCY.js} +11 -11
  145. package/dist/{feedback-BHKFHVZA.js → feedback-CXL5W5RS.js} +9 -9
  146. package/dist/{ffmpeg-VK4BG6KD.js → ffmpeg-GQRDKJHR.js} +6 -6
  147. package/dist/{figma-SPZF4LB6.js → figma-MX3Z2N3G.js} +3 -3
  148. package/dist/fontLocalizeCli.js +9 -9
  149. package/dist/{frames-RVL3EUMR.js → frames-5UCV6BBN.js} +12 -12
  150. package/dist/{generate-KMDMGHHQ.js → generate-G4AWRWNK.js} +20 -20
  151. package/dist/{get-QOMTEU33.js → get-3GU6XDPT.js} +2 -2
  152. package/dist/{gpuPolicy-ZKTLDRVT.js → gpuPolicy-B4DVHXOK.js} +6 -6
  153. package/dist/{grade-compare-RUIBGR5N.js → grade-compare-JTHTWPO2.js} +30 -30
  154. package/dist/{heifImagePrep-EOEEK5ZL.js → heifImagePrep-R4IPVDVW.js} +7 -7
  155. package/dist/{help-JM4PZD5K.js → help-OU5VCJB6.js} +1 -1
  156. package/dist/{history-MHSGJDAM.js → history-CDY4EL62.js} +8 -8
  157. package/dist/hyperframe.manifest.json +1 -1
  158. package/dist/hyperframe.runtime.iife.js +64 -64
  159. package/dist/hyperframes-player.global.js +1 -1
  160. package/dist/{info-VZDNMGKV.js → info-WSAWF73H.js} +12 -12
  161. package/dist/{init-H7J3LFXP.js → init-A5UBCP2B.js} +26 -26
  162. package/dist/{ink-PZZ7VSVL.js → ink-AT5CIP6V.js} +11 -11
  163. package/dist/{inspect-IK4BU2MQ.js → inspect-MLI6KNL5.js} +30 -30
  164. package/dist/{installer-2S27QSFN.js → installer-KUUKUZIG.js} +4 -4
  165. package/dist/{keyframes-KLMHHNGZ.js → keyframes-MCW5LJ3B.js} +8 -8
  166. package/dist/{lambda-3QKEQ4SO.js → lambda-3HCOCTN3.js} +11 -11
  167. package/dist/{layout-HGL32QP2.js → layout-HSGAFRQN.js} +30 -30
  168. package/dist/{lint-IZJ3YYBY.js → lint-MSWAND2P.js} +9 -9
  169. package/dist/{lintProject-X7DFX2TQ.js → lintProject-O3YGJFWF.js} +1 -1
  170. package/dist/{list-BV5ZCZT7.js → list-T3HR2OFU.js} +2 -2
  171. package/dist/{localPage-SKD7BT3F.js → localPage-RHYQ5KCC.js} +6 -6
  172. package/dist/{login-5EE4LETP.js → login-R4VJ6L6S.js} +4 -4
  173. package/dist/{look-P7O2I4L2.js → look-7JMD6ZH2.js} +11 -11
  174. package/dist/{manager-CK7ICQLP.js → manager-PQJMDUJJ.js} +7 -7
  175. package/dist/{measure-C4JEN64J.js → measure-NM6CGR7M.js} +11 -11
  176. package/dist/{media-treatment-IGLDY62E.js → media-treatment-67BLRJVR.js} +12 -12
  177. package/dist/{media-use-BAIFE26K.js → media-use-3CJI42ZF.js} +3 -3
  178. package/dist/{models-QVVUPP4B.js → models-JVEDZ2HR.js} +10 -10
  179. package/dist/{motionShot-PFM6X5VE.js → motionShot-BFWNOKIA.js} +16 -16
  180. package/dist/{normalize-audio-WKSQSX26.js → normalize-audio-TWKVBN7Y.js} +8 -8
  181. package/dist/{open-ZKBQRQRC.js → open-3HDTT3O2.js} +11 -11
  182. package/dist/{parakeetRunner-PIIIYEOE.js → parakeetRunner-ZHBLWJTB.js} +11 -11
  183. package/dist/{pipeline-AMEOOSDZ.js → pipeline-ITLABK4A.js} +9 -9
  184. package/dist/{plan-2QUTC33A.js → plan-DE263KLO.js} +17 -17
  185. package/dist/{play-ECN4IJ3Y.js → play-GU52523E.js} +20 -20
  186. package/dist/{preflight-N6HCWLZE.js → preflight-DVQBK24B.js} +7 -7
  187. package/dist/{present-WNUBLYIS.js → present-VRFCLBZY.js} +16 -16
  188. package/dist/{preview-2ETDMQIS.js → preview-GRNDINLF.js} +17 -17
  189. package/dist/{probe-Y6IUEHFX.js → probe-BEHMQQCK.js} +11 -11
  190. package/dist/{producer-UXWV4CHN.js → producer-BK3PEIWR.js} +1 -1
  191. package/dist/{projectConfig-42S6NSDI.js → projectConfig-EGQ2EE4M.js} +6 -6
  192. package/dist/{publication-MECWWDCC.js → publication-L64HQMUF.js} +2 -2
  193. package/dist/{publish-E24MR55T.js → publish-E42C4GKI.js} +11 -11
  194. package/dist/{remove-background-5DQNPGJH.js → remove-background-XLEQHMCY.js} +10 -10
  195. package/dist/{render-NIS7ZYEN.js → render-FGEFUUVX.js} +37 -34
  196. package/dist/{render-3ESNQDJD.js → render-V2CEGUQ7.js} +23 -23
  197. package/dist/{render-7IG344AZ.js → render-W4TKHFIW.js} +5 -5
  198. package/dist/{render-batch-E3I4LV2Z.js → render-batch-AAP46BN3.js} +5 -5
  199. package/dist/renderSetupWorker.js +1 -1
  200. package/dist/{resolver-URT62PGD.js → resolver-QMZJ65AJ.js} +4 -4
  201. package/dist/{reverse-ZCMPUICN.js → reverse-7KE7FBYW.js} +1 -1
  202. package/dist/{screenshotCapture-2HZH2JOY.js → screenshotCapture-KF4NGIFJ.js} +8 -8
  203. package/dist/{service-OGBH7FVE.js → service-AYPVIGF7.js} +10 -10
  204. package/dist/{share-TN3XE5KX.js → share-AYZARNAG.js} +13 -13
  205. package/dist/{sherpa-H3NQLN74.js → sherpa-M6ALW4SY.js} +10 -10
  206. package/dist/skills/media-use/SKILL.md +1 -1
  207. package/dist/skills/media-use/references/heygen.md +12 -10
  208. package/dist/{skills-MTBYCP4B.js → skills-Y2FQIXT6.js} +8 -8
  209. package/dist/{skillsUpdateCheck-KG6HEEJA.js → skillsUpdateCheck-VYLXJ4FJ.js} +3 -3
  210. package/dist/{snapshot-SSV3EWLS.js → snapshot-3HOUASTD.js} +37 -37
  211. package/dist/{src-INXQLRPL.js → src-6TRFDZH5.js} +5 -5
  212. package/dist/{src-AUMP7PM3.js → src-FJXMCDNF.js} +10 -10
  213. package/dist/{start-E5DXVZLN.js → start-ZT75YMOL.js} +18 -18
  214. package/dist/{staticProjectServer-OPYEJ6YM.js → staticProjectServer-TUCBY7A5.js} +17 -17
  215. package/dist/{status-JGQXXKRJ.js → status-4VZY4DCO.js} +10 -10
  216. package/dist/studio/assets/{codec-BP7F-7Jx.js → codec-CY6KnWXa.js} +1 -1
  217. package/dist/studio/assets/{hyperframes-player-_QnPoHup.js → hyperframes-player-B9-CuG_h.js} +1 -1
  218. package/dist/studio/assets/{index-BJTCbv8z.css → index-4VGEAZyf.css} +1 -1
  219. package/dist/studio/assets/{index-D6ePWUpc.js → index-Bjz2UaYv.js} +1 -1
  220. package/dist/studio/assets/{index-tjhfci4N.js → index-_pkzoYYF.js} +166 -166
  221. package/dist/studio/assets/{pausedVideoDecoder-B7U86zDa.js → pausedVideoDecoder-Dr7nKUUu.js} +1 -1
  222. package/dist/studio/index.html +2 -2
  223. package/dist/{studio-api-3ACJFLTS.js → studio-api-BQAV2CHI.js} +9 -9
  224. package/dist/{studioServer-UIOYHVKP.js → studioServer-K3NK64XW.js} +54 -53
  225. package/dist/{sync-3MYY7QEU.js → sync-3TV5GVZC.js} +11 -11
  226. package/dist/{telemetry-EKXAUDKG.js → telemetry-WMZ4WMFW.js} +5 -5
  227. package/dist/{templates-VUW7UNCH.js → templates-BU7QA4UB.js} +10 -10
  228. package/dist/{timeline-ZMF5PTN4.js → timeline-WM6JCZAM.js} +17 -17
  229. package/dist/{tokens-NS5DNZZH.js → tokens-326VSFFI.js} +2 -2
  230. package/dist/{transcribe-27X3WOAN.js → transcribe-3AHFQNCK.js} +9 -9
  231. package/dist/{transcribe-DSQ7RAXO.js → transcribe-FZ62PFGN.js} +22 -22
  232. package/dist/{update-PN63WGTI.js → update-OQQPTHAC.js} +9 -9
  233. package/dist/{updateCheck-WL3FAMQ4.js → updateCheck-X7Y2FWCW.js} +2 -2
  234. package/dist/{upgrade-AUEZJWXS.js → upgrade-NHBHKXKA.js} +3 -3
  235. package/dist/{urlDownloader-3B56VUJ2.js → urlDownloader-QMLPZQU3.js} +5 -5
  236. package/dist/{validate-LPKMHSD4.js → validate-764UASPF.js} +24 -24
  237. package/dist/{video-YVOBV3PT.js → video-X77FX2Z2.js} +7 -7
  238. package/dist/{voices-5BWQ5DQR.js → voices-ETIV3GSU.js} +18 -18
  239. package/dist/warmCheck.js +38 -38
  240. package/package.json +1 -1
  241. package/dist/chunk-B54XQ7PG.js +0 -5053
@@ -13,13 +13,13 @@ import {
13
13
 
14
14
  // src/utils/bundleWithLocalizedFonts.ts
15
15
  async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
16
- const { bundleToSingleHtml } = await import("./compiler-M72SGDOU.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-CHG6MOG6.js");
17
17
  const html = await bundleToSingleHtml(projectDir, bundleOptions);
18
18
  return localizeFonts(html);
19
19
  }
20
20
  async function loadFontInjector() {
21
21
  try {
22
- const { loadProducer } = await import("./producer-UXWV4CHN.js");
22
+ const { loadProducer } = await import("./producer-BK3PEIWR.js");
23
23
  const mod = await loadProducer();
24
24
  return mod.injectDeterministicFontFaces ?? null;
25
25
  } catch {
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-23FXEJJT.js";
23
+ } from "./chunk-OX7IN5U2.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-EKXAUDKG.js");
232
+ const { trackFigmaImport } = await import("./telemetry-WMZ4WMFW.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LLMSX6V6.js";
10
10
  import {
11
11
  readCompositionFps
12
- } from "./chunk-275HEJWI.js";
12
+ } from "./chunk-AU3IQ43F.js";
13
13
  import {
14
14
  findSyncPartner,
15
15
  readLinkTiming,
@@ -19,23 +19,23 @@ import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-UVFK4ZJX.js";
22
+ } from "./chunk-XNMUNUOI.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-ZMJMY5CR.js";
27
+ } from "./chunk-QTO2LAX3.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-B54XQ7PG.js";
34
+ } from "./chunk-7ORCP3DJ.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-YLKJSPO4.js";
38
+ } from "./chunk-TVSUPOOH.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-MP4TEYUJ.js";
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-SURRJYN5.js";
11
+ } from "./chunk-CY454EGG.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -8,14 +8,14 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-57NAJJ2L.js";
11
+ } from "./chunk-VLG64TXW.js";
12
12
  import {
13
13
  Fix,
14
14
  ffmpegBin,
15
15
  probeVideo,
16
16
  round,
17
17
  runFfmpeg
18
- } from "./chunk-P3BHYHEJ.js";
18
+ } from "./chunk-A423M2GX.js";
19
19
  import {
20
20
  makeOutputFolder
21
21
  } from "./chunk-3S27CPV7.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-DL4OD7IA.js";
25
25
  import {
26
26
  toneMapReferenceNits
27
- } from "./chunk-ZMJMY5CR.js";
27
+ } from "./chunk-QTO2LAX3.js";
28
28
 
29
29
  // src/commands/measure/probe.ts
30
30
  import { execFileSync } from "child_process";
@@ -11,7 +11,7 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-SURRJYN5.js";
14
+ } from "./chunk-CY454EGG.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-ZMJMY5CR.js";
13
+ } from "./chunk-QTO2LAX3.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -29,14 +29,16 @@ function isUnder(path, ...dir) {
29
29
  const lowerDir = join(homedir(), ...dir).toLowerCase();
30
30
  return lowerPath === lowerDir || lowerPath.startsWith(`${lowerDir}${sep}`);
31
31
  }
32
+ var CLOUD_DRIVE_FOLDERS = ["Mobile Documents", "CloudStorage"];
32
33
  function homeAppDataFolder(path) {
33
34
  if (isUnder(path, "AppData")) return "AppData";
34
- if (isUnder(path, "Library") && !isUnder(path, "Library", "Mobile Documents")) return "Library";
35
+ const cloudDrive = CLOUD_DRIVE_FOLDERS.some((folder) => isUnder(path, "Library", folder));
36
+ if (isUnder(path, "Library") && !cloudDrive) return "Library";
35
37
  return null;
36
38
  }
37
39
  function inHomeAppData(projectDir, path) {
38
40
  const folder = homeAppDataFolder(path);
39
- return folder !== null && !isUnder(projectDir, folder);
41
+ return folder !== null && homeAppDataFolder(projectDir) !== folder;
40
42
  }
41
43
  function isPrivateOutsideFile(projectDir, absPath) {
42
44
  const realPath = realFilePath(absPath);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-UVFK4ZJX.js";
9
+ } from "./chunk-XNMUNUOI.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -31,7 +31,7 @@ import {
31
31
  rewriteProjectPinnedScripts,
32
32
  updateChannel,
33
33
  withMeta
34
- } from "./chunk-Y3VS2ULV.js";
34
+ } from "./chunk-JKEEGU3M.js";
35
35
  import {
36
36
  setCommandExitCode
37
37
  } from "./chunk-66W5IWLO.js";
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-CPHQTXP5.js";
41
41
  import {
42
42
  VERSION
43
- } from "./chunk-OT2VLOPB.js";
43
+ } from "./chunk-VX2JJLY4.js";
44
44
 
45
45
  // src/commands/upgrade.ts
46
46
  import { execFileSync } from "child_process";
@@ -8,7 +8,7 @@ import {
8
8
  ratioOf,
9
9
  readClip,
10
10
  round
11
- } from "./chunk-P3BHYHEJ.js";
11
+ } from "./chunk-A423M2GX.js";
12
12
 
13
13
  // src/measure/look.ts
14
14
  var LOOK_FLOOR = { luma: 1, contrast: 1, saturation: 0.01 };
@@ -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-OT2VLOPB.js";
9
+ } from "./chunk-VX2JJLY4.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -16,7 +16,7 @@ import {
16
16
  parseFirstFrameColour,
17
17
  parseKeyframeTransfers,
18
18
  readsKeyframeTransfers
19
- } from "./chunk-ZMJMY5CR.js";
19
+ } from "./chunk-QTO2LAX3.js";
20
20
  import {
21
21
  findFfBinary
22
22
  } from "./chunk-IU5DC4HP.js";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-JKUC7A3A.js";
14
+ } from "./chunk-VAUINYED.js";
15
15
  import {
16
16
  closestNames
17
17
  } from "./chunk-JNHJX2BZ.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  GSAP_CDN_VERSION,
9
9
  gsapCdnDist
10
- } from "./chunk-ZMJMY5CR.js";
10
+ } from "./chunk-QTO2LAX3.js";
11
11
 
12
12
  // src/server/readBundleFile.ts
13
13
  import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
@@ -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-VJCGDSYU.js";
9
+ } from "./chunk-ECCL3T3M.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-YFC5II7G.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-B54XQ7PG.js";
17
+ } from "./chunk-7ORCP3DJ.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-IU5DC4HP.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TSYRN646.js";
12
12
  import {
13
13
  fetchLocalPageUrl
14
- } from "./chunk-N63ML5LM.js";
14
+ } from "./chunk-O2YUYQ5T.js";
15
15
  import {
16
16
  ensureCaptureDirSync,
17
17
  writeCaptureFileSync
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-UVFK4ZJX.js";
28
+ } from "./chunk-XNMUNUOI.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts,
9
9
  signatures
10
- } from "./chunk-2XMF3H4T.js";
10
+ } from "./chunk-4PYV2WCX.js";
11
11
  import {
12
12
  jsonArg,
13
13
  num,
14
14
  runMeasure
15
- } from "./chunk-57NAJJ2L.js";
15
+ } from "./chunk-VLG64TXW.js";
16
16
  import {
17
17
  chargedCredits,
18
18
  idempotencyKey,
@@ -22,7 +22,7 @@ import {
22
22
  publicVoices,
23
23
  runJob,
24
24
  senderScope
25
- } from "./chunk-VXTCMPNE.js";
25
+ } from "./chunk-VQTDLM5E.js";
26
26
  import {
27
27
  Fix,
28
28
  probeSeconds,
@@ -31,7 +31,7 @@ import {
31
31
  round,
32
32
  runFfmpeg,
33
33
  videoClip
34
- } from "./chunk-P3BHYHEJ.js";
34
+ } from "./chunk-A423M2GX.js";
35
35
  import {
36
36
  loadSharp
37
37
  } from "./chunk-NL4RCLQF.js";
@@ -104,12 +104,30 @@ function structureRatio(gray, width, box) {
104
104
  }
105
105
  return { inside: sum[0] / (n[0] || 1), ring: sum[1] / (n[1] || 1) };
106
106
  }
107
- var DEFAULTS = { image: "nano-banana-2", video: "heygen-video-1", music: "lyria-3-pro" };
107
+ var DEFAULTS = {
108
+ image: "nano-banana-2.1",
109
+ video: "heygen-video-1",
110
+ music: "lyria-3-pro"
111
+ };
108
112
  var VENDOR_PRICED_IMAGES = /* @__PURE__ */ new Set([
109
113
  "gpt-image-2.5",
110
114
  "gpt-image-2.6",
111
- "gpt-image-2.6-flare"
115
+ "gpt-image-2.6-flare",
116
+ "minimax-h3-image",
117
+ "minimax-h3-image-4k"
112
118
  ]);
119
+ var GPT_ASPECTS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
120
+ var GEMINI_ASPECTS = [...GPT_ASPECTS, "3:2", "2:3", "21:9"];
121
+ var MINIMAX_ASPECTS = [...GPT_ASPECTS, "21:9"];
122
+ var IMAGE_MODELS = {
123
+ "nano-banana-2": { aspects: GEMINI_ASPECTS, references: 14 },
124
+ "nano-banana-2.1": { aspects: GEMINI_ASPECTS, references: 14 },
125
+ "gpt-image-2.5": { aspects: GPT_ASPECTS, references: 16 },
126
+ "gpt-image-2.6": { aspects: GPT_ASPECTS, references: 16 },
127
+ "gpt-image-2.6-flare": { aspects: GPT_ASPECTS, references: 16 },
128
+ "minimax-h3-image": { aspects: MINIMAX_ASPECTS, references: 16 },
129
+ "minimax-h3-image-4k": { aspects: MINIMAX_ASPECTS, references: 16 }
130
+ };
113
131
  var isVendorPriced = (r) => r.type === "image" && VENDOR_PRICED_IMAGES.has(r.model ?? "");
114
132
  var VIDEO_RESOLUTION = "768p";
115
133
  var GUIDE_MAX_S = 15;
@@ -119,13 +137,27 @@ var need = (value, flag, example) => {
119
137
  throw new Fix(`${flag} is required for this type`, example);
120
138
  return value;
121
139
  };
140
+ function imageModel(r) {
141
+ const model = r.model ?? DEFAULTS.image;
142
+ const spec = IMAGE_MODELS[model];
143
+ if (!spec) return model;
144
+ if (r.aspect && !spec.aspects.includes(r.aspect))
145
+ throw new Fix(`${model} does not make ${r.aspect}`, `--aspect ${spec.aspects.join("|")}`);
146
+ const refs = r.references?.length ?? 0;
147
+ if (refs > spec.references)
148
+ throw new Fix(
149
+ `${model} takes at most ${spec.references} --reference pictures, not ${refs}`,
150
+ `pass the ${spec.references} that matter most`
151
+ );
152
+ return model;
153
+ }
122
154
  var ROUTES = {
123
155
  image: {
124
156
  path: "/v3/images",
125
157
  start: (c, body, key, signal) => c.createImage({ body, idempotencyKey: key, signal }),
126
158
  status: (c, id, signal) => c.getImage({ generation_id: id, signal }),
127
159
  body: (r, media) => ({
128
- model: r.model ?? DEFAULTS.image,
160
+ model: imageModel(r),
129
161
  prompt: need(r.prompt, "--prompt", '--prompt "the same room, empty, no text"'),
130
162
  num_images: 1,
131
163
  ...r.aspect ? { aspect_ratio: r.aspect } : {},
@@ -321,7 +353,7 @@ async function uploaded(paths) {
321
353
  if (!paths.length) return ids;
322
354
  const { createCloudClient } = await import("./cloud-SXXNSICW.js");
323
355
  const { uploadAssetViaDirectUpload } = await import("./upload-PEY7EYFV.js");
324
- const { getMimeType } = await import("./dist-OM5EYFH7.js");
356
+ const { getMimeType } = await import("./dist-QWNNHDYG.js");
325
357
  const client = await createCloudClient();
326
358
  for (const path of paths) {
327
359
  const asset = await uploadAssetViaDirectUpload({
@@ -647,6 +679,19 @@ var GPT_REFERENCE = 0.0125;
647
679
  var NANO_IMAGE = 0.067;
648
680
  var NANO_2_1_IMAGE = 0.0336;
649
681
  var NANO_2_1_REFERENCE = 168e-5;
682
+ var MINIMAX_IMAGE = {
683
+ "minimax-h3-image": 0.025,
684
+ "minimax-h3-image-4k": 0.07
685
+ };
686
+ var MINIMAX_REFERENCE = 0.015;
687
+ var API_IMAGE_MARKUP = 1.5;
688
+ var HF_IMAGE_MARKUP = 1.103 * 1.5;
689
+ var MARKUPS = "x1.5 on an API key, x1.6545 in HyperFrames credits";
690
+ var image = (vendorUsd, basis) => at(
691
+ vendorUsd * API_IMAGE_MARKUP,
692
+ `${basis}; vendor price ${MARKUPS}`,
693
+ vendorUsd * HF_IMAGE_MARKUP * HF_CREDITS_PER_USD
694
+ );
650
695
  var VIDEO_768P_PER_S = 0.018;
651
696
  var VIDEO_REF_768P_PER_S = 0.05;
652
697
  var VIDEO_INCLUDED_IMAGES = 2;
@@ -666,21 +711,24 @@ function priceOf(r) {
666
711
  switch (r.type) {
667
712
  case "image": {
668
713
  const refs = r.references?.length ?? 0;
669
- const model = r.model ?? "nano-banana-2";
670
- if (model === "nano-banana-2") return at(NANO_IMAGE, "nano-banana-2, $0.067 an image");
714
+ const model = r.model ?? "nano-banana-2.1";
715
+ if (model === "nano-banana-2") return image(NANO_IMAGE, "nano-banana-2, $0.067 an image");
671
716
  if (model === "nano-banana-2.1")
672
- return at(
717
+ return image(
673
718
  NANO_2_1_IMAGE + refs * NANO_2_1_REFERENCE,
674
719
  "nano-banana-2.1, $0.0336 an image and $0.00168 a reference"
675
720
  );
676
721
  if (!VENDOR_PRICED_IMAGES.has(model))
677
722
  return { usd: null, list: null, credits: null, basis: `${model}, not priced ahead` };
678
- const each = GPT_IMAGE[r.aspect ?? "16:9"] ?? GPT_IMAGE["16:9"];
679
- const list = each + refs * GPT_REFERENCE;
680
- const about = Math.ceil(list * HF_CREDITS_PER_USD - 1e-9);
681
- return at(
723
+ const aspect = r.aspect ?? "16:9";
724
+ const minimax = MINIMAX_IMAGE[model];
725
+ const each = minimax ?? GPT_IMAGE[aspect] ?? GPT_IMAGE["16:9"];
726
+ const reference = minimax === void 0 ? GPT_REFERENCE : MINIMAX_REFERENCE;
727
+ const list = each + refs * reference;
728
+ const about = Math.ceil(list * HF_IMAGE_MARKUP * HF_CREDITS_PER_USD - 1e-9);
729
+ return image(
682
730
  list,
683
- `${model} at ${r.aspect ?? "16:9"}, about ${about} credits (charged at vendor cost), with about $0.0125 a reference`
731
+ `${model} at ${aspect}, about ${about} credits (charged on the vendor's bill), with about $${reference} a reference`
684
732
  );
685
733
  }
686
734
  case "video": {
@@ -861,7 +909,7 @@ var generate_default = defineCommand({
861
909
  },
862
910
  model: {
863
911
  type: "string",
864
- description: "image: nano-banana-2 (default), nano-banana-2.1, gpt-image-2.5, gpt-image-2.6 or gpt-image-2.6-flare"
912
+ description: "image: nano-banana-2.1 (default), nano-banana-2, gpt-image-2.5, gpt-image-2.6, gpt-image-2.6-flare, minimax-h3-image (2K) or minimax-h3-image-4k"
865
913
  },
866
914
  bpm: { type: "string", description: "music: tempo, 60\u2013180" },
867
915
  vocals: {
@@ -871,7 +919,7 @@ var generate_default = defineCommand({
871
919
  },
872
920
  "max-credits": {
873
921
  type: "string",
874
- description: "The person's credit limit, less what earlier calls used: make nothing when this call would cost more. A gpt-image call is charged at the vendor's cost, so it is checked against its estimate plus 10%; that is not a hard ceiling, and an edit with many references can still go over. The project's credit-limit.json follows the same rule"
922
+ description: "The person's credit limit, less what earlier calls used: make nothing when this call would cost more. A gpt-image or minimax-h3-image call is charged on the vendor's bill, so it is checked against its estimate plus 10%; that is not a hard ceiling, and an edit with many references can still go over. The project's credit-limit.json follows the same rule"
875
923
  },
876
924
  plan: {
877
925
  type: "boolean",
@@ -10,7 +10,7 @@ import {
10
10
  SourceIgnoreError,
11
11
  ownerOf,
12
12
  reviewSentence
13
- } from "./chunk-H23DEQUR.js";
13
+ } from "./chunk-ZEGG7LH6.js";
14
14
  import {
15
15
  isAuthError
16
16
  } from "./chunk-DMW5SSUN.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-EYCOZTOP.js";
9
+ } from "./chunk-ZY4OD7VP.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -10,13 +10,13 @@ import {
10
10
  } from "./chunk-QUUZ2BGC.js";
11
11
  import {
12
12
  readProjectConfig
13
- } from "./chunk-5KDBUZEB.js";
13
+ } from "./chunk-OFJYMQSV.js";
14
14
  import {
15
15
  normalizeSkillSlug
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-IL3VIGJ6.js";
19
+ } from "./chunk-MCEO5ADO.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-IL3VIGJ6.js";
10
+ } from "./chunk-MCEO5ADO.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-L2MAAYAE.js";
13
+ } from "./chunk-XTLTLVEO.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-YLKJSPO4.js";
17
+ } from "./chunk-TVSUPOOH.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-AUMP7PM3.js");
10
+ return await import("./src-FJXMCDNF.js");
11
11
  }
12
12
 
13
13
  export {
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-CPHQTXP5.js";
26
26
  import {
27
27
  VERSION
28
- } from "./chunk-OT2VLOPB.js";
28
+ } from "./chunk-VX2JJLY4.js";
29
29
 
30
30
  // src/utils/updateCheck.ts
31
31
  import { existsSync as existsSync2, readFileSync as readFileSync3 } from "fs";
@@ -8,13 +8,16 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-UVFK4ZJX.js";
11
+ } from "./chunk-XNMUNUOI.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-X5BRDEOM.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-ZMJMY5CR.js";
17
+ } from "./chunk-QTO2LAX3.js";
18
+ import {
19
+ isSafePath
20
+ } from "./chunk-XWK2RSD5.js";
18
21
  import {
19
22
  namesAnotherNetworkRoot
20
23
  } from "./chunk-MP4TEYUJ.js";
@@ -25,7 +28,57 @@ import {
25
28
  // ../producer/src/services/animatedGifPrep.ts
26
29
  import { createHash } from "crypto";
27
30
  import { copyFileSync, existsSync, mkdirSync, readFileSync, rmSync, statSync } from "fs";
28
- import { dirname, isAbsolute, join, resolve } from "path";
31
+ import { dirname, isAbsolute, join as join2, resolve } from "path";
32
+
33
+ // ../producer/src/utils/paths.ts
34
+ import {
35
+ basename,
36
+ join,
37
+ resolve as nodeResolve,
38
+ relative as nodeRelative,
39
+ isAbsolute as nodeIsAbsolute
40
+ } from "path";
41
+ import { fileURLToPath } from "url";
42
+ var DEFAULT_RENDERS_DIR = process.env.PRODUCER_RENDERS_DIR ?? // fileURLToPath (not URL.pathname): on Windows .pathname is "/D:/..." which
43
+ // resolves to a bogus renders dir.
44
+ nodeResolve(fileURLToPath(import.meta.url), "../../..", "renders");
45
+ var LEADING_PARENT_SEGMENT_RE = /^\.\.(?:[\\/]|$)/;
46
+ function isPathInside(childPath, parentPath, options = {}) {
47
+ const resolvePath = options.pathModule?.resolve ?? nodeResolve;
48
+ const relativePath = options.pathModule?.relative ?? nodeRelative;
49
+ const isPathAbsolute = options.pathModule?.isAbsolute ?? nodeIsAbsolute;
50
+ const absChild = resolvePath(childPath);
51
+ const absParent = resolvePath(parentPath);
52
+ if (absChild === absParent) return true;
53
+ const rel = relativePath(absParent, absChild);
54
+ return rel !== "" && !LEADING_PARENT_SEGMENT_RE.test(rel) && !isPathAbsolute(rel);
55
+ }
56
+ function escapesAssetRoot(path, assetRoot) {
57
+ return assetRoot !== void 0 && !isSafePath(assetRoot, path);
58
+ }
59
+ function toExternalAssetKey(absPath) {
60
+ if (absPath.startsWith("hf-ext/")) return absPath;
61
+ let normalised = absPath.replace(/\\/g, "/");
62
+ normalised = normalised.replace(/^\/\/\?\/UNC\//i, "//");
63
+ normalised = normalised.replace(/^\/\/\?\//, "");
64
+ normalised = normalised.replace(/^\/\/([^/]+)\//, "unc/$1/");
65
+ normalised = normalised.replace(/^\/+/, "");
66
+ normalised = normalised.replace(/^([A-Za-z]):\/?/, "$1/");
67
+ return "hf-ext/" + normalised;
68
+ }
69
+ function formatCaptureFrameName(index, ext) {
70
+ return `frame_${String(index).padStart(6, "0")}.${ext}`;
71
+ }
72
+ function formatExportFrameName(index, ext) {
73
+ return `frame_${String(index + 1).padStart(6, "0")}.${ext}`;
74
+ }
75
+ function resolveRenderPaths(projectDir, outputPath, rendersDir = DEFAULT_RENDERS_DIR) {
76
+ const absoluteProjectDir = nodeResolve(projectDir);
77
+ const projectName = basename(absoluteProjectDir);
78
+ const resolvedOutputPath = outputPath ?? join(rendersDir, `${projectName}.mp4`);
79
+ const absoluteOutputPath = nodeResolve(resolvedOutputPath);
80
+ return { absoluteProjectDir, absoluteOutputPath };
81
+ }
29
82
 
30
83
  // ../producer/src/services/render/encoderInterruption.ts
31
84
  var ENCODER_INTERRUPTED = "ENCODER_INTERRUPTED";
@@ -91,7 +144,8 @@ function resolveLocalImageSourcePath(src, options) {
91
144
  ...protocolRelativeUrlOnShare ? [] : [isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative)],
92
145
  resolve(options.downloadDir, normalizedBase)
93
146
  ];
94
- return candidates.find((candidate) => existsSync(candidate)) ?? null;
147
+ const allowed = (candidate) => !escapesAssetRoot(candidate, options.assetRoot) || !escapesAssetRoot(candidate, options.downloadDir);
148
+ return candidates.find((candidate) => existsSync(candidate) && allowed(candidate)) ?? null;
95
149
  }
96
150
  function isUsableFile(path) {
97
151
  try {
@@ -289,7 +343,7 @@ function replaceImageWithVideo(input) {
289
343
  return video;
290
344
  }
291
345
  async function prepareAnimatedGifInputs(html, options) {
292
- const outputDir = options.outputDir ?? join(options.downloadDir, PREPARED_GIF_SUBDIR);
346
+ const outputDir = options.outputDir ?? join2(options.downloadDir, PREPARED_GIF_SUBDIR);
293
347
  const outputSrcPrefix = normalizeRelPath(options.outputSrcPrefix ?? PREPARED_GIF_SUBDIR);
294
348
  const cacheDir = options.cacheDir ?? outputDir;
295
349
  const { document } = parseHTML(html);
@@ -316,8 +370,8 @@ async function prepareAnimatedGifInputs(html, options) {
316
370
  );
317
371
  const hash = computePreparedGifHash(bytes, loopIterations, padSeconds);
318
372
  const filename = `${CACHE_SCHEMA}-${hash.slice(0, 24)}.webm`;
319
- const cachePath = join(cacheDir, filename);
320
- const outputPath = join(outputDir, filename);
373
+ const cachePath = join2(cacheDir, filename);
374
+ const outputPath = join2(outputDir, filename);
321
375
  const outputSrc = `${outputSrcPrefix}/${filename}`;
322
376
  await ensurePreparedWebm({
323
377
  sourcePath,
@@ -350,6 +404,12 @@ async function prepareAnimatedGifInputs(html, options) {
350
404
  }
351
405
 
352
406
  export {
407
+ isPathInside,
408
+ escapesAssetRoot,
409
+ toExternalAssetKey,
410
+ formatCaptureFrameName,
411
+ formatExportFrameName,
412
+ resolveRenderPaths,
353
413
  EncoderInterruptedError,
354
414
  encoderFailureError,
355
415
  splitUrlSuffix,
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-275HEJWI.js";
9
+ } from "./chunk-AU3IQ43F.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-ZLTB7ZCQ.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-UVFK4ZJX.js";
16
+ } from "./chunk-XNMUNUOI.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-ZMJMY5CR.js";
19
+ } from "./chunk-QTO2LAX3.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-66W5IWLO.js";