hyperframes 0.8.210 → 0.8.212

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 (255) hide show
  1. package/dist/{add-36M7YRR4.js → add-JSM7YBQX.js} +28 -24
  2. package/dist/{agentPromptGenerator-4NJ252MR.js → agentPromptGenerator-NTPYCKOI.js} +30 -1
  3. package/dist/{animatedGifPrep-RZLTC77F.js → animatedGifPrep-XTK7UWXF.js} +11 -10
  4. package/dist/api.js +26 -25
  5. package/dist/{appHistory-OHYU5ZBQ.js → appHistory-BCWH6XYH.js} +3 -3
  6. package/dist/{asset-HRGZ7ZCB.js → asset-SMY2EGPH.js} +11 -5
  7. package/dist/{assetCataloger-LN7RI2IC.js → assetCataloger-CVPWY34W.js} +12 -11
  8. package/dist/{audio-ULOHC2KL.js → audio-Y4OYLTWN.js} +37 -33
  9. package/dist/{auth-K4ZULHQY.js → auth-MDEHZR7R.js} +11 -6
  10. package/dist/{autoUpdate-MUJ4WPP6.js → autoUpdate-3FL6EDPM.js} +12 -5
  11. package/dist/{backgroundChecks-O6JST752.js → backgroundChecks-A6TG2BT3.js} +10 -5
  12. package/dist/backgroundChecksWorker.js +11 -5
  13. package/dist/{batchRender-U742UVOD.js → batchRender-K2PBRRTQ.js} +14 -9
  14. package/dist/{beats-2CSE5WJD.js → beats-RA6XK6J5.js} +25 -21
  15. package/dist/{benchmark-YJB2YKOE.js → benchmark-EHU5O4PP.js} +32 -27
  16. package/dist/{browser-WJ5E7RYS.js → browser-7RUIZT2H.js} +27 -22
  17. package/dist/{bundleWithLocalizedFonts-F5VQMFHZ.js → bundleWithLocalizedFonts-O2U2FYY2.js} +7 -3
  18. package/dist/{capture-6OJDKKEZ.js → capture-77KDKKNK.js} +25 -24
  19. package/dist/{capture-IYV3OS5W.js → capture-JGYBORAG.js} +19 -14
  20. package/dist/{captureCompositionFrame-7357PUMG.js → captureCompositionFrame-DZ7EHPZV.js} +23 -18
  21. package/dist/{catalog-CZBK33QH.js → catalog-CUP3SYAI.js} +43 -39
  22. package/dist/{catch-up-7IJQ7AUR.js → catch-up-ZGUCWH5Q.js} +21 -17
  23. package/dist/{check-ISUFX4DK.js → check-ITGFVBT6.js} +60 -56
  24. package/dist/{checkAudio-GAA2SY5E.js → checkAudio-CTLPD6YT.js} +19 -15
  25. package/dist/{checkBrowser-JRADOMED.js → checkBrowser-G2N4JI6N.js} +52 -48
  26. package/dist/{chunk-J7A73K2B.js → chunk-24F7TOW2.js} +99 -44
  27. package/dist/{chunk-W3V5EOFA.js → chunk-25MKZTRT.js} +1 -1
  28. package/dist/chunk-26AQTUU4.js +1103 -0
  29. package/dist/{chunk-ZTZA4UWZ.js → chunk-2GICKZ3I.js} +4 -1
  30. package/dist/{chunk-U7CZBDMV.js → chunk-2P5DTXUN.js} +1 -1
  31. package/dist/{chunk-7BOGLQFM.js → chunk-2YDIEZSF.js} +4 -4
  32. package/dist/{chunk-UIOZIIB7.js → chunk-32NEJ553.js} +1 -73
  33. package/dist/{chunk-DHTWYTSV.js → chunk-3JQ2YOKL.js} +2 -2
  34. package/dist/{chunk-BKXC5XHB.js → chunk-3YBXKWAF.js} +1 -1
  35. package/dist/{chunk-5IWRGVAX.js → chunk-45JN2GIZ.js} +2 -2
  36. package/dist/chunk-5766TK7Q.js +145 -0
  37. package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
  38. package/dist/{chunk-MNNK7RV5.js → chunk-5SWWIT7K.js} +2 -1
  39. package/dist/{chunk-FCIO4WSW.js → chunk-5TQ4AEPF.js} +3 -3
  40. package/dist/{chunk-KCLBO65Y.js → chunk-5YPMCCCA.js} +1 -1
  41. package/dist/{chunk-K2FLNJVB.js → chunk-5ZBMHUY2.js} +5 -1
  42. package/dist/{chunk-NEKKA2DA.js → chunk-64XQS7AP.js} +2 -2
  43. package/dist/chunk-6LDHXB4Z.js +36 -0
  44. package/dist/{chunk-FCXEVKFQ.js → chunk-6SG3RRAQ.js} +4 -4
  45. package/dist/{chunk-JLCAHJUO.js → chunk-6ZLDIMPL.js} +2 -2
  46. package/dist/{chunk-DGECWPTL.js → chunk-7KBS6ZLB.js} +2 -2
  47. package/dist/chunk-7KDQAD2W.js +81 -0
  48. package/dist/{chunk-AZGVCQGO.js → chunk-7Q5TBUC2.js} +2 -2
  49. package/dist/{chunk-JHNBF2HD.js → chunk-7TWX4Y7I.js} +4 -4
  50. package/dist/{chunk-ZRSQNF4A.js → chunk-7W7ANGR4.js} +55 -40
  51. package/dist/{chunk-WOFTAZSZ.js → chunk-7ZAVTGGT.js} +12 -11
  52. package/dist/{chunk-BYZPLQSX.js → chunk-A2WPZE2R.js} +1 -1
  53. package/dist/{chunk-NQ2INEHX.js → chunk-A4ZTSQLW.js} +1 -1
  54. package/dist/{chunk-ERVBXEPZ.js → chunk-AJAXP4HF.js} +10 -6
  55. package/dist/{chunk-PCPMSUW6.js → chunk-BLVHVXRU.js} +3 -3
  56. package/dist/{chunk-5ZJGEQGS.js → chunk-BYRXSKIY.js} +2 -2
  57. package/dist/{chunk-AF3L5JJX.js → chunk-CCLBOLYU.js} +1 -1
  58. package/dist/{chunk-4A27M7CJ.js → chunk-CODPTVC2.js} +1 -1
  59. package/dist/{chunk-VQB7G5BM.js → chunk-CTZJSMGU.js} +1 -1
  60. package/dist/chunk-DL4OD7IA.js +21 -0
  61. package/dist/{chunk-JVBRJMOP.js → chunk-DP5LF7GF.js} +8 -2
  62. package/dist/{chunk-EVTBRL37.js → chunk-DS7ANFBV.js} +5 -5
  63. package/dist/{chunk-35HSGF46.js → chunk-DVVTBVKA.js} +11 -16
  64. package/dist/{chunk-6CSYCFQV.js → chunk-DW35FX4I.js} +1 -1
  65. package/dist/{chunk-WWQJYYAB.js → chunk-DXPC7Z6L.js} +4 -4
  66. package/dist/{chunk-X2T5EOI7.js → chunk-EC77ZBCP.js} +5 -5
  67. package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
  68. package/dist/{chunk-IMKBZEGT.js → chunk-F5XADOGC.js} +2 -2
  69. package/dist/chunk-FJ646TIT.js +201 -0
  70. package/dist/{chunk-GDZA4ALG.js → chunk-FKFGGAXN.js} +52 -7
  71. package/dist/{chunk-2R5ZKWSV.js → chunk-FLXZ4GZI.js} +1 -1
  72. package/dist/{chunk-FHIBBIEZ.js → chunk-FW6CYA5D.js} +3 -3
  73. package/dist/{chunk-QXUFQSSK.js → chunk-G6HUXX3L.js} +1 -1
  74. package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
  75. package/dist/{chunk-QSFWGZG6.js → chunk-G7VEYUZ2.js} +16 -132
  76. package/dist/{chunk-KGG2PUZN.js → chunk-GQ724553.js} +5 -5
  77. package/dist/{chunk-F7IWJMIO.js → chunk-GVE6I5EL.js} +6 -6
  78. package/dist/{chunk-66LREXGS.js → chunk-HXZNCXQX.js} +1 -1
  79. package/dist/{chunk-WERLJGIC.js → chunk-J3RXEDR2.js} +17 -2
  80. package/dist/{chunk-DKJAK6JW.js → chunk-J7GPSY5N.js} +7 -7
  81. package/dist/{chunk-5PCT5DDF.js → chunk-JZNQQI5M.js} +5 -5
  82. package/dist/{chunk-3PTZ2TD4.js → chunk-KUXOAS4Z.js} +1 -1
  83. package/dist/{chunk-32BLIKEV.js → chunk-KZZWYIEB.js} +3 -3
  84. package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
  85. package/dist/{chunk-FBIWJ3A4.js → chunk-MJCIAZSK.js} +3 -3
  86. package/dist/{chunk-BW5WYF4N.js → chunk-MX2GMAAW.js} +106 -62
  87. package/dist/{chunk-JLBJRJO6.js → chunk-N3J2MLXC.js} +3 -3
  88. package/dist/{chunk-KGAPL42S.js → chunk-N7XJHZ35.js} +1 -1
  89. package/dist/{chunk-UA3YNZK6.js → chunk-NGSENR4J.js} +16 -6
  90. package/dist/{chunk-QIDN4ML5.js → chunk-NO6F7CLR.js} +1 -1
  91. package/dist/{chunk-EQPXSSNG.js → chunk-NXDKBFEO.js} +15 -15
  92. package/dist/{chunk-I3PNZDKR.js → chunk-OL5E4Y4L.js} +2226 -2081
  93. package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
  94. package/dist/{chunk-P2L7NNHT.js → chunk-ORJY6Z6G.js} +3 -3
  95. package/dist/{chunk-GKNTPIFD.js → chunk-OSCWTA2O.js} +10 -10
  96. package/dist/{chunk-ZA5TNF4R.js → chunk-OWV36OJP.js} +5 -2
  97. package/dist/{chunk-YBY2WVLC.js → chunk-P2VGMOX7.js} +5 -5
  98. package/dist/{chunk-QPX7FJP3.js → chunk-PW7FCVHR.js} +1 -1
  99. package/dist/{chunk-RUW65P3N.js → chunk-Q55JNFDV.js} +3 -3
  100. package/dist/{chunk-GNESG4XA.js → chunk-QUXWS5UG.js} +3 -3
  101. package/dist/{chunk-I4H5JWND.js → chunk-R5B6GXQM.js} +1 -1
  102. package/dist/{chunk-TGFDRZTM.js → chunk-RDZKBIEB.js} +5 -5
  103. package/dist/{chunk-OMLVCHNN.js → chunk-RJILJ4OR.js} +3 -3
  104. package/dist/{chunk-36EOFTVG.js → chunk-RQC4PHO3.js} +1 -1
  105. package/dist/{chunk-RIJHDTM5.js → chunk-S2HWGG5O.js} +1 -1
  106. package/dist/chunk-SJGE5I5F.js +131 -0
  107. package/dist/{chunk-A45HCDG7.js → chunk-SPDSRBIN.js} +31 -5
  108. package/dist/{chunk-HKCIRH26.js → chunk-SXTWQ7CH.js} +5 -5
  109. package/dist/{chunk-K4FVGVA6.js → chunk-T2WJO4XM.js} +1 -1
  110. package/dist/{chunk-EYGWMHXV.js → chunk-T7KNW7PE.js} +4 -4
  111. package/dist/{chunk-DROFHVQD.js → chunk-TPO32Z65.js} +4 -4
  112. package/dist/{chunk-P327BIJR.js → chunk-U46JEU26.js} +1 -1
  113. package/dist/{chunk-HP7BXJFZ.js → chunk-UBUKKTNW.js} +2 -2
  114. package/dist/{chunk-TDEORHFN.js → chunk-UE4CXHMF.js} +7 -7
  115. package/dist/{chunk-BN22WCAF.js → chunk-UULZKCBI.js} +2 -2
  116. package/dist/{chunk-AG566TRI.js → chunk-UXH6E5HC.js} +2 -2
  117. package/dist/{chunk-W4E3ZOWH.js → chunk-V6OSE6VT.js} +2 -2
  118. package/dist/{chunk-DST7GU2Y.js → chunk-VKD23SIO.js} +1 -1
  119. package/dist/{chunk-57QUPSP2.js → chunk-VVDHSRKD.js} +1 -1
  120. package/dist/{chunk-QI5TLQNW.js → chunk-W2VJTKIW.js} +17 -20
  121. package/dist/{chunk-HD4KXG5U.js → chunk-W55BW7KA.js} +15 -14
  122. package/dist/chunk-W5OBRMZ6.js +4870 -0
  123. package/dist/{chunk-ERUQ3S6D.js → chunk-WE42NVH7.js} +6 -1
  124. package/dist/{chunk-QRWTVCGH.js → chunk-WVIH5BBZ.js} +30 -23
  125. package/dist/{chunk-SE2MXV2N.js → chunk-X4SBDDLS.js} +2 -1
  126. package/dist/{chunk-A2H5EJZM.js → chunk-XEWMJWNW.js} +2 -2
  127. package/dist/{chunk-LRE4GDFA.js → chunk-XGXTZNES.js} +4 -4
  128. package/dist/{chunk-YIFEK3UD.js → chunk-XQ26I3PL.js} +1 -1
  129. package/dist/{chunk-UWEGMKKU.js → chunk-Y3U7ECBH.js} +1 -1
  130. package/dist/{chunk-MV3J6ZOP.js → chunk-YACECUHX.js} +9 -9
  131. package/dist/{chunk-MA447PNF.js → chunk-YVT5IU6J.js} +22 -23
  132. package/dist/{chunk-XCIHCPJK.js → chunk-YWRUQ7XZ.js} +3 -2
  133. package/dist/{chunk-XIUHHEBS.js → chunk-YX5ELTKV.js} +3 -3
  134. package/dist/{chunk-P6EXMN5D.js → chunk-ZCHULPJZ.js} +3 -3
  135. package/dist/{chunk-QFXF5GXE.js → chunk-ZCYSQ3NQ.js} +3 -3
  136. package/dist/{chunk-RIAWW4G2.js → chunk-ZE57TSS6.js} +2 -2
  137. package/dist/{clean-NVBEXXIS.js → clean-FBZ7GHRY.js} +39 -35
  138. package/dist/cli.js +161 -80
  139. package/dist/{cloud-3T6HF7DT.js → cloud-VYSWJ7UO.js} +11 -6
  140. package/dist/{cloudrun-TXEEZGJ7.js → cloudrun-U6LI7KLV.js} +39 -30
  141. package/dist/{colors-HKWSZCGK.js → colors-HRL7QSVG.js} +5 -1
  142. package/dist/commands/layout-audit.browser.js +1 -1
  143. package/dist/commands/motion-signature.browser.js +11 -2
  144. package/dist/{compare-Q42Z56P7.js → compare-YR7BMEHJ.js} +63 -61
  145. package/dist/{compiler-IL2PZJFH.js → compiler-6YCAUK7Z.js} +4 -4
  146. package/dist/{component-2IWQZYCZ.js → component-HVSM6FJV.js} +13 -7
  147. package/dist/{compositions-3EZ3GBK2.js → compositions-QTFL2VNL.js} +27 -23
  148. package/dist/{delete-2UBY2JTM.js → delete-2FHCQ72T.js} +28 -20
  149. package/dist/{deploy-QTS2OM2H.js → deploy-6S45QWG6.js} +11 -7
  150. package/dist/{destroy-CGAZIL2C.js → destroy-BQ5R7LUF.js} +8 -4
  151. package/dist/{dist-XF53LCKD.js → dist-B4KLCLZ5.js} +3 -3
  152. package/dist/{dist-73YTUT3W.js → dist-NCI6JOJZ.js} +2 -2
  153. package/dist/{docs-UEWLIP6D.js → docs-6EM6FDNI.js} +12 -6
  154. package/dist/{doctor-FIXMXWE6.js → doctor-4MRS6RED.js} +25 -20
  155. package/dist/{events-7WYSDXTE.js → events-4VBBY7PP.js} +15 -10
  156. package/dist/{events-NTZSSMBR.js → events-FN45HVPM.js} +14 -11
  157. package/dist/{feedback-7SOB5GZC.js → feedback-T67P2CDA.js} +41 -35
  158. package/dist/{ffmpeg-PYY5FSIX.js → ffmpeg-ED7ZK6XH.js} +12 -11
  159. package/dist/{figma-DTWA3G22.js → figma-UXAWKPOY.js} +10 -5
  160. package/dist/fontLocalizeCli.js +16 -14
  161. package/dist/{get-DMGUJPLP.js → get-EFH3PPJA.js} +20 -15
  162. package/dist/{gpuPolicy-KVYO4OU4.js → gpuPolicy-ZADQMXQT.js} +11 -10
  163. package/dist/{grade-compare-NCYPJFLI.js → grade-compare-425BFHSF.js} +65 -60
  164. package/dist/hangReport.js +1 -0
  165. package/dist/{heifImagePrep-F7LFUYGC.js → heifImagePrep-ZJM7N2XY.js} +12 -11
  166. package/dist/{help-I4RRBHCW.js → help-23PPB2BD.js} +16 -8
  167. package/dist/{history-GVBBXZKQ.js → history-CHJV33M5.js} +28 -22
  168. package/dist/hyperframe.manifest.json +1 -1
  169. package/dist/hyperframe.runtime.iife.js +64 -64
  170. package/dist/hyperframes-player.global.js +1 -1
  171. package/dist/{info-UE2PY5AF.js → info-36YPISVA.js} +22 -18
  172. package/dist/{init-4UGFGJQK.js → init-U6EE2EIU.js} +73 -65
  173. package/dist/{inspect-ZRREAUCB.js → inspect-NI2RMUFR.js} +50 -46
  174. package/dist/{installer-ABXPRFIJ.js → installer-K3HIZ5CF.js} +7 -7
  175. package/dist/{keyframes-MFR4TYVR.js → keyframes-I6T2IT6I.js} +20 -16
  176. package/dist/{lambda-E3Z6JCIB.js → lambda-WL64Z2F3.js} +50 -42
  177. package/dist/{layout-IO7T5SSU.js → layout-R2YZ4N6P.js} +50 -46
  178. package/dist/{lint-WYPQK5XA.js → lint-IAAG6Z65.js} +30 -24
  179. package/dist/{lintProject-KCN7MRBN.js → lintProject-EM7Y2ZRB.js} +2 -2
  180. package/dist/{list-7F2LXWOZ.js → list-3O6743DJ.js} +23 -18
  181. package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
  182. package/dist/localPage-L5FRBCNP.js +56 -0
  183. package/dist/{login-TTMYCXN2.js → login-27TRFTYB.js} +17 -13
  184. package/dist/{logout-QRSB4CNH.js → logout-C6P6ERZ3.js} +12 -7
  185. package/dist/{manager-OQ5J26ST.js → manager-D6TE4ENP.js} +14 -13
  186. package/dist/{manager-LQXZTUTJ.js → manager-IZIK7BHN.js} +7 -5
  187. package/dist/{media-treatment-ELB6WRA5.js → media-treatment-E3YLZVXC.js} +58 -45
  188. package/dist/{media-use-JBN57JE3.js → media-use-ZRHFRO46.js} +3 -2
  189. package/dist/{models-D2FNIGNZ.js → models-2Q3TGNH5.js} +40 -28
  190. package/dist/{motionShot-53VDDRIC.js → motionShot-XYW2HMVI.js} +27 -22
  191. package/dist/{normalize-audio-QHNCFWR2.js → normalize-audio-D5WNUNDM.js} +42 -28
  192. package/dist/{open-3KMTT3AV.js → open-3KO7UUPC.js} +33 -29
  193. package/dist/{parakeetRunner-T65S6FW3.js → parakeetRunner-WX6L6MW5.js} +20 -19
  194. package/dist/{pipeline-DUVRZGIM.js → pipeline-WYIO4KGN.js} +17 -16
  195. package/dist/{play-27R6RBSK.js → play-ZM3ZUJSZ.js} +53 -52
  196. package/dist/{policies-NWIEUGGW.js → policies-J5BWAZHM.js} +18 -12
  197. package/dist/{preflight-QB6NKBBL.js → preflight-7OMCIXNM.js} +16 -14
  198. package/dist/{present-RHV3FKI5.js → present-E2PLH2GJ.js} +47 -46
  199. package/dist/{preview-IAKIXYLN.js → preview-TVRM75FN.js} +52 -48
  200. package/dist/{producer-F6PHB4M4.js → producer-M5F6KZEF.js} +1 -1
  201. package/dist/{progress-PX3PVAIM.js → progress-X3QFO3FE.js} +9 -5
  202. package/dist/{projectConfig-MPHWYY5D.js → projectConfig-VFKGY3XE.js} +11 -11
  203. package/dist/prompts-VAO7RDKX.js +40 -0
  204. package/dist/{publication-CBAEINEG.js → publication-AF33R7LF.js} +5 -5
  205. package/dist/{publish-4A2A6V7Z.js → publish-Z7HGDQ5R.js} +41 -30
  206. package/dist/{refresh-F7FUCXLX.js → refresh-IYRGLHG5.js} +12 -7
  207. package/dist/{remove-background-3I7RZGVG.js → remove-background-PN3KCBT4.js} +39 -30
  208. package/dist/{render-BSKLHCZ4.js → render-I3HBIJX3.js} +82 -77
  209. package/dist/{render-BGPUHBFC.js → render-IZNPEXMU.js} +17 -12
  210. package/dist/{render-2HYATL32.js → render-SEODWRRR.js} +46 -41
  211. package/dist/{render-batch-JD6C3BDD.js → render-batch-MQSORY55.js} +18 -13
  212. package/dist/renderSetupWorker.js +10 -7
  213. package/dist/{resolver-SQYR7LII.js → resolver-HXE4F2G4.js} +7 -7
  214. package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
  215. package/dist/{sherpa-VXD3DAH4.js → sherpa-NPT6S3RP.js} +19 -18
  216. package/dist/sherpaWorker.js +1 -0
  217. package/dist/{sites-Q2S3DZY4.js → sites-MTLVMYJ6.js} +7 -3
  218. package/dist/{skills-B2SHEHWL.js → skills-P3BI55YP.js} +27 -20
  219. package/dist/{skillsUpdateCheck-ST43UUPK.js → skillsUpdateCheck-43Q4ZHWN.js} +10 -5
  220. package/dist/{snapshot-USJYNKDM.js → snapshot-YLT64YQS.js} +93 -71
  221. package/dist/{src-5OX35WPG.js → src-7S7K4QUN.js} +14 -13
  222. package/dist/{src-PX3VIS7K.js → src-OHJ7USRX.js} +20 -9
  223. package/dist/{state-JPNCCXAV.js → state-6QHNNHDA.js} +2 -2
  224. package/dist/{staticProjectServer-ET7H5LMV.js → staticProjectServer-RP3MW2EW.js} +31 -24
  225. package/dist/{status-QVDRHXW2.js → status-SLILCDBZ.js} +21 -12
  226. package/dist/studio/assets/{hyperframes-player-DUpxahTX.js → hyperframes-player-DHfuW7Lt.js} +1 -1
  227. package/dist/studio/assets/{index-CtrcjpbM.js → index-CWgIsKzV.js} +123 -123
  228. package/dist/studio/assets/{index-B4dcZZAm.js → index-CkjUY33q.js} +1 -1
  229. package/dist/studio/index.html +1 -1
  230. package/dist/{studio-api-PLKYSG2X.js → studio-api-BZPZCJL6.js} +17 -15
  231. package/dist/{studioServer-CNUXGRFS.js → studioServer-QLRIXNYM.js} +74 -70
  232. package/dist/{synthesize-RVE7IUOJ.js → synthesize-FQML2LN2.js} +5 -5
  233. package/dist/{system-YD4AW5ZX.js → system-MVRF5UM2.js} +5 -3
  234. package/dist/{telemetry-EJS5PXH2.js → telemetry-NTO4FJFN.js} +13 -8
  235. package/dist/{telemetry-DGDEJLGL.js → telemetry-QOBPRUWF.js} +14 -11
  236. package/dist/templates/blank/index.html +1 -1
  237. package/dist/{timeline-VCQC4TLM.js → timeline-OLQFVWVU.js} +47 -40
  238. package/dist/{tokens-AEOBCDW5.js → tokens-BAHLVGEC.js} +12 -6
  239. package/dist/{transcribe-COFCB3ZB.js → transcribe-3NHUWW4J.js} +45 -39
  240. package/dist/{transcribe-X6O5ZSGQ.js → transcribe-HR6BFDUR.js} +16 -15
  241. package/dist/{tts-AGMCPQXE.js → tts-K5HRN6NQ.js} +26 -17
  242. package/dist/{updateCheck-BW7MDUXZ.js → updateCheck-BGHPCA7J.js} +9 -4
  243. package/dist/{upgrade-QXOGA54H.js → upgrade-NFI6JOME.js} +28 -14
  244. package/dist/{urlDownloader-QB3TBIQ5.js → urlDownloader-P35K74RS.js} +10 -9
  245. package/dist/{usage-HG4WMM7A.js → usage-772JV45U.js} +2 -1
  246. package/dist/{validate-AU2BZ7D7.js → validate-Q57ZCI4Q.js} +42 -38
  247. package/dist/{video-GNNYAL5T.js → video-OO2M2AKD.js} +19 -15
  248. package/dist/warmCheck.js +63 -58
  249. package/dist/warmCheckClient.js +1 -0
  250. package/package.json +1 -1
  251. package/dist/chunk-QRC7IVBC.js +0 -4870
  252. package/dist/chunk-WMQNIQDJ.js +0 -2057
  253. package/dist/chunk-WQ6ZXHFQ.js +0 -133
  254. package/dist/dist-EWXJGN63.js +0 -129
  255. package/dist/localPage-V3HBGM3Z.js +0 -27
