hyperframes 0.8.206 → 0.8.208

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 (240) hide show
  1. package/bin/hyperframes.mjs +1 -0
  2. package/dist/{add-FFMNAJXJ.js → add-XMWRBMBR.js} +22 -20
  3. package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-4NJ252MR.js} +6 -2
  4. package/dist/{animatedGifPrep-BIIIIVWL.js → animatedGifPrep-6XURJIPV.js} +14 -13
  5. package/dist/api.js +33 -32
  6. package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
  7. package/dist/{asset-IPUHGZSL.js → asset-I5GGEOB2.js} +2 -2
  8. package/dist/{assetCataloger-M5FWXLAJ.js → assetCataloger-YBPXUNUP.js} +17 -14
  9. package/dist/{audio-VYWWM4DB.js → audio-GFJCHH5W.js} +420 -138
  10. package/dist/{auth-GZQZCUPL.js → auth-QOA55RYR.js} +4 -4
  11. package/dist/{autoUpdate-GJUDDLLO.js → autoUpdate-SPS4QPJU.js} +4 -4
  12. package/dist/{backgroundChecks-BTMSW34Z.js → backgroundChecks-HRJO7YK7.js} +5 -5
  13. package/dist/backgroundChecksWorker.js +5 -5
  14. package/dist/{batchRender-LI2BJRGO.js → batchRender-FBP3RKUF.js} +11 -10
  15. package/dist/{beats-H73CSYT4.js → beats-VNGJ7F6W.js} +32 -25
  16. package/dist/{benchmark-XT3A5REC.js → benchmark-NZ3N3MIV.js} +16 -16
  17. package/dist/{browser-VIOK66YK.js → browser-BD5BKRJ5.js} +9 -9
  18. package/dist/{bundleWithLocalizedFonts-PFRVWYOO.js → bundleWithLocalizedFonts-WXVNPAWD.js} +3 -3
  19. package/dist/{capture-KKD5GMAF.js → capture-CXWXKWS5.js} +120 -54
  20. package/dist/{capture-252WNPCD.js → capture-LMJ4TQRL.js} +63 -17
  21. package/dist/{captureCompositionFrame-YLYVGNN2.js → captureCompositionFrame-ZKVCRYYU.js} +21 -20
  22. package/dist/{captureFile-LYOJOUIE.js → captureFile-VIVGKFY4.js} +2 -1
  23. package/dist/{catalog-6IJGNN3T.js → catalog-WRXQSCAU.js} +28 -26
  24. package/dist/{catch-up-BFW7Z35W.js → catch-up-MDSPABFC.js} +7 -7
  25. package/dist/{check-XUWBZASR.js → check-SIBBK5HA.js} +53 -52
  26. package/dist/{checkAudio-2NRR3VHQ.js → checkAudio-QQBR4HR7.js} +19 -18
  27. package/dist/{checkBrowser-JW74KWTF.js → checkBrowser-4EBJLLIH.js} +45 -44
  28. package/dist/{chunk-XDMZY3H7.js → chunk-3O2E4Q66.js} +15 -20
  29. package/dist/{chunk-VEA7Z4PZ.js → chunk-43MW4SY7.js} +15 -7
  30. package/dist/{chunk-HJAJ6W4V.js → chunk-4F5NRJ6M.js} +2 -2
  31. package/dist/{chunk-2RT7MXFL.js → chunk-4HT2L6W2.js} +1 -1
  32. package/dist/{chunk-QVTCXN42.js → chunk-4KG3ESVO.js} +30 -4
  33. package/dist/{chunk-42KN6I6A.js → chunk-4LTBQEPD.js} +2 -2
  34. package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
  35. package/dist/{chunk-NVLPW3DG.js → chunk-5HB4JM7H.js} +2 -2
  36. package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
  37. package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
  38. package/dist/{chunk-X5HHHFTX.js → chunk-6CWKORZO.js} +3 -3
  39. package/dist/{chunk-ZF3R2IPC.js → chunk-6DSYBW7Z.js} +1 -0
  40. package/dist/{chunk-VHVSBOZH.js → chunk-6JNSYFOH.js} +4 -4
  41. package/dist/{chunk-AJSU6KGS.js → chunk-6N7D2GUV.js} +15 -15
  42. package/dist/{chunk-F2ASNL2K.js → chunk-6PWQH77E.js} +1 -1
  43. package/dist/{chunk-ZNAOBFU5.js → chunk-6WRN4WC6.js} +1 -1
  44. package/dist/{chunk-GAV56VJL.js → chunk-7CPI2DWL.js} +2 -2
  45. package/dist/{chunk-CMDVJP4T.js → chunk-7PAK7LZ5.js} +11 -11
  46. package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
  47. package/dist/{chunk-X7RXXBYM.js → chunk-B5MPMIKQ.js} +2 -2
  48. package/dist/{chunk-RW4DMP2Y.js → chunk-BKDQFOKK.js} +4 -4
  49. package/dist/{chunk-DZG565OO.js → chunk-BLCKQPBE.js} +1 -1
  50. package/dist/chunk-BQMAPNDA.js +4830 -0
  51. package/dist/{chunk-CPSGXAYD.js → chunk-CP225S5H.js} +3 -3
  52. package/dist/{chunk-3R6SXPHD.js → chunk-CSWCZA6V.js} +3 -3
  53. package/dist/{chunk-4CY5RXXC.js → chunk-D2CE2J2A.js} +4 -4
  54. package/dist/{chunk-FMWACL3L.js → chunk-DHQSDCWD.js} +6 -2
  55. package/dist/chunk-DROFHVQD.js +240 -0
  56. package/dist/{chunk-OZUAVHFE.js → chunk-DXACKQ3F.js} +3 -3
  57. package/dist/{chunk-5QKJPCQ4.js → chunk-EGOXYG3M.js} +2 -2
  58. package/dist/{chunk-QL4ZYSIB.js → chunk-ENRFKCI6.js} +5 -71
  59. package/dist/{chunk-MRF4AMKD.js → chunk-EQBDKYXR.js} +5 -10
  60. package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
  61. package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
  62. package/dist/{chunk-FULMZCDW.js → chunk-EYEEZXLI.js} +11 -11
  63. package/dist/{chunk-2MLMO25E.js → chunk-FC4WT5FX.js} +105 -7
  64. package/dist/{chunk-PLGGKTCB.js → chunk-FFDYRJBE.js} +37 -21
  65. package/dist/{chunk-7SXL476O.js → chunk-G2A6RC5R.js} +72 -28
  66. package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
  67. package/dist/{chunk-CZYS6UKP.js → chunk-GEO6THL3.js} +61 -30
  68. package/dist/{chunk-MFHYBSJC.js → chunk-GHSO62LK.js} +3 -3
  69. package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
  70. package/dist/{chunk-4DGLKB2H.js → chunk-HUKQW4YE.js} +1 -1
  71. package/dist/{chunk-WYB3VKLK.js → chunk-HZN7ICAF.js} +8 -8
  72. package/dist/{chunk-6ZFDNEMY.js → chunk-IIJVSCSH.js} +16 -16
  73. package/dist/{chunk-VDVVQNTK.js → chunk-IL2TMC6F.js} +5 -5
  74. package/dist/{chunk-L5MFWGGU.js → chunk-J67FSI3Q.js} +623 -376
  75. package/dist/chunk-JLCAHJUO.js +91 -0
  76. package/dist/{chunk-N7ZMDVAK.js → chunk-JLGVBK5M.js} +1 -1
  77. package/dist/{chunk-SFYLZX5C.js → chunk-K4PHB3YQ.js} +59 -15
  78. package/dist/{chunk-G6W55MTX.js → chunk-KTWGVEN6.js} +40 -11
  79. package/dist/{chunk-FNNGQ3DB.js → chunk-LSMFOZ4F.js} +2 -2
  80. package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
  81. package/dist/{chunk-PNKLOMHQ.js → chunk-MBGM26P5.js} +17 -22
  82. package/dist/{chunk-ZTEKVSZ6.js → chunk-MMJAHBH2.js} +1 -1
  83. package/dist/{chunk-RDDVQSNQ.js → chunk-MPO25DQW.js} +451 -208
  84. package/dist/{chunk-E2ZZSDDQ.js → chunk-MW2NQQ6Z.js} +2 -2
  85. package/dist/{chunk-TSJVPPXT.js → chunk-MYO77JWR.js} +1 -1
  86. package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
  87. package/dist/{chunk-OFRRUYBA.js → chunk-NHA4NRBE.js} +135 -24
  88. package/dist/{chunk-NNLQTG3M.js → chunk-NZ6G5YWZ.js} +2 -2
  89. package/dist/{chunk-WHD5IAHI.js → chunk-ORFRUZPB.js} +2 -2
  90. package/dist/{chunk-Z3XXLTVB.js → chunk-OTXXDONS.js} +3 -3
  91. package/dist/{chunk-2S263R6D.js → chunk-P7WGVXR7.js} +9 -9
  92. package/dist/{chunk-AXEEZKIL.js → chunk-PKVA6MPV.js} +6 -6
  93. package/dist/{chunk-FJW757TF.js → chunk-PSOAGSNO.js} +2 -2
  94. package/dist/{chunk-AEC4T4IF.js → chunk-PWEOSJ3E.js} +12 -12
  95. package/dist/{chunk-X7A7C4JS.js → chunk-Q43YUROE.js} +3 -3
  96. package/dist/{chunk-PQYWYBEQ.js → chunk-QP2MJYTJ.js} +1 -1
  97. package/dist/{chunk-VW2LVMKB.js → chunk-QWBVPWUI.js} +47 -55
  98. package/dist/{chunk-AAX2A7LQ.js → chunk-S2OLTAEL.js} +2 -2
  99. package/dist/{chunk-CNVHMLPI.js → chunk-S4KHJERB.js} +1 -1
  100. package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
  101. package/dist/{chunk-3CS6QYL7.js → chunk-SI7QCT2J.js} +8 -8
  102. package/dist/{chunk-CIHW6VM2.js → chunk-SKKQMW5X.js} +1 -1
  103. package/dist/{chunk-3B2DBUQX.js → chunk-TNTGGDSD.js} +1 -1
  104. package/dist/chunk-TSYRN646.js +84 -0
  105. package/dist/{chunk-XOM3XTJ4.js → chunk-U6KN6OIP.js} +2 -2
  106. package/dist/{chunk-63DGZRZP.js → chunk-ULL3U6PV.js} +1 -1
  107. package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
  108. package/dist/{chunk-UMUVGNOH.js → chunk-VR3JLTZD.js} +3 -3
  109. package/dist/{chunk-DEVZJ4AL.js → chunk-VS4SK7BN.js} +17 -11
  110. package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
  111. package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
  112. package/dist/chunk-WABB4LZS.js +62 -0
  113. package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
  114. package/dist/{chunk-36QE3P6B.js → chunk-WNMVC3IT.js} +1 -1
  115. package/dist/{chunk-T6SD37JZ.js → chunk-X6MCIK7L.js} +103 -16
  116. package/dist/chunk-XFMO3BEN.js +71 -0
  117. package/dist/{chunk-BBUK6A7Q.js → chunk-XG3IZV62.js} +7 -7
  118. package/dist/chunk-XMRA7CQG.js +22 -0
  119. package/dist/{chunk-G6QDFWDN.js → chunk-XOFBXLMG.js} +2 -2
  120. package/dist/{chunk-H4JO7VSI.js → chunk-XUQYC5DD.js} +12 -12
  121. package/dist/chunk-Z5J67X44.js +40 -0
  122. package/dist/{chunk-HEP5XMXV.js → chunk-Z5TGBEPJ.js} +9 -2
  123. package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
  124. package/dist/{clean-N5VSKUVS.js → clean-6GX7WAEC.js} +32 -31
  125. package/dist/cli.js +58 -58
  126. package/dist/{cloud-74NF5FXC.js → cloud-6PFJKLNL.js} +4 -4
  127. package/dist/{cloudrun-7UOH335V.js → cloudrun-UGG3ZFH7.js} +13 -12
  128. package/dist/commands/layout-audit.browser.js +3 -15
  129. package/dist/{compare-AY2LS2TZ.js → compare-P4EBOP4B.js} +46 -45
  130. package/dist/{compiler-4MHMC777.js → compiler-PG4RKX6K.js} +8 -8
  131. package/dist/{component-CFWQOAZI.js → component-SQPMI3W7.js} +3 -3
  132. package/dist/{compositions-DXLJTDSP.js → compositions-KRIHY3IY.js} +20 -19
  133. package/dist/{contactSheet-5APX35L3.js → contactSheet-RYAE7Y5D.js} +3 -2
  134. package/dist/{delete-GB4MS7LM.js → delete-T5TO4SV6.js} +7 -7
  135. package/dist/{deploy-NXD3Q3KD.js → deploy-AO6LQR5G.js} +6 -6
  136. package/dist/{deterministicFonts-775YXAQ2.js → deterministicFonts-LKAGUNE5.js} +3 -3
  137. package/dist/{dist-3ZJMZU75.js → dist-23AAB5X2.js} +36 -36
  138. package/dist/{dist-ZY6IFESG.js → dist-6IMEDVMC.js} +6 -3
  139. package/dist/docker/Dockerfile.render +1 -1
  140. package/dist/docs/rendering.md +3 -0
  141. package/dist/{doctor-CVY2XXKS.js → doctor-QBUJQ655.js} +23 -22
  142. package/dist/{events-RYQYEWBV.js → events-J7CESLKQ.js} +4 -4
  143. package/dist/{events-T3CLIYRG.js → events-SIZO7YHI.js} +5 -5
  144. package/dist/{feedback-K5ZMMLTA.js → feedback-74WOJ5PN.js} +22 -22
  145. package/dist/{ffmpeg-UNDAJ2IC.js → ffmpeg-AKUP6U2S.js} +17 -16
  146. package/dist/{figma-MYYCX635.js → figma-GGMYRR4Q.js} +3 -3
  147. package/dist/fontLocalizeCli.js +21 -19
  148. package/dist/{get-JVIDYMVP.js → get-PLKAI6JM.js} +7 -7
  149. package/dist/{gpuPolicy-KEX7GDRJ.js → gpuPolicy-EYDAAPJF.js} +14 -13
  150. package/dist/{grade-compare-QEF6VASJ.js → grade-compare-UADJP4AV.js} +44 -43
  151. package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
  152. package/dist/hangReport.js +47 -0
  153. package/dist/{heifImagePrep-A3ZPVQGU.js → heifImagePrep-KDF3OPOK.js} +15 -14
  154. package/dist/{help-XPPSLIRY.js → help-WSQQ555Q.js} +1 -1
  155. package/dist/{history-OFOPRD27.js → history-VSQ2DQ3V.js} +110 -62
  156. package/dist/hyperframe.manifest.json +1 -1
  157. package/dist/hyperframe.runtime.iife.js +76 -71
  158. package/dist/hyperframes-player.global.js +3 -3
  159. package/dist/{info-7RF6FQX5.js → info-MOQ4LRC3.js} +18 -18
  160. package/dist/{init-NTIXWA3D.js → init-EONQSZJG.js} +62 -60
  161. package/dist/{inspect-MYMCV5E7.js → inspect-OLCVLHOU.js} +43 -42
  162. package/dist/{installer-PYJIJ3PJ.js → installer-GHISA75B.js} +10 -10
  163. package/dist/{keyframes-UJ52PYE4.js → keyframes-DGQYCY24.js} +13 -13
  164. package/dist/{lambda-SBNUYEQE.js → lambda-AMMWF2YH.js} +35 -15
  165. package/dist/{layout-IOMCOABO.js → layout-R6CAPGRO.js} +43 -42
  166. package/dist/{lint-AQWHHMPS.js → lint-QZJEYPHD.js} +14 -11
  167. package/dist/{lintProject-5A4SCW3S.js → lintProject-W3YVHAGP.js} +6 -3
  168. package/dist/{list-WKAJ5SP3.js → list-KCJID4SP.js} +7 -7
  169. package/dist/localPage-V3HBGM3Z.js +27 -0
  170. package/dist/{login-3ZDK5JOA.js → login-7HKBEPJS.js} +7 -7
  171. package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
  172. package/dist/{manager-QYFYWZOK.js → manager-6YSKJMVD.js} +19 -18
  173. package/dist/{manager-F2YREC5X.js → manager-Z7W4GQGF.js} +9 -5
  174. package/dist/{media-treatment-4OLWVHUY.js → media-treatment-E3DL6LEZ.js} +34 -31
  175. package/dist/{models-MR55FAUX.js → models-URWI7YEG.js} +30 -29
  176. package/dist/{motionShot-DC47S7BT.js → motionShot-27IXMDJK.js} +25 -24
  177. package/dist/{normalize-audio-M2TK4NG5.js → normalize-audio-WGRLPR3P.js} +16 -16
  178. package/dist/{open-YXWBWTKL.js → open-LQ35PLEN.js} +21 -21
  179. package/dist/{parakeetRunner-J6QR3GTG.js → parakeetRunner-XASVIDTI.js} +27 -26
  180. package/dist/{pipeline-7MJ5H4SW.js → pipeline-GA7QVCHS.js} +18 -17
  181. package/dist/{play-S562STR4.js → play-RYZP77CI.js} +31 -31
  182. package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
  183. package/dist/{preflight-QWGXMISC.js → preflight-HJFSJXXF.js} +19 -18
  184. package/dist/{present-PGOHZT3L.js → present-YBMLOWZV.js} +26 -26
  185. package/dist/{preview-JU75H4QN.js → preview-QIRKJCRV.js} +52 -39
  186. package/dist/{producer-H66OMZLW.js → producer-524FDOLX.js} +1 -1
  187. package/dist/{projectConfig-COSP24YT.js → projectConfig-IDQN5ZRW.js} +14 -13
  188. package/dist/{publication-J3XYHPGB.js → publication-3X3IGSDO.js} +8 -8
  189. package/dist/{publish-7GCCEPJZ.js → publish-2BF7K6HX.js} +21 -20
  190. package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
  191. package/dist/{remove-background-WRCGIU32.js → remove-background-EZBCEFT6.js} +22 -21
  192. package/dist/{render-QS3YJCBR.js → render-EFUA2A6A.js} +15 -11
  193. package/dist/{render-VUVTK2JM.js → render-JFMTAXHD.js} +87 -53
  194. package/dist/{render-5J5PP3UK.js → render-TEEBI2UT.js} +49 -43
  195. package/dist/{render-batch-Q2LQ3D4P.js → render-batch-XTYNXVSW.js} +16 -12
  196. package/dist/renderSetupWorker.js +12 -9
  197. package/dist/{resolver-QCBWPRSC.js → resolver-FZS6TN6B.js} +10 -10
  198. package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-HOW4VSV6.js} +3 -2
  199. package/dist/{sherpa-IZ22SC5W.js → sherpa-TQIAIKTH.js} +26 -25
  200. package/dist/skills/hyperframes/SKILL.md +1 -1
  201. package/dist/skills/hyperframes/references/format.md +1 -0
  202. package/dist/skills/hyperframes-cli/references/beats.md +2 -0
  203. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -0
  204. package/dist/skills/hyperframes-cli/references/lambda.md +3 -0
  205. package/dist/skills/hyperframes-cli/references/preview-render.md +3 -0
  206. package/dist/skills/media-use/references/grading.md +2 -0
  207. package/dist/skills/media-use/references/local.md +1 -0
  208. package/dist/{skills-3RFMPMJA.js → skills-S6ZG5KKH.js} +10 -10
  209. package/dist/{skillsUpdateCheck-DWBFVUBT.js → skillsUpdateCheck-XC7JQL3F.js} +5 -5
  210. package/dist/{snapshot-5PHA43DK.js → snapshot-ERYZIM32.js} +152 -80
  211. package/dist/{src-4YJKYMNF.js → src-6XOMREMS.js} +21 -12
  212. package/dist/{src-36BQVJL3.js → src-OL6RHPE4.js} +22 -20
  213. package/dist/{staticProjectServer-3XFB76XS.js → staticProjectServer-JYDDGPAH.js} +26 -26
  214. package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
  215. package/dist/studio/assets/hyperframes-player-5dRdMVOq.js +478 -0
  216. package/dist/studio/assets/{index-CwreIGoq.js → index-Bu3mJUU2.js} +131 -131
  217. package/dist/studio/assets/{index-BNuxGFZK.js → index-ZqyQ91pm.js} +1 -1
  218. package/dist/studio/index.html +1 -1
  219. package/dist/{studio-api-WL6EZ4KE.js → studio-api-GRU4SHKD.js} +18 -18
  220. package/dist/{studioServer-ZS5RA6U3.js → studioServer-OYPBEI5B.js} +76 -73
  221. package/dist/{synthesize-QCRP3NI7.js → synthesize-QZHRXGRY.js} +26 -4
  222. package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
  223. package/dist/{telemetry-W3LRO3TB.js → telemetry-CPYINR63.js} +5 -5
  224. package/dist/{timeline-BDO5DYWP.js → timeline-RGK5BMPD.js} +34 -33
  225. package/dist/{tokens-47CEMYFV.js → tokens-EX4BOWRW.js} +2 -2
  226. package/dist/{transcribe-XF3NL6JI.js → transcribe-MK367I6A.js} +24 -23
  227. package/dist/{transcribe-GEPVJO3A.js → transcribe-RI52JMVW.js} +35 -34
  228. package/dist/{tts-QM4RFE7U.js → tts-AY4JO5NQ.js} +2 -2
  229. package/dist/{updateCheck-BON6ZFYP.js → updateCheck-BIEJKQI4.js} +4 -4
  230. package/dist/{upgrade-KIF5Z4J3.js → upgrade-ES3UUI7O.js} +4 -4
  231. package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
  232. package/dist/{urlDownloader-UDRHVUWR.js → urlDownloader-XAGYSTAG.js} +13 -12
  233. package/dist/{validate-2OPSQT3W.js → validate-A6GZHNEI.js} +36 -35
  234. package/dist/{video-ECWXMY4F.js → video-OEMGR3MN.js} +19 -15
  235. package/dist/warmCheck.js +53 -52
  236. package/package.json +2 -1
  237. package/dist/chunk-4YYJOFKS.js +0 -28
  238. package/dist/chunk-KLIPVNCO.js +0 -4824
  239. package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +0 -478
  240. package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
