hyperframes 0.9.64 → 0.9.66

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 (336) hide show
  1. package/dist/{add-VFWLLECU.js → add-Q4W2PAZ6.js} +22 -21
  2. package/dist/{agentPromptGenerator-FEZHETMZ.js → agentPromptGenerator-BZ77OPI4.js} +14 -13
  3. package/dist/{animatedGifPrep-JZPLKKB6.js → animatedGifPrep-3UBRNEEA.js} +15 -14
  4. package/dist/api.js +56 -53
  5. package/dist/{appHistory-AMDQO54F.js → appHistory-EWII7S5X.js} +4 -4
  6. package/dist/{asset-W6CMIIDB.js → asset-ZRTGYYEN.js} +10 -8
  7. package/dist/{assetCataloger-POC644N7.js → assetCataloger-GTSOUOBQ.js} +15 -14
  8. package/dist/{audio-QLPRSLD4.js → audio-ZUW3RHEO.js} +30 -28
  9. package/dist/{auth-UD5JKJ3M.js → auth-TE5FMKUT.js} +4 -4
  10. package/dist/{autoUpdate-WNTJWEIH.js → autoUpdate-6JGNDMLP.js} +24 -10
  11. package/dist/{avatars-BUQDDQZ2.js → avatars-BJEF4TZR.js} +25 -23
  12. package/dist/{backgroundChecks-AYK6ADD4.js → backgroundChecks-EN5XLRLY.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-FZPZFGKB.js → batchRender-EEMYIEYR.js} +13 -10
  15. package/dist/{beats-EA7NEYGM.js → beats-IPGSP5BV.js} +14 -13
  16. package/dist/{benchmark-WGYT2WAG.js → benchmark-GZOATIPM.js} +25 -22
  17. package/dist/{billing-A2WKV5BH.js → billing-3LF2YYP7.js} +22 -20
  18. package/dist/{browser-DH3KXV4V.js → browser-2IH45NN6.js} +14 -13
  19. package/dist/{bundleWithLocalizedFonts-C5IIR6CQ.js → bundleWithLocalizedFonts-QV6WDOXF.js} +1 -1
  20. package/dist/{capture-Y7HEXFSY.js → capture-4SIGWC4Q.js} +10 -9
  21. package/dist/{capture-SPZCSPCC.js → capture-K75SADNY.js} +27 -26
  22. package/dist/{captureCompositionFrame-HBDM6FHB.js → captureCompositionFrame-XVEPPU4X.js} +22 -21
  23. package/dist/{captureFile-FNCMGYYJ.js → captureFile-GYZI5Y56.js} +3 -3
  24. package/dist/{catalog-GUACPRZO.js → catalog-6N22YQEE.js} +22 -21
  25. package/dist/{catch-up-7AC2W75E.js → catch-up-67LVADSA.js} +14 -13
  26. package/dist/{check-S7X45EVG.js → check-NYD3WGR2.js} +57 -53
  27. package/dist/{checkAudio-RGMZTJIM.js → checkAudio-APZTSEHX.js} +17 -16
  28. package/dist/{checkBrowser-4SDR745B.js → checkBrowser-2UA6O65I.js} +49 -45
  29. package/dist/{chunk-DWP5EIUS.js → chunk-244FN6TG.js} +2 -1
  30. package/dist/{chunk-3JVTHNDH.js → chunk-2FEZFXKE.js} +1 -1
  31. package/dist/{chunk-J5PZTR45.js → chunk-2OSPWUGX.js} +99 -33
  32. package/dist/{chunk-TY7WOSVR.js → chunk-2UIAN6N7.js} +2 -2
  33. package/dist/{chunk-KXE3JVEZ.js → chunk-2Z7IW5EY.js} +2 -2
  34. package/dist/{chunk-WDTX4PG5.js → chunk-35BZXE5L.js} +1 -1
  35. package/dist/{chunk-2PKURSBE.js → chunk-37SEGJEO.js} +11 -11
  36. package/dist/{chunk-Y6NTMCRF.js → chunk-3B4WQYCW.js} +6 -6
  37. package/dist/{chunk-6XGM5GHR.js → chunk-3BKNPN36.js} +56 -7
  38. package/dist/{chunk-GNKUAJXO.js → chunk-3ODOQWSB.js} +12 -7
  39. package/dist/{chunk-NORROE4L.js → chunk-3WE4UZHN.js} +2 -2
  40. package/dist/{chunk-LN36F5DC.js → chunk-4IIPERO4.js} +3 -3
  41. package/dist/{chunk-FHIOPTN4.js → chunk-4SY34UA2.js} +1 -1
  42. package/dist/{chunk-7R7OCEHI.js → chunk-4WUTXBRK.js} +6 -6
  43. package/dist/{chunk-RC2DDVX5.js → chunk-5E46EQ3U.js} +2 -2
  44. package/dist/{chunk-TVSB4K5O.js → chunk-5UOYRGKV.js} +2 -2
  45. package/dist/{chunk-UL2EO5VU.js → chunk-5WZSXP6R.js} +1 -1
  46. package/dist/{chunk-X63QVLMJ.js → chunk-64O3DG3E.js} +1 -1
  47. package/dist/{chunk-RO4RY5YB.js → chunk-66D5BC5K.js} +39 -11
  48. package/dist/{chunk-C6J6TZSW.js → chunk-6ACARSAZ.js} +1 -1
  49. package/dist/{chunk-WLAMY4XL.js → chunk-6PGDI5NG.js} +206 -95
  50. package/dist/{chunk-PEWBM2XF.js → chunk-6PYUPO4M.js} +4 -4
  51. package/dist/{chunk-CUGK6ZF6.js → chunk-6QITYZN7.js} +2 -2
  52. package/dist/{chunk-LWNHZUYJ.js → chunk-6QZNF3JF.js} +67 -32
  53. package/dist/chunk-6SYJN2KD.js +15 -0
  54. package/dist/{chunk-777GBBTE.js → chunk-6VNN3SYK.js} +1 -1
  55. package/dist/{chunk-RRIAHUG3.js → chunk-745HLQBA.js} +1 -1
  56. package/dist/{chunk-7WA77KXG.js → chunk-74M47HVE.js} +2 -2
  57. package/dist/{chunk-JFIN5P4E.js → chunk-7BREEOLQ.js} +16 -16
  58. package/dist/{chunk-BVA3NEQC.js → chunk-7CKKKBNM.js} +2 -2
  59. package/dist/{chunk-ASML5H5V.js → chunk-7EOREMZI.js} +12 -12
  60. package/dist/{chunk-DAN5KKFR.js → chunk-7LQFVACU.js} +1 -1
  61. package/dist/{chunk-VCTPYHOD.js → chunk-7QNCNGN6.js} +2 -2
  62. package/dist/{chunk-ZUYNFADS.js → chunk-A6O65H7G.js} +4 -4
  63. package/dist/{chunk-IW7QUJDU.js → chunk-AAZF6D3Z.js} +1 -1
  64. package/dist/{chunk-NHF32RRC.js → chunk-AI4MXYGK.js} +1 -1
  65. package/dist/{chunk-YT43XMYD.js → chunk-AI5KNXSL.js} +8 -8
  66. package/dist/{chunk-ZJQ23DJQ.js → chunk-AQBWVIT7.js} +1 -1
  67. package/dist/{chunk-NMYYW6QM.js → chunk-AQNI4TCF.js} +23 -15
  68. package/dist/{chunk-4HPXVTWY.js → chunk-AWOHPIKF.js} +9 -9
  69. package/dist/{chunk-NSRLO47G.js → chunk-BSY6ZHP6.js} +2 -2
  70. package/dist/{chunk-B2ZFTAZE.js → chunk-CANVWJB4.js} +101 -28
  71. package/dist/{chunk-NVE5ZPIV.js → chunk-CEHYC2UD.js} +3 -3
  72. package/dist/chunk-CINXWHRB.js +25 -0
  73. package/dist/{chunk-HYO4DIYT.js → chunk-CPQTWPMM.js} +1 -1
  74. package/dist/{chunk-ZAJ5SIG2.js → chunk-CTDCYNVK.js} +2 -2
  75. package/dist/{chunk-YV6I32RM.js → chunk-CUOX3TDY.js} +3 -3
  76. package/dist/{chunk-KRE7VIQV.js → chunk-D5YHSTHZ.js} +9 -16
  77. package/dist/{chunk-OM3PJLUG.js → chunk-DPMEWIVZ.js} +4 -4
  78. package/dist/{chunk-YFTPZZEE.js → chunk-DZ3JB4F3.js} +2 -2
  79. package/dist/{chunk-M4WT65UD.js → chunk-EIION6EA.js} +2 -2
  80. package/dist/{chunk-TU4IITMO.js → chunk-EPBYIJPM.js} +3 -3
  81. package/dist/{chunk-XO55FUXZ.js → chunk-ESYW3LJU.js} +2 -2
  82. package/dist/{chunk-GKRD43J2.js → chunk-FAJRDYFU.js} +6 -6
  83. package/dist/{chunk-HFRB7UTK.js → chunk-FBOKUG5B.js} +5 -5
  84. package/dist/{chunk-JGEDH5GJ.js → chunk-FCNBAYZ6.js} +3 -3
  85. package/dist/{chunk-XDVHQFEQ.js → chunk-FOALZ4MW.js} +1 -1
  86. package/dist/{chunk-KGPLIH7B.js → chunk-G37O3IZB.js} +1 -0
  87. package/dist/{chunk-GDKNEQ4E.js → chunk-GGY5M6BU.js} +1 -1
  88. package/dist/{chunk-HU2SPFNG.js → chunk-GHS4ZYQX.js} +1 -1
  89. package/dist/{chunk-NDXUDTLF.js → chunk-GXKCFOMR.js} +2 -2
  90. package/dist/{chunk-MH7FQ6N7.js → chunk-H6LFXHAV.js} +7 -7
  91. package/dist/{chunk-HC5GAPIW.js → chunk-HMNDJPLQ.js} +3 -3
  92. package/dist/{chunk-A6AH56HN.js → chunk-HYQ6S7R6.js} +2 -2
  93. package/dist/{chunk-LGIWC6KN.js → chunk-IUUEMVZV.js} +3 -3
  94. package/dist/{chunk-T7U6D2UW.js → chunk-IXGZSANV.js} +2 -2
  95. package/dist/{chunk-EMIOIMHN.js → chunk-IXSCGQS5.js} +1 -1
  96. package/dist/{chunk-ETMGDJ5P.js → chunk-JDJ6BM5E.js} +2 -2
  97. package/dist/{chunk-QQZ7DCAA.js → chunk-JGKI7FHX.js} +143 -47
  98. package/dist/{chunk-JYWFQ42F.js → chunk-JHPOKDZI.js} +13 -13
  99. package/dist/{chunk-YGO6PEYX.js → chunk-JK7JON6R.js} +1 -1
  100. package/dist/{chunk-UAM6PRKO.js → chunk-K2NOQNNY.js} +1 -1
  101. package/dist/{chunk-FWVJW5WC.js → chunk-KDQRJHLU.js} +4 -4
  102. package/dist/{chunk-ERM3UC6T.js → chunk-KFWSPEDG.js} +1 -1
  103. package/dist/{chunk-LUDXZKNH.js → chunk-KXCAIQE4.js} +10 -10
  104. package/dist/{chunk-IH2C53YV.js → chunk-KZ5PV5TL.js} +11 -9
  105. package/dist/{chunk-Q4FVSYTD.js → chunk-L3FQUUS6.js} +1 -1
  106. package/dist/{chunk-2PIQTMWA.js → chunk-L7BY2FDJ.js} +30 -23
  107. package/dist/{chunk-4YMMTQ45.js → chunk-LAXD6VM7.js} +10 -10
  108. package/dist/{chunk-5BNKWHG6.js → chunk-LBFV45YF.js} +1 -1
  109. package/dist/{chunk-FXMKHHPO.js → chunk-LIHELBPB.js} +0 -61
  110. package/dist/{chunk-ZM66CP4T.js → chunk-LIXAC5NE.js} +15 -15
  111. package/dist/{chunk-CFOPRL62.js → chunk-LNOG6KKM.js} +7 -7
  112. package/dist/{chunk-YWUE4CRU.js → chunk-LWX5PI73.js} +7 -7
  113. package/dist/{chunk-UJN7LD7Q.js → chunk-M4ABCFJO.js} +4 -4
  114. package/dist/{chunk-7G6OHKDZ.js → chunk-MEZAMIT6.js} +9 -9
  115. package/dist/{chunk-3PXZPI6I.js → chunk-MG7UJJCP.js} +29 -11
  116. package/dist/{chunk-Y7S7XM5T.js → chunk-MH46RGG6.js} +1 -1
  117. package/dist/{chunk-JXVUSNAG.js → chunk-MKZ73C57.js} +4 -4
  118. package/dist/{chunk-RIETR6VC.js → chunk-N6VNR4YE.js} +54 -17
  119. package/dist/{chunk-K6ARLNKJ.js → chunk-NIEOUHVQ.js} +1 -1
  120. package/dist/{chunk-K2FH6FRK.js → chunk-NMASYQXY.js} +3 -3
  121. package/dist/{chunk-G2US34LC.js → chunk-NOCU3FBX.js} +5 -5
  122. package/dist/{chunk-FZLY56DP.js → chunk-NSADX4IV.js} +19 -3
  123. package/dist/{chunk-D62TF745.js → chunk-OB56G4VA.js} +3 -3
  124. package/dist/{chunk-U2FL2MTE.js → chunk-OGL5VQGT.js} +4 -2
  125. package/dist/{chunk-7OVPWTCJ.js → chunk-OI5WGQE3.js} +5 -5
  126. package/dist/{chunk-3X72Y7FR.js → chunk-OMFIMZZD.js} +5 -5
  127. package/dist/chunk-PWRUMN7B.js +71 -0
  128. package/dist/{chunk-5F7M7PYP.js → chunk-PXMEW6TM.js} +3 -3
  129. package/dist/{chunk-5NSZ5XPH.js → chunk-QSQNXAHE.js} +1 -1
  130. package/dist/{chunk-LZDRK67I.js → chunk-R5C2CV7J.js} +5 -5
  131. package/dist/chunk-RAHYMZNU.js +5146 -0
  132. package/dist/{chunk-FO3FSJBJ.js → chunk-RD3DE4ZP.js} +2 -2
  133. package/dist/{chunk-MHEO2LYC.js → chunk-RHZE7BIX.js} +3 -3
  134. package/dist/{chunk-I3R2E6SE.js → chunk-ROODLZY7.js} +10 -10
  135. package/dist/{chunk-J5VEGTHN.js → chunk-RRGRETJ4.js} +2 -2
  136. package/dist/{chunk-WC6L7F3Z.js → chunk-S73AVUHJ.js} +1 -1
  137. package/dist/{chunk-3WHPQNTD.js → chunk-SITGBEFO.js} +41 -34
  138. package/dist/{chunk-5N7RRWIP.js → chunk-TIGMUHSL.js} +15 -11
  139. package/dist/{chunk-Q76FGC6A.js → chunk-TMB4L4GG.js} +5 -3
  140. package/dist/{chunk-QUAK4OPT.js → chunk-TQYHQKOK.js} +1 -1
  141. package/dist/{chunk-RZREOKHK.js → chunk-TU2WFCGS.js} +9 -2
  142. package/dist/{chunk-XKPBY4G2.js → chunk-TUJB74AE.js} +22 -27
  143. package/dist/{chunk-JO25BSM3.js → chunk-TXTVVIW7.js} +3 -3
  144. package/dist/{chunk-B7B7SGPV.js → chunk-TZ3EPV4B.js} +1 -1
  145. package/dist/{chunk-TPIQDAHD.js → chunk-U3WUAVAX.js} +3 -3
  146. package/dist/{chunk-TFAKFI3R.js → chunk-U6ZR7GBQ.js} +3 -3
  147. package/dist/{chunk-GFT3OQ33.js → chunk-UCQTLZDJ.js} +2 -2
  148. package/dist/{chunk-X3VHHQYM.js → chunk-ULE2EYEY.js} +2 -2
  149. package/dist/{chunk-S35RUNXJ.js → chunk-UVW5ZDAP.js} +4 -2
  150. package/dist/{chunk-KFR67U7E.js → chunk-VBLKGDVI.js} +1 -1
  151. package/dist/{chunk-A7NRMVUG.js → chunk-VTP3TBRY.js} +23 -42
  152. package/dist/{chunk-BQKQPYEP.js → chunk-W672RTMC.js} +8 -8
  153. package/dist/{chunk-4K6VNWJS.js → chunk-WMJ3PV37.js} +1 -1
  154. package/dist/{chunk-L5V57765.js → chunk-WWQWDRKU.js} +1 -1
  155. package/dist/{chunk-4I4ACRCU.js → chunk-WY6354ZO.js} +4 -4
  156. package/dist/{chunk-OKQ5OUJH.js → chunk-X3JZA7KH.js} +9 -9
  157. package/dist/{chunk-WMBZFHHZ.js → chunk-XEIVSW2F.js} +7 -7
  158. package/dist/{chunk-SREN5WTO.js → chunk-XKIXRSVB.js} +3 -3
  159. package/dist/{chunk-FNOAIEQC.js → chunk-XMKDDEX4.js} +7 -7
  160. package/dist/{chunk-DO6R4KYL.js → chunk-XNJEXXKC.js} +2 -2
  161. package/dist/{chunk-BXNWMRZL.js → chunk-XSARHJSW.js} +2 -2
  162. package/dist/{chunk-MY2XJULG.js → chunk-XTKNMYRR.js} +2 -2
  163. package/dist/{chunk-3FOIZLN4.js → chunk-Y4QE4LEB.js} +1 -1
  164. package/dist/{chunk-KR7FV3WD.js → chunk-Y57R6C5U.js} +4 -4
  165. package/dist/{chunk-IVAMWDMR.js → chunk-Y6A5LED6.js} +2 -2
  166. package/dist/{chunk-RO6MNXKE.js → chunk-YMSOS6CF.js} +1 -1
  167. package/dist/{chunk-KLIV2W5D.js → chunk-ZHIAAYY2.js} +4 -4
  168. package/dist/chunk-ZQPXWUCP.js +141 -0
  169. package/dist/{chunk-Z6BSZ2HK.js → chunk-ZS2ROUIG.js} +2 -2
  170. package/dist/{chunk-L3LVTSHX.js → chunk-ZY55U6ER.js} +8 -8
  171. package/dist/{clean-ROGNMYHH.js → clean-73IDEWIJ.js} +31 -29
  172. package/dist/cli.js +72 -71
  173. package/dist/{cloud-3A3ASGKH.js → cloud-P32MAEIJ.js} +4 -4
  174. package/dist/{cloud-SGY2DYTO.js → cloud-SOZPWTDL.js} +14 -12
  175. package/dist/{cloudrun-AU2TSYBU.js → cloudrun-H5TW5T4R.js} +9 -8
  176. package/dist/{compare-DARUHTKS.js → compare-BQSDHPZ3.js} +50 -49
  177. package/dist/{compiler-XLAW2M77.js → compiler-WNVDGRBH.js} +9 -6
  178. package/dist/{component-LHP7MJ3L.js → component-WWICYJFN.js} +18 -13
  179. package/dist/{compositions-BMQ4NTWM.js → compositions-VEMHHQR6.js} +22 -19
  180. package/dist/{contactSheet-JFEV75W2.js → contactSheet-G42BMJXO.js} +4 -4
  181. package/dist/{curve-FNX3ONSD.js → curve-5SCSMYX4.js} +20 -19
  182. package/dist/{cuts-HQI2ZBOS.js → cuts-POUL3RQ5.js} +21 -20
  183. package/dist/{delete-EDIDKV7H.js → delete-NVS5PXRM.js} +21 -17
  184. package/dist/{deploy-KFOOAJEE.js → deploy-SPJ5OWAI.js} +9 -16
  185. package/dist/{describeProject-A2TZSHVH.js → describeProject-KJGRR7FM.js} +15 -14
  186. package/dist/{destroy-LSQUDIVA.js → destroy-CPLVCITS.js} +6 -6
  187. package/dist/{deterministicFonts-XCYIRDQZ.js → deterministicFonts-645ILNLP.js} +3 -3
  188. package/dist/{diff-PRT5CIDJ.js → diff-O2JUFV2N.js} +51 -49
  189. package/dist/{dist-UIIZKERM.js → dist-DCRKIIL4.js} +18 -17
  190. package/dist/{dist-YXDW5VUV.js → dist-TTOW2KVO.js} +11 -9
  191. package/dist/{dist-VPMEUGIV.js → dist-XRESUN6B.js} +3 -3
  192. package/dist/docker/Dockerfile.render +1 -1
  193. package/dist/{doctor-TQ3RNOYK.js → doctor-L5GGDS2F.js} +21 -19
  194. package/dist/{dotEnv-2VNMLGZC.js → dotEnv-7P4XI4ID.js} +11 -6
  195. package/dist/{energy-F7FS75TV.js → energy-43JTPLLL.js} +21 -20
  196. package/dist/{events-23GP74FO.js → events-33NDGOZM.js} +23 -22
  197. package/dist/{events-VN7QW7JU.js → events-K576EL47.js} +9 -8
  198. package/dist/{events-LJIO2U6Z.js → events-XRO5CFTD.js} +4 -3
  199. package/dist/{execute-GZLBWOFB.js → execute-EWZ3WK3L.js} +44 -43
  200. package/dist/{extract-NJSXJFB2.js → extract-NW375CQM.js} +22 -21
  201. package/dist/{face-JQBXWNMX.js → face-AVVUVV5L.js} +22 -21
  202. package/dist/{face-HJNH6TQM.js → face-IVXIPAO5.js} +19 -18
  203. package/dist/{feedback-T3WYFTGI.js → feedback-MS34KB74.js} +26 -24
  204. package/dist/{ffmpeg-HYYDF4FH.js → ffmpeg-I376KCKD.js} +15 -14
  205. package/dist/{figma-T5PCTXP7.js → figma-M37MXYPR.js} +3 -3
  206. package/dist/fontLocalizeCli.js +19 -18
  207. package/dist/{frames-QTYTUQ52.js → frames-6VGAHZBO.js} +23 -22
  208. package/dist/{generate-RNUZUNHG.js → generate-TM7AOJ27.js} +37 -35
  209. package/dist/{get-KP5FCZKQ.js → get-2JAJO7AP.js} +21 -17
  210. package/dist/{gpuPolicy-F7RTO2CS.js → gpuPolicy-DEH3KKNF.js} +13 -12
  211. package/dist/{grade-compare-55ZWESO7.js → grade-compare-UN6MPWVF.js} +47 -46
  212. package/dist/{hands-XZFTUVNT.js → hands-ANSG7WHU.js} +24 -23
  213. package/dist/{heifImagePrep-7T6EC2VL.js → heifImagePrep-YC3ZMWUC.js} +16 -15
  214. package/dist/{help-U36MZKGG.js → help-63QQYCMJ.js} +1 -1
  215. package/dist/{history-RFJGLXYS.js → history-DRSL755Q.js} +18 -17
  216. package/dist/hyperframe.manifest.json +1 -1
  217. package/dist/hyperframe.runtime.iife.js +72 -71
  218. package/dist/hyperframes-player.global.js +3 -3
  219. package/dist/{index-gen-3DWPA4FO.js → index-gen-TXP67YUY.js} +13 -1
  220. package/dist/{info-3NB5HOAS.js → info-UNIWLP7I.js} +21 -20
  221. package/dist/{init-H5L3KVSO.js → init-3W3XSGXC.js} +46 -44
  222. package/dist/{ink-C7YJAB4M.js → ink-OXJJIEQ7.js} +21 -20
  223. package/dist/{inspect-4LNO7C77.js → inspect-UOXP5ICV.js} +50 -46
  224. package/dist/{installer-WALAPPWF.js → installer-OWZSFVV2.js} +10 -9
  225. package/dist/{keyframes-FORZG2IO.js → keyframes-LNCXSQJ6.js} +23 -22
  226. package/dist/{lambda-PKVT2D45.js → lambda-3ZIM5NW2.js} +22 -21
  227. package/dist/{launch-PXZF4TSU.js → launch-HOSRCHWS.js} +15 -14
  228. package/dist/{layout-7BKIDH5L.js → layout-MRBHBZEA.js} +50 -46
  229. package/dist/{lint-ODMVBKA5.js → lint-U4PINYKO.js} +16 -15
  230. package/dist/{lintProject-XEWYQ2YP.js → lintProject-55U44GOP.js} +3 -3
  231. package/dist/{list-B223YD2L.js → list-AMH6UUTI.js} +27 -21
  232. package/dist/{live-WWPFZQ74.js → live-ZSDUN6U2.js} +1 -1
  233. package/dist/{localPage-GNT4KO7M.js → localPage-JJ56YNKB.js} +14 -13
  234. package/dist/{login-DTYGRX6S.js → login-U42SSWF4.js} +15 -13
  235. package/dist/{logout-WNVEAWWZ.js → logout-DQVPSI4E.js} +11 -9
  236. package/dist/{look-WGDSVD5A.js → look-6VTGMGIF.js} +21 -20
  237. package/dist/{manager-OMDGEDU2.js → manager-GHP2QIUD.js} +17 -16
  238. package/dist/{manager-C5S25OOK.js → manager-PXRZQDDT.js} +4 -4
  239. package/dist/{measure-UMINPIOA.js → measure-NC4LN7EZ.js} +12 -12
  240. package/dist/{media-6Y6RGH6H.js → media-VKM5WFRK.js} +21 -16
  241. package/dist/{media-treatment-CVVCARD4.js → media-treatment-VNZS2MIT.js} +28 -27
  242. package/dist/{media-use-4CDI2VV5.js → media-use-JOQWGBS5.js} +18 -13
  243. package/dist/{models-3DMHZYLD.js → models-S55TNWF7.js} +24 -22
  244. package/dist/{motionShot-EB2RQLG3.js → motionShot-OUOXFKUG.js} +26 -25
  245. package/dist/{normalize-KYVBGCEM.js → normalize-AH7CCULG.js} +3 -3
  246. package/dist/{normalize-audio-J5PRW2T2.js → normalize-audio-GYTTK5QE.js} +16 -15
  247. package/dist/{oauth-E5QBYYTX.js → oauth-RETRT7QD.js} +2 -1
  248. package/dist/{open-CTEBHEQB.js → open-KGXPI4BY.js} +35 -28
  249. package/dist/{parakeetRunner-JTYOFSEH.js → parakeetRunner-IXUUFPGG.js} +26 -24
  250. package/dist/{pipeline-MTFGTQBG.js → pipeline-UE2Y2ZRB.js} +18 -17
  251. package/dist/{plan-KWQMZCRP.js → plan-AD4FZA6N.js} +29 -28
  252. package/dist/{play-QAD7NEJH.js → play-G6JYDYIH.js} +45 -38
  253. package/dist/{preflight-FRZEYCAM.js → preflight-QNDXHMOT.js} +18 -16
  254. package/dist/{present-A236DAR5.js → present-OK7QMCLR.js} +42 -37
  255. package/dist/{preview-T7R3Y2P7.js → preview-XD7J2KHY.js} +69 -66
  256. package/dist/{privateProjectFile-6ZDCWIFO.js → privateProjectFile-2WJ6GPY6.js} +14 -11
  257. package/dist/{probe-DRYUMUVG.js → probe-34RS6LVV.js} +21 -20
  258. package/dist/processes.ps1 +20 -0
  259. package/dist/{producer-XGWE7D4U.js → producer-AX7EDIPJ.js} +1 -1
  260. package/dist/{progress-2FZHJMQ2.js → progress-WLBIHCZM.js} +4 -4
  261. package/dist/{projectConfig-V27XJAAR.js → projectConfig-YBFY4W5A.js} +13 -12
  262. package/dist/{publication-6GJPFPQK.js → publication-JPKV2ZQO.js} +8 -7
  263. package/dist/{publish-X32RPL6L.js → publish-LRUVQX2E.js} +38 -33
  264. package/dist/{receivedRecordFollow-3ZT7SRRY.js → receivedRecordFollow-6MPKPG36.js} +16 -15
  265. package/dist/{refresh-OD5KKKQ5.js → refresh-HFE7YV57.js} +11 -9
  266. package/dist/{remove-background-FC3B3BLA.js → remove-background-TS4QUALS.js} +19 -18
  267. package/dist/{render-6VLPVVIF.js → render-NYFK74KL.js} +13 -12
  268. package/dist/{render-WZ2LHRIR.js → render-PSUJ4UCJ.js} +71 -69
  269. package/dist/{render-GMINWEBY.js → render-UQICTWO6.js} +57 -52
  270. package/dist/{render-batch-F4WR3T2E.js → render-batch-57ZDTS7Z.js} +13 -12
  271. package/dist/renderSetupWorker.js +10 -9
  272. package/dist/{resolver-ZJTCLGJB.js → resolver-3HJC4XU3.js} +10 -9
  273. package/dist/{reverse-XDKTYZEM.js → reverse-CIMYQVFI.js} +1 -1
  274. package/dist/{run-5LP7BKUF.js → run-EFRNU53Z.js} +14 -12
  275. package/dist/{screenshotCapture-72HYLPYD.js → screenshotCapture-K63UAXO7.js} +16 -15
  276. package/dist/{service-DWVOCGDO.js → service-EEEGLRHX.js} +24 -22
  277. package/dist/{share-K6FYZ7OP.js → share-WQVRXWH4.js} +28 -26
  278. package/dist/{sherpa-4TUAQ25R.js → sherpa-BOHH3Q32.js} +25 -23
  279. package/dist/sherpaWorker.js +5 -5
  280. package/dist/{sites-SUB3WQRQ.js → sites-2IEQMGTW.js} +4 -4
  281. package/dist/skills/hyperframes/references/plugin-installation.md +11 -2
  282. package/dist/skills/hyperframes/references/skill-lifecycle.md +12 -3
  283. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +44 -10
  284. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +1 -1
  285. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +35 -51
  286. package/dist/skills/media-use/scripts/lib/codex-provider.mjs +17 -10
  287. package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -1
  288. package/dist/skills/media-use/scripts/lib/index-gen.mjs +4 -2
  289. package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +6 -4
  290. package/dist/skills/media-use/scripts/lib/mflux-provider.mjs +6 -4
  291. package/dist/skills/media-use/scripts/lib/private-output.mjs +21 -0
  292. package/dist/skills/media-use/scripts/lib/received-env.d.mts +5 -0
  293. package/dist/skills/media-use/scripts/lib/received-env.mjs +567 -0
  294. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +9 -4
  295. package/dist/skills/media-use/scripts/resolve.mjs +36 -19
  296. package/dist/{skills-OEYS3FEC.js → skills-KB7UH26E.js} +12 -11
  297. package/dist/{skillsUpdateCheck-RFHPBIPU.js → skillsUpdateCheck-ZDA5FPJB.js} +3 -3
  298. package/dist/{snapshot-VJXNZMJZ.js → snapshot-HRR6LIPD.js} +93 -189
  299. package/dist/snapshotHeldVideos-QGJBXBJM.js +63 -0
  300. package/dist/{src-TDYI7QIO.js → src-FCITTGFH.js} +12 -11
  301. package/dist/{src-P4PHYYKA.js → src-QOVNNDZN.js} +18 -17
  302. package/dist/{start-U2SI4DAI.js → start-I7H5I3AS.js} +39 -36
  303. package/dist/{state-E3RFYMOF.js → state-O6CCLWF6.js} +4 -4
  304. package/dist/{staticProjectServer-NYBCXQPN.js → staticProjectServer-XEZD7JZE.js} +29 -28
  305. package/dist/{status-KCF3G7E5.js → status-2GKACMVC.js} +23 -21
  306. package/dist/studio/assets/hyperframes-player-VGx6ow_e.js +573 -0
  307. package/dist/studio/assets/{index-CVmmHGol.js → index-B8Xt_Oyw.js} +190 -186
  308. package/dist/studio/assets/{index-DN167Uqf.js → index-BH18TdX9.js} +1 -1
  309. package/dist/studio/assets/{pausedVideoDecoder-C8rhpGPx.js → pausedVideoDecoder-Bx3fGNkU.js} +1 -1
  310. package/dist/studio/index.html +1 -1
  311. package/dist/{studio-api-TZHZLLCD.js → studio-api-KQ7DR667.js} +18 -17
  312. package/dist/{studioServer-IFEYMMIN.js → studioServer-KAU2XZ4F.js} +84 -81
  313. package/dist/subCompositionWorker.js +10 -9
  314. package/dist/{sync-H2SNHXZD.js → sync-3OJZRVPG.js} +21 -20
  315. package/dist/{synthesize-EIZ3XR5O.js → synthesize-JECKYUGO.js} +3 -3
  316. package/dist/{telemetry-BGBRABGW.js → telemetry-HIZZLE6W.js} +9 -8
  317. package/dist/templates/_shared/AGENTS.md +3 -1
  318. package/dist/templates/_shared/CLAUDE.md +3 -1
  319. package/dist/{templates-6OBD5XQI.js → templates-35GCXKO2.js} +24 -22
  320. package/dist/{textOverFace-5TTQHKZG.js → textOverFace-Q4I3PREP.js} +10 -4
  321. package/dist/{timeline-XZMIGQSE.js → timeline-U2V63I7B.js} +28 -27
  322. package/dist/{tokens-5VOBSSBN.js → tokens-24TKAZCA.js} +17 -12
  323. package/dist/{transcribe-F5VS2B2D.js → transcribe-M3JJZ27F.js} +22 -20
  324. package/dist/{transcribe-VOWDWAVU.js → transcribe-YHGN4HEM.js} +45 -42
  325. package/dist/{tts-URZ56ZN7.js → tts-CDBXQSAQ.js} +8 -7
  326. package/dist/{update-L5WLOBMT.js → update-4DIZ3YQQ.js} +17 -14
  327. package/dist/{updateCheck-NYDA3CKE.js → updateCheck-F56HX6MZ.js} +2 -2
  328. package/dist/{upgrade-APGW3TZA.js → upgrade-6WAFZ7WN.js} +5 -5
  329. package/dist/{urlDownloader-H67ZJV7Q.js → urlDownloader-DNNB6UOI.js} +12 -11
  330. package/dist/{validate-ZWNAZZMI.js → validate-N5KPU4GC.js} +36 -35
  331. package/dist/{video-IDLKJE2M.js → video-T6YYFBNI.js} +15 -14
  332. package/dist/{voices-TTD5VBUS.js → voices-OI37IYYG.js} +35 -33
  333. package/dist/warmCheck.js +57 -53
  334. package/package.json +1 -1
  335. package/dist/chunk-MJI4W7LY.js +0 -5101
  336. package/dist/studio/assets/hyperframes-player-mSF_GvRs.js +0 -573
