hyperframes 0.8.221 → 0.8.223

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 (262) hide show
  1. package/dist/{add-7CVO7K6M.js → add-PBLOPJHC.js} +16 -15
  2. package/dist/{agentPromptGenerator-YFC2SJLF.js → agentPromptGenerator-OD74HKYZ.js} +12 -11
  3. package/dist/{animatedGifPrep-YSMY5GU2.js → animatedGifPrep-QCG2BTDC.js} +12 -11
  4. package/dist/api.d.ts +5 -3
  5. package/dist/api.js +38 -26
  6. package/dist/{asset-ZVKHSO3M.js → asset-KHXCO4OR.js} +2 -2
  7. package/dist/{assetCataloger-6IBSEOK7.js → assetCataloger-ZX5WZTDQ.js} +13 -12
  8. package/dist/{audio-JUV3TVSW.js → audio-7AH2C6PB.js} +153 -1160
  9. package/dist/{auth-2J6FP462.js → auth-DJWMGXQB.js} +5 -5
  10. package/dist/{autoUpdate-ML6EZK6D.js → autoUpdate-KJMLYSHE.js} +2 -2
  11. package/dist/{backgroundChecks-MAWP2REX.js → backgroundChecks-XLVQMMXY.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-Z7MGNJZH.js → batchRender-UR67LI4H.js} +12 -9
  14. package/dist/{beats-LRZOZUUQ.js → beats-ISWSYNN6.js} +54 -22
  15. package/dist/{benchmark-XJWLDTIL.js → benchmark-7JUATINH.js} +12 -11
  16. package/dist/billing-VGKY3FMX.js +86 -0
  17. package/dist/{browser-STEVEWWA.js → browser-HNGQB47C.js} +3 -3
  18. package/dist/{bundleWithLocalizedFonts-WH63ZWUT.js → bundleWithLocalizedFonts-4XWX2XPS.js} +2 -2
  19. package/dist/{capture-VB5ID7HT.js → capture-GFDP5THL.js} +3 -3
  20. package/dist/{capture-U3ZT3GNI.js → capture-LBEGVQTJ.js} +80 -38
  21. package/dist/{captureCompositionFrame-MXJ3WO2R.js → captureCompositionFrame-5L3J4MZ4.js} +18 -17
  22. package/dist/{catalog-ICGHSRPZ.js → catalog-SNUTPI57.js} +16 -15
  23. package/dist/{catch-up-DJPQKXQB.js → catch-up-FE3HDMLJ.js} +4 -4
  24. package/dist/{check-TL7AGWPO.js → check-MQCBMOKA.js} +47 -45
  25. package/dist/{checkAudio-GPTU6EGB.js → checkAudio-6VPMLIY6.js} +22 -21
  26. package/dist/{checkBrowser-FG5DAW2R.js → checkBrowser-SHUVFQ4S.js} +45 -39
  27. package/dist/{chunk-YKMFCE5B.js → chunk-2GMHYOV3.js} +1 -1
  28. package/dist/{chunk-TNQCXU37.js → chunk-2HBB5U52.js} +1 -1
  29. package/dist/{chunk-UNQ3CVKW.js → chunk-3FGEDDSA.js} +27 -28
  30. package/dist/{chunk-HSHKLYDI.js → chunk-44IPXXSK.js} +7 -5
  31. package/dist/{chunk-TVT465RJ.js → chunk-44YG42L5.js} +144 -41
  32. package/dist/{chunk-ZBLSSWSE.js → chunk-45UOXUUH.js} +16 -3
  33. package/dist/chunk-4JRFMRCQ.js +288 -0
  34. package/dist/{chunk-M2F6VGCP.js → chunk-4XQQQ4KN.js} +85 -50
  35. package/dist/{chunk-6MUI2H6P.js → chunk-54Q3H2UQ.js} +5 -2
  36. package/dist/{chunk-67CALYTU.js → chunk-664JAO7C.js} +1 -1
  37. package/dist/{chunk-H3HC6U4I.js → chunk-6LE7K3YM.js} +17 -14
  38. package/dist/{chunk-Z7YQEDA5.js → chunk-7LKEHM2R.js} +1 -1
  39. package/dist/{chunk-I45R2REQ.js → chunk-7XWCCFYW.js} +1 -1
  40. package/dist/{chunk-L63FJVSC.js → chunk-A2KNKY4Z.js} +1 -1
  41. package/dist/{chunk-MEB6HWBM.js → chunk-A5WWEW6U.js} +2 -2
  42. package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
  43. package/dist/{chunk-OPKSVV4G.js → chunk-AKTI2SHL.js} +2 -2
  44. package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
  45. package/dist/chunk-AW7UW2Z7.js +312 -0
  46. package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
  47. package/dist/{chunk-625I5VBE.js → chunk-B5HFCGI7.js} +2 -2
  48. package/dist/{chunk-AZXDEC2G.js → chunk-B6F33PUK.js} +6 -8
  49. package/dist/{chunk-AW7A27JM.js → chunk-BDEBKAD2.js} +1 -1
  50. package/dist/{chunk-322M35EB.js → chunk-BN75GXZM.js} +3 -3
  51. package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
  52. package/dist/{chunk-6YW3FEHC.js → chunk-C466I3DT.js} +9 -8
  53. package/dist/{chunk-M2BCU4Y5.js → chunk-CXEU6XNL.js} +6 -20
  54. package/dist/{chunk-KQPP4NIZ.js → chunk-CYE2NNFF.js} +2 -2
  55. package/dist/{chunk-U6WH572X.js → chunk-DFK4RMNE.js} +5 -5
  56. package/dist/chunk-DY7PQLIE.js +248 -0
  57. package/dist/chunk-EF735J3K.js +59 -0
  58. package/dist/{chunk-XFMO3BEN.js → chunk-EHZESMRB.js} +18 -6
  59. package/dist/chunk-EJOFIHX4.js +46 -0
  60. package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
  61. package/dist/{chunk-2ZNURTH5.js → chunk-EX75C5HT.js} +4459 -4312
  62. package/dist/{chunk-4ZM727AO.js → chunk-FKBWONRY.js} +5 -5
  63. package/dist/{chunk-YISDQ7YP.js → chunk-FORV75JT.js} +26 -14
  64. package/dist/{chunk-ZKPRJPWN.js → chunk-G5KX4X6W.js} +59 -59
  65. package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
  66. package/dist/{chunk-LYZB5CJN.js → chunk-HT3D5AKG.js} +160 -19
  67. package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
  68. package/dist/{chunk-35JKCWYI.js → chunk-I6OY5MS6.js} +1 -1
  69. package/dist/{chunk-S5GOFDX5.js → chunk-IJI2JNN7.js} +1 -1
  70. package/dist/{chunk-SAKL7SZH.js → chunk-IQ7FABPU.js} +3 -3
  71. package/dist/{chunk-YV2QQUTL.js → chunk-JNQCM6CR.js} +2 -2
  72. package/dist/{chunk-TMK3MW7B.js → chunk-JO4LHFFP.js} +10 -10
  73. package/dist/chunk-JTZHDD63.js +70 -0
  74. package/dist/{chunk-YSZ4VMXI.js → chunk-K5GMPWMG.js} +1 -1
  75. package/dist/{chunk-ROVRC3CG.js → chunk-KCDWRMTC.js} +5 -5
  76. package/dist/{chunk-74E7EHVH.js → chunk-KJGYQVFD.js} +1 -1
  77. package/dist/{chunk-3STL4WJ6.js → chunk-KT2WLSX5.js} +19 -10
  78. package/dist/{chunk-OMLDAF44.js → chunk-KWYK65GR.js} +9 -8
  79. package/dist/{chunk-F6WHVEUS.js → chunk-LAIGIOEA.js} +5 -1
  80. package/dist/{chunk-3PJ3HVLG.js → chunk-LV5AVW6U.js} +1 -1
  81. package/dist/{chunk-XETZLYGW.js → chunk-M4UVOUWC.js} +2 -2
  82. package/dist/{chunk-DMCU2ELU.js → chunk-M7HNGAWN.js} +3 -3
  83. package/dist/chunk-MEJH7VEA.js +63 -0
  84. package/dist/{chunk-MYXFBIJO.js → chunk-MTVL7FWZ.js} +1 -1
  85. package/dist/{chunk-MYNBV7WG.js → chunk-MUHOFRGW.js} +1 -1
  86. package/dist/{chunk-7DVR3DL3.js → chunk-N6XKBBT5.js} +8 -8
  87. package/dist/{chunk-OOEOJPFY.js → chunk-NLWG5TU7.js} +2 -2
  88. package/dist/chunk-NZZQCWUC.js +205 -0
  89. package/dist/{chunk-ZOLKM3VZ.js → chunk-OL2C3ODS.js} +9 -9
  90. package/dist/{chunk-QLQVQQP6.js → chunk-OVINGNLQ.js} +3 -3
  91. package/dist/{chunk-MXVH6UW6.js → chunk-OWFSGDQS.js} +6 -57
  92. package/dist/chunk-OZM6VLD7.js +71 -0
  93. package/dist/{chunk-5YT2KHPO.js → chunk-P5QGZMGC.js} +2 -2
  94. package/dist/{chunk-NYOQP6DO.js → chunk-PBPHKD56.js} +1 -1
  95. package/dist/chunk-PHEPL7OX.js +1048 -0
  96. package/dist/{chunk-AZI2T2KO.js → chunk-PX7Y4HMM.js} +1 -1
  97. package/dist/{chunk-IDWJJ7PP.js → chunk-QNLHDYYO.js} +2 -2
  98. package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
  99. package/dist/{chunk-24F7TOW2.js → chunk-QU5OYMTB.js} +140 -54
  100. package/dist/chunk-QZGKKQ77.js +570 -0
  101. package/dist/{chunk-NQOCM4KQ.js → chunk-RKVKFXYB.js} +3 -3
  102. package/dist/{chunk-Y4GLFHO5.js → chunk-RORIFIUW.js} +1 -1
  103. package/dist/{chunk-MESSJFK3.js → chunk-RWSVSCOP.js} +38 -28
  104. package/dist/chunk-RZ6CXJ56.js +24 -0
  105. package/dist/chunk-SDBVVDBW.js +113 -0
  106. package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
  107. package/dist/{chunk-BQNTY7J5.js → chunk-SNFVQDKE.js} +1 -1
  108. package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
  109. package/dist/{chunk-D2RQVJLZ.js → chunk-SX7ESVCQ.js} +5 -29
  110. package/dist/{chunk-P6FGS4U6.js → chunk-UFYWGUUV.js} +6 -6
  111. package/dist/{chunk-GSCFMG4C.js → chunk-UGUWSAJT.js} +3 -3
  112. package/dist/chunk-UQECNXFA.js +5013 -0
  113. package/dist/{chunk-XDTCPMR3.js → chunk-UQVAAEPQ.js} +2 -2
  114. package/dist/{chunk-NHXGFQWQ.js → chunk-UVF4U3ZF.js} +1 -1
  115. package/dist/{chunk-YSTBSLWY.js → chunk-VBCBHDIW.js} +1 -1
  116. package/dist/chunk-VJM6NX54.js +250 -0
  117. package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
  118. package/dist/chunk-WGOIJN57.js +95 -0
  119. package/dist/{chunk-RVCWVOXM.js → chunk-WQLTKHPP.js} +3 -3
  120. package/dist/{chunk-RVIMLJXC.js → chunk-WUXDIF5D.js} +60 -23
  121. package/dist/{chunk-QYUXDFJY.js → chunk-WWOHLNFO.js} +12 -10
  122. package/dist/{chunk-JGZUG5V4.js → chunk-XZEHFUQF.js} +2 -2
  123. package/dist/{chunk-6HKUUBAV.js → chunk-Y4INSXS7.js} +2 -2
  124. package/dist/{chunk-O7WR4AHX.js → chunk-ZEKV5T3I.js} +14 -14
  125. package/dist/{clean-3NMJWZXK.js → clean-JZOPMJMV.js} +27 -26
  126. package/dist/cli.js +59 -56
  127. package/dist/{cloud-CB3NYNUR.js → cloud-VMPF2KMA.js} +4 -4
  128. package/dist/{cloudrun-2CTKCIXV.js → cloudrun-LA2FKS2F.js} +10 -9
  129. package/dist/commands/layout-audit.browser.js +19 -3
  130. package/dist/commands/motion-signature.browser.js +8 -4
  131. package/dist/{compare-FVY3AMTT.js → compare-IQCFSC5Z.js} +37 -36
  132. package/dist/{compiler-SEQRWEEN.js → compiler-J7OZQIPD.js} +8 -8
  133. package/dist/{component-AEMJRROX.js → component-TRGBVFCI.js} +3 -3
  134. package/dist/{compositions-NRBSIBGZ.js → compositions-FOC2CAZX.js} +18 -17
  135. package/dist/curve-ID3Z522S.js +329 -0
  136. package/dist/cuts-MWHQSE2Z.js +123 -0
  137. package/dist/{delete-T4E53ELR.js → delete-47KZ7PLI.js} +5 -5
  138. package/dist/{deploy-PUF2DW3H.js → deploy-NTNEO4TI.js} +8 -8
  139. package/dist/describeProject-WWREIVQV.js +56 -0
  140. package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
  141. package/dist/diff-GH4KCQGQ.js +1825 -0
  142. package/dist/{dist-VARV35QH.js → dist-24QQO5IL.js} +6 -6
  143. package/dist/{dist-B6C3DU6I.js → dist-XW7FATO6.js} +7 -6
  144. package/dist/{doctor-FVBU575B.js → doctor-4ZH7WFU6.js} +16 -15
  145. package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
  146. package/dist/energy-2C65KXBH.js +134 -0
  147. package/dist/{events-RSPDI7FX.js → events-FUFFA55P.js} +3 -3
  148. package/dist/{events-DZ5PRR6F.js → events-Q3EBOW2Y.js} +2 -2
  149. package/dist/events-QO5G2VCC.js +221 -0
  150. package/dist/extract-Z6TLBM5B.js +309 -0
  151. package/dist/face-WI6BPPUG.js +171 -0
  152. package/dist/{feedback-AALA3OA7.js → feedback-M5GZWDXP.js} +16 -15
  153. package/dist/{ffmpeg-YXKE5CUE.js → ffmpeg-27H6P7ZU.js} +13 -12
  154. package/dist/{figma-37R727XZ.js → figma-AI6TSWVO.js} +3 -3
  155. package/dist/fontLocalizeCli.js +16 -15
  156. package/dist/frames-WUTLVZIR.js +352 -0
  157. package/dist/generate-3CJREF5U.js +74 -0
  158. package/dist/{get-L3VKJ6JF.js → get-KTDRE33B.js} +5 -5
  159. package/dist/{gpuPolicy-6QIFFWAI.js → gpuPolicy-Z4MM64HY.js} +12 -11
  160. package/dist/{grade-compare-7IN5QDJD.js → grade-compare-IM7Z7HWI.js} +41 -37
  161. package/dist/{heifImagePrep-AWII25PM.js → heifImagePrep-CXI2ZMUX.js} +13 -12
  162. package/dist/{help-B4MB7MWW.js → help-5FR6BRLR.js} +7 -1
  163. package/dist/{history-TQO6AWEQ.js → history-5P5YVP5H.js} +17 -8
  164. package/dist/hyperframe.manifest.json +1 -1
  165. package/dist/hyperframe.runtime.iife.js +72 -72
  166. package/dist/hyperframes-player.global.js +3 -3
  167. package/dist/hyperframes-slideshow.global.js +8 -8
  168. package/dist/index-gen-OPMQ5WSN.js +61 -0
  169. package/dist/{info-7CBHVXSG.js → info-5ZGNJJVA.js} +11 -10
  170. package/dist/{init-D7HKPQ5A.js → init-NWIAEYSX.js} +35 -33
  171. package/dist/{inspect-VHDQL55M.js → inspect-HBLAVW5C.js} +38 -36
  172. package/dist/{installer-EJNLL6SV.js → installer-KVFTBZZ5.js} +8 -7
  173. package/dist/{keyframes-IFLBMAJP.js → keyframes-LFCLUY2R.js} +7 -7
  174. package/dist/{lambda-I7EQULHC.js → lambda-RFWTTMLU.js} +19 -18
  175. package/dist/{layout-MOCEANRO.js → layout-WOG2Y5ND.js} +38 -36
  176. package/dist/{lint-HFXGSQKN.js → lint-7MALXMMF.js} +12 -12
  177. package/dist/{lintProject-VCDI6A2W.js → lintProject-6H64SX3V.js} +6 -6
  178. package/dist/{list-OFYIXVON.js → list-XRYAT24W.js} +5 -5
  179. package/dist/{localPage-QOOQ5YA2.js → localPage-IN36JVJU.js} +12 -11
  180. package/dist/{login-WAG7B4PM.js → login-32WGVGTM.js} +15 -9
  181. package/dist/{logout-6VFJ7WMW.js → logout-SLI6YTHI.js} +2 -2
  182. package/dist/look-ZWVE6JO3.js +180 -0
  183. package/dist/{manager-34U5CEFB.js → manager-SFL6GLYX.js} +14 -12
  184. package/dist/manifest-QSJYVERU.js +49 -0
  185. package/dist/measure-Q74BJTRQ.js +46 -0
  186. package/dist/{media-treatment-2TLX6NKS.js → media-treatment-3R6DYEAZ.js} +24 -23
  187. package/dist/{media-use-ZNTB7W6N.js → media-use-ZM2WCRQC.js} +9 -5
  188. package/dist/{models-M2F4WTAR.js → models-NNC53UPU.js} +16 -15
  189. package/dist/{motionShot-6WCTCV4W.js → motionShot-5BI5JFUP.js} +21 -20
  190. package/dist/{normalize-QJVXFMWO.js → normalize-MBNGRVQA.js} +2 -1
  191. package/dist/{normalize-audio-T6PIPWOT.js → normalize-audio-6Z2WN56Q.js} +15 -14
  192. package/dist/{open-BC5METIY.js → open-5NCEN6RC.js} +15 -14
  193. package/dist/{parakeetRunner-UXVY7PV2.js → parakeetRunner-DH3XKR3C.js} +19 -17
  194. package/dist/{pipeline-GJAJPWPB.js → pipeline-CGEGQAPH.js} +15 -14
  195. package/dist/{play-UCIRUHCU.js → play-K37BN736.js} +28 -27
  196. package/dist/{policies-J5BWAZHM.js → policies-U4PFXF5E.js} +4 -2
  197. package/dist/{preflight-GVRYYIH5.js → preflight-CG7H3D5B.js} +13 -12
  198. package/dist/{present-46QLZOK4.js → present-KQ53DOHA.js} +24 -23
  199. package/dist/{preview-HWXMP7WL.js → preview-V7CYHL6U.js} +26 -25
  200. package/dist/probe-JVW2MPY3.js +178 -0
  201. package/dist/{producer-2PBHUE5O.js → producer-UD32S7PX.js} +1 -1
  202. package/dist/{projectConfig-C4S3LBBX.js → projectConfig-WXCB5AZE.js} +10 -9
  203. package/dist/{publication-GESNVVMS.js → publication-KG4UDZRM.js} +6 -5
  204. package/dist/{publish-IBY26S3T.js → publish-MEQB543T.js} +22 -21
  205. package/dist/{refresh-I6ITGHKL.js → refresh-2LU4XDL7.js} +2 -2
  206. package/dist/{remove-background-3OBWOHVZ.js → remove-background-FSV5KQK3.js} +16 -15
  207. package/dist/{render-LSI5WXS7.js → render-O4S4SURS.js} +10 -9
  208. package/dist/{render-SR5RISLU.js → render-SQXZAGPQ.js} +160 -46
  209. package/dist/{render-3F6GQ5WW.js → render-SY4AXKXC.js} +40 -39
  210. package/dist/{render-batch-HV4W3PZM.js → render-batch-GTZQUB3H.js} +10 -9
  211. package/dist/renderSetupWorker.js +6 -6
  212. package/dist/{resolver-R5X3HAPE.js → resolver-BQZNCVJS.js} +8 -7
  213. package/dist/run-67OPNJGD.js +31 -0
  214. package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
  215. package/dist/{sherpa-2Q6U4ZFY.js → sherpa-KH3PJAUG.js} +18 -16
  216. package/dist/skills/hyperframes-cli/references/beats.md +1 -1
  217. package/dist/skills/media-use/SKILL.md +20 -21
  218. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
  219. package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
  220. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +26 -1
  221. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +33 -0
  222. package/dist/skills/media-use/references/heygen.md +58 -0
  223. package/dist/skills/media-use/references/operations.md +9 -6
  224. package/dist/skills/media-use/references/setup-providers.md +11 -12
  225. package/dist/skills/media-use/scripts/lib/index-gen.d.mts +1 -0
  226. package/dist/skills/media-use/scripts/lib/manifest.d.mts +21 -0
  227. package/dist/{skills-FSGXQSHA.js → skills-FTZZJGAB.js} +5 -5
  228. package/dist/{skillsUpdateCheck-UW6643XX.js → skillsUpdateCheck-LZPD2CZI.js} +3 -3
  229. package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
  230. package/dist/{snapshot-HFPB34Y7.js → snapshot-4BORZ3ED.js} +60 -47
  231. package/dist/{src-VMTQQUUP.js → src-6ZOFAM3F.js} +21 -14
  232. package/dist/{src-ROWFWCEN.js → src-D7AO7PGH.js} +12 -11
  233. package/dist/{staticProjectServer-4TGZJIWN.js → staticProjectServer-Q23A6XU2.js} +25 -24
  234. package/dist/{status-4AAPTTRW.js → status-VIJRZ4ZK.js} +34 -9
  235. package/dist/studio/assets/hyperframes-player-D0W1SNqK.js +478 -0
  236. package/dist/studio/assets/{index-BDE7dwov.js → index-DD9KJoEr.js} +119 -119
  237. package/dist/studio/assets/{index-D0jGq2dS.js → index-mbwAH5iR.js} +1 -1
  238. package/dist/studio/index.html +1 -1
  239. package/dist/{studio-api-TSHXVZ6R.js → studio-api-XVVJZ7YT.js} +24 -19
  240. package/dist/{studioServer-74ZBLNP2.js → studioServer-6HG3AMTW.js} +77 -114
  241. package/dist/sync-Q5SRIL7V.js +115 -0
  242. package/dist/{telemetry-3NDLZOPR.js → telemetry-VXPSJ3X3.js} +3 -3
  243. package/dist/templates/blank/index.html +1 -1
  244. package/dist/templates/from-file/index.html +1 -1
  245. package/dist/{timeline-5IFZJU7M.js → timeline-6477OWFA.js} +31 -26
  246. package/dist/{tokens-UFNPQVLS.js → tokens-ZUUNEDKT.js} +2 -2
  247. package/dist/{transcribe-7KQAUHEN.js → transcribe-HA4UGLKO.js} +17 -15
  248. package/dist/{transcribe-NAXKBIPW.js → transcribe-ITVANIDK.js} +41 -23
  249. package/dist/{tts-BVTJEP72.js → tts-KMZPHG3K.js} +1 -1
  250. package/dist/{updateCheck-KDSFL3XX.js → updateCheck-SVADAQ43.js} +2 -2
  251. package/dist/{upgrade-EXX4C35N.js → upgrade-WKW4FDNF.js} +2 -2
  252. package/dist/{urlDownloader-4UFCIAPH.js → urlDownloader-VWHCESDD.js} +11 -10
  253. package/dist/{validate-QYOHY3N6.js → validate-7VG2RLP2.js} +31 -30
  254. package/dist/{video-HRL3V2R5.js → video-LM3FYHGG.js} +13 -12
  255. package/dist/warmCheck.js +47 -45
  256. package/package.json +1 -1
  257. package/dist/chunk-Q3PPGPEA.js +0 -5061
  258. package/dist/studio/assets/hyperframes-player-B_wvwarc.js +0 -478
  259. package/dist/{chunk-NOH32H42.js → chunk-HBAUU3IK.js} +124 -124
  260. package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
  261. package/dist/{destroy-BQ5R7LUF.js → destroy-6NWJMQX2.js} +4 -4
  262. package/dist/{synthesize-4JC74JW5.js → synthesize-DIT2SR3D.js} +5 -5
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-DMCU2ELU.js";
10
+ } from "./chunk-M7HNGAWN.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-OOEOJPFY.js";
9
+ } from "./chunk-NLWG5TU7.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-24F7TOW2.js";
13
+ } from "./chunk-QU5OYMTB.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  FONT_ALIAS_MAP,
16
16
  resolveAliasDisplayName
