hyperframes 0.9.32 → 0.9.33

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 (256) hide show
  1. package/dist/{add-HYI4YJC5.js → add-GDXM36YQ.js} +13 -13
  2. package/dist/{agentPromptGenerator-JAQNBEUZ.js → agentPromptGenerator-KPNDH2EI.js} +7 -7
  3. package/dist/{animatedGifPrep-DVYRCZVR.js → animatedGifPrep-SAKETEZ2.js} +7 -7
  4. package/dist/api.js +39 -38
  5. package/dist/{asset-7FG3M3FQ.js → asset-KOJC72AQ.js} +2 -2
  6. package/dist/{assetCataloger-QDQZYHUC.js → assetCataloger-Q4ZFUI6G.js} +8 -8
  7. package/dist/{audio-R6ZG62DU.js → audio-XZBBXKQC.js} +25 -24
  8. package/dist/{auth-IPDYZXOG.js → auth-X45YSZGE.js} +4 -4
  9. package/dist/{autoUpdate-GAEDDZRN.js → autoUpdate-77XWQ564.js} +3 -3
  10. package/dist/{avatars-A45VFUZ4.js → avatars-D3D22TI2.js} +16 -15
  11. package/dist/{backgroundChecks-US74BS6V.js → backgroundChecks-2L2RWFJ3.js} +4 -4
  12. package/dist/backgroundChecksWorker.js +4 -4
  13. package/dist/{batchRender-VBSYVQA7.js → batchRender-O7J47H2Z.js} +3 -3
  14. package/dist/{beats-UPJ3KANG.js → beats-6RVVU56H.js} +11 -11
  15. package/dist/{benchmark-2RWYJGL2.js → benchmark-D5JRNAVQ.js} +10 -10
  16. package/dist/{billing-MD66MJTA.js → billing-WT4DGZII.js} +15 -14
  17. package/dist/{browser-JXCS62NX.js → browser-2OR737P4.js} +7 -7
  18. package/dist/{bundleWithLocalizedFonts-RAD7BNJF.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
  19. package/dist/{capture-DJ4WRP62.js → capture-23X2CK56.js} +44 -24
  20. package/dist/{capture-M6DT5WZT.js → capture-B34FTO6G.js} +3 -3
  21. package/dist/{captureCompositionFrame-IRXG7ZFU.js → captureCompositionFrame-TPZKEVKN.js} +15 -15
  22. package/dist/{catalog-GW45OWKU.js → catalog-ACHSYU5Z.js} +13 -13
  23. package/dist/{catch-up-YKJQ4IYC.js → catch-up-FGANS2BB.js} +8 -8
  24. package/dist/{check-7QTKMPGA.js → check-DXK4L5WP.js} +44 -44
  25. package/dist/{checkAudio-7WHUYGUZ.js → checkAudio-4ISYJED3.js} +15 -15
  26. package/dist/{checkBrowser-USAOWTAF.js → checkBrowser-5ECMULMP.js} +37 -37
  27. package/dist/{chunk-5VN7ZXJR.js → chunk-23354HMA.js} +1 -1
  28. package/dist/{chunk-GCJRV7LU.js → chunk-2I4DQZLQ.js} +1 -1
  29. package/dist/{chunk-WTO4DHBH.js → chunk-2KYLVWLO.js} +1 -1
  30. package/dist/{chunk-3R2X2VKB.js → chunk-2LMCARA5.js} +1 -1
  31. package/dist/{chunk-TVQNABOI.js → chunk-2QTGQGYA.js} +1 -1
  32. package/dist/{chunk-TLUDJLBN.js → chunk-2RBQLV6B.js} +1 -1
  33. package/dist/{chunk-EJPWGGPK.js → chunk-2TBW7UOF.js} +5150 -4985
  34. package/dist/{chunk-P5E3RHW3.js → chunk-3J32XVJ6.js} +1 -1
  35. package/dist/{chunk-LHFBKUVY.js → chunk-45ZQI734.js} +2 -2
  36. package/dist/{chunk-G7NKYELQ.js → chunk-4CHGNFCS.js} +4 -4
  37. package/dist/{chunk-34S7GYVK.js → chunk-4DLYTSWQ.js} +15 -8
  38. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  39. package/dist/{chunk-SXOIG6VG.js → chunk-4US5QCXR.js} +231 -176
  40. package/dist/{chunk-XH6LGDIB.js → chunk-4WZU4FYS.js} +3 -3
  41. package/dist/{chunk-NNOAOQLT.js → chunk-5GYTBKZA.js} +2 -2
  42. package/dist/{chunk-K72X2YXR.js → chunk-5RVPI6QL.js} +4 -4
  43. package/dist/{chunk-M6FNCANA.js → chunk-6QEEF5RR.js} +1 -1
  44. package/dist/{chunk-MYFAVVA6.js → chunk-6RV2QY4K.js} +29 -29
  45. package/dist/{chunk-LXIEKLAC.js → chunk-6ZVUTYNB.js} +5 -5
  46. package/dist/{chunk-JMV63CNH.js → chunk-76KUCQXD.js} +1 -1
  47. package/dist/{chunk-GWSCUFGL.js → chunk-7LTXT7ME.js} +11 -9
  48. package/dist/{chunk-LBQQNNRC.js → chunk-7UUUV4PN.js} +1 -1
  49. package/dist/{chunk-6BI6URO2.js → chunk-A4VXOJZO.js} +4 -3
  50. package/dist/{chunk-2W4VQ3YZ.js → chunk-ADYMQM7T.js} +2 -2
  51. package/dist/{chunk-PXY3JZP2.js → chunk-AIC7T7CC.js} +2 -2
  52. package/dist/{chunk-KG3TONXU.js → chunk-B66UZ2YK.js} +9 -9
  53. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  54. package/dist/{chunk-SIRYW7SY.js → chunk-BBL6STGK.js} +2 -2
  55. package/dist/{chunk-GTHRXU37.js → chunk-C2VZ7UPE.js} +18 -18
  56. package/dist/{chunk-I3QXWJ7V.js → chunk-CDI3CCAU.js} +5 -5
  57. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  58. package/dist/{chunk-4CSZZXL6.js → chunk-CHM3QYLF.js} +3 -3
  59. package/dist/{chunk-VB3JZKMN.js → chunk-CNJLBAKM.js} +29 -8
  60. package/dist/chunk-DDDSTRHU.js +3890 -0
  61. package/dist/{chunk-GJUL3PRV.js → chunk-DGC2RIQE.js} +3 -3
  62. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  63. package/dist/{chunk-HXQDDCGY.js → chunk-DMZER7D5.js} +1 -1
  64. package/dist/{chunk-XPT4GC6X.js → chunk-ERJBWDPM.js} +6 -6
  65. package/dist/{chunk-NXSKZE3C.js → chunk-ETWXZQN5.js} +1 -1
  66. package/dist/{chunk-E5S4QMX7.js → chunk-EX533ULK.js} +1 -1
  67. package/dist/{chunk-3367VNGK.js → chunk-EX7WPDFA.js} +1 -1
  68. package/dist/{chunk-JHX76QFC.js → chunk-FRH3CPW5.js} +1 -1
  69. package/dist/{chunk-EXW2LV4K.js → chunk-G55YEL2L.js} +24 -24
  70. package/dist/{chunk-WLNQAJQC.js → chunk-GHLLC6LJ.js} +2 -2
  71. package/dist/{chunk-SFPIVVUE.js → chunk-HEXTAQYG.js} +1 -1
  72. package/dist/{chunk-ADP2GIBS.js → chunk-HMB3IAVP.js} +1 -1
  73. package/dist/{chunk-Z6X64P6C.js → chunk-HPKW6UVW.js} +6 -6
  74. package/dist/{chunk-BA3EQ2KL.js → chunk-I35B5RWZ.js} +3 -3
  75. package/dist/{chunk-2NMBD5AH.js → chunk-I3PA54IU.js} +1 -1
  76. package/dist/{chunk-AOQRVS63.js → chunk-IYLGUQFR.js} +7 -5
  77. package/dist/chunk-JCJJCYCP.js +392 -0
  78. package/dist/{chunk-G6JLFSII.js → chunk-JSVCF4A6.js} +4 -4
  79. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  80. package/dist/{chunk-YIE5FU73.js → chunk-KIAY63AB.js} +37 -3
  81. package/dist/{chunk-X6DWLN55.js → chunk-L6BFXQ6S.js} +7 -3
  82. package/dist/chunk-M3BJEZ7E.js +152 -0
  83. package/dist/{chunk-M6LAGO6O.js → chunk-MA35E5OY.js} +3 -3
  84. package/dist/{chunk-XB7HE2R5.js → chunk-MDBEAWP2.js} +3 -3
  85. package/dist/{chunk-3HT3UGF2.js → chunk-MDGNQWFN.js} +1 -1
  86. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  87. package/dist/{chunk-5FFYMVRD.js → chunk-MP36L7OJ.js} +1 -1
  88. package/dist/{chunk-YCTWMO3G.js → chunk-MVIUSNPZ.js} +1 -1
  89. package/dist/{chunk-6SNGKC6B.js → chunk-N2C7WJDG.js} +1 -1
  90. package/dist/{chunk-3PHCFSPD.js → chunk-NQFIMBXS.js} +2 -2
  91. package/dist/{chunk-AZ2QJETV.js → chunk-O2T6ZTLN.js} +1 -1
  92. package/dist/{chunk-2T7EDEKE.js → chunk-O5CNNVRY.js} +7 -7
  93. package/dist/{chunk-5GXMZIQZ.js → chunk-OD7PLYYX.js} +7 -7
  94. package/dist/{chunk-TZH6HNZH.js → chunk-PNP2BO3U.js} +1 -1
  95. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  96. package/dist/{chunk-P7TCIUP2.js → chunk-QWM3NY2E.js} +3 -3
  97. package/dist/{chunk-Y3YHDU7T.js → chunk-R45WFVRA.js} +1 -1
  98. package/dist/{chunk-UWMOMAYI.js → chunk-RCB4SGTB.js} +2 -2
  99. package/dist/{chunk-W3HNLDK6.js → chunk-RGYOCAHC.js} +2 -2
  100. package/dist/{chunk-CMYUPVMI.js → chunk-ROXILOZ6.js} +2 -2
  101. package/dist/{chunk-EBG5RCPM.js → chunk-SIGASWB7.js} +4 -4
  102. package/dist/{chunk-KFXHBP2E.js → chunk-SOAQ3XXB.js} +1 -1
  103. package/dist/{chunk-LJMTEZOP.js → chunk-SUXEL7G4.js} +15 -15
  104. package/dist/{chunk-6MTSP2XE.js → chunk-SWPI27QV.js} +7 -7
  105. package/dist/{chunk-RCRUWNQ4.js → chunk-T3GSTIBS.js} +2 -2
  106. package/dist/{chunk-L72MPEM2.js → chunk-U77L3ZQZ.js} +1 -1
  107. package/dist/{chunk-6NNLDCX4.js → chunk-UE2WSWNA.js} +1 -1
  108. package/dist/{chunk-YMIEJZB6.js → chunk-VKZSAAXZ.js} +2 -2
  109. package/dist/chunk-VQJLTYEK.js +453 -0
  110. package/dist/{chunk-TTSLKH63.js → chunk-VZQXHYEI.js} +2 -2
  111. package/dist/{chunk-D7NNNL2K.js → chunk-W2FSQBUR.js} +17 -17
  112. package/dist/{chunk-AWT5FHTN.js → chunk-W5PW26KE.js} +1 -1
  113. package/dist/{chunk-KXOKZJBZ.js → chunk-WIMVXPYG.js} +12 -12
  114. package/dist/{chunk-KAG5KXNO.js → chunk-WYPRTHXQ.js} +1 -1
  115. package/dist/{chunk-YAZQBB2S.js → chunk-XDDBSGBD.js} +1 -1
  116. package/dist/{chunk-6RFCS4IU.js → chunk-XFXCI4IP.js} +7 -5
  117. package/dist/{chunk-2Z42EUHG.js → chunk-XQWWFIBR.js} +1 -1
  118. package/dist/{chunk-H7AJLEBR.js → chunk-XSHJ37U3.js} +3 -3
  119. package/dist/{chunk-HWMNSWEA.js → chunk-XUDJ5XSQ.js} +2 -2
  120. package/dist/{chunk-D6BV6TTI.js → chunk-XVVPEWNX.js} +1 -1
  121. package/dist/chunk-Y5DOT5NQ.js +57 -0
  122. package/dist/{chunk-HDCVU64B.js → chunk-YDG3OXH3.js} +3 -2
  123. package/dist/{chunk-H4C3P2KV.js → chunk-YNFHZ4RI.js} +2 -2
  124. package/dist/{chunk-PVSRPNIV.js → chunk-YSHUIQ3I.js} +2 -2
  125. package/dist/chunk-YTUPQTXA.js +560 -0
  126. package/dist/{chunk-262ADJJN.js → chunk-ZOAANTVI.js} +1 -1
  127. package/dist/{clean-MJBET4EN.js → clean-3IN64RHM.js} +21 -21
  128. package/dist/cli.js +68 -66
  129. package/dist/{cloud-WEDQYHZE.js → cloud-LBUZBUP6.js} +4 -4
  130. package/dist/{cloud-Z4Q76MLS.js → cloud-SVYXHFEG.js} +6 -5
  131. package/dist/{cloudrun-2KGSRAKA.js → cloudrun-PZOF2QGL.js} +5 -5
  132. package/dist/{compare-MJKWQOD7.js → compare-UOJ3LXQQ.js} +35 -35
  133. package/dist/{compiler-ETXRTUQC.js → compiler-5ZDHBKBQ.js} +6 -4
  134. package/dist/{component-PZGKEJ6L.js → component-EVIPLTTJ.js} +3 -3
  135. package/dist/{compositions-N3FEEWH7.js → compositions-R4GG5FBO.js} +13 -13
  136. package/dist/contract/LICENSE-Unicode.txt +39 -0
  137. package/dist/contract/path-policy.json +311 -0
  138. package/dist/contract/unicode-15.1.0.json +6179 -0
  139. package/dist/{curve-MWABBM7Q.js → curve-LR3PSRW3.js} +12 -12
  140. package/dist/{cuts-BQFSSNY7.js → cuts-DHCOBAFT.js} +13 -13
  141. package/dist/{delete-HPHGJABK.js → delete-MMGGU3QP.js} +9 -8
  142. package/dist/{deploy-JY2QOB5F.js → deploy-SKIGUTM2.js} +7 -7
  143. package/dist/{describeProject-S6AGYZWL.js → describeProject-L7HNTBPV.js} +8 -8
  144. package/dist/{destroy-AZK7J4IR.js → destroy-5HSMMDH7.js} +6 -6
  145. package/dist/{diff-XDNFCAU4.js → diff-KR7VKPYL.js} +40 -39
  146. package/dist/{dist-6EE3Y4M7.js → dist-3MFNUZSN.js} +2 -2
  147. package/dist/{dist-EYEYDD4F.js → dist-HK3AZNNL.js} +13 -13
  148. package/dist/{dist-TYGDYK56.js → dist-ZGYPFYOH.js} +2 -2
  149. package/dist/{doctor-6IRSMKZD.js → doctor-G7VGNSA5.js} +12 -12
  150. package/dist/{energy-VCJ2FJEF.js → energy-H7EEH6WO.js} +13 -13
  151. package/dist/{events-QQYBD7JM.js → events-5ATZCZTK.js} +4 -4
  152. package/dist/{events-DNTIMCUM.js → events-ASG27IXP.js} +15 -15
  153. package/dist/{events-M6A7BT3V.js → events-YD6N7OPQ.js} +7 -7
  154. package/dist/execute-OAS454OB.js +109 -0
  155. package/dist/{extract-X3IVXYHX.js → extract-645SENLA.js} +16 -16
  156. package/dist/{face-MZHXKBDB.js → face-WRT5XH4I.js} +14 -14
  157. package/dist/{feedback-TAMGYFUO.js → feedback-3LKLR5MV.js} +15 -14
  158. package/dist/{ffmpeg-XWPYYYB6.js → ffmpeg-PXKIZL2X.js} +7 -7
  159. package/dist/{figma-WMD7AR2S.js → figma-RIEVJJBW.js} +3 -3
  160. package/dist/fontLocalizeCli.js +12 -12
  161. package/dist/{frames-OU2UOLBU.js → frames-OTB3J5W3.js} +14 -14
  162. package/dist/{generate-6F6QEFXW.js → generate-IUKCZW2D.js} +27 -26
  163. package/dist/{get-VVDO7DXG.js → get-6WVQ7TBV.js} +9 -8
  164. package/dist/{gpuPolicy-CVNSHXHJ.js → gpuPolicy-HXSVAEU4.js} +7 -7
  165. package/dist/{grade-compare-O6LY2U73.js → grade-compare-TCAYHDEF.js} +37 -37
  166. package/dist/{heifImagePrep-J6TILZTM.js → heifImagePrep-GXIMK4HK.js} +8 -8
  167. package/dist/{help-XLSTTDHR.js → help-RGOL5EJD.js} +2 -1
  168. package/dist/{history-DBCCWBDG.js → history-XKPRGJGS.js} +10 -10
  169. package/dist/hyperframe.manifest.json +1 -1
  170. package/dist/hyperframe.runtime.iife.js +42 -42
  171. package/dist/hyperframes-player.global.js +1 -1
  172. package/dist/{info-E46BWAQ7.js → info-EYBBC42V.js} +15 -15
  173. package/dist/{init-23TG5W7S.js → init-F2FWPSMA.js} +29 -29
  174. package/dist/{ink-6UFSNJRW.js → ink-BWFERAAT.js} +13 -13
  175. package/dist/{inspect-RKI6XACH.js → inspect-74N7L3BW.js} +34 -34
  176. package/dist/{installer-JWPK75BR.js → installer-LOUR7G4R.js} +4 -4
  177. package/dist/{keyframes-J65V5A2G.js → keyframes-WB5PTKFE.js} +13 -11
  178. package/dist/{lambda-RZSXXBJU.js → lambda-JYCNXUKB.js} +12 -12
  179. package/dist/{layout-RJQUOYWB.js → layout-P52EVR24.js} +34 -34
  180. package/dist/{lint-4TUHKKA2.js → lint-SL55KAS2.js} +12 -12
  181. package/dist/{lintProject-R6RTBSCZ.js → lintProject-46WU53VC.js} +2 -2
  182. package/dist/{list-HOD2N4VS.js → list-LN6CQH52.js} +11 -10
  183. package/dist/{localPage-TC4NC3VL.js → localPage-L6OJU3UH.js} +7 -7
  184. package/dist/{login-NTOS3HKD.js → login-WTOAMDID.js} +8 -7
  185. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  186. package/dist/{look-GC63E2I7.js → look-O6ESLJRP.js} +13 -13
  187. package/dist/{manager-FICBET24.js → manager-CMEZWENF.js} +8 -8
  188. package/dist/{measure-WTQCSQ55.js → measure-NEIXU53P.js} +11 -11
  189. package/dist/{media-treatment-KTZ6X2P2.js → media-treatment-6CAQG7MU.js} +15 -15
  190. package/dist/{media-use-K75FDXJ3.js → media-use-IXJFMKU7.js} +9 -7
  191. package/dist/{models-JKOA542M.js → models-TZALWUEY.js} +11 -11
  192. package/dist/{motionShot-A3TYKTQU.js → motionShot-OQYK6G6M.js} +20 -20
  193. package/dist/{normalize-audio-7JUM42YB.js → normalize-audio-43PJLOBY.js} +11 -11
  194. package/dist/oauth-SAVP2YM4.js +40 -0
  195. package/dist/{open-F6GI4TRA.js → open-EOX6QY4M.js} +13 -13
  196. package/dist/{parakeetRunner-6XIAKJLS.js → parakeetRunner-STHAXQAF.js} +13 -13
  197. package/dist/{pipeline-7P7LGGQG.js → pipeline-RRWZHFBQ.js} +10 -10
  198. package/dist/plan-JWUSMF4W.js +88 -0
  199. package/dist/{play-DYOZLKWX.js → play-TUKTST32.js} +25 -25
  200. package/dist/{preflight-VM4HSRBY.js → preflight-L42JKT6F.js} +8 -8
  201. package/dist/{present-IINIEZJC.js → present-Z7HRDXPV.js} +20 -20
  202. package/dist/{preview-NJO2UXWJ.js → preview-HGTIRAV3.js} +23 -23
  203. package/dist/{probe-LQQHFX5Q.js → probe-RXK44FY7.js} +13 -13
  204. package/dist/{producer-LH2SZHJ2.js → producer-KJ2RZDJ3.js} +1 -1
  205. package/dist/{projectConfig-BLACFLUW.js → projectConfig-K36NTJXP.js} +6 -6
  206. package/dist/{publication-NFF2BXIE.js → publication-OZWLT6K6.js} +2 -2
  207. package/dist/{publish-JST5Y4UR.js → publish-CRUTXNYM.js} +84 -24
  208. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  209. package/dist/{remove-background-WUBESLWN.js → remove-background-R37HZPCG.js} +11 -11
  210. package/dist/{render-R4VNR4E2.js → render-EZMKBT7V.js} +45 -44
  211. package/dist/{render-DA4V7CEE.js → render-SU2XTMJL.js} +5 -5
  212. package/dist/{render-4KWUUC5H.js → render-ZHCPCISN.js} +82 -948
  213. package/dist/{render-batch-JMPG4RLT.js → render-batch-YIUOEAAL.js} +5 -5
  214. package/dist/renderSetupWorker.js +2 -2
  215. package/dist/{resolver-PNIFIDIE.js → resolver-DLCKRKQR.js} +4 -4
  216. package/dist/{reverse-4NI7D2C3.js → reverse-4FAVXIER.js} +1 -1
  217. package/dist/{run-FWBIBLYE.js → run-H4GVEJVS.js} +5 -4
  218. package/dist/{screenshotCapture-KOLNFU7W.js → screenshotCapture-CQF5FYVI.js} +9 -9
  219. package/dist/service-XDQOULGD.js +68 -0
  220. package/dist/share-CUCQALE7.js +274 -0
  221. package/dist/{sherpa-W3BMN67E.js → sherpa-WZNRQUVC.js} +12 -12
  222. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  223. package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
  224. package/dist/{skills-KQQVUFGO.js → skills-J52DBZAK.js} +10 -10
  225. package/dist/{skillsUpdateCheck-VY5PS46S.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
  226. package/dist/{snapshot-VIEJQAUB.js → snapshot-ZIRQFDA7.js} +50 -50
  227. package/dist/{src-MQU5F7GJ.js → src-7BGBN6SS.js} +11 -11
  228. package/dist/{src-HHPRCLEW.js → src-C3XYMTF4.js} +6 -6
  229. package/dist/{start-ZBNNVFMU.js → start-QG2XNMYN.js} +25 -24
  230. package/dist/{staticProjectServer-VPGZWJF4.js → staticProjectServer-TWMEFK3T.js} +18 -18
  231. package/dist/{status-RBZJYT7T.js → status-3UPA5WPI.js} +19 -17
  232. package/dist/studio/assets/{codec-Bz1jsLs8.js → codec-qz1-OXLj.js} +1 -1
  233. package/dist/studio/assets/{hyperframes-player-cdH5Sz_t.js → hyperframes-player-2eG1zFX5.js} +1 -1
  234. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  235. package/dist/studio/assets/{index-D1l7izdf.js → index-DDmhnfrS.js} +166 -166
  236. package/dist/studio/assets/{index-DFRbcd5J.js → index-DUveJ_YP.js} +1 -1
  237. package/dist/studio/assets/{pausedVideoDecoder-CgV8YB6S.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
  238. package/dist/studio/index.html +2 -2
  239. package/dist/{studio-api-EPZGLIWW.js → studio-api-Z42OO4JJ.js} +13 -13
  240. package/dist/{studioServer-YFQQ2ESJ.js → studioServer-SMN3RMVL.js} +437 -59
  241. package/dist/{sync-FRT55PVW.js → sync-ONTI2WSI.js} +13 -13
  242. package/dist/{telemetry-HAPPFR7P.js → telemetry-RRXALB5D.js} +7 -7
  243. package/dist/{templates-2IHYIWMA.js → templates-BHFOSD6F.js} +18 -17
  244. package/dist/{timeline-AY2F7BJF.js → timeline-Z5IHY5TN.js} +20 -20
  245. package/dist/{tokens-B3G257V3.js → tokens-MZVEPARM.js} +2 -2
  246. package/dist/{transcribe-RJCILGPA.js → transcribe-5IZS4BGW.js} +29 -28
  247. package/dist/{transcribe-EGQD32PT.js → transcribe-M5N3YZZU.js} +10 -10
  248. package/dist/{update-XTFIGQKW.js → update-EVPWBIKY.js} +11 -11
  249. package/dist/{updateCheck-M6YC52A4.js → updateCheck-2UUEF6TC.js} +5 -3
  250. package/dist/{upgrade-AKLIZKAO.js → upgrade-DK45FD4K.js} +4 -4
  251. package/dist/{urlDownloader-57A7Q7FC.js → urlDownloader-3MPHIDSA.js} +6 -6
  252. package/dist/{validate-YWSXJL54.js → validate-W27TQ367.js} +28 -28
  253. package/dist/{video-I5DDNK3Y.js → video-TI372QGV.js} +8 -8
  254. package/dist/{voices-IBMJU73H.js → voices-FZV4PGT6.js} +24 -23
  255. package/dist/warmCheck.js +44 -44
  256. package/package.json +2 -1
@@ -0,0 +1,392 @@
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
+ formatLintStartupMessage
9
+ } from "./chunk-T6VQGCN3.js";
10
+ import {
11
+ reportVariableIssues,
12
+ resolveVariablesArg,
13
+ validateVariablesAgainstProject
14
+ } from "./chunk-PNP2BO3U.js";
15
+ import {
16
+ applyRenderEnvironment,
17
+ renderOutputDirectory
18
+ } from "./chunk-YTUPQTXA.js";
19
+ import {
20
+ makeOutputFolder
21
+ } from "./chunk-3S27CPV7.js";
22
+ import {
23
+ errorBox,
24
+ formatBytes
25
+ } from "./chunk-LIWK3MFR.js";
26
+ import {
27
+ renderMotionBlurResult,
28
+ trackRenderPreflightRejected
29
+ } from "./chunk-ADYMQM7T.js";
30
+ import {
31
+ c
32
+ } from "./chunk-JCNPHRGX.js";
33
+ import {
34
+ PRORES_PROFILES,
35
+ REFERENCE_BACKGROUND_FIELD,
36
+ referenceBackgroundResult
37
+ } from "./chunk-2TBW7UOF.js";
38
+ import {
39
+ runRenderSetupWorker
40
+ } from "./chunk-X6JUUQCM.js";
41
+ import {
42
+ hasDefinitiveEntryMismatch
43
+ } from "./chunk-Q5X2B5WT.js";
44
+ import {
45
+ lintProject,
46
+ shouldBlockRender
47
+ } from "./chunk-CNJLBAKM.js";
48
+ import {
49
+ CliRuntimeError,
50
+ failCommand,
51
+ setCommandExitCode
52
+ } from "./chunk-66W5IWLO.js";
53
+ import {
54
+ normalizeErrorMessage
55
+ } from "./chunk-E63BDV4Z.js";
56
+
57
+ // src/commands/render/execute.ts
58
+ import { readFileSync } from "fs";
59
+ import { tmpdir } from "os";
60
+
61
+ // src/ui/renderResult.ts
62
+ function renderMachineResult(result, quiet) {
63
+ if (quiet || process.stdout.isTTY || process.env.HYPERFRAMES_STDOUT_IS_TTY === "1") return;
64
+ const hasBackground = REFERENCE_BACKGROUND_FIELD in result;
65
+ if (!hasBackground && !result.motionBlur) return;
66
+ const line = {
67
+ version: 1,
68
+ operation: "render",
69
+ ...hasBackground ? referenceBackgroundResult(result[REFERENCE_BACKGROUND_FIELD]) : {},
70
+ ...result.motionBlur ? { motion_blur: renderMotionBlurResult(result.motionBlur) } : {}
71
+ };
72
+ process.stdout.write(`@hf-result ${JSON.stringify(line)}
73
+ `);
74
+ }
75
+
76
+ // src/commands/render/execute.ts
77
+ function renderLintContinuationHint(strictErrors) {
78
+ return strictErrors ? " Continuing render despite lint warnings. Use --strict-all to block warnings." : " Continuing render despite lint issues. Use --strict to block errors.";
79
+ }
80
+ function renderLintShouldAbort(strictErrors, strictAll, lintResult, definitiveEntryMismatch) {
81
+ return definitiveEntryMismatch || shouldBlockRender(strictErrors, strictAll, lintResult.totalErrors, lintResult.totalWarnings);
82
+ }
83
+ async function executeRenderPlan(plan, dependencies, cancellation) {
84
+ assertRenderActive(cancellation);
85
+ applyRenderEnvironment(plan);
86
+ if (!plan.batchPath) makeOutputFolder(renderOutputDirectory(plan));
87
+ let batchModule;
88
+ let preparedBatch;
89
+ if (plan.batchPath) {
90
+ batchModule = await import("./batchRender-O7J47H2Z.js");
91
+ try {
92
+ preparedBatch = batchModule.prepareBatchRender({
93
+ batchPath: plan.batchPath,
94
+ outputTemplate: plan.batchOutputTemplate,
95
+ indexPath: plan.renderTarget,
96
+ strictVariables: plan.strictVariables,
97
+ quiet: plan.quiet || plan.batchJson,
98
+ json: plan.batchJson
99
+ });
100
+ } catch (error) {
101
+ batchModule.exitBatchRenderInputError(error);
102
+ }
103
+ }
104
+ const variables = plan.batchPath ? void 0 : resolveVariablesArg(plan.variablesArg, plan.variablesFileArg);
105
+ await runRenderLint(plan, lintProject, cancellation?.signal);
106
+ assertRenderActive(cancellation);
107
+ if (!plan.useDocker) await refuseLowDiskBeforeBrowserDownload(plan);
108
+ const browserPath = plan.useDocker ? void 0 : await ensureRenderBrowser(plan, cancellation?.signal);
109
+ assertRenderActive(cancellation);
110
+ await runResolutionPreflight(plan, dependencies.checkResolution);
111
+ assertRenderActive(cancellation);
112
+ const releaseSlot = await dependencies.acquireRenderSlot?.(plan, cancellation?.signal);
113
+ try {
114
+ assertRenderActive(cancellation);
115
+ await executeHeldRender(plan, browserPath, variables, dependencies, cancellation, {
116
+ batchModule,
117
+ preparedBatch
118
+ });
119
+ } finally {
120
+ releaseSlot?.();
121
+ }
122
+ }
123
+ async function executeHeldRender(plan, browserPath, variables, dependencies, cancellation, batch) {
124
+ const { batchModule, preparedBatch } = batch;
125
+ if (plan.batchPath && batchModule && preparedBatch) {
126
+ await executeBatchRender(
127
+ plan,
128
+ browserPath,
129
+ batchModule,
130
+ preparedBatch,
131
+ dependencies,
132
+ cancellation
133
+ );
134
+ return;
135
+ }
136
+ reportSingleRenderNotes(plan, variables);
137
+ const options = renderOptionsFromPlan(plan, browserPath, variables);
138
+ const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
139
+ const result = await execute(plan.project.dir, plan.outputPath, options, cancellation);
140
+ renderMachineResult(result, plan.effectiveQuiet);
141
+ }
142
+ function reportSingleRenderNotes(plan, variables) {
143
+ if (variables && Object.keys(variables).length > 0) {
144
+ const issues = validateVariablesAgainstProject(plan.renderTarget, variables);
145
+ reportVariableIssues(issues, { strict: plan.strictVariables, quiet: plan.effectiveQuiet });
146
+ }
147
+ if (plan.proresProfile && !PRORES_PROFILES[plan.proresProfile].alpha && !plan.effectiveQuiet) {
148
+ console.log(
149
+ c.dim(`ProRes ${plan.proresProfile} has no alpha channel: transparent areas render black.`)
150
+ );
151
+ }
152
+ }
153
+ function renderOptionsFromPlan(plan, browserPath, variables) {
154
+ const options = {
155
+ fps: plan.fps,
156
+ quality: plan.quality,
157
+ authoringSkill: plan.authoringSkill,
158
+ authoringSkillSource: plan.authoringSkillSource,
159
+ authoringSkillInvalid: plan.invalidAuthoringSkill,
160
+ hfEnvOverrides: plan.hfEnvOverrides,
161
+ catalogUsage: plan.catalogUsage,
162
+ format: plan.format,
163
+ gifLoop: plan.gifLoop,
164
+ gifFpsCapped: plan.gifFpsCapped,
165
+ hlsSegmentSeconds: plan.hlsSegmentSeconds,
166
+ workers: plan.workers,
167
+ gpu: plan.useGpu,
168
+ browserGpuMode: plan.browserGpuMode,
169
+ hdrMode: plan.hdrMode,
170
+ crf: plan.crf,
171
+ vp9CpuUsed: plan.vp9CpuUsed,
172
+ videoBitrate: plan.videoBitrate,
173
+ keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
174
+ range: plan.range,
175
+ proresProfile: plan.proresProfile,
176
+ maxBitrate: plan.maxBitrate,
177
+ bufferSize: plan.bufferSize,
178
+ videoFrameFormat: plan.videoFrameFormat,
179
+ chromaSubsampling: plan.chromaSubsampling,
180
+ pageMotionBlur: plan.pageMotionBlur,
181
+ quiet: plan.effectiveQuiet,
182
+ browserPath,
183
+ debug: plan.debug,
184
+ resumeSegments: plan.resumeSegments,
185
+ keepSegments: plan.keepSegments,
186
+ bestEffort: plan.bestEffort,
187
+ variables,
188
+ entryFile: plan.entryFile,
189
+ outputResolution: plan.outputResolution,
190
+ outputResolutionAspectAgnostic: plan.outputResolutionAspectAgnostic,
191
+ outputResolutionRaw: plan.outputResolutionRaw,
192
+ pageNavigationTimeoutMs: plan.pageNavigationTimeoutMs,
193
+ protocolTimeout: plan.protocolTimeout,
194
+ playerReadyTimeout: plan.playerReadyTimeout,
195
+ exitAfterComplete: true,
196
+ manageDeParallelRouterBreaker: true
197
+ };
198
+ if (plan.useDocker) {
199
+ options.pageSideCompositing = plan.pageSideCompositing;
200
+ options.experimentalFastCapture = plan.experimentalFastCapture;
201
+ }
202
+ return options;
203
+ }
204
+ function assertRenderActive(cancellation) {
205
+ cancellation?.checkAncestors();
206
+ cancellation?.signal.throwIfAborted();
207
+ }
208
+ async function refuseLowDiskBeforeBrowserDownload(plan) {
209
+ const { checkDisk } = await import("./preflight-L42JKT6F.js");
210
+ await (await import("./manager-IAXYSRG5.js")).sweepKilledInstalls();
211
+ const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
212
+ const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
213
+ if (low.length === 0) return;
214
+ for (const check of low) errorBox(check.title ?? "Low disk space", check.detail, check.hint);
215
+ failCommand();
216
+ }
217
+ async function ensureRenderBrowser(plan, signal) {
218
+ const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
219
+ let browserSpinner;
220
+ try {
221
+ if (plan.effectiveQuiet) {
222
+ return (await ensureBrowser({ preferManagedChrome: true, signal })).executablePath;
223
+ }
224
+ const clack = await import("./prompts-7VQEH645.js");
225
+ browserSpinner = clack.spinner();
226
+ browserSpinner.start("Checking browser...");
227
+ const info = await ensureBrowser({
228
+ preferManagedChrome: true,
229
+ signal,
230
+ onProgress: (downloaded, total) => {
231
+ if (total <= 0) return;
232
+ const pct = Math.floor(downloaded / total * 100);
233
+ browserSpinner?.message(
234
+ `Downloading Chrome... ${c.progress(pct + "%")} ${c.dim("(" + formatBytes(downloaded) + " / " + formatBytes(total) + ")")}`
235
+ );
236
+ }
237
+ });
238
+ browserSpinner.stop(c.dim(`Browser: ${info.source}`));
239
+ return info.executablePath;
240
+ } catch (error) {
241
+ browserSpinner?.stop(c.error("Browser not available"));
242
+ if (signal?.aborted) signal.throwIfAborted();
243
+ errorBox(
244
+ "Chrome not found",
245
+ normalizeErrorMessage(error),
246
+ "Run: npx hyperframes browser ensure"
247
+ );
248
+ failCommand();
249
+ }
250
+ }
251
+ async function runRenderLint(plan, runLint = lintProject, signal) {
252
+ const explicitEntry = plan.entryFile ? plan.renderTarget : void 0;
253
+ const lintResult = signal && runLint === lintProject ? await runRenderLintInOwnedProcess(plan.project.dir, explicitEntry, signal) : await runLint(plan.project.dir, explicitEntry);
254
+ if (lintResult.totalErrors === 0 && lintResult.totalWarnings === 0) return;
255
+ const definitiveEntryMismatch = hasDefinitiveEntryMismatch(lintResult);
256
+ const willAbort = renderLintShouldAbort(
257
+ plan.strictErrors,
258
+ plan.strictAll,
259
+ lintResult,
260
+ definitiveEntryMismatch
261
+ );
262
+ presentRenderLintFindings(lintResult, plan.effectiveQuiet, plan.lintVerbose || willAbort);
263
+ if (willAbort) {
264
+ const message = presentRenderLintAbort(lintResult, definitiveEntryMismatch);
265
+ throw new CliRuntimeError(message, { presented: true });
266
+ }
267
+ presentRenderLintContinuation(plan);
268
+ }
269
+ async function runRenderLintInOwnedProcess(projectDir, entryFile, signal) {
270
+ return runRenderSetupWorker(
271
+ "lint",
272
+ { projectDir, entryFile },
273
+ {
274
+ signal,
275
+ maxBufferBytes: 8 * 1024 * 1024
276
+ }
277
+ );
278
+ }
279
+ function presentRenderLintFindings(lintResult, quiet, lintVerbose) {
280
+ if (quiet) return;
281
+ console.log("");
282
+ for (const line of formatLintStartupMessage(
283
+ lintResult,
284
+ lintVerbose ? { kind: "verbose", options: { errorsFirst: true } } : { kind: "summary" }
285
+ ))
286
+ console.log(line);
287
+ }
288
+ function presentRenderLintAbort(lintResult, definitiveEntryMismatch) {
289
+ const counts = `${lintResult.totalErrors} error(s), ${lintResult.totalWarnings} warning(s)`;
290
+ const findings = lintResult.results.flatMap((entry) => entry.result.findings);
291
+ const first = findings.find((finding) => finding.severity === "error") ?? findings[0];
292
+ const message = definitiveEntryMismatch ? "Cannot render: the default index.html entry is blank." : `Cannot render: ${counts}. ${first ? `${first.code}: ${first.message}` : "Fix the project lint issues."} Run hyperframes lint for details.`;
293
+ errorBox(message);
294
+ return message;
295
+ }
296
+ function presentRenderLintContinuation(plan) {
297
+ if (plan.effectiveQuiet) return;
298
+ console.log(c.dim(renderLintContinuationHint(plan.strictErrors)));
299
+ console.log("");
300
+ }
301
+ async function runResolutionPreflight(plan, checkResolution) {
302
+ if (!plan.outputResolution) return;
303
+ let issue;
304
+ try {
305
+ issue = await checkResolution(readFileSync(plan.renderTarget, "utf8"), plan.outputResolution, {
306
+ alphaRequested: plan.format === "webm" || plan.format === "mov" || plan.format === "png-sequence",
307
+ hdrRequested: plan.hdrMode === "force-hdr",
308
+ aspectAgnostic: plan.outputResolutionAspectAgnostic
309
+ });
310
+ } catch {
311
+ }
312
+ if (!issue) return;
313
+ trackRenderPreflightRejected({ kind: issue.kind });
314
+ errorBox("Output resolution incompatible", issue.message);
315
+ failCommand();
316
+ }
317
+ function batchRowRenderOptions(plan, browserPath) {
318
+ const batchQuiet = plan.quiet || plan.batchJson;
319
+ return {
320
+ fps: plan.fps,
321
+ quality: plan.quality,
322
+ authoringSkill: plan.authoringSkill,
323
+ authoringSkillSource: plan.authoringSkillSource,
324
+ authoringSkillInvalid: plan.invalidAuthoringSkill,
325
+ hfEnvOverrides: plan.hfEnvOverrides,
326
+ catalogUsage: plan.catalogUsage,
327
+ format: plan.format,
328
+ gifLoop: plan.gifLoop,
329
+ gifFpsCapped: plan.gifFpsCapped,
330
+ hlsSegmentSeconds: plan.hlsSegmentSeconds,
331
+ workers: plan.workers,
332
+ gpu: plan.useGpu,
333
+ browserGpuMode: plan.browserGpuMode,
334
+ hdrMode: plan.hdrMode,
335
+ crf: plan.crf,
336
+ vp9CpuUsed: plan.vp9CpuUsed,
337
+ videoBitrate: plan.videoBitrate,
338
+ keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
339
+ range: plan.range,
340
+ proresProfile: plan.proresProfile,
341
+ maxBitrate: plan.maxBitrate,
342
+ bufferSize: plan.bufferSize,
343
+ videoFrameFormat: plan.videoFrameFormat,
344
+ chromaSubsampling: plan.chromaSubsampling,
345
+ pageMotionBlur: plan.pageMotionBlur,
346
+ quiet: batchQuiet,
347
+ browserPath,
348
+ entryFile: plan.entryFile,
349
+ outputResolution: plan.outputResolution,
350
+ outputResolutionAspectAgnostic: plan.outputResolutionAspectAgnostic,
351
+ outputResolutionRaw: plan.outputResolutionRaw,
352
+ pageNavigationTimeoutMs: plan.pageNavigationTimeoutMs,
353
+ protocolTimeout: plan.protocolTimeout,
354
+ playerReadyTimeout: plan.playerReadyTimeout,
355
+ debug: plan.debug,
356
+ resumeSegments: plan.resumeSegments,
357
+ keepSegments: plan.keepSegments,
358
+ bestEffort: plan.bestEffort,
359
+ exitAfterComplete: false,
360
+ throwOnError: true,
361
+ skipFeedback: true,
362
+ desktopHint: false,
363
+ manageDeParallelRouterBreaker: plan.batchConcurrency <= 1
364
+ };
365
+ }
366
+ async function executeBatchRender(plan, browserPath, batchModule, preparedBatch, dependencies, cancellation) {
367
+ const batchQuiet = plan.quiet || plan.batchJson;
368
+ const renderOptionsBase = batchRowRenderOptions(plan, browserPath);
369
+ const manifest = await batchModule.runBatchRender({
370
+ prepared: preparedBatch,
371
+ concurrency: plan.batchConcurrency,
372
+ failFast: plan.batchFailFast,
373
+ quiet: batchQuiet,
374
+ json: plan.batchJson,
375
+ renderOne: (row) => {
376
+ assertRenderActive(cancellation);
377
+ const options = { ...renderOptionsBase, variables: row.variables };
378
+ if (plan.useDocker) options.pageSideCompositing = plan.pageSideCompositing;
379
+ const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
380
+ return execute(plan.project.dir, row.outputPath, options, cancellation);
381
+ }
382
+ });
383
+ if (manifest.failed > 0) setCommandExitCode(1);
384
+ }
385
+
386
+ export {
387
+ renderLintContinuationHint,
388
+ executeRenderPlan,
389
+ renderOptionsFromPlan,
390
+ runRenderLint,
391
+ batchRowRenderOptions
392
+ };
@@ -4,17 +4,17 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- bundledGsapFor
9
- } from "./chunk-TVQNABOI.js";
10
7
  import {
11
8
  isDegradableEvaluateTimeoutError,
12
9
  isNavigationTimeoutError,
13
10
  withRemainingBudget
14
11
  } from "./chunk-YGGZ23BB.js";
12
+ import {
13
+ bundledGsapFor
14
+ } from "./chunk-2QTGQGYA.js";
15
15
  import {
16
16
  gsapCdnDist
17
- } from "./chunk-3367VNGK.js";
17
+ } from "./chunk-EX7WPDFA.js";
18
18
 