@@ -17,64 +17,64 @@ import {
17
17
  preResolveHostileMediaProxies,
18
18
  runBrowserCheck,
19
19
  samplingBrowserCount
20
- } from "./chunk-EQPXSSNG.js";
20
+ } from "./chunk-NXDKBFEO.js";
21
21
  import "./chunk-X7MTZ4T2.js";
22
- import "./chunk-MA447PNF.js";
22
+ import "./chunk-YVT5IU6J.js";
23
23
  import "./chunk-TQBQYO4L.js";
24
- import "./chunk-QRWTVCGH.js";
25
- import "./chunk-32BLIKEV.js";
26
- import "./chunk-35HSGF46.js";
27
- import "./chunk-FCIO4WSW.js";
24
+ import "./chunk-WVIH5BBZ.js";
25
+ import "./chunk-KZZWYIEB.js";
26
+ import "./chunk-DVVTBVKA.js";
27
+ import "./chunk-5TQ4AEPF.js";
28
28
  import "./chunk-X7MTZ4T2.js";
29
29
  import "./chunk-XUHOIDKG.js";
30
- import "./chunk-HD4KXG5U.js";
31
- import "./chunk-HKCIRH26.js";
32
- import "./chunk-VQB7G5BM.js";
33
- import "./chunk-QFXF5GXE.js";
34
- import "./chunk-J7A73K2B.js";
35
- import "./chunk-FHIBBIEZ.js";
36
- import "./chunk-I4H5JWND.js";
30
+ import "./chunk-W55BW7KA.js";
31
+ import "./chunk-SXTWQ7CH.js";
32
+ import "./chunk-CTZJSMGU.js";
33
+ import "./chunk-ZCYSQ3NQ.js";
34
+ import "./chunk-24F7TOW2.js";
35
+ import "./chunk-FW6CYA5D.js";
36
+ import "./chunk-R5B6GXQM.js";
37
37
  import "./chunk-ALVXFXUG.js";
