hyperframes 0.9.26 → 0.9.27

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 (296) hide show
  1. package/dist/{add-WBZDU6CI.js → add-K5J5XWLL.js} +22 -23
  2. package/dist/{agentPromptGenerator-HOH4K2AF.js → agentPromptGenerator-PGIEEJLJ.js} +10 -10
  3. package/dist/{animatedGifPrep-HEQTZMPU.js → animatedGifPrep-MLZOHCTS.js} +9 -9
  4. package/dist/api.js +46 -46
  5. package/dist/{appHistory-FVDSCS64.js → appHistory-DLDRURHW.js} +2 -3
  6. package/dist/{asset-N2BCPNT3.js → asset-OS5AB3SQ.js} +6 -6
  7. package/dist/{assetCataloger-25DZ4ODD.js → assetCataloger-DMVL5X2P.js} +11 -11
  8. package/dist/{audio-3KDOOANX.js → audio-23FMLVOJ.js} +30 -30
  9. package/dist/{auth-JPNSO223.js → auth-2DIXO5OO.js} +7 -7
  10. package/dist/{autoUpdate-SVH5VA46.js → autoUpdate-NP2CBKFP.js} +5 -5
  11. package/dist/{avatars-UC6PUVKF.js → avatars-LULUZMLI.js} +19 -19
  12. package/dist/{backgroundChecks-R7JQPFEL.js → backgroundChecks-3MXY6FNF.js} +6 -6
  13. package/dist/backgroundChecksWorker.js +6 -6
  14. package/dist/{batchRender-QB3UD3S3.js → batchRender-AL6DO5IA.js} +9 -9
  15. package/dist/{beats-4LQCQYU4.js → beats-U4Q76QWK.js} +16 -16
  16. package/dist/{benchmark-NNGNQLPH.js → benchmark-QANZ2IRX.js} +17 -17
  17. package/dist/{billing-EKSG2MIB.js → billing-PX54B6T7.js} +23 -24
  18. package/dist/{browser-3CMPDGDK.js → browser-P36XPIWA.js} +15 -15
  19. package/dist/{bundleWithLocalizedFonts-F6WSRFC6.js → bundleWithLocalizedFonts-QY6JAKLF.js} +4 -4
  20. package/dist/{capture-RRIOSJI7.js → capture-S5DURUCT.js} +6 -6
  21. package/dist/{capture-PIRDJMFL.js → capture-ZZWXDUH2.js} +20 -21
  22. package/dist/{captureCompositionFrame-PHZ6UESC.js → captureCompositionFrame-VTN6VB5N.js} +19 -19
  23. package/dist/{captureFile-VIVGKFY4.js → captureFile-O7JMINHC.js} +3 -1
  24. package/dist/{catalog-6U6DBW2A.js → catalog-TTBH4Y6Z.js} +23 -24
  25. package/dist/{catch-up-CXGXBI5D.js → catch-up-M3CF57PU.js} +16 -17
  26. package/dist/{check-4YZZDHXU.js → check-K7ZBDKBZ.js} +54 -54
  27. package/dist/{checkAudio-WOI7A4XF.js → checkAudio-HZ3Z5BTZ.js} +16 -16
  28. package/dist/{checkBrowser-ITUJDOQK.js → checkBrowser-TO5M2QL2.js} +46 -47
  29. package/dist/{chunk-VI5AG2YK.js → chunk-2SX2EOPM.js} +8 -8
  30. package/dist/{chunk-YTF6LBWN.js → chunk-2WKG7HXZ.js} +2 -2
  31. package/dist/{chunk-63SZ5FQL.js → chunk-3JFV42QB.js} +4 -4
  32. package/dist/{chunk-6YPQSVVR.js → chunk-3LIMD4YP.js} +1 -1
  33. package/dist/{chunk-H6676SHA.js → chunk-4N3UVDIJ.js} +1 -1
  34. package/dist/{chunk-CXUT4XVT.js → chunk-54FVSPRH.js} +1 -1
  35. package/dist/{chunk-ZERXFV4P.js → chunk-5AULMCSV.js} +3 -3
  36. package/dist/{chunk-O2YBW4AN.js → chunk-5FWOWZAB.js} +8 -8
  37. package/dist/{chunk-6YYNEN54.js → chunk-5PL4LZYF.js} +269 -272
  38. package/dist/{chunk-Z4GE5BXC.js → chunk-5SDUQLZ3.js} +4 -3
  39. package/dist/{chunk-DJVONYVS.js → chunk-5TD7HBR3.js} +2 -2
  40. package/dist/{chunk-52VJYQB4.js → chunk-5WI3VKQW.js} +3 -3
  41. package/dist/{chunk-XNEAYK2D.js → chunk-5ZEBQO7Y.js} +6 -6
  42. package/dist/chunk-63HHKYU2.js +413 -0
  43. package/dist/{chunk-TPMBPH73.js → chunk-6FHIR4KD.js} +2 -2
  44. package/dist/{chunk-ZUGSYS6H.js → chunk-6IMVGVA4.js} +1 -1
  45. package/dist/{chunk-46KZHKVZ.js → chunk-6LCIO2YY.js} +2 -2
  46. package/dist/{chunk-OHQRQE7F.js → chunk-6MKM2RVL.js} +8 -1
  47. package/dist/{chunk-UPPOSWBD.js → chunk-6NVZYXDT.js} +8 -8
  48. package/dist/{chunk-LISUH6KH.js → chunk-6OQPKRPJ.js} +1 -1
  49. package/dist/{chunk-FQSX2Y2N.js → chunk-6PHVIKCJ.js} +10 -6
  50. package/dist/{chunk-WW7Z2W73.js → chunk-72GTIFAI.js} +20 -1
  51. package/dist/{chunk-NZTYGWRK.js → chunk-7DGBOZ4N.js} +1 -1
  52. package/dist/{chunk-FLRTT7XS.js → chunk-7JK2YE2G.js} +4 -4
  53. package/dist/{chunk-RKIRQ73U.js → chunk-7VHSPFBH.js} +2 -2
  54. package/dist/{chunk-B2RMMRJB.js → chunk-B4TLQLGI.js} +1 -1
  55. package/dist/{chunk-PKNU4DEG.js → chunk-BF6RWOUF.js} +5 -7
  56. package/dist/{chunk-AZO2YY3U.js → chunk-BIQJKM2O.js} +2 -2
  57. package/dist/{chunk-BO3R523I.js → chunk-BJYCLZBQ.js} +1 -1
  58. package/dist/{chunk-P7DCQJ6N.js → chunk-BMDABBHG.js} +1 -1
  59. package/dist/{chunk-7H5SDDTD.js → chunk-BZFVS36G.js} +1 -1
  60. package/dist/{chunk-W4DMQZL5.js → chunk-BZULWFMJ.js} +11 -2
  61. package/dist/{chunk-54Q3H2UQ.js → chunk-CDNVZEGQ.js} +9 -2
  62. package/dist/{chunk-CIB4TEE4.js → chunk-CGUAZCPL.js} +12 -12
  63. package/dist/{chunk-ANV4RVES.js → chunk-CZ43ZZFS.js} +1 -1
  64. package/dist/{chunk-HW4BZHWD.js → chunk-D5QT3ORV.js} +1 -1
  65. package/dist/{chunk-CV3U4IKB.js → chunk-DC5ZRTHD.js} +2 -2
  66. package/dist/{chunk-PZ23EDA5.js → chunk-DJVSNDF3.js} +26 -4
  67. package/dist/{chunk-6FDVPIOO.js → chunk-DONVZZLV.js} +1 -1
  68. package/dist/chunk-F24B2PLD.js +5049 -0
  69. package/dist/{chunk-T2WJO4XM.js → chunk-F2GWIWHN.js} +4 -3
  70. package/dist/{chunk-6AKETDJH.js → chunk-F4ROYQPH.js} +7 -4
  71. package/dist/{chunk-CMQZP52Y.js → chunk-F5QBIIFT.js} +6 -1
  72. package/dist/{chunk-M3JU24AI.js → chunk-FGFVUKPP.js} +1 -1
  73. package/dist/{chunk-SDNHWXXF.js → chunk-FKSUSFRT.js} +15 -15
  74. package/dist/{chunk-I2I3ARUF.js → chunk-FNSWA4FK.js} +1 -1
  75. package/dist/{chunk-LAGZGKKN.js → chunk-FOZBANEN.js} +3 -2
  76. package/dist/{chunk-5YPMCCCA.js → chunk-FRBQ3FIM.js} +1 -1
  77. package/dist/{chunk-I7P3G2EK.js → chunk-GGDJLN5I.js} +1 -21
  78. package/dist/{chunk-BGCZSSZN.js → chunk-GQTNVE7U.js} +4 -4
  79. package/dist/{chunk-3PSPF7V7.js → chunk-HGHBQDM5.js} +7 -7
  80. package/dist/{chunk-A4ZTSQLW.js → chunk-IEXRKKHC.js} +119 -4
  81. package/dist/{chunk-XRLVFSPS.js → chunk-IIS57Z3R.js} +3 -3
  82. package/dist/{chunk-Y7N65M2H.js → chunk-INVBU7DY.js} +7 -3
  83. package/dist/{chunk-43G3Z3HJ.js → chunk-IOPIOX5K.js} +66 -16
  84. package/dist/{chunk-4FNJ2QNP.js → chunk-IQKMIYLG.js} +6 -2
  85. package/dist/{chunk-52C62IQX.js → chunk-IX3K55NA.js} +6 -6
  86. package/dist/{chunk-XH34R2CM.js → chunk-IYYZMZD2.js} +2 -2
  87. package/dist/{chunk-Y5IO3G5V.js → chunk-J237HI2F.js} +38 -26
  88. package/dist/{chunk-IOPE4LJ2.js → chunk-J3X2RZON.js} +1 -1
  89. package/dist/chunk-JJ47LVJ7.js +58 -0
  90. package/dist/{chunk-CP7UNNLN.js → chunk-JLUOG6S2.js} +9 -6
  91. package/dist/{chunk-M7VAMZQW.js → chunk-JNHJX2BZ.js} +4 -2
  92. package/dist/{chunk-SYYF5SUA.js → chunk-K6UG4VWT.js} +3 -3
  93. package/dist/{chunk-IV3JATWQ.js → chunk-KUBXGMHI.js} +31 -29
  94. package/dist/{chunk-ADJCNH7M.js → chunk-L2GOO2UY.js} +1 -1
  95. package/dist/{chunk-6ELGYAFD.js → chunk-LI2TX7SN.js} +23 -5
  96. package/dist/{chunk-LSAZKSQW.js → chunk-LLLNVEUF.js} +1 -1
  97. package/dist/{chunk-BPFUMJPR.js → chunk-LMCFILEY.js} +4 -4
  98. package/dist/{chunk-G7VEYUZ2.js → chunk-LW33P24U.js} +210 -51
  99. package/dist/{chunk-BWRANVIS.js → chunk-M3UU4QRH.js} +4 -4
  100. package/dist/{chunk-KBHBSWEE.js → chunk-M457GQGR.js} +1 -1
  101. package/dist/{chunk-VK4PVFTZ.js → chunk-MVJ7AX6W.js} +2 -2
  102. package/dist/{chunk-Q6HWIM5T.js → chunk-NFUXYBOR.js} +1 -1
  103. package/dist/{chunk-KVVFSUMG.js → chunk-NHJ5YUBZ.js} +5 -9
  104. package/dist/{chunk-U6JW263W.js → chunk-NMOWXTCB.js} +2 -2
  105. package/dist/{chunk-ETD6Z4CT.js → chunk-NURN5W6M.js} +5 -5
  106. package/dist/{chunk-NBR3RFOK.js → chunk-OSDNRYQJ.js} +1 -1
  107. package/dist/{chunk-RANSC2AP.js → chunk-OT2KF34N.js} +12 -12
  108. package/dist/{chunk-6DEXJHPV.js → chunk-PBDBD4BY.js} +2 -2
  109. package/dist/{chunk-FYZFURBN.js → chunk-PQYICV7O.js} +1 -1
  110. package/dist/{chunk-5FFQ7YED.js → chunk-Q73OZV2V.js} +16 -16
  111. package/dist/{chunk-S73RS3QS.js → chunk-QBNHYXV3.js} +4 -4
  112. package/dist/{chunk-M56EN5Z5.js → chunk-QISOTHEQ.js} +8 -8
  113. package/dist/{chunk-E3V2WHNZ.js → chunk-QTBRVJ6N.js} +3 -3
  114. package/dist/{chunk-RXRL5CFO.js → chunk-QYPS3UYP.js} +3 -3
  115. package/dist/{chunk-SMR2QBOB.js → chunk-RSNZEWNW.js} +1 -1
  116. package/dist/{chunk-EOVICFGB.js → chunk-RVXE24LQ.js} +3 -3
  117. package/dist/{chunk-CF2MLHZJ.js → chunk-RYT22J4V.js} +3 -3
  118. package/dist/{chunk-ZNFYQMFN.js → chunk-SCNC7YPB.js} +1 -1
  119. package/dist/{chunk-KGDXQ7KV.js → chunk-SODLRBNC.js} +1 -1
  120. package/dist/{chunk-RCK5GLYA.js → chunk-STQGPDO4.js} +3 -3
  121. package/dist/{chunk-EQBDKYXR.js → chunk-SWOAB4GM.js} +5 -2
  122. package/dist/{chunk-MFDNMTOP.js → chunk-T37WJWV2.js} +1 -1
  123. package/dist/{chunk-TAJ4PPMZ.js → chunk-TCQKCUDA.js} +1 -1
  124. package/dist/{chunk-OSMSO25W.js → chunk-TKFKOWRI.js} +3 -3
  125. package/dist/{chunk-Y5NX2ID5.js → chunk-TM6HH2VV.js} +2 -2
  126. package/dist/{chunk-CT4R6NKU.js → chunk-TMYY4DV4.js} +3 -3
  127. package/dist/{chunk-RG32F3XB.js → chunk-TRXIWZTM.js} +1 -1
  128. package/dist/{chunk-WEWXIQPN.js → chunk-U46YQL7E.js} +1 -1
  129. package/dist/{chunk-4RPJGXWI.js → chunk-U5RXCKWJ.js} +2 -2
  130. package/dist/{chunk-4H65D2CK.js → chunk-UPG4MMIA.js} +51 -11
  131. package/dist/{chunk-7PZLR2JZ.js → chunk-UPR5TMLG.js} +2 -2
  132. package/dist/{chunk-N66SKEU4.js → chunk-UXJAMAZK.js} +2 -2
  133. package/dist/{chunk-52YPYXJT.js → chunk-V4Z37HFN.js} +4 -4
  134. package/dist/{chunk-I3XU2Q6N.js → chunk-V6EVV3XC.js} +5 -5
  135. package/dist/{chunk-W62GJ6S2.js → chunk-V7Q4XKRJ.js} +22 -23
  136. package/dist/{chunk-HOCC4J5C.js → chunk-VU4EPKFI.js} +1 -1
  137. package/dist/{chunk-QAH3I2PN.js → chunk-VXWASGGT.js} +5 -5
  138. package/dist/{chunk-DIUV6JDR.js → chunk-W5QBSRPF.js} +3 -3
  139. package/dist/{chunk-CYTQNTZM.js → chunk-WZTOPKVO.js} +8 -8
  140. package/dist/{chunk-OHN3OJQQ.js → chunk-X7NFWMWW.js} +1 -1
  141. package/dist/chunk-XDKEKXV4.js +29 -0
  142. package/dist/{chunk-FRBQYFUV.js → chunk-XEPGN46Q.js} +1 -1
  143. package/dist/{chunk-QNV4S6LE.js → chunk-XZ2MQF7V.js} +1 -1
  144. package/dist/{chunk-Q4IDT5XZ.js → chunk-Y67RJDEB.js} +1 -1
  145. package/dist/{chunk-WEH3EHVB.js → chunk-YNIADMNZ.js} +4 -4
  146. package/dist/{chunk-RTV6SDAW.js → chunk-YPRU66CC.js} +2 -2
  147. package/dist/{chunk-YNYNZ36R.js → chunk-YSJKA52M.js} +2 -2
  148. package/dist/{chunk-GS4EXK5R.js → chunk-YU5QNJMA.js} +25 -7
  149. package/dist/{chunk-AIJMFLLS.js → chunk-Z5THPTQ2.js} +3 -3
  150. package/dist/{chunk-4KQ53P4K.js → chunk-ZDQNMNFE.js} +6 -6
  151. package/dist/{chunk-MAU4K3YN.js → chunk-ZGIPMCML.js} +1 -1
  152. package/dist/{chunk-33HKMP6U.js → chunk-ZNTYIJ5K.js} +2 -2
  153. package/dist/{chunk-7N5GNBYP.js → chunk-ZUXES5HA.js} +4 -4
  154. package/dist/{clean-CESNOFW4.js → clean-LCQH4HFU.js} +29 -30
  155. package/dist/cli.js +103 -70
  156. package/dist/{cloud-KNNA5NNC.js → cloud-34YHQNNB.js} +7 -7
  157. package/dist/{cloud-D7DFYONW.js → cloud-QJMPTQ3N.js} +8 -9
  158. package/dist/{cloudrun-VHHNITZU.js → cloudrun-T7VVPRDG.js} +12 -12
  159. package/dist/{colors-CRTWLZ5S.js → colors-SS2KTOKM.js} +3 -3
  160. package/dist/{compare-XWGZQA3A.js → compare-5EBDE5ZT.js} +45 -46
  161. package/dist/{compiler-FQXZ5JHO.js → compiler-ZSIKBZBR.js} +5 -5
  162. package/dist/{component-B6LFSLBU.js → component-7TIFLFYC.js} +7 -7
  163. package/dist/{compositions-525OPGMN.js → compositions-TLCEVGBC.js} +19 -19
  164. package/dist/{contactSheet-RWRMLRZI.js → contactSheet-PZXG3REG.js} +4 -2
  165. package/dist/{curve-DJ7O5S2Z.js → curve-YABHYRHK.js} +19 -19
  166. package/dist/{cuts-3FEOKZF4.js → cuts-UFRBSLDQ.js} +20 -20
  167. package/dist/{delete-NYTX5VAV.js → delete-5OABQGPL.js} +14 -15
  168. package/dist/{deploy-FMWJCCAE.js → deploy-2OYZWP74.js} +5 -5
  169. package/dist/{describeProject-73BHU64A.js → describeProject-TX2WQLQ5.js} +14 -14
  170. package/dist/{destroy-6XY4WQWY.js → destroy-YAMTVR2W.js} +3 -3
  171. package/dist/{deterministicFonts-CEHTAMC7.js → deterministicFonts-SKRN3TCP.js} +4 -2
  172. package/dist/{diff-23KDGJCM.js → diff-2CKZ2QR7.js} +43 -44
  173. package/dist/{dist-AOXZZPN7.js → dist-EFXKPJJT.js} +3 -3
  174. package/dist/{dist-GQVNNVG3.js → dist-O45G7NET.js} +15 -16
  175. package/dist/{dist-6FQKCYPL.js → dist-QRXJMFI7.js} +4 -4
  176. package/dist/docs/motion-blur.md +1 -1
  177. package/dist/{docs-WYJSJGSF.js → docs-ZSVK3VZD.js} +3 -3
  178. package/dist/{doctor-XZ5HNJ6Q.js → doctor-Y436MAQR.js} +19 -19
  179. package/dist/{energy-HGHY2XGU.js → energy-UKLKTH7A.js} +18 -18
  180. package/dist/{events-EWQD3H2H.js → events-73W2IO3W.js} +22 -22
  181. package/dist/{events-MLOHGLUP.js → events-MC5XLD2Z.js} +14 -12
  182. package/dist/{events-UFPWOQGG.js → events-NKRFVAY3.js} +7 -7
  183. package/dist/{extract-HMDTHBPW.js → extract-ZG3MHNYX.js} +19 -19
  184. package/dist/{face-63Y52JXT.js → face-CFBT42SW.js} +19 -20
  185. package/dist/{feedback-NX2BHXLA.js → feedback-QGDEE3RB.js} +19 -19
  186. package/dist/{ffmpeg-Z5LJ5LYM.js → ffmpeg-UXHRG3MW.js} +9 -9
  187. package/dist/{figma-KRBH6NCD.js → figma-BD7RROGK.js} +6 -6
  188. package/dist/fontLocalizeCli.js +13 -13
  189. package/dist/{frames-L4GO5IOK.js → frames-ZF756HF3.js} +30 -23
  190. package/dist/{generate-FYK2JEF7.js → generate-LEUO4VVQ.js} +33 -34
  191. package/dist/{get-6DBWZJIS.js → get-4BL6VXKX.js} +14 -15
  192. package/dist/{gpuPolicy-IZK7ETZ6.js → gpuPolicy-K2JHXORZ.js} +9 -9
  193. package/dist/{grade-compare-DMFIEWKO.js → grade-compare-4UBZJQ7F.js} +44 -45
  194. package/dist/{gsapParserAcorn-5YD4N6HQ.js → gsapParserAcorn-SKGP4R4N.js} +1 -1
  195. package/dist/{heifImagePrep-WT26IRKU.js → heifImagePrep-O2WGVMAP.js} +10 -10
  196. package/dist/{help-7GR3533A.js → help-M55BSV4I.js} +4 -4
  197. package/dist/{history-OMOIUDSV.js → history-UIQBTMXZ.js} +18 -19
  198. package/dist/hyperframe.manifest.json +1 -1
  199. package/dist/hyperframe.runtime.iife.js +67 -67
  200. package/dist/hyperframes-player.global.js +1 -1
  201. package/dist/{info-E5AMEBHN.js → info-X4VTZ7PT.js} +21 -21
  202. package/dist/{init-DRZP3T3W.js → init-3Y5XMH6I.js} +42 -40
  203. package/dist/{ink-63PXDACB.js → ink-QKIGMWUR.js} +18 -18
  204. package/dist/{inspect-XKB4JFEJ.js → inspect-BUKYJF6N.js} +44 -45
  205. package/dist/{installer-D7OH77IN.js → installer-VPGNKCEU.js} +8 -8
  206. package/dist/{keyframes-D4YUT6E3.js → keyframes-6HO56WZG.js} +20 -17
  207. package/dist/{lambda-S5GFZOKF.js → lambda-XDVNHACQ.js} +23 -23
  208. package/dist/{layout-4N6AIQJB.js → layout-WELYAXO3.js} +44 -45
  209. package/dist/{lint-7I6I4UHH.js → lint-6R3E6Q5V.js} +18 -18
  210. package/dist/{lintProject-KXOX5QXB.js → lintProject-5CBL7VFV.js} +3 -3
  211. package/dist/{list-5PWGI2AA.js → list-SIL4TALK.js} +15 -16
  212. package/dist/{localPage-OGQ4OTTG.js → localPage-6VW25RGJ.js} +10 -10
  213. package/dist/{login-AT3RGU2L.js → login-3AFKZLIK.js} +10 -10
  214. package/dist/{logout-EKDVIU6Y.js → logout-FJ444652.js} +5 -5
  215. package/dist/{look-GDIIZRBH.js → look-RYLQYXNN.js} +20 -20
  216. package/dist/{manager-MKDNQ5KZ.js → manager-IAXYSRG5.js} +3 -3
  217. package/dist/{manager-3VDQLCQM.js → manager-T4ZHIMMY.js} +11 -10
  218. package/dist/{measure-KWM2A5QD.js → measure-XUK4GNAC.js} +16 -13
  219. package/dist/{media-treatment-4QBXQ3D7.js → media-treatment-SR5TX7CH.js} +23 -23
  220. package/dist/{media-use-LMCTTAMZ.js → media-use-3LOSIEZM.js} +7 -7
  221. package/dist/{models-C2DQQIH3.js → models-5SPPZN2E.js} +18 -18
  222. package/dist/{motionShot-NUX22LWA.js → motionShot-IFAFFPZF.js} +23 -23
  223. package/dist/{normalize-MBNGRVQA.js → normalize-PGMS24I2.js} +3 -1
  224. package/dist/{normalize-audio-K6LDICR5.js → normalize-audio-LQDUTXFM.js} +17 -17
  225. package/dist/{open-VPKHBPWT.js → open-XX2L2YSZ.js} +25 -26
  226. package/dist/{parakeetRunner-E4534WW7.js → parakeetRunner-R5WK6AJN.js} +18 -16
  227. package/dist/{pipeline-JUVHGTAC.js → pipeline-NMCWG5AA.js} +12 -12
  228. package/dist/{play-KBMGOUFL.js → play-Q2AYSHPW.js} +35 -36
  229. package/dist/{policies-EV7XPSQC.js → policies-5G7G26ZX.js} +3 -3
  230. package/dist/{preflight-2R2MAQIC.js → preflight-WG2O5KUQ.js} +13 -13
  231. package/dist/{present-MS6QCPUK.js → present-AOU7HG3N.js} +28 -29
  232. package/dist/{preview-BDQMRB6I.js → preview-PMGF6AQB.js} +33 -34
  233. package/dist/{probe-2OXPOPVD.js → probe-SESDMQ4Q.js} +18 -18
  234. package/dist/{producer-PECYJ4WO.js → producer-TGF2N7GF.js} +1 -1
  235. package/dist/{progress-FWJJMPIQ.js → progress-OOEHTBBU.js} +3 -3
  236. package/dist/{projectConfig-CZYM3VZF.js → projectConfig-UHYPGWD5.js} +12 -13
  237. package/dist/{prompts-27EPTM64.js → prompts-RYVLXI7Q.js} +3 -3
  238. package/dist/{publication-JIWSYWXN.js → publication-5KOANEHK.js} +6 -6
  239. package/dist/{publish-ZKNUSOPR.js → publish-C3ARXH6D.js} +24 -25
  240. package/dist/{refresh-ZHLUUENK.js → refresh-YY4K2RWR.js} +5 -5
  241. package/dist/{remove-background-VQ7SFKC5.js → remove-background-ZHAYTN7D.js} +17 -17
  242. package/dist/{render-753ERHTH.js → render-TSV3XTQV.js} +11 -11
  243. package/dist/{render-JIQF7TIY.js → render-UNWC5ZIO.js} +43 -44
  244. package/dist/{render-4UHIUXYW.js → render-XYWARHW5.js} +73 -297
  245. package/dist/{render-batch-7ZOJOEPJ.js → render-batch-ISMXAG7F.js} +11 -11
  246. package/dist/renderSetupWorker.js +6 -6
  247. package/dist/{resolver-QQOL74GH.js → resolver-ZWNLOG6O.js} +9 -9
  248. package/dist/{reverse-CC3GYBFW.js → reverse-Q76RJRN5.js} +1 -1
  249. package/dist/{run-IQLZHH6D.js → run-UPKPPRV7.js} +7 -6
  250. package/dist/{screenshotCapture-2IJOZZTG.js → screenshotCapture-N6BXDAMK.js} +11 -11
  251. package/dist/{sherpa-GISX4B24.js → sherpa-5YE5FIOR.js} +17 -15
  252. package/dist/{sites-O7A7G3ZQ.js → sites-NWEJJNAZ.js} +3 -3
  253. package/dist/skills/hyperframes/SKILL.md +4 -1
  254. package/dist/skills/hyperframes/references/motion.md +1 -1
  255. package/dist/skills/hyperframes/references/skill-lifecycle.md +2 -2
  256. package/dist/{skills-VIC2VZZQ.js → skills-U4NHFYH4.js} +17 -16
  257. package/dist/{skillsUpdateCheck-SM7RAGJI.js → skillsUpdateCheck-XJA6VEZZ.js} +6 -6
  258. package/dist/{snapshot-2ABRVH76.js → snapshot-V4BSRUXI.js} +60 -59
  259. package/dist/{src-7HHPSUSN.js → src-FNXCLKWN.js} +8 -8
  260. package/dist/{src-OZI5O5QD.js → src-JVYKW7RE.js} +12 -12
  261. package/dist/{start-OJ2I4XZP.js → start-TSIACBUA.js} +46 -34
  262. package/dist/{staticProjectServer-4YDXULWX.js → staticProjectServer-NTSNYFWQ.js} +26 -27
  263. package/dist/{status-DJEV6OOU.js → status-53Z4YLQ7.js} +32 -27
  264. package/dist/studio/assets/{codec-BxQIoYb1.js → codec-YP1ZxmPt.js} +1 -1
  265. package/dist/studio/assets/{hyperframes-player-CPnasNX6.js → hyperframes-player-Cy3KqtCh.js} +1 -1
  266. package/dist/studio/assets/{index-QCoqIBrS.js → index-BNTUBT5h.js} +78 -78
  267. package/dist/studio/assets/{index-BDQdyS01.js → index-C4B6p8IF.js} +1 -1
  268. package/dist/studio/assets/{pausedVideoDecoder-CUTtHVKV.js → pausedVideoDecoder-52lsHc7p.js} +1 -1
  269. package/dist/studio/index.html +1 -1
  270. package/dist/{studio-api-Z3ZDQMO7.js → studio-api-2I44WB4P.js} +15 -16
  271. package/dist/{studioServer-AYXFWMY2.js → studioServer-HSYYGQU3.js} +94 -78
  272. package/dist/{sync-ASO6S77T.js → sync-B2HPDX37.js} +20 -20
  273. package/dist/{synthesize-GX74JPPZ.js → synthesize-MDW4ZWTN.js} +2 -3
  274. package/dist/{system-FDPS57FU.js → system-W2ZTDOLV.js} +2 -2
  275. package/dist/{telemetry-BMPRZBBX.js → telemetry-5CLJMTHU.js} +4 -4
  276. package/dist/{telemetry-AFCV2QLQ.js → telemetry-L4KX6ADA.js} +12 -12
  277. package/dist/templates/_shared/AGENTS.md +2 -2
  278. package/dist/templates/_shared/CLAUDE.md +2 -2
  279. package/dist/{templates-CII6AG7E.js → templates-MKR4FTPR.js} +50 -35
  280. package/dist/{timeline-DQ5DZUFL.js → timeline-VDFI4ABH.js} +32 -33
  281. package/dist/{tokens-JS2IMFGF.js → tokens-XYVGSKDY.js} +6 -6
  282. package/dist/{transcribe-LH7S5HSM.js → transcribe-3QGLLMEQ.js} +15 -12
  283. package/dist/{transcribe-WWKYZLEO.js → transcribe-A7QZYVNX.js} +39 -39
  284. package/dist/{tts-QW53FBKW.js → tts-HOZ6X3MD.js} +6 -6
  285. package/dist/{update-EE7PVVJY.js → update-AWSCA73T.js} +18 -17
  286. package/dist/{updateCheck-KY2HRZZA.js → updateCheck-ATDIIE24.js} +5 -5
  287. package/dist/{upgrade-H266K5KB.js → upgrade-RJNDUCWP.js} +8 -8
  288. package/dist/{urlDownloader-TRUJTJTT.js → urlDownloader-RE6IIDWK.js} +8 -8
  289. package/dist/{validate-6RDVENOL.js → validate-YWO6GA5Q.js} +35 -36
  290. package/dist/{video-B6HLIKGZ.js → video-RKEUBWJI.js} +14 -14
  291. package/dist/{voices-RQXHSMIG.js → voices-GESP52KZ.js} +31 -32
  292. package/dist/warmCheck.js +54 -54
  293. package/package.json +1 -1
  294. package/dist/chunk-ITTVMZ32.js +0 -5035
  295. package/dist/chunk-SXYRNJBG.js +0 -173
  296. package/dist/chunk-YWRUQ7XZ.js +0 -107