@@ -19,11 +19,11 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-LZDRK67I.js";
22
+ } from "./chunk-R5C2CV7J.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
26
- } from "./chunk-HYO4DIYT.js";
26
+ } from "./chunk-CPQTWPMM.js";
27
27
  import {
28
28
  DEFAULT_TARGET_LUFS,
29
29
  absoluteLoudnessPlan,
@@ -32,7 +32,7 @@ import {
32
32
  requestedProjectPath,
33
33
  requiredFfmpeg,
34
34
  resolveLocalAudioPath
35
- } from "./chunk-GKRD43J2.js";
35
+ } from "./chunk-FAJRDYFU.js";
36
36
  import {
37
37
  PROXY_PARAMS_VERSION,
38
38
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -57,11 +57,11 @@ import {
57
57
  scanProjectMedia,
58
58
  shouldPrewarmProxy,
59
59
  waitForProxy
60
- } from "./chunk-OKQ5OUJH.js";
60
+ } from "./chunk-X3JZA7KH.js";
61
61
  import {
62
62
  probeAudioTrack,
63
63
  probeMediaMetadata
64
- } from "./chunk-IW7QUJDU.js";
64
+ } from "./chunk-AAZF6D3Z.js";
65
65
  import {
66
66
  HistoryBusyError,
67
67
  MAX_WINDOW_IDLE_MS,
@@ -76,7 +76,7 @@ import {
76
76
  resolveProjectSignature,
77
77
  serveWhileOpen,
78
78
  settledFileTag
79
- } from "./chunk-7R7OCEHI.js";
79
+ } from "./chunk-4WUTXBRK.js";
80
80
  import {
81
81
  findTimelineScript,
82
82
  parseGsapScriptAcorn
@@ -110,13 +110,13 @@ import {
110
110
  pinWithinProject,
111
111
  pinWritableWithinProject,
112
112
  projectRelativePath,
113
+ protectedEntryWithin,
113
114
  readProjectCacheFile,
114
115
  realFilePath,
115
116
  resolveWithinProject as resolveWithinProject2,
116
117
  resolveWritableWithinProject,
117
- toolTrustedFileWithin,
118
118
  walkDir
119
- } from "./chunk-NMYYW6QM.js";
119
+ } from "./chunk-AQNI4TCF.js";
120
120
  import {
121
121
  PREVIEW_FOR_ANOTHER_SITE_META,
122
122
  STUDIO_PREVIEW_CAPTURE_MODE,
@@ -135,7 +135,7 @@ import {
135
135
  ensureHfIds,
136
136
  stampHfIdsInPlace,
137
137
  stripSdrPngColourTags
138
- } from "./chunk-QQZ7DCAA.js";
138
+ } from "./chunk-JGKI7FHX.js";
139
139
  import {
140
140
  RENDER_VARIABLES_FILE
141
141
  } from "./chunk-F6PI5O3H.js";