@@ -14,6 +14,7 @@ import {
14
14
  } from "./chunk-P36MALQF.js";
15
15
  import {
16
16
  CAPTURE_USER_AGENT,
17
+ assertPublicHostname,
17
18
  downloadAndRewriteFonts,
18
19
  downloadAssets,
19
20
  isPrivateUrl,
@@ -22,13 +23,26 @@ import {
22
23
  resolvePublicAddress,
23
24
  safeFetch,
24
25
  totalDrops
25
- } from "./chunk-SFYLZX5C.js";
26
+ } from "./chunk-K4PHB3YQ.js";
27
+ import {
28
+ captureUpstreamProxy,
29
+ connectAuthority,
30
+ openUpstreamTunnel
31
+ } from "./chunk-TSYRN646.js";
32
+ import {
33
+ captureSiteName,
34
+ localUrlRewriter,
35
+ resolveLocalCaptureTarget,
36
+ rewriteLocalCaptureOutput,
37
+ rewriteStrings,
38
+ startLocalPageServer
39
+ } from "./chunk-DROFHVQD.js";
26
40
  import {
27
41
  CaptureDirRefusedError,
28
42
  NavigationDeadlineError,
29
43
  ensureCaptureDirSync,
30
44
  writeCaptureFileSync
31
- } from "./chunk-MRF4AMKD.js";
45
+ } from "./chunk-EQBDKYXR.js";
32
46
  import {
33
47
  loadOptionalPackage,
34
48
  loadSharp
@@ -43,7 +57,7 @@ import {
43
57
  closeManagedBrowser,
44
58
  launchManagedBrowser,
45
59
  registerBrowserSessionCleanup
46
- } from "./chunk-T6SD37JZ.js";
60
+ } from "./chunk-X6MCIK7L.js";
47
61
  import {
48
62
  navigateForCapture,
49
63
  waitForPageReady
@@ -55,50 +69,54 @@ import {
55
69
  isNavigationTimeoutError,
56
70
  withRemainingBudget
57
71
  } from "./chunk-EHSBBBR2.js";
58
- import "./chunk-42KN6I6A.js";
72
+ import "./chunk-4LTBQEPD.js";
59
73
  import {
60
74
  writeNewFileSync
61
- } from "./chunk-4YYJOFKS.js";
75
+ } from "./chunk-XMRA7CQG.js";
62
76
  import {
63
77
  createCaptureDownloadBudget,
64
78
  readBoundedResponse
65
79
  } from "./chunk-AWDFDFI3.js";
