hyperframes 0.9.58 → 0.9.59

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 (332) hide show
  1. package/bin/hyperframes.mjs +3 -1
  2. package/dist/{add-JQUKPSEZ.js → add-C7J7HSLI.js} +31 -29
  3. package/dist/{agentPromptGenerator-3NEY7FPP.js → agentPromptGenerator-GCLJUGVE.js} +17 -16
  4. package/dist/{animatedGifPrep-VMUZ6IVJ.js → animatedGifPrep-JPQZPZC4.js} +18 -17
  5. package/dist/api.js +61 -60
  6. package/dist/{appHistory-JNI6IOR6.js → appHistory-TQ6JAEP5.js} +7 -6
  7. package/dist/{asset-ZT3VXZ67.js → asset-HQEPGBDJ.js} +6 -6
  8. package/dist/{assetCataloger-D2DV65BA.js → assetCataloger-LMPPKPF6.js} +19 -18
  9. package/dist/{audio-LD5H2R5V.js → audio-FD2EBZ6D.js} +38 -37
  10. package/dist/{auth-4FPYYMSH.js → auth-JA7XH6NG.js} +4 -4
  11. package/dist/{autoUpdate-5ZKSFCG4.js → autoUpdate-WKW2OMIY.js} +6 -6
  12. package/dist/{avatars-DCLFE7VG.js → avatars-Q7U6CO4X.js} +28 -27
  13. package/dist/{backgroundChecks-UZA3F46H.js → backgroundChecks-H2SOS2CM.js} +16 -9
  14. package/dist/backgroundChecksWorker.js +9 -9
  15. package/dist/{batchRender-TAUW3CT2.js → batchRender-75OLVMZY.js} +14 -13
  16. package/dist/{beats-X3LCR6OG.js → beats-R4EHWWJN.js} +21 -20
  17. package/dist/{benchmark-DNZQT3YQ.js → benchmark-F5OHG3Q3.js} +33 -31
  18. package/dist/{billing-4BFUAHWX.js → billing-LBRSBVXQ.js} +28 -27
  19. package/dist/{browser-5J2MTDB6.js → browser-CNTCFZOG.js} +23 -22
  20. package/dist/{bundleWithLocalizedFonts-XWK47ZVF.js → bundleWithLocalizedFonts-RVF7AFP5.js} +1 -1
  21. package/dist/{capture-TVYTKWTG.js → capture-CTRZEZTC.js} +38 -15
  22. package/dist/{capture-2YSVFKWV.js → capture-DLYM3V5F.js} +37 -33
  23. package/dist/{captureCompositionFrame-L765HLCT.js → captureCompositionFrame-2O2HP6SK.js} +27 -26
  24. package/dist/{captureFile-DOCK42K3.js → captureFile-W7ZDDBCD.js} +5 -4
  25. package/dist/captureProxy-4K3J652A.js +23 -0
  26. package/dist/{catalog-CHGGRRQX.js → catalog-6XL63LU3.js} +42 -38
  27. package/dist/{catch-up-OCFU6ZR3.js → catch-up-AOFQWE6O.js} +36 -28
  28. package/dist/{check-LWK4Z7FI.js → check-5V7K4RL6.js} +64 -63
  29. package/dist/{checkAudio-R5ORBXBO.js → checkAudio-4YUTDQSQ.js} +20 -19
  30. package/dist/{checkBrowser-6SH73T47.js → checkBrowser-BAWRZZZU.js} +56 -55
  31. package/dist/{chunk-CRPLPK6J.js → chunk-2ARKMOCD.js} +6 -6
  32. package/dist/{chunk-BSDUTNFX.js → chunk-2LJPBYKI.js} +1 -1
  33. package/dist/{chunk-KYKQO4VN.js → chunk-3DFEBAWJ.js} +3 -3
  34. package/dist/{chunk-VXE46PXX.js → chunk-3JVTHNDH.js} +1 -1
  35. package/dist/{chunk-JOOKM2NC.js → chunk-3QMGLSKC.js} +3 -3
  36. package/dist/{chunk-LO5USUM4.js → chunk-3RTZ2UX7.js} +1 -1
  37. package/dist/{chunk-GEOJA37C.js → chunk-4QSDXDLV.js} +3 -3
  38. package/dist/{chunk-HTGJOOXE.js → chunk-4STRMCGD.js} +3 -3
  39. package/dist/{chunk-D2LSYXLW.js → chunk-4VJQVTQI.js} +1 -1
  40. package/dist/{chunk-A4YRESMH.js → chunk-5T6HPV25.js} +2 -2
  41. package/dist/{chunk-O4K22EFS.js → chunk-65X2G57W.js} +24 -14
  42. package/dist/{chunk-2WA62M3B.js → chunk-6ATP7YPZ.js} +4 -4
  43. package/dist/{chunk-WLNHZ2OM.js → chunk-6K6RIX2A.js} +3 -3
  44. package/dist/{chunk-G3U5CUF3.js → chunk-6LGB4MVX.js} +2 -2
  45. package/dist/{chunk-4LZSNWFJ.js → chunk-6R4MEYWD.js} +3 -3
  46. package/dist/{chunk-H7DTMLAR.js → chunk-6UAYOSE7.js} +36 -21
  47. package/dist/{chunk-ZLTB7ZCQ.js → chunk-6VY52EVW.js} +1 -1
  48. package/dist/{chunk-Z642P33A.js → chunk-6VY6WTY5.js} +22 -13
  49. package/dist/{chunk-TLDIP7Y3.js → chunk-763UG5II.js} +16 -17
  50. package/dist/{chunk-PS7WBIPK.js → chunk-7CI5MLCC.js} +18 -18
  51. package/dist/{chunk-K2EJQ44S.js → chunk-7Q4EGB3N.js} +1 -1
  52. package/dist/{chunk-XMT4MG6W.js → chunk-7XOORL2Q.js} +14 -14
  53. package/dist/{chunk-H3LEOZVK.js → chunk-7YRZBB4C.js} +1 -1
  54. package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
  55. package/dist/{chunk-CDNVZEGQ.js → chunk-AEXDJU77.js} +5 -2
  56. package/dist/{chunk-7WAWUQDQ.js → chunk-AQIHV4PM.js} +4 -4
  57. package/dist/{chunk-NLVIE7VN.js → chunk-B653JKWT.js} +4 -4
  58. package/dist/{chunk-7WYJXKIG.js → chunk-BMTT2T7M.js} +4 -4
  59. package/dist/{chunk-OPSGEOCO.js → chunk-BTXYXM2A.js} +51 -29
  60. package/dist/{chunk-M5TTYUZM.js → chunk-C3NDLM4S.js} +6 -6
  61. package/dist/{chunk-MSC5KBCE.js → chunk-CAMD2NBN.js} +31 -23
  62. package/dist/{chunk-VLFBOKZX.js → chunk-CC72LTIT.js} +135 -43
  63. package/dist/{chunk-O5U3Y5DX.js → chunk-CIXP5G7Z.js} +1 -1
  64. package/dist/{chunk-ZYNNZ5DE.js → chunk-D44MBZI6.js} +2 -2
  65. package/dist/{chunk-RV3HR3BZ.js → chunk-DCRHNRUY.js} +9 -9
  66. package/dist/{chunk-ELRE6LVJ.js → chunk-DSCMYTKJ.js} +5 -5
  67. package/dist/{chunk-6RPKPL22.js → chunk-EGZQX3UX.js} +1 -1
  68. package/dist/{chunk-WEU6WLVT.js → chunk-ELDZ6C3R.js} +3 -3
  69. package/dist/{chunk-ZFOV3R2L.js → chunk-EUVU5JS4.js} +4 -4
  70. package/dist/{chunk-U5MILT4G.js → chunk-FC77MYAD.js} +1 -1
  71. package/dist/{chunk-CGJIMWNU.js → chunk-FFL5R2EZ.js} +4 -4
  72. package/dist/{chunk-ZCLC3KVY.js → chunk-FGJUVWAM.js} +1 -1
  73. package/dist/{chunk-JQZ5WP7L.js → chunk-FQ26QE5N.js} +1 -1
  74. package/dist/{chunk-CPDPSNSB.js → chunk-GMIFMRWR.js} +7 -7
  75. package/dist/{chunk-OL7RHRNJ.js → chunk-GYJ7AJXN.js} +2 -2
  76. package/dist/{chunk-CVTIGS5K.js → chunk-H3TD4VKX.js} +1 -1
  77. package/dist/{chunk-UDLWVQ74.js → chunk-HLOJSBGC.js} +28 -14
  78. package/dist/{chunk-MYETYFDI.js → chunk-HTISHNLA.js} +2 -2
  79. package/dist/{chunk-DWFWF6IR.js → chunk-HXFGAI6L.js} +31 -239
  80. package/dist/{chunk-GIVMQDSK.js → chunk-HY7FPTBD.js} +2 -2
  81. package/dist/{chunk-I6V25IXG.js → chunk-HYXQR5I3.js} +2 -2
  82. package/dist/{chunk-VI2LLFW6.js → chunk-I5H2FPNP.js} +2 -2
  83. package/dist/{chunk-4N3WOFP3.js → chunk-I6OSAVHD.js} +17 -13
  84. package/dist/{chunk-SV72WLBE.js → chunk-ISSG4PUD.js} +27 -14
  85. package/dist/{chunk-OEGWTN6N.js → chunk-J3H6QDDY.js} +1 -1
  86. package/dist/{chunk-FNXU56VT.js → chunk-J4OHC5FU.js} +1 -1
  87. package/dist/{chunk-FFOFGL2O.js → chunk-JLMMY3UI.js} +2 -2
  88. package/dist/{chunk-EOXNEA4Z.js → chunk-JQ7BPN2R.js} +20 -8
  89. package/dist/{chunk-SYKUNH25.js → chunk-JT7RXK2N.js} +59 -7
  90. package/dist/{chunk-AM4Y3XMR.js → chunk-JUUOYXWH.js} +4 -4
  91. package/dist/{chunk-DL6PEJWH.js → chunk-K2WLOTTF.js} +2 -2
  92. package/dist/{chunk-AM6UYKVR.js → chunk-K33E3YNK.js} +11 -11
  93. package/dist/{chunk-QGQCWG7F.js → chunk-KGPHUBBA.js} +1 -1
  94. package/dist/chunk-KK5Z5XQ3.js +109 -0
  95. package/dist/{chunk-A4L7G74T.js → chunk-KQHDFVFF.js} +3 -3
  96. package/dist/chunk-KUJJJBV2.js +211 -0
  97. package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
  98. package/dist/{chunk-AMS7Q7P7.js → chunk-KYXH4JWF.js} +8 -8
  99. package/dist/{chunk-O2BLY7PO.js → chunk-L456Q4KU.js} +1 -1
  100. package/dist/{chunk-JZVI2TMX.js → chunk-L4MXZHRB.js} +3 -3
  101. package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
  102. package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
  103. package/dist/{chunk-J6VYWZSO.js → chunk-LSGJY2FG.js} +1 -1
  104. package/dist/{chunk-ZAWQJOTW.js → chunk-LTOUXR3X.js} +8 -8
  105. package/dist/{chunk-D3M5VOC5.js → chunk-LZWG4GCC.js} +3 -3
  106. package/dist/{chunk-SALNTRJA.js → chunk-MHF5F4FF.js} +69 -76
  107. package/dist/{chunk-E26Z73S3.js → chunk-MTKXKULM.js} +2 -2
  108. package/dist/{chunk-GDIBE57N.js → chunk-MVA4OQL7.js} +2 -2
  109. package/dist/{chunk-UGKUGYHD.js → chunk-N6QWL3E7.js} +5 -2
  110. package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
  111. package/dist/chunk-NI7JVGOE.js +5083 -0
  112. package/dist/{chunk-HFUI6LVF.js → chunk-NLN5NY3P.js} +1 -1
  113. package/dist/{chunk-AJ7YRQS4.js → chunk-O733DEVT.js} +2 -2
  114. package/dist/{chunk-ZO5NHAF3.js → chunk-ODLSLYJR.js} +10 -4
  115. package/dist/{chunk-3VMZQQUI.js → chunk-OF7SQ77J.js} +1 -1
  116. package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
  117. package/dist/{chunk-TLGQQ324.js → chunk-OPIS2YMA.js} +13 -11
  118. package/dist/{chunk-IHXMN5YH.js → chunk-ORKZUTZW.js} +2 -2
  119. package/dist/{chunk-PYTF6VHF.js → chunk-OV5OSN74.js} +3 -3
  120. package/dist/{chunk-EZJHKHWU.js → chunk-OYKAS3J5.js} +3 -3
  121. package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
  122. package/dist/{chunk-TAXMLPTE.js → chunk-PCHUX7Y5.js} +2 -2
  123. package/dist/{chunk-MPC3OODR.js → chunk-PDT6CBK2.js} +4 -4
  124. package/dist/{chunk-GVIJFPZV.js → chunk-PHYFZXOS.js} +2 -2
  125. package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
  126. package/dist/{chunk-7ZHBY7T5.js → chunk-PLOCYJ5U.js} +1 -1
  127. package/dist/{chunk-GRSZAGJB.js → chunk-PMKWTXHE.js} +2 -2
  128. package/dist/{chunk-5SGGOZNL.js → chunk-POFQOZOF.js} +203 -55
  129. package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
  130. package/dist/{chunk-37Y334MN.js → chunk-PSREPOJ4.js} +6 -6
  131. package/dist/{chunk-4NNYYCJN.js → chunk-PYRM3OAI.js} +26 -20
  132. package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
  133. package/dist/{chunk-7ECPFKQV.js → chunk-QC35TPEE.js} +37 -13
  134. package/dist/{chunk-5IUVWP3A.js → chunk-QHVE6AFU.js} +2 -2
  135. package/dist/{chunk-SNKBI4YB.js → chunk-QJ2BV7FM.js} +2 -2
  136. package/dist/{chunk-OD7XWF5T.js → chunk-QKHW5NXL.js} +12 -6
  137. package/dist/{chunk-N6PAWR5C.js → chunk-QVHDAS3L.js} +5 -5
  138. package/dist/{chunk-4QPT3IEL.js → chunk-R3ONQOLE.js} +177 -55
  139. package/dist/{chunk-SM5PNCDI.js → chunk-RAOGN2HG.js} +2 -2
  140. package/dist/{chunk-X3UXEB2U.js → chunk-RDWGNSVI.js} +2 -2
  141. package/dist/{chunk-W2OXNTHG.js → chunk-RHFB457E.js} +3 -3
  142. package/dist/{chunk-Y6CZFX5X.js → chunk-RKIF4EU7.js} +28 -19
  143. package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
  144. package/dist/{chunk-IE6BIB3L.js → chunk-RX67N2PU.js} +3 -1
  145. package/dist/{chunk-ERDQIRUL.js → chunk-SC7SX2I3.js} +18 -8
  146. package/dist/{chunk-NJPLH762.js → chunk-SGQKP2JT.js} +4 -4
  147. package/dist/{chunk-ROESFEBP.js → chunk-SO7FT7YA.js} +67 -60
  148. package/dist/chunk-SXCM6VY3.js +125 -0
  149. package/dist/{chunk-SE4NOUB6.js → chunk-T5QI7ZL2.js} +1 -1
  150. package/dist/{chunk-XMAU5ZQX.js → chunk-TFAKFI3R.js} +1 -1
  151. package/dist/{chunk-3GKGBYW3.js → chunk-THGJTFYB.js} +37 -6
  152. package/dist/{chunk-OMZSPAK5.js → chunk-TIBFCGLT.js} +1 -1
  153. package/dist/{chunk-PGITR2WX.js → chunk-TIZC4XKU.js} +4 -4
  154. package/dist/{chunk-CGODFJZ7.js → chunk-TJGGLLQJ.js} +13 -13
  155. package/dist/{chunk-EWKJDXH6.js → chunk-TNFTRLLJ.js} +4 -4
  156. package/dist/{chunk-E4IR34CF.js → chunk-TVWDS5AT.js} +18 -8
  157. package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
  158. package/dist/{chunk-VBEDZGBW.js → chunk-UBNJWS2H.js} +74 -19
  159. package/dist/{chunk-DH3M5X3Y.js → chunk-UNB2DFR2.js} +4 -4
  160. package/dist/{chunk-V3O4AFO3.js → chunk-URHIQHDR.js} +13 -13
  161. package/dist/{chunk-MK23FXLH.js → chunk-UVZIABYZ.js} +20 -1
  162. package/dist/{chunk-JKLWQUSV.js → chunk-VFGFXE6J.js} +1 -1
  163. package/dist/{chunk-2GRCLLKU.js → chunk-VPPKUCSP.js} +3 -3
  164. package/dist/{chunk-UJTLTFB6.js → chunk-VXRTE7MZ.js} +1 -1
  165. package/dist/{chunk-IGZQYMZA.js → chunk-WDMSNDHS.js} +34 -25
  166. package/dist/{chunk-WJIWXHXK.js → chunk-WI3FM54X.js} +3 -3
  167. package/dist/{chunk-O2INZCGB.js → chunk-WKE3WTIU.js} +1 -1
  168. package/dist/{chunk-2SJNGWSY.js → chunk-WQGDE3L6.js} +1 -1
  169. package/dist/{chunk-WGHJUGNU.js → chunk-WRSGWDDB.js} +7 -7
  170. package/dist/{chunk-37VS6QY6.js → chunk-WTZT6FSK.js} +1 -1
  171. package/dist/{chunk-DX5Y3L5B.js → chunk-XWV6BOCG.js} +3 -3
  172. package/dist/{chunk-WQZQMADW.js → chunk-XXJBWKDS.js} +241 -25
  173. package/dist/{chunk-XYP4T6TQ.js → chunk-XXOEYRD5.js} +5 -5
  174. package/dist/{chunk-BSFTB6AM.js → chunk-XZ6THYIK.js} +11 -5
  175. package/dist/{chunk-ALD7JBPV.js → chunk-YBYNBKCN.js} +2 -2
  176. package/dist/{chunk-HFIVZJJD.js → chunk-YMKCJRVK.js} +1 -1
  177. package/dist/{chunk-X3IVUSOX.js → chunk-Z2U7ELGP.js} +3 -3
  178. package/dist/{chunk-M3IHARIW.js → chunk-ZIYYSD6S.js} +44 -21
  179. package/dist/{chunk-VSM7OIG2.js → chunk-ZMLZRMG7.js} +2 -2
  180. package/dist/{chunk-DHVRVI7F.js → chunk-ZQIMO52O.js} +9 -9
  181. package/dist/{clean-6ODSABBF.js → clean-Z5REUSNY.js} +40 -39
  182. package/dist/cli.js +119 -75
  183. package/dist/{cloud-IMYQB5RC.js → cloud-NJ7G3NF3.js} +4 -4
  184. package/dist/{cloud-NTKLXMBS.js → cloud-QP5R6B6A.js} +10 -9
  185. package/dist/{cloudrun-JNLDP33J.js → cloudrun-CPAZLNTW.js} +16 -15
  186. package/dist/{compare-VLYZ6ZS4.js → compare-T5CHD25P.js} +53 -52
  187. package/dist/{compiler-7M2UCEWG.js → compiler-QVDXN4OS.js} +9 -8
  188. package/dist/{component-KMUHKZ4R.js → component-QMZ46KTE.js} +24 -8
  189. package/dist/{compositions-ESLWNOMS.js → compositions-JHYYNBAK.js} +26 -25
  190. package/dist/{contactSheet-4YF7U6U7.js → contactSheet-7SPGUTDV.js} +8 -7
  191. package/dist/{curve-7RPSNRPE.js → curve-ON6QQY7T.js} +25 -24
  192. package/dist/{cuts-KBAAZSPS.js → cuts-K4FOVP4E.js} +26 -25
  193. package/dist/{delete-EP5Z7HKF.js → delete-6WFQ3FC2.js} +21 -20
  194. package/dist/{deploy-MVR63JLD.js → deploy-UAZQ5PBA.js} +14 -12
  195. package/dist/{describeProject-NBVZT5EN.js → describeProject-7W6BN5A2.js} +17 -16
  196. package/dist/{destroy-DQKIT574.js → destroy-4B4OVPHJ.js} +14 -12
  197. package/dist/{deterministicFonts-LYBMXXBW.js → deterministicFonts-VLIVGXUQ.js} +8 -7
  198. package/dist/{diff-RI3FTMOZ.js → diff-ZSA37QQS.js} +292 -104
  199. package/dist/{dist-TOOMD57O.js → dist-2O52E7QZ.js} +20 -19
  200. package/dist/{dist-LRGTXDSM.js → dist-ACT5C6ME.js} +5 -4
  201. package/dist/{dist-G7VFX23I.js → dist-VRYZIJFZ.js} +12 -7
  202. package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
  203. package/dist/{doctor-43YNRCRB.js → doctor-RXQ2Y2YY.js} +29 -28
  204. package/dist/{energy-YCH36KCC.js → energy-DRA3DCRO.js} +26 -25
  205. package/dist/{events-6RJBITYN.js → events-4SNBQE3M.js} +28 -27
  206. package/dist/{events-VUR27EF6.js → events-AJNF2C3H.js} +16 -15
  207. package/dist/{events-JCPYG3CD.js → events-GA3YM3WT.js} +9 -9
  208. package/dist/{execute-OXMKWIFI.js → execute-6LTZRWE4.js} +48 -47
  209. package/dist/{extract-XGD2RDEX.js → extract-XZQN654B.js} +27 -26
  210. package/dist/{face-XCNWNTGN.js → face-RKUNVSN3.js} +27 -26
  211. package/dist/{feedback-JNFDVBFV.js → feedback-AL7NPPMZ.js} +31 -29
  212. package/dist/{ffmpeg-YQLAJUEA.js → ffmpeg-BEL7EZBA.js} +17 -16
  213. package/dist/{figma-XXGHYEB3.js → figma-IZ3NH2KZ.js} +3 -3
  214. package/dist/fontLocalizeCli.js +24 -23
  215. package/dist/{frames-PEMWFRRY.js → frames-AYE53CSZ.js} +28 -27
  216. package/dist/{generate-H5M4QSJR.js → generate-BZ4EVVQI.js} +43 -42
  217. package/dist/{get-R6Y2OE5P.js → get-2GG4NSOK.js} +17 -16
  218. package/dist/{gpuPolicy-2WVDQYZA.js → gpuPolicy-W2ZGBXNG.js} +16 -15
  219. package/dist/{grade-compare-KFXPZFDL.js → grade-compare-65NWHVXK.js} +54 -53
  220. package/dist/hangReport.js +2 -2
  221. package/dist/{heifImagePrep-VLKYA5QZ.js → heifImagePrep-MRQ4KKDF.js} +19 -18
  222. package/dist/{help-T3XUX5RI.js → help-TEQWNNPI.js} +1 -1
  223. package/dist/{history-QJPUCUUC.js → history-MVNPETRW.js} +26 -25
  224. package/dist/hyperframe.manifest.json +1 -1
  225. package/dist/hyperframe.runtime.iife.js +64 -64
  226. package/dist/hyperframes-player.global.js +14 -6
  227. package/dist/{info-556DHJHJ.js → info-NGNTHWYX.js} +31 -30
  228. package/dist/{init-P62TPWR3.js → init-H7SUGVZX.js} +51 -48
  229. package/dist/{ink-SRN65OZH.js → ink-CPZ4YZFM.js} +26 -25
  230. package/dist/{inspect-U5FWQQFB.js → inspect-GZBQ7XN7.js} +56 -51
  231. package/dist/{installer-3TNMANQV.js → installer-ZTHYVK4L.js} +12 -11
  232. package/dist/{keyframes-FPGEFGCH.js → keyframes-B52LQUOI.js} +50 -37
  233. package/dist/{lambda-YJY2MYWL.js → lambda-SZDQJMKA.js} +30 -29
  234. package/dist/{layout-QIKSVA44.js → layout-BOUOG2D2.js} +56 -53
  235. package/dist/{lint-RD33ESM5.js → lint-H4OWI5JN.js} +23 -22
  236. package/dist/{lintProject-ZWLXB3A2.js → lintProject-P4EAXFU2.js} +5 -4
  237. package/dist/{list-FFO3WOB2.js → list-VNEYACGL.js} +20 -19
  238. package/dist/{localPage-DHIBMNJH.js → localPage-ZP7WVA2N.js} +17 -16
  239. package/dist/{login-IMFRQOEQ.js → login-RUDOUO5Z.js} +9 -9
  240. package/dist/{logout-SLBKP67J.js → logout-5ZO6ZNS3.js} +4 -4
  241. package/dist/{look-ZZHJYSPC.js → look-G3NVPKXZ.js} +26 -25
  242. package/dist/{manager-U4WEPCLV.js → manager-KWNID2ZA.js} +6 -6
  243. package/dist/{manager-V4LGD4HB.js → manager-NXH2NJC6.js} +18 -17
  244. package/dist/{measure-ZRBVN45B.js → measure-5PVIZ2W2.js} +11 -11
  245. package/dist/{media-treatment-3I2CMQJZ.js → media-treatment-T5QJI4PQ.js} +29 -28
  246. package/dist/{media-use-2OYJ3CCN.js → media-use-RTN3SMVY.js} +8 -8
  247. package/dist/{models-PRW7EWSV.js → models-J2CJ7EVX.js} +29 -28
  248. package/dist/{motionShot-VWILMLHQ.js → motionShot-HU7P26WJ.js} +31 -30
  249. package/dist/{normalize-PGMS24I2.js → normalize-44E7R6T5.js} +5 -1
  250. package/dist/{normalize-audio-42XMF35K.js → normalize-audio-2YFTP2T6.js} +21 -20
  251. package/dist/{oauth-V3HSFZRE.js → oauth-E5QBYYTX.js} +2 -2
  252. package/dist/{open-D52MJZQA.js → open-RSCNUV6E.js} +32 -31
  253. package/dist/{parakeetRunner-ZR2JWQZH.js → parakeetRunner-BUY25EIR.js} +28 -27
  254. package/dist/{pipeline-W3H4JA6H.js → pipeline-A4RL5R5P.js} +22 -21
  255. package/dist/{plan-2HQOFJO7.js → plan-7WYNPILA.js} +36 -35
  256. package/dist/{play-G5XDRDIZ.js → play-UKHFNMYZ.js} +44 -42
  257. package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
  258. package/dist/{preflight-W2JDYF3T.js → preflight-2VFCT3PI.js} +20 -19
  259. package/dist/{present-CYMTHQFM.js → present-ZUGFCQOF.js} +39 -37
  260. package/dist/{preview-DTQPQZTK.js → preview-BT2ZFYMC.js} +43 -42
  261. package/dist/{probe-WZJK3YQI.js → probe-2CLEK2UT.js} +26 -25
  262. package/dist/{producer-2BSMSO6I.js → producer-HCAMS55D.js} +1 -1
  263. package/dist/{progress-KRDVC24C.js → progress-5A4N7PTR.js} +7 -5
  264. package/dist/{projectConfig-BYRVYLCC.js → projectConfig-2KJ2PXIM.js} +15 -14
  265. package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
  266. package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
  267. package/dist/{publication-UCFJLELD.js → publication-AR63EGJF.js} +9 -8
  268. package/dist/{publish-KXVPSWCO.js → publish-EGKYOJWV.js} +73 -63
  269. package/dist/{refresh-2GVNKDQE.js → refresh-GYRLZ7DZ.js} +4 -4
  270. package/dist/{remove-background-O7BZNS3X.js → remove-background-IQQPMM24.js} +26 -25
  271. package/dist/{render-TYS3LCIQ.js → render-HJRMJYTA.js} +16 -14
  272. package/dist/{render-QOWXGWQZ.js → render-ROJ5X53T.js} +62 -60
  273. package/dist/{render-DGAP4Q2Z.js → render-YNSZYEEK.js} +91 -83
  274. package/dist/{render-batch-TEQRGAUC.js → render-batch-MXYDIHRO.js} +20 -17
  275. package/dist/renderSetupWorker.js +21 -11
  276. package/dist/{resolver-RN2JGGQL.js → resolver-SPLAVF76.js} +12 -11
  277. package/dist/{reverse-FUARFEG2.js → reverse-CE6OGBB7.js} +1 -1
  278. package/dist/{run-V722HMUG.js → run-YVNJJL26.js} +14 -13
  279. package/dist/runtimeVersion.js +6 -1
  280. package/dist/{sam-KHLM2DJA.js → sam-2D3BUTL7.js} +5 -5
  281. package/dist/{screenshotCapture-4BB4LUMX.js → screenshotCapture-DRO7VMNI.js} +19 -18
  282. package/dist/{service-ZPCHJY6B.js → service-K65JYG4O.js} +28 -26
  283. package/dist/{share-PXUN7AH7.js → share-CSVWF6SB.js} +33 -31
  284. package/dist/{sherpa-LT6Y7IGM.js → sherpa-JE6AFUEV.js} +27 -26
  285. package/dist/sherpaWorker.js +7 -6
  286. package/dist/{sites-WWCABDSX.js → sites-QCGTWVNF.js} +9 -6
  287. package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
  288. package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
  289. package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
  290. package/dist/{skills-G63W5GD5.js → skills-L3BXM7VJ.js} +22 -21
  291. package/dist/{skillsUpdateCheck-2T3JVDAA.js → skillsUpdateCheck-VUENI5OR.js} +7 -7
  292. package/dist/{snapshot-EVSKTVDG.js → snapshot-GI2GWIF6.js} +90 -79
  293. package/dist/{src-R57EQQSI.js → src-B646B52O.js} +19 -14
  294. package/dist/{src-K5FSMLTB.js → src-ZXZO5RCJ.js} +25 -24
  295. package/dist/{start-XBCYKGBV.js → start-ZNGKXRNE.js} +40 -39
  296. package/dist/{state-FO64CPYE.js → state-7CJBWHXJ.js} +7 -5
  297. package/dist/{staticProjectServer-Q6VR7CXT.js → staticProjectServer-46T6YTPF.js} +31 -30
  298. package/dist/{status-E5XIWRCQ.js → status-7SWTPLVI.js} +31 -30
  299. package/dist/studio/assets/hyperframes-player-bya4hgms.js +573 -0
  300. package/dist/studio/assets/{index-ww7-RmuM.js → index--dcfSUzI.js} +1 -1
  301. package/dist/studio/assets/{index-D7ICtobF.js → index-Bxh5lW0C.js} +117 -117
  302. package/dist/studio/assets/{pausedVideoDecoder-Dbe8Cmab.js → pausedVideoDecoder-BKym1jA6.js} +1 -1
  303. package/dist/studio/index.html +1 -1
  304. package/dist/{studio-api-GMJVYGET.js → studio-api-4XKM5HDR.js} +20 -19
  305. package/dist/{studioServer-MIQCMK6U.js → studioServer-4TWRIZNU.js} +176 -125
  306. package/dist/subCompositionWorker.js +11 -10
  307. package/dist/{sync-WJOFN6VN.js → sync-R3K6LYB3.js} +26 -25
  308. package/dist/{synthesize-FXM7ZD6J.js → synthesize-OZ3SJTOF.js} +22 -13
  309. package/dist/{system-DBUN5UDD.js → system-LZ4PMOJD.js} +3 -3
  310. package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
  311. package/dist/{telemetry-HZ4P4DMC.js → telemetry-WSBY25O3.js} +16 -15
  312. package/dist/{templates-KFZZSSKW.js → templates-ITP6ISAF.js} +36 -29
  313. package/dist/{timeline-5M6DPCXF.js → timeline-U7GJMYKV.js} +42 -37
  314. package/dist/{tokens-H4NPNRFR.js → tokens-3YTSUU27.js} +6 -6
  315. package/dist/{transcribe-7PE5UH7J.js → transcribe-ISCBYWN4.js} +23 -22
  316. package/dist/{transcribe-6STI2ALX.js → transcribe-QHHY5M3G.js} +51 -50
  317. package/dist/{tts-D7CLD3AD.js → tts-24IJXIT2.js} +9 -9
  318. package/dist/{update-H3T3AVVG.js → update-SVEH2GOL.js} +24 -23
  319. package/dist/{updateCheck-TLCXUNBV.js → updateCheck-MDG7N7VO.js} +6 -6
  320. package/dist/{upgrade-BZVTMCQU.js → upgrade-6CGAI4OR.js} +12 -11
  321. package/dist/{urlDownloader-FJXNC3IM.js → urlDownloader-VPQTIGEH.js} +15 -14
  322. package/dist/{validate-WTRVCEL5.js → validate-QUB4KCEQ.js} +47 -42
  323. package/dist/{video-TVO2U5F2.js → video-PUGZ5UHS.js} +35 -29
  324. package/dist/{voices-F3EW43LX.js → voices-4UO5AYLS.js} +40 -39
  325. package/dist/warmCheck.js +65 -64
  326. package/dist/warmCheckClient.js +4 -4
  327. package/package.json +1 -1
  328. package/dist/chunk-23SG3B6M.js +0 -81
  329. package/dist/chunk-2RUCE54M.js +0 -5083
  330. package/dist/chunk-JOQR4AP6.js +0 -22
  331. package/dist/studio/assets/hyperframes-player-B78JDyI_.js +0 -565
  332. package/dist/{chunk-7IMHPBSH.js → chunk-4NDSGKPO.js} +3 -3
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  runCancellableProcess,
9
9
  runRenderSetupWorker