@@ -8,11 +8,12 @@ import {
8
8
  makeOutputFolder
9
9
  } from "./chunk-3S27CPV7.js";
10
10
  import {
11
+ createStagingDir,
11
12
  resolveWritePath
12
- } from "./chunk-A4ZTSQLW.js";
13
+ } from "./chunk-IEXRKKHC.js";
13
14
 
14
15
  // src/cloud/download.ts
15
- import { chmodSync, mkdtempSync, renameSync, rmSync, statSync } from "fs";
16
+ import { chmodSync, renameSync, rmSync, statSync } from "fs";
16
17
  import { open } from "fs/promises";
17
18
  import { dirname, join } from "path";
18
19
  import { setTimeout as sleep } from "timers/promises";
@@ -36,7 +37,7 @@ async function downloadToFile(url, destPath, options = {}) {
36
37
  makeOutputFolder(dirname(destPath));
37
38
  const destination = resolveWritePath(destPath);
38
39
  const previous = statSync(destination, { throwIfNoEntry: false });
39
- const stage = mkdtempSync(join(dirname(destination), ".hf-download-"));
40
+ const stage = createStagingDir(dirname(destination), ".hf-download-");
40
41
  const stagedFile = join(stage, "download");
41
42
  let bytes = 0;
42
43
  let firstError;
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-M3JU24AI.js";
9
+ } from "./chunk-FGFVUKPP.js";
10
10
  import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-W62GJ6S2.js";
