hyperframes 0.9.12 → 0.9.13
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-PXF5OGLI.js} +13 -12
- package/dist/{agentPromptGenerator-S3GWYMVC.js → agentPromptGenerator-DWNK722M.js} +5 -5
- package/dist/{animatedGifPrep-YU7IOD5D.js → animatedGifPrep-FFBCFFIY.js} +5 -5
- package/dist/api.js +27 -26
- package/dist/{asset-7NPBAXDA.js → asset-FZVMLDSY.js} +5 -5
- package/dist/{assetCataloger-VKJIQCYP.js → assetCataloger-FXBZK55R.js} +6 -6
- package/dist/{audio-ZNVUZH44.js → audio-QYNPBNZQ.js} +20 -19
- package/dist/{auth-PTVZNLE6.js → auth-2FBS4QC4.js} +6 -6
- package/dist/{autoUpdate-QJPCV7FB.js → autoUpdate-VFGRGQTO.js} +4 -4
- package/dist/avatars-UVZFK2JR.js +168 -0
- package/dist/{backgroundChecks-UA6LCZAG.js → backgroundChecks-FN53YXTW.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-W4RXBUNE.js → batchRender-JB3D6X7U.js} +4 -4
- package/dist/{beats-IG7C72YF.js → beats-5BJMEGGA.js} +11 -11
- package/dist/{benchmark-YUD3XIT2.js → benchmark-MP4JGPYM.js} +11 -11
- package/dist/{billing-5YSYJJ2V.js → billing-XSPWEAYT.js} +6 -5
- package/dist/{browser-TZILXH5J.js → browser-V4EB7UNU.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-BOIW3CIU.js → bundleWithLocalizedFonts-Z23O7MZ3.js} +4 -4
- package/dist/{capture-MICLAF6V.js → capture-L5TGT4SW.js} +18 -18
- package/dist/{capture-R77HOGLQ.js → capture-SQHH4HBC.js} +5 -5
- package/dist/{captureCompositionFrame-WBMFZHEF.js → captureCompositionFrame-BAYKFJMM.js} +12 -12
- package/dist/{catalog-AMPL57XF.js → catalog-OLP2O5W6.js} +14 -13
- package/dist/{catch-up-WQ7ZRRFT.js → catch-up-LJWHENVV.js} +8 -8
- package/dist/{check-ZPBF3X5D.js → check-KGAKP3H5.js} +38 -37
- package/dist/{checkAudio-IG3BOW2G.js → checkAudio-QWBAUBJ2.js} +10 -10
- package/dist/{checkBrowser-AIUIKFMJ.js → checkBrowser-J5UUWIPK.js} +31 -30
- package/dist/{chunk-R7EKEIAK.js → chunk-2ASPXS4U.js} +1 -1
- package/dist/{chunk-Q3IT7I2K.js → chunk-2IATDUYU.js} +1 -1
- package/dist/{chunk-KDOJX2HU.js → chunk-2IB3XVAR.js} +12 -12
- package/dist/{chunk-EPCVE3OX.js → chunk-2WGAXAM7.js} +2 -2
- package/dist/{chunk-H7H7XNYY.js → chunk-2YVIA2BX.js} +4 -4
- package/dist/{chunk-6KV3CMY2.js → chunk-3BLPPIJA.js} +3 -15
- package/dist/{chunk-73EXHUMD.js → chunk-3SZZLHHM.js} +1 -1
- package/dist/{chunk-7W5ZDOLW.js → chunk-472XCBCV.js} +14 -3
- package/dist/{chunk-3IKLV3D4.js → chunk-4HGTJHKB.js} +2 -2
- package/dist/{chunk-B3IE7CN2.js → chunk-5Z7YSZRF.js} +10 -10
- package/dist/{chunk-7RM3TB62.js → chunk-6PGTJG3M.js} +1 -1
- package/dist/{chunk-V6HV2IDT.js → chunk-6U6KMYIV.js} +1 -1
- package/dist/{chunk-LR5NVYZT.js → chunk-7AMCGJDM.js} +1 -1
- package/dist/{chunk-4J4EGANW.js → chunk-7S2LS53F.js} +6 -6
- package/dist/{chunk-PKLZ5PV2.js → chunk-7WSL3PT3.js} +2 -2
- package/dist/{chunk-OJTXXFYO.js → chunk-7X3UDKJK.js} +1 -1
- package/dist/{chunk-QOF7XZEI.js → chunk-7Z7SREEU.js} +2 -2
- package/dist/{chunk-N6FGHJ7X.js → chunk-AB6DKVKC.js} +13 -2
- package/dist/{chunk-QFZ3ZSXI.js → chunk-AIK4ETUZ.js} +2 -2
- package/dist/{chunk-XZP5OW5V.js → chunk-AKE744C5.js} +1 -1
- package/dist/{chunk-6IFY3ZQC.js → chunk-AR6IO4RY.js} +5 -5
- 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-4XGASFTP.js → chunk-BE7Y3PJZ.js} +3 -3
- package/dist/{chunk-TSQZ3DSC.js → chunk-BY7PZB6H.js} +1 -1
- package/dist/{chunk-VWQY3A64.js → chunk-BYWQQMTB.js} +2 -2
- package/dist/{chunk-Z2DJSEQC.js → chunk-C5VZTKW2.js} +26 -26
- package/dist/{chunk-BONBJJ35.js → chunk-CKEOCCMK.js} +1 -1
- package/dist/{chunk-XX77LLFJ.js → chunk-CKZVLS3K.js} +70 -5
- package/dist/{chunk-64ZWPFAX.js → chunk-CLT3CJKG.js} +2 -2
- package/dist/chunk-D3UCUI7G.js +68 -0
- package/dist/{chunk-5WHGO5XU.js → chunk-EP6GCDZ6.js} +1 -1
- package/dist/{chunk-2VZVMCV6.js → chunk-EQSUX64Q.js} +1 -1
- package/dist/{chunk-UH62KSYV.js → chunk-EZCMP7NJ.js} +3 -3
- package/dist/{chunk-C3NC67BB.js → chunk-F6PFZMQU.js} +3 -3
- package/dist/{chunk-YEBIOQRI.js → chunk-FJIN5OWZ.js} +3 -3
- package/dist/{chunk-J3RXEDR2.js → chunk-FYZFURBN.js} +2 -2
- package/dist/{chunk-LV5SL4YW.js → chunk-GPHY5R35.js} +1 -1
- package/dist/{chunk-LO3EX3YP.js → chunk-H4VII7WN.js} +7 -7
- package/dist/{chunk-42TYQPES.js → chunk-H6FRRSHM.js} +1 -1
- package/dist/{chunk-2GICKZ3I.js → chunk-HOCC4J5C.js} +1 -1
- package/dist/{chunk-SSZTRWKQ.js → chunk-HTSVFS4G.js} +2 -2
- package/dist/{chunk-4H4DR36N.js → chunk-IOPE4LJ2.js} +1 -1
- package/dist/{chunk-NQYW4IYN.js → chunk-ITDHT7AO.js} +4 -4
- package/dist/{chunk-QRCORKYC.js → chunk-JGTJEQ5X.js} +2 -2
- package/dist/{chunk-ZD3MK4H5.js → chunk-KHF5WT6E.js} +1 -1
- package/dist/{chunk-P7Y2YCOF.js → chunk-KWGOABKQ.js} +1 -1
- package/dist/{chunk-AUYRWWFL.js → chunk-LGVUQ4GC.js} +3 -3
- package/dist/{chunk-WJD3GVAA.js → chunk-LISUH6KH.js} +1 -1
- package/dist/{chunk-5LOZWO2M.js → chunk-M3JU24AI.js} +1 -1
- package/dist/{chunk-OAFGA2FR.js → chunk-MBX3BHW3.js} +1 -1
- package/dist/{chunk-KT4KPBI7.js → chunk-MGAGDEBC.js} +3 -3
- package/dist/{chunk-WTGG734B.js → chunk-MJEE2WSS.js} +5 -5
- package/dist/{chunk-JS6ZTPYC.js → chunk-N2SXD5EG.js} +1 -1
- package/dist/{chunk-BW2RIJKV.js → chunk-N43XGFAZ.js} +44 -39
- package/dist/{chunk-N74N2I2K.js → chunk-N7EA7GWU.js} +1 -1
- package/dist/{chunk-Q225NLQL.js → chunk-NMYRVKIL.js} +4 -4
- package/dist/{chunk-A33GFLPY.js → chunk-NR2W7HUH.js} +1 -1
- package/dist/{chunk-VECINIPA.js → chunk-NW5QHUZO.js} +2 -2
- package/dist/{chunk-URJ7T6T6.js → chunk-NXQMN7YC.js} +1 -1
- package/dist/{chunk-2P5DTXUN.js → chunk-NZTYGWRK.js} +1 -1
- package/dist/{chunk-HY64QA63.js → chunk-O4Q44I77.js} +18 -6
- package/dist/{chunk-FLXZ4GZI.js → chunk-OHN3OJQQ.js} +1 -1
- package/dist/{chunk-ZLN3AJKT.js → chunk-OPOYDJEW.js} +1 -1
- package/dist/{chunk-7XKWBMBL.js → chunk-QVW57TUW.js} +2 -2
- package/dist/{chunk-SG4YBQPY.js → chunk-RADODJYB.js} +2 -2
- package/dist/{chunk-2VYAX3ZD.js → chunk-RBF3AF7R.js} +4 -4
- package/dist/{chunk-ABI256T5.js → chunk-RL52TNCM.js} +2 -2
- package/dist/{chunk-AVNF52HR.js → chunk-RWQEWEOV.js} +1 -1
- package/dist/{chunk-VUMGJLRB.js → chunk-SFO4FLUG.js} +1 -1
- package/dist/{chunk-RFTLWXEX.js → chunk-SGLX72IQ.js} +7 -7
- package/dist/{chunk-FFUBISTD.js → chunk-SM4F4H3T.js} +1 -1
- package/dist/{chunk-FC4WF2VQ.js → chunk-SXAZR7M4.js} +2 -2
- package/dist/{chunk-EBUA6NWH.js → chunk-T5ZEMZ3K.js} +2 -2
- package/dist/{chunk-XJG65BB2.js → chunk-TBXV7O3Z.js} +10 -10
- package/dist/{chunk-P3KBDUNS.js → chunk-TSCUYZ4B.js} +1 -1
- package/dist/{chunk-VM6T3Z6B.js → chunk-TX3JT67F.js} +1 -1
- package/dist/{chunk-LIN633KG.js → chunk-U7AB4D6T.js} +5 -5
- package/dist/{chunk-3DWH6Z5U.js → chunk-UPI2MZ5L.js} +1 -1
- package/dist/{chunk-WWBEAKTO.js → chunk-UXS7VE75.js} +1 -1
- package/dist/{chunk-NTHJJ6JT.js → chunk-VIEMTLSI.js} +7 -7
- package/dist/{chunk-6R2PED3X.js → chunk-WCNUB6WU.js} +9 -9
- package/dist/{chunk-FPR57WRR.js → chunk-WEWXIQPN.js} +1 -1
- package/dist/{chunk-6NKEEHFR.js → chunk-WGQW65DO.js} +6 -6
- package/dist/{chunk-WQ4SMZDF.js → chunk-WSZWPYRG.js} +2 -2
- package/dist/{chunk-JKSASCBT.js → chunk-XHY36WZF.js} +2 -2
- package/dist/{chunk-AHLDGEH5.js → chunk-YHID4CM3.js} +1 -1
- package/dist/{chunk-X6XIY4JY.js → chunk-YMP5FTA3.js} +11 -11
- package/dist/{chunk-ETYQYG6Q.js → chunk-ZFZXGZTX.js} +27 -18
- package/dist/{chunk-S2UKSI3C.js → chunk-ZMRRTWKP.js} +1 -1
- package/dist/{chunk-E2YXF2EP.js → chunk-ZPJVKYDL.js} +3 -3
- package/dist/{clean-343XOJT3.js → clean-NNYMY7FD.js} +17 -17
- package/dist/cli.js +69 -68
- package/dist/{cloud-2YS272KD.js → cloud-6FBCPI3B.js} +6 -6
- package/dist/{cloud-B6SGMECY.js → cloud-RFM3PYTR.js} +6 -5
- package/dist/{cloudrun-N737TJRC.js → cloudrun-D4V4TV6S.js} +6 -6
- package/dist/{colors-HRL7QSVG.js → colors-CRTWLZ5S.js} +2 -2
- package/dist/{compare-KXCTMXFX.js → compare-J3JV4AZ3.js} +28 -27
- package/dist/{compiler-KKIYPREA.js → compiler-5ANBCHB7.js} +3 -3
- package/dist/{component-ZUDCIGGD.js → component-QFREWBT5.js} +6 -6
- package/dist/{compositions-FNFI2QOA.js → compositions-NUTRZGAZ.js} +15 -15
- package/dist/{curve-5BMBBCSZ.js → curve-LR4THVRF.js} +12 -12
- package/dist/{cuts-OKUA6BWH.js → cuts-5WPLSRM2.js} +13 -13
- package/dist/{delete-FYMFNSED.js → delete-KLIVMSTG.js} +12 -11
- package/dist/{deploy-YZU2YITA.js → deploy-CDWKRTWY.js} +6 -6
- package/dist/{describeProject-E44RWBJL.js → describeProject-YJEOPIW7.js} +8 -8
- package/dist/{destroy-IQLGADZM.js → destroy-6XY4WQWY.js} +2 -2
- package/dist/{diff-5X6I6EG5.js → diff-KY6T2E32.js} +33 -32
- package/dist/{dist-PUHEYGA5.js → dist-GVCHAZJU.js} +6 -6
- package/dist/{dist-PCVNVAVC.js → dist-TQKOMXXI.js} +4 -2
- package/dist/{docs-D22SOQEZ.js → docs-WYJSJGSF.js} +2 -2
- package/dist/{doctor-3DXWW63F.js → doctor-HLG4AP3Q.js} +12 -12
- package/dist/{energy-4HY7COXH.js → energy-3T3DDIEN.js} +13 -13
- package/dist/{events-TFVE7AUR.js → events-HZG5BWCQ.js} +5 -5
- package/dist/{events-JAGPGK7R.js → events-LB2RDZX3.js} +6 -6
- package/dist/{events-ULVZ7V2C.js → events-ZZNUYUCY.js} +15 -15
- package/dist/{extract-5KTFRIH2.js → extract-7STXIEDI.js} +13 -13
- package/dist/{face-T6D34LR7.js → face-3DWRLSWO.js} +13 -13
- package/dist/{feedback-QQQYENCU.js → feedback-4V2HGHTZ.js} +13 -12
- package/dist/{ffmpeg-A2O4HSRD.js → ffmpeg-5BWHEWVW.js} +5 -5
- package/dist/{figma-4RODZMCT.js → figma-4SSCW6YU.js} +5 -5
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-L43TSSAY.js → frames-V3OUCXX6.js} +14 -14
- package/dist/{generate-7HZKBLPZ.js → generate-W4HW4MJQ.js} +19 -18
- package/dist/{get-MXKV4NUL.js → get-FXFV3VDQ.js} +12 -11
- package/dist/{gpuPolicy-TKHFDEH2.js → gpuPolicy-X4BOE2HD.js} +5 -5
- package/dist/{grade-compare-KNXFKMFI.js → grade-compare-PV62LISL.js} +29 -28
- package/dist/{heifImagePrep-L2EY67F2.js → heifImagePrep-2K2I4SCP.js} +6 -6
- package/dist/{help-YN43ORVX.js → help-R2ASMVJB.js} +3 -3
- package/dist/{history-VAMN53LT.js → history-X24EZSOO.js} +10 -10
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-QKEEGK2R.js → info-DJ6TZSEF.js} +9 -9
- package/dist/{init-AAA44PYH.js → init-GQ2GRVQS.js} +34 -31
- package/dist/{ink-V6CEFYB6.js → ink-L4VRIFJ7.js} +13 -13
- package/dist/{inspect-5JGTWCYO.js → inspect-5IXDDOJN.js} +29 -28
- package/dist/{installer-PUQYKLXZ.js → installer-ZIBXFENP.js} +3 -2
- package/dist/{keyframes-FJNUSXAF.js → keyframes-ASFH5XYJ.js} +10 -10
- package/dist/{lambda-RYCG67CX.js → lambda-ELYE5XIZ.js} +17 -17
- package/dist/{layout-DXIPVY3W.js → layout-NNGVQWY4.js} +29 -28
- package/dist/{lint-JZADWIMR.js → lint-GYJFRDI2.js} +13 -13
- package/dist/{lintProject-EV3EEBY3.js → lintProject-NGMRZDNT.js} +2 -2
- package/dist/{list-YRLUJMP6.js → list-UBFDCTVO.js} +13 -12
- package/dist/{localPage-KIFKMB2B.js → localPage-DHAVU3EM.js} +5 -5
- package/dist/{login-H74JDEJ2.js → login-OKJT7QWG.js} +10 -9
- package/dist/{logout-UMDA3HDE.js → logout-YACQMRZN.js} +5 -4
- package/dist/{look-WVGBBYFE.js → look-4GINLBBO.js} +13 -13
- package/dist/{manager-T633Z2L4.js → manager-Q5X74T5D.js} +6 -6
- package/dist/{measure-DWQHHY3H.js → measure-LICRA4FH.js} +11 -11
- package/dist/{media-treatment-JHDDWRFU.js → media-treatment-PM3WLJZ4.js} +15 -15
- package/dist/{media-use-5SDC3MCE.js → media-use-NUORYIBQ.js} +7 -5
- package/dist/{models-6SOW23N6.js → models-V2XJYFY5.js} +13 -13
- package/dist/{motionShot-B4K6LEU3.js → motionShot-YBJB6L3C.js} +15 -15
- package/dist/{normalize-audio-O6STMACD.js → normalize-audio-LUAEDEUM.js} +8 -8
- package/dist/{open-VRCTXBD3.js → open-RTL2AU5C.js} +14 -13
- package/dist/{parakeetRunner-MNOIBRZZ.js → parakeetRunner-FBEL64JM.js} +10 -10
- package/dist/{pipeline-N3M6VXBC.js → pipeline-2VN2FDAL.js} +8 -8
- package/dist/{play-5WUZGJ4B.js → play-U3EXVEC7.js} +22 -21
- package/dist/{policies-EERREOZJ.js → policies-EV7XPSQC.js} +2 -2
- package/dist/{preflight-XZZXHV42.js → preflight-Z3U5OGW3.js} +6 -6
- package/dist/{present-W7OODR7J.js → present-NXEDFMC4.js} +17 -17
- package/dist/{preview-NOQSYZAD.js → preview-AUDJW3KE.js} +23 -22
- package/dist/{probe-WFIYEXM5.js → probe-QQXAWDZG.js} +13 -13
- package/dist/{producer-HI6M6755.js → producer-DNWWPGFA.js} +1 -1
- package/dist/{progress-STSH2JRY.js → progress-FWJJMPIQ.js} +2 -2
- package/dist/{projectConfig-PUAOWUNS.js → projectConfig-FMXOJBJY.js} +5 -4
- package/dist/{prompts-ZEVFT7US.js → prompts-27EPTM64.js} +2 -2
- package/dist/{publish-7W46NJFT.js → publish-7HSXMQEF.js} +15 -14
- package/dist/{refresh-4FQFQ2SW.js → refresh-L5C2HPMC.js} +5 -4
- package/dist/{remove-background-SYHNGASQ.js → remove-background-AIYMKXZW.js} +12 -12
- package/dist/{render-EF7Y6YYC.js → render-FD7LHCCC.js} +4 -4
- package/dist/{render-GYQZQB2O.js → render-RMPWJTY4.js} +39 -38
- package/dist/{render-74JIGKTN.js → render-SAAQKFHE.js} +126 -62
- package/dist/{render-batch-JYYP4RXA.js → render-batch-WPHP27VT.js} +4 -4
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-BKFLETMU.js → resolver-E7IHSWCQ.js} +3 -2
- package/dist/{reverse-NEC42AID.js → reverse-GHX5LUSV.js} +1 -1
- package/dist/{run-Z6AW753F.js → run-65M6ECM2.js} +6 -5
- package/dist/{sherpa-2ROE6TLC.js → sherpa-QQZMXXO5.js} +9 -9
- package/dist/{sites-EAGXQOKI.js → sites-O7A7G3ZQ.js} +2 -2
- 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/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-WCXVUM6C.js} +10 -10
- package/dist/{skillsUpdateCheck-I6G3MQWO.js → skillsUpdateCheck-PEVW2JO6.js} +5 -5
- package/dist/{snapshot-J2NU7WTJ.js → snapshot-2ACZXDLZ.js} +36 -35
- package/dist/{src-L7UBHHKB.js → src-DA2HOM3K.js} +4 -4
- package/dist/{src-5XQ6A3VE.js → src-WISBTYBV.js} +7 -7
- package/dist/{start-VUMSNLKC.js → start-DDOWW7K5.js} +21 -20
- package/dist/{staticProjectServer-2JYB7RLI.js → staticProjectServer-MQ7H4MGQ.js} +14 -13
- package/dist/{status-SUK4I7TS.js → status-74IZXJKQ.js} +24 -8
- package/dist/studio/assets/{hyperframes-player-Dw-0BWQW.js → hyperframes-player-B2_9tPTr.js} +1 -1
- package/dist/studio/assets/{index-NwWb1W86.js → index-BHe_y2lu.js} +1 -1
- package/dist/studio/assets/{index-BNZeN67E.js → index-DToBQdGg.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-MEZKFJBY.js → studio-api-UABUZ3PZ.js} +6 -6
- package/dist/{studioServer-XGR4YPXX.js → studioServer-FGXZA75B.js} +54 -47
- package/dist/{sync-ZIMGTQEN.js → sync-AVGYYG4D.js} +13 -13
- package/dist/{telemetry-WGNNQUSF.js → telemetry-5WZGQCKA.js} +3 -3
- package/dist/{telemetry-PT5KSL5T.js → telemetry-7IM2NV22.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-5CWKOSBX.js} +102 -26
- package/dist/{timeline-IH422KGC.js → timeline-A7R54T7C.js} +19 -19
- package/dist/{tokens-ZVJMHDTM.js → tokens-W6RQVKWV.js} +5 -5
- package/dist/{transcribe-FRRXA77O.js → transcribe-GPOMREHS.js} +24 -23
- package/dist/{transcribe-QIZGXMR5.js → transcribe-N2C2MYCG.js} +8 -8
- package/dist/{tts-IMW74GBX.js → tts-QRQEYR3Q.js} +4 -4
- package/dist/{update-E2RIAV5T.js → update-X643YOPS.js} +15 -13
- package/dist/{updateCheck-EII7XDIR.js → updateCheck-O7IUSOXN.js} +4 -4
- package/dist/{upgrade-BKGP2TM7.js → upgrade-6NWYJUFT.js} +7 -7
- package/dist/{urlDownloader-FOXK4FYP.js → urlDownloader-PFHIVGDF.js} +4 -4
- package/dist/{validate-M4FZVBRP.js → validate-IIFU6OEG.js} +22 -22
- package/dist/{video-AVEGMBDM.js → video-R6TSXZMN.js} +8 -8
- package/dist/{voices-E5RUGLJK.js → voices-Y572PKNN.js} +17 -16
- package/dist/warmCheck.js +38 -37
- package/package.json +1 -1
|
@@ -19,11 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
MEDIA_LINK_ATTR,
|
|
25
|
-
relinkSplitHalves
|
|
26
|
-
} from "./chunk-AW3XJY4S.js";
|
|
22
|
+
} from "./chunk-O4Q44I77.js";
|
|
27
23
|
import {
|
|
28
24
|
DEFAULT_TARGET_LUFS,
|
|
29
25
|
absoluteLoudnessPlan,
|
|
@@ -33,6 +29,10 @@ import {
|
|
|
33
29
|
requiredFfmpeg,
|
|
34
30
|
resolveLocalAudioPath
|
|
35
31
|
} from "./chunk-CPMTEWQM.js";
|
|
32
|
+
import {
|
|
33
|
+
MEDIA_LINK_ATTR,
|
|
34
|
+
relinkSplitHalves
|
|
35
|
+
} from "./chunk-AW3XJY4S.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
ensureHfIds,
|
|
118
118
|
stampHfIdsInPlace,
|
|
119
119
|
stripSdrPngColourTags
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-N2SXD5EG.js";
|
|
121
121
|
import {
|
|
122
122
|
PREVIEW_PROXY_BOX_PARAM,
|
|
123
123
|
PREVIEW_PROXY_LIGHT_PARAM,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SXAZR7M4.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AB6DKVKC.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -6,12 +6,12 @@ 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
|
PRORES_PROFILE_NAMES,
|
|
12
12
|
appendRateCapArgs,
|
|
13
13
|
isProresProfile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AB6DKVKC.js";
|
|
15
15
|
import {
|
|
16
16
|
failUsage
|
|
17
17
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-WE42NVH7.js";
|
|
104
104
|
import {
|
|
105
105
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-CKZVLS3K.js";
|
|
107
107
|
import {
|
|
108
108
|
isWithinProjectRoot,
|
|
109
109
|
resolveProjectRelativeSrc
|
|
@@ -13272,6 +13272,7 @@ function ffmpegReasonFrom(stderr, paths) {
|
|
|
13272
13272
|
text = text.split(known).join("<path>");
|
|
13273
13273
|
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
13274
|
}
|
|
13275
|
+
var DISK_FULL = /no space left on device|disk quota exceeded/i;
|
|
13275
13276
|
function isVideoSourceExtractionError(error) {
|
|
13276
13277
|
return typeof error === "object" && error !== null && "hyperframesVideoSourceExtractionError" in error && error.hyperframesVideoSourceExtractionError === true;
|
|
13277
13278
|
}
|
|
@@ -13884,7 +13885,8 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13884
13885
|
let processResult = await extract(decodeWithVideoToolbox ? ["-hwaccel", "videotoolbox"] : []);
|
|
13885
13886
|
const ffmpegExitedFailing = processResult.terminationReason === "exit" && !processResult.success && !processResult.failureReason;
|
|
13886
13887
|
const videoToolboxWasOptional = decodeWithVideoToolbox && !keepsHdrForChrome;
|
|
13887
|
-
if (ffmpegExitedFailing && videoToolboxWasOptional
|
|
13888
|
+
if (ffmpegExitedFailing && videoToolboxWasOptional && !DISK_FULL.test(processResult.stderr))
|
|
13889
|
+
processResult = await extract([]);
|
|
13888
13890
|
if (processResult.failureReason === "external_interruption") {
|
|
13889
13891
|
throw new VideoSourceExtractionError(
|
|
13890
13892
|
"external_interruption",
|
|
@@ -13918,6 +13920,15 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13918
13920
|
ffmpegReason
|
|
13919
13921
|
);
|
|
13920
13922
|
}
|
|
13923
|
+
if (DISK_FULL.test(processResult.stderr)) {
|
|
13924
|
+
throw new VideoSourceExtractionError(
|
|
13925
|
+
"disk_full",
|
|
13926
|
+
false,
|
|
13927
|
+
"The disk filled up while video frames were extracted",
|
|
13928
|
+
diagnostic,
|
|
13929
|
+
ffmpegReason
|
|
13930
|
+
);
|
|
13931
|
+
}
|
|
13921
13932
|
const transientIo = /resource temporarily unavailable|device or resource busy|input\/output error/i.test(
|
|
13922
13933
|
processResult.stderr
|
|
13923
13934
|
);
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EZCMP7NJ.js";
|
|
12
12
|
import {
|
|
13
13
|
redactTelemetryString
|
|
14
14
|
} from "./chunk-TK7THLRO.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-LAGZGKKN.js";
|
|
18
18
|
import {
|
|
19
19
|
readConfig
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CKEOCCMK.js";
|
|
21
21
|
import {
|
|
22
22
|
CliRuntimeError
|
|
23
23
|
} from "./chunk-66W5IWLO.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-MGAGDEBC.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-WSZWPYRG.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|
|
@@ -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 = {}) {
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AIK4ETUZ.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EZCMP7NJ.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CKZVLS3K.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3SZZLHHM.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-WVRAFHJU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-5ANBCHB7.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YMP5FTA3.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BYWQQMTB.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TSCUYZ4B.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BE7Y3PJZ.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-5Z7YSZRF.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-CLT3CJKG.js";
|
|
61
61
|
import {
|
|
62
62
|
withRemainingBudget
|
|
63
63
|
} from "./chunk-YGGZ23BB.js";
|
|
@@ -69,17 +69,17 @@ import {
|
|
|
69
69
|
closeManagedBrowser,
|
|
70
70
|
onStopSignal,
|
|
71
71
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-7WSL3PT3.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-SXAZR7M4.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-AIK4ETUZ.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UXS7VE75.js";
|
|
83
83
|
import {
|
|
84
84
|
defineCommand
|
|
85
85
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -91,23 +91,22 @@ import {
|
|
|
91
91
|
} from "./chunk-54HJ63Q2.js";
|
|
92
92
|
import {
|
|
93
93
|
c
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-HOCC4J5C.js";
|
|
95
95
|
import {
|
|
96
96
|
DEFAULT_CONFIG,
|
|
97
97
|
extractMediaMetadata,
|
|
98
98
|
findHdrAutoPromotion,
|
|
99
99
|
gradingKeepsSdr
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-AB6DKVKC.js";
|
|
101
101
|
import {
|
|
102
|
-
lintProject
|
|
103
|
-
|
|
104
|
-
} from "./chunk-XX77LLFJ.js";
|
|
102
|
+
lintProject
|
|
103
|
+
} from "./chunk-CKZVLS3K.js";
|
|
105
104
|
import {
|
|
106
105
|
withMeta
|
|
107
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-MGAGDEBC.js";
|
|
108
107
|
import {
|
|
109
108
|
recordLastCheck
|
|
110
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-CKEOCCMK.js";
|
|
111
110
|
import {
|
|
112
111
|
failureMessage,
|
|
113
112
|
jsonFailure
|
|
@@ -1885,6 +1884,8 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1885
1884
|
renderReadyTimedOut: false
|
|
1886
1885
|
};
|
|
1887
1886
|
}
|
|
1887
|
+
var leavesNothingToLoad = (finding) => finding.severity === "error" && finding.code === "root_missing_composition_id";
|
|
1888
|
+
var compositionCannotLoad = (lintResult) => lintResult.results[0]?.result.findings.some(leavesNothingToLoad) ?? false;
|
|
1888
1889
|
async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDENCIES) {
|
|
1889
1890
|
beginCheckSnapshots(project.dir);
|
|
1890
1891
|
const prelaunched = dependencies.prelaunchBrowser?.(project, options).catch(() => void 0);
|
|
@@ -1903,7 +1904,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
|
|
|
1903
1904
|
});
|
|
1904
1905
|
const lint = buildLintSection(lintResult);
|
|
1905
1906
|
const { hdr, audio } = await inspectProjectMedia(project, dependencies);
|
|
1906
|
-
if (
|
|
1907
|
+
if (compositionCannotLoad(lintResult)) {
|
|
1907
1908
|
return buildReport(
|
|
1908
1909
|
options,
|
|
1909
1910
|
lint,
|
|
@@ -2378,7 +2379,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2378
2379
|
};
|
|
2379
2380
|
}
|
|
2380
2381
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2381
|
-
const module = await import("./checkBrowser-
|
|
2382
|
+
const module = await import("./checkBrowser-J5UUWIPK.js");
|
|
2382
2383
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2383
2384
|
}
|
|
2384
2385
|
var adoptedBrowser;
|
|
@@ -2392,7 +2393,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2392
2393
|
if (adopted) return adopted;
|
|
2393
2394
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2394
2395
|
if (html === void 0) return void 0;
|
|
2395
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2396
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-BAYKFJMM.js");
|
|
2396
2397
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2397
2398
|
}
|
|
2398
2399
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2404,11 +2405,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2404
2405
|
return relative(projectDir, path);
|
|
2405
2406
|
}
|
|
2406
2407
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2407
|
-
const module = await import("./checkBrowser-
|
|
2408
|
+
const module = await import("./checkBrowser-J5UUWIPK.js");
|
|
2408
2409
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2409
2410
|
}
|
|
2410
2411
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2411
|
-
const module = await import("./checkBrowser-
|
|
2412
|
+
const module = await import("./checkBrowser-J5UUWIPK.js");
|
|
2412
2413
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2413
2414
|
}
|
|
2414
2415
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2430,7 +2431,7 @@ function collectMedia(project) {
|
|
|
2430
2431
|
return collectProjectMedia(project.dir);
|
|
2431
2432
|
}
|
|
2432
2433
|
async function inspectAudio(project, media) {
|
|
2433
|
-
const module = await import("./checkAudio-
|
|
2434
|
+
const module = await import("./checkAudio-QWBAUBJ2.js");
|
|
2434
2435
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2435
2436
|
}
|
|
2436
2437
|
function audioCheckFailure(project, error) {
|
|
@@ -2504,7 +2505,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2504
2505
|
}
|
|
2505
2506
|
},
|
|
2506
2507
|
async prepareMedia(project, options) {
|
|
2507
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2508
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z23O7MZ3.js");
|
|
2508
2509
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2509
2510
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2510
2511
|
},
|
|
@@ -2985,8 +2986,7 @@ function nonNegativeNumber(value, fallback) {
|
|
|
2985
2986
|
return Number.isFinite(parsed) && parsed >= 0 ? parsed : fallback;
|
|
2986
2987
|
}
|
|
2987
2988
|
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.";
|
|
2989
|
+
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
2990
|
}
|
|
2991
2991
|
function printHumanReport(report) {
|
|
2992
2992
|
if (report.scope) {
|
|
@@ -4,10 +4,6 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
TIMING_TOLERANCE_SECONDS,
|
|
9
|
-
resolveCompositionDuration
|
|
10
|
-
} from "./chunk-CZGHFATT.js";
|
|
11
7
|
import {
|
|
12
8
|
cleanAssetUrl,
|
|
13
9
|
collectSubCompositionSrcs,
|
|
@@ -21,6 +17,10 @@ import {
|
|
|
21
17
|
resolveLocalAssetCandidates,
|
|
22
18
|
resolveProjectRelativeSrc
|
|
23
19
|
} from "./chunk-WVRAFHJU.js";
|
|
20
|
+
import {
|
|
21
|
+
TIMING_TOLERANCE_SECONDS,
|
|
22
|
+
resolveCompositionDuration
|
|
23
|
+
} from "./chunk-CZGHFATT.js";
|
|
24
24
|
import {
|
|
25
25
|
findFfBinary
|
|
26
26
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -5692,6 +5692,69 @@ function findLinkedClipFindings(ctx) {
|
|
|
5692
5692
|
}
|
|
5693
5693
|
return findings;
|
|
5694
5694
|
}
|
|
5695
|
+
var AUDIO_ATTRIBUTES = {
|
|
5696
|
+
"data-automation": { list: "lanes", noun: "automation", item: "Lane" },
|
|
5697
|
+
"data-fx-chain": { list: "nodes", noun: "chain", item: "Node" }
|
|
5698
|
+
};
|
|
5699
|
+
var AUDIO_ATTRIBUTE_VERSION = 1;
|
|
5700
|
+
function audioAttributeShapeError(attr, json) {
|
|
5701
|
+
const { list, noun, item } = AUDIO_ATTRIBUTES[attr];
|
|
5702
|
+
const parsed = parseEnvelope(json);
|
|
5703
|
+
if (typeof parsed === "string") return parsed;
|
|
5704
|
+
if (parsed.version !== AUDIO_ATTRIBUTE_VERSION) {
|
|
5705
|
+
return `unsupported ${noun} version: ${String(parsed.version)}`;
|
|
5706
|
+
}
|
|
5707
|
+
const entries = parsed[list];
|
|
5708
|
+
if (!Array.isArray(entries)) return `it is missing a \`${list}\` array`;
|
|
5709
|
+
for (const [i, entry] of entries.entries()) {
|
|
5710
|
+
const reason = entryShapeError(attr, item, i, entry);
|
|
5711
|
+
if (reason) return reason;
|
|
5712
|
+
}
|
|
5713
|
+
return null;
|
|
5714
|
+
}
|
|
5715
|
+
function parseEnvelope(json) {
|
|
5716
|
+
let raw;
|
|
5717
|
+
try {
|
|
5718
|
+
raw = JSON.parse(json);
|
|
5719
|
+
} catch (err) {
|
|
5720
|
+
return `it is not valid JSON (${err.message})`;
|
|
5721
|
+
}
|
|
5722
|
+
if (typeof raw !== "object" || raw === null || Array.isArray(raw))
|
|
5723
|
+
return "it is not a JSON object";
|
|
5724
|
+
return raw;
|
|
5725
|
+
}
|
|
5726
|
+
function entryShapeError(attr, item, i, entry) {
|
|
5727
|
+
if (typeof entry !== "object" || entry === null) return `${item} ${i} is not an object`;
|
|
5728
|
+
const fields = entry;
|
|
5729
|
+
if (attr === "data-fx-chain") {
|
|
5730
|
+
return typeof fields.type === "string" ? null : `Node ${i} has no effect \`type\``;
|
|
5731
|
+
}
|
|
5732
|
+
if (typeof fields.target !== "string") return `Lane ${i} has no \`target\``;
|
|
5733
|
+
if (!Array.isArray(fields.points)) return `Lane ${i} is missing a \`points\` array`;
|
|
5734
|
+
return null;
|
|
5735
|
+
}
|
|
5736
|
+
function findUnreadableAudioAttributeFindings(ctx) {
|
|
5737
|
+
const findings = [];
|
|
5738
|
+
for (const tag of ctx.tags) {
|
|
5739
|
+
for (const attr of Object.keys(AUDIO_ATTRIBUTES)) {
|
|
5740
|
+
const value = readDecodedAttr(tag.raw, attr);
|
|
5741
|
+
if (value === null || value === "") continue;
|
|
5742
|
+
const reason = audioAttributeShapeError(attr, value);
|
|
5743
|
+
if (!reason) continue;
|
|
5744
|
+
const id = readAttr(tag.raw, "id");
|
|
5745
|
+
const { list } = AUDIO_ATTRIBUTES[attr];
|
|
5746
|
+
findings.push({
|
|
5747
|
+
code: "audio_attribute_unreadable",
|
|
5748
|
+
severity: "error",
|
|
5749
|
+
message: `${id ? `#${id}` : `<${tag.name}>`} has a \`${attr}\` the render cannot read: ${reason}. The render fails on it, locally and in the cloud.`,
|
|
5750
|
+
elementId: id || void 0,
|
|
5751
|
+
fixHint: `Write it as {"version": ${AUDIO_ATTRIBUTE_VERSION}, "${list}": [...]}, or remove the attribute.`,
|
|
5752
|
+
snippet: truncateSnippet(tag.raw)
|
|
5753
|
+
});
|
|
5754
|
+
}
|
|
5755
|
+
}
|
|
5756
|
+
return findings;
|
|
5757
|
+
}
|
|
5695
5758
|
function tweensVolumeInSameCall(script, id) {
|
|
5696
5759
|
const selector = new RegExp(`#${escapeRegExp(id)}(?![\\w-])`, "g");
|
|
5697
5760
|
for (let hit = selector.exec(script); hit; hit = selector.exec(script)) {
|
|
@@ -6423,7 +6486,8 @@ var mediaRules = [
|
|
|
6423
6486
|
findAudioGroupCarveAttrFindings,
|
|
6424
6487
|
// audio_group_holds_elements
|
|
6425
6488
|
findAudioGroupHoldsElementsFindings,
|
|
6426
|
-
findLinkedClipFindings
|
|
6489
|
+
findLinkedClipFindings,
|
|
6490
|
+
findUnreadableAudioAttributeFindings
|
|
6427
6491
|
];
|
|
6428
6492
|
function findVolumeTweenOverridesGainFindings(ctx) {
|
|
6429
6493
|
const boosted = ctx.tags.filter((tag) => isMediaTag(tag.name)).map((tag) => ({ tag, volume: Number(readAttr(tag.raw, "data-volume") ?? "1") })).filter((entry) => Number.isFinite(entry.volume) && entry.volume !== 1).filter((entry) => !readDecodedAttr(entry.tag.raw, "data-automation")).map((entry) => ({ ...entry, id: readAttr(entry.tag.raw, "id") })).filter((entry) => Boolean(entry.id));
|
|
@@ -11879,6 +11943,7 @@ export {
|
|
|
11879
11943
|
resolveReferencedStart,
|
|
11880
11944
|
resolveReferencedDuration,
|
|
11881
11945
|
require_dist,
|
|
11946
|
+
audioAttributeShapeError,
|
|
11882
11947
|
LINT_RULE_COUNT,
|
|
11883
11948
|
LINT_RULE_GROUP_COUNTS,
|
|
11884
11949
|
lintHyperframeHtml,
|
|
@@ -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-AIK4ETUZ.js";
|
|
13
13
|
import {
|
|
14
14
|
failCommand
|
|
15
15
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// src/utils/networkFailure.ts
|
|
9
|
+
function describeCauseChain(err) {
|
|
10
|
+
const parts = [];
|
|
11
|
+
let current = err;
|
|
12
|
+
const seen = /* @__PURE__ */ new Set();
|
|
13
|
+
while (current instanceof Error && !seen.has(current)) {
|
|
14
|
+
seen.add(current);
|
|
15
|
+
const code = "code" in current ? current.code : void 0;
|
|
16
|
+
const text = code && !current.message.includes(String(code)) ? `${current.message} [${String(code)}]` : current.message;
|
|
17
|
+
if (text && !parts.includes(text)) parts.push(text);
|
|
18
|
+
current = current.cause;
|
|
19
|
+
}
|
|
20
|
+
if (parts.length === 0) return String(err);
|
|
21
|
+
const [head, ...rest] = parts;
|
|
22
|
+
return rest.length ? `${head} (${rest.join("; ")})` : head;
|
|
23
|
+
}
|
|
24
|
+
var OFFLINE = "this machine looks offline";
|
|
25
|
+
var REASONS = [
|
|
26
|
+
[/certificate|self[- ]signed|unable to verify|altname/i, "the secure connection was refused"],
|
|
27
|
+
[
|
|
28
|
+
/ENOTFOUND|EAI_AGAIN|EAI_NONAME|getaddrinfo/,
|
|
29
|
+
`its address could not be looked up (DNS); ${OFFLINE}`
|
|
30
|
+
],
|
|
31
|
+
[/ENETUNREACH|EHOSTUNREACH|ENETDOWN/, `there is no network route to it; ${OFFLINE}`],
|
|
32
|
+
[/ECONNREFUSED/, "it refused the connection"],
|
|
33
|
+
[/UND_ERR_CONNECT_TIMEOUT|ETIMEDOUT|TimeoutError|timed? ?out/i, "it did not answer in time"],
|
|
34
|
+
[/ECONNRESET|socket hang up|UND_ERR_SOCKET|other side closed/i, "the connection dropped"]
|
|
35
|
+
];
|
|
36
|
+
var NEXT_STEP = "Check the internet connection (behind a proxy, set HTTPS_PROXY) and run the command again.";
|
|
37
|
+
var NetworkFailure = class extends Error {
|
|
38
|
+
hint = NEXT_STEP;
|
|
39
|
+
constructor(host, reason, options) {
|
|
40
|
+
super(`Could not reach ${host}: ${reason}.`, options);
|
|
41
|
+
this.name = "NetworkFailure";
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
function isTransportFailure(error) {
|
|
45
|
+
if (!(error instanceof Error)) return false;
|
|
46
|
+
if (error.name === "TimeoutError") return true;
|
|
47
|
+
return error instanceof TypeError && /fetch failed/i.test(error.message);
|
|
48
|
+
}
|
|
49
|
+
function explainNetworkFailure(error, url) {
|
|
50
|
+
if (error instanceof NetworkFailure || !isTransportFailure(error)) return error;
|
|
51
|
+
const chain = describeCauseChain(error);
|
|
52
|
+
const reason = REASONS.find(([pattern]) => pattern.test(chain))?.[1] ?? `the request failed (${chain})`;
|
|
53
|
+
return new NetworkFailure(new URL(url).host, reason, { cause: error });
|
|
54
|
+
}
|
|
55
|
+
async function fetchExplained(url, init) {
|
|
56
|
+
try {
|
|
57
|
+
return await fetch(url, init);
|
|
58
|
+
} catch (error) {
|
|
59
|
+
throw explainNetworkFailure(error, url);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export {
|
|
64
|
+
describeCauseChain,
|
|
65
|
+
NetworkFailure,
|
|
66
|
+
explainNetworkFailure,
|
|
67
|
+
fetchExplained
|
|
68
|
+
};
|