10
- } from "./chunk-X6JUUQCM.js";
10
+ } from "./chunk-Q4FVSYTD.js";
11
11
  import {
12
12
  getFreeDiskMb
13
- } from "./chunk-O2INZCGB.js";
13
+ } from "./chunk-WKE3WTIU.js";
14
14
  import {
15
15
  browserPathFromEnv,
16
16
  isPinnedHeadlessShell,
@@ -18,14 +18,18 @@ import {
18
18
  pickSharedShell
19
19
  } from "./chunk-6LU6JICP.js";
20
20
  import {
21
- hyperframesCacheDir
22
- } from "./chunk-JOQR4AP6.js";
21
+ assertPrivateCachePath,
22
+ ensurePrivateCacheDir,
23
+ foreignWritableTree,
24
+ sealCacheInstall,
25
+ trustedCacheRoot
26
+ } from "./chunk-KUJJJBV2.js";
23
27
  import {
24
28
  normalizeErrorMessage
25
29
  } from "./chunk-E63BDV4Z.js";
26
30
  import {
27
31
  findTrustedExecutable
28
- } from "./chunk-IE6BIB3L.js";
32
+ } from "./chunk-RX67N2PU.js";
29
33
 
30
34
  // src/browser/manager.ts
31
35
  import { spawnSync } from "child_process";