80
+ import "./chunk-EOVYQ3IG.js";
66
81
  import {
67
82
  diag
68
83
  } from "./chunk-VWG7OQKU.js";
69
84
  import "./chunk-JVBRJMOP.js";
70
- import "./chunk-RDDVQSNQ.js";
85
+ import "./chunk-MPO25DQW.js";
86
+ import {
87
+ removeTreeBestEffortAsync
88
+ } from "./chunk-Z5J67X44.js";
71
89
  import "./chunk-5S7W3TUO.js";
72
- import "./chunk-VW2LVMKB.js";
73
- import "./chunk-RQVDTPGD.js";
74
- import "./chunk-MFHYBSJC.js";
75
- import "./chunk-KLIPVNCO.js";
90
+ import "./chunk-GHSO62LK.js";
91
+ import "./chunk-QWBVPWUI.js";
92
+ import "./chunk-BQMAPNDA.js";
76
93
  import "./chunk-VC76R6W2.js";
77
- import "./chunk-OFRRUYBA.js";
78
- import "./chunk-FR7YBU3H.js";
79
94
  import "./chunk-OFQWTKPW.js";
80
- import "./chunk-DPVXBVLL.js";
95
+ import "./chunk-RQVDTPGD.js";
81
96
  import "./chunk-3GXQPCJC.js";