17
- } from "./chunk-NHA4NRBE.js";
17
+ } from "./chunk-T5ELONXY.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -26,9 +26,9 @@ import {
26
26
  mkdirWithinProject
27
27
  } from "./chunk-OFQWTKPW.js";
28
28
 
29
- // ../studio-server/dist/chunk-UMPRW7BV.js
29
+ // ../studio-server/dist/chunk-UC72OCMB.js
30
30
  import { randomUUID as randomUUID7 } from "crypto";
31
- import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
31
+ import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
32
32
  import {
33
33
  existsSync as existsSync3,
34
34
  lstatSync as lstatSync4,
@@ -51,21 +51,22 @@ import { uptime } from "os";
51
51
  import { join } from "path";
52
52
  import { createHash as createHash2 } from "crypto";
53
53
  import { lstatSync, readFileSync as readFileSync3, readdirSync } from "fs";
54
+ import { lstat, readFile, readdir } from "fs/promises";
54
55
  import { extname, isAbsolute as isAbsolute2, relative as relative2, resolve as resolve2, sep as sep2 } from "path";
55
56
  import { createHash as createHash3, randomUUID as randomUUID3 } from "crypto";
56
57
  import { constants, createReadStream, createWriteStream } from "fs";
57
- import { copyFile, mkdir, open, readdir, readFile, rm, stat } from "fs/promises";
58
+ import { copyFile, mkdir, open, readdir as readdir2, readFile as readFile2, rm, stat } from "fs/promises";
58
59
  import { dirname, join as join2 } from "path";
59
60
  import { pipeline } from "stream/promises";
60
61
  import { resolve as resolve3 } from "path";
61
62
  import { extname as extname2 } from "path";
62
63
  import { randomUUID as randomUUID5 } from "crypto";
63
64
  import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
64
- import { lstat, readdir as readdir2, rm as rm2 } from "fs/promises";
65
+ import { lstat as lstat2, readdir as readdir3, rm as rm2 } from "fs/promises";
65
66
  import { tmpdir } from "os";
66
67
  import { dirname as dirname2, join as join4 } from "path";
67
68
  import { randomUUID as randomUUID4 } from "crypto";
68
- import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, writeFileSync as writeFileSync2 } from "fs";
69
+ import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, utimesSync, writeFileSync as writeFileSync2 } from "fs";
69
70
  import { basename, join as join3, resolve as resolve4 } from "path";