@@ -153,8 +157,8 @@ Fix: run \`npm install\` or \`bun install\` to restore missing packages, then re
153
157
  );
154
158
  }
155
159
  }
156
- var CACHE_ROOT_DIR = hyperframesCacheDir();
157
- var CACHE_DIR = hyperframesCacheDir("chrome");
160
+ var CACHE_ROOT_DIR = trustedCacheRoot();
161
+ var CACHE_DIR = join(CACHE_ROOT_DIR, "chrome");
158
162
  var ARCHIVE_PLUS_UNPACKED_SHELL_MB = 512;
159
163
  var PUPPETEER_CACHE_DIR = join(homedir(), ".cache", "puppeteer", "chrome-headless-shell");
160
164
  var INSTALL_LOCK_DIR = join(CACHE_ROOT_DIR, ".chrome.install.lock");
@@ -221,7 +225,7 @@ function touchInstallLock() {
221
225
  }
222
226
  }
223
227
  async function withInstallLock(fn, timings = INSTALL_LOCK_TIMINGS) {
224
- if (!existsSync(CACHE_ROOT_DIR)) mkdirSync(CACHE_ROOT_DIR, { recursive: true });
228
+ ensurePrivateCacheDir(CACHE_ROOT_DIR, CACHE_ROOT_DIR);
225
229
  let deadline = Date.now() + timings.staleMs;
226
230
  const waitStart = Date.now();
227
231
  let lastNoticeMs = 0;
@@ -326,7 +330,7 @@ async function findFromHyperframesCache() {
326
330
  const match = installed.find(
327
331
  (b) => b.browser === Browser.CHROMEHEADLESSSHELL && b.buildId === managedChromeVersion() && b.platform === hostPlatform
328
332
  );
329
- if (match && isPinnedHeadlessShell(match.executablePath)) {
333
+ if (match && isPinnedHeadlessShell(match.executablePath) && !foreignWritableTree(dirname2(match.executablePath), CACHE_ROOT_DIR)) {
330
334
  return { result: { executablePath: match.executablePath, source: "cache" } };
331
335
  }
332
336
  if (match) {
@@ -404,7 +408,7 @@ async function findBrowser() {
404
408
  if (fromCache.result) return fromCache.result;
405
409
  if (fromCache.staleHyperframesCachePath) {
406
410
  console.warn(
407
- `[browser] Cached binary missing or not the pinned build at ${fromCache.staleHyperframesCachePath} \u2014 re-downloading...`
411
+ `[browser] Cached binary missing, not the pinned build, or writable by another account at ${fromCache.staleHyperframesCachePath} \u2014 re-downloading...`
408
412
  );
409
413
  try {
410
414
  return await withInstallLock(() => downloadBrowser());
@@ -498,7 +502,7 @@ async function ensureBrowserInCurrentProcess(options) {
498
502
  if (fromCache.result) return fromCache.result;
499
503
  if (fromCache.staleHyperframesCachePath) {
500
504
  console.warn(
501
- `[browser] Cached binary missing or not the pinned build at ${fromCache.staleHyperframesCachePath} \u2014 re-downloading...`
505
+ `[browser] Cached binary missing, not the pinned build, or writable by another account at ${fromCache.staleHyperframesCachePath} \u2014 re-downloading...`
502
506
  );
503
507
  return withInstallLock(() => downloadBrowser(options));
504
508
  }
@@ -661,7 +665,11 @@ async function downloadBrowser(options) {
661
665
  const stagingDir = join(CACHE_ROOT_DIR, `${STAGING_PREFIX}${randomUUID()}`);
662
666
  const clearStaging = () => rmSync(stagingDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
663
667
  const unzipLog = { lines: [] };
664
- const runInstall = stagedInstaller(browsers, platform, stagingDir, options, unzipLog);
668
+ const install = stagedInstaller(browsers, platform, stagingDir, options, unzipLog);
669
+ const runInstall = () => {
670
+ ensurePrivateCacheDir(stagingDir, CACHE_ROOT_DIR);
671
+ return install();
672
+ };
665
673
  try {
666
674
  const staged = await retryWhileLocked(
667
675
  () => retryOnStall(
@@ -710,7 +718,8 @@ function assertExecutableUnpacked(stagingDir, executablePath) {
710
718
  function moveStagedInstallIntoCache(stagingDir, staged) {
711
719
  const target = join(CACHE_DIR, relative(stagingDir, staged.path));
712
720
  const aside = join(CACHE_ROOT_DIR, `${REPLACED_PREFIX}${randomUUID()}`);
713
- mkdirSync(dirname2(target), { recursive: true });
721
+ sealCacheInstall(staged.path, stagingDir);
722
+ ensurePrivateCacheDir(dirname2(target), CACHE_ROOT_DIR, 493);
714
723
  let replaced = false;
715
724
  try {
716
725
  renameSync(target, aside);
@@ -725,7 +734,11 @@ function moveStagedInstallIntoCache(stagingDir, staged) {
725
734
  throw err;
726
735
  }
727
736
  if (replaced) removeLeftover(aside);
728
- return join(target, relative(staged.path, staged.executablePath));
737
+ sealCacheInstall(target, CACHE_ROOT_DIR);
738
+ return assertPrivateCachePath(
739
+ join(target, relative(staged.path, staged.executablePath)),
740
+ CACHE_ROOT_DIR
741
+ );
729
742
  }
730
743
  var STAGING_PREFIX = ".chrome-staging-";
731
744
  var REPLACED_PREFIX = ".chrome-replaced-";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findTrustedExecutable
9
- } from "./chunk-IE6BIB3L.js";
9
+ } from "./chunk-RX67N2PU.js";
10
10
 
11
11
  // src/tts/python.ts
12
12
  import { execFileSync } from "child_process";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-D54ZDCZR.js";
11
11
  import {
12
12
  findFfBinary
13
- } from "./chunk-IE6BIB3L.js";
13
+ } from "./chunk-RX67N2PU.js";
14
14
 
15
15
  // src/audio/analysis/decode.ts
16
16
  import { execFile } from "child_process";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.9.58" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.9.58" : "0.0.0-dev";
9
+ var VERSION = true ? "0.9.59" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.9.59" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -15,22 +15,27 @@ import {
15
15
  } from "./chunk-JJ47LVJ7.js";
16
16
  import {
17
17
  findFFmpeg
18
- } from "./chunk-4LZSNWFJ.js";
18
+ } from "./chunk-6R4MEYWD.js";
19
19
  import {
20
20
  stoppableExecFile
21
21
  } from "./chunk-HU2SPFNG.js";
22
22
  import {
23
- hyperframesCacheDir
24
- } from "./chunk-JOQR4AP6.js";
23
+ assertPrivateCachePath,
24
+ ensurePrivateCacheDir,
25
+ foreignWritableTree,
26
+ hyperframesCacheDir,
27
+ sealCacheInstall,
28
+ trustedCacheRoot
29
+ } from "./chunk-KUJJJBV2.js";
25
30
  import {
26
31
  findTrustedExecutable
27
- } from "./chunk-IE6BIB3L.js";
32
+ } from "./chunk-RX67N2PU.js";
28
33
 
29
34
  // src/whisper/manager.ts
30
35
  import { execFileSync } from "child_process";
31
36
  import { existsSync, mkdirSync, readdirSync, rmSync, statSync } from "fs";
32
37
  import { platform } from "os";
33
- import { join } from "path";
38
+ import { dirname, join } from "path";
34
39
  var MODELS_DIR = hyperframesCacheDir("whisper", "models");
35
40
  var DEFAULT_MODEL = "small.en";
36
41
  var WhisperUnavailableError = class extends Error {
@@ -118,7 +123,8 @@ function findFromSystem() {
118
123
  }
119
124
  return void 0;
120
125
  }
121
- var BUILD_DIR = hyperframesCacheDir("whisper", "whisper.cpp");
126
+ var CODE_ROOT = trustedCacheRoot();
127
+ var BUILD_DIR = join(CODE_ROOT, "whisper", "whisper.cpp");
122
128
  var WHISPER_REPO = "https://github.com/ggml-org/whisper.cpp.git";
123
129
  var WHISPER_TAG = "v1.9.5";
124
130
  var WHISPER_COMMIT = "d1be6fde11ac6e0407606b4e42fe72d34add8037";
@@ -142,17 +148,19 @@ function findBuiltBinary() {
142
148
  join(BUILD_DIR, "build", "bin", `whisper-cli${exe}`),
143
149
  join(BUILD_DIR, "build", `whisper-cli${exe}`)
144
150
  ]) {
145
- if (existsSync(p)) return { executablePath: p, source: "build" };
151
+ if (existsSync(p) && !foreignWritableTree(BUILD_DIR, CODE_ROOT))
152
+ return { executablePath: p, source: "build" };
146
153
  }
147
154
  return void 0;
148
155
  }
149
156
  async function buildFromSource({ git, cmake }, onProgress, signal) {
157
+ ensurePrivateCacheDir(dirname(BUILD_DIR), CODE_ROOT);
150
158
  if (existsSync(BUILD_DIR) && !findBuiltBinary()) {
151
159
  rmSync(BUILD_DIR, { recursive: true, force: true });
152
160
  }
153
161
  if (!existsSync(BUILD_DIR)) {
154
162
  onProgress?.("Downloading whisper.cpp...");
155
- mkdirSync(BUILD_DIR, { recursive: true });
163
+ ensurePrivateCacheDir(BUILD_DIR, CODE_ROOT);
156
164
  await stoppableExecFile(
157
165
  git,
158
166
  ["clone", "--depth", "1", "--branch", WHISPER_TAG, WHISPER_REPO, "."],
@@ -167,6 +175,8 @@ async function buildFromSource({ git, cmake }, onProgress, signal) {
167
175
  assertPinnedCheckout(git);
168
176
  }
169
177
  onProgress?.("Building whisper.cpp (this may take a minute)...");
178
+ sealCacheInstall(BUILD_DIR, CODE_ROOT);
179
+ assertPrivateCachePath(BUILD_DIR, CODE_ROOT);
170
180
  try {
171
181
  await stoppableExecFile(cmake, ["-B", "build"], {
172
182
  cwd: BUILD_DIR,
@@ -192,6 +202,8 @@ ${stderr.slice(-500)}`;
192
202
  `whisper-cpp build failed. Ensure cmake and a C compiler are installed.${detail}`