38
- import "./chunk-WOFTAZSZ.js";
38
+ import "./chunk-7ZAVTGGT.js";
39
39
  import "./chunk-7J6LQ3SQ.js";
40
- import "./chunk-TDEORHFN.js";
41
- import "./chunk-W4E3ZOWH.js";
42
- import "./chunk-K2FLNJVB.js";
40
+ import "./chunk-UE4CXHMF.js";
41
+ import "./chunk-V6OSE6VT.js";
42
+ import "./chunk-5ZBMHUY2.js";
43
43
  import "./chunk-EHSBBBR2.js";
44
- import "./chunk-BYZPLQSX.js";
45
- import "./chunk-IMKBZEGT.js";
44
+ import "./chunk-A2WPZE2R.js";
45
+ import "./chunk-F5XADOGC.js";
46
46
  import "./chunk-XT7X6QCP.js";
47
- import "./chunk-KCLBO65Y.js";
47
+ import "./chunk-5YPMCCCA.js";
48
48
  import "./chunk-HVW7ABXD.js";
49
- import "./chunk-UWEGMKKU.js";
49
+ import "./chunk-Y3U7ECBH.js";
50
50
  import "./chunk-JHOCK3DG.js";
51
- import "./chunk-LRE4GDFA.js";
52
- import "./chunk-5IWRGVAX.js";
51
+ import "./chunk-XGXTZNES.js";
52
+ import "./chunk-45JN2GIZ.js";
53
53
  import "./chunk-AWDFDFI3.js";