70
71
  import { createHash as createHash5, randomUUID as randomUUID6 } from "crypto";
71
72
  import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync2, statSync as statSync4 } from "fs";
@@ -463,6 +464,15 @@ function signatureEntryStat(projectDir, entry, file, outputs) {
463
464
  return null;
464
465
  }
465
466
  }
467
+ function signatureFileOf(file, stat4) {
468
+ return {
469
+ file,
470
+ mtimeMs: stat4.mtimeMs,
471
+ ctimeMs: stat4.ctimeMs,
472
+ size: stat4.size,
473
+ textContentEligible: isTextContentEligible(file, stat4.size)
474
+ };
475
+ }
466
476
  function collectProjectSignatureFiles(projectDir, dir, files, outputs = readRenderOutputsOrNone(projectDir)) {
467
477
  let entries;
468
478
  try {
@@ -477,13 +487,7 @@ function collectProjectSignatureFiles(projectDir, dir, files, outputs = readRend
477
487
  if (stat4.isDirectory()) {
478
488
  collectProjectSignatureFiles(projectDir, file, files, outputs);
479
489
  } else if (stat4.isFile()) {
480
- files.push({
481
- file,
482
- mtimeMs: stat4.mtimeMs,
483
- ctimeMs: stat4.ctimeMs,
484
- size: stat4.size,
485
- textContentEligible: isTextContentEligible(file, stat4.size)
486
- });
490
+ files.push(signatureFileOf(file, stat4));
487
491
  }
488
492
  }
489
493
  }
@@ -499,16 +503,40 @@ function collectProjectSignatureManifestFiles(projectDir, files) {
499
503
  continue;
500
504
  }
501
505
  if (stat4.isSymbolicLink() || !stat4.isFile()) continue;
502
- files.push({
503
- file,
504
- mtimeMs: stat4.mtimeMs,
505
- ctimeMs: stat4.ctimeMs,
506
- size: stat4.size,
507
- textContentEligible: isTextContentEligible(file, stat4.size)
508
- });
506
+ files.push(signatureFileOf(file, stat4));
509
507
  seen.add(file);
510
508
  }
