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
|
@@ -6,28 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parseTimeoutMs,
|
|
9
|
-
pngDimensions
|
|
10
|
-
|
|
11
|
-
reportArtifacts,
|
|
12
|
-
withProjectLock
|
|
13
|
-
} from "./chunk-KUXOAS4Z.js";
|
|
9
|
+
pngDimensions
|
|
10
|
+
} from "./chunk-HNZ2FZIB.js";
|
|
14
11
|
import {
|
|
12
|
+
CheckCopiesUnfinishedError,
|
|
13
|
+
CheckDeadline,
|
|
14
|
+
CheckDeadlineError,
|
|
15
|
+
CheckStoppedError,
|
|
15
16
|
beginCheckSnapshots,
|
|
16
17
|
checkSnapshotDirectory,
|
|
17
18
|
finishCheckSnapshots,
|
|
19
|
+
idleWindow,
|
|
18
20
|
preResolveHostileMediaProxies,
|
|
19
21
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PCY67JUL.js";
|
|
21
23
|
import {
|
|
22
24
|
collectProjectMedia,
|
|
23
25
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3CXUZSLE.js";
|
|
25
27
|
import {
|
|
26
|
-
captureArtifactRevision
|
|
27
|
-
|
|
28
|
+
captureArtifactRevision,
|
|
29
|
+
readToolContext,
|
|
30
|
+
reportArtifacts,
|
|
31
|
+
withProjectLock
|
|
32
|
+
} from "./chunk-DX4OFRBN.js";
|
|
28
33
|
import {
|
|
29
34
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DTZSKJV5.js";
|
|
31
36
|
import {
|
|
32
37
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
38
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +53,7 @@ import {
|
|
|
48
53
|
mergeSampleTimes,
|
|
49
54
|
parseAt,
|
|
50
55
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-2BDSLTEG.js";
|
|
52
57
|
import {
|
|
53
58
|
findingAtRoot,
|
|
54
59
|
findingElementKey,
|
|
@@ -57,29 +62,25 @@ import {
|
|
|
57
62
|
} from "./chunk-TQBQYO4L.js";
|
|
58
63
|
import {
|
|
59
64
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import {
|
|
62
|
-
withRemainingBudget
|
|
63
|
-
} from "./chunk-YGGZ23BB.js";
|
|
65
|
+
} from "./chunk-AOJBIFKU.js";
|
|
64
66
|
import {
|
|
65
67
|
recordArtifacts
|
|
66
68
|
} from "./chunk-XLPCBE2Q.js";
|
|
67
69
|
import {
|
|
68
70
|
BrowserCleanupError,
|
|
69
|
-
closeManagedBrowser,
|
|
70
71
|
onStopSignal,
|
|
71
72
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-HZSAOL5O.js";
|
|
73
74
|
import {
|
|
74
75
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-WAH2X7FF.js";
|
|
76
77
|
import {
|
|
77
78
|
trackCheckReport,
|
|
78
79
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-O4ZD7TVR.js";
|
|
80
81
|
import {
|
|
81
82
|
swallowedFlagUsageError
|
|
82
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-UXS7VE75.js";
|
|
83
84
|
import {
|
|
84
85
|
defineCommand
|
|
85
86
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -91,23 +92,22 @@ import {
|
|
|
91
92
|
} from "./chunk-54HJ63Q2.js";
|
|
92
93
|
import {
|
|
93
94
|
c
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-HOCC4J5C.js";
|
|
95
96
|
import {
|
|
96
97
|
DEFAULT_CONFIG,
|
|
97
98
|
extractMediaMetadata,
|
|
98
99
|
findHdrAutoPromotion,
|
|
99
100
|
gradingKeepsSdr
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
101
102
|
import {
|
|
102
|
-
lintProject
|
|
103
|
-
|
|
104
|
-
} from "./chunk-XX77LLFJ.js";
|
|
103
|
+
lintProject
|
|
104
|
+
} from "./chunk-CZ5NNJ6H.js";
|
|
105
105
|
import {
|
|
106
106
|
withMeta
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
108
108
|
import {
|
|
109
109
|
recordLastCheck
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-CKEOCCMK.js";
|
|
111
111
|
import {
|
|
112
112
|
failureMessage,
|
|
113
113
|
jsonFailure
|
|
@@ -126,162 +126,6 @@ import { randomUUID } from "crypto";
|
|
|
126
126
|
import { mkdirSync as mkdirSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
127
127
|
import { join as join2, resolve } from "path";
|
|
128
128
|
|
|
129
|
-
// src/utils/checkDeadline.ts
|
|
130
|
-
var CHECK_IDLE_MS = 12e4;
|
|
131
|
-
var idleWindow = (timeoutMs) => Math.max(CHECK_IDLE_MS, timeoutMs + 1e4);
|
|
132
|
-
var SCRIPT_START = "[hyperframes:script:start] ";
|
|
133
|
-
var SCRIPT_FINISH = "[hyperframes:script:finish] ";
|
|
134
|
-
var PHASE_LABELS = {
|
|
135
|
-
copies: "making video copies",
|
|
136
|
-
launch: "starting Chrome",
|
|
137
|
-
load: "loading the page",
|
|
138
|
-
settle: "waiting for the page to be ready",
|
|
139
|
-
samples: "checking samples",
|
|
140
|
-
analysis: "analyzing the samples",
|
|
141
|
-
overlap: "running the overlap pass",
|
|
142
|
-
crops: "capturing finding crops",
|
|
143
|
-
frames: "capturing finding frames"
|
|
144
|
-
};
|
|
145
|
-
var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
|
|
146
|
-
var CheckDeadlineError = class extends Error {
|
|
147
|
-
constructor(sourceFile, phases = "") {
|
|
148
|
-
super(
|
|
149
|
-
(sourceFile === void 0 ? "Check did not finish within its deadline" : `${sourceFile}: its script did not finish within the check deadline`) + (phases || ".")
|
|
150
|
-
);
|
|
151
|
-
this.sourceFile = sourceFile;
|
|
152
|
-
}
|
|
153
|
-
sourceFile;
|
|
154
|
-
};
|
|
155
|
-
var CheckStoppedError = class extends Error {
|
|
156
|
-
constructor(signal) {
|
|
157
|
-
super(`Check stopped before finishing (${signal}).`);
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
var CheckDeadline = class {
|
|
161
|
-
constructor(idleMs = CHECK_IDLE_MS) {
|
|
162
|
-
this.idleMs = idleMs;
|
|
163
|
-
this.expiry = new Promise((_, reject) => {
|
|
164
|
-
this.rejectExpiry = reject;
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
idleMs;
|
|
168
|
-
abort = new AbortController();
|
|
169
|
-
operations = /* @__PURE__ */ new Set();
|
|
170
|
-
signal = this.abort.signal;
|
|
171
|
-
browsers = /* @__PURE__ */ new Set();
|
|
172
|
-
scripts = [];
|
|
173
|
-
expired;
|
|
174
|
-
timer;
|
|
175
|
-
expiry;
|
|
176
|
-
rejectExpiry;
|
|
177
|
-
phase = "waiting";
|
|
178
|
-
work;
|
|
179
|
-
spent = /* @__PURE__ */ new Map();
|
|
180
|
-
partials = [];
|
|
181
|
-
keepPartial = (read) => {
|
|
182
|
-
this.partials.push(read);
|
|
183
|
-
};
|
|
184
|
-
partialResult() {
|
|
185
|
-
return Object.assign({}, ...this.partials.map((read) => read()));
|
|
186
|
-
}
|
|
187
|
-
enter = (phase, detail) => {
|
|
188
|
-
if (this.expired) return;
|
|
189
|
-
const now = Date.now();
|
|
190
|
-
if (this.work) this.spend(this.work.phase, now - this.work.since);
|
|
191
|
-
this.work = { phase, since: now, detail };
|
|
192
|
-
this.spend(phase, 0);
|
|
193
|
-
this.rearm();
|
|
194
|
-
};
|
|
195
|
-
spend(phase, ms) {
|
|
196
|
-
this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
|
|
197
|
-
}
|
|
198
|
-
describe() {
|
|
199
|
-
if (!this.work) return "";
|
|
200
|
-
const open = Date.now() - this.work.since;
|
|
201
|
-
const parts = [...this.spent].map(([phase, ms]) => {
|
|
202
|
-
const seconds2 = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
|
|
203
|
-
return `${PHASE_LABELS[phase]} ${seconds2}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
|
|
204
|
-
});
|
|
205
|
-
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(", ")}.`;
|
|
206
|
-
}
|
|
207
|
-
start = () => {
|
|
208
|
-
if (this.phase !== "waiting") return;
|
|
209
|
-
this.phase = "started";
|
|
210
|
-
this.enter("load");
|
|
211
|
-
};
|
|
212
|
-
rearm() {
|
|
213
|
-
if (this.phase !== "started" || this.expired) return;
|
|
214
|
-
clearTimeout(this.timer);
|
|
215
|
-
this.timer = setTimeout(
|
|
216
|
-
() => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
|
|
217
|
-
this.idleMs
|
|
218
|
-
);
|
|
219
|
-
}
|
|
220
|
-
expire(error) {
|
|
221
|
-
clearTimeout(this.timer);
|
|
222
|
-
this.expired = error;
|
|
223
|
-
this.rejectExpiry(error);
|
|
224
|
-
this.abort.abort(error);
|
|
225
|
-
}
|
|
226
|
-
stop = (signal) => {
|
|
227
|
-
if (this.expired || this.phase === "closed") return;
|
|
228
|
-
this.expire(new CheckStoppedError(signal));
|
|
229
|
-
};
|
|
230
|
-
ownBrowser = (browser) => {
|
|
231
|
-
if (this.expired) throw this.expired;
|
|
232
|
-
if (this.phase === "closed") throw new Error("Check has already finished.");
|
|
233
|
-
this.browsers.add(browser);
|
|
234
|
-
};
|
|
235
|
-
async preparePage(page) {
|
|
236
|
-
page.on("console", (message) => {
|
|
237
|
-
const text = message.text();
|
|
238
|
-
if (text.startsWith(SCRIPT_START)) this.scripts.push(text.slice(SCRIPT_START.length));
|
|
239
|
-
if (text.startsWith(SCRIPT_FINISH)) {
|
|
240
|
-
const index = this.scripts.lastIndexOf(text.slice(SCRIPT_FINISH.length));
|
|
241
|
-
if (index !== -1) this.scripts.splice(index, 1);
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
await page.evaluateOnNewDocument(
|
|
245
|
-
(start, finish) => {
|
|
246
|
-
Reflect.set(window, "__hfScriptState", (phase, source) => {
|
|
247
|
-
console.debug((phase === "start" ? start : finish) + source);
|
|
248
|
-
});
|
|
249
|
-
},
|
|
250
|
-
SCRIPT_START,
|
|
251
|
-
SCRIPT_FINISH
|
|
252
|
-
);
|
|
253
|
-
}
|
|
254
|
-
run(operation) {
|
|
255
|
-
if (this.expired) return Promise.reject(this.expired);
|
|
256
|
-
const pending = operation();
|
|
257
|
-
this.operations.add(pending);
|
|
258
|
-
const settled = () => this.rearm();
|
|
259
|
-
pending.then(settled, settled);
|
|
260
|
-
return Promise.race([pending, this.expiry]);
|
|
261
|
-
}
|
|
262
|
-
async close() {
|
|
263
|
-
this.phase = "closed";
|
|
264
|
-
clearTimeout(this.timer);
|
|
265
|
-
const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
|
|
266
|
-
const errors = closes.filter((entry) => entry.status === "rejected").map((entry) => entry.reason);
|
|
267
|
-
try {
|
|
268
|
-
const drained = await withRemainingBudget(
|
|
269
|
-
Promise.allSettled(this.operations),
|
|
270
|
-
1e3,
|
|
271
|
-
"draining check cleanup"
|
|
272
|
-
);
|
|
273
|
-
for (const entry of drained) {
|
|
274
|
-
if (entry.status === "rejected" && entry.reason instanceof BrowserCleanupError)
|
|
275
|
-
errors.push(entry.reason);
|
|
276
|
-
}
|
|
277
|
-
} catch (error) {
|
|
278
|
-
errors.push(error);
|
|
279
|
-
}
|
|
280
|
-
if (errors.length > 0)
|
|
281
|
-
throw new BrowserCleanupError(errors, errors.map(normalizeErrorMessage).join("; "));
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
|
|
285
129
|
// src/utils/checkFindingFrames.ts
|
|
286
130
|
import { basename } from "path";
|
|
287
131
|
var MAX_FINDING_FRAME_TIMES = 60;
|
|
@@ -566,8 +410,8 @@ function indexRuns(indices) {
|
|
|
566
410
|
}
|
|
567
411
|
return runs;
|
|
568
412
|
}
|
|
569
|
-
function windowSeconds(
|
|
570
|
-
return (
|
|
413
|
+
function windowSeconds(window) {
|
|
414
|
+
return (window.endIn + window.endOut) / 2 - (window.startOut + window.startIn) / 2;
|
|
571
415
|
}
|
|
572
416
|
function runWindow(frames, [first, last], duration) {
|
|
573
417
|
const timeAt = (index) => frames[Math.min(Math.max(index, 0), frames.length - 1)]?.time ?? 0;
|
|
@@ -589,13 +433,13 @@ function lineCandidates(frames, duration, canvas) {
|
|
|
589
433
|
const runs = indexRuns([...track.seen.keys()]);
|
|
590
434
|
const finalLine = lastEnd(track) === latest;
|
|
591
435
|
const windows = runs.map((run2) => runWindow(frames, run2, duration));
|
|
592
|
-
const chosen = finalLine ? windows.length - 1 : windows.reduce((best,
|
|
436
|
+
const chosen = finalLine ? windows.length - 1 : windows.reduce((best, window2, index) => {
|
|
593
437
|
const bestWindow = windows[best];
|
|
594
|
-
return bestWindow && windowSeconds(
|
|
438
|
+
return bestWindow && windowSeconds(window2) > windowSeconds(bestWindow) ? index : best;
|
|
595
439
|
}, 0);
|
|
596
|
-
const
|
|
440
|
+
const window = windows[chosen];
|
|
597
441
|
const run = runs[chosen];
|
|
598
|
-
if (!
|
|
442
|
+
if (!window || !run) continue;
|
|
599
443
|
const texts = [...track.seen.values()].map((seen) => seen.text);
|
|
600
444
|
const text = texts.reduce(
|
|
601
445
|
(longest, next) => readingWords(next) > readingWords(longest) ? next : longest
|
|
@@ -603,42 +447,42 @@ function lineCandidates(frames, duration, canvas) {
|
|
|
603
447
|
const words = readingWords(text);
|
|
604
448
|
if (words === 0) continue;
|
|
605
449
|
const floor = lineFloorSec(words, finalLine);
|
|
606
|
-
if (
|
|
607
|
-
candidates.push({ track, words, text, finalLine, floor, window
|
|
450
|
+
if (window.endIn - window.startIn >= floor) continue;
|
|
451
|
+
candidates.push({ track, words, text, finalLine, floor, window, firstIndex: run[0] });
|
|
608
452
|
}
|
|
609
453
|
return candidates;
|
|
610
454
|
}
|
|
611
455
|
async function refineWindow(candidate, probe, canvas) {
|
|
612
456
|
const readHeight = T.readHeightAt1080 * (Math.min(canvas.width, canvas.height) / 1080);
|
|
613
457
|
const visibleAt = async (time) => readableBlocks(await probe(time), readHeight).has(candidate.track.key);
|
|
614
|
-
const
|
|
458
|
+
const window = { ...candidate.window };
|
|
615
459
|
for (let step = 0; step < T.refineSteps; step += 1) {
|
|
616
|
-
if (
|
|
617
|
-
const mid = (
|
|
618
|
-
if (await visibleAt(mid))
|
|
619
|
-
else
|
|
460
|
+
if (window.startIn > window.startOut) {
|
|
461
|
+
const mid = (window.startOut + window.startIn) / 2;
|
|
462
|
+
if (await visibleAt(mid)) window.startIn = mid;
|
|
463
|
+
else window.startOut = mid;
|
|
620
464
|
}
|
|
621
|
-
if (
|
|
622
|
-
const mid = (
|
|
623
|
-
if (await visibleAt(mid))
|
|
624
|
-
else
|
|
465
|
+
if (window.endOut > window.endIn) {
|
|
466
|
+
const mid = (window.endIn + window.endOut) / 2;
|
|
467
|
+
if (await visibleAt(mid)) window.endIn = mid;
|
|
468
|
+
else window.endOut = mid;
|
|
625
469
|
}
|
|
626
470
|
}
|
|
627
|
-
return
|
|
471
|
+
return window;
|
|
628
472
|
}
|
|
629
473
|
async function detectLineUnread(frames, duration, canvas, probe) {
|
|
630
474
|
const findings = [];
|
|
631
475
|
const candidates = lineCandidates(frames, duration, canvas);
|
|
632
476
|
for (const [index, candidate] of candidates.entries()) {
|
|
633
|
-
const
|
|
634
|
-
const held = windowSeconds(
|
|
477
|
+
const window = probe && index < T.maxRefinedLines ? await refineWindow(candidate, probe, canvas) : candidate.window;
|
|
478
|
+
const held = windowSeconds(window);
|
|
635
479
|
if (held >= candidate.floor - T.measureToleranceSec) continue;
|
|
636
|
-
const error = Math.max(
|
|
637
|
-
findings.push(lineUnreadFinding(candidate,
|
|
480
|
+
const error = Math.max(window.startIn - window.startOut, window.endOut - window.endIn) / 2;
|
|
481
|
+
findings.push(lineUnreadFinding(candidate, window, held, error));
|
|
638
482
|
}
|
|
639
483
|
return findings;
|
|
640
484
|
}
|
|
641
|
-
function lineUnreadFinding(candidate,
|
|
485
|
+
function lineUnreadFinding(candidate, window, held, error) {
|
|
642
486
|
const { track, words, text, finalLine, floor } = candidate;
|
|
643
487
|
const quoted = quote(text, 60);
|
|
644
488
|
const wordLabel = `${words} word${words === 1 ? "" : "s"}`;
|
|
@@ -656,7 +500,7 @@ function lineUnreadFinding(candidate, window2, held, error) {
|
|
|
656
500
|
dataAttributes: {},
|
|
657
501
|
sourceFile: track.sourceFile,
|
|
658
502
|
bbox: rect ? { x: rect.left, y: rect.top, width: rect.right - rect.left, height: rect.bottom - rect.top } : ZERO_BBOX,
|
|
659
|
-
time: round(
|
|
503
|
+
time: round(window.startIn),
|
|
660
504
|
words,
|
|
661
505
|
seconds: round(held),
|
|
662
506
|
floorSeconds: round(floor)
|
|
@@ -1273,12 +1117,15 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1273
1117
|
if (craft) {
|
|
1274
1118
|
const craftStart = performance.now();
|
|
1275
1119
|
const craftTimes = buildCraftSampleTimes(grid.duration).filter((time) => time < grid.duration);
|
|
1276
|
-
|
|
1120
|
+
const last = craftTimes.length - 1;
|
|
1121
|
+
for (let index = 0, sampled = 1; index <= last; sampled += 1) {
|
|
1122
|
+
const time = craftTimes[index];
|
|
1277
1123
|
progress(`craft frame at ${time}s`);
|
|
1278
1124
|
await driver.seekGeometry(time, { draws: true });
|
|
1279
1125
|
collected.craftFrames.push(...await collectCraftFrame(driver, time));
|
|
1280
1126
|
progress();
|
|
1281
1127
|
report("craft", index + 1, craftTimes.length);
|
|
1128
|
+
index = index === last ? last + 1 : Math.min(last, index + craftStride(craftStart, sampled, last - index));
|
|
1282
1129
|
}
|
|
1283
1130
|
collected.craftMs = Math.round(performance.now() - craftStart);
|
|
1284
1131
|
}
|
|
@@ -1298,6 +1145,14 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1298
1145
|
}
|
|
1299
1146
|
var CRAFT_SAMPLE_FPS = 8;
|
|
1300
1147
|
var CRAFT_MAX_SAMPLES = 600;
|
|
1148
|
+
var CRAFT_BUDGET_MS = 9e4;
|
|
1149
|
+
var CRAFT_MAX_STRIDE = 12;
|
|
1150
|
+
function craftStride(startedAt, sampled, remaining) {
|
|
1151
|
+
const spent = performance.now() - startedAt;
|
|
1152
|
+
const left = CRAFT_BUDGET_MS - spent;
|
|
1153
|
+
const wanted = left <= 0 ? remaining : Math.ceil(spent / sampled * remaining / left);
|
|
1154
|
+
return Math.min(CRAFT_MAX_STRIDE, Math.max(1, wanted));
|
|
1155
|
+
}
|
|
1301
1156
|
function buildCraftSampleTimes(duration) {
|
|
1302
1157
|
if (!Number.isFinite(duration) || duration <= 0) return [];
|
|
1303
1158
|
const count = Math.min(
|
|
@@ -1885,6 +1740,8 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1885
1740
|
renderReadyTimedOut: false
|
|
1886
1741
|
};
|
|
1887
1742
|
}
|
|
1743
|
+
var leavesNothingToLoad = (finding) => finding.severity === "error" && finding.code === "root_missing_composition_id";
|
|
1744
|
+
var compositionCannotLoad = (lintResult) => lintResult.results[0]?.result.findings.some(leavesNothingToLoad) ?? false;
|
|
1888
1745
|
async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDENCIES) {
|
|
1889
1746
|
beginCheckSnapshots(project.dir);
|
|
1890
1747
|
const prelaunched = dependencies.prelaunchBrowser?.(project, options).catch(() => void 0);
|
|
@@ -1903,7 +1760,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
|
|
|
1903
1760
|
});
|
|
1904
1761
|
const lint = buildLintSection(lintResult);
|
|
1905
1762
|
const { hdr, audio } = await inspectProjectMedia(project, dependencies);
|
|
1906
|
-
if (
|
|
1763
|
+
if (compositionCannotLoad(lintResult)) {
|
|
1907
1764
|
return buildReport(
|
|
1908
1765
|
options,
|
|
1909
1766
|
lint,
|
|
@@ -2345,9 +2202,9 @@ function emptyBrowserResult() {
|
|
|
2345
2202
|
renderReadyTimedOut: false
|
|
2346
2203
|
};
|
|
2347
2204
|
}
|
|
2348
|
-
function runtimeFailure(error, code
|
|
2205
|
+
function runtimeFailure(error, code) {
|
|
2349
2206
|
return findingAtRoot(
|
|
2350
|
-
code,
|
|
2207
|
+
code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : "check_runtime_failure"),
|
|
2351
2208
|
"error",
|
|
2352
2209
|
normalizeErrorMessage(error),
|
|
2353
2210
|
error instanceof CheckDeadlineError ? error.sourceFile ?? "index.html" : "index.html"
|
|
@@ -2378,7 +2235,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2378
2235
|
};
|
|
2379
2236
|
}
|
|
2380
2237
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2381
|
-
const module = await import("./checkBrowser-
|
|
2238
|
+
const module = await import("./checkBrowser-MTCJVJYJ.js");
|
|
2382
2239
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2383
2240
|
}
|
|
2384
2241
|
var adoptedBrowser;
|
|
@@ -2392,7 +2249,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2392
2249
|
if (adopted) return adopted;
|
|
2393
2250
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2394
2251
|
if (html === void 0) return void 0;
|
|
2395
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2252
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-KR3PELMO.js");
|
|
2396
2253
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2397
2254
|
}
|
|
2398
2255
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2404,11 +2261,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2404
2261
|
return relative(projectDir, path);
|
|
2405
2262
|
}
|
|
2406
2263
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2407
|
-
const module = await import("./checkBrowser-
|
|
2264
|
+
const module = await import("./checkBrowser-MTCJVJYJ.js");
|
|
2408
2265
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2409
2266
|
}
|
|
2410
2267
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2411
|
-
const module = await import("./checkBrowser-
|
|
2268
|
+
const module = await import("./checkBrowser-MTCJVJYJ.js");
|
|
2412
2269
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2413
2270
|
}
|
|
2414
2271
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2430,7 +2287,7 @@ function collectMedia(project) {
|
|
|
2430
2287
|
return collectProjectMedia(project.dir);
|
|
2431
2288
|
}
|
|
2432
2289
|
async function inspectAudio(project, media) {
|
|
2433
|
-
const module = await import("./checkAudio-
|
|
2290
|
+
const module = await import("./checkAudio-CSX4G35O.js");
|
|
2434
2291
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2435
2292
|
}
|
|
2436
2293
|
function audioCheckFailure(project, error) {
|
|
@@ -2504,7 +2361,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2504
2361
|
}
|
|
2505
2362
|
},
|
|
2506
2363
|
async prepareMedia(project, options) {
|
|
2507
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2364
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z6KCDBP2.js");
|
|
2508
2365
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2509
2366
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2510
2367
|
},
|
|
@@ -2985,8 +2842,7 @@ function nonNegativeNumber(value, fallback) {
|
|
|
2985
2842
|
return Number.isFinite(parsed) && parsed >= 0 ? parsed : fallback;
|
|
2986
2843
|
}
|
|
2987
2844
|
function browserSkippedLine(report) {
|
|
2988
|
-
|
|
2989
|
-
return lintError ? "Browser validation skipped because of the lint error above: fix it and run check again. Layout, motion, and contrast were not checked, so this is not a clean pass." : "Browser session never ran \u2014 layout, motion, and contrast below are empty placeholders, not a clean pass.";
|
|
2845
|
+
return report.lint.findings.some(leavesNothingToLoad) ? "Browser validation skipped: the lint error above leaves no composition to load. Fix it and run check again. Layout, motion, and contrast were not checked, so this is not a clean pass." : "Browser session never ran \u2014 layout, motion, and contrast below are empty placeholders, not a clean pass.";
|
|
2990
2846
|
}
|
|
2991
2847
|
function printHumanReport(report) {
|
|
2992
2848
|
if (report.scope) {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7AVR3VZE.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EAO46VPT.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
decodeWellFormedEscapes,
|
|
23
23
|
decodedUrlPath,
|
|
24
24
|
readMediaOffsetSeconds
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OHQRQE7F.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CUCP7FKH.js";
|
|
29
29
|
|
|
30
30
|
// ../studio-server/dist/chunk-H4NVSSDJ.js
|
|
31
31
|
import { execFile } from "child_process";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FC2OXEBQ.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CUCP7FKH.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/lambda/_dimensions.ts
|
|
15
15
|
import { readFileSync } from "fs";
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DVJUBMS7.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GY7D2OEQ.js";
|
|
16
16
|
import {
|
|
17
17
|
makeOutputFolder
|
|
18
18
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
publicVoices,
|
|
24
24
|
runJob,
|
|
25
25
|
senderScope
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BXCPOMS3.js";
|
|
27
27
|
import {
|
|
28
28
|
Fix,
|
|
29
29
|
probeSeconds,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
round,
|
|
33
33
|
runFfmpeg,
|
|
34
34
|
videoClip
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-T4FLVFQE.js";
|
|
36
36
|
import {
|
|
37
37
|
loadSharp
|
|
38
38
|
} from "./chunk-5UT3R43E.js";
|
|
@@ -311,9 +311,9 @@ function assetsOf(r) {
|
|
|
311
311
|
async function uploaded(paths) {
|
|
312
312
|
const ids = /* @__PURE__ */ new Map();
|
|
313
313
|
if (!paths.length) return ids;
|
|
314
|
-
const { createCloudClient } = await import("./cloud-
|
|
314
|
+
const { createCloudClient } = await import("./cloud-RFM3PYTR.js");
|
|
315
315
|
const { uploadAssetViaDirectUpload } = await import("./upload-HMRWGZIO.js");
|
|
316
|
-
const { getMimeType } = await import("./dist-
|
|
316
|
+
const { getMimeType } = await import("./dist-TJZSSDR2.js");
|
|
317
317
|
const client = await createCloudClient();
|
|
318
318
|
for (const path of paths) {
|
|
319
319
|
const asset = await uploadAssetViaDirectUpload({
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DD47NQJZ.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FZRTCVU6.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZNHWAGMH.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMPHS5E6.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -6,11 +6,11 @@ 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
|
import {
|
|
11
11
|
DISTRIBUTED_FPS,
|
|
12
12
|
isDistributedFps
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N7ZKI2CE.js";
|
|
14
14
|
import {
|
|
15
15
|
parseHTML
|
|
16
16
|
} from "./chunk-GWTIFRF5.js";
|