54
54
  import "./chunk-P6LJ4Y32.js";
55
- import "./chunk-K4FVGVA6.js";
55
+ import "./chunk-T2WJO4XM.js";
56
56
  import "./chunk-W4DMQZL5.js";
57
- import "./chunk-TGFDRZTM.js";
58
- import "./chunk-A2H5EJZM.js";
59
- import "./chunk-NQ2INEHX.js";
60
- import "./chunk-F7IWJMIO.js";
61
- import "./chunk-X2T5EOI7.js";
62
- import "./chunk-VWG7OQKU.js";
57
+ import "./chunk-RDZKBIEB.js";
58
+ import "./chunk-XEWMJWNW.js";
59
+ import "./chunk-A4ZTSQLW.js";
60
+ import "./chunk-GVE6I5EL.js";
61
+ import "./chunk-EC77ZBCP.js";
62
+ import "./chunk-EQGKUPBJ.js";
63
+ import "./chunk-DL4OD7IA.js";
63
64
  import "./chunk-S3S4TGEH.js";
64
65
  import "./chunk-54HJ63Q2.js";
65
- import "./chunk-JVBRJMOP.js";
66
- import "./chunk-ZTZA4UWZ.js";
67
- import "./chunk-5YHQBCWH.js";
66
+ import "./chunk-2GICKZ3I.js";
67
+ import "./chunk-G6OKQMJI.js";
68
68
  import "./chunk-EVMY7IPL.js";