193
203
  );
194
204
  }
205
+ sealCacheInstall(BUILD_DIR, CODE_ROOT);
206
+ assertPrivateCachePath(BUILD_DIR, CODE_ROOT);
195
207
  const result = findBuiltBinary();
196
208
  if (!result) throw new Error("Build completed but whisper-cli not found");
197
209
  return result;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  replaceFileAtomically
9
- } from "./chunk-DL6PEJWH.js";
9
+ } from "./chunk-K2WLOTTF.js";
10
10
 
11
11
  // src/utils/projectRecords.ts
12
12
  import {
@@ -17,9 +17,10 @@ import {
17
17
  mkdirSync,
18
18
  openSync,
19
19
  readSync,
20
- unlinkSync
20
+ unlinkSync,
21
+ writeSync
21
22
  } from "fs";
22
- import { join } from "path";
23
+ import { isAbsolute, join, relative, resolve, sep } from "path";
23
24
  var NO_FOLLOW = constants.O_NOFOLLOW ?? 0;
24
25
  var NON_BLOCK = constants.O_NONBLOCK ?? 0;
25
26
  function recordsDir(projectDir, name, create = false) {
@@ -40,6 +41,11 @@ function recordsDir(projectDir, name, create = false) {
40
41
  return dir;
41
42
  }
42
43
  var recordFile = (name) => name.split("/").at(-1) ?? name;
44
+ function plainFileAt(fd, path) {
45
+ const stats = fstatSync(fd);
46
+ const named = lstatSync(path);
47
+ return stats.isFile() && named.isFile() && named.ino === stats.ino && named.dev === stats.dev ? stats : null;
48
+ }
43
49
  function readPlainTail(path, maxBytes) {
44
50
  let fd;
45
51
  try {
@@ -48,10 +54,8 @@ function readPlainTail(path, maxBytes) {
48
54
  return null;
49
55
  }
50
56
  try {
51
- const stats = fstatSync(fd);
52
- const named = lstatSync(path);
53
- if (!stats.isFile() || !named.isFile() || named.ino !== stats.ino || named.dev !== stats.dev)
54
- return null;
57
+ const stats = plainFileAt(fd, path);
58
+ if (!stats) return null;
55
59
  const length = Math.min(stats.size, maxBytes);
56
60
  const buffer = Buffer.alloc(length);
57
61
  readSync(fd, buffer, 0, length, stats.size - length);
@@ -93,9 +97,54 @@ function writeRecord(projectDir, name, data) {
93
97
  const dir = recordsDir(projectDir, name, true);
94
98
  return dir !== null && replaceFile(join(dir, recordFile(name)), data, 384);
95
99
  }
100
+ function appendRecord(projectDir, name, data) {
101
+ const dir = recordsDir(projectDir, name, true);
102
+ if (!dir) return false;
103
+ const path = join(dir, recordFile(name));
104
+ if (recordKind(projectDir, name) === "other") return false;
105
+ let fd;
106
+ try {
107
+ const flags = constants.O_WRONLY | constants.O_APPEND | constants.O_CREAT;
108
+ fd = openSync(path, flags | NO_FOLLOW | NON_BLOCK, 384);
109
+ } catch {
110
+ return false;
111
+ }
112
+ try {
113
+ if ((plainFileAt(fd, path)?.nlink ?? 2) > 1) return false;
114
+ writeSync(fd, data);
115
+ return true;
116
+ } catch {
117
+ return false;
118
+ } finally {
119
+ closeSync(fd);
120
+ }
121
+ }
122
+ function recordKind(projectDir, name) {
123
+ const parts = [".hyperframes", ...name.split("/")];
124
+ let path = projectDir;
125
+ for (const [index, part] of parts.entries()) {
126
+ path = join(path, part);
127
+ try {
128
+ const stats = lstatSync(path, { throwIfNoEntry: false });
129
+ if (!stats) return "absent";
130
+ if (!(index === parts.length - 1 ? stats.isFile() : stats.isDirectory())) return "other";
131
+ } catch {
132
+ return "other";
133
+ }
134
+ }
135
+ return "file";
136
+ }
96
137
  function recordFolder(projectDir, folder) {
97
138
  return recordsDir(projectDir, `${folder.replaceAll("\\", "/")}/`, true);
98
139
  }
140
+ function projectFolder(projectDir, folder) {
141
+ const inside = relative(join(resolve(projectDir), ".hyperframes"), resolve(folder));
142
+ if (inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside)) {
143
+ mkdirSync(folder, { recursive: true });
144
+ return folder;
145
+ }
146
+ return recordFolder(projectDir, inside);
147
+ }
99
148
  function removeRecord(projectDir, name) {
100
149
  const dir = recordsDir(projectDir, name);
101
150
  try {
@@ -114,6 +163,9 @@ export {
114
163
  recordChangedAt,
115
164
  replaceFile,
116
165
  writeRecord,
166
+ appendRecord,
167
+ recordKind,
117
168
  recordFolder,
169
+ projectFolder,
118
170
  removeRecord
119
171
  };
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  fetchLocalPageUrl
9
- } from "./chunk-MPC3OODR.js";
9
+ } from "./chunk-PDT6CBK2.js";
10
10
  import {
11
11
  ensureCaptureDirSync,
12
12
  writeCaptureFileSync
13
- } from "./chunk-37VS6QY6.js";
13
+ } from "./chunk-WTZT6FSK.js";
14
14
  import {
15
15
  loadSharp
16
- } from "./chunk-YTHXSYYB.js";
16
+ } from "./chunk-LB6ZAP4I.js";
17
17
  import {
18
18
  createCaptureDownloadBudget,
19
19
  readBoundedResponse
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  isBlockedNetworkHost,
23
23
  publicRequest
24
- } from "./chunk-OSKSTJNQ.js";
24
+ } from "./chunk-PJQVJSMG.js";
25
25
  import {
26
26
  DOMParser,
27
27
  parseHTML
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  realpath
9
- } from "./chunk-SALNTRJA.js";
9
+ } from "./chunk-MHF5F4FF.js";
10
10
  import {
11
11
  terminalText
12
- } from "./chunk-MK23FXLH.js";
12
+ } from "./chunk-UVZIABYZ.js";
13
13
 