@@ -146,7 +146,7 @@ import {
146
146
  createStagingDir,
147
147
  replaceFileAtomically,
148
148
  retryWindowsHold
149
- } from "./chunk-K6ARLNKJ.js";
149
+ } from "./chunk-NIEOUHVQ.js";
150
150
  import {
151
151
  GSAP_BASE_URL_META,
152
152
  PREVIEW_PROXY_BOX_PARAM,
@@ -164,7 +164,7 @@ import {
164
164
  normalizeGsapLocalRoot,
165
165
  parseFps,
166
166
  parsePreviewProxyBox
167
- } from "./chunk-BXNWMRZL.js";
167
+ } from "./chunk-XSARHJSW.js";
168
168
  import {
169
169
  AFTER_FONTS_SCRIPT_TYPE,
170
170
  RUNTIME_BOOTSTRAP_ATTR,
@@ -179,7 +179,7 @@ import {
179
179
  resolveRateSpec,
180
180
  sourceTimeAt,
181
181
  stripEmbeddedRuntimeScripts
182
- } from "./chunk-MJI4W7LY.js";
182
+ } from "./chunk-RAHYMZNU.js";
183
183
  import {
184
184
  ProjectRootMissingError,
185
185
  folderGone,
@@ -188,11 +188,11 @@ import {
188
188
  mkdirWithinProject,
189
189
  realpath,
190
190
  resolveWithinProject
191
- } from "./chunk-U2FL2MTE.js";
191
+ } from "./chunk-OGL5VQGT.js";
192
192
  import {
193
193
  isWithinProjectRoot,
194
194
  readProjectFile
195
- } from "./chunk-S35RUNXJ.js";
195
+ } from "./chunk-UVW5ZDAP.js";
196
196
  import {
197
197
  decodeCssEscapes,
198
198
  decodeWellFormedEscapes,
@@ -203,7 +203,7 @@ import {
203
203
  rewriteCssAssetUrls,
204
204
  rewriteInlineStyleAssetUrls,
205
205
  sameInstant
206
- } from "./chunk-IH2C53YV.js";
206
+ } from "./chunk-KZ5PV5TL.js";
207
207
  import {
208
208
  HTML_ATTRIBUTE_ENTITIES,
209
209
  MagicString,
@@ -368,7 +368,7 @@ function sameOriginPost(headers) {
368
368
  return originMatches(headers.origin, host, proto);
369
369
  }
370
370
 
371
- // ../studio-server/dist/chunk-MFIHKG5J.js
371
+ // ../studio-server/dist/chunk-MWCV2KLJ.js
372
372
  import { createHash } from "crypto";
373
373
  import { closeSync, constants, fstatSync, openSync, readFileSync } from "fs";
374
374
  import { dirname, join } from "path";
@@ -654,7 +654,7 @@ function studioMotionRenderRuntime(manifestContent, activeCompositionPath) {
654
654
  applyManifest();
655
655
  }
656
656
 
657
- // ../studio-server/dist/chunk-2ZSUGK2Q.js
657
+ // ../studio-server/dist/chunk-KYJVUSNX.js
658
658
  import { resolve } from "path";
659
659
  function isAutoProxyEnabled(adapter) {
660
660
  return adapter.autoProxy !== false;
@@ -701,7 +701,7 @@ async function injectMediaCodecMap(html, adapter, projectDir, compSrcPath, probe
701
701
  return injectMediaCodecMapIntoHtml(html, projectDir, [{ html, compSrcPath }], probeCache, false);
702
702
  }
703
703
 
704
- // ../studio-server/dist/chunk-DRQHYTL6.js
704
+ // ../studio-server/dist/chunk-SFLQWTC6.js
705
705
  import { existsSync, readFileSync as readFileSync2 } from "fs";
706
706
  import { join as join2 } from "path";
707
707
  import { readlinkSync } from "fs";
@@ -1980,6 +1980,7 @@ function clearElementScreenshotIsolation() {
1980
1980
 
1981
1981
  // ../studio-server/dist/index.js
1982
1982
  import { Hono } from "hono";
1983
+ import { routePath } from "hono/route";
1983
1984
  import { readFile } from "fs/promises";
1984
1985
  import { join as join5 } from "path";
1985
1986
  import { bodyLimit } from "hono/body-limit";
@@ -6145,6 +6146,12 @@ function resolveGsapWriter(env) {
6145
6146
  if (configured === "recast" || configured === "acorn") return configured;
6146
6147
  throw new Error(`Invalid ${GSAP_WRITER_MIGRATION.flag}=${configured}; expected recast or acorn`);
6147
6148
  }
6149
+ var sentAgain = /* @__PURE__ */ new WeakSet();
6150
+ function fetchAgain(api, request) {
6151
+ sentAgain.add(request);
6152
+ return api.fetch(request);
6153
+ }
6154
+ var isFetchedAgain = (request) => sentAgain.has(request);
6148
6155
  async function loadGsapParser() {
6149
6156
  return import("./gsapParser-TSPNHW7F.js");
6150
6157
  }
@@ -6398,6 +6405,9 @@ async function parseMutationBody(c) {
6398
6405
  function ensureDir(projectDir, filePath) {
6399
6406
  mkdirWithinProject(projectDir, dirname3(filePath));
6400
6407
  }
6408
+ function forbiddenWriteTarget(c, projectDir, path) {
6409
+ return resolveWithinProject2(projectDir, path) ? c.json({ error: "forbidden", why: "protected_path" }, 403) : c.json({ error: "forbidden" }, 403);
6410
+ }
6401
6411
  function generateCopyPath(projectDir, originalPath) {
6402
6412
  const ext = originalPath.includes(".") ? "." + originalPath.split(".").pop() : "";
6403
6413
  const base = ext ? originalPath.slice(0, -ext.length) : originalPath;
@@ -7009,7 +7019,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
7009
7019
  let block = extractGsapScriptBlock(html);
7010
7020
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
7011
7021
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
7012
- const { GSAP_CDN } = await import("./dist-YXDW5VUV.js");
7022
+ const { GSAP_CDN } = await import("./dist-TTOW2KVO.js");
7013
7023
  const bootstrap = [
7014
7024
  `<script src="${GSAP_CDN}"></script>`,
7015
7025
  "<script>",
@@ -7925,7 +7935,7 @@ function keptForReplay(request) {
7925
7935
  async function sendAgainOnceFree(api, replay) {
7926
7936
  for (const ms of HELD_EDIT_WAITS) {
7927
7937
  await new Promise((resolve5) => setTimeout(resolve5, ms));
7928
- const again = await api.fetch(replay());
7938
+ const again = await fetchAgain(api, replay());
7929
7939
  if (!again.headers.has(HELD)) return again;
7930
7940
  }
7931
7941
  return null;
@@ -8125,7 +8135,7 @@ function registerFileRoutes(api, adapter) {
8125
8135
  const res = await resolveProjectFile(c, adapter, { mustExist: true, write: true });
8126
8136
  if ("error" in res) return res.error;
8127
8137
  const stat2 = statSync3(res.absPath);
8128
- if (stat2.isDirectory() && toolTrustedFileWithin(res.project.dir, res.absPath)) {
8138
+ if (stat2.isDirectory() && protectedEntryWithin(res.project.dir, res.absPath)) {
8129
8139
  return c.json({ error: "forbidden", why: "protected_path" }, 403);
8130
8140
  }
8131
8141
  const backup = snapshotBeforeWrite(res.project.dir, res.absPath);
@@ -8674,14 +8684,12 @@ function registerFileRoutes(api, adapter) {
8674
8684
  return c.json({ error: "newPath required" }, 400);
8675
8685
  }
8676
8686
  const newAbs = resolveWritableWithinProject(res.project.dir, newPath);
8677
- if (!newAbs) {
8678
- return c.json({ error: "forbidden" }, 403);
8679
- }
8687
+ if (!newAbs) return forbiddenWriteTarget(c, res.project.dir, newPath);
8680
8688
  if (existsSync32(newAbs)) {
8681
8689
  return c.json({ error: "already exists" }, 409);
8682
8690
  }
8683
8691
  const isDirectory = statSync3(res.absPath, { throwIfNoEntry: false })?.isDirectory() ?? false;
8684
- if (isDirectory && toolTrustedFileWithin(res.project.dir, res.absPath)) {
8692
+ if (isDirectory && protectedEntryWithin(res.project.dir, res.absPath, newAbs)) {
8685
8693
  return c.json({ error: "forbidden", why: "protected_path" }, 403);
8686
8694
  }
8687
8695
  ensureDir(res.project.dir, newAbs);
@@ -8702,9 +8710,7 @@ function registerFileRoutes(api, adapter) {
8702
8710
  }
8703
8711
  const copyPath = generateCopyPath(project.dir, body.path);
8704
8712
  const destAbs = resolveWritableWithinProject(project.dir, copyPath);
8705
- if (!destAbs) {
8706
- return c.json({ error: "forbidden" }, 403);
8707
- }
8713
+ if (!destAbs) return forbiddenWriteTarget(c, project.dir, copyPath);
8708
8714
  ensureDir(project.dir, destAbs);
8709
8715
  try {
8710
8716
  createFileAtomically(destAbs, readFileSync4(srcAbs));
@@ -11107,7 +11113,7 @@ function serveTokenPreviewPaths(api, tokens, resolveProjectId) {
11107
11113
  return new Response(null, { status: 204, headers: PROXY_PREFLIGHT_ANSWER });
11108
11114
  const req = new Request(url, { method: c.req.method, headers: c.req.raw.headers });
11109
11115
  frameTokenLoads.add(req);
11110
- const res = await api.fetch(req);
11116
+ const res = await fetchAgain(api, req);
11111
11117
  return underToken(res, tokenPathHeaders(c, res, url.pathname), projectId, token);
11112
11118
  };
11113
11119
  }
@@ -11171,7 +11177,10 @@ async function refuseProxyWorkForAnotherSite(c, next) {
11171
11177
  }
11172
11178
  var refuseForAnotherSite = (what) => async (c, next) => {
11173
11179
  if (fromAnotherSite(c))
11174
- return c.json({ error: `forbidden: ${what} requested by another site` }, 403);
11180
+ return c.json(
11181
+ { error: `forbidden: ${what} requested by another site`, why: "another_site" },
11182
+ 403
11183
+ );
11175
11184
  return next();
11176
11185
  };
11177
11186
  function urlHost(url) {
@@ -11188,8 +11197,32 @@ function urlScheme(url) {
11188
11197
  return void 0;
11189
11198
  }
11190
11199
  }
11200
+ var REFUSAL_WHYS = /* @__PURE__ */ new Set([
11201
+ "nul",
11202
+ "outside_project",
11203
+ "protected_path",
11204
+ "another_site",
11205
+ "cross_origin_write"
11206
+ ]);
11207
+ var ENDPOINT_ASKED_FOR = -1;
11208
+ var reportRefusals = (onRefusal) => async (c, next) => {
11209
+ const fetchedAgain = isFetchedAgain(c.req.raw);
11210
+ await next();
11211
+ if (c.res.status !== 403 || fetchedAgain) return;
11212
+ const body = await c.res.clone().json().catch(() => null);
11213
+ const why = body && typeof body === "object" ? body.why : void 0;
11214
+ try {
11215
+ onRefusal({
11216
+ route: routePath(c, ENDPOINT_ASKED_FOR),
11217
+ why: typeof why === "string" && REFUSAL_WHYS.has(why) ? why : "other"
11218
+ });
11219
+ } catch {
11220
+ return;
11221
+ }
11222
+ };
11191
11223
  function createStudioApi(adapter, options = {}) {
11192
11224
  const api = new Hono();
11225
+ if (adapter.onRefusal) api.use(reportRefusals(adapter.onRefusal));
11193
11226
  api.use(refuseServiceWorkerScripts);
11194
11227
  const sandboxThumbnailCaptures = options.sandboxThumbnailCaptures ?? false;
11195
11228
  const frameTokens = createFrameTokens();
@@ -11204,7 +11237,8 @@ function createStudioApi(adapter, options = {}) {
11204
11237
  sandboxPreviewForAnotherSiteOrCapture(sandboxThumbnailCaptures)
11205
11238
  );
11206
11239
  api.get("/projects/:id/frame-token", async (c) => {
11207
- if (fromAnotherSite(c)) return c.json({ error: "forbidden: requested by another site" }, 403);
11240
+ if (fromAnotherSite(c))
11241
+ return c.json({ error: "forbidden: requested by another site", why: "another_site" }, 403);
11208
11242
  const projectId = await resolveProjectId(c.req.param("id"));
11209
11243
  if (!projectId) return c.json({ error: "not found" }, 404);
11210
11244
  return c.json({ token: frameTokens.tokenFor(projectId) }, 200, { "Cache-Control": "no-store" });
@@ -11235,7 +11269,8 @@ function createStudioApi(adapter, options = {}) {
11235
11269
  }) ?? "unknown host";
11236
11270
  return c.json(
11237
11271
  {
11238
- error: `forbidden: writes from host "${refusedHost}" are not allowed. Set ${PREVIEW_ALLOWED_HOSTS_ENV}=${refusedHost} to allow it (comma separated for several hosts).`
11272
+ error: `forbidden: writes from host "${refusedHost}" are not allowed. Set ${PREVIEW_ALLOWED_HOSTS_ENV}=${refusedHost} to allow it (comma separated for several hosts).`,
11273
+ why: "cross_origin_write"
11239
11274
  },
11240
11275
  403
11241
11276
  );
@@ -0,0 +1,15 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/utils/escapeHtml.ts
9
+ function escapeHtml(value) {
10
+ return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
11
+ }
12
+
13
+ export {
14
+ escapeHtml
15
+ };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-JCNPHRGX.js";
10
10
  import {
11
11
  terminalText
12
- } from "./chunk-U2FL2MTE.js";
12
+ } from "./chunk-OGL5VQGT.js";
13
13
 
14
14
  // src/utils/lintFormat.ts
15
15
  function formatLintFindings({ results, totalErrors, totalWarnings, totalInfos }, options = {}) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-P4PHYYKA.js");
10
+ return await import("./src-QOVNNDZN.js");
11
11
  }
12
12
 
13
13
  export {
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-KLIV2W5D.js";
9
+ } from "./chunk-ZHIAAYY2.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-7R7OCEHI.js";
13
+ } from "./chunk-4WUTXBRK.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -10,20 +10,20 @@ import {
10
10
  resolveCliChromeGpuMode,
11
11
  seekCompositionTimeline,
12
12
  waitForRuntimeReady
13
- } from "./chunk-ASML5H5V.js";
13
+ } from "./chunk-7EOREMZI.js";
14
14
  import {
15
15
  resolveCompositionViewportFromHtml
16
- } from "./chunk-DAN5KKFR.js";
16
+ } from "./chunk-7LQFVACU.js";
17
17
  import {
18
18
  pageNavigationTimeoutMs
19
- } from "./chunk-FWVJW5WC.js";
19
+ } from "./chunk-KDQRJHLU.js";
20
20
  import {
21
21
  resolveProject
22
- } from "./chunk-NORROE4L.js";
22
+ } from "./chunk-3WE4UZHN.js";
23
23
  import {
24
24
  launchManagedBrowser,
25
25
  resolveManagedGpuMode
26
- } from "./chunk-XKPBY4G2.js";
26
+ } from "./chunk-TUJB74AE.js";
27
27
  import {
28
28
  defineCommand
29
29
  } from "./chunk-DL4OD7IA.js";
@@ -32,18 +32,18 @@ import {
32
32
  } from "./chunk-JCNPHRGX.js";
33
33
  import {
34
34
  resolveNaturalMediaTimelineDuration
35
- } from "./chunk-MJI4W7LY.js";
35
+ } from "./chunk-RAHYMZNU.js";
36
36
  import {
37
37
  terminalText,
38
38
  terminalTextDeep
39
- } from "./chunk-U2FL2MTE.js";
39
+ } from "./chunk-OGL5VQGT.js";
40
40
  import {
41
41
  decodeWellFormedEscapes
42
- } from "./chunk-IH2C53YV.js";
42
+ } from "./chunk-KZ5PV5TL.js";
43
43
  import {
44
44
  printDeprecationNotice,
45
45
  withMeta
46
- } from "./chunk-6XGM5GHR.js";
46
+ } from "./chunk-3BKNPN36.js";
47
47
  import {
48
48
  failureMessage,
49
49
  jsonFailure
@@ -271,7 +271,7 @@ function extractCompositionErrorsFromLint(lintResult) {
271
271
  async function localizeRemoteAssets(html) {
272
272
  let dir;
273
273
  try {
274
- const { loadProducer } = await import("./producer-XGWE7D4U.js");
274
+ const { loadProducer } = await import("./producer-AX7EDIPJ.js");
275
275
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
276
276
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
277
277
  const assetDir = dir;
@@ -292,10 +292,10 @@ async function localizeRemoteAssets(html) {
292
292
  }
293
293
  async function validateInBrowser(project, opts) {
294
294
  const projectDir = project.dir;
295
- const { bundleToSingleHtml } = await import("./compiler-XLAW2M77.js");
296
- const { ensureBrowser } = await import("./manager-C5S25OOK.js");
297
- const { serveStaticProjectHtml } = await import("./staticProjectServer-NYBCXQPN.js");
298
- const { lintProject } = await import("./lintProject-XEWYQ2YP.js");
295
+ const { bundleToSingleHtml } = await import("./compiler-WNVDGRBH.js");
296
+ const { ensureBrowser } = await import("./manager-PXRZQDDT.js");
297
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-XEZD7JZE.js");
298
+ const { lintProject } = await import("./lintProject-55U44GOP.js");
299
299
  const lintResult = await lintProject(projectDir);
300
300
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
301
301
  const html = await bundleToSingleHtml(projectDir);
@@ -316,9 +316,9 @@ async function validateInBrowser(project, opts) {
316
316
  try {
317
317
  const browser = await ensureBrowser();
318
318
  const puppeteer = await import("puppeteer-core");
319
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-TDYI7QIO.js");
319
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-FCITTGFH.js");
320
320
  const requestedGpuMode = resolveCliChromeGpuMode();
321
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-F7RTO2CS.js");
321
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-DEH3KKNF.js");
322
322
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
323
323
  const requiresWebGpu = compositionRequiresWebGpu(html);
324
324
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -8,10 +8,10 @@ import {
8
8
  apiBaseUrl,
9
9
  isHeaderSafe,
10
10
  readStore
11
- } from "./chunk-TFAKFI3R.js";
11
+ } from "./chunk-U6ZR7GBQ.js";
12
12
  import {
13
13
  projectEnvDir
14
- } from "./chunk-RZREOKHK.js";
14
+ } from "./chunk-TU2WFCGS.js";
15
15
  import {
16
16
  ErrInvalidStore,
17
17
  ErrLoginExpired,
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  gotoWhenSent
9
- } from "./chunk-X3VHHQYM.js";
9
+ } from "./chunk-ULE2EYEY.js";
10
10
  import {
11
11
  resolveCompositionViewportFromHtml
12
- } from "./chunk-DAN5KKFR.js";
12
+ } from "./chunk-7LQFVACU.js";
13
13
  import {
14
14
  windowsChromeCrashRemediation
15
15
  } from "./chunk-262C25DQ.js";
@@ -18,17 +18,17 @@ import {
18
18
  } from "./chunk-YGGZ23BB.js";
19
19
  import {
20
20
  pageNavigationTimeoutMs
21
- } from "./chunk-FWVJW5WC.js";
21
+ } from "./chunk-KDQRJHLU.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  registerBrowserSessionCleanup,
25
25
  resolveManagedGpuMode,
26
26
  rethrowAfterBrowserCleanup
27
- } from "./chunk-XKPBY4G2.js";
27
+ } from "./chunk-TUJB74AE.js";
28
28
  import {
29
29
  resolveLocalBrowserGpuMode,
30
30
  resolveLocalWebGpu
31
- } from "./chunk-CUGK6ZF6.js";
31
+ } from "./chunk-6QITYZN7.js";
32
32
  import {
33
33
  c
34
34
  } from "./chunk-JCNPHRGX.js";