69
69
  import "./chunk-7FMUTGOH.js";
70
- import "./chunk-I3PNZDKR.js";
70
+ import "./chunk-OL5E4Y4L.js";
71
71
  import "./chunk-Z5J67X44.js";
72
72
  import "./chunk-5S7W3TUO.js";
73
73
  import "./chunk-D3MUHMFG.js";
74
- import "./chunk-GNESG4XA.js";
75
- import "./chunk-XCIHCPJK.js";
76
- import "./chunk-5ZJGEQGS.js";
77
- import "./chunk-QRC7IVBC.js";
74
+ import "./chunk-QUXWS5UG.js";
75
+ import "./chunk-YWRUQ7XZ.js";
76
+ import "./chunk-BYRXSKIY.js";
77
+ import "./chunk-W5OBRMZ6.js";
78
78
  import "./chunk-VC76R6W2.js";
79
79
  import "./chunk-OFQWTKPW.js";
80
80
  import "./chunk-RQVDTPGD.js";
@@ -82,15 +82,14 @@ import "./chunk-3GXQPCJC.js";
82
82
  import "./chunk-634HSJ3J.js";
83
83
  import "./chunk-FXMKHHPO.js";
84
84
  import "./chunk-KGPLIH7B.js";
85
- import "./chunk-QSFWGZG6.js";
86
- import "./chunk-XT6MXC7A.js";
85
+ import "./chunk-5766TK7Q.js";
87
86
  import "./chunk-K4MJX7SR.js";
88
- import "./chunk-ERUQ3S6D.js";
89
- import "./chunk-P327BIJR.js";
87
+ import "./chunk-WE42NVH7.js";
88
+ import "./chunk-U46JEU26.js";
90
89
  import "./chunk-CZGHFATT.js";
91
90
  import "./chunk-VAS6HQX3.js";
92
91
  import "./chunk-PBNWRWKA.js";
93
- import "./chunk-SE2MXV2N.js";
92
+ import "./chunk-X4SBDDLS.js";
94
93
  import "./chunk-NHA4NRBE.js";
95
94
  import "./chunk-FR7YBU3H.js";
96
95
  import "./chunk-DPVXBVLL.js";
@@ -98,14 +97,19 @@ import "./chunk-GWTIFRF5.js";
98
97
  import "./chunk-2RY2LWAA.js";
99
98
  import "./chunk-3422KMTD.js";
100
99
  import "./chunk-WC4MTXGN.js";
101
- import "./chunk-UIOZIIB7.js";
102
- import "./chunk-UA3YNZK6.js";
100
+ import "./chunk-32NEJ553.js";
101
+ import "./chunk-NGSENR4J.js";
103
102
  import "./chunk-K4WIOZFP.js";
104
- import "./chunk-P6EXMN5D.js";
105
- import "./chunk-WERLJGIC.js";
103
+ import "./chunk-ZCHULPJZ.js";
106
104
  import "./chunk-ISN5GRYI.js";
107
- import "./chunk-AG566TRI.js";
105
+ import "./chunk-SJGE5I5F.js";
106
+ import "./chunk-DP5LF7GF.js";
107
+ import "./chunk-J3RXEDR2.js";
108
+ import "./chunk-UXH6E5HC.js";
108
109
  import "./chunk-E63BDV4Z.js";
110
+ import "./chunk-G7VEYUZ2.js";
111
+ import "./chunk-XT6MXC7A.js";
112
+ import "./chunk-7KDQAD2W.js";
109
113
  import "./chunk-M2WBOQ2Q.js";
110
114
  export {
111
115
  captureFindingCrops,
@@ -12,20 +12,21 @@ import {
12
12
  atomicTempPath,
13
13
  isAtomicTempPath,
14
14
  replaceFileAtomically
15
- } from "./chunk-NQ2INEHX.js";
15
+ } from "./chunk-A4ZTSQLW.js";
16
16
  import {
17
17
  isProjectIgnoredDir
18
18
  } from "./chunk-EVMY7IPL.js";
19
19
  import {
20
+ isWindowsHold,
20
21
  renameWithRetry,
21
22
  renameWithRetryAsync
22
- } from "./chunk-XCIHCPJK.js";
23
+ } from "./chunk-YWRUQ7XZ.js";
23
24
  import {
24
25
  isSafePath,
25
26
  mkdirWithinProject
26
27
  } from "./chunk-OFQWTKPW.js";
27
28
 
28
- // ../studio-server/dist/chunk-BWZMWYB2.js
29
+ // ../studio-server/dist/chunk-UMPRW7BV.js
29
30
  import { randomUUID as randomUUID7 } from "crypto";
30
31
  import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
31
32
  import {
@@ -39,7 +40,7 @@ import {
39
40
  rmSync as rmSync3
40
41
  } from "fs";
41
42
  import { homedir } from "os";
42
- import { dirname as dirname5, isAbsolute as isAbsolute5, join as join8, relative as relative5, resolve as resolve7, sep as sep5 } from "path";
43
+ import { dirname as dirname5, isAbsolute as isAbsolute5, join as join8, relative as relative5, resolve as resolve8, sep as sep5 } from "path";
43
44
  import { createHash, randomUUID } from "crypto";
44
45
  import { readFileSync as readFileSync2 } from "fs";
45
46
  import { isAbsolute, relative, resolve, sep } from "path";
@@ -53,9 +54,10 @@ import { lstatSync, readFileSync as readFileSync3, readdirSync } from "fs";
53
54
  import { extname, isAbsolute as isAbsolute2, relative as relative2, resolve as resolve2, sep as sep2 } from "path";
54
55
  import { createHash as createHash3, randomUUID as randomUUID3 } from "crypto";
55
56
  import { constants, createReadStream, createWriteStream } from "fs";
56
- import { copyFile, mkdir, readdir, readFile, rm, stat } from "fs/promises";
57
+ import { copyFile, mkdir, open, readdir, readFile, rm, stat } from "fs/promises";
57
58
  import { dirname, join as join2 } from "path";
58
59
  import { pipeline } from "stream/promises";
60
+ import { resolve as resolve3 } from "path";
59
61
  import { extname as extname2 } from "path";
60
62
  import { randomUUID as randomUUID5 } from "crypto";
61
63
  import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
@@ -64,10 +66,10 @@ import { tmpdir } from "os";
64
66
  import { dirname as dirname2, join as join4 } from "path";
65
67
  import { randomUUID as randomUUID4 } from "crypto";
66
68
  import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, writeFileSync as writeFileSync2 } from "fs";