82
97
  import "./chunk-634HSJ3J.js";
83
98
  import "./chunk-FXMKHHPO.js";
99
+ import "./chunk-KGPLIH7B.js";
84
100
  import "./chunk-K4MJX7SR.js";
85
- import "./chunk-4UMPIPCQ.js";
86
- import "./chunk-2MLMO25E.js";
101
+ import "./chunk-ERUQ3S6D.js";
102
+ import "./chunk-FC4WT5FX.js";
87
103
  import "./chunk-CZGHFATT.js";
88
104
  import "./chunk-VAS6HQX3.js";
89
105
  import "./chunk-PBNWRWKA.js";
90
- import "./chunk-2BGOB2QK.js";
106
+ import "./chunk-SE2MXV2N.js";
107
+ import "./chunk-NHA4NRBE.js";
108
+ import "./chunk-FR7YBU3H.js";
109
+ import "./chunk-DPVXBVLL.js";
91
110
  import {
92
111
  parseHTML
93
112
  } from "./chunk-GWTIFRF5.js";
94
113
  import "./chunk-2RY2LWAA.js";
95
114
  import "./chunk-3422KMTD.js";
96
- import "./chunk-RXATE6FZ.js";
115
+ import "./chunk-WC4MTXGN.js";
97
116
  import "./chunk-UIOZIIB7.js";