@@ -37,7 +37,7 @@ import {
37
37
  compositionRequiresWebGpu,
38
38
  oneProcessOverPipe,
39
39
  resolveRestrictPageNetwork
40
- } from "./chunk-L3LVTSHX.js";
40
+ } from "./chunk-ZY55U6ER.js";
41
41
  import {
42
42
  normalizeErrorMessage
43
43
  } from "./chunk-E63BDV4Z.js";
@@ -47,7 +47,7 @@ import { spawn } from "child_process";
47
47
 
48
48
  // src/browser/pageNetwork.ts
49
49
  async function launchWithPageNetwork(pageUrl, launch) {
50
- const { resolveRestrictPageNetwork: resolveRestrictPageNetwork2 } = await import("./src-TDYI7QIO.js");
50
+ const { resolveRestrictPageNetwork: resolveRestrictPageNetwork2 } = await import("./src-FCITTGFH.js");
51
51
  if (!resolveRestrictPageNetwork2()) return launch({ args: [] });
52
52
  if (!pageUrl)
53
53
  throw new Error("A restricted page network needs the page's URL before Chrome launches.");
@@ -192,7 +192,7 @@ async function waitForCompositionSettle(page, options) {
192
192
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
193
193
  });
194
194
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
195
- const { resolveConfig, waitForImagesReady } = await import("./src-TDYI7QIO.js");
195
+ const { resolveConfig, waitForImagesReady } = await import("./src-FCITTGFH.js");
196
196
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
197
197
  await waitForImagesReady(
198
198
  page,
@@ -241,7 +241,7 @@ async function installPageFunctionGuard(page) {
241
241
  async function openSettledCompositionPage(html, url, options) {
242
242
  const viewport = resolveCompositionViewportFromHtml(html);
243
243
  const requiresWebGpu = compositionRequiresWebGpu(html);
244
- const answer = (await import("./staticProjectServer-NYBCXQPN.js")).inProcessAnswer(url);
244
+ const answer = (await import("./staticProjectServer-XEZD7JZE.js")).inProcessAnswer(url);
245
245
  const noListen = answer !== void 0;
246
246
  let chromeBrowser;
247
247
  try {
@@ -252,7 +252,7 @@ async function openSettledCompositionPage(html, url, options) {
252
252
  options.onBrowserReady?.();
253
253
  const page = await chromeBrowser.newPage();
254
254
  await installPageFunctionGuard(page);
255
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-TDYI7QIO.js");
255
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-FCITTGFH.js");
256
256
  await installMediaRenderIdBridge(page);
257
257
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
258
258
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -270,10 +270,10 @@ async function openSettledCompositionPage(html, url, options) {
270
270
  }
271
271
  async function launchCompositionBrowser(html, noListen, options, pageUrl) {
272
272
  const viewport = resolveCompositionViewportFromHtml(html);
273
- const { ensureBrowser, findSystemBrowser } = await import("./manager-C5S25OOK.js");
273
+ const { ensureBrowser, findSystemBrowser } = await import("./manager-PXRZQDDT.js");
274
274
  const browser = await ensureBrowser({ signal: options.signal });
275
275
  const puppeteer = await import("puppeteer-core");
276
- const { buildChromeArgs } = await import("./src-TDYI7QIO.js");
276
+ const { buildChromeArgs } = await import("./src-FCITTGFH.js");
277
277
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
278
278
  const requiresWebGpu = compositionRequiresWebGpu(html);
279
279
  let softwareWebGpu = false;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-BXNWMRZL.js";
9
+ } from "./chunk-XSARHJSW.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-ZB2XGJSP.js";
15
15
  import {
16
16
  createStagingDir
17
- } from "./chunk-K6ARLNKJ.js";
17
+ } from "./chunk-NIEOUHVQ.js";
18
18
  import {
19
19
  terminalText
20
- } from "./chunk-U2FL2MTE.js";
20
+ } from "./chunk-OGL5VQGT.js";
21
21
  import {
22
22
  FONT_ALIAS_MAP,
23
23
  fontShorthandFamilies,
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  loadProducer
9
- } from "./chunk-RRIAHUG3.js";
9
+ } from "./chunk-745HLQBA.js";
10
10
  import {
11
11
  assetRootsRefusal,
12
12
  extractAudioMetadata
13
- } from "./chunk-L3LVTSHX.js";
13
+ } from "./chunk-ZY55U6ER.js";
14
14
  import {
15
15
  resolveProjectRelativeSrc
16
- } from "./chunk-S35RUNXJ.js";
16
+ } from "./chunk-UVW5ZDAP.js";
17
17
 