14
+ } from "./chunk-V7Q4XKRJ.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-6ELGYAFD.js";
10
+ } from "./chunk-LI2TX7SN.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-FLRTT7XS.js";
13
+ } from "./chunk-7JK2YE2G.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-PZ23EDA5.js";
17
+ } from "./chunk-DJVSNDF3.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -13,7 +13,7 @@ import {
13
13
  rewriteHtmlAttributes,
14
14
  rewriteStyleBlocks,
15
15
  stagedSize
16
- } from "./chunk-ETD6Z4CT.js";
16
+ } from "./chunk-NURN5W6M.js";
17
17
  import {
18
18
  probeAudio
19
19
  } from "./chunk-SWC3QIEH.js";
@@ -21,13 +21,13 @@ import {
21
21
  findFFmpeg,
22
22
  findFFprobe,
23
23
  getFFmpegInstallHint
24
- } from "./chunk-ANV4RVES.js";
24
+ } from "./chunk-CZ43ZZFS.js";
25
25
  import {
26
26
  formatBytes
27
- } from "./chunk-M3JU24AI.js";
27
+ } from "./chunk-FGFVUKPP.js";
28
28
  import {
29
29
  parseAnimatedGifMetadata
30
- } from "./chunk-CF2MLHZJ.js";
30
+ } from "./chunk-RYT22J4V.js";
31
31
  import {
32
32
  cleanAssetUrl,
33
33
  isRemoteOrInlineUrl,
@@ -38,7 +38,7 @@ import {
38
38
  readMediaOffsetSeconds,
39
39
  readPlaybackRate,
40
40
  rewriteAssetPath
41
- } from "./chunk-OHQRQE7F.js";
41
+ } from "./chunk-6MKM2RVL.js";
42
42
  import {
43
43
  parseHTML
44
44
  } from "./chunk-GWTIFRF5.js";
