hyperframes 0.9.31 → 0.9.32

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 (275) hide show
  1. package/dist/{add-53MR45WI.js → add-HYI4YJC5.js} +16 -16
  2. package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-JAQNBEUZ.js} +35 -18
  3. package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-DVYRCZVR.js} +10 -10
  4. package/dist/api.js +40 -36
  5. package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
  6. package/dist/{asset-Y3YAVXJ3.js → asset-7FG3M3FQ.js} +2 -2
  7. package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-QDQZYHUC.js} +12 -12
  8. package/dist/{audio-TRDZQ2NW.js → audio-R6ZG62DU.js} +20 -19
  9. package/dist/{auth-MN66MWGN.js → auth-IPDYZXOG.js} +2 -2
  10. package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-GAEDDZRN.js} +2 -2
  11. package/dist/{avatars-F2COSI7P.js → avatars-A45VFUZ4.js} +14 -14
  12. package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-US74BS6V.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +4 -4
  14. package/dist/{batchRender-CI6OFGS5.js → batchRender-VBSYVQA7.js} +5 -5
  15. package/dist/{beats-GBCNB763.js → beats-UPJ3KANG.js} +12 -12
  16. package/dist/{benchmark-AHHMJBDN.js → benchmark-2RWYJGL2.js} +10 -10
  17. package/dist/{billing-HME22C5A.js → billing-MD66MJTA.js} +15 -15
  18. package/dist/{browser-VZTIOZI3.js → browser-JXCS62NX.js} +7 -7
  19. package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-RAD7BNJF.js} +1 -1
  20. package/dist/{capture-ZILHWIOF.js → capture-DJ4WRP62.js} +52 -29
  21. package/dist/{capture-NU2ZIXJB.js → capture-M6DT5WZT.js} +4 -4
  22. package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-IRXG7ZFU.js} +17 -17
  23. package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
  24. package/dist/{catalog-NVEGPXGE.js → catalog-GW45OWKU.js} +16 -16
  25. package/dist/{catch-up-W7ST5JSZ.js → catch-up-YKJQ4IYC.js} +10 -10
  26. package/dist/{check-BZ652RYH.js → check-7QTKMPGA.js} +49 -49
  27. package/dist/{checkAudio-5NVSRMGL.js → checkAudio-7WHUYGUZ.js} +14 -14
  28. package/dist/{checkBrowser-YN454IBU.js → checkBrowser-USAOWTAF.js} +42 -42
  29. package/dist/chunk-262ADJJN.js +193 -0
  30. package/dist/{chunk-SCWMPY3F.js → chunk-2NMBD5AH.js} +1 -1
  31. package/dist/{chunk-RHUYVGFO.js → chunk-2T7EDEKE.js} +7 -7
  32. package/dist/{chunk-OJSOH2LS.js → chunk-2W4VQ3YZ.js} +2 -2
  33. package/dist/{chunk-RJA64ACI.js → chunk-2Z42EUHG.js} +2 -2
  34. package/dist/{chunk-HM3PIREE.js → chunk-3367VNGK.js} +2 -2
  35. package/dist/{chunk-RLYYA6IR.js → chunk-34S7GYVK.js} +1 -1
  36. package/dist/{chunk-TEOIEMTR.js → chunk-3HT3UGF2.js} +1 -1
  37. package/dist/{chunk-AQJA7TAQ.js → chunk-3PHCFSPD.js} +2 -2
  38. package/dist/{chunk-BJSUKOWW.js → chunk-3R2X2VKB.js} +2 -2
  39. package/dist/{chunk-OOEZ3FT3.js → chunk-4CSZZXL6.js} +3 -3
  40. package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
  41. package/dist/{chunk-O7ZX5DHD.js → chunk-5FFYMVRD.js} +2 -2
  42. package/dist/{chunk-6WHOI52Z.js → chunk-5GXMZIQZ.js} +8 -8
  43. package/dist/{chunk-Q7EIUAYK.js → chunk-5VN7ZXJR.js} +3 -3
  44. package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
  45. package/dist/{chunk-X3HQA3YE.js → chunk-6BI6URO2.js} +8 -7
  46. package/dist/{chunk-Q77TZ76B.js → chunk-6MTSP2XE.js} +8 -8
  47. package/dist/{chunk-7XZS4PNM.js → chunk-6NNLDCX4.js} +1 -1
  48. package/dist/{chunk-3OA75WJW.js → chunk-6RFCS4IU.js} +9 -4
  49. package/dist/{chunk-IIMW46LC.js → chunk-6SNGKC6B.js} +1 -1
  50. package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
  51. package/dist/{chunk-URXVZMSI.js → chunk-ADP2GIBS.js} +2 -2
  52. package/dist/{chunk-CWN75OWQ.js → chunk-AOQRVS63.js} +13 -3
  53. package/dist/{chunk-RVI665CP.js → chunk-AWT5FHTN.js} +1 -1
  54. package/dist/{chunk-G5DZZEQF.js → chunk-AZ2QJETV.js} +1 -1
  55. package/dist/{chunk-YJVJCNK4.js → chunk-BA3EQ2KL.js} +3 -3
  56. package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
  57. package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
  58. package/dist/{chunk-GFDXA5QO.js → chunk-CMYUPVMI.js} +2 -2
  59. package/dist/{chunk-DFSAC4F4.js → chunk-D6BV6TTI.js} +1 -1
  60. package/dist/{chunk-OZNJ2QD5.js → chunk-D7NNNL2K.js} +13 -13
  61. package/dist/{chunk-MMAPQWUP.js → chunk-E5S4QMX7.js} +2 -2
  62. package/dist/{chunk-G5S72X6Q.js → chunk-EBG5RCPM.js} +4 -4
  63. package/dist/{chunk-R5U5PFDJ.js → chunk-EJPWGGPK.js} +68 -26
  64. package/dist/{chunk-FKW5FP4C.js → chunk-EXW2LV4K.js} +114 -74
  65. package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
  66. package/dist/{chunk-P7LZ2WSQ.js → chunk-G6JLFSII.js} +2 -2
  67. package/dist/{chunk-LHBQW4GJ.js → chunk-G7NKYELQ.js} +23 -15
  68. package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
  69. package/dist/{chunk-W4OMDRZF.js → chunk-GCJRV7LU.js} +28 -8
  70. package/dist/{chunk-AWL5M7BX.js → chunk-GJUL3PRV.js} +4 -4
  71. package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
  72. package/dist/{chunk-5AMGFTMU.js → chunk-GTHRXU37.js} +15 -15
  73. package/dist/{chunk-GRHBVTBK.js → chunk-GWSCUFGL.js} +2 -2
  74. package/dist/{chunk-SQ63BIR2.js → chunk-H4C3P2KV.js} +3 -3
  75. package/dist/{chunk-FK3KV32T.js → chunk-H7AJLEBR.js} +26 -23
  76. package/dist/{chunk-L6ZLOJBI.js → chunk-HDCVU64B.js} +1 -1
  77. package/dist/{chunk-Y6RU3H6C.js → chunk-HWMNSWEA.js} +6 -6
  78. package/dist/{chunk-WSPGX2SM.js → chunk-HXQDDCGY.js} +1 -1
  79. package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
  80. package/dist/{chunk-CUORARXJ.js → chunk-I3QXWJ7V.js} +7 -7
  81. package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
  82. package/dist/{chunk-MX3UCKZR.js → chunk-JHX76QFC.js} +1 -1
  83. package/dist/{chunk-C4U6FRZH.js → chunk-JMV63CNH.js} +14 -11
  84. package/dist/{chunk-4HSE3FWO.js → chunk-K72X2YXR.js} +3 -3
  85. package/dist/{chunk-OB6DVKHE.js → chunk-KAG5KXNO.js} +2 -2
  86. package/dist/{chunk-J5LQW6VB.js → chunk-KFXHBP2E.js} +2 -2
  87. package/dist/{chunk-MQOO5Z4U.js → chunk-KG3TONXU.js} +6 -6
  88. package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
  89. package/dist/{chunk-KKUBMYCY.js → chunk-KXOKZJBZ.js} +10 -10
  90. package/dist/{chunk-XDIHAX2C.js → chunk-L72MPEM2.js} +1 -1
  91. package/dist/{chunk-RBECDLMQ.js → chunk-LBQQNNRC.js} +1 -1
  92. package/dist/{chunk-CP4FVXKZ.js → chunk-LHFBKUVY.js} +2 -2
  93. package/dist/{chunk-RLQOYHXT.js → chunk-LJMTEZOP.js} +10 -10
  94. package/dist/{chunk-3SZ43GZG.js → chunk-LXIEKLAC.js} +5 -5
  95. package/dist/{chunk-KAICKZZK.js → chunk-M6FNCANA.js} +1 -1
  96. package/dist/{chunk-ZOOY4LEZ.js → chunk-M6LAGO6O.js} +2 -2
  97. package/dist/{chunk-5Q3TTLGB.js → chunk-MYFAVVA6.js} +22 -22
  98. package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
  99. package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
  100. package/dist/{chunk-B7H5RCKP.js → chunk-NNOAOQLT.js} +2 -2
  101. package/dist/{chunk-56MGA4FM.js → chunk-NXSKZE3C.js} +2 -2
  102. package/dist/{chunk-RCWPVC4M.js → chunk-P5E3RHW3.js} +2 -2
  103. package/dist/{chunk-SEVZKBMA.js → chunk-P7TCIUP2.js} +4 -4
  104. package/dist/{chunk-5BIMSULZ.js → chunk-PVSRPNIV.js} +1 -1
  105. package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
  106. package/dist/{chunk-GSXHYLW4.js → chunk-PXY3JZP2.js} +2 -2
  107. package/dist/{chunk-T54RTTFW.js → chunk-RCRUWNQ4.js} +3 -3
  108. package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
  109. package/dist/{chunk-BCMR6DE4.js → chunk-SFPIVVUE.js} +2 -2
  110. package/dist/{chunk-T7PFJH2B.js → chunk-SIRYW7SY.js} +2 -2
  111. package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
  112. package/dist/{chunk-ZSELEQI2.js → chunk-SXOIG6VG.js} +186 -52
  113. package/dist/chunk-TFBPCJPG.js +26 -0
  114. package/dist/{chunk-JULHFF3J.js → chunk-TLUDJLBN.js} +1 -1
  115. package/dist/{chunk-5YYGPTBP.js → chunk-TTSLKH63.js} +3 -3
  116. package/dist/{chunk-XB77LMOP.js → chunk-TVQNABOI.js} +1 -1
  117. package/dist/{chunk-K7JA32EI.js → chunk-TZH6HNZH.js} +2 -2
  118. package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
  119. package/dist/{chunk-PGGMJW7B.js → chunk-UWMOMAYI.js} +35 -7
  120. package/dist/{chunk-DJVSNDF3.js → chunk-VB3JZKMN.js} +104 -14
  121. package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
  122. package/dist/{chunk-5HVQV4H4.js → chunk-W3HNLDK6.js} +2 -2
  123. package/dist/{chunk-44VR2CWT.js → chunk-WLNQAJQC.js} +2 -2
  124. package/dist/{chunk-O4Z4D4KA.js → chunk-WTO4DHBH.js} +1 -1
  125. package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
  126. package/dist/{chunk-6VNDEMSP.js → chunk-X6DWLN55.js} +3 -3
  127. package/dist/{chunk-IHWNDG5C.js → chunk-XB7HE2R5.js} +3 -3
  128. package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
  129. package/dist/{chunk-CWOUPW5E.js → chunk-XH6LGDIB.js} +4 -4
  130. package/dist/{chunk-3DIYMOES.js → chunk-XPT4GC6X.js} +6 -6
  131. package/dist/{chunk-ZQYRP22G.js → chunk-Y3YHDU7T.js} +1 -1
  132. package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
  133. package/dist/{chunk-ELWX6CAA.js → chunk-YAZQBB2S.js} +1 -1
  134. package/dist/{chunk-5LLDGJGZ.js → chunk-YCTWMO3G.js} +1 -1
  135. package/dist/{chunk-OBRKDUCE.js → chunk-YIE5FU73.js} +3 -3
  136. package/dist/{chunk-KAHWO4XC.js → chunk-YMIEJZB6.js} +3 -3
  137. package/dist/{chunk-22PWPQVX.js → chunk-Z6X64P6C.js} +3 -3
  138. package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
  139. package/dist/{clean-WYXHI2DO.js → clean-MJBET4EN.js} +26 -26
  140. package/dist/cli.js +64 -64
  141. package/dist/{cloud-X52P5AIE.js → cloud-WEDQYHZE.js} +4 -4
  142. package/dist/{cloud-TDXVUIUM.js → cloud-Z4Q76MLS.js} +3 -3
  143. package/dist/{cloudrun-36IR6ZKU.js → cloudrun-2KGSRAKA.js} +7 -7
  144. package/dist/{compare-R2KXOV2I.js → compare-MJKWQOD7.js} +41 -41
  145. package/dist/{compiler-FRWUFIQC.js → compiler-ETXRTUQC.js} +6 -6
  146. package/dist/{component-TIBQY7KQ.js → component-PZGKEJ6L.js} +3 -3
  147. package/dist/{compositions-NQPORXIX.js → compositions-N3FEEWH7.js} +14 -14
  148. package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
  149. package/dist/{curve-DTLRPBSB.js → curve-MWABBM7Q.js} +14 -14
  150. package/dist/{cuts-73HKU767.js → cuts-BQFSSNY7.js} +15 -15
  151. package/dist/{delete-HIHA436T.js → delete-HPHGJABK.js} +5 -5
  152. package/dist/deploy-JY2QOB5F.js +213 -0
  153. package/dist/{describeProject-4A5UXQ25.js → describeProject-S6AGYZWL.js} +11 -11
  154. package/dist/{destroy-4DOMPOYB.js → destroy-AZK7J4IR.js} +19 -15
  155. package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
  156. package/dist/{diff-JPADFUMV.js → diff-XDNFCAU4.js} +36 -36
  157. package/dist/{dist-EFXKPJJT.js → dist-6EE3Y4M7.js} +3 -3
  158. package/dist/{dist-KWXQYTRT.js → dist-EYEYDD4F.js} +18 -18
  159. package/dist/{dist-FKEKIXVL.js → dist-TYGDYK56.js} +4 -4
  160. package/dist/docs/rendering.md +2 -0
  161. package/dist/{doctor-3OO3CONL.js → doctor-6IRSMKZD.js} +16 -16
  162. package/dist/{energy-XFPN5YIL.js → energy-VCJ2FJEF.js} +15 -15
  163. package/dist/{events-QWPZT3EQ.js → events-DNTIMCUM.js} +17 -17
  164. package/dist/{events-G2MME5LQ.js → events-M6A7BT3V.js} +7 -7
  165. package/dist/{events-6ONCYFB5.js → events-QQYBD7JM.js} +2 -2
  166. package/dist/{extract-3EV72SMY.js → extract-X3IVXYHX.js} +15 -15
  167. package/dist/{face-JZS6P3AT.js → face-MZHXKBDB.js} +16 -16
  168. package/dist/{feedback-JVWBHRQG.js → feedback-TAMGYFUO.js} +15 -11
  169. package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-XWPYYYB6.js} +10 -10
  170. package/dist/{figma-KPHTDMCQ.js → figma-WMD7AR2S.js} +3 -3
  171. package/dist/fontLocalizeCli.js +17 -17
  172. package/dist/{frames-KRVRJTKC.js → frames-OU2UOLBU.js} +17 -17
  173. package/dist/{generate-X2MYGFZX.js → generate-6F6QEFXW.js} +26 -26
  174. package/dist/{get-QM24BI7N.js → get-VVDO7DXG.js} +5 -5
  175. package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-CVNSHXHJ.js} +10 -10
  176. package/dist/{grade-compare-W5N5LH4X.js → grade-compare-O6LY2U73.js} +40 -40
  177. package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
  178. package/dist/hangReport.js +1 -1
  179. package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-J6TILZTM.js} +11 -11
  180. package/dist/{help-LWS4YWMO.js → help-XLSTTDHR.js} +1 -1
  181. package/dist/{history-SG34LBJY.js → history-DBCCWBDG.js} +13 -13
  182. package/dist/hyperframes-player.global.js +1 -1
  183. package/dist/{info-2FC43IYB.js → info-E46BWAQ7.js} +16 -16
  184. package/dist/{init-GKY5OKDV.js → init-23TG5W7S.js} +33 -33
  185. package/dist/{ink-7UK6YCUY.js → ink-6UFSNJRW.js} +15 -15
  186. package/dist/{inspect-ZB2NTNQA.js → inspect-RKI6XACH.js} +40 -40
  187. package/dist/{installer-GALVXWPC.js → installer-JWPK75BR.js} +8 -8
  188. package/dist/{keyframes-LSP4FLHT.js → keyframes-J65V5A2G.js} +10 -10
  189. package/dist/{lambda-3F32DRYF.js → lambda-RZSXXBJU.js} +19 -19
  190. package/dist/{layout-XPGS3QTX.js → layout-RJQUOYWB.js} +40 -40
  191. package/dist/{lint-Q5SO57RK.js → lint-4TUHKKA2.js} +12 -12
  192. package/dist/{lintProject-5CBL7VFV.js → lintProject-R6RTBSCZ.js} +3 -3
  193. package/dist/{list-FL5RYSFT.js → list-HOD2N4VS.js} +5 -5
  194. package/dist/{localPage-IOHQETQT.js → localPage-TC4NC3VL.js} +11 -11
  195. package/dist/{login-D4TCWDDW.js → login-NTOS3HKD.js} +4 -4
  196. package/dist/{look-G2BT4E4A.js → look-GC63E2I7.js} +15 -15
  197. package/dist/{manager-F6WI43DQ.js → manager-FICBET24.js} +11 -11
  198. package/dist/{measure-VXQQHYMZ.js → measure-WTQCSQ55.js} +11 -11
  199. package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-KTZ6X2P2.js} +16 -16
  200. package/dist/{media-use-63LZFAID.js → media-use-K75FDXJ3.js} +10 -5
  201. package/dist/{models-MWUVU4CY.js → models-JKOA542M.js} +14 -14
  202. package/dist/{motionShot-U4YDT7UV.js → motionShot-A3TYKTQU.js} +20 -20
  203. package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-7JUM42YB.js} +12 -12
  204. package/dist/{open-DRLXHOW2.js → open-F6GI4TRA.js} +18 -18
  205. package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-6XIAKJLS.js} +17 -17
  206. package/dist/{pipeline-MAIRRYD6.js → pipeline-7P7LGGQG.js} +13 -13
  207. package/dist/{play-33A3EXX3.js → play-DYOZLKWX.js} +36 -30
  208. package/dist/{preflight-HSWMKB2Q.js → preflight-VM4HSRBY.js} +11 -11
  209. package/dist/{present-HJIFEIDH.js → present-IINIEZJC.js} +30 -24
  210. package/dist/{preview-J6Z6RKMN.js → preview-NJO2UXWJ.js} +25 -25
  211. package/dist/{probe-RA4VOGYY.js → probe-LQQHFX5Q.js} +15 -15
  212. package/dist/{producer-KWP2B4A5.js → producer-LH2SZHJ2.js} +1 -1
  213. package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
  214. package/dist/{projectConfig-3YIGHLNE.js → projectConfig-BLACFLUW.js} +11 -11
  215. package/dist/{publication-QRUY2WJK.js → publication-NFF2BXIE.js} +6 -6
  216. package/dist/{publish-GV3I3GUL.js → publish-JST5Y4UR.js} +19 -17
  217. package/dist/{remove-background-UUITKXEQ.js → remove-background-WUBESLWN.js} +14 -14
  218. package/dist/{render-EC67XXR2.js → render-4KWUUC5H.js} +75 -45
  219. package/dist/{render-NHVDJRFD.js → render-DA4V7CEE.js} +8 -8
  220. package/dist/{render-ZITQXHJP.js → render-R4VNR4E2.js} +34 -30
  221. package/dist/{render-batch-RII4F3PD.js → render-batch-JMPG4RLT.js} +8 -8
  222. package/dist/renderSetupWorker.js +4 -4
  223. package/dist/{resolver-R3FXDZKS.js → resolver-PNIFIDIE.js} +8 -8
  224. package/dist/{reverse-2GJ5Y3WM.js → reverse-4NI7D2C3.js} +1 -1
  225. package/dist/{run-24USN7TA.js → run-FWBIBLYE.js} +4 -3
  226. package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-KOLNFU7W.js} +13 -13
  227. package/dist/{sherpa-YIJR47GX.js → sherpa-W3BMN67E.js} +16 -16
  228. package/dist/sherpaWorker.js +1 -1
  229. package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
  230. package/dist/skills/hyperframes-cli/references/preview-render.md +1 -0
  231. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
  232. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
  233. package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
  234. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
  235. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
  236. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
  237. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
  238. package/dist/{skills-DM3XC7RQ.js → skills-KQQVUFGO.js} +10 -10
  239. package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-VY5PS46S.js} +3 -3
  240. package/dist/{snapshot-72RQQXHW.js → snapshot-VIEJQAUB.js} +82 -57
  241. package/dist/{src-C43KUEBY.js → src-HHPRCLEW.js} +11 -9
  242. package/dist/{src-SPFGPZZQ.js → src-MQU5F7GJ.js} +15 -15
  243. package/dist/{start-FSYSYLI7.js → start-ZBNNVFMU.js} +24 -24
  244. package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
  245. package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-VPGZWJF4.js} +27 -27
  246. package/dist/{status-TE74GP4Q.js → status-RBZJYT7T.js} +17 -17
  247. package/dist/studio/assets/{codec-DXM4vA6G.js → codec-Bz1jsLs8.js} +1 -1
  248. package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-cdH5Sz_t.js} +1 -1
  249. package/dist/studio/assets/{index-Ob53qo6K.js → index-D1l7izdf.js} +176 -176
  250. package/dist/studio/assets/{index-Bw4stQMm.js → index-DFRbcd5J.js} +1 -1
  251. package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CgV8YB6S.js} +1 -1
  252. package/dist/studio/index.html +1 -1
  253. package/dist/{studio-api-JAOHMYPG.js → studio-api-EPZGLIWW.js} +18 -18
  254. package/dist/{studioServer-RHCPM4CN.js → studioServer-YFQQ2ESJ.js} +68 -62
  255. package/dist/{sync-UZJ7DOUA.js → sync-FRT55PVW.js} +15 -15
  256. package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
  257. package/dist/{telemetry-TFOEA2PM.js → telemetry-HAPPFR7P.js} +7 -7
  258. package/dist/{templates-2AHM5TZ3.js → templates-2IHYIWMA.js} +15 -15
  259. package/dist/{timeline-ZGV323MP.js → timeline-AY2F7BJF.js} +25 -25
  260. package/dist/{tokens-ERUFEWUA.js → tokens-B3G257V3.js} +2 -2
  261. package/dist/{transcribe-M5UZ2XFG.js → transcribe-EGQD32PT.js} +14 -14
  262. package/dist/{transcribe-6HLYS7NV.js → transcribe-RJCILGPA.js} +30 -30
  263. package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
  264. package/dist/{update-JDVI2XTM.js → update-XTFIGQKW.js} +12 -11
  265. package/dist/{updateCheck-GDTYPXKO.js → updateCheck-M6YC52A4.js} +2 -2
  266. package/dist/{upgrade-SJKYBA4X.js → upgrade-AKLIZKAO.js} +5 -3
  267. package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-57A7Q7FC.js} +9 -9
  268. package/dist/{validate-IUTHTA2N.js → validate-YWSXJL54.js} +32 -32
  269. package/dist/{video-4BJ7WHI2.js → video-I5DDNK3Y.js} +12 -12
  270. package/dist/{voices-UDSFBPZX.js → voices-IBMJU73H.js} +24 -24
  271. package/dist/warmCheck.js +50 -50
  272. package/dist/warmCheckClient.js +1 -1
  273. package/package.json +1 -1
  274. package/dist/chunk-2X4PQEYM.js +0 -34
  275. package/dist/deploy-EB3FS2BT.js +0 -361
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-C4U6FRZH.js";
11
+ } from "./chunk-JMV63CNH.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
- } from "./chunk-F2GWIWHN.js";
15
+ } from "./chunk-G2XAFJ2B.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-HM3PIREE.js";
18
+ } from "./chunk-3367VNGK.js";
19
19
  import {
20
20
  realProjectRoot
21
- } from "./chunk-OFQWTKPW.js";
21
+ } from "./chunk-HZTRKUKE.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-IOPIOX5K.js";
24
+ } from "./chunk-N7C7U3ZR.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";
@@ -164,7 +164,33 @@ function hasLocalEdits(record, target, onDisk) {
164
164
  function keptByProject(record, destPath, target, force) {
165
165
  return !force && existsSync(destPath) && hasLocalEdits(record, target, readFileSync(destPath));
166
166
  }
167
- function assertSafeTarget(destDir, target) {
167
+ var PROJECT_FILES = /* @__PURE__ */ new Set(["package.json", "hyperframes.json", "hyperframes.lock.json"]);
168
+ var EXAMPLE_DOTFILES = /* @__PURE__ */ new Set([".gitignore"]);
169
+ var isShortName = (part) => /~\d+(\.|$)/.test(part);
170
+ function isHiddenConfigFile(file, example) {
171
+ if (file === ".gitkeep" || example && EXAMPLE_DOTFILES.has(file)) return false;
172
+ return file.startsWith(".");
173
+ }
174
+ var CONFIG_TARGET_RULES = [
175
+ ["it writes into git metadata", (dirs, file) => [...dirs, file].includes(".git")],
176
+ ["it uses a Windows short name", (dirs, file) => [...dirs, file].some(isShortName)],
177
+ ["it writes into a hidden tool directory", (dirs) => dirs.some((dir) => dir.startsWith("."))],
178
+ [
179
+ "it writes a hidden configuration file",
180
+ (_dirs, file, example) => isHiddenConfigFile(file, example)
181
+ ],
182
+ [
183
+ "it would replace project configuration",
184
+ (_dirs, file, example) => !example && PROJECT_FILES.has(file)
185
+ ]
186
+ ];
187
+ function configTargetError(target, type) {
188
+ const parts = target.split(/[\\/]/).map((part) => part.toLowerCase());
189
+ const file = parts.pop() ?? "";
190
+ const example = type === "hyperframes:example";
191
+ return CONFIG_TARGET_RULES.find(([, applies]) => applies(parts, file, example))?.[0] ?? null;
192
+ }
193
+ function assertSafeTarget(destDir, target, type) {
168
194
  if (isAbsolute(target)) {
169
195
  throw new Error(`Unsafe target "${target}": absolute paths are not allowed.`);
170
196
  }
@@ -179,6 +205,8 @@ function assertSafeTarget(destDir, target) {
179
205
  if (rel.startsWith("..") || isAbsolute(rel)) {
180
206
  throw new Error(`Unsafe target "${target}": resolves outside destDir ${destDir}.`);
181
207
  }
208
+ const configError = configTargetError(target, type);
209
+ if (configError) throw new Error(`Unsafe target "${target}": ${configError}.`);
182
210
  }
183
211
  function isInstalledComponentSnippet(item, file) {
184
212
  return item.type === "hyperframes:component" && file.target.toLowerCase().endsWith(".html");
@@ -231,7 +259,7 @@ async function prepareItem(item, options) {
231
259
  const baseUrl = options.baseUrl ?? DEFAULT_REGISTRY_URL;
232
260
  const destDir = resolve(options.destDir);
233
261
  for (const file of item.files) {
234
- assertSafeTarget(destDir, file.target);
262
+ assertSafeTarget(destDir, file.target, item.type);
235
263
  }
236
264
  const root = realProjectRoot(destDir);
237
265
  validatePhysicalTargets(root, item.files);
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-WVRAFHJU.js";
20
20
  import {
21
21
  findFfBinary
22
- } from "./chunk-HYRPH6LL.js";
22
+ } from "./chunk-KRWPTZBY.js";
23
23
  import {
24
24
  COLOR_GRADING_SOURCE_TAGS,
25
25
  COLOR_GROUP_TAG,
@@ -50,7 +50,7 @@ import {
50
50
  isSafeMediaUrl,
51
51
  parseFontShorthand,
52
52
  resolveAliasDisplayName2 as resolveAliasDisplayName
53
- } from "./chunk-IOPIOX5K.js";
53
+ } from "./chunk-N7C7U3ZR.js";
54
54
  import {
55
55
  parseHTML
56
56
  } from "./chunk-GWTIFRF5.js";
@@ -58,6 +58,7 @@ import {
58
58
  Parser
59
59
  } from "./chunk-2RY2LWAA.js";
60
60
  import {
61
+ ancestor,
61
62
  base,
62
63
  recursive,
63
64
  simple
@@ -4907,10 +4908,10 @@ function digitIdsTargetedBySelectors(styles, scripts) {
4907
4908
  return ids;
4908
4909
  }
4909
4910
  function resolvedRuleSelectors(rule) {
4910
- let ancestor = rule.parent;
4911
- while (ancestor && ancestor.type !== "rule") ancestor = ancestor.parent;
4912
- if (!ancestor || ancestor.type !== "rule") return rule.selectors;
4913
- const parentSelectors = resolvedRuleSelectors(ancestor);
4911
+ let ancestor2 = rule.parent;
4912
+ while (ancestor2 && ancestor2.type !== "rule") ancestor2 = ancestor2.parent;
4913
+ if (!ancestor2 || ancestor2.type !== "rule") return rule.selectors;
4914
+ const parentSelectors = resolvedRuleSelectors(ancestor2);
4914
4915
  return parentSelectors.flatMap(
4915
4916
  (parentSelector) => rule.selectors.map((childSelector) => {
4916
4917
  const nestingToken = /(^|[\s>+~,(])&/g;
@@ -6716,6 +6717,38 @@ function gsapCallOffset(script, method) {
6716
6717
  ({ callee }) => callee.type === "MemberExpression" && !callee.computed && callee.object.type === "Identifier" && callee.object.name === "gsap" && callee.property.type === "Identifier" && callee.property.name === method
6717
6718
  )?.start;
6718
6719
  }
6720
+ var GSAP_ENTRY = /* @__PURE__ */ new Set(["to", "from", "fromTo", "timeline", "set", "registerPlugin"]);
6721
+ var FUNCTION_TYPES = /* @__PURE__ */ new Set([
6722
+ "FunctionDeclaration",
6723
+ "FunctionExpression",
6724
+ "ArrowFunctionExpression"
6725
+ ]);
6726
+ function gsapRunsWhenScriptRuns(script) {
6727
+ let ast;
6728
+ try {
6729
+ ast = parse3(script.content, {
6730
+ ecmaVersion: "latest",
6731
+ sourceType: "script",
6732
+ allowReturnOutsideFunction: true
6733
+ });
6734
+ } catch {
6735
+ return false;
6736
+ }
6737
+ let early = false;
6738
+ ancestor(ast, {
6739
+ CallExpression: (node, _state, ancestors) => {
6740
+ const { callee } = node;
6741
+ if (early || callee.type !== "MemberExpression" || callee.computed || callee.object.type !== "Identifier" || callee.object.name !== "gsap" || callee.property.type !== "Identifier" || !GSAP_ENTRY.has(callee.property.name))
6742
+ return;
6743
+ early = ancestors.every((a, i) => {
6744
+ if (!FUNCTION_TYPES.has(a.type)) return true;
6745
+ const parent = ancestors[i - 1];
6746
+ return parent?.type === "CallExpression" && parent.callee === a;
6747
+ });
6748
+ }
6749
+ });
6750
+ return early;
6751
+ }
6719
6752
  function containingCallOffset(script, tokenOffset) {
6720
6753
  let start;
6721
6754
  for (const call of callsFor(script)) {
@@ -6813,7 +6846,7 @@ function climbsAboveRoot(fileDepth, path) {
6813
6846
  function extractCssSelectors(css) {
6814
6847
  const out = [];
6815
6848
  const noComments = css.replace(/\/\*[\s\S]*?\*\//g, "");
6816
- const ruleHeader = /([^{}]+)\{/g;
6849
+ const ruleHeader = /(?<![^{}])([^{}]+)\{/g;
6817
6850
  let m;
6818
6851
  while ((m = ruleHeader.exec(noComments)) !== null) {
6819
6852
  const header = (m[1] ?? "").trim();
@@ -6838,7 +6871,7 @@ function collectHeavyOverlayHooks(styles) {
6838
6871
  const ids = /* @__PURE__ */ new Set();
6839
6872
  for (const style of styles) {
6840
6873
  const noComments = style.content.replace(/\/\*[\s\S]*?\*\//g, "");
6841
- const ruleWithBody = /([^{}]+)\{([^{}]*)\}/g;
6874
+ const ruleWithBody = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
6842
6875
  let m;
6843
6876
  while ((m = ruleWithBody.exec(noComments)) !== null) {
6844
6877
  const header = (m[1] ?? "").trim();
@@ -7072,7 +7105,7 @@ function canvasZoomInRule(header, body, matchesCanvas) {
7072
7105
  function stylesheetCanvasZoomHits(styles, matchesCanvas) {
7073
7106
  const hits = [];
7074
7107
  for (const style of styles) {
7075
- const ruleWithBody = /([^{}]+)\{([^{}]*)\}/g;
7108
+ const ruleWithBody = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
7076
7109
  const content = stripCssComments(style.content);
7077
7110
  const allowNewHits = style.attrs.trim() === "" && !content.includes("@");
7078
7111
  let match;
@@ -7239,7 +7272,7 @@ function stackingContextSelectors(styles) {
7239
7272
  const selectors = /* @__PURE__ */ new Set();
7240
7273
  for (const style of styles) {
7241
7274
  const content = stripCssComments(style.content);
7242
- const rule = /([^{}]+)\{([^{}]*)\}/g;
7275
+ const rule = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
7243
7276
  let match;
7244
7277
  while ((match = rule.exec(content)) !== null) {
7245
7278
  if (!STACKING_CONTEXT_DECLARATION.test(match[2] ?? "")) continue;
@@ -8404,10 +8437,31 @@ function styleLooksFullFrameOverlay(style) {
8404
8437
  const coversFrame = cssZero(readStyleProperty(style, "inset")) || cssZero(readStyleProperty(style, "top")) && cssZero(readStyleProperty(style, "right")) && cssZero(readStyleProperty(style, "bottom")) && cssZero(readStyleProperty(style, "left"));
8405
8438
  return coversFrame && styleHasOpaqueBackground(style);
8406
8439
  }
8440
+ function styleRuleBodies(css) {
8441
+ const out = [];
8442
+ let start = 0;
8443
+ let close = 0;
8444
+ while (start < css.length) {
8445
+ let brace = start;
8446
+ while (brace < css.length && css[brace] !== "{" && css[brace] !== "}") brace++;
8447
+ if (brace === css.length) break;
8448
+ if (css[brace] === "{" && brace > start) {
8449
+ if (close !== -1 && close <= brace) close = css.indexOf("}", brace + 1);
8450
+ if (close === -1) break;
8451
+ if (close > brace + 1) {
8452
+ out.push([css.slice(start, brace), css.slice(brace + 1, close)]);
8453
+ start = close + 1;
8454
+ continue;
8455
+ }
8456
+ }
8457
+ start = brace + 1;
8458
+ }
8459
+ return out;
8460
+ }
8407
8461
  function collectSimpleStyleRules(styles) {
8408
8462
  const rules = /* @__PURE__ */ new Map();
8409
8463
  for (const style of styles) {
8410
- for (const [, selectorList, body] of style.content.matchAll(/([^{}]+)\{([^}]+)\}/g)) {
8464
+ for (const [selectorList, body] of styleRuleBodies(style.content)) {
8411
8465
  if (!selectorList || !body) continue;
8412
8466
  for (const selector of selectorList.split(",")) {
8413
8467
  const token = selector.trim();
@@ -8728,6 +8782,21 @@ function expressionReachesMeasurement(expression, measuring) {
8728
8782
  }
8729
8783
  return false;
8730
8784
  }
8785
+ var LINE_TERMINATOR = /[\n\r\u2028\u2029]/;
8786
+ function matchesTemplateParts(id, parts) {
8787
+ const first = parts[0] ?? "";
8788
+ const last = parts[parts.length - 1] ?? "";
8789
+ if (parts.length === 1) return id === first;
8790
+ if (!id.startsWith(first)) return false;
8791
+ let at = first.length;
8792
+ for (const part of parts.slice(1, -1)) {
8793
+ const found = id.indexOf(part, at);
8794
+ if (found === -1 || LINE_TERMINATOR.test(id.slice(at, found))) return false;
8795
+ at = found + part.length;
8796
+ }
8797
+ const end = id.length - last.length;
8798
+ return end >= at && id.endsWith(last) && !LINE_TERMINATOR.test(id.slice(at, end));
8799
+ }
8731
8800
  function resolveScriptElementTokens(source, tags) {
8732
8801
  const documentIds = tags.map((tag) => readAttr(tag.raw, "id")).filter((id) => id !== null);
8733
8802
  const tokensByVar = /* @__PURE__ */ new Map();
@@ -8747,9 +8816,8 @@ function resolveScriptElementTokens(source, tags) {
8747
8816
  const template = match[2] ?? "";
8748
8817
  const staticParts = template.split(/\$\{[^}]*\}/);
8749
8818
  if (staticParts.every((part) => part === "")) continue;
8750
- const idPattern = new RegExp(`^${staticParts.map(escapeRegExp2).join(".*")}$`);
8751
8819
  for (const id of documentIds) {
8752
- if (idPattern.test(id)) add(match[1] ?? "", `#${id}`);
8820
+ if (matchesTemplateParts(id, staticParts)) add(match[1] ?? "", `#${id}`);
8753
8821
  }
8754
8822
  }
8755
8823
  for (const match of source.matchAll(
@@ -9137,6 +9205,28 @@ ${right.raw}`)
9137
9205
  (m) => isGsapCoreSrc(m[1] ?? "")
9138
9206
  ) || /\/\*!\s*\*\s*GSAP\s+\d/.test(t) || /Missing plugin\? gsap\.registerPlugin\(\)/.test(t) || /\b_gsScope\b/.test(t)
9139
9207
  );
9208
+ if (usesGsap && hasGsapScript && !hasInlineGsap && !canInheritGsapFromHost) {
9209
+ const classic = (s) => {
9210
+ const tag = `<script ${s.attrs}>`;
9211
+ return (readDecodedAttr(tag, "type") ?? "").toLowerCase() !== "module" && readDecodedAttr(tag, "defer") === null && readDecodedAttr(tag, "async") === null;
9212
+ };
9213
+ const firstUse = scripts.find(
9214
+ (s) => !/\bsrc\s*=/.test(s.attrs) && (readDecodedAttr(`<script ${s.attrs}>`, "type") ?? "").toLowerCase() !== "module" && gsapRunsWhenScriptRuns(s)
9215
+ );
9216
+ const firstGsap = scripts.find(
9217
+ (s) => classic(s) && isGsapCoreSrc(readAttr(`<script ${s.attrs}>`, "src") || "")
9218
+ );
9219
+ if (firstUse && (!firstGsap || firstGsap.index > firstUse.index)) {
9220
+ return [
9221
+ {
9222
+ code: "gsap_loaded_after_use",
9223
+ severity: "error",
9224
+ message: "A script calls gsap before the GSAP script has run, so gsap is not there yet and its timeline never registers.",
9225
+ fixHint: "Move the GSAP <script src> above the first script that uses gsap, without defer or async; the <head> is safest."
9226
+ }
9227
+ ];
9228
+ }
9229
+ }
9140
9230
  if (!usesGsap || hasGsapScript || hasInlineGsap || canInheritGsapFromHost) return [];
9141
9231
  return [
9142
9232
  {
@@ -9768,7 +9858,7 @@ ${other.raw}`)
9768
9858
  const tagsByToken = indexTagsByToken(tags);
9769
9859
  const multiDashTokens = /* @__PURE__ */ new Set();
9770
9860
  for (const style of styles) {
9771
- for (const [, selectorList, body] of style.content.matchAll(/([^{}]+)\{([^}]+)\}/g)) {
9861
+ for (const [selectorList, body] of styleRuleBodies(style.content)) {
9772
9862
  if (!selectorList || !body) continue;
9773
9863
  const value = readStyleProperty(body, "stroke-dasharray");
9774
9864
  if (!value || !isMultiComponentDasharray(value)) continue;
@@ -44,16 +44,22 @@ function listStackNames(cwd = process.cwd()) {
44
44
  if (!existsSync(dir)) return [];
45
45
  return readdirSync(dir).filter((f) => f.startsWith(STATE_FILE_PREFIX) && f.endsWith(".json")).map((f) => f.slice(STATE_FILE_PREFIX.length, -".json".length));
46
46
  }
47
+ var sameFileOnCaseInsensitiveDisk = (a, b) => a.toLowerCase() === b.toLowerCase();
47
48
  function requireStack(stackName, cwd = process.cwd()) {
48
49
  const stack = readStackOutputs(stackName, cwd);
50
+ const path = stateFilePath(stackName, cwd);
51
+ const deploy = `Run \`hyperframes lambda deploy${stackName === DEFAULT_STACK_NAME ? "" : ` --stack-name=${stackName}`}\``;
49
52
  if (!stack) {
50
53
  const known = listStackNames(cwd);
51
- let hint = `Run \`hyperframes lambda deploy${stackName === DEFAULT_STACK_NAME ? "" : ` --stack-name=${stackName}`}\` first.`;
52
- if (known.length) {
53
- hint += ` Known stacks here: ${known.join(", ")}.`;
54
- }
54
+ const hint = known.length ? ` Known stacks here: ${known.join(", ")}.` : "";
55
+ console.error(
56
+ `[hyperframes lambda] no stack state for "${stackName}" at ${path}. ${deploy} first.${hint}`
57
+ );
58
+ failCommand();
59
+ }
60
+ if (!sameFileOnCaseInsensitiveDisk(String(stack.stackName), stackName)) {
55
61
  console.error(
56
- `[hyperframes lambda] no stack state for "${stackName}" at ${stateFilePath(stackName, cwd)}. ${hint}`
62
+ `[hyperframes lambda] ${path} names stack "${stack.stackName}", not "${stackName}". ${deploy} to rewrite it.`
57
63
  );
58
64
  failCommand();
59
65
  }
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-OB6DVKHE.js";
23
+ } from "./chunk-KAG5KXNO.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-TFOEA2PM.js");
232
+ const { trackFigmaImport } = await import("./telemetry-HAPPFR7P.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  claimDailyNotice,
9
9
  updateCheckDisabled
10
- } from "./chunk-RLYYA6IR.js";
10
+ } from "./chunk-34S7GYVK.js";
11
11
  import {
12
12
  hostAnswers
13
13
  } from "./chunk-BR2JQQC5.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-CPHQTXP5.js";
22
22
  import {
23
23
  VERSION
24
- } from "./chunk-CP4FVXKZ.js";
24
+ } from "./chunk-LHFBKUVY.js";
25
25
 
26
26
  // src/utils/skillsUpdateCheck.ts
27
27
  import { resolve as resolve2 } from "path";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-HM3PIREE.js";
13
+ } from "./chunk-3367VNGK.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -9,9 +9,10 @@ import {
9
9
  STUDIO_MANUAL_EDITS_PATH
10
10
  } from "./chunk-EVMY7IPL.js";
11
11
  import {
12
+ mkdirWithinProject,
12
13
  realpath,
13
14
  resolveWithinProject
14
- } from "./chunk-OFQWTKPW.js";
15
+ } from "./chunk-HZTRKUKE.js";
15
16
 
16
17
  // ../studio-server/dist/chunk-L3HJVTQE.js
17
18
  var STUDIO_MOTION_PATH = ".hyperframes/studio-motion.json";
@@ -200,13 +201,16 @@ function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
200
201
  applyManifest();
201
202
  }
202
203
 
203
- // ../studio-server/dist/chunk-QF7MFJJU.js
204
- import { basename, dirname, isAbsolute, join, relative, sep } from "path";
205
- import { readdirSync } from "fs";
204
+ // ../studio-server/dist/chunk-I4GXO4GT.js
205
+ import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
206
+ import { lstatSync, readdirSync } from "fs";
206
207
  function resolveWithinProject2(base, relativePath) {
207
208
  const resolved = resolveWithinProject(base, relativePath);
208
209
  return resolved && !isPrivateProjectFile(base, resolved) ? resolved : null;
209
210
  }
211
+ function projectRelativePath(base, file) {
212
+ return relative(resolve(base), resolve(file)).split(sep).join("/");
213
+ }
210
214
  function realFilePath(filePath) {
211
215
  try {
212
216
  return realpath(filePath);
@@ -239,6 +243,22 @@ function pinResolved(base, checked) {
239
243
  const escapes = inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside);
240
244
  return escapes ? null : join(base, inside);
241
245
  }
246
+ function isLinkFreeWithinProject(root, dir) {
247
+ const inside = relative(resolve(root), resolve(dir));
248
+ if (inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside)) return false;
249
+ let path = resolve(root);
250
+ for (const part of inside.split(sep).filter(Boolean)) {
251
+ path = join(path, part);
252
+ const stat = lstatSync(path, { throwIfNoEntry: false });
253
+ if (stat?.isSymbolicLink()) return false;
254
+ if (!stat?.isDirectory()) return true;
255
+ }
256
+ return true;
257
+ }
258
+ function mkdirOwnedWithinProject(root, dir) {
259
+ if (!isLinkFreeWithinProject(root, dir)) throw new Error(`A link stands in for a folder: ${dir}`);
260
+ mkdirWithinProject(root, dir);
261
+ }
242
262
  var IGNORE_DIRS = /* @__PURE__ */ new Set([
243
263
  ".thumbnails",
244
264
  ".transcode-cache",
@@ -281,11 +301,14 @@ export {
281
301
  STUDIO_MOTION_PATH,
282
302
  createStudioMotionRenderBodyScript,
283
303
  resolveWithinProject2 as resolveWithinProject,
304
+ projectRelativePath,
284
305
  realFilePath,
285
306
  isPrivateProjectPath,
286
307
  isPrivateProjectFile,
287
308
  pinWithinProject,
288
309
  pinProjectRecord,
310
+ isLinkFreeWithinProject,
311
+ mkdirOwnedWithinProject,
289
312
  isInHiddenOrVendorDir,
290
313
  walkDir
291
314
  };
@@ -8,13 +8,13 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-R5U5PFDJ.js";
11
+ } from "./chunk-EJPWGGPK.js";
12
12
  import {
13
13
  renameWithRetry
14
- } from "./chunk-IEXRKKHC.js";
14
+ } from "./chunk-IEEIPTDW.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-HM3PIREE.js";
17
+ } from "./chunk-3367VNGK.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-OJSOH2LS.js";
10
+ } from "./chunk-2W4VQ3YZ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-5BIMSULZ.js";
13
+ } from "./chunk-PVSRPNIV.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-JCNPHRGX.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-W2ZTDOLV.js"),
87
- import("./ffmpeg-XDAITYSU.js")
87
+ import("./ffmpeg-XWPYYYB6.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -5,9 +5,10 @@ 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
  import {
8
+ mkdirOwnedWithinProject,
8
9
  pinProjectRecord,
9
10
  realFilePath
10
- } from "./chunk-ALVXFXUG.js";
11
+ } from "./chunk-WXOOAAT4.js";
11
12
  import {
12
13
  isProjectIgnoredDir
13
14
  } from "./chunk-EVMY7IPL.js";
@@ -18,16 +19,15 @@ import {
18
19
  renameWithRetry,
19
20
  renameWithRetryAsync,
20
21
  replaceFileAtomically
21
- } from "./chunk-IEXRKKHC.js";
22
+ } from "./chunk-IEEIPTDW.js";
22
23
  import {
23
- isSafePath,
24
- mkdirWithinProject
25
- } from "./chunk-OFQWTKPW.js";
24
+ isSafePath
25
+ } from "./chunk-HZTRKUKE.js";
26
26
  import {
27
27
  hyperframesCacheDir
28
28
  } from "./chunk-JOQR4AP6.js";
29
29
 
30
- // ../studio-server/dist/chunk-U6UA4KU3.js
30
+ // ../studio-server/dist/chunk-THGUY655.js
31
31
  import { randomUUID as randomUUID7 } from "crypto";
32
32
  import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
33
33
  import {
@@ -71,12 +71,12 @@ import { pipeline } from "stream/promises";
71
71
  import { resolve as resolve3 } from "path";
72
72
  import { extname as extname2 } from "path";
73
73
  import { randomUUID as randomUUID5 } from "crypto";
74
- import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
74
+ import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync, statSync as statSync3, writeFileSync as writeFileSync2 } from "fs";
75
75
  import { lstat as lstat2, readdir as readdir3, rm as rm2 } from "fs/promises";
76
76
  import { tmpdir } from "os";
77
77
  import { dirname as dirname2, join as join4 } from "path";
78
78
  import { randomUUID as randomUUID4 } from "crypto";
79
- import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, utimesSync, writeFileSync as writeFileSync2 } from "fs";
79
+ import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, utimesSync } from "fs";
80
80
  import { basename, join as join3, resolve as resolve4 } from "path";
81
81
  import { createHash as createHash5, randomUUID as randomUUID6 } from "crypto";
82
82
  import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync2, statSync as statSync4 } from "fs";
@@ -104,7 +104,7 @@ import {
104
104
  rmSync as rmSync2,
105
105
  ftruncateSync,
106
106
  writeSync,
107
- writeFileSync as writeFileSync4
107
+ writeFileSync as writeFileSync3
108
108
  } from "fs";
109
109
  import { dirname as dirname3, join as join6, relative as relative4, resolve as resolve6, sep as sep4 } from "path";
110
110
  import { closeSync as closeSync3, constants as constants4, mkdirSync as mkdirSync4, openSync as openSync3, readFileSync as readFileSync9, writeSync as writeSync2 } from "fs";
@@ -982,8 +982,8 @@ function projectHistoryId(projectDir, historyRoot) {
982
982
  );
983
983
  if (!id || existsSync(join3(historyRoot, id)) && !isRecordedFolder(join3(historyRoot, id), folder)) {
984
984
  id = randomUUID4();
985
- mkdirWithinProject(dir, join3(dir, ".hyperframes"));
986
- writeFileSync2(join3(dir, ID_PATH), `${id}
985
+ mkdirOwnedWithinProject(dir, join3(dir, ".hyperframes"));
986
+ replaceFileAtomically(join3(dir, ID_PATH), `${id}
987
987
  `);
988
988
  }
989
989
  recordProject(join3(historyRoot, id), dir, folder);
@@ -1154,7 +1154,7 @@ function pruneGoneProjectHistoriesDaily(historyRoot, now, { onError, budgetMs }
1154
1154
  if (pruning.has(historyRoot) || prunedWithinADay(stamp, now)) return;
1155
1155
  pruning.add(historyRoot);
1156
1156
  setImmediate(() => {
1157
- pruneWithin(historyRoot, { now, onError, budgetMs, measure: false }).then(({ finished }) => finished && writeFileSync3(stamp, String(now))).catch((error) => onError?.(error)).finally(() => pruning.delete(historyRoot));
1157
+ pruneWithin(historyRoot, { now, onError, budgetMs, measure: false }).then(({ finished }) => finished && writeFileSync2(stamp, String(now))).catch((error) => onError?.(error)).finally(() => pruning.delete(historyRoot));
1158
1158
  });
1159
1159
  }
1160
1160
  var kinds = ["checks", "snapshots"];
@@ -1301,7 +1301,7 @@ function ownSnapshotRun(project, path) {
1301
1301
  const marker = join6(path, OWNER);
1302
1302
  const fd = openSync2(marker, "wx");
1303
1303
  try {
1304
- writeFileSync4(fd, JSON.stringify({ version: 1, pid: process.pid }));
1304
+ writeFileSync3(fd, JSON.stringify({ version: 1, pid: process.pid }));
1305
1305
  ownedMarkers.set(marker, fstatSync2(fd));
1306
1306
  } finally {
1307
1307
  closeSync2(fd);
@@ -1481,7 +1481,7 @@ function retainSnapshotOutput(project, path) {
1481
1481
  if (!run) return;
1482
1482
  createSnapshotParents(project, resolve6(path));
1483
1483
  try {
1484
- writeFileSync4(
1484
+ writeFileSync3(
1485
1485
  join6(run, ".user-output"),
1486
1486
  "Explicit --output; retained until manual cleanup.\n",
1487
1487
  { flag: "wx" }
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudio
9
- } from "./chunk-SWC3QIEH.js";
9
+ } from "./chunk-YAS347ZS.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-DFSAC4F4.js";
12
+ } from "./chunk-D6BV6TTI.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-W4OMDRZF.js";
19
+ } from "./chunk-GCJRV7LU.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,7 +24,7 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-O7ZX5DHD.js";
27
+ } from "./chunk-5FFYMVRD.js";
28
28
  import {
29
29
  parseWhisperJson
30
30
  } from "./chunk-CDNVZEGQ.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LLMSX6V6.js";
10
10
  import {
11
11
  readCompositionFps
12
- } from "./chunk-O4Z4D4KA.js";
12
+ } from "./chunk-WTO4DHBH.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-R5U5PFDJ.js";
22
+ } from "./chunk-EJPWGGPK.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-HM3PIREE.js";
27
+ } from "./chunk-3367VNGK.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-ELWX6CAA.js";
34
+ } from "./chunk-YAZQBB2S.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-DJVSNDF3.js";
38
+ } from "./chunk-VB3JZKMN.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-WVRAFHJU.js";
@@ -53,7 +53,7 @@ import {
53
53
  isSubCompositionHost,
54
54
  topLevelElements,
55
55
  trackKindOf
56
- } from "./chunk-IOPIOX5K.js";
56
+ } from "./chunk-N7C7U3ZR.js";
57
57
 
58
58
  // src/timeline/describeProject.ts
59
59
  import { readFileSync, realpathSync, statSync } from "fs";
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-R5U5PFDJ.js";
14
+ } from "./chunk-EJPWGGPK.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";