67
- import { basename, join as join3, resolve as resolve3 } from "path";
69
+ import { basename, join as join3, resolve as resolve4 } from "path";
68
70
  import { createHash as createHash5, randomUUID as randomUUID6 } from "crypto";
69
71
  import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync2, statSync as statSync4 } from "fs";
70
- import { isAbsolute as isAbsolute4, join as join7, resolve as resolve6 } from "path";
72
+ import { isAbsolute as isAbsolute4, join as join7, resolve as resolve7 } from "path";
71
73
  import { createHash as createHash4 } from "crypto";
72
74
  import {
73
75
  closeSync,
@@ -78,7 +80,7 @@ import {
78
80
  readFileSync as readFileSync6,
79
81
  unlinkSync
80
82
  } from "fs";
81
- import { isAbsolute as isAbsolute3, join as join5, relative as relative3, resolve as resolve4, sep as sep3 } from "path";
83
+ import { isAbsolute as isAbsolute3, join as join5, relative as relative3, resolve as resolve5, sep as sep3 } from "path";
82
84
  import {
83
85
  closeSync as closeSync2,
84
86
  constants as constants3,
@@ -93,7 +95,7 @@ import {
93
95
  writeSync,
94
96
  writeFileSync as writeFileSync4
95
97
  } from "fs";
96
- import { dirname as dirname3, join as join6, relative as relative4, resolve as resolve5, sep as sep4 } from "path";
98
+ import { dirname as dirname3, join as join6, relative as relative4, resolve as resolve6, sep as sep4 } from "path";
97
99
  import { closeSync as closeSync3, constants as constants4, mkdirSync as mkdirSync4, openSync as openSync3, readFileSync as readFileSync9, writeSync as writeSync2 } from "fs";
98
100
  import { dirname as dirname4 } from "path";
99
101
  import { readdirSync as readdirSync5 } from "fs";
@@ -583,6 +585,30 @@ function createProjectSignature(projectDir, excluding = /* @__PURE__ */ new Set(
583
585
  if (settledATickBeforeSigning) projectSignatureCache.set(cacheKey, { fingerprint, signature });
584
586
  return signature;
585
587
  }
588
+ var serving = /* @__PURE__ */ new Map();
589
+ var keyOf = (path) => process.platform === "win32" ? resolve3(path).toLowerCase() : resolve3(path);
590
+ function serveWhileOpen(path, stream) {
591
+ const key = keyOf(path);
592
+ const reads = serving.get(key) ?? /* @__PURE__ */ new Set();
593
+ serving.set(key, reads.add(stream));
594
+ stream.once("close", () => {
595
+ reads.delete(stream);
596
+ if (reads.size === 0 && serving.get(key) === reads) serving.delete(key);
597
+ });
598
+ return stream;
599
+ }
600
+ async function stopServingAndClose(path) {
601
+ const reads = [...serving.get(keyOf(path)) ?? []];
602
+ await Promise.all(
603
+ reads.map(
604
+ (stream) => new Promise((done) => {
605
+ if (stream.closed) return done();
606
+ stream.once("close", () => done());
607
+ stream.destroy();
608
+ })
609
+ )
610
+ );
611
+ }
586
612
  var BLOB_HASH = /^[0-9a-f]{64}$/;
587
613
  function blobPath(dir, hash) {
588
614
  if (!BLOB_HASH.test(hash)) throw new Error("That is not a history blob.");
@@ -602,18 +628,45 @@ async function cloneOrStream(from, to) {
602
628
  await pipeline(createReadStream(from), createWriteStream(to, { mode }));
603
629
  }
604
630
  }
605
- async function cloneOrCopy(from, to, beforeReplace) {
631
+ var inPlaceListeners = /* @__PURE__ */ new Set();
632
+ function onRestoredInPlace(listener) {
633
+ inPlaceListeners.add(listener);
634
+ return () => inPlaceListeners.delete(listener);
635
+ }
636
+ async function cloneOrCopy(from, to, hash, beforeReplace) {
606
637
  await mkdir(dirname(to), { recursive: true });
607
638
  const temp = atomicTempPath(to);
608
639
  try {
609
640
  await copyFile(from, temp, constants.COPYFILE_FICLONE);
641
+ await stopServingAndClose(to);
610
642
  beforeReplace?.();
611
- renameWithRetry(temp, to);
612
- } catch (error) {
643
+ try {
644
+ renameWithRetry(temp, to);
645
+ } catch (error) {
646
+ if (!isWindowsHold(error)) throw error;
647
+ await writeInPlace(temp, to, hash);
648
+ }
649
+ } finally {
613
650
  await rm(temp, { force: true });
614
- throw error;
615
651
  }
616
652
  }
653
+ async function writeInPlace(temp, to, hash) {
654
+ let outcome = "failed";
655
+ try {
656
+ await copyFile(temp, to);
657
+ const handle = await open(to, "r+");
658
+ try {
659
+ await handle.sync();
660
+ } finally {
661
+ await handle.close();
662
+ }
663
+ outcome = await hashFile(to) === hash ? "restored" : "mismatch";
664
+ } finally {
665
+ for (const listener of inPlaceListeners) listener(to, outcome);
666
+ }
667
+ if (outcome === "mismatch")
668
+ throw new Error("The file was written in place, but it does not match the copy history kept.");
669
+ }
617
670
  var listDir = (path) => readdir(path, { withFileTypes: true }).catch((error) => {
618
671
  if (error.code === "ENOENT") return [];
619
672
  throw error;
@@ -672,7 +725,7 @@ async function openBlobStore(dir) {
672
725
  reference: (absPath) => hashFile(absPath),
673
726
  has: (hash) => sizes.has(hash) || asideSizes.has(hash),
674
727
  read: (hash) => readFile(pathOf(hash)),
675
- writeTo: async (hash, absPath, beforeReplace) => cloneOrCopy(pathOf(hash), absPath, beforeReplace),
728
+ writeTo: async (hash, absPath, beforeReplace) => cloneOrCopy(pathOf(hash), absPath, hash, beforeReplace),
676
729
  async release(held) {
677
730
  for (const [hash, path] of held) {
678
731
  holds.get(hash)?.delete(path);
@@ -784,7 +837,7 @@ function isCopyOf0878Folder(recordedDir, id, folder) {
784
837
  return !!there && !sameFolder(there, folder) && readId(recordedDir) === id;
785
838
  }
786
839
  function projectHistoryId(projectDir, historyRoot) {
787
- const dir = resolve3(projectDir);
840
+ const dir = resolve4(projectDir);
788
841
  const folder = statSync2(dir);
789
842
  let id = readId(dir);
790
843
  if (!id && existsSync(join3(dir, ID_PATH)))
@@ -962,7 +1015,7 @@ var records = (state, kind) => [
962
1015
  ];
963
1016
  var protectedRevisions = (state) => /* @__PURE__ */ new Set([state.currentRevision, ...state.renders?.retainedRevisions ?? []]);
964
1017
  function managedPath(projectDir, path, kind) {
965
- const canonicalProject = realFilePath(resolve4(projectDir));
1018
+ const canonicalProject = realFilePath(resolve5(projectDir));
966
1019
  const canonicalPath = realFilePath(path);
967
1020
  const root = join5(canonicalProject, ".hyperframes", "artifacts", kind);
968
1021
  const rel = relative3(root, canonicalPath);
@@ -1063,9 +1116,9 @@ var SNAPSHOT_GRACE_MS = 24 * 60 * 60 * 1e3;
1063
1116
  var OWNER = ".capture-owner.json";
1064
1117
  var ownedMarkers = /* @__PURE__ */ new Map();
1065
1118
  var UUID = /^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/i;
1066
- var rootOf = (project) => join6(resolve5(project), ".hyperframes", "artifacts", "snapshots");
1119
+ var rootOf = (project) => join6(resolve6(project), ".hyperframes", "artifacts", "snapshots");
1067
1120
  function ordinaryPath(project, path) {
1068
- const root = resolve5(project);
1121
+ const root = resolve6(project);
1069
1122
  const rel = relative4(root, path);
1070
1123
  if (rel === ".." || rel.startsWith(`..${sep4}`)) return false;
1071
1124
  let current = root;
@@ -1080,7 +1133,7 @@ function ordinaryPath(project, path) {
1080
1133
  return true;
1081
1134
  }
1082
1135
  function createSnapshotParents(project, path) {
1083
- let parent = resolve5(project);
1136
+ let parent = resolve6(project);
1084
1137
  for (const part of relative4(parent, path).split(sep4).filter(Boolean)) {
1085
1138
  parent = join6(parent, part);
1086
1139
  try {
@@ -1176,7 +1229,7 @@ function recordsOf(state) {
1176
1229
  }
1177
1230
  function containingRun(root, path) {
1178
1231
  if (!path) return null;
1179
- const name = relative4(root, resolve5(path)).split(sep4)[0];
1232
+ const name = relative4(root, resolve6(path)).split(sep4)[0];
1180
1233
  return name && UUID.test(name) ? join6(root, name) : null;
1181
1234
  }
1182
1235
  function keepContainingRun(keep, root, path) {
@@ -1277,7 +1330,7 @@ function retainSnapshotOutput(project, path) {
1277
1330
  const root = rootOf(project);
1278
1331
  const run = containingRun(root, path);
1279
1332
  if (!run) return;
1280
- createSnapshotParents(project, resolve5(path));
1333
+ createSnapshotParents(project, resolve6(path));
1281
1334
  try {
1282
1335
  writeFileSync4(
1283
1336
  join6(run, ".user-output"),
@@ -1331,7 +1384,7 @@ async function updateState(dir, update) {
1331
1384
  }
1332
1385
  }
1333
1386
  async function writeHistoryState(projectDir, historyId, historyDirectory, entries, currentFiles, committedFiles) {
1334
- const blob = (hash) => hash === null ? null : resolve6(historyDirectory, "blobs", hash.slice(0, 2), hash);
1387
+ const blob = (hash) => hash === null ? null : resolve7(historyDirectory, "blobs", hash.slice(0, 2), hash);
1335
1388
  await updateState(projectDir, (state) => {
1336
1389
  if (state.historyId && state.historyId !== historyId) {
1337
1390
  state.checks = collection();
@@ -1462,7 +1515,7 @@ function listsOf(artifacts) {
1462
1515
  return [...Object.values(artifacts.revisions), artifacts.unversioned];
1463
1516
  }
1464
1517
  async function forgetRecordedArtifacts(projectDir, paths) {
1465
- const gone = new Set(paths.map((path) => resolve6(path)));
1518
+ const gone = new Set(paths.map((path) => resolve7(path)));
1466
1519
  if (gone.size === 0) return;
1467
1520
  await updateState(projectDir, (state) => {
1468
1521
  for (const artifacts of [state.checks, state.snapshots]) {
@@ -1470,7 +1523,7 @@ async function forgetRecordedArtifacts(projectDir, paths) {
1470
1523
  for (let i = list.length - 1; i >= 0; i--) {
1471
1524
  const record = list[i];
1472
1525
  const path = record.image ?? record.report;
1473
- if (path && gone.has(resolve6(path))) list.splice(i, 1);
1526
+ if (path && gone.has(resolve7(path))) list.splice(i, 1);
1474
1527
  }
1475
1528
  }
1476
1529
  if (artifacts.latest && !listsOf(artifacts).some(
@@ -1482,7 +1535,7 @@ async function forgetRecordedArtifacts(projectDir, paths) {
1482
1535
  });
1483
1536
  }
1484
1537
  function artifactDirectory(projectDir, kind) {
1485
- const path = join7(resolve6(projectDir), ".hyperframes", "artifacts", kind, randomUUID6());
1538
+ const path = join7(resolve7(projectDir), ".hyperframes", "artifacts", kind, randomUUID6());
1486
1539
  if (kind === "snapshots") ownSnapshotRun(projectDir, path);
1487
1540
  return path;
1488
1541
  }
@@ -1498,7 +1551,7 @@ async function recordRenderSuccess(projectDir, output, status = "completed", cap
1498
1551
  const record = {
1499
1552
  id: randomUUID6(),
1500
1553
  completedAt: Date.now(),
1501
- output: resolve6(output),
1554
+ output: resolve7(output),
1502
1555
  status
1503
1556
  };
1504
1557
  const unchanged = Boolean(capture && after?.fingerprint === capture.fingerprint);
@@ -1758,7 +1811,7 @@ var Engine = class {
1758
1811
  this.options = options;
1759
1812
  this.projectId = projectId;
1760
1813
  this.blobs = blobs;
1761
- this.dir = resolve7(options.projectDir);
1814
+ this.dir = resolve8(options.projectDir);
1762
1815
  this.home = join8(options.historyRoot, projectId);
1763
1816
  this.foldsCase = ignoresCase(this.dir);
1764
1817
  const folder = statSync5(this.dir, { throwIfNoEntry: false });
@@ -2067,7 +2120,7 @@ var Engine = class {
2067
2120
  return known.hash !== hash || known.stat !== stat4;
2068
2121
  }
2069
2122
  async record(path, before, after, at) {
2070
- const endedBeforeThisWrite = this.windows.filter((open) => !takesWrite(open, at));
2123
+ const endedBeforeThisWrite = this.windows.filter((open2) => !takesWrite(open2, at));
2071
2124
  if (endedBeforeThisWrite.length) await this.commitOutside();
2072
2125
  for (const window2 of endedBeforeThisWrite) await this.endWindow(window2);
2073
2126
  const window = this.windows.at(-1);
@@ -2109,7 +2162,7 @@ var Engine = class {
2109
2162
  if (window.changes.size) await this.commitCut(window, [...window.changes.keys()]);
2110
2163
  }
2111
2164
  pendingElsewhere() {
2112
- return Boolean(this.outside?.changes.size) || this.windows.some((open) => open.changes.size > 0);
2165
+ return Boolean(this.outside?.changes.size) || this.windows.some((open2) => open2.changes.size > 0);
2113
2166
  }
2114
2167
  /** The held claim `taken` continues: same key, each file from its own last change, no held file changed since. */
2115
2168
  heldFor(key, taken) {
@@ -2123,7 +2176,7 @@ var Engine = class {
2123
2176
  return group && taken.every((change) => after(change.path, change.before) === change.before) && [...group.changes.values()].every(untouched) ? group : null;
2124
2177
  }
2125
2178
  logPath(path) {
2126
- return relative5(this.dir, resolve7(this.dir, path)).split(sep5).join("/");
2179
+ return relative5(this.dir, resolve8(this.dir, path)).split(sep5).join("/");
2127
2180
  }
2128
2181
  /** Takes `paths`' uncommitted changes from others, cut at what `who` overwrote. */
2129
2182
  async takeClaimed(who, paths, overwrote) {
@@ -2134,7 +2187,7 @@ var Engine = class {
2134
2187
  hashOfVersion(version)
2135
2188
  ])
2136
2189
  );
2137
- const others = this.windows.filter((open) => !sameWho(open.who, who));
2190
+ const others = this.windows.filter((open2) => !sameWho(open2.who, who));
2138
2191
  const groups = this.outside ? [this.outside, ...others] : others;
2139
2192
  const hits = groups.flatMap(
2140
2193
  (group) => [...group.changes.values()].filter((change) => wanted.has(change.path)).map((change) => ({ group, change }))
@@ -2284,7 +2337,7 @@ var Engine = class {
2284
2337
  }
2285
2338
  /** A watcher saw a write: one sweep per burst takes it in (a deleted folder is reported by its name alone). */
2286
2339
  noteChange(path) {
2287
- const absolute = resolve7(this.dir, path);
2340
+ const absolute = resolve8(this.dir, path);
2288
2341
  if (this.notedTimer || !affectsProjectSignature(this.dir, absolute)) return;
2289
2342
  if (!isHistoryPath(relative5(this.dir, absolute).split(sep5).join("/"))) return;
2290
2343
  this.notedTimer = setTimeout(() => {
@@ -2304,12 +2357,12 @@ var Engine = class {
2304
2357
  const at = this.now();
2305
2358
  if (exclusive) {
2306
2359
  const blocking = this.windows.find(
2307
- (open) => !sameWho(open.who, who) && takesWrite(open, at)
2360
+ (open2) => !sameWho(open2.who, who) && takesWrite(open2, at)
2308
2361
  );
2309
2362
  if (blocking)
2310
2363
  throw new Error(`${blocking.who.name}'s turn is open; it has to end before yours begins`);
2311
- for (const open of [...this.windows])
2312
- if (!takesWrite(open, at) || sameWho(open.who, who)) await this.endWindow(open);
2364
+ for (const open2 of [...this.windows])
2365
+ if (!takesWrite(open2, at) || sameWho(open2.who, who)) await this.endWindow(open2);
2313
2366
  }
2314
2367
  const window = { ...this.newGroup(who, label), idleMs };
2315
2368
  this.windows.push(window);
@@ -2346,7 +2399,7 @@ var Engine = class {
2346
2399
  if (!this.windows.includes(window)) return window.entry ?? null;
2347
2400
  clearTimeout(window.idleTimer);
2348
2401
  await this.commitClaim();
2349
- this.windows = this.windows.filter((open) => open !== window);
2402
+ this.windows = this.windows.filter((open2) => open2 !== window);
2350
2403
  window.entry = await this.commit(window) ?? window.entry ?? null;
2351
2404
  return window.entry;
2352
2405
  }
@@ -2405,7 +2458,7 @@ var Engine = class {
2405
2458
  );
2406
2459
  await this.sweep();
2407
2460
  } finally {
2408
- this.windows = this.windows.filter((open) => open !== group);
2461
+ this.windows = this.windows.filter((open2) => open2 !== group);
2409
2462
  }
2410
2463
  return this.commit(group, extra);
2411
2464
  }
@@ -2472,7 +2525,7 @@ var Engine = class {
2472
2525
  );
2473
2526
  if (pending) return direction === "back" ? this.pendingEntry(pending) : void 0;
2474
2527
  const everyone = this.options.undoScope === "everyone";
2475
- const ofOpenTurn = (entry) => this.windows.some((open) => open.parts?.has(entry.id));
2528
+ const ofOpenTurn = (entry) => this.windows.some((open2) => open2.parts?.has(entry.id));
2476
2529
  return stepTarget(
2477
2530
  this.log.entries,
2478
2531
  direction,
@@ -2571,7 +2624,7 @@ var Engine = class {
2571
2624
  checkout: (entryId, side, emptyDir) => this.queue(async () => {
2572
2625
  this.entry(entryId);
2573
2626
  if (!existsSync3(this.dir)) throw new Error(`The project folder is gone: ${this.dir}`);
2574
- const dest = resolve7(emptyDir);
2627
+ const dest = resolve8(emptyDir);
2575
2628
  if (isWithin(this.dir, dest))
2576
2629
  throw new Error(`Checkout writes outside the project only: ${dest}`);
2577
2630
  if ((await readdir3(dest).catch(missingIsEmpty)).length > 0)
@@ -2622,7 +2675,7 @@ var Engine = class {
2622
2675
  }
2623
2676
  };
2624
2677
  function isWithin(dir, path) {
2625
- let probe = resolve7(path);
2678
+ let probe = resolve8(path);
2626
2679
  while (!existsSync3(probe) && dirname5(probe) !== probe) probe = dirname5(probe);
2627
2680
  const rel = relative5(realpathSync.native(dir), realpathSync.native(probe));
2628
2681
  return rel === "" || rel !== ".." && !rel.startsWith(`..${sep5}`) && !isAbsolute5(rel);
@@ -2675,7 +2728,7 @@ async function openProjectHistory(options) {
2675
2728
  }
2676
2729
  }
2677
2730
  function readProjectHistory(options) {
2678
- const dir = resolve7(options.projectDir);
2731
+ const dir = resolve8(options.projectDir);
2679
2732
  const id = readId(dir);
2680
2733
  const home = id && isRecordedFolder(join8(options.historyRoot, id), statSync5(dir)) ? join8(options.historyRoot, id) : null;
2681
2734
  const read = home && readLog(logFileIn(home), () => {
@@ -2745,14 +2798,14 @@ async function reclaimUncopiedBlobs(historyRoot, { dryRun = false, onError } = {
2745
2798
  }
2746
2799
  return reclaimed;
2747
2800
  }
2748
- function historyCache(open) {
2801
+ function historyCache(open2) {
2749
2802
  const histories = /* @__PURE__ */ new Map();
2750
2803
  const get = async (projectDir) => {
2751
2804
  let cached = histories.get(projectDir);
2752
- if (!cached) histories.set(projectDir, cached = open(projectDir));
2805
+ if (!cached) histories.set(projectDir, cached = open2(projectDir));
2753
2806
  const opened = await cached;
2754
2807
  if (!opened?.replacedAtPath()) return opened;
2755
- const reopen = () => open(projectDir);
2808
+ const reopen = () => open2(projectDir);
2756
2809
  if (histories.get(projectDir) === cached)
2757
2810
  histories.set(projectDir, opened.close().then(reopen, reopen));
2758
2811
  return get(projectDir);
@@ -2784,6 +2837,8 @@ export {
2784
2837
  resolveProjectSignature,
2785
2838
  resolveProjectAndSignature,
2786
2839
  createProjectSignature,
2840
+ serveWhileOpen,
2841
+ onRestoredInPlace,
2787
2842
  HistoryIdError,
2788
2843
  listProjectHistories,
2789
2844
  pruneGoneProjectHistories,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-AG566TRI.js";
9
+ } from "./chunk-UXH6E5HC.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";