@@ -656,7 +656,7 @@ async function prepareEntryGifs(ctx, fileMap) {
656
656
  if (!html || !/\.gif\b/i.test(html)) return;
657
657
  const sourceAssets = entryGifSources(ctx, entryPath, html);
658
658
  if (!sourceAssets) return;
659
- const prep = ctx.opts.gifPrep ?? (await import("./src-OZI5O5QD.js")).prepareAnimatedGifInputs;
659
+ const prep = ctx.opts.gifPrep ?? (await import("./src-JVYKW7RE.js")).prepareAnimatedGifInputs;
660
660
  const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
661
661
  ctx.tempFiles.push(outputDir);
662
662
  const result = await prep(html, {
@@ -0,0 +1,413 @@
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
+ import {
8
+ alive,
9
+ readHolder,
10
+ release
11
+ } from "./chunk-GGDJLN5I.js";
12
+ import {
13
+ shouldTrack
14
+ } from "./chunk-7JK2YE2G.js";
15
+ import {
16
+ createFileAtomically
17
+ } from "./chunk-IEXRKKHC.js";
18
+ import {
19
+ processIdentity
20
+ } from "./chunk-PV4XID2A.js";
21
+ import {
22
+ hyperframesCacheDir
23
+ } from "./chunk-JOQR4AP6.js";
24
+
25
+ // src/telemetry/renderObservability.ts
26
+ function renderObservabilityTelemetryPayload(observability) {
27
+ if (!observability) return {};
28
+ const diagnostics = observability.browserDiagnostics;
29
+ const capture = observability.capture;
30
+ const extraction = observability.extraction;
31
+ const init = observability.init;
32
+ return {
33
+ observabilityRenderJobId: observability.renderJobId,
34
+ observabilityCompositionHash: observability.compositionHash,
35
+ observabilityEventCount: observability.eventCount,
36
+ observabilityLastPhase: observability.lastEvent?.phase,
37
+ observabilityLastStatus: observability.lastEvent?.status,
38
+ observabilityFailedPhase: observability.failedPhase,
39
+ browserDiagnosticCount: diagnostics.total,
40
+ browserDiagnosticErrors: diagnostics.errors,
41
+ browserDiagnosticPageErrors: diagnostics.pageErrors,
42
+ browserDiagnosticRequestFailed: diagnostics.requestFailed,
43
+ browserDiagnosticHttpErrors: diagnostics.httpErrors,
44
+ browserDiagnosticNavigationStarts: diagnostics.navigationStarts,
45
+ browserDiagnosticNavigationFailures: diagnostics.navigationFailures,
46
+ browserDiagnosticConsoleErrors: diagnostics.consoleErrors,
47
+ browserDiagnosticConsoleWarnings: diagnostics.consoleWarnings,
48
+ captureMode: capture.captureMode,
49
+ captureForceScreenshot: capture.forceScreenshot,
50
+ captureWorkerCount: capture.workerCount,
51
+ captureUseStreamingEncode: capture.useStreamingEncode,
52
+ captureUseLayeredComposite: capture.useLayeredComposite,
53
+ captureUsePageSideCompositing: capture.usePageSideCompositing,
54
+ captureHasHdrContent: capture.hasHdrContent,
55
+ captureBrowserGpuMode: capture.browserGpuMode,
56
+ captureProtocolTimeoutMs: capture.protocolTimeoutMs,
57
+ capturePageNavigationTimeoutMs: capture.pageNavigationTimeoutMs,
58
+ capturePlayerReadyTimeoutMs: capture.playerReadyTimeoutMs,
59
+ captureTransientRetries: capture.transientRetries,
60
+ captureMemoryExhaustionDetected: capture.memoryExhaustionDetected,
61
+ captureDeWorkerInversion: capture.deWorkerInversion,
62
+ captureDePreInversionWorkers: capture.dePreInversionWorkers,
63
+ captureCompositionElementCount: capture.compositionElementCount,
64
+ captureCompositionElementCountSource: capture.compositionElementCountSource,
65
+ captureCompositionElementTags: capture.compositionElementTags,
66
+ captureArollVideoCount: capture.arollVideoCount,
67
+ captureHeygenVideoCount: capture.heygenVideoCount,
68
+ captureAdaptersUsed: capture.adaptersUsed,
69
+ captureAudioCount: capture.audioCount,
70
+ captureImageCount: capture.imageCount,
71
+ captureSubCompositionCount: capture.subCompositionCount,
72
+ captureAudioGroupCount: capture.audioGroupCount,
73
+ captureColorGradingCount: capture.colorGradingCount,
74
+ captureHasLut: capture.hasLut,
75
+ captureRootBodyMismatch: capture.rootBodyMismatch,
76
+ captureRootBodyDeltaPxBucket: capture.rootBodyDeltaPxBucket,
77
+ captureDeShortBand: capture.deShortBand,
78
+ captureDeParallelRouter: capture.deParallelRouter,
79
+ captureDeGpuRenderer: capture.deGpuRenderer,
80
+ captureDePreRouterWorkers: capture.dePreRouterWorkers,
81
+ captureDeSelfVerifyFallback: capture.deSelfVerifyFallback,
82
+ captureDeFallbackReason: capture.deFallbackReason,
83
+ captureDeFallbackFailedDb: capture.deFallbackFailedDb,
84
+ captureDeFallbackFrameIndex: capture.deFallbackFrameIndex,
85
+ captureDeFallbackThresholdDb: capture.deFallbackThresholdDb,
86
+ captureParallelStream: capture.captureParallelStream,
87
+ captureChromeBrowserRssPeakMb: capture.chromeBrowserRssPeakMb,
88
+ captureChromeRendererRssPeakMb: capture.chromeRendererRssPeakMb,
89
+ captureChromeRssLastMb: capture.chromeRssLastMb,
90
+ captureChromeGpuProcessSeenLastSample: capture.chromeGpuProcessSeenLastSample,
91
+ captureChromeMemorySamples: capture.chromeMemorySamples,
92
+ captureCapturePath: capture.capturePath,
93
+ captureSegmentIndex: capture.segmentIndex,
94
+ captureSegmentRetries: capture.segmentRetries,
95
+ observabilityExtractVideoCount: extraction?.videoCount,
96
+ observabilityExtractedVideoCount: extraction?.extractedVideoCount,
97
+ observabilityExtractTotalFrames: extraction?.totalFramesExtracted,
98
+ observabilityExtractMaxFramesPerVideo: extraction?.maxFramesPerVideo,
99
+ observabilityExtractAvgFramesPerVideo: extraction?.avgFramesPerExtractedVideo,
100
+ observabilityExtractVfrProbeMs: extraction?.vfrProbeMs,
101
+ observabilityExtractVfrPreflightMs: extraction?.vfrPreflightMs,
102
+ observabilityExtractVfrPreflightCount: extraction?.vfrPreflightCount,
103
+ observabilityExtractCacheHits: extraction?.cacheHits,
104
+ observabilityExtractCacheMisses: extraction?.cacheMisses,
105
+ observabilityInitDurationMs: init?.initDurationMs,
106
+ observabilityInitTweenCount: init?.tweenCount,
107
+ observabilityInitElementCount: init?.elementCount
108
+ };
109
+ }
110
+ function renderJobObservabilityTelemetryPayload(job) {
111
+ return {
112
+ ...renderObservabilityTelemetryPayload(
113
+ job?.errorDetails?.observability ?? job?.perfSummary?.observability
114
+ ),
115
+ subTimelineWait: job?.errorDetails?.subTimelineWait ?? job?.perfSummary?.subTimelineWait
116
+ };
117
+ }
118
+
119
+ // src/telemetry/renderCpu.ts
120
+ import { cpus, loadavg, platform } from "os";
121
+ var SAMPLE_INTERVAL_MS = 2e3;
122
+ var BUSY_CORE_PCT = 80;
123
+ function readCoreTimes() {
124
+ return cpus().map(({ times }) => {
125
+ const total = times.user + times.nice + times.sys + times.idle + times.irq;
126
+ return { busy: total - times.idle, total };
127
+ });
128
+ }
129
+ function busyBetween(from, to) {
130
+ let busy = 0;
131
+ let total = 0;
132
+ let coresBusy = 0;
133
+ to.forEach((core, i) => {
134
+ const before = from[i];
135
+ if (!before) return;
136
+ const dBusy = core.busy - before.busy;
137
+ const dTotal = core.total - before.total;
138
+ if (dTotal <= 0) return;
139
+ busy += dBusy;
140
+ total += dTotal;
141
+ if (dBusy / dTotal * 100 >= BUSY_CORE_PCT) coresBusy++;
142
+ });
143
+ return total > 0 ? { pct: Math.round(busy / total * 100), coresBusy } : null;
144
+ }
145
+ function readLoadAvg() {
146
+ if (platform() === "win32") return void 0;
147
+ return Math.round((loadavg()[0] ?? 0) * 100) / 100;
148
+ }
149
+ var DISABLED = { stop: () => ({}) };
150
+ function startRenderCpuSampler(requesterOptedIn = true) {
151
+ if (!requesterOptedIn || !shouldTrack()) return DISABLED;
152
+ const start = readCoreTimes();
153
+ const loadAvgStart = readLoadAvg();
154
+ let last = start;
155
+ let peak = null;
156
+ const sample = () => {
157
+ const now = readCoreTimes();
158
+ const window = busyBetween(last, now);
159
+ if (window && (!peak || window.pct > peak.pct)) peak = window;
160
+ last = now;
161
+ };
162
+ const timer = setInterval(sample, SAMPLE_INTERVAL_MS);
163
+ timer.unref?.();
164
+ let result;
165
+ return {
166
+ stop() {
167
+ if (result) return result;
168
+ clearInterval(timer);
169
+ sample();
170
+ const avg = busyBetween(start, last);
171
+ result = {
172
+ cpuBusyAvgPct: avg?.pct,
173
+ cpuBusyPeakPct: peak?.pct,
174
+ cpuCoresBusyPeak: peak?.coresBusy,
175
+ loadAvgStart,
176
+ loadAvgEnd: readLoadAvg()
177
+ };
178
+ return result;
179
+ }
180
+ };
181
+ }
182
+
183
+ // src/utils/renderLock.ts
184
+ import { existsSync as existsSync2 } from "fs";
185
+ import { dirname as dirname2 } from "path";
186
+
187
+ // src/utils/renderLockClaim.ts
188
+ import { chmodSync, existsSync, mkdirSync, unlinkSync as unlinkSync2 } from "fs";
189
+
190
+ // src/utils/renderLockOwners.ts
191
+ import { randomBytes } from "crypto";
192
+ import { readdirSync, readFileSync, unlinkSync, writeFileSync } from "fs";
193
+ import { basename, dirname, join } from "path";
194
+ var markerPrefix = (lockPath) => `${basename(lockPath)}.owner-`;
195
+ var HELD_CODES = new Set(process.platform === "win32" ? ["EPERM", "EBUSY", "EACCES"] : ["EBUSY"]);
196
+ var UNREMOVABLE_CODES = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "EBUSY"]);
197
+ var errorCode = (error) => error.code ?? "";
198
+ function isHeldError(error) {
199
+ return HELD_CODES.has(errorCode(error));
200
+ }
201
+ function startToken(pid) {
202
+ return process.platform === "win32" ? null : processIdentity(pid);
203
+ }
204
+ function writeOwnerMarker(lockPath, owner) {
205
+ const name = `${markerPrefix(lockPath)}${owner.pid}-${randomBytes(6).toString("hex")}`;
206
+ const marker = join(dirname(lockPath), name);
207
+ writeFileSync(marker, JSON.stringify(owner), { flag: "wx" });
208
+ return marker;
209
+ }
210
+ function removeIfPresent(marker) {
211
+ try {
212
+ unlinkSync(marker);
213
+ } catch (error) {
214
+ if (!UNREMOVABLE_CODES.has(errorCode(error))) throw error;
215
+ }
216
+ }
217
+ function recordedIdentity(marker) {
218
+ try {
219
+ const owner = JSON.parse(readFileSync(marker, "utf8"));
220
+ return typeof owner.identity === "string" ? owner.identity : null;
221
+ } catch {
222
+ return null;
223
+ }
224
+ }
225
+ function sameProcess(pid, identity) {
226
+ if (!Number.isInteger(pid) || pid <= 0 || !alive(pid)) return false;
227
+ const current = identity && startToken(pid);
228
+ return !identity || !current || current === identity;
229
+ }
230
+ function liveOtherOwners(lockPath, own) {
231
+ const dir = dirname(lockPath);
232
+ const prefix = markerPrefix(lockPath);
233
+ let live = 0;
234
+ for (const name of readdirSync(dir)) {
235
+ if (!name.startsWith(prefix)) continue;
236
+ const marker = join(dir, name);
237
+ if (marker === own) continue;
238
+ if (sameProcess(Number(name.slice(prefix.length).split("-")[0]), recordedIdentity(marker))) {
239
+ live += 1;
240
+ } else removeIfPresent(marker);
241
+ }
242
+ return live;
243
+ }
244
+
245
+ // src/utils/renderLockClaim.ts
246
+ var RenderLockStaleBreak = class extends Error {
247
+ constructor(breakPath) {
248
+ super(
249
+ `A render that was reclaiming the render slot stopped part way and left ${breakPath}. No render is using it: delete that file, then run the render again.`
250
+ );
251
+ this.breakPath = breakPath;
252
+ this.name = "RenderLockStaleBreak";
253
+ }
254
+ breakPath;
255
+ };
256
+ var RenderLockUnwritable = class extends Error {
257
+ constructor(dir, cause) {
258
+ super(
259
+ `This account cannot write to ${dir}, where renders take their turn. If accounts share HYPERFRAMES_CACHE_DIR, make the folder writable for all of them (chmod 777 ${dir}); otherwise unset HYPERFRAMES_CACHE_DIR.`,
260
+ { cause }
261
+ );
262
+ this.dir = dir;
263
+ this.name = "RenderLockUnwritable";
264
+ }
265
+ dir;
266
+ };
267
+ function ensureLockDir(dir) {
268
+ if (mkdirSync(dir, { recursive: true }) !== void 0 && process.platform !== "win32") {
269
+ chmodSync(dir, 511);
270
+ }
271
+ }
272
+ var holderAlive = (holder) => sameProcess(holder.pid, holder.identity);
273
+ var sameRecord = (a, b) => a?.pid === b.pid && a.startedAt === b.startedAt && a.identity === b.identity;
274
+ function createExclusive(path, holder) {
275
+ try {
276
+ createFileAtomically(path, JSON.stringify(holder));
277
+ return true;
278
+ } catch (error) {
279
+ if (error.code === "EEXIST") return false;
280
+ throw error;
281
+ }
282
+ }
283
+ var writerAbsent = (file, lockPath, marker) => existsSync(file) && !readHolder(file) && liveOtherOwners(lockPath, marker) === 0;
284
+ async function takeOver(path, holder, observed, marker, beforeReplace) {
285
+ const breakPath = `${path}.break`;
286
+ if (!createExclusive(breakPath, holder)) {
287
+ const breaker = readHolder(breakPath);
288
+ if (breaker ? holderAlive(breaker) : !writerAbsent(breakPath, path, marker)) return false;
289
+ throw new RenderLockStaleBreak(breakPath);
290
+ }
291
+ try {
292
+ await beforeReplace?.();
293
+ const stillStale = observed ? sameRecord(readHolder(path), observed) : writerAbsent(path, path, marker);
294
+ if (stillStale) removeIfPresent(path);
295
+ return createExclusive(path, holder);
296
+ } finally {
297
+ if (sameRecord(readHolder(breakPath), holder)) unlinkSync2(breakPath);
298
+ }
299
+ }
300
+ async function claimSlot(path, holder, marker, beforeReplace) {
301
+ if (createExclusive(path, holder)) return true;
302
+ const current = readHolder(path);
303
+ if (current ? holderAlive(current) : !writerAbsent(path, path, marker)) return false;
304
+ return takeOver(path, holder, current, marker, beforeReplace);
305
+ }
306
+
307
+ // src/utils/renderLock.ts
308
+ var RenderLockBusy = class extends Error {
309
+ constructor(holder, path) {
310
+ super(`Another render is running (${describeRenderLockHolder(holder, Date.now())})`);
311
+ this.holder = holder;
312
+ this.path = path;
313
+ this.name = "RenderLockBusy";
314
+ }
315
+ holder;
316
+ path;
317
+ };
318
+ var POLL_MS = 1e3;
319
+ var renderLockPath = () => hyperframesCacheDir("locks", "render.lock");
320
+ function renderLockDisabled(env = process.env) {
321
+ const value = env.HYPERFRAMES_RENDER_LOCK?.trim().toLowerCase();
322
+ return value === "off" || value === "0" || value === "false";
323
+ }
324
+ function describeRenderLockHolder(holder, now) {
325
+ if (!holder) return "holder unknown";
326
+ const seconds = Math.max(0, Math.round((now - holder.startedAt) / 1e3));
327
+ const running = seconds >= 60 ? `${Math.floor(seconds / 60)}m ${seconds % 60}s` : `${seconds}s`;
328
+ return `pid ${holder.pid}, project ${holder.project}, running ${running}`;
329
+ }
330
+ function pause(ms, signal) {
331
+ return new Promise((resolve, reject) => {
332
+ if (signal?.aborted) return reject(signal.reason);
333
+ const onAbort = () => {
334
+ clearTimeout(timer);
335
+ reject(signal?.reason);
336
+ };
337
+ const timer = setTimeout(() => {
338
+ signal?.removeEventListener("abort", onAbort);
339
+ resolve();
340
+ }, ms);
341
+ signal?.addEventListener("abort", onAbort, { once: true });
342
+ });
343
+ }
344
+ var sameWaitTarget = (a, b) => a?.pid === b?.pid && a?.startedAt === b?.startedAt;
345
+ async function acquireRenderLock(options) {
346
+ if (renderLockDisabled(options.env)) return () => {
347
+ };
348
+ const contender = prepareContender(options);
349
+ let waitingBehind;
350
+ let retriedVanished = false;
351
+ for (; ; ) {
352
+ options.signal?.throwIfAborted();
353
+ const releaseSlot = await claimOnce(contender);
354
+ if (releaseSlot) return releaseSlot;
355
+ const { path } = contender;
356
+ const current = readHolder(path);
357
+ retriedVanished = !current && !existsSync2(path) && !retriedVanished;
358
+ if (retriedVanished) continue;
359
+ if (!options.wait) throw new RenderLockBusy(current, path);
360
+ if (waitingBehind === void 0 || !sameWaitTarget(waitingBehind, current)) {
361
+ waitingBehind = current;
362
+ options.onWait?.(current, path);
363
+ }
364
+ await pause(options.pollMs ?? POLL_MS, options.signal);
365
+ }
366
+ }
367
+ function prepareContender(options) {
368
+ const path = options.path ?? renderLockPath();
369
+ ensureLockDir(dirname2(path));
370
+ liveOtherOwners(path);
371
+ const pid = options.pid ?? process.pid;
372
+ const identity = startToken(pid);
373
+ return {
374
+ path,
375
+ holder: { pid, command: "render", startedAt: Date.now(), project: options.project, identity },
376
+ owner: { pid, identity },
377
+ claim: options.claim ?? ((lock, holder, marker) => claimSlot(lock, holder, marker, options.beforeReplace))
378
+ };
379
+ }
380
+ var notWritable = (error) => process.platform !== "win32" && ["EACCES", "EPERM"].includes(error.code ?? "");
381
+ async function claimOnce({ path, holder, owner, claim }) {
382
+ let marker;
383
+ try {
384
+ marker = writeOwnerMarker(path, owner);
385
+ } catch (error) {
386
+ throw notWritable(error) ? new RenderLockUnwritable(dirname2(path), error) : error;
387
+ }
388
+ let held = false;
389
+ try {
390
+ held = await claim(path, holder, marker);
391
+ } catch (error) {
392
+ if (notWritable(error)) throw new RenderLockUnwritable(dirname2(path), error);
393
+ if (!isHeldError(error)) throw error;
394
+ } finally {
395
+ if (!held) removeIfPresent(marker);
396
+ }
397
+ if (!held) return null;
398
+ return () => {
399
+ release(path, holder);
400
+ removeIfPresent(marker);
401
+ };
402
+ }
403
+
404
+ export {
405
+ renderObservabilityTelemetryPayload,
406
+ renderJobObservabilityTelemetryPayload,
407
+ startRenderCpuSampler,
408
+ RenderLockStaleBreak,
409
+ RenderLockUnwritable,
410
+ RenderLockBusy,
411
+ describeRenderLockHolder,
412
+ acquireRenderLock
413
+ };
@@ -11,10 +11,10 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-VK4PVFTZ.js";
14
+ } from "./chunk-MVJ7AX6W.js";
15
15
  import {
16
16
  closestNames
17
- } from "./chunk-M7VAMZQW.js";
17
+ } from "./chunk-JNHJX2BZ.js";
18
18
 