14
14
  // ../core/dist/removeScratch.js
15
15
  import { AsyncLocalStorage } from "async_hooks";
@@ -9,18 +9,18 @@ import {
9
9
  KOKORO_PIP,
10
10
  MUSICGEN_MODULES,
11
11
  MUSICGEN_PIP
12
- } from "./chunk-UJTLTFB6.js";
12
+ } from "./chunk-VXRTE7MZ.js";
13
13
  import {
14
14
  describeRejectedPythonOverride,
15
15
  hasPythonModules
16
- } from "./chunk-OEGWTN6N.js";
16
+ } from "./chunk-J3H6QDDY.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-BSFTB6AM.js";
19
+ } from "./chunk-XZ6THYIK.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
23
- } from "./chunk-YTHXSYYB.js";
23
+ } from "./chunk-LB6ZAP4I.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
@@ -29,35 +29,35 @@ import {
29
29
  } from "./chunk-JCNPHRGX.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-VLFBOKZX.js";
32
+ } from "./chunk-CC72LTIT.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
36
36
  getSystemMeta
37
- } from "./chunk-O2INZCGB.js";
37
+ } from "./chunk-WKE3WTIU.js";
38
38
  import {
39
39
  getAvailableMemoryMb
40
- } from "./chunk-O5U3Y5DX.js";
40
+ } from "./chunk-CIXP5G7Z.js";
41
41
  import {
42
42
  getUpdateMeta,
43
43
  installChannelLabel,
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-KYKQO4VN.js";
47
+ } from "./chunk-3DFEBAWJ.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-AWD2MWWL.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-FFOFGL2O.js";
54
+ } from "./chunk-JLMMY3UI.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
58
58
  import {
59
59
  findTrustedExecutable
60
- } from "./chunk-IE6BIB3L.js";
60
+ } from "./chunk-RX67N2PU.js";
61
61
 
