hyperframes 0.9.59 → 0.9.63

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/dist/{add-C7J7HSLI.js → add-OBIEVDD7.js} +26 -27
  2. package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-KOFDIQGE.js} +15 -17
  3. package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-C4S7AVG7.js} +20 -21
  4. package/dist/api.d.ts +8 -1
  5. package/dist/api.js +58 -58
  6. package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
  7. package/dist/{asset-HQEPGBDJ.js → asset-FUQDWJ62.js} +15 -5
  8. package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-A5N6O4JB.js} +16 -18
  9. package/dist/{audio-FD2EBZ6D.js → audio-AFNZLDGT.js} +45 -45
  10. package/dist/{auth-JA7XH6NG.js → auth-N2G7ERXF.js} +4 -4
  11. package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-ZGC4CJIP.js} +4 -4
  12. package/dist/{avatars-Q7U6CO4X.js → avatars-ALJTTP5M.js} +23 -25
  13. package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-3S6MXDFU.js} +5 -5
  14. package/dist/backgroundChecksWorker.js +5 -5
  15. package/dist/{batchRender-75OLVMZY.js → batchRender-HZIXQY4N.js} +7 -9
  16. package/dist/{beats-R4EHWWJN.js → beats-2XU7WVQU.js} +16 -18
  17. package/dist/{benchmark-F5OHG3Q3.js → benchmark-SBZQIKED.js} +27 -27
  18. package/dist/{billing-LBRSBVXQ.js → billing-2DFCEQSM.js} +21 -23
  19. package/dist/{browser-CNTCFZOG.js → browser-336OZKWA.js} +13 -15
  20. package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-DMW5VAFU.js} +1 -1
  21. package/dist/{capture-CTRZEZTC.js → capture-AD5PYZ2O.js} +10 -12
  22. package/dist/{capture-DLYM3V5F.js → capture-Z3LNLS32.js} +43 -41
  23. package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-2BVCI3V2.js} +22 -24
  24. package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
  25. package/dist/{catalog-6XL63LU3.js → catalog-OKCKRILJ.js} +28 -30
  26. package/dist/{catch-up-AOFQWE6O.js → catch-up-MP2BCTZH.js} +15 -17
  27. package/dist/{check-5V7K4RL6.js → check-FYG4RBOV.js} +62 -63
  28. package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3RKJELTT.js} +18 -20
  29. package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-R3KY4UR5.js} +52 -53
  30. package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
  31. package/dist/{chunk-2ARKMOCD.js → chunk-2XKRMQJP.js} +6 -6
  32. package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
  33. package/dist/chunk-3HJX4F2S.js +39 -0
  34. package/dist/{chunk-KYXH4JWF.js → chunk-3KKKIHBJ.js} +18 -17
  35. package/dist/{chunk-QC35TPEE.js → chunk-3O2FM72C.js} +6 -6
  36. package/dist/{chunk-WDMSNDHS.js → chunk-3SMQ3AKQ.js} +297 -115
  37. package/dist/{chunk-MVA4OQL7.js → chunk-4KEONZJ2.js} +1 -1
  38. package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
  39. package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
  40. package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
  41. package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
  42. package/dist/{chunk-ZQIMO52O.js → chunk-5RCXJH5B.js} +59 -24
  43. package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
  44. package/dist/{chunk-XZ6THYIK.js → chunk-5YY4SRBH.js} +5 -5
  45. package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
  46. package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
  47. package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
  48. package/dist/{chunk-N6QWL3E7.js → chunk-6HHKHDMW.js} +2 -2
  49. package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
  50. package/dist/{chunk-PSREPOJ4.js → chunk-6PANJZEW.js} +18 -14
  51. package/dist/{chunk-YMKCJRVK.js → chunk-7AYDKU2X.js} +1 -1
  52. package/dist/{chunk-PMKWTXHE.js → chunk-7CSPYOLI.js} +2 -2
  53. package/dist/{chunk-KQHDFVFF.js → chunk-7F3NOYSK.js} +2 -2
  54. package/dist/{chunk-ZMLZRMG7.js → chunk-7NHID6VP.js} +2 -2
  55. package/dist/{chunk-BMTT2T7M.js → chunk-7NMH22SY.js} +5 -5
  56. package/dist/{chunk-RDWGNSVI.js → chunk-7YB4BDX7.js} +2 -2
  57. package/dist/{chunk-RAOGN2HG.js → chunk-A65Q5P62.js} +1 -1
  58. package/dist/{chunk-JQ7BPN2R.js → chunk-ABK44JS4.js} +3 -3
  59. package/dist/{chunk-DSCMYTKJ.js → chunk-AQFSYY23.js} +3 -3
  60. package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
  61. package/dist/{chunk-EUVU5JS4.js → chunk-BGIRYNAW.js} +38 -11
  62. package/dist/{chunk-URHIQHDR.js → chunk-BGV5YKSM.js} +14 -12
  63. package/dist/{chunk-QVHDAS3L.js → chunk-BJLC2UEQ.js} +4 -4
  64. package/dist/{chunk-QHVE6AFU.js → chunk-BJMW2GYO.js} +1 -1
  65. package/dist/{chunk-LSGJY2FG.js → chunk-CDPVVNNZ.js} +1 -1
  66. package/dist/{chunk-HXFGAI6L.js → chunk-CLRASDLH.js} +16 -16
  67. package/dist/{chunk-CAMD2NBN.js → chunk-CSMWC336.js} +2 -2
  68. package/dist/{chunk-WRSGWDDB.js → chunk-CZYQR7VM.js} +9 -9
  69. package/dist/chunk-D37I36FY.js +21 -0
  70. package/dist/{chunk-6LGB4MVX.js → chunk-DEWY2KX4.js} +1 -1
  71. package/dist/{chunk-OV5OSN74.js → chunk-DG4VSBM3.js} +3 -3
  72. package/dist/{chunk-L456Q4KU.js → chunk-DJCBHKQ5.js} +1 -1
  73. package/dist/{chunk-SGQKP2JT.js → chunk-DN4KUTQ5.js} +2 -2
  74. package/dist/{chunk-RHFB457E.js → chunk-DVUC244G.js} +3 -3
  75. package/dist/{chunk-7Q4EGB3N.js → chunk-E6WYYM6K.js} +1 -1
  76. package/dist/chunk-EJINQHA6.js +113 -0
  77. package/dist/{chunk-T5QI7ZL2.js → chunk-EPWGATQN.js} +5 -5
  78. package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
  79. package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
  80. package/dist/{chunk-L4MXZHRB.js → chunk-FA6TQ22Y.js} +3 -3
  81. package/dist/{chunk-JLMMY3UI.js → chunk-FAYFXXVF.js} +2 -2
  82. package/dist/{chunk-JUUOYXWH.js → chunk-FEURVA3G.js} +2 -2
  83. package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
  84. package/dist/{chunk-LZWG4GCC.js → chunk-GGSE4SO2.js} +55 -125
  85. package/dist/chunk-GJPT5Q6H.js +112 -0
  86. package/dist/{chunk-C3NDLM4S.js → chunk-GPZIE45V.js} +2 -2
  87. package/dist/{chunk-6UAYOSE7.js → chunk-GRBYYKYT.js} +9 -9
  88. package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
  89. package/dist/{chunk-7YRZBB4C.js → chunk-H7FGALE4.js} +1 -1
  90. package/dist/{chunk-FQ26QE5N.js → chunk-HAFE7SZR.js} +1 -1
  91. package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
  92. package/dist/{chunk-POFQOZOF.js → chunk-HF2A733B.js} +490 -224
  93. package/dist/{chunk-3DFEBAWJ.js → chunk-HGVBKNLQ.js} +2 -2
  94. package/dist/{chunk-4STRMCGD.js → chunk-HHM2JZLH.js} +4 -4
  95. package/dist/{chunk-PYRM3OAI.js → chunk-HJTCWQGF.js} +11 -13
  96. package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
  97. package/dist/{chunk-SC7SX2I3.js → chunk-HMY3GUJN.js} +4 -4
  98. package/dist/{chunk-3RTZ2UX7.js → chunk-HS7YBLZS.js} +1 -1
  99. package/dist/{chunk-B653JKWT.js → chunk-HY6N5K6U.js} +4 -4
  100. package/dist/{chunk-WI3FM54X.js → chunk-HZMDLKRP.js} +3 -3
  101. package/dist/{chunk-6ATP7YPZ.js → chunk-IBU2BW4H.js} +9 -4
  102. package/dist/{chunk-I5H2FPNP.js → chunk-ICP22AQY.js} +1 -1
  103. package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
  104. package/dist/{chunk-RKIF4EU7.js → chunk-IS45C2EI.js} +14 -14
  105. package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
  106. package/dist/{chunk-FGJUVWAM.js → chunk-J2MAI47E.js} +1 -1
  107. package/dist/{chunk-K33E3YNK.js → chunk-J43NNMIX.js} +10 -10
  108. package/dist/{chunk-FC77MYAD.js → chunk-J4YDHNAH.js} +1 -1
  109. package/dist/{chunk-QKHW5NXL.js → chunk-JDKLF3AG.js} +2 -2
  110. package/dist/{chunk-PCHUX7Y5.js → chunk-JU4ZWNU6.js} +2 -2
  111. package/dist/{chunk-2LJPBYKI.js → chunk-KDLMUU3E.js} +1 -1
  112. package/dist/{chunk-OPIS2YMA.js → chunk-KIWGMFXC.js} +6 -6
  113. package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
  114. package/dist/{chunk-YXX6CIHL.js → chunk-LKHH4BUW.js} +12 -1
  115. package/dist/{chunk-PDT6CBK2.js → chunk-LNDOTF7B.js} +8 -3
  116. package/dist/{chunk-BTXYXM2A.js → chunk-LYGIKJBA.js} +17 -17
  117. package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
  118. package/dist/chunk-MCTQEI6H.js +170 -0
  119. package/dist/{chunk-XXJBWKDS.js → chunk-MHS3RUAQ.js} +17 -17
  120. package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
  121. package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
  122. package/dist/{chunk-FFL5R2EZ.js → chunk-N5EZRITN.js} +4 -4
  123. package/dist/{chunk-65X2G57W.js → chunk-NEZVFC34.js} +4 -4
  124. package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
  125. package/dist/{chunk-763UG5II.js → chunk-OOVT26AC.js} +8 -8
  126. package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
  127. package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
  128. package/dist/chunk-PET4B6IL.js +159 -0
  129. package/dist/{chunk-7XOORL2Q.js → chunk-PJ22RPTH.js} +10 -10
  130. package/dist/{chunk-I6OSAVHD.js → chunk-PLI7YT5S.js} +7 -11
  131. package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
  132. package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
  133. package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
  134. package/dist/{chunk-TNFTRLLJ.js → chunk-QOLZBRLN.js} +3 -3
  135. package/dist/{chunk-WQGDE3L6.js → chunk-QUYSLXNP.js} +1 -1
  136. package/dist/{chunk-6R4MEYWD.js → chunk-QY42NK3T.js} +2 -2
  137. package/dist/{chunk-CC72LTIT.js → chunk-R5HNUPI5.js} +259 -230
  138. package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
  139. package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
  140. package/dist/{chunk-3QMGLSKC.js → chunk-RHHPEUVM.js} +2 -2
  141. package/dist/{chunk-UBNJWS2H.js → chunk-RQ4YNYWE.js} +3 -3
  142. package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
  143. package/dist/{chunk-XXOEYRD5.js → chunk-S4X7H76F.js} +2 -2
  144. package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
  145. package/dist/{chunk-D44MBZI6.js → chunk-SFIUSS3O.js} +2 -2
  146. package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
  147. package/dist/{chunk-AQIHV4PM.js → chunk-SKQWXQ7H.js} +2 -2
  148. package/dist/{chunk-QJ2BV7FM.js → chunk-SOIOB7FF.js} +9 -9
  149. package/dist/{chunk-GMIFMRWR.js → chunk-T25ZHQR2.js} +6 -6
  150. package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
  151. package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
  152. package/dist/chunk-TZ6M2LEV.js +5101 -0
  153. package/dist/{chunk-6K6RIX2A.js → chunk-U4KLJXI4.js} +21 -6
  154. package/dist/{chunk-7CI5MLCC.js → chunk-UOWDVL6M.js} +26 -11
  155. package/dist/{chunk-OYKAS3J5.js → chunk-V7Z2JQRL.js} +3 -3
  156. package/dist/{chunk-UNB2DFR2.js → chunk-VHDT4EME.js} +3 -3
  157. package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
  158. package/dist/{chunk-LTOUXR3X.js → chunk-VSCJ76AM.js} +73 -75
  159. package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
  160. package/dist/{chunk-TJGGLLQJ.js → chunk-VWI7V4Q5.js} +35 -16
  161. package/dist/{chunk-SO7FT7YA.js → chunk-WMKIO4OA.js} +33 -32
  162. package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
  163. package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
  164. package/dist/{chunk-ECGNWHFE.js → chunk-XBHPFWRL.js} +88 -2
  165. package/dist/{chunk-KGPHUBBA.js → chunk-XFGC5XLR.js} +1 -1
  166. package/dist/{chunk-R3ONQOLE.js → chunk-XGKNDIBT.js} +11 -11
  167. package/dist/{chunk-DCRHNRUY.js → chunk-XQQRCWS5.js} +5 -5
  168. package/dist/{chunk-XWV6BOCG.js → chunk-XQQZ2G25.js} +5 -5
  169. package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
  170. package/dist/{chunk-ZIYYSD6S.js → chunk-YN6UGKZE.js} +79 -40
  171. package/dist/{chunk-TIBFCGLT.js → chunk-YSWORAKY.js} +1 -1
  172. package/dist/{chunk-HY7FPTBD.js → chunk-YWNQOM4P.js} +2 -2
  173. package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
  174. package/dist/chunk-Z3BPDCRV.js +537 -0
  175. package/dist/{chunk-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
  176. package/dist/{chunk-4QSDXDLV.js → chunk-ZM3GP62D.js} +3 -3
  177. package/dist/{chunk-ELDZ6C3R.js → chunk-ZYODIJRG.js} +7 -3
  178. package/dist/{clean-Z5REUSNY.js → clean-QXAUIYBP.js} +36 -37
  179. package/dist/cli.js +74 -75
  180. package/dist/{cloud-QP5R6B6A.js → cloud-46NGVK4Q.js} +8 -9
  181. package/dist/{cloud-NJ7G3NF3.js → cloud-7B4YZT5U.js} +4 -4
  182. package/dist/{cloudrun-CPAZLNTW.js → cloudrun-CZGDPM57.js} +19 -12
  183. package/dist/{compare-T5CHD25P.js → compare-O2UN7HGD.js} +70 -92
  184. package/dist/{compiler-QVDXN4OS.js → compiler-ZGIAIJVE.js} +7 -9
  185. package/dist/{component-QMZ46KTE.js → component-ZIGH3VGE.js} +8 -10
  186. package/dist/{compositions-JHYYNBAK.js → compositions-W54S4VIU.js} +21 -23
  187. package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
  188. package/dist/{curve-ON6QQY7T.js → curve-HBHRWPIE.js} +20 -22
  189. package/dist/{cuts-K4FOVP4E.js → cuts-YHNO7A5G.js} +21 -23
  190. package/dist/{delete-6WFQ3FC2.js → delete-WIW3WLKA.js} +26 -15
  191. package/dist/{deploy-UAZQ5PBA.js → deploy-ICQ2PLU5.js} +12 -13
  192. package/dist/{describeProject-7W6BN5A2.js → describeProject-OCXNHB5X.js} +15 -17
  193. package/dist/{destroy-4B4OVPHJ.js → destroy-UBSVUXYW.js} +12 -13
  194. package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
  195. package/dist/{diff-ZSA37QQS.js → diff-43OCC2Y3.js} +57 -54
  196. package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
  197. package/dist/{dist-VRYZIJFZ.js → dist-A65PCIEN.js} +5 -8
  198. package/dist/{dist-2O52E7QZ.js → dist-DRHXUWGQ.js} +25 -21
  199. package/dist/{doctor-RXQ2Y2YY.js → doctor-XVOTWU62.js} +23 -25
  200. package/dist/{dotEnv-RZ52L7X3.js → dotEnv-MWWLCN66.js} +11 -3
  201. package/dist/{energy-DRA3DCRO.js → energy-SGA245NF.js} +21 -23
  202. package/dist/{events-4SNBQE3M.js → events-6HPYERWI.js} +23 -25
  203. package/dist/{events-GA3YM3WT.js → events-LIZCRDAT.js} +5 -5
  204. package/dist/{events-AJNF2C3H.js → events-MMXXYK5J.js} +10 -12
  205. package/dist/{execute-6LTZRWE4.js → execute-3346FOCY.js} +49 -46
  206. package/dist/{extract-XZQN654B.js → extract-VDV6EY5E.js} +21 -23
  207. package/dist/{face-RKUNVSN3.js → face-EGKO7HYX.js} +22 -24
  208. package/dist/{feedback-AL7NPPMZ.js → feedback-KEX6YIDA.js} +62 -38
  209. package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-OIAPERTW.js} +14 -16
  210. package/dist/{figma-IZ3NH2KZ.js → figma-KANAV6Q6.js} +3 -3
  211. package/dist/fontLocalizeCli.js +26 -27
  212. package/dist/{frames-AYE53CSZ.js → frames-XBQNOQBU.js} +23 -25
  213. package/dist/{generate-BZ4EVVQI.js → generate-P4E5UIEY.js} +37 -39
  214. package/dist/{get-2GG4NSOK.js → get-R2FJMNJK.js} +26 -15
  215. package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-AISTDFL2.js} +14 -16
  216. package/dist/{grade-compare-65NWHVXK.js → grade-compare-CE4RUMFU.js} +50 -51
  217. package/dist/hangReport.js +2 -2
  218. package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-UQUW2OVF.js} +21 -22
  219. package/dist/{help-TEQWNNPI.js → help-SK6PGYI2.js} +1 -1
  220. package/dist/{history-MVNPETRW.js → history-DM5H55WQ.js} +23 -25
  221. package/dist/hyperframe.manifest.json +1 -1
  222. package/dist/hyperframe.runtime.iife.js +67 -67
  223. package/dist/hyperframes-player.global.js +1 -1
  224. package/dist/{info-NGNTHWYX.js → info-UBGKJ5XD.js} +23 -25
  225. package/dist/{init-H7SUGVZX.js → init-SGBCTXCE.js} +41 -43
  226. package/dist/{ink-CPZ4YZFM.js → ink-NWXEZQPJ.js} +21 -23
  227. package/dist/{inspect-GZBQ7XN7.js → inspect-B7VENILS.js} +53 -54
  228. package/dist/{installer-ZTHYVK4L.js → installer-GR5X6HMD.js} +8 -10
  229. package/dist/{keyframes-B52LQUOI.js → keyframes-VZSC75GL.js} +77 -28
  230. package/dist/{lambda-SZDQJMKA.js → lambda-KCTB2LV5.js} +32 -26
  231. package/dist/{layout-BOUOG2D2.js → layout-3HSW3SNT.js} +53 -54
  232. package/dist/{lint-H4OWI5JN.js → lint-Q6NRDYLG.js} +18 -20
  233. package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
  234. package/dist/{list-VNEYACGL.js → list-5TAZKTS2.js} +27 -16
  235. package/dist/{localPage-ZP7WVA2N.js → localPage-X22Z5SDE.js} +15 -17
  236. package/dist/{login-RUDOUO5Z.js → login-TIPDZQXX.js} +6 -6
  237. package/dist/{logout-5ZO6ZNS3.js → logout-KQ7VU5M6.js} +2 -2
  238. package/dist/{look-G3NVPKXZ.js → look-VODDQOS6.js} +21 -23
  239. package/dist/{manager-NXH2NJC6.js → manager-B5HWXCKJ.js} +16 -18
  240. package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
  241. package/dist/{measure-5PVIZ2W2.js → measure-EPD4JLR7.js} +11 -11
  242. package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-ZLWCSYMP.js} +29 -29
  243. package/dist/{media-use-RTN3SMVY.js → media-use-HELWSEKT.js} +12 -8
  244. package/dist/{models-J2CJ7EVX.js → models-OKVD2GZS.js} +20 -22
  245. package/dist/{motionShot-HU7P26WJ.js → motionShot-6HJBMGBW.js} +28 -30
  246. package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
  247. package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-PKUJQYZZ.js} +20 -21
  248. package/dist/{open-RSCNUV6E.js → open-ZOXZI6MJ.js} +26 -28
  249. package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-I3TPZNMG.js} +24 -26
  250. package/dist/{pipeline-A4RL5R5P.js → pipeline-IGYBW7NA.js} +20 -20
  251. package/dist/{plan-7WYNPILA.js → plan-K2WUQRA2.js} +31 -33
  252. package/dist/{play-UKHFNMYZ.js → play-QRRL526W.js} +47 -45
  253. package/dist/{preflight-2VFCT3PI.js → preflight-KTYLNVCB.js} +17 -19
  254. package/dist/{present-ZUGFCQOF.js → present-EX2TKGXD.js} +39 -40
  255. package/dist/{preview-BT2ZFYMC.js → preview-FXMD27D6.js} +50 -50
  256. package/dist/privateProjectFile-TTLLYWGC.js +65 -0
  257. package/dist/{probe-2CLEK2UT.js → probe-2QG66GKK.js} +21 -23
  258. package/dist/{producer-HCAMS55D.js → producer-QH7A62IS.js} +1 -1
  259. package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
  260. package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-ZX2IUY45.js} +11 -13
  261. package/dist/{publication-AR63EGJF.js → publication-SKR5UXQK.js} +6 -8
  262. package/dist/{publish-EGKYOJWV.js → publish-X2PMT5TT.js} +63 -42
  263. package/dist/receivedRecordFollow-K7DVCCUS.js +54 -0
  264. package/dist/{refresh-GYRLZ7DZ.js → refresh-CYSJHATJ.js} +2 -2
  265. package/dist/{remove-background-IQQPMM24.js → remove-background-5FVNHD45.js} +21 -21
  266. package/dist/{render-ROJ5X53T.js → render-CJDV7E5M.js} +128 -87
  267. package/dist/{render-HJRMJYTA.js → render-GPXJCWM4.js} +12 -13
  268. package/dist/{render-YNSZYEEK.js → render-KAABP77Y.js} +141 -114
  269. package/dist/{render-batch-MXYDIHRO.js → render-batch-JYPH5RA7.js} +12 -13
  270. package/dist/renderSetupWorker.js +9 -9
  271. package/dist/{resolver-SPLAVF76.js → resolver-NXCI42VM.js} +8 -10
  272. package/dist/{reverse-CE6OGBB7.js → reverse-TQTVHTEN.js} +1 -1
  273. package/dist/{run-YVNJJL26.js → run-3O3N737Q.js} +11 -12
  274. package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
  275. package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-V6VXB4AZ.js} +17 -19
  276. package/dist/{service-K65JYG4O.js → service-HBLZ3T4R.js} +22 -24
  277. package/dist/{share-CSVWF6SB.js → share-QBLF3RGF.js} +26 -28
  278. package/dist/{sherpa-JE6AFUEV.js → sherpa-UZXWHCV4.js} +23 -25
  279. package/dist/sherpaWorker.js +6 -7
  280. package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
  281. package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
  282. package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
  283. package/dist/skills/media-use/audio/references/tts.md +6 -6
  284. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
  285. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
  286. package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
  287. package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
  288. package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
  289. package/dist/skills/media-use/scripts/resolve.mjs +21 -15
  290. package/dist/{skills-L3BXM7VJ.js → skills-HVIJD32X.js} +15 -17
  291. package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-DD2NM36O.js} +5 -5
  292. package/dist/{snapshot-GI2GWIF6.js → snapshot-JKKROVMI.js} +97 -84
  293. package/dist/{src-ZXZO5RCJ.js → src-BBT6W66H.js} +29 -30
  294. package/dist/{src-B646B52O.js → src-IQKTGPPV.js} +17 -19
  295. package/dist/{start-ZNGKXRNE.js → start-A4KULXY2.js} +43 -37
  296. package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
  297. package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-WH2SJFSD.js} +33 -34
  298. package/dist/{status-7SWTPLVI.js → status-ZL2XQWMR.js} +23 -25
  299. package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-CUQxAJaE.js} +1 -1
  300. package/dist/studio/assets/{index--dcfSUzI.js → index-D3rdYBVx.js} +1 -1
  301. package/dist/studio/assets/{index-Bxh5lW0C.js → index-DSrTQv-k.js} +204 -204
  302. package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-BWllfjF-.js} +1 -1
  303. package/dist/studio/index.html +1 -1
  304. package/dist/{studio-api-4XKM5HDR.js → studio-api-FNZ62P67.js} +25 -21
  305. package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
  306. package/dist/{studioServer-4TWRIZNU.js → studioServer-BBVHB7A6.js} +260 -117
  307. package/dist/subCompositionWorker.js +60 -54
  308. package/dist/{sync-R3K6LYB3.js → sync-UW6N6ORX.js} +21 -23
  309. package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
  310. package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
  311. package/dist/{telemetry-WSBY25O3.js → telemetry-OJ2XS46A.js} +10 -12
  312. package/dist/{templates-ITP6ISAF.js → templates-GH4ZOTLA.js} +24 -26
  313. package/dist/{timeline-U7GJMYKV.js → timeline-MABFMT2U.js} +36 -37
  314. package/dist/{tokens-3YTSUU27.js → tokens-XE3K3AJF.js} +15 -5
  315. package/dist/{transcribe-QHHY5M3G.js → transcribe-IRYGXKOQ.js} +44 -46
  316. package/dist/{transcribe-ISCBYWN4.js → transcribe-TV5THKEM.js} +20 -22
  317. package/dist/{tts-24IJXIT2.js → tts-HRWZJFLJ.js} +20 -4
  318. package/dist/{update-SVEH2GOL.js → update-BLVL5JMT.js} +17 -19
  319. package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5QADMRBP.js} +4 -4
  320. package/dist/{upgrade-6CGAI4OR.js → upgrade-CBB7FP3D.js} +8 -9
  321. package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ZJ423NLB.js} +13 -15
  322. package/dist/{validate-QUB4KCEQ.js → validate-PASIFGBU.js} +41 -42
  323. package/dist/{video-PUGZ5UHS.js → video-3MS2DCXZ.js} +17 -19
  324. package/dist/{voices-4UO5AYLS.js → voices-TXV5K5WI.js} +34 -36
  325. package/dist/warmCheck.js +62 -63
  326. package/dist/warmCheckClient.js +2 -2
  327. package/package.json +1 -1
  328. package/dist/chunk-6VY6WTY5.js +0 -279
  329. package/dist/chunk-NI7JVGOE.js +0 -5083
  330. package/dist/chunk-NLN5NY3P.js +0 -34
  331. package/dist/chunk-UVZIABYZ.js +0 -40
  332. package/dist/chunk-VC76R6W2.js +0 -27
