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
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
warnUnknownEnumValues,
|
|
59
59
|
wrapInlineScriptWithErrorBoundary,
|
|
60
60
|
wrapScopedCompositionScript
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EAO46VPT.js";
|
|
62
62
|
import {
|
|
63
63
|
cssVariableName
|
|
64
64
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
collectExternalStyles,
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-CZ5NNJ6H.js";
|
|
73
73
|
import {
|
|
74
74
|
readTextFile
|
|
75
75
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
rewriteInlineStyleAssetUrls,
|
|
89
89
|
rewriteSrcsetUrls,
|
|
90
90
|
splitUrlSuffix
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-OHQRQE7F.js";
|
|
92
92
|
import {
|
|
93
93
|
parseHTML
|
|
94
94
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
q,
|
|
12
12
|
spinner,
|
|
13
13
|
ye
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LISUH6KH.js";
|
|
15
15
|
import {
|
|
16
16
|
defineCommand
|
|
17
17
|
} from "./chunk-DL4OD7IA.js";
|
|
18
18
|
import {
|
|
19
19
|
c
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HOCC4J5C.js";
|
|
21
21
|
import {
|
|
22
22
|
NO_UPDATE_NOTICE,
|
|
23
23
|
checkForUpdate,
|
|
@@ -27,16 +27,16 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
31
31
|
import {
|
|
32
32
|
setCommandExitCode
|
|
33
33
|
} from "./chunk-66W5IWLO.js";
|
|
34
34
|
import {
|
|
35
35
|
isUnattended
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FYZFURBN.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FQFWGAON.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readMediaOffsetSeconds
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OHQRQE7F.js";
|
|
10
10
|
|
|
11
11
|
// ../core/dist/mediaLink.js
|
|
12
12
|
var MEDIA_LINK_ATTR = "data-link";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M3JU24AI.js";
|
|
10
10
|
import {
|
|
11
11
|
cssVariableName,
|
|
12
12
|
slugify
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-6HROTYLC.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -12,30 +12,30 @@ import {
|
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DTU4XJNP.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FC2OXEBQ.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HZSAOL5O.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WAH2X7FF.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HOCC4J5C.js";
|
|
34
34
|
import {
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-DYWF24IK.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-UCHJYCR6.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-DYWF24IK.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-SAXHANEY.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-DYWF24IK.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6FOO4QTU.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-OQ2JM37Y.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-EAO46VPT.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-WE42NVH7.js";
|
|
104
104
|
import {
|
|
105
105
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-CZ5NNJ6H.js";
|
|
107
107
|
import {
|
|
108
108
|
isWithinProjectRoot,
|
|
109
109
|
resolveProjectRelativeSrc
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
} from "./chunk-HYRPH6LL.js";
|
|
116
116
|
import {
|
|
117
117
|
isPathInside
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-OHQRQE7F.js";
|
|
119
119
|
import {
|
|
120
120
|
parseHTML
|
|
121
121
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -2653,7 +2653,8 @@ async function produceDrawElementFrameBatch(page, times, width, height, quality
|
|
|
2653
2653
|
try {
|
|
2654
2654
|
if (aw.__hf && typeof aw.__hf.seek === "function") aw.__hf.seek(t);
|
|
2655
2655
|
await aw.__hfWaitForSeekCompletion?.();
|
|
2656
|
-
await aw.__hfDecodeDynamicCssBackgroundImages?.();
|
|
2656
|
+
const late = await aw.__hfDecodeDynamicCssBackgroundImages?.();
|
|
2657
|
+
if (late?.length) (aw.__hf_css_background_late ??= []).push(...late);
|
|
2657
2658
|
aw.__hf3d?.update();
|
|
2658
2659
|
const accel = (aw.__hf_accel_canvases ?? []).filter((c) => root.contains(c));
|
|
2659
2660
|
for (const c of accel) {
|
|
@@ -2764,7 +2765,11 @@ async function produceDrawElementFrameBatch(page, times, width, height, quality
|
|
|
2764
2765
|
}
|
|
2765
2766
|
}
|
|
2766
2767
|
}
|
|
2767
|
-
|
|
2768
|
+
const lateBackgrounds = await page.evaluate(() => {
|
|
2769
|
+
const w = window;
|
|
2770
|
+
return w.__hf_css_background_late?.splice(0) ?? [];
|
|
2771
|
+
});
|
|
2772
|
+
return { encodeResults, failedAt: outcome.failedAt, error: outcome.error, lateBackgrounds };
|
|
2768
2773
|
}
|
|
2769
2774
|
|
|
2770
2775
|
// ../engine/src/services/frameCapture.ts
|
|
@@ -5095,6 +5100,21 @@ async function scanChunk(page, times) {
|
|
|
5095
5100
|
return out;
|
|
5096
5101
|
}, times);
|
|
5097
5102
|
}
|
|
5103
|
+
function withinBudget(work, ms) {
|
|
5104
|
+
return new Promise((resolve2, reject) => {
|
|
5105
|
+
const timer = setTimeout(() => resolve2(null), Math.max(0, ms));
|
|
5106
|
+
work.then(
|
|
5107
|
+
(value) => {
|
|
5108
|
+
clearTimeout(timer);
|
|
5109
|
+
resolve2(value);
|
|
5110
|
+
},
|
|
5111
|
+
(error) => {
|
|
5112
|
+
clearTimeout(timer);
|
|
5113
|
+
reject(error);
|
|
5114
|
+
}
|
|
5115
|
+
);
|
|
5116
|
+
});
|
|
5117
|
+
}
|
|
5098
5118
|
async function scanCssEffectLiveFrames(page, fps, totalFrames, maxFrames, { budgetMs = SCAN_BUDGET_MS, now = () => performance.now(), onProgress } = {}) {
|
|
5099
5119
|
const live = /* @__PURE__ */ new Set();
|
|
5100
5120
|
const started = now();
|
|
@@ -5102,7 +5122,14 @@ async function scanCssEffectLiveFrames(page, fps, totalFrames, maxFrames, { budg
|
|
|
5102
5122
|
const to = Math.min(totalFrames, from + SCAN_CHUNK_FRAMES);
|
|
5103
5123
|
const times = [];
|
|
5104
5124
|
for (let f = from; f < to; f++) times.push(quantizeTimeToFrame(f / fps, fps));
|
|
5105
|
-
|
|
5125
|
+
const shown = await withinBudget(scanChunk(page, times), budgetMs - (now() - started));
|
|
5126
|
+
if (!shown) {
|
|
5127
|
+
console.error(
|
|
5128
|
+
`[engine] fast capture: the effect scan got no answer from the page within its ${budgetMs / 1e3} s budget (frames ${from}-${to - 1})`
|
|
5129
|
+
);
|
|
5130
|
+
return null;
|
|
5131
|
+
}
|
|
5132
|
+
for (const i of shown) live.add(from + i);
|
|
5106
5133
|
onProgress?.(to, totalFrames);
|
|
5107
5134
|
const projectedMs = (now() - started) / to * totalFrames;
|
|
5108
5135
|
if (to < totalFrames && projectedMs > budgetMs) {
|
|
@@ -5570,11 +5597,14 @@ function getDrawElementVerificationDetails(err) {
|
|
|
5570
5597
|
}
|
|
5571
5598
|
return void 0;
|
|
5572
5599
|
}
|
|
5600
|
+
var BACKGROUND_DECODE_TIMEOUT_MS = 15e3;
|
|
5573
5601
|
async function decodeDynamicCssBackgroundImages(page) {
|
|
5574
|
-
|
|
5602
|
+
return page.evaluate(async (timeoutMs) => {
|
|
5575
5603
|
const root = globalThis;
|
|
5576
5604
|
const decode = root.__hfDecodeDynamicCssBackgroundImages ??= async () => {
|
|
5605
|
+
const limitMs = root.__hf_css_background_timeout_ms ?? 0;
|
|
5577
5606
|
const decoded = root.__hf_css_background_decoded ??= /* @__PURE__ */ new Set();
|
|
5607
|
+
const timedOut = root.__hf_css_background_timed_out ??= /* @__PURE__ */ new Set();
|
|
5578
5608
|
const urls = [];
|
|
5579
5609
|
const parseBackgroundUrls = (value) => {
|
|
5580
5610
|
const found = [];
|
|
@@ -5619,23 +5649,39 @@ async function decodeDynamicCssBackgroundImages(page) {
|
|
|
5619
5649
|
const backgroundImage = element.style.backgroundImage;
|
|
5620
5650
|
if (!backgroundImage || backgroundImage === "none") continue;
|
|
5621
5651
|
for (const url of parseBackgroundUrls(backgroundImage)) {
|
|
5622
|
-
if (!decoded.has(url)) urls.push(url);
|
|
5652
|
+
if (!decoded.has(url) && !timedOut.has(url)) urls.push(url);
|
|
5623
5653
|
}
|
|
5624
5654
|
}
|
|
5655
|
+
const late = [];
|
|
5625
5656
|
await Promise.all(
|
|
5626
5657
|
[...new Set(urls)].map(async (url) => {
|
|
5627
5658
|
const image = new Image();
|
|
5628
5659
|
image.src = url;
|
|
5660
|
+
let timer;
|
|
5661
|
+
const expired = new Promise((resolve2) => {
|
|
5662
|
+
timer = setTimeout(() => resolve2("late"), limitMs);
|
|
5663
|
+
});
|
|
5629
5664
|
try {
|
|
5630
|
-
await
|
|
5631
|
-
|
|
5665
|
+
const outcome = await Promise.race([
|
|
5666
|
+
image.decode().then(() => "ready"),
|
|
5667
|
+
expired
|
|
5668
|
+
]);
|
|
5669
|
+
if (outcome === "ready") decoded.add(url);
|
|
5670
|
+
else {
|
|
5671
|
+
timedOut.add(url);
|
|
5672
|
+
late.push(url);
|
|
5673
|
+
}
|
|
5632
5674
|
} catch {
|
|
5675
|
+
} finally {
|
|
5676
|
+
clearTimeout(timer);
|
|
5633
5677
|
}
|
|
5634
5678
|
})
|
|
5635
5679
|
);
|
|
5680
|
+
return late;
|
|
5636
5681
|
};
|
|
5637
|
-
|
|
5638
|
-
|
|
5682
|
+
root.__hf_css_background_timeout_ms = timeoutMs;
|
|
5683
|
+
return decode();
|
|
5684
|
+
}, BACKGROUND_DECODE_TIMEOUT_MS);
|
|
5639
5685
|
}
|
|
5640
5686
|
var BROWSER_CONSOLE_BUFFER_SIZE = 200;
|
|
5641
5687
|
var CAPTURE_SESSION_CLOSE_TIMEOUT_MS = 5e3;
|
|
@@ -5691,14 +5737,6 @@ function sanitizeDiagnosticUrl(input) {
|
|
|
5691
5737
|
if (!input) return "(empty)";
|
|
5692
5738
|
if (input.startsWith("data:")) return "data:<redacted>";
|
|
5693
5739
|
if (input.startsWith("blob:")) return "blob:<redacted>";
|
|
5694
|
-
if (input.startsWith("/")) {
|
|
5695
|
-
try {
|
|
5696
|
-
const url = new URL(input, "http://hyperframes.local");
|
|
5697
|
-
return url.pathname;
|
|
5698
|
-
} catch {
|
|
5699
|
-
return input;
|
|
5700
|
-
}
|
|
5701
|
-
}
|
|
5702
5740
|
try {
|
|
5703
5741
|
const url = new URL(input);
|
|
5704
5742
|
url.username = "";
|
|
@@ -5707,7 +5745,11 @@ function sanitizeDiagnosticUrl(input) {
|
|
|
5707
5745
|
url.hash = "";
|
|
5708
5746
|
return url.toString();
|
|
5709
5747
|
} catch {
|
|
5710
|
-
|
|
5748
|
+
try {
|
|
5749
|
+
return new URL(input, "http://hyperframes.local").pathname;
|
|
5750
|
+
} catch {
|
|
5751
|
+
return input.split(/[?#]/, 1)[0] ?? "";
|
|
5752
|
+
}
|
|
5711
5753
|
}
|
|
5712
5754
|
}
|
|
5713
5755
|
function formatNavigationFailureDiagnostic(input) {
|
|
@@ -6058,7 +6100,7 @@ async function renderFrameCount(session, page) {
|
|
|
6058
6100
|
}
|
|
6059
6101
|
async function finalizeDrawElementInit(session, page, logInitPhase, opts) {
|
|
6060
6102
|
const { transparent, forceDE } = opts;
|
|
6061
|
-
await decodeDynamicCssBackgroundImages(page);
|
|
6103
|
+
recordBackgroundDecodeTimeouts(session, await decodeDynamicCssBackgroundImages(page));
|
|
6062
6104
|
{
|
|
6063
6105
|
const verifyStart = Date.now();
|
|
6064
6106
|
await captureDeVerificationFrames(session, page, logInitPhase);
|
|
@@ -6747,6 +6789,23 @@ function recordCaptureWarnings(session, warnings) {
|
|
|
6747
6789
|
console.warn(`[FrameCapture:${warning.code}] ${warning.message}`, warning.details ?? {});
|
|
6748
6790
|
}
|
|
6749
6791
|
}
|
|
6792
|
+
function recordBackgroundDecodeTimeouts(session, urls) {
|
|
6793
|
+
if (!urls?.length) return;
|
|
6794
|
+
const sources = [...new Set(urls.map(sanitizeDiagnosticUrl))].sort();
|
|
6795
|
+
for (const source of sources) {
|
|
6796
|
+
appendBrowserDiagnostic(
|
|
6797
|
+
session,
|
|
6798
|
+
`[FrameCapture] background image still decoding after ${BACKGROUND_DECODE_TIMEOUT_MS}ms, captured without it: ${source}`
|
|
6799
|
+
);
|
|
6800
|
+
}
|
|
6801
|
+
recordCaptureWarnings(session, [
|
|
6802
|
+
{
|
|
6803
|
+
code: "media_readiness_timeout",
|
|
6804
|
+
message: `image media did not finish decoding within ${BACKGROUND_DECODE_TIMEOUT_MS}ms`,
|
|
6805
|
+
details: { mediaType: "image", sources, timeoutMs: BACKGROUND_DECODE_TIMEOUT_MS }
|
|
6806
|
+
}
|
|
6807
|
+
]);
|
|
6808
|
+
}
|
|
6750
6809
|
function recordSubTimelineWarning(session, timeoutMs) {
|
|
6751
6810
|
const outcome = session.subTimelineWaitOutcome;
|
|
6752
6811
|
if (outcome === "ready" || !outcome) return;
|
|
@@ -7306,7 +7365,7 @@ async function prepareFrameForCapture(session, frameIndex, time, seekOptions, he
|
|
|
7306
7365
|
session.captureStep = "seeking the timeline";
|
|
7307
7366
|
const hasPendingComposite = await seekPageTimeline(page, quantizedTime, seekOptions);
|
|
7308
7367
|
session.captureStep = "decoding CSS background images";
|
|
7309
|
-
await decodeDynamicCssBackgroundImages(page);
|
|
7368
|
+
recordBackgroundDecodeTimeouts(session, await decodeDynamicCssBackgroundImages(page));
|
|
7310
7369
|
const seekMs = Date.now() - seekStart;
|
|
7311
7370
|
const beforeCaptureStart = Date.now();
|
|
7312
7371
|
if (session.onBeforeCapture) {
|
|
@@ -8374,13 +8433,14 @@ async function captureFramesBatchPipelined(session, frameIndices, times) {
|
|
|
8374
8433
|
const fps = fpsToNumber(options.fps);
|
|
8375
8434
|
const quantized = times.map((t) => quantizeTimeToFrame(t, fps));
|
|
8376
8435
|
session.captureStep = "capturing the frame";
|
|
8377
|
-
const { encodeResults, failedAt, error } = await produceDrawElementFrameBatch(
|
|
8436
|
+
const { encodeResults, failedAt, error, lateBackgrounds } = await produceDrawElementFrameBatch(
|
|
8378
8437
|
page,
|
|
8379
8438
|
quantized,
|
|
8380
8439
|
options.width,
|
|
8381
8440
|
options.height,
|
|
8382
8441
|
options.quality ?? 80
|
|
8383
8442
|
);
|
|
8443
|
+
recordBackgroundDecodeTimeouts(session, lateBackgrounds);
|
|
8384
8444
|
for (const result of encodeResults) void result.catch(() => {
|
|
8385
8445
|
});
|
|
8386
8446
|
const okCount = failedAt === null ? frameIndices.length : failedAt;
|
|
@@ -13272,6 +13332,7 @@ function ffmpegReasonFrom(stderr, paths) {
|
|
|
13272
13332
|
text = text.split(known).join("<path>");
|
|
13273
13333
|
return text.replace(/[a-z][a-z\d+.-]*:\/\/[^\s'"]+/gi, "<url>").replace(/(?:[a-z]:)?(?:[\\/][^\s\\/:'"]+){2,}/gi, "<path>").split(/\r?\n/).map((line) => line.trim()).filter(Boolean).slice(-FFMPEG_REASON_LINES).join(" | ").slice(-FFMPEG_REASON_CHARS);
|
|
13274
13334
|
}
|
|
13335
|
+
var DISK_FULL = /no space left on device|disk quota exceeded/i;
|
|
13275
13336
|
function isVideoSourceExtractionError(error) {
|
|
13276
13337
|
return typeof error === "object" && error !== null && "hyperframesVideoSourceExtractionError" in error && error.hyperframesVideoSourceExtractionError === true;
|
|
13277
13338
|
}
|
|
@@ -13884,7 +13945,8 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13884
13945
|
let processResult = await extract(decodeWithVideoToolbox ? ["-hwaccel", "videotoolbox"] : []);
|
|
13885
13946
|
const ffmpegExitedFailing = processResult.terminationReason === "exit" && !processResult.success && !processResult.failureReason;
|
|
13886
13947
|
const videoToolboxWasOptional = decodeWithVideoToolbox && !keepsHdrForChrome;
|
|
13887
|
-
if (ffmpegExitedFailing && videoToolboxWasOptional
|
|
13948
|
+
if (ffmpegExitedFailing && videoToolboxWasOptional && !DISK_FULL.test(processResult.stderr))
|
|
13949
|
+
processResult = await extract([]);
|
|
13888
13950
|
if (processResult.failureReason === "external_interruption") {
|
|
13889
13951
|
throw new VideoSourceExtractionError(
|
|
13890
13952
|
"external_interruption",
|
|
@@ -13918,6 +13980,15 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13918
13980
|
ffmpegReason
|
|
13919
13981
|
);
|
|
13920
13982
|
}
|
|
13983
|
+
if (DISK_FULL.test(processResult.stderr)) {
|
|
13984
|
+
throw new VideoSourceExtractionError(
|
|
13985
|
+
"disk_full",
|
|
13986
|
+
false,
|
|
13987
|
+
"The disk filled up while video frames were extracted",
|
|
13988
|
+
diagnostic,
|
|
13989
|
+
ffmpegReason
|
|
13990
|
+
);
|
|
13991
|
+
}
|
|
13921
13992
|
const transientIo = /resource temporarily unavailable|device or resource busy|input\/output error/i.test(
|
|
13922
13993
|
processResult.stderr
|
|
13923
13994
|
);
|
|
@@ -22,12 +22,15 @@ import {
|
|
|
22
22
|
require_validate,
|
|
23
23
|
require_validation_error
|
|
24
24
|
} from "./chunk-P6LJ4Y32.js";
|
|
25
|
+
import {
|
|
26
|
+
describeCauseChain
|
|
27
|
+
} from "./chunk-D3UCUI7G.js";
|
|
25
28
|
import {
|
|
26
29
|
publishRegistryFile
|
|
27
30
|
} from "./chunk-T2WJO4XM.js";
|
|
28
31
|
import {
|
|
29
32
|
ITEM_TYPE_DIRS
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
31
34
|
import {
|
|
32
35
|
realProjectRoot
|
|
33
36
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -2893,21 +2896,6 @@ async function fetchItemManifest(name, type, baseUrl = DEFAULT_REGISTRY_URL, opt
|
|
|
2893
2896
|
throw err;
|
|
2894
2897
|
}
|
|
2895
2898
|
}
|
|
2896
|
-
function describeCauseChain(err) {
|
|
2897
|
-
const parts = [];
|
|
2898
|
-
let current = err;
|
|
2899
|
-
const seen = /* @__PURE__ */ new Set();
|
|
2900
|
-
while (current instanceof Error && !seen.has(current)) {
|
|
2901
|
-
seen.add(current);
|
|
2902
|
-
const code = current.code;
|
|
2903
|
-
const text = code && !current.message.includes(String(code)) ? `${current.message} [${String(code)}]` : current.message;
|
|
2904
|
-
if (text && !parts.includes(text)) parts.push(text);
|
|
2905
|
-
current = current.cause;
|
|
2906
|
-
}
|
|
2907
|
-
if (parts.length === 0) return String(err);
|
|
2908
|
-
const [head, ...rest] = parts;
|
|
2909
|
-
return rest.length ? `${head} (${rest.join("; ")})` : head;
|
|
2910
|
-
}
|
|
2911
2899
|
function isRetryableTransport(err) {
|
|
2912
2900
|
const text = describeCauseChain(err).toLowerCase();
|
|
2913
2901
|
if (/certificate|self-signed|self signed|unable to verify|altname|ssl|tls/.test(text)) {
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T32JKZX3.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DD47NQJZ.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
errorBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M3JU24AI.js";
|
|
10
10
|
import {
|
|
11
11
|
trackCommandFailure
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O4ZD7TVR.js";
|
|
13
13
|
import {
|
|
14
14
|
failCommand
|
|
15
15
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
refreshIfNeeded,
|
|
25
25
|
resolveCloudBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BY7PZB6H.js";
|
|
27
27
|
import {
|
|
28
28
|
buildAuthHeaders,
|
|
29
29
|
tryResolveCredential
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZFZXGZTX.js";
|
|
31
31
|
import {
|
|
32
32
|
HyperframesCloudClient
|
|
33
33
|
} from "./chunk-3XJM7XZN.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
c
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HOCC4J5C.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/lintFormat.ts
|
|
12
12
|
function formatLintFindings({ results, totalErrors, totalWarnings, totalInfos }, options = {}) {
|