62
62
  // src/commands/doctor.ts
63
63
  import { execFileSync } from "child_process";
@@ -261,7 +261,7 @@ function checkEnvironment() {
261
261
  return { ok: true, detail: parts.join(" \xB7 ") };
262
262
  }
263
263
  async function checkWhisper() {
264
- const { findWhisper, getInstallInstructions } = await import("./manager-V4LGD4HB.js");
264
+ const { findWhisper, getInstallInstructions } = await import("./manager-NXH2NJC6.js");
265
265
  const result = findWhisper();
266
266
  if (result) {
267
267
  return { ok: true, detail: result.executablePath };
@@ -8,7 +8,7 @@ import {
8
8
  apiBaseUrl,
9
9
  isHeaderSafe,
10
10
  readStore
11
- } from "./chunk-XMAU5ZQX.js";
11
+ } from "./chunk-TFAKFI3R.js";
12
12
  import {
13
13
  projectEnvDir
14
14
  } from "./chunk-ECGNWHFE.js";
@@ -0,0 +1,109 @@
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
+ // ../parsers/dist/privatePath.js
9
+ import { realpathSync } from "fs";
10
+ import { isAbsolute, relative, resolve, sep } from "path";
11
+ function realpath(path) {
12
+ try {
13
+ return realpathSync.native(path);
14
+ } catch (error) {
15
+ if (error.code === "EISDIR") return realpathSync(path);
16
+ throw error;
17
+ }
18
+ }
19
+ function projectPathSegments(relPath) {
20
+ return relPath.normalize("NFKC").toUpperCase().toLowerCase().replace(new RegExp("\\p{Default_Ignorable_Code_Point}", "gu"), "").split(/[\\/]/).map((segment) => withoutTrailingDotsOrSpaces(segment.split(":", 1)[0] ?? ""));
21
+ }
22
+ function withoutTrailingDotsOrSpaces(segment) {
23
+ let end = segment.length;
24
+ while (end > 0 && (segment[end - 1] === "." || segment[end - 1] === " ")) end--;
25
+ return segment.slice(0, end);
26
+ }
27
+ function isVcsOrSecretPath(relPath) {
28
+ return projectPathSegments(relPath).some(
29
+ (segment) => segment === ".git" || segment.startsWith(".env")
30
+ );
31
+ }
32
+ var STUDIO_FILES = /* @__PURE__ */ new Set([
33
+ ".hyperframes/studio-motion.json",
34
+ ".hyperframes/studio-manual-edits.json"
35
+ ]);
36
+ var STUDIO_FOLDERS = [".hyperframes/prepared-assets", ".hyperframes/requests"];
37
+ var CREDENTIAL_FILES = /* @__PURE__ */ new Set([
38
+ ".npmrc",
39
+ ".yarnrc",
40
+ ".yarnrc.yml",
41
+ ".pypirc",
42
+ "pip.conf",
43
+ "pip.ini",
44
+ ".netrc",
45
+ "_netrc",
46
+ ".git-credentials",
47
+ ".gitconfig",
48
+ ".mcp.json"
49
+ ]);
50
+ var CREDENTIAL_FOLDERS = /* @__PURE__ */ new Set([
51
+ ".ssh",
52
+ ".aws",
53
+ ".gnupg",
54
+ ".docker",
55
+ ".kube",
56
+ ".azure",
57
+ ".claude",
58
+ ".codex",
59
+ ".cursor",
60
+ ".agents",
61
+ ".gemini",
62
+ ".vscode",
63
+ ".idea"
64
+ ]);
65
+ var CREDENTIAL_CONFIG_FOLDERS = /* @__PURE__ */ new Set(["gcloud", "gh"]);
66
+ var KEY_FILE = /^(?:id_(?:rsa|dsa|ecdsa|ed25519).*|.*\.(?:pem|key|p12|pfx|p8|ppk|jks|keystore|kdbx))$/;
67
+ var SECRET_STORE_FILE = /\.(?:tfstate(?:\.backup)?|tfvars(?:\.json)?)$/;
68
+ function isCredentialOrToolStatePath(relPath) {
69
+ const segments = projectPathSegments(relPath);
70
+ const name = segments.at(-1) ?? "";
71
+ return CREDENTIAL_FILES.has(name) || KEY_FILE.test(name) || SECRET_STORE_FILE.test(name) || segments.some(
72
+ (segment, at) => CREDENTIAL_FOLDERS.has(segment) || segment === ".config" && CREDENTIAL_CONFIG_FOLDERS.has(segments[at + 1] ?? "")
73
+ );
74
+ }
75
+ function isStudioPrivatePath(relPath) {
76
+ if (isVcsOrSecretPath(relPath) || isCredentialOrToolStatePath(relPath)) return true;
77
+ const segments = projectPathSegments(relPath);
78
+ const inside = !isAbsolute(relPath) && !/^\.\.[. ]*$/.test(relPath.split(/[\\/]/, 1)[0] ?? "");
79
+ const loadedType = LOADED_ASSET_TYPE.test(segments.at(-1) ?? "");
80
+ return segments.some((segment, at) => {
81
+ const atRoot = segments.slice(0, at).every((before) => before === "");
82
+ if (segment === ".hyperframes")
83
+ return !atRoot || !isStudioOwnFile(segments.slice(at).join("/"));
84
+ const mediaFolder = atRoot && segment === MEDIA_FOLDER;
85
+ return inside && segment.startsWith(".") && !mediaFolder && !loadedType;
86
+ });
87
+ }
88
+ var MEDIA_FOLDER = ".media";
89
+ var LOADED_ASSET_TYPE = /.\.(?:png|jpe?g|gif|webp|avif|svg|ico|bmp|tiff?|heic|heif|mp4|m4v|mov|webm|mkv|mxf|avi|mp3|wav|m4a|aac|ogg|oga|opus|flac|woff2?|ttf|otf|css|m?js|cjs)$/;
90
+ function isStudioOwnFile(path) {
91
+ return STUDIO_FILES.has(path) || STUDIO_FOLDERS.some((folder) => path === folder || path.startsWith(`${folder}/`));
92
+ }
93
+ function isPrivateFileUnder(projectDir, filePath, isPrivate) {
94
+ const rel = (from, to) => relative(from, to).split(sep).join("/");
95
+ if (isPrivate(rel(resolve(projectDir), resolve(filePath)))) return true;
96
+ try {
97
+ return isPrivate(rel(realpath(resolve(projectDir)), realpath(filePath)));
98
+ } catch {
99
+ return false;
100
+ }
101
+ }
102
+
103
+ export {
104
+ projectPathSegments,
105
+ isVcsOrSecretPath,
106
+ isCredentialOrToolStatePath,
107
+ isStudioPrivatePath,
108
+ isPrivateFileUnder
109
+ };
@@ -6,15 +6,15 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-ZLTB7ZCQ.js";
9
+ } from "./chunk-6VY52EVW.js";
10
10
  import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-VLFBOKZX.js";
14
+ } from "./chunk-CC72LTIT.js";
15
15
  import {
16
16
  failUsage
17
- } from "./chunk-66W5IWLO.js";
17
+ } from "./chunk-U7M4SZUB.js";
18
18
 
19
19
  // src/utils/deliveryFlags.ts
20
20
  var deliveryFlagArgs = {