19
19
  // src/registry/resolver.ts
20
20
  function defaultWarn(message) {
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-4H65D2CK.js";
13
+ } from "./chunk-UPG4MMIA.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-BO3R523I.js";
9
+ } from "./chunk-BJYCLZBQ.js";
10
10
  import {
11
11
  outputResolutionForSize
12
- } from "./chunk-43G3Z3HJ.js";
12
+ } from "./chunk-IOPIOX5K.js";
13
13
 
14
14
  // src/commands/lambda/_dimensions.ts
15
15
  import { readFileSync } from "fs";
@@ -515,8 +515,14 @@ function rewriteCssAssetUrls(cssText, compSrcPath, assetExists) {
515
515
  }
516
516
 
517
517
  // ../parsers/dist/subCompositionValidity.js
518
+ function findSceneTemplate(templates) {
519
+ return Array.from(templates).find(
520
+ (template) => template.content.querySelector("[data-composition-id]") != null
521
+ );
522
+ }
518
523
  function resolveSubCompositionContent(html, document) {
519
- const template = document.querySelector("template");
524
+ const templates = Array.from(document.querySelectorAll("template"));
525
+ const template = findSceneTemplate(templates) ?? templates[0];
520
526
  if (template) return { contentHtml: template.innerHTML ?? "", hasTemplate: true };
521
527
  const body = document.querySelector("body");
522
528
  if (body) return { contentHtml: body.innerHTML ?? "", hasTemplate: false };
@@ -1175,6 +1181,7 @@ export {
1175
1181
  rewriteAssetPaths,
1176
1182
  rewriteInlineStyleAssetUrls,
1177
1183
  rewriteCssAssetUrls,
1184
+ findSceneTemplate,
1178
1185
  resolveSubCompositionContent,
1179
1186
  checkSubCompositionUsability,
1180
1187
  COLOR_GRADING_CONTRACT_VERSION,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-J3OVTOVC.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-E3V2WHNZ.js";
19
+ } from "./chunk-QTBRVJ6N.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -26,15 +26,15 @@ import {
26
26
  } from "./chunk-DL4OD7IA.js";