511
509
  }
510
+ async function signatureEntryStatAsync(projectDir, entry, file, outputs) {
511
+ if (isSkippedEntry(entry) || !isPathWithin(projectDir, file)) return null;
512
+ if (isRenderOutput(projectDir, file, outputs)) return null;
513
+ try {
514
+ const stat4 = await lstat(file);
515
+ return stat4.isSymbolicLink() ? null : stat4;
516
+ } catch {
517
+ return null;
518
+ }
519
+ }
520
+ async function collectProjectSignatureFilesAsync(projectDir, dir, files, outputs) {
521
+ let entries;
522
+ try {
523
+ entries = (await readdir(dir)).sort();
524
+ } catch {
525
+ return;
526
+ }
527
+ const paths = entries.map((entry) => resolve2(dir, entry));
528
+ const stats = await Promise.all(
529
+ entries.map((entry, i) => signatureEntryStatAsync(projectDir, entry, paths[i], outputs))
530
+ );
531
+ for (const [i, stat4] of stats.entries()) {
532
+ if (!stat4) continue;
533
+ if (stat4.isDirectory()) {
534
+ await collectProjectSignatureFilesAsync(projectDir, paths[i], files, outputs);
535
+ } else if (stat4.isFile()) {
536
+ files.push(signatureFileOf(paths[i], stat4));
537
+ }
538
+ }
539
+ }
512
540
  function createProjectFingerprint(projectDir, files) {
513
541
  const hash = createHash2("sha256");
514
542
  for (const entry of files) {
@@ -531,6 +559,17 @@ function collectProjectFiles(normalizedProjectDir) {
531
559
  collectProjectSignatureManifestFiles(normalizedProjectDir, collected);
532
560
  return collected;
533
561
  }
562
+ async function collectProjectFilesAsync(normalizedProjectDir) {
563
+ const collected = [];
564
+ await collectProjectSignatureFilesAsync(
565
+ normalizedProjectDir,
566
+ normalizedProjectDir,
567
+ collected,
568
+ readRenderOutputsOrNone(normalizedProjectDir)
569
+ );
570
+ collectProjectSignatureManifestFiles(normalizedProjectDir, collected);
571
+ return collected;
572
+ }
534
573
  function listProjectFiles(projectDir) {
535
574
  const normalizedProjectDir = resolve2(projectDir);
536
575
  return collectProjectFiles(normalizedProjectDir).map((entry) => ({
@@ -548,42 +587,73 @@ async function resolveProjectAndSignature(adapter, projectId) {
548
587
  if (!project) return null;
549
588
  return { project, signature: resolveProjectSignature(adapter, project.dir) };
550
589
  }
551
- function createProjectSignature(projectDir, excluding = /* @__PURE__ */ new Set()) {
552
- const normalizedProjectDir = resolve2(projectDir);
553
- const signedAt = Date.now();
554
- const collected = collectProjectFiles(normalizedProjectDir);
590
+ function planSignature(dir, collected, excluding, signedAt) {
555
591
  const files = collected.filter(
556
- (entry) => !excluding.has(relative2(normalizedProjectDir, entry.file).split(sep2).join("/"))
592
+ (entry) => !excluding.has(relative2(dir, entry.file).split(sep2).join("/"))
557
593
  );
558
594
  files.sort((a, b) => a.file.localeCompare(b.file));
559
- const fingerprint = createProjectFingerprint(normalizedProjectDir, files);
560
- const cacheKey = excluding.size ? `${normalizedProjectDir}\0${createHash2("sha256").update([...excluding].sort().join("\0")).digest("hex")}` : normalizedProjectDir;
561
- const cached = projectSignatureCache.get(cacheKey);
562
- if (cached?.fingerprint === fingerprint) return cached.signature;
595
+ const cacheKey = excluding.size ? `${dir}\0${createHash2("sha256").update([...excluding].sort().join("\0")).digest("hex")}` : dir;
596
+ return { dir, files, cacheKey, fingerprint: createProjectFingerprint(dir, files), signedAt };
597
+ }
598
+ function hashSignatureEntry(hash, dir, entry, content) {
599
+ hash.update(relative2(dir, entry.file));
600
+ hash.update("\0");
601
+ hash.update(String(entry.size));
602
+ hash.update("\0");
603
+ hash.update(content ?? String(entry.mtimeMs));
604
+ hash.update("\0");
605
+ }
606
+ function finishSignature(plan, hash) {
607
+ const signature = hash.digest("hex").slice(0, 24);
608
+ const settledATickBeforeSigning = plan.files.every(
609
+ (entry) => Math.max(entry.mtimeMs, entry.ctimeMs) < plan.signedAt - COARSEST_FILE_TIME_TICK_MS
610
+ );
611
+ if (settledATickBeforeSigning) {
612
+ projectSignatureCache.set(plan.cacheKey, { fingerprint: plan.fingerprint, signature });
613
+ }
614
+ return signature;
615
+ }
616
+ var cachedSignature = (plan) => {
617
+ const cached = projectSignatureCache.get(plan.cacheKey);
618
+ return cached?.fingerprint === plan.fingerprint ? cached.signature : void 0;
619
+ };
620
+ function createProjectSignature(projectDir, excluding = /* @__PURE__ */ new Set()) {
621
+ const dir = resolve2(projectDir);
622
+ const plan = planSignature(dir, collectProjectFiles(dir), excluding, Date.now());
623
+ const cached = cachedSignature(plan);
624
+ if (cached !== void 0) return cached;
563
625
  const hash = createHash2("sha256");
564
- for (const entry of files) {
565
- const relativePath = relative2(normalizedProjectDir, entry.file);
566
- hash.update(relativePath);
567
- hash.update("\0");
568
- hash.update(String(entry.size));
569
- hash.update("\0");
626
+ for (const entry of plan.files) {
627
+ let content = null;
570
628
  if (entry.textContentEligible) {
571
629
  try {
572
- hash.update(readFileSync3(entry.file));
630
+ content = readFileSync3(entry.file);
573
631
  } catch {
574
- hash.update(String(entry.mtimeMs));
632
+ content = null;
575
633
  }
576
- } else {
577
- hash.update(String(entry.mtimeMs));
578
634
  }
579
- hash.update("\0");
635
+ hashSignatureEntry(hash, dir, entry, content);
580
636
  }
581
- const signature = hash.digest("hex").slice(0, 24);
582
- const settledATickBeforeSigning = files.every(
583
- (entry) => Math.max(entry.mtimeMs, entry.ctimeMs) < signedAt - COARSEST_FILE_TIME_TICK_MS
584
- );
585
- if (settledATickBeforeSigning) projectSignatureCache.set(cacheKey, { fingerprint, signature });
586
- return signature;
637
+ return finishSignature(plan, hash);
638
+ }
639
+ var SIGNATURE_READ_BATCH = 32;
640
+ async function createProjectSignatureAsync(projectDir, excluding = /* @__PURE__ */ new Set()) {
641
+ const dir = resolve2(projectDir);
642
+ const signedAt = Date.now();
643
+ const plan = planSignature(dir, await collectProjectFilesAsync(dir), excluding, signedAt);
644
+ const cached = cachedSignature(plan);
645
+ if (cached !== void 0) return cached;
646
+ const hash = createHash2("sha256");
647
+ for (let at = 0; at < plan.files.length; at += SIGNATURE_READ_BATCH) {
648
+ const batch = plan.files.slice(at, at + SIGNATURE_READ_BATCH);
649
+ const contents = await Promise.all(
650
+ batch.map(
651
+ (entry) => entry.textContentEligible ? readFile(entry.file).catch(() => null) : null
652
+ )
653
+ );
654
+ for (const [i, entry] of batch.entries()) hashSignatureEntry(hash, dir, entry, contents[i]);
655
+ }
656
+ return finishSignature(plan, hash);
587
657
  }
588
658
  var serving = /* @__PURE__ */ new Map();
589
659
  var keyOf = (path) => process.platform === "win32" ? resolve3(path).toLowerCase() : resolve3(path);
@@ -614,7 +684,7 @@ function blobPath(dir, hash) {
614
684
  if (!BLOB_HASH.test(hash)) throw new Error("That is not a history blob.");
615
685
  return join2(dir, hash.slice(0, 2), hash);
616
686
  }
617
- var readBlob = (dir, hash) => readFile(blobPath(dir, hash));
687
+ var readBlob = (dir, hash) => readFile2(blobPath(dir, hash));
618
688
  async function hashFile(path) {
619
689
  const hash = createHash3("sha256");
620
690
  for await (const chunk of createReadStream(path)) hash.update(chunk);
@@ -667,7 +737,7 @@ async function writeInPlace(temp, to, hash) {
667
737
  if (outcome === "mismatch")
668
738
  throw new Error("The file was written in place, but it does not match the copy history kept.");
669
739
  }
670
- var listDir = (path) => readdir(path, { withFileTypes: true }).catch((error) => {
740
+ var listDir = (path) => readdir2(path, { withFileTypes: true }).catch((error) => {
671
741
  if (error.code === "ENOENT") return [];
672
742
  throw error;
673
743
  });
@@ -724,7 +794,7 @@ async function openBlobStore(dir) {
724
794
  },
725
795
  reference: (absPath) => hashFile(absPath),
726
796
  has: (hash) => sizes.has(hash) || asideSizes.has(hash),
727
- read: (hash) => readFile(pathOf(hash)),
797
+ read: (hash) => readFile2(pathOf(hash)),
728
798
  writeTo: async (hash, absPath, beforeReplace) => cloneOrCopy(pathOf(hash), absPath, hash, beforeReplace),
729
799
  async release(held) {
730
800
  for (const [hash, path] of held) {
@@ -785,7 +855,8 @@ var MEDIA_EXTENSIONS = /* @__PURE__ */ new Set([
785
855
  ".opus"
786
856
  ]);
787
857
  var COPY_NOTHING_ABOVE_BYTES = 64 * 1024 ** 2;
788
- var isUncopied = (path, size) => size > COPY_NOTHING_ABOVE_BYTES || MEDIA_EXTENSIONS.has(extname2(path).toLowerCase());
858
+ var isUncopiedMedia = (path) => MEDIA_EXTENSIONS.has(extname2(path).toLowerCase());
859
+ var isUncopied = (path, size) => size > COPY_NOTHING_ABOVE_BYTES || isUncopiedMedia(path);
789
860
  function uncopiedOnlyHashes(log, sizeOf) {
790
861
  const copied = /* @__PURE__ */ new Set();
791
862
  const uncopied = /* @__PURE__ */ new Set();
@@ -859,8 +930,21 @@ var HistoryIdError = class extends Error {
859
930
  this.name = "HistoryIdError";
860
931
  }
861
932
  };
933
+ function markUsed(historyDir) {
934
+ const now = /* @__PURE__ */ new Date();
935
+ try {
936
+ utimesSync(join3(historyDir, "project.json"), now, now);
937
+ } catch {
938
+ return;
939
+ }
940
+ }
862
941
  function recordProject(historyDir, dir, folder) {
863
942
  const record = { dir, ino: folder.ino, born: folder.birthtimeMs, dev: folder.dev };
943
+ const was = readRecord(historyDir);
944
+ if (was?.dir === record.dir && was.ino === record.ino && was.born === record.born && was.dev === record.dev) {
945
+ markUsed(historyDir);
946
+ return;
947
+ }
864
948
  mkdirSync2(historyDir, { recursive: true });
865
949
  replaceFileAtomically(join3(historyDir, "project.json"), JSON.stringify(record), 420);
866
950
  }
@@ -985,9 +1069,9 @@ function lastUsed(home) {
985
1069
  }
986
1070
  async function bytesIn(dir) {
987
1071
  let total = 0;
988
- for (const entry of await readdir2(dir, { withFileTypes: true })) {
1072
+ for (const entry of await readdir3(dir, { withFileTypes: true })) {
989
1073
  const path = join4(dir, entry.name);
990
- total += entry.isDirectory() ? await bytesIn(path) : (await lstat(path)).size;
1074
+ total += entry.isDirectory() ? await bytesIn(path) : (await lstat2(path)).size;
991
1075
  }
992
1076
  return total;
993
1077
  }
@@ -1755,7 +1839,7 @@ var isMissingFolder = (error) => ["ENOENT", "ENOTDIR"].includes(error.code ?? ""
1755
1839
  async function removeEmptyFolders(dir) {
1756
1840
  let entries;
1757
1841
  try {
1758
- entries = await readdir3(dir, { withFileTypes: true });
1842
+ entries = await readdir4(dir, { withFileTypes: true });
1759
1843
  } catch (error) {
1760
1844
  if (isMissingFolder(error)) return;
1761
1845
  throw error;
@@ -2627,7 +2711,7 @@ var Engine = class {
2627
2711
  const dest = resolve8(emptyDir);
2628
2712
  if (isWithin(this.dir, dest))
2629
2713
  throw new Error(`Checkout writes outside the project only: ${dest}`);
2630
- if ((await readdir3(dest).catch(missingIsEmpty)).length > 0)
2714
+ if ((await readdir4(dest).catch(missingIsEmpty)).length > 0)
2631
2715
  throw new Error(`Checkout writes into an empty folder only: ${dest}`);
2632
2716
  const files = manifestAround(this.log, entryId, side);
2633
2717
  for (const [path, hash] of files)
@@ -2636,7 +2720,7 @@ var Engine = class {
2636
2720
  try {
2637
2721
  for (const [path, hash] of files) await this.blobs.writeTo(hash, join8(dest, path));
2638
2722
  } catch (error) {
2639
- for (const name of await readdir3(dest).catch(() => []))
2723
+ for (const name of await readdir4(dest).catch(() => []))
2640
2724
  await rm3(join8(dest, name), { recursive: true, force: true });
2641
2725
  throw error;
2642
2726
  }
@@ -2837,8 +2921,10 @@ export {
2837
2921
  resolveProjectSignature,
2838
2922
  resolveProjectAndSignature,
2839
2923
  createProjectSignature,
2924
+ createProjectSignatureAsync,
2840
2925
  serveWhileOpen,
2841
2926
  onRestoredInPlace,
2927
+ isUncopiedMedia,
2842
2928
  HistoryIdError,
2843
2929
  listProjectHistories,
2844
2930
  pruneGoneProjectHistories,