18
18
  // src/utils/projectMedia.ts
19
19
  async function collectProjectMedia(projectDir) {
20
- const { bundleToSingleHtml } = await import("./compiler-XLAW2M77.js");
20
+ const { bundleToSingleHtml } = await import("./compiler-WNVDGRBH.js");
21
21
  const html = await bundleToSingleHtml(projectDir);
22
22
  const producer = await loadProducer();
23
23
  if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
@@ -21,7 +21,7 @@ import {
21
21
  parseFirstFrameColour,
22
22
  parseKeyframeTransfers,
23
23
  readsKeyframeTransfers
24
- } from "./chunk-BXNWMRZL.js";
24
+ } from "./chunk-XSARHJSW.js";
25
25
  import {
26
26
  findFfBinary
27
27
  } from "./chunk-VM2VBJRC.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-BXNWMRZL.js";
13
+ } from "./chunk-XSARHJSW.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -11,35 +11,35 @@ import {
11
11
  findSyncPartner,
12
12
  readLinkTiming,
13
13
  syncOffsetFrames
14
- } from "./chunk-HYO4DIYT.js";
14
+ } from "./chunk-CPQTWPMM.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-NHF32RRC.js";
17
+ } from "./chunk-AI4MXYGK.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-L3LVTSHX.js";
22
+ } from "./chunk-ZY55U6ER.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-BXNWMRZL.js";
27
+ } from "./chunk-XSARHJSW.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-MJI4W7LY.js";
34
+ } from "./chunk-RAHYMZNU.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-NDXUDTLF.js";
38
+ } from "./chunk-GXKCFOMR.js";
39
39
  import {
40
40
  namesAnotherNetworkRoot,
41
41
  resolveAuthoredAssetFile
42
- } from "./chunk-S35RUNXJ.js";
42
+ } from "./chunk-UVW5ZDAP.js";
43
43
  import {
44
44
  compositionOriginSeconds,
45
45
  cutToHostSlots,
@@ -49,7 +49,7 @@ import {
49
49
  readPlaybackRate,
50
50
  resolveMediaDuration,
51
51
  resolveMediaStartSeconds
52
- } from "./chunk-IH2C53YV.js";
52
+ } from "./chunk-KZ5PV5TL.js";
53
53
  import {
54
54
  isSubCompositionHost,
55
55
  topLevelElements,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-X63QVLMJ.js";
9
+ } from "./chunk-64O3DG3E.js";
10
10
  import {
11
11
  failUsage
12
12
  } from "./chunk-U7M4SZUB.js";