27
27
  import {
28
28
  c
29
- } from "./chunk-HOCC4J5C.js";
29
+ } from "./chunk-VU4EPKFI.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-W62GJ6S2.js";
32
+ } from "./chunk-V7Q4XKRJ.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
36
36
  getSystemMeta
37
- } from "./chunk-LAGZGKKN.js";
37
+ } from "./chunk-FOZBANEN.js";
38
38
  import {
39
39
  getAvailableMemoryMb
40
40
  } from "./chunk-FBN2M2HK.js";
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-AIJMFLLS.js";
47
+ } from "./chunk-Z5THPTQ2.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
- } from "./chunk-CMQZP52Y.js";
51
+ } from "./chunk-F5QBIIFT.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-YTF6LBWN.js";
54
+ } from "./chunk-2WKG7HXZ.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -249,7 +249,7 @@ function checkEnvironment() {
249
249
  return { ok: true, detail: parts.join(" \xB7 ") };
250
250
  }
251
251
  async function checkWhisper() {
252
- const { findWhisper, getInstallInstructions } = await import("./manager-3VDQLCQM.js");
252
+ const { findWhisper, getInstallInstructions } = await import("./manager-T4ZHIMMY.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-66W5IWLO.js";
10
10
  import {
11
11
  isUnattended
12
- } from "./chunk-FYZFURBN.js";
12
+ } from "./chunk-PQYICV7O.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __toESM