19
19
  // src/capture/navigateForCapture.ts
20
20
  var NETWORK_IDLE_ATTEMPT_MS = 3e4;
@@ -10,7 +10,7 @@ import {
10
10
 
11
11
  // ../parsers/dist/assetResolution.js
12
12
  import { closeSync, constants, existsSync, fstatSync, openSync, readFileSync } from "fs";
13
- import { isAbsolute as isAbsolute2, join as join2, posix as posix2, relative as relative2, resolve as resolve3, sep } from "path";
13
+ import { isAbsolute as isAbsolute2, join as join2, parse, posix as posix2, relative as relative2, resolve as resolve3, sep } from "path";
14
14
  import { fileURLToPath } from "url";
15
15
  import { posix } from "path";
16
16
  function readAttributeValue(html, at) {
@@ -120,6 +120,9 @@ function splitUrlSuffix(urlValue) {
120
120
  if (hashIdx >= 0) cutIdx = Math.min(cutIdx, hashIdx);
121
121
  return { basePath: urlValue.slice(0, cutIdx), suffix: urlValue.slice(cutIdx) };
122
122
  }
123
+ function decodedUrlPath(url) {
124
+ return decodeWellFormedEscapes(splitUrlSuffix(url).basePath);
125
+ }
123
126
  function encodeUrlPath(path) {
124
127
  return encodeURIComponent(path).replace(/%2F/g, "/").replace(/['()]/g, (char) => `%${char.charCodeAt(0).toString(16).toUpperCase()}`);
125
128
  }
@@ -193,12 +196,34 @@ function resolveLocalAssetCandidates(projectDir, url) {
193
196
  }
194
197
  const normalized = posix2.normalize(projectRelative.replace(/\\/g, "/"));
195
198
  const clamped = normalized.replace(/^(\.\.\/)+/, "");
196
- if (clamped && !clamped.startsWith("..")) {
197
- addCandidate(candidates, resolve3(projectRoot, clamped));
198
- }
199
+ if (!clamped || clamped.startsWith("..")) continue;
200
+ const reanchored = resolve3(projectRoot, clamped);
201
+ if (isWithinProjectRoot(projectRoot, reanchored)) addCandidate(candidates, reanchored);
199
202
  }
200
203
  return candidates;
201
204
  }
205
+ function namesAnotherNetworkRoot(base, target) {
206
+ const root = parse(resolve3(target)).root;
207
+ return /^[\\/]{2}/.test(root) && root.toLowerCase() !== parse(resolve3(base)).root.toLowerCase();
208
+ }
209
+ var LEADING_PARENT_SEGMENT = /^\.\.(?:[\\/]|$)/;
210
+ function staysInsideProject(projectDir, path) {
211
+ const relativePath = relative2(resolve3(projectDir), path);
212
+ return !LEADING_PARENT_SEGMENT.test(relativePath) && !isAbsolute2(relativePath);
213
+ }
214
+ function resolveCompositionSrc(projectDir, src) {
215
+ const rooted = (value) => resolve3(projectDir, value.replace(/^(?:\.?[\\/])+/, ""));
216
+ const decoded = rooted(decodedUrlPath(src));
217
+ if (!staysInsideProject(projectDir, decoded)) return null;
218
+ const raw = rooted(src);
219
+ return !existsSync(decoded) && staysInsideProject(projectDir, raw) && existsSync(raw) ? raw : decoded;
220
+ }
221
+ function localAbsoluteAssetFile(projectDir, src) {
222
+ const path = cleanAssetUrl(src);
223
+ if (isNonRelativeUrl(path) || !isAbsolute2(path)) return null;
224
+ const file = resolve3(projectDir, path);
225
+ return !namesAnotherNetworkRoot(projectDir, file) && existsSync(file) ? file : null;
226
+ }
202
227
  function resolveExistingLocalAsset(projectDir, url) {
203
228
  const projectRoot = resolve3(projectDir);
204
229
  const resolved = resolveLocalAssetCandidates(projectRoot, url).find(existsSync);
@@ -209,7 +234,7 @@ function resolveAuthoredAssetFile(projectDir, compositionFile, src) {
209
234
  const cleanSrc = cleanAssetUrl(src.trim());
210
235
  if (!cleanSrc) return null;
211
236
  const rootRelative = cleanSrc.startsWith("/") ? cleanSrc : rewriteAssetPath(compositionFile, cleanSrc, (path) => existsSync(join2(projectDir, path)));
212
- return resolveExistingLocalAsset(projectDir, rootRelative)?.resolved ?? null;
237
+ return resolveExistingLocalAsset(projectDir, rootRelative)?.resolved ?? localAbsoluteAssetFile(projectDir, cleanSrc);
213
238
  }
214
239
  function reanchoredCandidates(variant, baseDir, compiledDir) {
215
240
  const baseAbs = resolve3(baseDir);
@@ -300,6 +325,9 @@ export {
300
325
  cleanAssetUrl,
301
326
  isWithinProjectRoot,
302
327
  resolveLocalAssetCandidates,
328
+ namesAnotherNetworkRoot,
329
+ resolveCompositionSrc,
330
+ localAbsoluteAssetFile,
303
331
  resolveExistingLocalAsset,
304
332
  resolveAuthoredAssetFile,
305
333
  resolveProjectRelativeSrc,
@@ -59,7 +59,7 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-YAZQBB2S.js";
62
+ } from "./chunk-XDDBSGBD.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
@@ -70,10 +70,10 @@ import {
70
70
  import {
71
71
  linkedSources,
72
72
  lintHyperframeHtml
73
- } from "./chunk-VB3JZKMN.js";
73
+ } from "./chunk-CNJLBAKM.js";
74
74
  import {
75
75
  readTextFile
76
- } from "./chunk-WVRAFHJU.js";
76
+ } from "./chunk-K2Z6OXEI.js";
77
77
  import {
78
78
  CSS_URL_RE,
79
79
  checkSubCompositionUsability,
@@ -90,6 +90,9 @@ import {
90
90
  rewriteSrcsetUrls,
91
91
  splitUrlSuffix
92
92
  } from "./chunk-6MKM2RVL.js";
93
+ import {
94
+ isSafeMediaUrl
95
+ } from "./chunk-N7C7U3ZR.js";
93
96
  import {
94
97
  parseHTML
95
98
  } from "./chunk-GWTIFRF5.js";
@@ -326,9 +329,39 @@ function markFlattenedInnerRoot(prepared) {
326
329
  }
327
330
 
328
331
  // ../core/dist/runtime/applyVariableBindings.js
332
+ var VAR_SRC_TAGS = /* @__PURE__ */ new Set(["img", "video", "audio", "source"]);
333
+ function resolveUrl(value) {
334
+ if (typeof value === "string" && value.length > 0)
335
+ return value;
336
+ if (value !== null && typeof value === "object") {
337
+ const url = value.url;
338
+ if (typeof url === "string" && url.length > 0)
339
+ return url;
340
+ }
341
+ return null;
342
+ }
329
343
  function sanitizeCssValue(value) {
330
344
  return value.replace(/[;{}<>\r\n]/g, "");
331
345
  }
346
+ function boundMediaSrc(el, values, warn = true) {
347
+ const id = el.getAttribute("data-var-src")?.trim();
348
+ if (!id)
349
+ return null;
350
+ if (!VAR_SRC_TAGS.has(el.tagName.toLowerCase())) {
351
+ if (warn)
352
+ console.warn(`[hyperframes] Ignoring data-var-src on <${el.tagName.toLowerCase()}>: variable-bound src is only allowed on ${Array.from(VAR_SRC_TAGS).join("/")}.`);
353
+ return null;
354
+ }
355
+ const url = resolveUrl(values[id]);
356
+ if (url === null)
357
+ return null;
358
+ if (!isSafeMediaUrl(url)) {
359
+ if (warn)
360
+ console.warn(`[hyperframes] Ignoring data-var-src="${id}": unsafe URL protocol.`);
361
+ return null;
362
+ }
363
+ return url;
364
+ }
332
365
 
333
366
  // ../core/dist/compiler/htmlBundler.js
334
367
  import { AsyncLocalStorage } from "async_hooks";
@@ -2847,6 +2880,7 @@ export {
2847
2880
  ensureExternalScriptTag,
2848
2881
  emitMountedModuleScripts,
2849
2882
  FLATTENED_INNER_ROOT_STRIP_ATTRS,
2883
+ boundMediaSrc,
2850
2884
  extractStandaloneEntryFromIndex,
2851
2885
  validateHyperframeHtmlContract,
2852
2886
  ensureExternalLinkTag,
@@ -8,13 +8,16 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-EJPWGGPK.js";
11
+ } from "./chunk-2TBW7UOF.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-IEEIPTDW.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-3367VNGK.js";
17
+ } from "./chunk-EX7WPDFA.js";
18
+ import {
19
+ namesAnotherNetworkRoot
20
+ } from "./chunk-K2Z6OXEI.js";
18
21
  import {
19
22
  parseHTML
20
23
  } from "./chunk-GWTIFRF5.js";
@@ -82,9 +85,10 @@ function resolveLocalImageSourcePath(src, options) {
82
85
  const mapped = options.sourceAssets?.get(trimmed) ?? options.sourceAssets?.get(basePath) ?? options.sourceAssets?.get(normalizedBase);
83
86
  if (mapped && existsSync(mapped)) return mapped;
84
87
  if (isHttpUrl(trimmed)) return null;
88
+ const protocolRelativeUrlOnShare = basePath.startsWith("/") && namesAnotherNetworkRoot(options.projectDir, basePath);
85
89
  const projectRelative = basePath.startsWith("/") ? basePath.slice(1) : basePath;
86
90
  const candidates = [
87
- isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative),
91
+ ...protocolRelativeUrlOnShare ? [] : [isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative)],
88
92
  resolve(options.downloadDir, normalizedBase)
89
93
  ];
90
94
  return candidates.find((candidate) => existsSync(candidate)) ?? null;