hyperframes 0.9.12 → 0.9.14
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.
- package/dist/{add-NLR4EVAF.js → add-JNKCTPWJ.js} +19 -18
- package/dist/{agentPromptGenerator-S3GWYMVC.js → agentPromptGenerator-DSF7AEVE.js} +9 -9
- package/dist/{animatedGifPrep-YU7IOD5D.js → animatedGifPrep-BIEUMGB3.js} +9 -9
- package/dist/api.js +53 -30
- package/dist/{asset-7NPBAXDA.js → asset-V6JAJRCF.js} +5 -5
- package/dist/{assetCataloger-VKJIQCYP.js → assetCataloger-SCLH2WAC.js} +10 -10
- package/dist/{audio-ZNVUZH44.js → audio-JX76VDCY.js} +25 -24
- package/dist/{auth-PTVZNLE6.js → auth-TRE4ASYT.js} +6 -6
- package/dist/{autoUpdate-QJPCV7FB.js → autoUpdate-D5UUCIOR.js} +4 -4
- package/dist/avatars-26EUVWXR.js +168 -0
- package/dist/{backgroundChecks-UA6LCZAG.js → backgroundChecks-RM5GWZIW.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-W4RXBUNE.js → batchRender-5ZEQ6U4N.js} +8 -8
- package/dist/{beats-IG7C72YF.js → beats-3YW7MGZY.js} +27 -19
- package/dist/{benchmark-YUD3XIT2.js → benchmark-MYQTWUO3.js} +15 -15
- package/dist/{billing-5YSYJJ2V.js → billing-2X3JNNM4.js} +100 -23
- package/dist/{browser-TZILXH5J.js → browser-CQSY36GL.js} +8 -8
- package/dist/bundleWithLocalizedFonts-Z6KCDBP2.js +23 -0
- package/dist/{capture-MICLAF6V.js → capture-IK5GIWOS.js} +29 -32
- package/dist/{capture-R77HOGLQ.js → capture-NWBNWBIX.js} +5 -5
- package/dist/{captureCompositionFrame-WBMFZHEF.js → captureCompositionFrame-KR3PELMO.js} +17 -17
- package/dist/{catalog-AMPL57XF.js → catalog-2Q73F42B.js} +20 -19
- package/dist/{catch-up-WQ7ZRRFT.js → catch-up-JP3FL3FX.js} +8 -8
- package/dist/{check-ZPBF3X5D.js → check-UIMXDUPK.js} +51 -50
- package/dist/{checkAudio-IG3BOW2G.js → checkAudio-CSX4G35O.js} +15 -15
- package/dist/{checkBrowser-AIUIKFMJ.js → checkBrowser-MTCJVJYJ.js} +43 -42
- package/dist/{chunk-B3IE7CN2.js → chunk-2BDSLTEG.js} +10 -10
- package/dist/{chunk-URJ7T6T6.js → chunk-2L4HQ5K4.js} +1 -1
- package/dist/{chunk-RFTLWXEX.js → chunk-2NHPNI42.js} +11 -11
- package/dist/{chunk-EPCVE3OX.js → chunk-2OIONPKY.js} +3 -3
- package/dist/{chunk-WTGG734B.js → chunk-2SYOEZ2Z.js} +5 -5
- package/dist/{chunk-HY64QA63.js → chunk-2YT656R2.js} +22 -10
- package/dist/{chunk-NTHJJ6JT.js → chunk-35RZMUTX.js} +7 -7
- package/dist/{chunk-LIN633KG.js → chunk-3B7TDQEW.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-BOIW3CIU.js → chunk-3BHDAXDA.js} +5 -9
- package/dist/{chunk-VWQY3A64.js → chunk-3CXUZSLE.js} +2 -2
- package/dist/{chunk-5WHGO5XU.js → chunk-4MY6FPX4.js} +1 -1
- package/dist/{chunk-V6HV2IDT.js → chunk-4NE6CBMW.js} +1 -1
- package/dist/{chunk-JS6ZTPYC.js → chunk-53UV2EUT.js} +3 -3
- package/dist/{chunk-6IFY3ZQC.js → chunk-5ENBFVPD.js} +5 -5
- package/dist/{chunk-AW3XJY4S.js → chunk-6FDVPIOO.js} +1 -1
- package/dist/{chunk-VECINIPA.js → chunk-6FOO4QTU.js} +2 -2
- package/dist/{chunk-6R2PED3X.js → chunk-6OSVMSGV.js} +10 -10
- package/dist/{chunk-JKSASCBT.js → chunk-6UM5C4R6.js} +2 -2
- package/dist/{chunk-SFS5BTQ3.js → chunk-6YPQSVVR.js} +1 -1
- package/dist/{chunk-N6FGHJ7X.js → chunk-6ZRGEVAM.js} +97 -26
- package/dist/{chunk-2QMEP4LR.js → chunk-7AVR3VZE.js} +1 -1
- package/dist/{chunk-6KV3CMY2.js → chunk-7LQVFIO4.js} +4 -16
- package/dist/{chunk-3IKLV3D4.js → chunk-7NPHPQH5.js} +2 -2
- package/dist/{chunk-OJTXXFYO.js → chunk-7X3UDKJK.js} +1 -1
- package/dist/{chunk-XZP5OW5V.js → chunk-AKE744C5.js} +1 -1
- package/dist/{chunk-64ZWPFAX.js → chunk-AOJBIFKU.js} +2 -2
- package/dist/{chunk-OQKAP6X4.js → chunk-AWV4F5TS.js} +2 -2
- package/dist/{chunk-X5EOH44V.js → chunk-B2RMMRJB.js} +1 -1
- package/dist/{chunk-MWHTLXG4.js → chunk-B3CSMKM7.js} +1 -1
- package/dist/{chunk-MDMQD6BV.js → chunk-B6C33MNL.js} +41 -17
- package/dist/{chunk-7XKWBMBL.js → chunk-BNUN7KXZ.js} +2 -2
- package/dist/{chunk-H7H7XNYY.js → chunk-BXCPOMS3.js} +11 -9
- package/dist/{chunk-TSQZ3DSC.js → chunk-BY7PZB6H.js} +1 -1
- package/dist/{chunk-BONBJJ35.js → chunk-CKEOCCMK.js} +1 -1
- package/dist/{chunk-42TYQPES.js → chunk-CMPHS5E6.js} +2 -2
- package/dist/{chunk-JHILL4BN.js → chunk-CUCP7FKH.js} +461 -1
- package/dist/{chunk-XX77LLFJ.js → chunk-CZ5NNJ6H.js} +120 -25
- package/dist/{chunk-C3NC67BB.js → chunk-D3FZQL5R.js} +8 -8
- package/dist/chunk-D3UCUI7G.js +68 -0
- package/dist/{chunk-VM6T3Z6B.js → chunk-DD47NQJZ.js} +1 -1
- package/dist/{chunk-2VZVMCV6.js → chunk-DSIGJUNY.js} +1 -1
- package/dist/{chunk-E2YXF2EP.js → chunk-DTU4XJNP.js} +4 -4
- package/dist/{chunk-4XGASFTP.js → chunk-DTZSKJV5.js} +3 -3
- package/dist/{chunk-7RM3TB62.js → chunk-DVJUBMS7.js} +1 -1
- package/dist/{chunk-KUXOAS4Z.js → chunk-DX4OFRBN.js} +41 -37
- package/dist/{chunk-Y3ICFPFK.js → chunk-EAO46VPT.js} +3 -3
- package/dist/{chunk-M6JFR7KF.js → chunk-EOCFNE53.js} +21 -32
- package/dist/{chunk-LTBBFLOM.js → chunk-FC2OXEBQ.js} +1 -1
- package/dist/{chunk-BW2RIJKV.js → chunk-FF3VKFCN.js} +163 -98
- package/dist/{chunk-WQ4SMZDF.js → chunk-FQFWGAON.js} +2 -2
- package/dist/{chunk-J3RXEDR2.js → chunk-FYZFURBN.js} +2 -2
- package/dist/{chunk-ZLN3AJKT.js → chunk-FZRTCVU6.js} +1 -1
- package/dist/{chunk-YEBIOQRI.js → chunk-GY7D2OEQ.js} +3 -3
- package/dist/chunk-HNZ2FZIB.js +45 -0
- package/dist/{chunk-2GICKZ3I.js → chunk-HOCC4J5C.js} +1 -1
- package/dist/{chunk-4J4EGANW.js → chunk-HVIQQCLM.js} +16 -16
- package/dist/{chunk-PKLZ5PV2.js → chunk-HZSAOL5O.js} +2 -2
- package/dist/{chunk-3DWH6Z5U.js → chunk-I5PI43EI.js} +1 -1
- package/dist/{chunk-KT4KPBI7.js → chunk-IO3BC2ZK.js} +3 -3
- package/dist/{chunk-4H4DR36N.js → chunk-IOPE4LJ2.js} +1 -1
- package/dist/{chunk-QRCORKYC.js → chunk-IPZ3QGDO.js} +2 -2
- package/dist/{chunk-LV5SL4YW.js → chunk-K5CK4G75.js} +3 -3
- package/dist/{chunk-2VYAX3ZD.js → chunk-L24GJQNZ.js} +16 -12
- package/dist/{chunk-WJD3GVAA.js → chunk-LISUH6KH.js} +1 -1
- package/dist/chunk-LSUM6RTW.js +20 -0
- package/dist/{chunk-ZD3MK4H5.js → chunk-LZYXYJMX.js} +1 -1
- package/dist/{chunk-LO3EX3YP.js → chunk-M34AOUVK.js} +7 -7
- package/dist/{chunk-5LOZWO2M.js → chunk-M3JU24AI.js} +1 -1
- package/dist/{chunk-NQYW4IYN.js → chunk-MWPPZOY5.js} +4 -4
- package/dist/{chunk-KDOJX2HU.js → chunk-MY2W7VWC.js} +15 -15
- package/dist/{chunk-W5AUD5OL.js → chunk-N7ZKI2CE.js} +5 -5
- package/dist/{chunk-73EXHUMD.js → chunk-NBUPR3ZF.js} +1 -1
- package/dist/{chunk-AHLDGEH5.js → chunk-NLEIM52W.js} +84 -22
- package/dist/{chunk-XJG65BB2.js → chunk-NWFIYKEI.js} +10 -10
- package/dist/{chunk-2P5DTXUN.js → chunk-NZTYGWRK.js} +1 -1
- package/dist/{chunk-N74N2I2K.js → chunk-O4ONYFY3.js} +1 -1
- package/dist/{chunk-QFZ3ZSXI.js → chunk-O4ZD7TVR.js} +18 -2
- package/dist/{chunk-FLXZ4GZI.js → chunk-OHN3OJQQ.js} +1 -1
- package/dist/{chunk-C2KEGBR3.js → chunk-OHQRQE7F.js} +1 -394
- package/dist/{chunk-S2UKSI3C.js → chunk-PA27AW3Y.js} +1 -1
- package/dist/{chunk-X6XIY4JY.js → chunk-PCY67JUL.js} +303 -29
- package/dist/{chunk-SG4YBQPY.js → chunk-PYPW33ET.js} +2 -2
- package/dist/{chunk-Z2DJSEQC.js → chunk-QSEHVJFA.js} +75 -219
- package/dist/{chunk-CPMTEWQM.js → chunk-RX2PFZ5W.js} +4 -4
- package/dist/{chunk-OAFGA2FR.js → chunk-SAAJ2O7A.js} +1 -1
- package/dist/{chunk-GAKRZZHQ.js → chunk-SQC4CTD2.js} +2 -2
- package/dist/{chunk-6NKEEHFR.js → chunk-SSBAETRX.js} +6 -6
- package/dist/{chunk-AUYRWWFL.js → chunk-T32JKZX3.js} +3 -3
- package/dist/{chunk-A33GFLPY.js → chunk-T4FLVFQE.js} +1 -1
- package/dist/{chunk-P7Y2YCOF.js → chunk-TESXTEV5.js} +1 -1
- package/dist/{chunk-Q3IT7I2K.js → chunk-TRK77R5G.js} +1 -1
- package/dist/{chunk-EBUA6NWH.js → chunk-TTBCQFRY.js} +2 -2
- package/dist/{chunk-LR5NVYZT.js → chunk-U22NZEQV.js} +2 -2
- package/dist/{chunk-WWBEAKTO.js → chunk-UXS7VE75.js} +1 -1
- package/dist/{chunk-R7EKEIAK.js → chunk-VD5G4Y6U.js} +1 -1
- package/dist/{chunk-ABI256T5.js → chunk-W7ITBVJE.js} +4 -4
- package/dist/{chunk-FC4WF2VQ.js → chunk-WAH2X7FF.js} +2 -2
- package/dist/{chunk-FPR57WRR.js → chunk-WEWXIQPN.js} +1 -1
- package/dist/{chunk-SSZTRWKQ.js → chunk-WXYV47JX.js} +4 -4
- package/dist/{chunk-NWQFOHXF.js → chunk-WYXBJVM2.js} +1 -1
- package/dist/{chunk-FFUBISTD.js → chunk-X46MRJYK.js} +1 -1
- package/dist/{chunk-UH62KSYV.js → chunk-XMOWL46H.js} +3 -3
- package/dist/{chunk-VUMGJLRB.js → chunk-YBR4L5JA.js} +1 -1
- package/dist/{chunk-7FMUTGOH.js → chunk-ZB2XGJSP.js} +152 -5
- package/dist/{chunk-QOF7XZEI.js → chunk-ZE2QZHUH.js} +2 -2
- package/dist/{chunk-ETYQYG6Q.js → chunk-ZFZXGZTX.js} +27 -18
- package/dist/{chunk-AVNF52HR.js → chunk-ZNHWAGMH.js} +1 -1
- package/dist/{chunk-Q225NLQL.js → chunk-ZSAKJRZB.js} +6 -6
- package/dist/{chunk-7W5ZDOLW.js → chunk-ZZBO3GF5.js} +15 -4
- package/dist/{clean-343XOJT3.js → clean-P3SZCIFU.js} +25 -25
- package/dist/cli.js +69 -68
- package/dist/{cloud-2YS272KD.js → cloud-G7YQIVI7.js} +6 -6
- package/dist/{cloud-B6SGMECY.js → cloud-RFM3PYTR.js} +6 -5
- package/dist/{cloudrun-N737TJRC.js → cloudrun-LXZT5UDK.js} +11 -11
- package/dist/{colors-HRL7QSVG.js → colors-CRTWLZ5S.js} +2 -2
- package/dist/{compare-KXCTMXFX.js → compare-BHQHEOMX.js} +39 -38
- package/dist/{compiler-KKIYPREA.js → compiler-V72QWKGC.js} +6 -6
- package/dist/{component-ZUDCIGGD.js → component-6GDCT3GK.js} +6 -6
- package/dist/{compositions-FNFI2QOA.js → compositions-JM6HKCRF.js} +19 -19
- package/dist/{curve-5BMBBCSZ.js → curve-Y7JRXLIJ.js} +16 -16
- package/dist/{cuts-OKUA6BWH.js → cuts-LDVDQTRL.js} +17 -17
- package/dist/{delete-FYMFNSED.js → delete-NCZIKWHU.js} +12 -11
- package/dist/{deploy-YZU2YITA.js → deploy-R4OEJEB6.js} +10 -7
- package/dist/{describeProject-E44RWBJL.js → describeProject-4GKZTYHA.js} +13 -13
- package/dist/{destroy-IQLGADZM.js → destroy-6XY4WQWY.js} +2 -2
- package/dist/{deterministicFonts-GQMT52JQ.js → deterministicFonts-HY5GWGQQ.js} +3 -3
- package/dist/{diff-5X6I6EG5.js → diff-C53GPSNU.js} +55 -36
- package/dist/{dist-GUX66F7V.js → dist-R7SPMKEZ.js} +4 -4
- package/dist/{dist-PCVNVAVC.js → dist-TI44VPHO.js} +6 -4
- package/dist/{dist-PUHEYGA5.js → dist-TJZSSDR2.js} +14 -14
- package/dist/{docs-D22SOQEZ.js → docs-WYJSJGSF.js} +2 -2
- package/dist/{doctor-3DXWW63F.js → doctor-V4RICWU2.js} +16 -16
- package/dist/{energy-4HY7COXH.js → energy-S5Z7CGSB.js} +17 -17
- package/dist/{events-JAGPGK7R.js → events-6HROTYLC.js} +14 -6
- package/dist/{events-TFVE7AUR.js → events-QKJE5XRN.js} +5 -5
- package/dist/{events-ULVZ7V2C.js → events-RAJGQK7Y.js} +19 -19
- package/dist/{extract-5KTFRIH2.js → extract-RYGWEC5V.js} +17 -17
- package/dist/{face-T6D34LR7.js → face-IWRDW2QO.js} +17 -17
- package/dist/{feedback-QQQYENCU.js → feedback-HQTDLLPE.js} +17 -16
- package/dist/{ffmpeg-A2O4HSRD.js → ffmpeg-BX334YEK.js} +9 -9
- package/dist/{figma-4RODZMCT.js → figma-P6U76KGI.js} +5 -5
- package/dist/fontLocalizeCli.js +14 -14
- package/dist/{frames-L43TSSAY.js → frames-G2WYTVWV.js} +18 -18
- package/dist/{generate-7HZKBLPZ.js → generate-ZUE2AVOB.js} +42 -22
- package/dist/{get-MXKV4NUL.js → get-7C3UC46A.js} +12 -11
- package/dist/{gpuPolicy-TKHFDEH2.js → gpuPolicy-5ZVYYWXN.js} +9 -9
- package/dist/{grade-compare-KNXFKMFI.js → grade-compare-IS3OVI7R.js} +43 -42
- package/dist/{heifImagePrep-L2EY67F2.js → heifImagePrep-FBLLKI3P.js} +10 -10
- package/dist/{help-YN43ORVX.js → help-2MPB27YU.js} +3 -3
- package/dist/{history-VAMN53LT.js → history-Q5EBBFPW.js} +10 -10
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-QKEEGK2R.js → info-TNG5QGFC.js} +13 -13
- package/dist/{init-AAA44PYH.js → init-UFPBBWC7.js} +46 -38
- package/dist/{ink-V6CEFYB6.js → ink-UTPJHGZR.js} +17 -17
- package/dist/{inspect-5JGTWCYO.js → inspect-KXKKPWKX.js} +41 -40
- package/dist/{installer-PUQYKLXZ.js → installer-UTFXM6KP.js} +7 -6
- package/dist/{keyframes-FJNUSXAF.js → keyframes-S6V36BW6.js} +10 -10
- package/dist/{lambda-RYCG67CX.js → lambda-XWHALRKM.js} +22 -22
- package/dist/{layout-DXIPVY3W.js → layout-SSVKZKCZ.js} +41 -40
- package/dist/{lint-JZADWIMR.js → lint-OQWGRKG5.js} +15 -15
- package/dist/{lintProject-EV3EEBY3.js → lintProject-Z2TEXMY4.js} +4 -4
- package/dist/{list-YRLUJMP6.js → list-FYLBMEL7.js} +13 -12
- package/dist/{localPage-KIFKMB2B.js → localPage-4GSU6N3J.js} +9 -9
- package/dist/{login-H74JDEJ2.js → login-JKFCYHRS.js} +10 -9
- package/dist/{logout-UMDA3HDE.js → logout-YACQMRZN.js} +5 -4
- package/dist/{look-WVGBBYFE.js → look-WQ2DOKXH.js} +17 -17
- package/dist/{manager-T633Z2L4.js → manager-F4F4A734.js} +10 -10
- package/dist/{measure-DWQHHY3H.js → measure-XIFLTAMC.js} +11 -11
- package/dist/{media-treatment-JHDDWRFU.js → media-treatment-S3LHQSQQ.js} +21 -21
- package/dist/{media-use-5SDC3MCE.js → media-use-NFM3ZXCF.js} +7 -5
- package/dist/{models-6SOW23N6.js → models-G4KNLV66.js} +17 -17
- package/dist/{motionShot-B4K6LEU3.js → motionShot-IJGA5CBH.js} +20 -20
- package/dist/{normalize-audio-O6STMACD.js → normalize-audio-UP54N6J4.js} +15 -15
- package/dist/{open-VRCTXBD3.js → open-TAEKCYDB.js} +19 -18
- package/dist/{parakeetRunner-MNOIBRZZ.js → parakeetRunner-WFA4K7BH.js} +14 -14
- package/dist/{pipeline-N3M6VXBC.js → pipeline-SNENB5MZ.js} +12 -12
- package/dist/{play-5WUZGJ4B.js → play-QTYMY453.js} +32 -31
- package/dist/{policies-EERREOZJ.js → policies-EV7XPSQC.js} +2 -2
- package/dist/{preflight-XZZXHV42.js → preflight-CZUKW3CW.js} +10 -10
- package/dist/{present-W7OODR7J.js → present-KVHQECWG.js} +25 -25
- package/dist/{preview-NOQSYZAD.js → preview-6U62DM4P.js} +30 -29
- package/dist/{probe-WFIYEXM5.js → probe-UCVL3JDC.js} +17 -17
- package/dist/{producer-HI6M6755.js → producer-A4RPG3XL.js} +1 -1
- package/dist/{progress-STSH2JRY.js → progress-FWJJMPIQ.js} +2 -2
- package/dist/{projectConfig-PUAOWUNS.js → projectConfig-FIW6FPZW.js} +10 -9
- package/dist/{prompts-ZEVFT7US.js → prompts-27EPTM64.js} +2 -2
- package/dist/{publication-K4XAMUI6.js → publication-CCIGDK2X.js} +4 -4
- package/dist/{publish-7W46NJFT.js → publish-VKSABRA4.js} +26 -22
- package/dist/{refresh-4FQFQ2SW.js → refresh-L5C2HPMC.js} +5 -4
- package/dist/{remove-background-SYHNGASQ.js → remove-background-CJJ54SHA.js} +16 -16
- package/dist/{render-GYQZQB2O.js → render-2YY64XPU.js} +354 -71
- package/dist/{render-74JIGKTN.js → render-G54RA46B.js} +307 -76
- package/dist/{render-EF7Y6YYC.js → render-I2MWX5GH.js} +10 -10
- package/dist/{render-batch-JYYP4RXA.js → render-batch-X562GNRH.js} +13 -13
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-BKFLETMU.js → resolver-GC4ZLQPV.js} +7 -6
- package/dist/{reverse-NEC42AID.js → reverse-2KZQ65Y7.js} +1 -1
- package/dist/{run-Z6AW753F.js → run-65M6ECM2.js} +6 -5
- package/dist/{sherpa-2ROE6TLC.js → sherpa-SLRKS4SR.js} +13 -13
- package/dist/{sites-EAGXQOKI.js → sites-O7A7G3ZQ.js} +2 -2
- package/dist/skills/hyperframes/SKILL.md +3 -1
- package/dist/skills/hyperframes/references/format.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/hyperframes-cli/references/cloud.md +10 -10
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/skills/media-use/SKILL.md +2 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +2 -2
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +2 -2
- package/dist/skills/media-use/references/resolve.md +2 -0
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +1 -1
- package/dist/skills/media-use/scripts/lib/heygen-search.mjs +4 -2
- package/dist/skills/media-use/scripts/lib/match.mjs +17 -0
- package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +20 -2
- package/dist/skills/media-use/scripts/resolve.mjs +52 -9
- package/dist/{skills-R56MSU2Y.js → skills-SOXKW42T.js} +10 -10
- package/dist/{skillsUpdateCheck-I6G3MQWO.js → skillsUpdateCheck-4RUEBT6B.js} +5 -5
- package/dist/{snapshot-J2NU7WTJ.js → snapshot-KIWJWZGW.js} +53 -52
- package/dist/{src-5XQ6A3VE.js → src-ABVBEVVK.js} +13 -13
- package/dist/{src-L7UBHHKB.js → src-DYWF24IK.js} +8 -8
- package/dist/{start-VUMSNLKC.js → start-EADJCDST.js} +55 -32
- package/dist/{staticProjectServer-2JYB7RLI.js → staticProjectServer-UCHJYCR6.js} +25 -24
- package/dist/{status-SUK4I7TS.js → status-E4OUQSHN.js} +68 -9
- package/dist/studio/assets/{hyperframes-player-Dw-0BWQW.js → hyperframes-player-CfYFgHV8.js} +1 -1
- package/dist/studio/assets/{index-BNZeN67E.js → index-COfhX0Gz.js} +4 -4
- package/dist/studio/assets/{index-NwWb1W86.js → index-Cj5x3rVD.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-MEZKFJBY.js → studio-api-RGOTUJXP.js} +14 -14
- package/dist/{studioServer-XGR4YPXX.js → studioServer-72COILB5.js} +76 -69
- package/dist/{sync-ZIMGTQEN.js → sync-5Z5OQFB3.js} +17 -17
- package/dist/{telemetry-WGNNQUSF.js → telemetry-5WZGQCKA.js} +3 -3
- package/dist/{telemetry-PT5KSL5T.js → telemetry-OQ2JM37Y.js} +6 -6
- package/dist/templates/_shared/AGENTS.md +7 -6
- package/dist/templates/_shared/CLAUDE.md +7 -6
- package/dist/{templates-7AT45DZI.js → templates-YH5CUHHN.js} +146 -27
- package/dist/{timeline-IH422KGC.js → timeline-IWU2T2BX.js} +27 -27
- package/dist/{tokens-ZVJMHDTM.js → tokens-F7IBDWGE.js} +5 -5
- package/dist/{transcribe-QIZGXMR5.js → transcribe-GL3J3JB3.js} +12 -12
- package/dist/{transcribe-FRRXA77O.js → transcribe-YXDOCF32.js} +40 -27
- package/dist/{tts-IMW74GBX.js → tts-QRQEYR3Q.js} +4 -4
- package/dist/{update-E2RIAV5T.js → update-MR5NL567.js} +15 -13
- package/dist/{updateCheck-EII7XDIR.js → updateCheck-ONT2ZVAF.js} +4 -4
- package/dist/{upgrade-BKGP2TM7.js → upgrade-BJEGLKQS.js} +7 -7
- package/dist/{urlDownloader-FOXK4FYP.js → urlDownloader-3PV5WURP.js} +8 -8
- package/dist/{validate-M4FZVBRP.js → validate-GTTWJYCS.js} +31 -31
- package/dist/{video-AVEGMBDM.js → video-VP6X6YL5.js} +12 -12
- package/dist/{voices-E5RUGLJK.js → voices-3EO2NQ5Q.js} +40 -20
- package/dist/warmCheck.js +51 -50
- package/package.json +1 -1
- package/dist/chunk-P3KBDUNS.js +0 -29
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2BDSLTEG.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MY2W7VWC.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-L24GJQNZ.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,17 +29,18 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6OSVMSGV.js";
|
|
33
33
|
import {
|
|
34
|
-
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
34
|
+
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
|
+
withRemainingBudget
|
|
35
36
|
} from "./chunk-YGGZ23BB.js";
|
|
36
37
|
import {
|
|
37
38
|
findStageProxyBox
|
|
38
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FC2OXEBQ.js";
|
|
39
40
|
import {
|
|
40
41
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
41
42
|
STUDIO_PREVIEW_MARK_META
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-HVIQQCLM.js";
|
|
43
44
|
import {
|
|
44
45
|
artifactDirectory,
|
|
45
46
|
finishSnapshotRun
|
|
@@ -49,28 +50,196 @@ import {
|
|
|
49
50
|
decideMediaProxyEligibility,
|
|
50
51
|
getProxyCachePath,
|
|
51
52
|
proxyVariantFor,
|
|
53
|
+
proxyWindowSeconds,
|
|
52
54
|
resolveProxies,
|
|
53
55
|
scanProjectMediaCodecMap,
|
|
54
56
|
shouldPrewarmProxy
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
resolveAutoProxy
|
|
58
|
-
} from "./chunk-S2UKSI3C.js";
|
|
57
|
+
} from "./chunk-B6C33MNL.js";
|
|
59
58
|
import {
|
|
60
59
|
BrowserCleanupError,
|
|
61
60
|
closeManagedBrowser,
|
|
62
61
|
onStopSignal
|
|
63
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HZSAOL5O.js";
|
|
63
|
+
import {
|
|
64
|
+
resolveAutoProxy
|
|
65
|
+
} from "./chunk-PA27AW3Y.js";
|
|
64
66
|
import {
|
|
65
67
|
DEFAULT_CONFIG
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
67
69
|
import {
|
|
68
70
|
injectTagsAtHeadStart
|
|
69
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-EAO46VPT.js";
|
|
72
|
+
import {
|
|
73
|
+
parseHTML
|
|
74
|
+
} from "./chunk-GWTIFRF5.js";
|
|
70
75
|
import {
|
|
71
76
|
normalizeErrorMessage
|
|
72
77
|
} from "./chunk-E63BDV4Z.js";
|
|
73
78
|
|
|
79
|
+
// src/utils/checkDeadline.ts
|
|
80
|
+
var CHECK_IDLE_MS = 12e4;
|
|
81
|
+
var idleWindow = (timeoutMs) => Math.max(CHECK_IDLE_MS, timeoutMs + 1e4);
|
|
82
|
+
var SCRIPT_START = "[hyperframes:script:start] ";
|
|
83
|
+
var SCRIPT_FINISH = "[hyperframes:script:finish] ";
|
|
84
|
+
var PHASE_LABELS = {
|
|
85
|
+
copies: "making video copies",
|
|
86
|
+
launch: "starting Chrome",
|
|
87
|
+
load: "loading the page",
|
|
88
|
+
settle: "waiting for the page to be ready",
|
|
89
|
+
samples: "checking samples",
|
|
90
|
+
analysis: "analyzing the samples",
|
|
91
|
+
overlap: "running the overlap pass",
|
|
92
|
+
crops: "capturing finding crops",
|
|
93
|
+
frames: "capturing finding frames"
|
|
94
|
+
};
|
|
95
|
+
var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
|
|
96
|
+
var CheckDeadlineError = class extends Error {
|
|
97
|
+
constructor(sourceFile, phases = "") {
|
|
98
|
+
super(
|
|
99
|
+
(sourceFile === void 0 ? "Check did not finish within its deadline" : `${sourceFile}: its script did not finish within the check deadline`) + (phases || ".")
|
|
100
|
+
);
|
|
101
|
+
this.sourceFile = sourceFile;
|
|
102
|
+
}
|
|
103
|
+
sourceFile;
|
|
104
|
+
};
|
|
105
|
+
var COPY_BUDGET_MS = 12e4;
|
|
106
|
+
var CheckCopiesUnfinishedError = class extends Error {
|
|
107
|
+
constructor(budgetMs, unfinished) {
|
|
108
|
+
super(
|
|
109
|
+
`Making browser-playable video copies took longer than ${budgetMs / 1e3} s: ${unfinished.join(", ")}. Finished pieces are kept. Run \`hyperframes check --prepare-media\` (no time limit) to finish them, then run check again.`
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
var CheckStoppedError = class extends Error {
|
|
114
|
+
constructor(signal) {
|
|
115
|
+
super(`Check stopped before finishing (${signal}).`);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
var CheckDeadline = class {
|
|
119
|
+
constructor(idleMs = CHECK_IDLE_MS) {
|
|
120
|
+
this.idleMs = idleMs;
|
|
121
|
+
this.expiry = new Promise((_, reject) => {
|
|
122
|
+
this.rejectExpiry = reject;
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
idleMs;
|
|
126
|
+
abort = new AbortController();
|
|
127
|
+
operations = /* @__PURE__ */ new Set();
|
|
128
|
+
signal = this.abort.signal;
|
|
129
|
+
browsers = /* @__PURE__ */ new Set();
|
|
130
|
+
scripts = [];
|
|
131
|
+
expired;
|
|
132
|
+
timer;
|
|
133
|
+
expiry;
|
|
134
|
+
rejectExpiry;
|
|
135
|
+
phase = "waiting";
|
|
136
|
+
work;
|
|
137
|
+
spent = /* @__PURE__ */ new Map();
|
|
138
|
+
partials = [];
|
|
139
|
+
keepPartial = (read) => {
|
|
140
|
+
this.partials.push(read);
|
|
141
|
+
};
|
|
142
|
+
partialResult() {
|
|
143
|
+
return Object.assign({}, ...this.partials.map((read) => read()));
|
|
144
|
+
}
|
|
145
|
+
enter = (phase, detail) => {
|
|
146
|
+
if (this.expired) return;
|
|
147
|
+
const now = Date.now();
|
|
148
|
+
if (this.work) this.spend(this.work.phase, now - this.work.since);
|
|
149
|
+
this.work = { phase, since: now, detail };
|
|
150
|
+
this.spend(phase, 0);
|
|
151
|
+
this.rearm();
|
|
152
|
+
};
|
|
153
|
+
spend(phase, ms) {
|
|
154
|
+
this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
|
|
155
|
+
}
|
|
156
|
+
describe() {
|
|
157
|
+
if (!this.work) return "";
|
|
158
|
+
const open = Date.now() - this.work.since;
|
|
159
|
+
const parts = [...this.spent].map(([phase, ms]) => {
|
|
160
|
+
const seconds = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
|
|
161
|
+
return `${PHASE_LABELS[phase]} ${seconds}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
|
|
162
|
+
});
|
|
163
|
+
return ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
|
|
164
|
+
}
|
|
165
|
+
start = () => {
|
|
166
|
+
if (this.phase !== "waiting") return;
|
|
167
|
+
this.phase = "started";
|
|
168
|
+
this.enter("load");
|
|
169
|
+
};
|
|
170
|
+
rearm() {
|
|
171
|
+
if (this.phase !== "started" || this.expired) return;
|
|
172
|
+
clearTimeout(this.timer);
|
|
173
|
+
this.timer = setTimeout(
|
|
174
|
+
() => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
|
|
175
|
+
this.idleMs
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
expire(error) {
|
|
179
|
+
clearTimeout(this.timer);
|
|
180
|
+
this.expired = error;
|
|
181
|
+
this.rejectExpiry(error);
|
|
182
|
+
this.abort.abort(error);
|
|
183
|
+
}
|
|
184
|
+
stop = (signal) => {
|
|
185
|
+
if (this.expired || this.phase === "closed") return;
|
|
186
|
+
this.expire(new CheckStoppedError(signal));
|
|
187
|
+
};
|
|
188
|
+
ownBrowser = (browser) => {
|
|
189
|
+
if (this.expired) throw this.expired;
|
|
190
|
+
if (this.phase === "closed") throw new Error("Check has already finished.");
|
|
191
|
+
this.browsers.add(browser);
|
|
192
|
+
};
|
|
193
|
+
async preparePage(page) {
|
|
194
|
+
page.on("console", (message) => {
|
|
195
|
+
const text = message.text();
|
|
196
|
+
if (text.startsWith(SCRIPT_START)) this.scripts.push(text.slice(SCRIPT_START.length));
|
|
197
|
+
if (text.startsWith(SCRIPT_FINISH)) {
|
|
198
|
+
const index = this.scripts.lastIndexOf(text.slice(SCRIPT_FINISH.length));
|
|
199
|
+
if (index !== -1) this.scripts.splice(index, 1);
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
await page.evaluateOnNewDocument(
|
|
203
|
+
(start, finish) => {
|
|
204
|
+
Reflect.set(window, "__hfScriptState", (phase, source) => {
|
|
205
|
+
console.debug((phase === "start" ? start : finish) + source);
|
|
206
|
+
});
|
|
207
|
+
},
|
|
208
|
+
SCRIPT_START,
|
|
209
|
+
SCRIPT_FINISH
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
run(operation) {
|
|
213
|
+
if (this.expired) return Promise.reject(this.expired);
|
|
214
|
+
const pending = operation();
|
|
215
|
+
this.operations.add(pending);
|
|
216
|
+
const settled = () => this.rearm();
|
|
217
|
+
pending.then(settled, settled);
|
|
218
|
+
return Promise.race([pending, this.expiry]);
|
|
219
|
+
}
|
|
220
|
+
async close() {
|
|
221
|
+
this.phase = "closed";
|
|
222
|
+
clearTimeout(this.timer);
|
|
223
|
+
const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
|
|
224
|
+
const errors = closes.filter((entry) => entry.status === "rejected").map((entry) => entry.reason);
|
|
225
|
+
try {
|
|
226
|
+
const drained = await withRemainingBudget(
|
|
227
|
+
Promise.allSettled(this.operations),
|
|
228
|
+
1e3,
|
|
229
|
+
"draining check cleanup"
|
|
230
|
+
);
|
|
231
|
+
for (const entry of drained) {
|
|
232
|
+
if (entry.status === "rejected" && entry.reason instanceof BrowserCleanupError)
|
|
233
|
+
errors.push(entry.reason);
|
|
234
|
+
}
|
|
235
|
+
} catch (error) {
|
|
236
|
+
errors.push(error);
|
|
237
|
+
}
|
|
238
|
+
if (errors.length > 0)
|
|
239
|
+
throw new BrowserCleanupError(errors, errors.map(normalizeErrorMessage).join("; "));
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
|
|
74
243
|
// src/utils/checkProgress.ts
|
|
75
244
|
function logCheckProgress(stage, done, total) {
|
|
76
245
|
console.error(`[hyperframes] check: ${stage} ${done}/${total}`);
|
|
@@ -456,6 +625,46 @@ function readContrastMotion() {
|
|
|
456
625
|
);
|
|
457
626
|
}
|
|
458
627
|
|
|
628
|
+
// src/utils/mediaUsedSeconds.ts
|
|
629
|
+
var number = (value) => {
|
|
630
|
+
const parsed = Number(value);
|
|
631
|
+
return value !== null && value !== void 0 && value.trim() !== "" && Number.isFinite(parsed) ? parsed : void 0;
|
|
632
|
+
};
|
|
633
|
+
function pathnameOf(src) {
|
|
634
|
+
const bare = src.replace(/[?#].*$/, "").replace(/^\.\//, "").replace(/^\/+/, "");
|
|
635
|
+
try {
|
|
636
|
+
return `/${decodeURIComponent(bare)}`;
|
|
637
|
+
} catch {
|
|
638
|
+
return `/${bare}`;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
function plannedDuration(video) {
|
|
642
|
+
for (let node = video; node; node = node.parentElement) {
|
|
643
|
+
const duration = number(node.getAttribute("data-duration"));
|
|
644
|
+
if (duration !== void 0) return duration;
|
|
645
|
+
}
|
|
646
|
+
return void 0;
|
|
647
|
+
}
|
|
648
|
+
function mediaUsedSeconds(html) {
|
|
649
|
+
const { document: document2 } = parseHTML(html);
|
|
650
|
+
const used = /* @__PURE__ */ new Map();
|
|
651
|
+
const whole = /* @__PURE__ */ new Set();
|
|
652
|
+
for (const element of document2.querySelectorAll("[src]")) {
|
|
653
|
+
const pathname = pathnameOf(element.getAttribute("src") ?? "");
|
|
654
|
+
const video = element.tagName === "VIDEO" ? element : null;
|
|
655
|
+
const duration = video ? plannedDuration(video) : void 0;
|
|
656
|
+
if (!video || duration === void 0 || video.hasAttribute("loop")) {
|
|
657
|
+
whole.add(pathname);
|
|
658
|
+
continue;
|
|
659
|
+
}
|
|
660
|
+
const rate = Math.max(1, number(video.getAttribute("data-playback-rate")) ?? 1);
|
|
661
|
+
const offset = (number(video.getAttribute("data-media-start")) ?? 0) + (number(video.getAttribute("data-playback-start")) ?? 0);
|
|
662
|
+
used.set(pathname, Math.max(used.get(pathname) ?? 0, offset + duration * rate));
|
|
663
|
+
}
|
|
664
|
+
for (const pathname of whole) used.delete(pathname);
|
|
665
|
+
return used;
|
|
666
|
+
}
|
|
667
|
+
|
|
459
668
|
// src/utils/checkTypes.ts
|
|
460
669
|
function rectToBbox(rect) {
|
|
461
670
|
return { x: rect.left, y: rect.top, width: rect.width, height: rect.height };
|
|
@@ -471,6 +680,7 @@ function elapsedText(ms) {
|
|
|
471
680
|
function startCopyHeartbeat(sources, cached) {
|
|
472
681
|
const startedAt = Date.now();
|
|
473
682
|
const latest = /* @__PURE__ */ new Map();
|
|
683
|
+
const last = /* @__PURE__ */ new Map();
|
|
474
684
|
const total = cached.filter((isCached) => !isCached).length;
|
|
475
685
|
let finished = 0;
|
|
476
686
|
const timer = setInterval(() => {
|
|
@@ -484,7 +694,14 @@ function startCopyHeartbeat(sources, cached) {
|
|
|
484
694
|
}, COPY_HEARTBEAT_MS);
|
|
485
695
|
timer.unref();
|
|
486
696
|
return {
|
|
487
|
-
progress: (index, progress) =>
|
|
697
|
+
progress: (index, progress) => {
|
|
698
|
+
latest.set(index, progress);
|
|
699
|
+
last.set(index, progress);
|
|
700
|
+
},
|
|
701
|
+
percent: (index) => {
|
|
702
|
+
const { doneSeconds = 0, totalSeconds } = last.get(index) ?? {};
|
|
703
|
+
return totalSeconds ? `${Math.min(100, Math.floor(doneSeconds / totalSeconds * 100))}%` : "not started";
|
|
704
|
+
},
|
|
488
705
|
settled: (index) => {
|
|
489
706
|
latest.delete(index);
|
|
490
707
|
if (!cached[index]) finished += 1;
|
|
@@ -492,8 +709,27 @@ function startCopyHeartbeat(sources, cached) {
|
|
|
492
709
|
stop: () => clearInterval(timer)
|
|
493
710
|
};
|
|
494
711
|
}
|
|
495
|
-
async function
|
|
496
|
-
const
|
|
712
|
+
async function copyWindows(projectDir, html, pathnames) {
|
|
713
|
+
const used = mediaUsedSeconds(html);
|
|
714
|
+
const windows = /* @__PURE__ */ new Map();
|
|
715
|
+
await Promise.all(
|
|
716
|
+
[...pathnames].map(async (pathname) => {
|
|
717
|
+
const seconds = used.get(pathname);
|
|
718
|
+
if (seconds === void 0) return;
|
|
719
|
+
const sourcePath = resolve2(projectDir, pathname.replace(/^\/+/, ""));
|
|
720
|
+
const window2 = await proxyWindowSeconds(sourcePath, seconds);
|
|
721
|
+
if (window2 !== void 0) windows.set(sourcePath, window2);
|
|
722
|
+
})
|
|
723
|
+
);
|
|
724
|
+
return windows;
|
|
725
|
+
}
|
|
726
|
+
async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride, budgetMs) {
|
|
727
|
+
const none = {
|
|
728
|
+
findings: [],
|
|
729
|
+
failedPaths: /* @__PURE__ */ new Set(),
|
|
730
|
+
files: [],
|
|
731
|
+
limits: /* @__PURE__ */ new Map()
|
|
732
|
+
};
|
|
497
733
|
if (!resolveAutoProxy(projectDir, autoProxyOverride)) return none;
|
|
498
734
|
let codecMap;
|
|
499
735
|
try {
|
|
@@ -520,6 +756,12 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
520
756
|
box: stageBox
|
|
521
757
|
};
|
|
522
758
|
});
|
|
759
|
+
const windows = mediaUsedSeconds(html).size > 0 ? await copyWindows(
|
|
760
|
+
projectDir,
|
|
761
|
+
html,
|
|
762
|
+
sources.map(({ pathname }) => pathname)
|
|
763
|
+
) : /* @__PURE__ */ new Map();
|
|
764
|
+
for (const source of sources) source.limitSeconds = windows.get(source.sourcePath);
|
|
523
765
|
const total = hostileEntries.length;
|
|
524
766
|
const cached = sources.map((source) => proxyCached(projectDir, source));
|
|
525
767
|
const toMake = cached.filter((isCached) => !isCached).length;
|
|
@@ -532,6 +774,11 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
532
774
|
const heartbeat = startCopyHeartbeat(sources, cached);
|
|
533
775
|
const stopped = new AbortController();
|
|
534
776
|
const forgetStop = onStopSignal(() => stopped.abort());
|
|
777
|
+
let overBudget;
|
|
778
|
+
const budget = budgetMs === void 0 ? void 0 : setTimeout(() => {
|
|
779
|
+
overBudget = budgetMs;
|
|
780
|
+
stopped.abort();
|
|
781
|
+
}, budgetMs);
|
|
535
782
|
const results = await resolveProxies(
|
|
536
783
|
projectDir,
|
|
537
784
|
sources,
|
|
@@ -545,7 +792,14 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
545
792
|
).finally(() => {
|
|
546
793
|
heartbeat.stop();
|
|
547
794
|
forgetStop();
|
|
795
|
+
clearTimeout(budget);
|
|
548
796
|
});
|
|
797
|
+
const unfinished = sources.flatMap(
|
|
798
|
+
({ file }, index) => results[index].status === "rejected" ? [`${file} ${heartbeat.percent(index)}`] : []
|
|
799
|
+
);
|
|
800
|
+
if (overBudget !== void 0 && unfinished.length > 0) {
|
|
801
|
+
throw new CheckCopiesUnfinishedError(overBudget, unfinished);
|
|
802
|
+
}
|
|
549
803
|
const failures = sources.flatMap((source, index) => {
|
|
550
804
|
const result = results[index];
|
|
551
805
|
return result.status === "rejected" ? [{ ...source, reason: result.reason }] : [];
|
|
@@ -573,11 +827,24 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
573
827
|
}
|
|
574
828
|
return { file, state: cached[index] ? "cached" : "ready" };
|
|
575
829
|
});
|
|
576
|
-
return {
|
|
830
|
+
return {
|
|
831
|
+
findings,
|
|
832
|
+
failedPaths: new Set(failures.map(({ pathname }) => pathname)),
|
|
833
|
+
files,
|
|
834
|
+
limits: windows
|
|
835
|
+
};
|
|
577
836
|
}
|
|
578
837
|
function proxyCached(projectDir, source) {
|
|
579
838
|
try {
|
|
580
|
-
return existsSync(
|
|
839
|
+
return existsSync(
|
|
840
|
+
getProxyCachePath(
|
|
841
|
+
projectDir,
|
|
842
|
+
source.sourcePath,
|
|
843
|
+
source.variant,
|
|
844
|
+
source.box,
|
|
845
|
+
source.limitSeconds
|
|
846
|
+
)
|
|
847
|
+
);
|
|
581
848
|
} catch {
|
|
582
849
|
return false;
|
|
583
850
|
}
|
|
@@ -586,7 +853,7 @@ function proxyFailedDraft(message) {
|
|
|
586
853
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
587
854
|
}
|
|
588
855
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
589
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
856
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z6KCDBP2.js");
|
|
590
857
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
591
858
|
}
|
|
592
859
|
function withCapturePreviewMark(html) {
|
|
@@ -598,18 +865,19 @@ function withCapturePreviewMark(html) {
|
|
|
598
865
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
599
866
|
const html = await loadCheckHtmlWithDeferredMedia(project.dir);
|
|
600
867
|
deadline?.enter("copies");
|
|
601
|
-
const {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
);
|
|
868
|
+
const {
|
|
869
|
+
findings: drafts,
|
|
870
|
+
failedPaths,
|
|
871
|
+
limits
|
|
872
|
+
} = await preResolveHostileMediaProxies(project.dir, html, options.autoProxy, COPY_BUDGET_MS);
|
|
606
873
|
deadline?.enter("launch");
|
|
607
874
|
const server = await serveStaticProjectHtml(
|
|
608
875
|
project.dir,
|
|
609
876
|
html,
|
|
610
877
|
"Failed to bind check server",
|
|
611
878
|
[],
|
|
612
|
-
options.autoProxy
|
|
879
|
+
options.autoProxy,
|
|
880
|
+
limits
|
|
613
881
|
);
|
|
614
882
|
const clock = createRuntimeClock();
|
|
615
883
|
let failure = { kind: "none" };
|
|
@@ -648,7 +916,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
648
916
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
649
917
|
}));
|
|
650
918
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
651
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
919
|
+
const { analyzeClipMediaFit } = await import("./src-DYWF24IK.js");
|
|
652
920
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
653
921
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
654
922
|
}
|
|
@@ -789,7 +1057,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
789
1057
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
790
1058
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
791
1059
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
792
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1060
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z6KCDBP2.js");
|
|
793
1061
|
return withCapturePreviewMark(
|
|
794
1062
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
795
1063
|
);
|
|
@@ -831,7 +1099,8 @@ async function withFindingCapturePage(project, options, deadline, what, capture,
|
|
|
831
1099
|
html,
|
|
832
1100
|
"Failed to bind check server",
|
|
833
1101
|
[],
|
|
834
|
-
options.autoProxy
|
|
1102
|
+
options.autoProxy,
|
|
1103
|
+
await copyWindows(project.dir, html, mediaUsedSeconds(html).keys())
|
|
835
1104
|
);
|
|
836
1105
|
let chromeBrowser;
|
|
837
1106
|
let failure = { kind: "none" };
|
|
@@ -2090,6 +2359,11 @@ function matchComponentFindings({
|
|
|
2090
2359
|
}
|
|
2091
2360
|
|
|
2092
2361
|
export {
|
|
2362
|
+
idleWindow,
|
|
2363
|
+
CheckDeadlineError,
|
|
2364
|
+
CheckCopiesUnfinishedError,
|
|
2365
|
+
CheckStoppedError,
|
|
2366
|
+
CheckDeadline,
|
|
2093
2367
|
beginCheckSnapshots,
|
|
2094
2368
|
checkSnapshotDirectory,
|
|
2095
2369
|
finishCheckSnapshots,
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DVJUBMS7.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-T4FLVFQE.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|