@@ -0,0 +1,537 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ isEnvOrGitPath,
9
+ isPrivateOutsideFile,
10
+ linksOutside
11
+ } from "./chunk-B5TLZC2D.js";
12
+ import {
13
+ readRecordTail,
14
+ recordFolder,
15
+ recordKind,
16
+ writeRecord
17
+ } from "./chunk-OW6MOJSR.js";
18
+ import {
19
+ isPrivateProjectFile,
20
+ realFilePath
21
+ } from "./chunk-WTO3A7ET.js";
22
+ import {
23
+ realProjectRoot,
24
+ realpath
25
+ } from "./chunk-3GF72UPC.js";
26
+ import {
27
+ isCredentialOrToolStatePath,
28
+ isStudioPrivatePath,
29
+ projectPathSegments
30
+ } from "./chunk-PTGNUVCB.js";
31
+
32
+ // src/utils/privateProjectFile.ts
33
+ import {
34
+ closeSync as closeSync2,
35
+ fstatSync as fstatSync2,
36
+ lstatSync,
37
+ openSync as openSync2,
38
+ readdirSync,
39
+ readFileSync as readFileSync2,
40
+ rmSync,
41
+ statSync
42
+ } from "fs";
43
+ import { readdir } from "fs/promises";
44
+ import { basename, dirname, isAbsolute, join as join2, relative, resolve, sep } from "path";
45
+
46
+ // src/utils/walkBudget.ts
47
+ var WALK_MAX_ENTRIES = 2e4;
48
+ var WALK_MAX_MS = 2e3;
49
+ function walkBudget() {
50
+ const deadline = Date.now() + WALK_MAX_MS;
51
+ let seen = 0;
52
+ return (entries) => {
53
+ seen += entries;
54
+ return seen <= WALK_MAX_ENTRIES && Date.now() <= deadline;
55
+ };
56
+ }
57
+
58
+ // src/utils/receivedContent.ts
59
+ import { createHash } from "crypto";
60
+ import { closeSync, constants, fstatSync, openSync, readFileSync } from "fs";
61
+ import { open } from "fs/promises";
62
+ import { extname, join } from "path";
63
+ var RECEIVED_CONTENT = "received-content.json";
64
+ var MAX_CONTENT_BYTES = 16 * 1024 * 1024;
65
+ var SHA256 = /^[0-9a-f]{64}$/;
66
+ var isObject = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
67
+ var receivedContentFile = (dir) => join(dir, ".hyperframes", RECEIVED_CONTENT);
68
+ function readReceivedContent(dir) {
69
+ const empty = (readable) => ({ hashes: /* @__PURE__ */ new Set(), saved: {}, readable });
70
+ const read = readRecordTail(dir, RECEIVED_CONTENT, MAX_CONTENT_BYTES);
71
+ if (read === null) return empty(recordKind(dir, RECEIVED_CONTENT) === "absent");
72
+ let saved;
73
+ try {
74
+ saved = read?.whole ? JSON.parse(read.text) : null;
75
+ } catch {
76
+ saved = null;
77
+ }
78
+ if (!isObject(saved)) return empty(false);
79
+ const listed = Array.isArray(saved.hashes) ? saved.hashes : [];
80
+ const hashes = listed.filter(
81
+ (hash) => typeof hash === "string" && SHA256.test(hash)
82
+ );
83
+ return { hashes: new Set(hashes), saved, readable: true };
84
+ }
85
+ function writeReceivedContent(dir, content) {
86
+ if (!content.readable) return false;
87
+ const json = { ...content.saved, hashes: [...content.hashes].sort() };
88
+ return writeRecord(dir, RECEIVED_CONTENT, `${JSON.stringify(json)}
89
+ `);
90
+ }
91
+ var sha256 = (bytes) => createHash("sha256").update(bytes).digest("hex");
92
+ var MAX_HASHED_BYTES = 16 * 1024 * 1024;
93
+ var READ_PLAIN = constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0);
94
+ var hashable = (path, stat) => stat.isFile() && (stat.size <= MAX_HASHED_BYTES || isCodeFile(path));
95
+ function contentHash(path) {
96
+ let fd;
97
+ try {
98
+ fd = openSync(path, READ_PLAIN);
99
+ } catch {
100
+ return null;
101
+ }
102
+ try {
103
+ return hashable(path, fstatSync(fd)) ? sha256(readFileSync(fd)) : null;
104
+ } catch {
105
+ return null;
106
+ } finally {
107
+ closeSync(fd);
108
+ }
109
+ }
110
+ async function contentHashAsync(path) {
111
+ let handle;
112
+ try {
113
+ handle = await open(path, READ_PLAIN);
114
+ } catch {
115
+ return null;
116
+ }
117
+ try {
118
+ return hashable(path, await handle.stat()) ? sha256(await handle.readFile()) : null;
119
+ } catch {
120
+ return null;
121
+ } finally {
122
+ await handle.close();
123
+ }
124
+ }
125
+ var CODE_FILE = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml", ".css", ".js", ".mjs", ".cjs", ".svg"]);
126
+ var isCodeFile = (path) => CODE_FILE.has(extname(path).toLowerCase());
127
+
128
+ // src/utils/privateProjectFile.ts
129
+ function linksToPrivateOutsideFile(projectDir, filePath) {
130
+ return linksOutside(projectDir, filePath) && isPrivateOutsideFile(projectDir, filePath);
131
+ }
132
+ var RECEIVED_RECORD = join2(".hyperframes", "received-files.json");
133
+ var RECEIVED_RECORD_LOCK = `${RECEIVED_RECORD}.lock`;
134
+ var LOCK_WAIT_MS = 2e3;
135
+ var LOCK_STALE_MS = 1e4;
136
+ var LOCK_CLOCK_SLACK_MS = 1e3;
137
+ function recordKind2(dir) {
138
+ const path = join2(dir, RECEIVED_RECORD);
139
+ let found;
140
+ try {
141
+ found = lstatSync(path, { throwIfNoEntry: false });
142
+ } catch (error) {
143
+ return error.code === "ENOTDIR" ? "absent" : "unknown";
144
+ }
145
+ if (!found) return "absent";
146
+ try {
147
+ return statSync(path).isFile() ? "file" : "other";
148
+ } catch {
149
+ return "other";
150
+ }
151
+ }
152
+ var RECEIVED_STATE_ENV = "HYPERFRAMES_RECEIVED_STATE_FILE";
153
+ var hostStatesCache;
154
+ var strongest = (a, b) => a === "all" ? a : b;
155
+ function hostEntry(value) {
156
+ const { path, received, dev, ino } = value ?? {};
157
+ if (typeof path !== "string" || !isAbsolute(path)) throw new Error("path is not absolute");
158
+ if (received !== "expected" && received !== "all") throw new Error("unknown state");
159
+ return {
160
+ path,
161
+ received,
162
+ ...typeof dev === "string" && typeof ino === "string" && ino !== "0" ? { dev, ino } : {}
163
+ };
164
+ }
165
+ function parseHostStates(text) {
166
+ const projects = JSON.parse(text)?.projects;
167
+ if (!Array.isArray(projects)) throw new Error("projects is not a list");
168
+ const states = { unreadable: false, byPath: /* @__PURE__ */ new Map(), byIdentity: /* @__PURE__ */ new Map() };
169
+ for (const value of projects) {
170
+ const { path, received, dev, ino } = hostEntry(value);
171
+ const key = walkStart(path);
172
+ states.byPath.set(key, strongest(states.byPath.get(key), received));
173
+ if (dev !== void 0 && ino !== void 0) {
174
+ const identity = `${dev}:${ino}`;
175
+ states.byIdentity.set(identity, strongest(states.byIdentity.get(identity), received));
176
+ }
177
+ }
178
+ return states;
179
+ }
180
+ function hostStates() {
181
+ const file = process.env[RECEIVED_STATE_ENV];
182
+ if (!file) return null;
183
+ try {
184
+ const handle = openSync2(file, "r");
185
+ try {
186
+ const stat = fstatSync2(handle, { bigint: true });
187
+ const key = `${file}\0${stat.dev}:${stat.ino}:${stat.size}:${stat.mtimeNs}:${stat.ctimeNs}`;
188
+ if (hostStatesCache?.key !== key)
189
+ hostStatesCache = { key, states: parseHostStates(readFileSync2(handle, "utf-8")) };
190
+ return hostStatesCache.states;
191
+ } finally {
192
+ closeSync2(handle);
193
+ }
194
+ } catch {
195
+ return { unreadable: true, byPath: /* @__PURE__ */ new Map(), byIdentity: /* @__PURE__ */ new Map() };
196
+ }
197
+ }
198
+ function hostState(dir, states = hostStates()) {
199
+ if (!states) return void 0;
200
+ if (states.unreadable) return "all";
201
+ const named = states.byPath.get(dir);
202
+ if (named || states.byIdentity.size === 0) return named;
203
+ const identity = fileIdentity(dir);
204
+ return identity === null ? void 0 : states.byIdentity.get(identity);
205
+ }
206
+ function allReceivedAtOrAbove(start, states) {
207
+ for (let dir = start; ; dir = dirname(dir)) {
208
+ if (hostState(dir, states) === "all") return true;
209
+ if (dirname(dir) === dir) return false;
210
+ }
211
+ }
212
+ function allReceivedAround(start) {
213
+ const states = hostStates();
214
+ if (!states) return false;
215
+ if (states.unreadable) return true;
216
+ const overlaps = [...states.byPath].some(
217
+ ([path, state]) => state === "all" && (isAtOrUnder(path, start) || isAtOrUnder(start, path))
218
+ );
219
+ return overlaps || allReceivedAtOrAbove(start, states);
220
+ }
221
+ function readRecord(dir, ownFolder) {
222
+ const kind = recordKind2(dir);
223
+ if (kind === "absent" && hostState(dir) !== void 0) return { listed: void 0 };
224
+ if (kind === "absent" || kind === "unknown" && !ownFolder) return null;
225
+ if (kind !== "file") return { listed: void 0 };
226
+ try {
227
+ return { listed: JSON.parse(readFileSync2(join2(dir, RECEIVED_RECORD), "utf-8")).files };
228
+ } catch {
229
+ return { listed: void 0 };
230
+ }
231
+ }
232
+ function sleepSync(ms) {
233
+ Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
234
+ }
235
+ var sleep = (ms) => new Promise((resolve2) => setTimeout(resolve2, ms));
236
+ function tryRecordLock(lock, deadline) {
237
+ try {
238
+ closeSync2(openSync2(lock, "wx"));
239
+ return "taken";
240
+ } catch (error) {
241
+ if (error.code !== "EEXIST") throw error;
242
+ }
243
+ const heldFor = Date.now() - (statSync(lock, { throwIfNoEntry: false })?.mtimeMs ?? Date.now());
244
+ if (heldFor > LOCK_STALE_MS || heldFor < -LOCK_CLOCK_SLACK_MS) rmSync(lock, { force: true });
245
+ else if (Date.now() >= deadline)
246
+ throw new Error(`Another program is changing ${RECEIVED_RECORD}; try again.`);
247
+ return "wait";
248
+ }
249
+ function takeRecordLock(lock) {
250
+ const deadline = Date.now() + LOCK_WAIT_MS;
251
+ while (tryRecordLock(lock, deadline) === "wait") sleepSync(25);
252
+ }
253
+ async function takeRecordLockAsync(lock) {
254
+ const deadline = Date.now() + LOCK_WAIT_MS;
255
+ while (tryRecordLock(lock, deadline) === "wait") await sleep(25);
256
+ }
257
+ function recordLock(projectDir) {
258
+ const root = realProjectRoot(projectDir);
259
+ if (!recordFolder(root, ""))
260
+ throw new Error(
261
+ `${join2(root, ".hyperframes")} is a link or not a folder; remove it and try again.`
262
+ );
263
+ return { root, lock: join2(root, RECEIVED_RECORD_LOCK) };
264
+ }
265
+ function applyRecordChange(root, change) {
266
+ const record = readRecord(root, true);
267
+ if (record && !Array.isArray(record.listed)) return;
268
+ const files = new Set((record?.listed ?? []).map(String));
269
+ const content = readReceivedContent(root);
270
+ const known = content.hashes.size;
271
+ const changed = change(files, content);
272
+ const json = `${JSON.stringify({ files: [...files].sort() })}
273
+ `;
274
+ if (changed && !writeRecord(root, basename(RECEIVED_RECORD), json))
275
+ throw new Error(`Could not write ${join2(root, RECEIVED_RECORD)}.`);
276
+ if (content.hashes.size > known && !writeReceivedContent(root, content))
277
+ throw new Error(`Could not write the received content beside ${join2(root, RECEIVED_RECORD)}.`);
278
+ }
279
+ function changeReceivedRecord(projectDir, change) {
280
+ const { root, lock } = recordLock(projectDir);
281
+ takeRecordLock(lock);
282
+ try {
283
+ applyRecordChange(root, change);
284
+ } finally {
285
+ rmSync(lock, { force: true });
286
+ }
287
+ }
288
+ async function changeReceivedRecordAsync(projectDir, change) {
289
+ const { root, lock } = recordLock(projectDir);
290
+ await takeRecordLockAsync(lock);
291
+ try {
292
+ applyRecordChange(root, change);
293
+ } finally {
294
+ rmSync(lock, { force: true });
295
+ }
296
+ }
297
+ function recordReceivedFiles(root, paths) {
298
+ const added = [];
299
+ if (paths.length === 0) return added;
300
+ changeReceivedRecord(root, (files) => {
301
+ for (const path of paths.map((one) => one.normalize("NFC"))) {
302
+ if (!files.has(path)) added.push(path);
303
+ files.add(path);
304
+ }
305
+ return added.length > 0;
306
+ });
307
+ return added;
308
+ }
309
+ function forgetReceivedFiles(root, paths) {
310
+ if (paths.length === 0) return;
311
+ changeReceivedRecord(root, (files) => paths.map((path) => files.delete(path)).some(Boolean));
312
+ }
313
+ var receivedLinesAtOrAbove = (dir) => receivedRecordsAtOrAbove(dir).flatMap(
314
+ (record) => Array.isArray(record.listed) ? [{ folder: record.root, lines: record.listed.map(String) }] : []
315
+ );
316
+ var listedPaths = (record) => Array.isArray(record.listed) ? record.listed.map((entry) => join2(record.root, String(entry))) : [];
317
+ var isAtOrUnder = (path, folder) => {
318
+ const inside = relative(folder, path);
319
+ return inside === "" || inside !== ".." && !inside.startsWith(`..${sep}`) && !isAbsolute(inside);
320
+ };
321
+ async function filesListedInFolder(target) {
322
+ if (!statSync(target, { throwIfNoEntry: false })?.isDirectory()) return [];
323
+ const own = readRecord(target, true);
324
+ const below = await receivedRecordsBelowAsync(target);
325
+ if (below === null) return null;
326
+ const records = own ? [nestedRecord(target, target, own), ...below] : below;
327
+ return records.flatMap(listedPaths);
328
+ }
329
+ function receivedRecordsAtOrAbove(start) {
330
+ const records = [];
331
+ for (let dir = start; ; ) {
332
+ const record = readRecord(dir, dir === start);
333
+ if (record)
334
+ records.push({
335
+ file: join2(dir, RECEIVED_RECORD),
336
+ root: dir,
337
+ projectDirFromRoot: relative(dir, start).split(sep).join("/"),
338
+ ...record
339
+ });
340
+ const parent = dirname(dir);
341
+ if (parent === dir) return records;
342
+ dir = parent;
343
+ }
344
+ }
345
+ function nestedRecord(start, dir, record) {
346
+ const folder = relative(start, dir).split(sep).join("/");
347
+ const listed = Array.isArray(record.listed) ? record.listed.map((entry) => folder ? `${folder}/${String(entry)}` : String(entry)) : void 0;
348
+ return { file: join2(dir, RECEIVED_RECORD), root: start, projectDirFromRoot: "", listed };
349
+ }
350
+ var GIT_AND_PACKAGE_FOLDERS = /* @__PURE__ */ new Set([".git", "node_modules"]);
351
+ function mayHoldLoadedFiles(start, folder) {
352
+ const rel = relative(start, folder).split(sep).join("/");
353
+ const segments = projectPathSegments(rel);
354
+ if (GIT_AND_PACKAGE_FOLDERS.has(segments.at(-1) ?? "")) return false;
355
+ if (!segments.includes(".hyperframes")) return true;
356
+ return segments.length === 1 || !isStudioPrivatePath(rel);
357
+ }
358
+ var subfolders = (start, dir, entries) => entries.filter((entry) => entry.isDirectory()).map((entry) => join2(dir, entry.name)).filter((folder) => mayHoldLoadedFiles(start, folder));
359
+ function receivedRecordsBelow(start) {
360
+ const withinBudget = walkBudget();
361
+ const records = [];
362
+ const pending = [start];
363
+ for (let dir = pending.pop(); dir !== void 0; dir = pending.pop()) {
364
+ let folders;
365
+ try {
366
+ folders = subfolders(start, dir, readdirSync(dir, { withFileTypes: true }));
367
+ } catch {
368
+ return null;
369
+ }
370
+ if (!withinBudget(folders.length)) return null;
371
+ const record = dir === start ? null : readRecord(dir, true);
372
+ if (record) records.push(nestedRecord(start, dir, record));
373
+ pending.push(...folders);
374
+ }
375
+ return records;
376
+ }
377
+ async function receivedRecordsBelowAsync(start) {
378
+ const records = [];
379
+ const pending = [start];
380
+ for (let dir = pending.pop(); dir !== void 0; dir = pending.pop()) {
381
+ let folders;
382
+ try {
383
+ folders = subfolders(start, dir, await readdir(dir, { withFileTypes: true }));
384
+ } catch {
385
+ return null;
386
+ }
387
+ const record = dir === start ? null : readRecord(dir, true);
388
+ if (record) records.push(nestedRecord(start, dir, record));
389
+ pending.push(...folders);
390
+ }
391
+ return records;
392
+ }
393
+ function walkStart(projectDir) {
394
+ try {
395
+ return realpath(projectDir);
396
+ } catch {
397
+ return resolve(projectDir);
398
+ }
399
+ }
400
+ function receivedRecords(projectDir) {
401
+ const start = walkStart(projectDir);
402
+ const below = receivedRecordsBelow(start);
403
+ if (!below) return null;
404
+ const records = [...receivedRecordsAtOrAbove(start), ...below];
405
+ if (allReceivedAround(start))
406
+ records.push({
407
+ file: process.env[RECEIVED_STATE_ENV] ?? "",
408
+ root: start,
409
+ projectDirFromRoot: "",
410
+ listed: void 0
411
+ });
412
+ return records;
413
+ }
414
+ function fileIdentity(path) {
415
+ try {
416
+ const stat = lstatSync(path, { bigint: true });
417
+ return stat.ino === 0n ? null : `${stat.dev}:${stat.ino}`;
418
+ } catch {
419
+ return null;
420
+ }
421
+ }
422
+ function listedIn(record, projectDir, start) {
423
+ const listed = record.listed.map((path) => String(path).normalize("NFC"));
424
+ const files = new Set(listed);
425
+ const keyOf = (path) => (record.projectDirFromRoot ? `${record.projectDirFromRoot}/${path}` : path).normalize("NFC");
426
+ let listedOnDisk;
427
+ const sameFileAsListed = (path) => {
428
+ listedOnDisk ??= new Set(
429
+ listed.map((entry) => join2(record.root, entry)).filter((file) => isAtOrUnder(file, start)).flatMap((file) => fileIdentity(file) ?? [])
430
+ );
431
+ const identity = fileIdentity(join2(projectDir, path));
432
+ return identity !== null && listedOnDisk.has(identity);
433
+ };
434
+ return (path) => files.has(keyOf(path)) || sameFileAsListed(path);
435
+ }
436
+ function onDisk(path) {
437
+ try {
438
+ return lstatSync(path, { throwIfNoEntry: false }) !== void 0;
439
+ } catch {
440
+ return false;
441
+ }
442
+ }
443
+ var contentFolder = (record) => dirname(dirname(record.file));
444
+ function receivedContentOf(records) {
445
+ const hashes = [];
446
+ for (const folder of new Set(records.map(contentFolder))) {
447
+ const content = readReceivedContent(folder);
448
+ if (!content.readable) return { unreadable: receivedContentFile(folder) };
449
+ hashes.push(...content.hashes);
450
+ }
451
+ return { hashes };
452
+ }
453
+ function holdsReceivedContent(projectDir, hashes) {
454
+ const seen = /* @__PURE__ */ new Map();
455
+ return (path) => {
456
+ if (hashes.size === 0) return false;
457
+ if (!seen.has(path)) seen.set(path, hashes.has(contentHash(join2(projectDir, path)) ?? ""));
458
+ return seen.get(path) === true;
459
+ };
460
+ }
461
+ function receivedFiles(projectDir) {
462
+ const records = receivedRecords(projectDir);
463
+ if (records === null) return Object.assign(() => true, { unchecked: true });
464
+ if (records.some((record) => !Array.isArray(record.listed))) return () => true;
465
+ const content = receivedContentOf(records);
466
+ if ("unreadable" in content) return () => true;
467
+ const start = walkStart(projectDir);
468
+ const listedInProject = records.flatMap(listedPaths).filter((path) => isAtOrUnder(path, start));
469
+ const goneFile = listedInProject.find((path) => !onDisk(path));
470
+ const mayBeGoneFile = (path) => goneFile !== void 0 && (isCodeFile(path) || linksOutside(projectDir, join2(projectDir, path)));
471
+ const sameContent = holdsReceivedContent(projectDir, new Set(content.hashes));
472
+ const listedInAnyRecord = records.map((record) => listedIn(record, projectDir, start));
473
+ const received = (path) => listedInAnyRecord.some((listed) => listed(path)) || mayBeGoneFile(path) || sameContent(path);
474
+ const gone = goneFile && relative(start, goneFile).split(sep).join("/");
475
+ return Object.assign(received, gone === void 0 ? {} : { gone });
476
+ }
477
+ function listedUnder(record) {
478
+ const entries = record.listed.map(String);
479
+ const prefix = record.projectDirFromRoot ? `${record.projectDirFromRoot}/`.normalize("NFC") : "";
480
+ const folder = prefix ? fileIdentity(join2(record.root, record.projectDirFromRoot)) : null;
481
+ const identities = /* @__PURE__ */ new Map();
482
+ const inFolderOnDisk = (path) => {
483
+ for (let dir = dirname(path); folder && dir.length > record.root.length; dir = dirname(dir)) {
484
+ if (!identities.has(dir)) identities.set(dir, fileIdentity(dir));
485
+ if (identities.get(dir) === folder) return true;
486
+ }
487
+ return false;
488
+ };
489
+ return entries.filter(
490
+ (entry) => entry.normalize("NFC").startsWith(prefix) || inFolderOnDisk(join2(record.root, entry))
491
+ ).map((entry) => join2(record.root, entry));
492
+ }
493
+ function receivedRecordStatus(projectDir) {
494
+ const records = receivedRecords(projectDir);
495
+ if (records === null) return "unchecked";
496
+ const [nearest] = records;
497
+ if (!nearest) return null;
498
+ const unreadable = records.find((record) => !Array.isArray(record.listed));
499
+ if (unreadable) return { path: unreadable.file, listed: null, hashes: [] };
500
+ const content = receivedContentOf(records);
501
+ if ("unreadable" in content) return { path: content.unreadable, listed: null, hashes: [] };
502
+ return { path: nearest.file, listed: records.flatMap(listedUnder), hashes: content.hashes };
503
+ }
504
+ var leavesProject = (path) => isAbsolute(path) || path.split(/[\\/]/)[0] === "..";
505
+ var projectRelatives = (projectDir, filePath) => [
506
+ relative(projectDir, filePath),
507
+ relative(realFilePath(projectDir), realFilePath(filePath))
508
+ ];
509
+ function isPrivateCompositionFile(projectDir, filePath) {
510
+ const paths = projectRelatives(projectDir, filePath);
511
+ return paths.some(isEnvOrGitPath) || paths.some((path) => !leavesProject(path) && isCredentialOrToolStatePath(path)) || isPrivateProjectFile(projectDir, filePath);
512
+ }
513
+ function isHiddenProjectFile(projectDir, filePath) {
514
+ return projectRelatives(projectDir, filePath).some(
515
+ (path) => path.split(/[\\/]/).some((segment) => segment.startsWith(".") && segment !== "..")
516
+ );
517
+ }
518
+
519
+ export {
520
+ walkBudget,
521
+ readReceivedContent,
522
+ hashable,
523
+ contentHash,
524
+ contentHashAsync,
525
+ linksToPrivateOutsideFile,
526
+ RECEIVED_STATE_ENV,
527
+ changeReceivedRecordAsync,
528
+ recordReceivedFiles,
529
+ forgetReceivedFiles,
530
+ receivedLinesAtOrAbove,
531
+ filesListedInFolder,
532
+ mayHoldLoadedFiles,
533
+ receivedFiles,
534
+ receivedRecordStatus,
535
+ isPrivateCompositionFile,
536
+ isHiddenProjectFile
537
+ };
@@ -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-6VY52EVW.js";
9
+ } from "./chunk-PQ2OPPGP.js";
10
10
  import {
11
11
  failUsage
12
12
  } from "./chunk-U7M4SZUB.js";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-6ATP7YPZ.js";
10
+ } from "./chunk-IBU2BW4H.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-3QMGLSKC.js";
13
+ } from "./chunk-RHHPEUVM.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-HLOJSBGC.js";
17
+ } from "./chunk-TTRX7NM3.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -10,13 +10,16 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-OYKAS3J5.js";
13
+ } from "./chunk-V7Z2JQRL.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-JCNPHRGX.js";
17
+ import {
18
+ terminalLines
19
+ } from "./chunk-3GF72UPC.js";
17
20
  import {
18
21
  withMeta
19
- } from "./chunk-3DFEBAWJ.js";
22
+ } from "./chunk-HGVBKNLQ.js";
20
23
  import {
21
24
  failCommand
22
25
  } from "./chunk-U7M4SZUB.js";
@@ -41,7 +44,8 @@ async function runMeasure(work) {
41
44
  })
42
45
  )
43
46
  );
44
- if (process.stdout.isTTY) console.error(`${c.error("\u2717")} ${normalizeErrorMessage(err)}`);
47
+ if (process.stdout.isTTY)
48
+ console.error(`${c.error("\u2717")} ${terminalLines(normalizeErrorMessage(err))}`);
45
49
  failCommand(1, err);
46
50
  }
47
51
  }