98
117
  import {
99
118
  normalizeErrorMessage
100
- } from "./chunk-T2EUWCJE.js";
101
- import "./chunk-KGPLIH7B.js";
119
+ } from "./chunk-EU7MVORF.js";
102
120
  import "./chunk-M2WBOQ2Q.js";
103
121
 
104
122
  // src/capture/partialCapture.ts
@@ -149,7 +167,7 @@ function createPartialCaptureState(opts) {
149
167
  };
150
168
  }
151
169
  function writePartialCaptureBundle(opts, state, lastPhase) {
152
- const hostname = new URL(opts.url).hostname.replace(/^www\./, "");
170
+ const hostname = captureSiteName(opts.url);
153
171
  const extractedDir = ensureCaptureDirSync(opts.outputDir, join(opts.outputDir, "extracted"));
154
172
  writeCaptureFileSync(join(extractedDir, "tokens.json"), serializeTokensForCapture(state.tokens));
155
173
  writeCaptureFileSync(
@@ -188,7 +206,7 @@ function writePartialCaptureBundle(opts, state, lastPhase) {
188
206
  }
189
207
 
190
208
  // src/capture/launchCaptureBrowser.ts
191
- import { mkdtemp, mkdir, writeFile, rm } from "fs/promises";
209
+ import { mkdtemp, mkdir, writeFile } from "fs/promises";
192
210
  import { tmpdir } from "os";
193
211
  import { join as join2 } from "path";
194
212
 
@@ -238,20 +256,26 @@ function refuse(response) {
238
256
  if (!response.headersSent) response.writeHead(403, { Connection: "close" });
239
257
  response.end();
240
258
  }
241
- async function forwardHttp(incoming, response, sockets) {
259
+ async function httpPeer(url, proxy) {
260
+ if (!proxy) {
261
+ const hostname = await resolvePublicAddress(url.hostname);
262
+ return { hostname, family: 4, port: url.port || 80, path: url.pathname + url.search };
263
+ }
264
+ assertPublicHostname(url.hostname);
265
+ return { hostname: proxy.host, port: proxy.port, path: url.href };
266
+ }
267
+ async function forwardHttp(incoming, response, sockets, proxy) {
242
268
  try {
243
269
  const url = destination(incoming.url ?? "", false);
244
- const address = await resolvePublicAddress(url.hostname);
270
+ const peer = await httpPeer(url, proxy);
245
271
  if (incoming.destroyed || response.destroyed) return;
246
272
  const headers = forwardHeaders(incoming);
247
273
  headers.host = url.host;
274
+ if (proxy?.authorization) headers["proxy-authorization"] = proxy.authorization;
248
275
  const upstream = request(
249
276
  {
250
- hostname: address,
251
- family: 4,
252
- port: url.port || 80,
277
+ ...peer,
253
278
  method: incoming.method,
254
- path: url.pathname + url.search,
255
279
  headers,
256
280
  agent: false,
257
281
  signal: AbortSignal.timeout(3e4)
@@ -283,9 +307,34 @@ function trackSocket(socket, sockets) {
283
307
  socket.once("close", () => sockets.delete(socket));
284
308
  socket.on("error", () => socket.destroy());
285
309
  }
286
- async function forwardTunnel(incoming, client, head, sockets) {
310
+ async function forwardTunnelViaUpstream(url, proxy, client, head, sockets) {
311
+ let upstream;
312
+ try {
313
+ upstream = await openUpstreamTunnel(proxy, connectAuthority(url), {
314
+ onSocket: (socket) => trackSocket(socket, sockets)
315
+ });
316
+ } catch {
317
+ if (!client.destroyed) {
318
+ client.end("HTTP/1.1 502 Bad Gateway\r\nConnection: close\r\nContent-Length: 0\r\n\r\n");
319
+ }
320
+ return;
321
+ }
322
+ if (client.destroyed) return void upstream.destroy();
323
+ upstream.setTimeout(CONNECTION_TIMEOUT_MS, () => upstream.destroy());
324
+ client.write("HTTP/1.1 200 Connection Established\r\n\r\n");
325
+ if (head.length) upstream.write(head);
326
+ upstream.pipe(client);
327
+ client.pipe(upstream);
328
+ upstream.once("close", () => client.destroy());
329
+ client.once("close", () => upstream.destroy());
330
+ }
331
+ async function forwardTunnel(incoming, client, head, sockets, proxy) {
287
332
  try {
288
333
  const url = destination(incoming.url ?? "", true);
334
+ if (proxy) {
335
+ assertPublicHostname(url.hostname);
336
+ return await forwardTunnelViaUpstream(url, proxy, client, head, sockets);
337
+ }
289
338
  const address = await resolvePublicAddress(url.hostname);
290
339
  if (client.destroyed) return;
291
340
  const upstream = connect({ host: address, family: 4, port: Number(url.port || 443) });
@@ -309,14 +358,15 @@ async function forwardTunnel(incoming, client, head, sockets) {
309
358
  }
310
359
  }
311
360
  async function startCaptureProxy() {
361
+ const proxy = captureUpstreamProxy();
312
362
  const sockets = /* @__PURE__ */ new Set();
313
363
  const server = createServer(
314
- (incoming, response) => void forwardHttp(incoming, response, sockets)
364
+ (incoming, response) => void forwardHttp(incoming, response, sockets, proxy)
315
365
  );
316
366
  server.on("connection", (socket) => trackSocket(socket, sockets));
317
367
  server.on(
318
368
  "connect",
319
- (incoming, socket, head) => void forwardTunnel(incoming, socket, head, sockets)
369
+ (incoming, socket, head) => void forwardTunnel(incoming, socket, head, sockets, proxy)
320
370
  );
321
371
  server.on("upgrade", (_incoming, socket) => socket.destroy());
322
372
  server.maxConnections = 128;
@@ -356,7 +406,7 @@ async function launchCaptureBrowser(options) {
356
406
  if (browser) await closeManagedBrowser(browser);
357
407
  } finally {
358
408
  try {
359
- if (profile) await rm(profile, { recursive: true, force: true });
409
+ if (profile) await removeTreeBestEffortAsync(profile);
360
410
  } finally {
361
411
  unregister?.();
362
412
  }
@@ -385,7 +435,7 @@ async function launchCaptureBrowser(options) {
385
435
  args: [
386
436
  ...captureBrowserArgs(options.disableWebgl, options.width, options.height),
387
437
  `--proxy-server=${proxy.url}`,
388
- "--proxy-bypass-list=<-loopback>",
438
+ `--proxy-bypass-list=<-loopback>${options.localOrigin ? `;${new URL(options.localOrigin).host}` : ""}`,
389
439
  "--disable-quic",
390
440
  "--force-webrtc-ip-handling-policy=disable_non_proxied_udp"
391
441
  ]
@@ -894,14 +944,14 @@ function loadEnvFile(startDir) {
894
944
  async function generateProjectScaffold(outputDir, url, tokens, animationCatalog, hasScreenshots, hasLotties, hasShaders, catalogedAssets, progress, warnings, detectedLibraries) {
895
945
  const metaPath = join3(outputDir, "meta.json");
896
946
  if (!existsSync(metaPath)) {
897
- const hostname = new URL(url).hostname.replace(/^www\./, "");
947
+ const hostname = captureSiteName(url);
898
948
  writeNewFileSync(
899
949
  metaPath,
900
950
  JSON.stringify({ id: hostname + "-video", name: tokens.title || hostname }, null, 2)
901
951
  );
902
952
  }
903
953
  try {
904
- const { generateAgentPrompt } = await import("./agentPromptGenerator-KYO5MKTW.js");
954
+ const { generateAgentPrompt } = await import("./agentPromptGenerator-4NJ252MR.js");
905
955
  generateAgentPrompt(
906
956
  outputDir,
907
957
  url,
@@ -3422,7 +3472,7 @@ ${err.stack}` : normalizeErrorMessage(err);
3422
3472
  await runAnimationCapture();
3423
3473
  const runScreenshotCapture = async () => {
3424
3474
  progress("screenshots", "Capturing scroll screenshots...");
3425
- const { captureScrollScreenshots } = await import("./screenshotCapture-I5EDCITF.js");
3475
+ const { captureScrollScreenshots } = await import("./screenshotCapture-HOW4VSV6.js");
3426
3476
  if (!canWrite()) {
3427
3477
  screenshotOutcome = {
3428
3478
  kind: "failed",
@@ -3468,7 +3518,7 @@ ${err.stack}` : normalizeErrorMessage(err);
3468
3518
  });
3469
3519
  progress("design", "Cataloging assets...");
3470
3520
  try {
3471
- const { catalogAssets } = await import("./assetCataloger-M5FWXLAJ.js");
3521
+ const { catalogAssets } = await import("./assetCataloger-YBPXUNUP.js");
3472
3522
  catalogedAssets = await catalogAssets(page1);
3473
3523
  progress("design", `${catalogedAssets.length} assets cataloged`);
3474
3524
  if (catalogedAssets.length === 0) {
@@ -3961,7 +4011,7 @@ ${extracted.bodyHtml}
3961
4011
  if (remainingMs() > 0 && canWrite()) {
3962
4012
  phase("contact-sheets", "started");
3963
4013
  try {
3964
- const { createScrollContactSheet, createAssetContactSheet, createSvgContactSheet } = await import("./contactSheet-5APX35L3.js");
4014
+ const { createScrollContactSheet, createAssetContactSheet, createSvgContactSheet } = await import("./contactSheet-RYAE7Y5D.js");
3965
4015
  const contactSheetBudget = { remainingMs };
3966
4016
  const runScrollContactSheet = async () => {
3967
4017
  const scrollSheets = await createScrollContactSheet(
@@ -4033,7 +4083,7 @@ ${extracted.bodyHtml}
4033
4083
 
4034
4084
  // src/capture/captureAttempt.ts
4035
4085
  var DEFAULT_POST_NAVIGATION_BUDGET_MS = 12e4;
4036
- async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, state) {
4086
+ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, state, localOrigin) {
4037
4087
  const {
4038
4088
  url,
4039
4089
  outputDir,
@@ -4048,7 +4098,9 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
4048
4098
  onPhase
4049
4099
  } = opts;
4050
4100
  const initialUrl = new URL(url);
4051
- if (!["http:", "https:"].includes(initialUrl.protocol) || initialUrl.username || initialUrl.password) {
4101
+ if (localOrigin !== void 0) {
4102
+ if (initialUrl.origin !== localOrigin) throw new Error("Local capture URL must use its server");
4103
+ } else if (!["http:", "https:"].includes(initialUrl.protocol) || initialUrl.username || initialUrl.password) {
4052
4104
  throw new Error("Capture requires a public HTTP or HTTPS URL without credentials");
4053
4105
  }
4054
4106
  const downloadByteBudget = createCaptureDownloadBudget();
@@ -4085,14 +4137,15 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
4085
4137
  ensureCaptureDirSync(outputDir, join11(outputDir, "screenshots"));
4086
4138
  ensureCaptureDirSync(outputDir, join11(outputDir, "assets"));
4087
4139
  progress("browser", "Launching headless Chrome...");
4088
- const { ensureBrowser } = await import("./manager-F2YREC5X.js");
4140
+ const { ensureBrowser } = await import("./manager-Z7W4GQGF.js");
4089
4141
  const browser = await ensureBrowser();
4090
4142
  const captureBrowser = await launchCaptureBrowser({
4091
4143
  executablePath: browser.executablePath,
4092
4144
  protocolTimeout: captureProtocolTimeoutMs(timeout, budgetMs),
4093
4145
  disableWebgl,
4094
4146
  width: viewportWidth,
4095
- height: viewportHeight
4147
+ height: viewportHeight,
4148
+ localOrigin
4096
4149
  });
4097
4150
  const chromeBrowser = captureBrowser.browser;
4098
4151
  watchdog.registerBrowser(captureBrowser);
@@ -4292,14 +4345,33 @@ async function captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, s
4292
4345
 
4293
4346
  // src/capture/index.ts
4294
4347
  async function captureWebsite(opts, onProgress) {
4348
+ if (opts.localFile === void 0) {
4349
+ if (opts.localRoot !== void 0) throw new Error("localRoot requires localFile");
4350
+ return captureTarget(opts, onProgress);
4351
+ }
4352
+ const local = resolveLocalCaptureTarget(opts.localFile, opts.localRoot);
4353
+ const server = await startLocalPageServer(local);
4354
+ const rewrite = localUrlRewriter(server.origin, local.root);
4355
+ try {
4356
+ const result = await captureTarget({ ...opts, url: server.url }, onProgress, server.origin);
4357
+ return { ...rewriteStrings(result, rewrite), url: local.fileUrl };
4358
+ } finally {
4359
+ await server.close();
4360
+ rewriteLocalCaptureOutput(opts.outputDir, rewrite, local.fileUrl);
4361
+ }
4362
+ }
4363
+ async function captureTarget(opts, onProgress, localOrigin) {
4295
4364
  const watchdog = createCaptureWatchdog(opts.captureDeadlineMs);
4296
4365
  const state = createPartialCaptureState(opts);
4297
- const attempt = captureWebsiteAttempt(opts, onProgress, false, watchdog, state);
4366
+ const run = (disableWebgl) => captureWebsiteAttempt(opts, onProgress, disableWebgl, watchdog, state, localOrigin);
4367
+ const settle = async (attempt) => {
4368
+ const outcome = await runWithWatchdog(attempt, watchdog.promise);
4369
+ if (outcome.kind === "deadline") return deadlineResult(opts, state);
4370
+ if (outcome.kind === "error") throw outcome.error;
4371
+ return outcome.result;
4372
+ };
4298
4373
  try {
4299
- const first = await runWithWatchdog(attempt, watchdog.promise);
4300
- if (first.kind === "deadline") return deadlineResult(opts, state);
4301
- if (first.kind === "error") throw first.error;
4302
- return first.result;
4374
+ return await settle(run(false));
4303
4375
  } catch (err) {
4304
4376
  if (!(err instanceof NavigationDeadlineError) || watchdog.expired() || !err.webglObserved) {
4305
4377
  throw err;
@@ -4313,14 +4385,8 @@ async function captureWebsite(opts, onProgress) {
4313
4385
  remainingMs: null,
4314
4386
  reason: "webgl-disabled-retry"
4315
4387
  });
4316
- const retry = captureWebsiteAttempt(opts, onProgress, true, watchdog, state);
4317
- const second = await runWithWatchdog(retry, watchdog.promise);
4318
- if (second.kind === "deadline") return deadlineResult(opts, state);
4319
- if (second.kind === "error") throw second.error;
4320
- return {
4321
- ...second.result,
4322
- warnings: [.../* @__PURE__ */ new Set([...state.warnings, ...second.result.warnings])]
4323
- };
4388
+ const second = await settle(run(true));
4389
+ return { ...second, warnings: [.../* @__PURE__ */ new Set([...state.warnings, ...second.warnings])] };
4324
4390
  } finally {
4325
4391
  watchdog.dispose();
4326
4392
  }
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-JVBRJMOP.js";
23
23
  import {
24
24
  normalizeErrorMessage
25
- } from "./chunk-T2EUWCJE.js";
25
+ } from "./chunk-EU7MVORF.js";
26
26
  import "./chunk-M2WBOQ2Q.js";
27
27
 
28
28
  // src/commands/capture.ts
@@ -44,10 +44,19 @@ var examples = [
44
44
  ["Capture a website into ./capture/", "hyperframes capture https://stripe.com"],
45
45
  ["Capture to a different directory", "hyperframes capture https://linear.app -o linear-video"],
46
46
  ["JSON output for AI agents", "hyperframes capture https://example.com --json"],
47
+ ["Capture a local HTML file", "hyperframes capture --local-file ./site/index.html -o site-video"],
48
+ [
49
+ "Let a local page read files from a parent directory",
50
+ "hyperframes capture --local-file ./site/pages/about.html --local-root ./site"
51
+ ],
47
52
  [
48
53
  "Pull a video from the captured manifest by index",
49
54
  "hyperframes capture --video ./linear-video --index 0"
50
55
  ],
56
+ [
57
+ "Send all capture traffic through an egress proxy",
58
+ "HYPERFRAMES_CAPTURE_PROXY=http://127.0.0.1:3128 hyperframes capture https://example.com"
59
+ ],
51
60
  [
52
61
  "List videos referenced in the captured manifest",
53
62
  "hyperframes capture --video ./linear-video --list"
@@ -61,9 +70,17 @@ var capture_default = defineCommand({
61
70
  args: {
62
71
  url: {
63
72
  type: "positional",
64
- description: "Website URL to capture (omit when using --video)",
73
+ description: "Website URL to capture (omit when using --local-file or --video)",
65
74
  required: false
66
75
  },
76
+ "local-file": {
77
+ type: "string",
78
+ description: "Capture a local HTML file (or a directory's index.html) instead of a URL; remote subresources still go through the public-address policy"
79
+ },
80
+ "local-root": {
81
+ type: "string",
82
+ description: "(--local-file) Directory the page may read local files from (default: the HTML file's directory)"
83
+ },
67
84
  output: {
68
85
  type: "string",
69
86
  description: "Output directory name (default: ./capture, then ./capture-2/, ./capture-3/, \u2026)",
@@ -116,8 +133,15 @@ var capture_default = defineCommand({
116
133
  },
117
134
  // fallow-ignore-next-line complexity
118
135
  async run({ args }) {
136
+ const { captureUpstreamProxy } = await import("./upstreamProxy-W5FWAT5Z.js");
137
+ try {
138
+ captureUpstreamProxy();
139
+ } catch (error) {
140
+ console.error(normalizeErrorMessage(error));
141
+ failCommand();
142
+ }
119
143
  if (args.video) {
120
- const { runVideoMode } = await import("./video-ECWXMY4F.js");
144
+ const { runVideoMode } = await import("./video-OEMGR3MN.js");
121
145
  await runVideoMode({
122
146
  project: args.video,
123
147
  index: args.index ?? null,
@@ -126,18 +150,38 @@ var capture_default = defineCommand({
126
150
  });
127
151
  return;
128
152
  }
129
- const url = args.url;
130
- if (!url) {
131
- console.error(
132
- "Missing URL. Pass a website URL, or use --video <project> for video download."
133
- );
134
- failCommand();
135
- }
136
- try {
137
- new URL(url);
138
- } catch {
139
- console.error(`Invalid URL: ${url}`);
140
- failCommand();
153
+ const localFile = args["local-file"];
154
+ const localRoot = args["local-root"];
155
+ let url = args.url;
156
+ if (localFile !== void 0) {
157
+ if (url) {
158
+ console.error("Pass either a URL or --local-file, not both.");
159
+ failCommand();
160
+ }
161
+ const { resolveLocalCaptureTarget } = await import("./localPage-V3HBGM3Z.js");
162
+ try {
163
+ url = resolveLocalCaptureTarget(localFile, localRoot).fileUrl;
164
+ } catch (err) {
165
+ console.error(normalizeErrorMessage(err));
166
+ failCommand();
167
+ }
168
+ } else {
169
+ if (localRoot !== void 0) {
170
+ console.error("--local-root requires --local-file.");
171
+ failCommand();
172
+ }
173
+ if (!url) {
174
+ console.error(
175
+ "Missing URL. Pass a website URL, --local-file <path>, or --video <project> for video download."
176
+ );
177
+ failCommand();
178
+ }
179
+ try {
180
+ new URL(url);
181
+ } catch {
182
+ console.error(`Invalid URL: ${url}`);
183
+ failCommand();
184
+ }
141
185
  }
142
186
  const captureBudgetMs = parsePositiveInteger(
143
187
  args["capture-budget"],
@@ -174,12 +218,14 @@ var capture_default = defineCommand({
174
218
  }
175
219
  console.log();
176
220
  }
177
- const { captureWebsite } = await import("./capture-KKD5GMAF.js");
221
+ const { captureWebsite } = await import("./capture-CXWXKWS5.js");
178
222
  let captureFailed = false;
179
223
  try {
180
224
  const result = await captureWebsite(
181
225
  {
182
226
  url,
227
+ localFile,
228
+ localRoot,
183
229
  outputDir,
184
230
  skipAssets: args["skip-assets"],
185
231
  skipVision: args["skip-vision"],
@@ -268,7 +314,7 @@ var capture_default = defineCommand({
268
314
  try {
269
315
  const { mkdirSync } = await import("fs");
270
316
  const { formatCaptureFailureReason } = await import("./captureTimeout-RIMG6IYH.js");
271
- const { writeCaptureFileSync } = await import("./captureFile-LYOJOUIE.js");
317
+ const { writeCaptureFileSync } = await import("./captureFile-VIVGKFY4.js");
272
318
  mkdirSync(outputDir, { recursive: true });
273
319
  const reason = formatCaptureFailureReason(errMsg);
274
320
  writeCaptureFileSync(
@@ -28,46 +28,47 @@ import {
28
28
  waitForCompositionFonts,
29
29
  waitForPreferredSeekTarget,
30
30
  waitForRuntimeReady
31
- } from "./chunk-CMDVJP4T.js";
32
- import "./chunk-T6SD37JZ.js";
31
+ } from "./chunk-7PAK7LZ5.js";
32
+ import "./chunk-X6MCIK7L.js";
33
33
  import "./chunk-MOEGCMKI.js";
34
- import "./chunk-QL4ZYSIB.js";
34
+ import "./chunk-ENRFKCI6.js";
35
35
  import "./chunk-DKPNNYBZ.js";
36
- import "./chunk-PQYWYBEQ.js";
36
+ import "./chunk-QP2MJYTJ.js";
37
37
  import "./chunk-K2FLNJVB.js";
38
38
  import "./chunk-EHSBBBR2.js";
39
- import "./chunk-63DGZRZP.js";
40
- import "./chunk-42KN6I6A.js";
39
+ import "./chunk-ULL3U6PV.js";
40
+ import "./chunk-4LTBQEPD.js";
41
41
  import "./chunk-JVBRJMOP.js";
42
42
  import "./chunk-ZTZA4UWZ.js";
43
- import "./chunk-RDDVQSNQ.js";
43
+ import "./chunk-MPO25DQW.js";
44
+ import "./chunk-Z5J67X44.js";
44
45
  import "./chunk-5S7W3TUO.js";
45
- import "./chunk-VW2LVMKB.js";
46
- import "./chunk-RQVDTPGD.js";
47
- import "./chunk-MFHYBSJC.js";
48
- import "./chunk-KLIPVNCO.js";
46
+ import "./chunk-GHSO62LK.js";
47
+ import "./chunk-QWBVPWUI.js";
48
+ import "./chunk-BQMAPNDA.js";
49
49
  import "./chunk-VC76R6W2.js";
50
- import "./chunk-OFRRUYBA.js";
51
- import "./chunk-FR7YBU3H.js";
52
50
  import "./chunk-OFQWTKPW.js";
53
- import "./chunk-DPVXBVLL.js";
51
+ import "./chunk-RQVDTPGD.js";
54
52
  import "./chunk-3GXQPCJC.js";
55
53
  import "./chunk-634HSJ3J.js";
56
54
  import "./chunk-FXMKHHPO.js";
55
+ import "./chunk-KGPLIH7B.js";
57
56
  import "./chunk-K4MJX7SR.js";
58
- import "./chunk-4UMPIPCQ.js";
59
- import "./chunk-2MLMO25E.js";
57
+ import "./chunk-ERUQ3S6D.js";
58
+ import "./chunk-FC4WT5FX.js";
60
59
  import "./chunk-CZGHFATT.js";
61
60
  import "./chunk-VAS6HQX3.js";
62
61
  import "./chunk-PBNWRWKA.js";
63
- import "./chunk-2BGOB2QK.js";
62
+ import "./chunk-SE2MXV2N.js";
63
+ import "./chunk-NHA4NRBE.js";
64
+ import "./chunk-FR7YBU3H.js";
65
+ import "./chunk-DPVXBVLL.js";
64
66
  import "./chunk-GWTIFRF5.js";
65
67
  import "./chunk-2RY2LWAA.js";
66
68
  import "./chunk-3422KMTD.js";
67
- import "./chunk-RXATE6FZ.js";
69
+ import "./chunk-WC4MTXGN.js";
68
70
  import "./chunk-UIOZIIB7.js";
69
- import "./chunk-T2EUWCJE.js";
70
- import "./chunk-KGPLIH7B.js";
71
+ import "./chunk-EU7MVORF.js";
71
72
  import "./chunk-M2WBOQ2Q.js";
72
73
  export {
73
74
  AUDIT_SEEK_OPTIONS,
@@ -7,7 +7,8 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ensureCaptureDirSync,
9
9
  writeCaptureFileSync
10
- } from "./chunk-MRF4AMKD.js";
10
+ } from "./chunk-EQBDKYXR.js";
11
+ import "./chunk-Z5J67X44.js";
11
12
  import "./chunk-M2WBOQ2Q.js";
12
13
  export {
13
14
  ensureCaptureDirSync,