hyperframes 0.8.206 → 0.8.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/hyperframes.mjs +1 -0
- package/dist/{add-FFMNAJXJ.js → add-XMWRBMBR.js} +22 -20
- package/dist/{agentPromptGenerator-KYO5MKTW.js → agentPromptGenerator-4NJ252MR.js} +6 -2
- package/dist/{animatedGifPrep-BIIIIVWL.js → animatedGifPrep-6XURJIPV.js} +14 -13
- package/dist/api.js +33 -32
- package/dist/{appHistory-QVCSAOI4.js → appHistory-HIBH6XZW.js} +3 -1
- package/dist/{asset-IPUHGZSL.js → asset-I5GGEOB2.js} +2 -2
- package/dist/{assetCataloger-M5FWXLAJ.js → assetCataloger-YBPXUNUP.js} +17 -14
- package/dist/{audio-VYWWM4DB.js → audio-GFJCHH5W.js} +420 -138
- package/dist/{auth-GZQZCUPL.js → auth-QOA55RYR.js} +4 -4
- package/dist/{autoUpdate-GJUDDLLO.js → autoUpdate-SPS4QPJU.js} +4 -4
- package/dist/{backgroundChecks-BTMSW34Z.js → backgroundChecks-HRJO7YK7.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-LI2BJRGO.js → batchRender-FBP3RKUF.js} +11 -10
- package/dist/{beats-H73CSYT4.js → beats-VNGJ7F6W.js} +32 -25
- package/dist/{benchmark-XT3A5REC.js → benchmark-NZ3N3MIV.js} +16 -16
- package/dist/{browser-VIOK66YK.js → browser-BD5BKRJ5.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-PFRVWYOO.js → bundleWithLocalizedFonts-WXVNPAWD.js} +3 -3
- package/dist/{capture-KKD5GMAF.js → capture-CXWXKWS5.js} +120 -54
- package/dist/{capture-252WNPCD.js → capture-LMJ4TQRL.js} +63 -17
- package/dist/{captureCompositionFrame-YLYVGNN2.js → captureCompositionFrame-ZKVCRYYU.js} +21 -20
- package/dist/{captureFile-LYOJOUIE.js → captureFile-VIVGKFY4.js} +2 -1
- package/dist/{catalog-6IJGNN3T.js → catalog-WRXQSCAU.js} +28 -26
- package/dist/{catch-up-BFW7Z35W.js → catch-up-MDSPABFC.js} +7 -7
- package/dist/{check-XUWBZASR.js → check-SIBBK5HA.js} +53 -52
- package/dist/{checkAudio-2NRR3VHQ.js → checkAudio-QQBR4HR7.js} +19 -18
- package/dist/{checkBrowser-JW74KWTF.js → checkBrowser-4EBJLLIH.js} +45 -44
- package/dist/{chunk-XDMZY3H7.js → chunk-3O2E4Q66.js} +15 -20
- package/dist/{chunk-VEA7Z4PZ.js → chunk-43MW4SY7.js} +15 -7
- package/dist/{chunk-HJAJ6W4V.js → chunk-4F5NRJ6M.js} +2 -2
- package/dist/{chunk-2RT7MXFL.js → chunk-4HT2L6W2.js} +1 -1
- package/dist/{chunk-QVTCXN42.js → chunk-4KG3ESVO.js} +30 -4
- package/dist/{chunk-42KN6I6A.js → chunk-4LTBQEPD.js} +2 -2
- package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
- package/dist/{chunk-NVLPW3DG.js → chunk-5HB4JM7H.js} +2 -2
- package/dist/{chunk-2ST4WAFY.js → chunk-5PCALX6G.js} +13 -1
- package/dist/{chunk-AYH5ANVS.js → chunk-5YHQBCWH.js} +52 -3
- package/dist/{chunk-X5HHHFTX.js → chunk-6CWKORZO.js} +3 -3
- package/dist/{chunk-ZF3R2IPC.js → chunk-6DSYBW7Z.js} +1 -0
- package/dist/{chunk-VHVSBOZH.js → chunk-6JNSYFOH.js} +4 -4
- package/dist/{chunk-AJSU6KGS.js → chunk-6N7D2GUV.js} +15 -15
- package/dist/{chunk-F2ASNL2K.js → chunk-6PWQH77E.js} +1 -1
- package/dist/{chunk-ZNAOBFU5.js → chunk-6WRN4WC6.js} +1 -1
- package/dist/{chunk-GAV56VJL.js → chunk-7CPI2DWL.js} +2 -2
- package/dist/{chunk-CMDVJP4T.js → chunk-7PAK7LZ5.js} +11 -11
- package/dist/{chunk-3CISA3OS.js → chunk-AF3L5JJX.js} +1 -1
- package/dist/{chunk-X7RXXBYM.js → chunk-B5MPMIKQ.js} +2 -2
- package/dist/{chunk-RW4DMP2Y.js → chunk-BKDQFOKK.js} +4 -4
- package/dist/{chunk-DZG565OO.js → chunk-BLCKQPBE.js} +1 -1
- package/dist/chunk-BQMAPNDA.js +4830 -0
- package/dist/{chunk-CPSGXAYD.js → chunk-CP225S5H.js} +3 -3
- package/dist/{chunk-3R6SXPHD.js → chunk-CSWCZA6V.js} +3 -3
- package/dist/{chunk-4CY5RXXC.js → chunk-D2CE2J2A.js} +4 -4
- package/dist/{chunk-FMWACL3L.js → chunk-DHQSDCWD.js} +6 -2
- package/dist/chunk-DROFHVQD.js +240 -0
- package/dist/{chunk-OZUAVHFE.js → chunk-DXACKQ3F.js} +3 -3
- package/dist/{chunk-5QKJPCQ4.js → chunk-EGOXYG3M.js} +2 -2
- package/dist/{chunk-QL4ZYSIB.js → chunk-ENRFKCI6.js} +5 -71
- package/dist/{chunk-MRF4AMKD.js → chunk-EQBDKYXR.js} +5 -10
- package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
- package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
- package/dist/{chunk-FULMZCDW.js → chunk-EYEEZXLI.js} +11 -11
- package/dist/{chunk-2MLMO25E.js → chunk-FC4WT5FX.js} +105 -7
- package/dist/{chunk-PLGGKTCB.js → chunk-FFDYRJBE.js} +37 -21
- package/dist/{chunk-7SXL476O.js → chunk-G2A6RC5R.js} +72 -28
- package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
- package/dist/{chunk-CZYS6UKP.js → chunk-GEO6THL3.js} +61 -30
- package/dist/{chunk-MFHYBSJC.js → chunk-GHSO62LK.js} +3 -3
- package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
- package/dist/{chunk-4DGLKB2H.js → chunk-HUKQW4YE.js} +1 -1
- package/dist/{chunk-WYB3VKLK.js → chunk-HZN7ICAF.js} +8 -8
- package/dist/{chunk-6ZFDNEMY.js → chunk-IIJVSCSH.js} +16 -16
- package/dist/{chunk-VDVVQNTK.js → chunk-IL2TMC6F.js} +5 -5
- package/dist/{chunk-L5MFWGGU.js → chunk-J67FSI3Q.js} +623 -376
- package/dist/chunk-JLCAHJUO.js +91 -0
- package/dist/{chunk-N7ZMDVAK.js → chunk-JLGVBK5M.js} +1 -1
- package/dist/{chunk-SFYLZX5C.js → chunk-K4PHB3YQ.js} +59 -15
- package/dist/{chunk-G6W55MTX.js → chunk-KTWGVEN6.js} +40 -11
- package/dist/{chunk-FNNGQ3DB.js → chunk-LSMFOZ4F.js} +2 -2
- package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
- package/dist/{chunk-PNKLOMHQ.js → chunk-MBGM26P5.js} +17 -22
- package/dist/{chunk-ZTEKVSZ6.js → chunk-MMJAHBH2.js} +1 -1
- package/dist/{chunk-RDDVQSNQ.js → chunk-MPO25DQW.js} +451 -208
- package/dist/{chunk-E2ZZSDDQ.js → chunk-MW2NQQ6Z.js} +2 -2
- package/dist/{chunk-TSJVPPXT.js → chunk-MYO77JWR.js} +1 -1
- package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
- package/dist/{chunk-OFRRUYBA.js → chunk-NHA4NRBE.js} +135 -24
- package/dist/{chunk-NNLQTG3M.js → chunk-NZ6G5YWZ.js} +2 -2
- package/dist/{chunk-WHD5IAHI.js → chunk-ORFRUZPB.js} +2 -2
- package/dist/{chunk-Z3XXLTVB.js → chunk-OTXXDONS.js} +3 -3
- package/dist/{chunk-2S263R6D.js → chunk-P7WGVXR7.js} +9 -9
- package/dist/{chunk-AXEEZKIL.js → chunk-PKVA6MPV.js} +6 -6
- package/dist/{chunk-FJW757TF.js → chunk-PSOAGSNO.js} +2 -2
- package/dist/{chunk-AEC4T4IF.js → chunk-PWEOSJ3E.js} +12 -12
- package/dist/{chunk-X7A7C4JS.js → chunk-Q43YUROE.js} +3 -3
- package/dist/{chunk-PQYWYBEQ.js → chunk-QP2MJYTJ.js} +1 -1
- package/dist/{chunk-VW2LVMKB.js → chunk-QWBVPWUI.js} +47 -55
- package/dist/{chunk-AAX2A7LQ.js → chunk-S2OLTAEL.js} +2 -2
- package/dist/{chunk-CNVHMLPI.js → chunk-S4KHJERB.js} +1 -1
- package/dist/{chunk-2BGOB2QK.js → chunk-SE2MXV2N.js} +136 -25
- package/dist/{chunk-3CS6QYL7.js → chunk-SI7QCT2J.js} +8 -8
- package/dist/{chunk-CIHW6VM2.js → chunk-SKKQMW5X.js} +1 -1
- package/dist/{chunk-3B2DBUQX.js → chunk-TNTGGDSD.js} +1 -1
- package/dist/chunk-TSYRN646.js +84 -0
- package/dist/{chunk-XOM3XTJ4.js → chunk-U6KN6OIP.js} +2 -2
- package/dist/{chunk-63DGZRZP.js → chunk-ULL3U6PV.js} +1 -1
- package/dist/{chunk-IXXVS2Z4.js → chunk-VQB7G5BM.js} +1 -1
- package/dist/{chunk-UMUVGNOH.js → chunk-VR3JLTZD.js} +3 -3
- package/dist/{chunk-DEVZJ4AL.js → chunk-VS4SK7BN.js} +17 -11
- package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
- package/dist/{chunk-FLREUEHW.js → chunk-W4DMQZL5.js} +1 -1
- package/dist/chunk-WABB4LZS.js +62 -0
- package/dist/{chunk-RXATE6FZ.js → chunk-WC4MTXGN.js} +22 -0
- package/dist/{chunk-36QE3P6B.js → chunk-WNMVC3IT.js} +1 -1
- package/dist/{chunk-T6SD37JZ.js → chunk-X6MCIK7L.js} +103 -16
- package/dist/chunk-XFMO3BEN.js +71 -0
- package/dist/{chunk-BBUK6A7Q.js → chunk-XG3IZV62.js} +7 -7
- package/dist/chunk-XMRA7CQG.js +22 -0
- package/dist/{chunk-G6QDFWDN.js → chunk-XOFBXLMG.js} +2 -2
- package/dist/{chunk-H4JO7VSI.js → chunk-XUQYC5DD.js} +12 -12
- package/dist/chunk-Z5J67X44.js +40 -0
- package/dist/{chunk-HEP5XMXV.js → chunk-Z5TGBEPJ.js} +9 -2
- package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
- package/dist/{clean-N5VSKUVS.js → clean-6GX7WAEC.js} +32 -31
- package/dist/cli.js +58 -58
- package/dist/{cloud-74NF5FXC.js → cloud-6PFJKLNL.js} +4 -4
- package/dist/{cloudrun-7UOH335V.js → cloudrun-UGG3ZFH7.js} +13 -12
- package/dist/commands/layout-audit.browser.js +3 -15
- package/dist/{compare-AY2LS2TZ.js → compare-P4EBOP4B.js} +46 -45
- package/dist/{compiler-4MHMC777.js → compiler-PG4RKX6K.js} +8 -8
- package/dist/{component-CFWQOAZI.js → component-SQPMI3W7.js} +3 -3
- package/dist/{compositions-DXLJTDSP.js → compositions-KRIHY3IY.js} +20 -19
- package/dist/{contactSheet-5APX35L3.js → contactSheet-RYAE7Y5D.js} +3 -2
- package/dist/{delete-GB4MS7LM.js → delete-T5TO4SV6.js} +7 -7
- package/dist/{deploy-NXD3Q3KD.js → deploy-AO6LQR5G.js} +6 -6
- package/dist/{deterministicFonts-775YXAQ2.js → deterministicFonts-LKAGUNE5.js} +3 -3
- package/dist/{dist-3ZJMZU75.js → dist-23AAB5X2.js} +36 -36
- package/dist/{dist-ZY6IFESG.js → dist-6IMEDVMC.js} +6 -3
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/docs/rendering.md +3 -0
- package/dist/{doctor-CVY2XXKS.js → doctor-QBUJQ655.js} +23 -22
- package/dist/{events-RYQYEWBV.js → events-J7CESLKQ.js} +4 -4
- package/dist/{events-T3CLIYRG.js → events-SIZO7YHI.js} +5 -5
- package/dist/{feedback-K5ZMMLTA.js → feedback-74WOJ5PN.js} +22 -22
- package/dist/{ffmpeg-UNDAJ2IC.js → ffmpeg-AKUP6U2S.js} +17 -16
- package/dist/{figma-MYYCX635.js → figma-GGMYRR4Q.js} +3 -3
- package/dist/fontLocalizeCli.js +21 -19
- package/dist/{get-JVIDYMVP.js → get-PLKAI6JM.js} +7 -7
- package/dist/{gpuPolicy-KEX7GDRJ.js → gpuPolicy-EYDAAPJF.js} +14 -13
- package/dist/{grade-compare-QEF6VASJ.js → grade-compare-UADJP4AV.js} +44 -43
- package/dist/{gsapParserAcorn-LZJKCFQI.js → gsapParserAcorn-5YD4N6HQ.js} +2 -2
- package/dist/hangReport.js +47 -0
- package/dist/{heifImagePrep-A3ZPVQGU.js → heifImagePrep-KDF3OPOK.js} +15 -14
- package/dist/{help-XPPSLIRY.js → help-WSQQ555Q.js} +1 -1
- package/dist/{history-OFOPRD27.js → history-VSQ2DQ3V.js} +110 -62
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +76 -71
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-7RF6FQX5.js → info-MOQ4LRC3.js} +18 -18
- package/dist/{init-NTIXWA3D.js → init-EONQSZJG.js} +62 -60
- package/dist/{inspect-MYMCV5E7.js → inspect-OLCVLHOU.js} +43 -42
- package/dist/{installer-PYJIJ3PJ.js → installer-GHISA75B.js} +10 -10
- package/dist/{keyframes-UJ52PYE4.js → keyframes-DGQYCY24.js} +13 -13
- package/dist/{lambda-SBNUYEQE.js → lambda-AMMWF2YH.js} +35 -15
- package/dist/{layout-IOMCOABO.js → layout-R6CAPGRO.js} +43 -42
- package/dist/{lint-AQWHHMPS.js → lint-QZJEYPHD.js} +14 -11
- package/dist/{lintProject-5A4SCW3S.js → lintProject-W3YVHAGP.js} +6 -3
- package/dist/{list-WKAJ5SP3.js → list-KCJID4SP.js} +7 -7
- package/dist/localPage-V3HBGM3Z.js +27 -0
- package/dist/{login-3ZDK5JOA.js → login-7HKBEPJS.js} +7 -7
- package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
- package/dist/{manager-QYFYWZOK.js → manager-6YSKJMVD.js} +19 -18
- package/dist/{manager-F2YREC5X.js → manager-Z7W4GQGF.js} +9 -5
- package/dist/{media-treatment-4OLWVHUY.js → media-treatment-E3DL6LEZ.js} +34 -31
- package/dist/{models-MR55FAUX.js → models-URWI7YEG.js} +30 -29
- package/dist/{motionShot-DC47S7BT.js → motionShot-27IXMDJK.js} +25 -24
- package/dist/{normalize-audio-M2TK4NG5.js → normalize-audio-WGRLPR3P.js} +16 -16
- package/dist/{open-YXWBWTKL.js → open-LQ35PLEN.js} +21 -21
- package/dist/{parakeetRunner-J6QR3GTG.js → parakeetRunner-XASVIDTI.js} +27 -26
- package/dist/{pipeline-7MJ5H4SW.js → pipeline-GA7QVCHS.js} +18 -17
- package/dist/{play-S562STR4.js → play-RYZP77CI.js} +31 -31
- package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
- package/dist/{preflight-QWGXMISC.js → preflight-HJFSJXXF.js} +19 -18
- package/dist/{present-PGOHZT3L.js → present-YBMLOWZV.js} +26 -26
- package/dist/{preview-JU75H4QN.js → preview-QIRKJCRV.js} +52 -39
- package/dist/{producer-H66OMZLW.js → producer-524FDOLX.js} +1 -1
- package/dist/{projectConfig-COSP24YT.js → projectConfig-IDQN5ZRW.js} +14 -13
- package/dist/{publication-J3XYHPGB.js → publication-3X3IGSDO.js} +8 -8
- package/dist/{publish-7GCCEPJZ.js → publish-2BF7K6HX.js} +21 -20
- package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
- package/dist/{remove-background-WRCGIU32.js → remove-background-EZBCEFT6.js} +22 -21
- package/dist/{render-QS3YJCBR.js → render-EFUA2A6A.js} +15 -11
- package/dist/{render-VUVTK2JM.js → render-JFMTAXHD.js} +87 -53
- package/dist/{render-5J5PP3UK.js → render-TEEBI2UT.js} +49 -43
- package/dist/{render-batch-Q2LQ3D4P.js → render-batch-XTYNXVSW.js} +16 -12
- package/dist/renderSetupWorker.js +12 -9
- package/dist/{resolver-QCBWPRSC.js → resolver-FZS6TN6B.js} +10 -10
- package/dist/{screenshotCapture-I5EDCITF.js → screenshotCapture-HOW4VSV6.js} +3 -2
- package/dist/{sherpa-IZ22SC5W.js → sherpa-TQIAIKTH.js} +26 -25
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/format.md +1 -0
- package/dist/skills/hyperframes-cli/references/beats.md +2 -0
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -0
- package/dist/skills/hyperframes-cli/references/lambda.md +3 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +3 -0
- package/dist/skills/media-use/references/grading.md +2 -0
- package/dist/skills/media-use/references/local.md +1 -0
- package/dist/{skills-3RFMPMJA.js → skills-S6ZG5KKH.js} +10 -10
- package/dist/{skillsUpdateCheck-DWBFVUBT.js → skillsUpdateCheck-XC7JQL3F.js} +5 -5
- package/dist/{snapshot-5PHA43DK.js → snapshot-ERYZIM32.js} +152 -80
- package/dist/{src-4YJKYMNF.js → src-6XOMREMS.js} +21 -12
- package/dist/{src-36BQVJL3.js → src-OL6RHPE4.js} +22 -20
- package/dist/{staticProjectServer-3XFB76XS.js → staticProjectServer-JYDDGPAH.js} +26 -26
- package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
- package/dist/studio/assets/hyperframes-player-5dRdMVOq.js +478 -0
- package/dist/studio/assets/{index-CwreIGoq.js → index-Bu3mJUU2.js} +131 -131
- package/dist/studio/assets/{index-BNuxGFZK.js → index-ZqyQ91pm.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-WL6EZ4KE.js → studio-api-GRU4SHKD.js} +18 -18
- package/dist/{studioServer-ZS5RA6U3.js → studioServer-OYPBEI5B.js} +76 -73
- package/dist/{synthesize-QCRP3NI7.js → synthesize-QZHRXGRY.js} +26 -4
- package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
- package/dist/{telemetry-W3LRO3TB.js → telemetry-CPYINR63.js} +5 -5
- package/dist/{timeline-BDO5DYWP.js → timeline-RGK5BMPD.js} +34 -33
- package/dist/{tokens-47CEMYFV.js → tokens-EX4BOWRW.js} +2 -2
- package/dist/{transcribe-XF3NL6JI.js → transcribe-MK367I6A.js} +24 -23
- package/dist/{transcribe-GEPVJO3A.js → transcribe-RI52JMVW.js} +35 -34
- package/dist/{tts-QM4RFE7U.js → tts-AY4JO5NQ.js} +2 -2
- package/dist/{updateCheck-BON6ZFYP.js → updateCheck-BIEJKQI4.js} +4 -4
- package/dist/{upgrade-KIF5Z4J3.js → upgrade-ES3UUI7O.js} +4 -4
- package/dist/upstreamProxy-W5FWAT5Z.js +17 -0
- package/dist/{urlDownloader-UDRHVUWR.js → urlDownloader-XAGYSTAG.js} +13 -12
- package/dist/{validate-2OPSQT3W.js → validate-A6GZHNEI.js} +36 -35
- package/dist/{video-ECWXMY4F.js → video-OEMGR3MN.js} +19 -15
- package/dist/warmCheck.js +53 -52
- package/package.json +2 -1
- package/dist/chunk-4YYJOFKS.js +0 -28
- package/dist/chunk-KLIPVNCO.js +0 -4824
- package/dist/studio/assets/hyperframes-player-lCVwx9d3.js +0 -478
- package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeCaptureFileSync
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
toDomNode
|
|
12
|
-
} from "./chunk-LLMSX6V6.js";
|
|
9
|
+
} from "./chunk-EQBDKYXR.js";
|
|
13
10
|
import {
|
|
14
11
|
parseAngle
|
|
15
12
|
} from "./chunk-KZI44OPA.js";
|
|
13
|
+
import {
|
|
14
|
+
toDomNode
|
|
15
|
+
} from "./chunk-LLMSX6V6.js";
|
|
16
16
|
import {
|
|
17
17
|
formatLintFindings
|
|
18
18
|
} from "./chunk-6CSYCFQV.js";
|
|
@@ -25,38 +25,39 @@ import {
|
|
|
25
25
|
findFFmpeg,
|
|
26
26
|
findFFprobe,
|
|
27
27
|
getFFmpegInstallHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-EGOXYG3M.js";
|
|
29
29
|
import {
|
|
30
|
+
parseTimeoutMs,
|
|
30
31
|
pngDimensions,
|
|
31
32
|
reportArtifacts,
|
|
32
33
|
withProjectLock
|
|
33
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FFDYRJBE.js";
|
|
34
35
|
import {
|
|
35
36
|
captureArtifactRevision
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-S2OLTAEL.js";
|
|
38
|
+
import "./chunk-CSWCZA6V.js";
|
|
38
39
|
import "./chunk-X7MTZ4T2.js";
|
|
39
40
|
import {
|
|
40
41
|
resolveProject
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Z5TGBEPJ.js";
|
|
42
43
|
import {
|
|
43
44
|
serveStaticProjectHtml
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-P7WGVXR7.js";
|
|
46
|
+
import "./chunk-DXACKQ3F.js";
|
|
46
47
|
import "./chunk-X7MTZ4T2.js";
|
|
47
48
|
import "./chunk-XUHOIDKG.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-G2A6RC5R.js";
|
|
50
|
+
import "./chunk-PWEOSJ3E.js";
|
|
51
|
+
import "./chunk-VQB7G5BM.js";
|
|
52
|
+
import "./chunk-IL2TMC6F.js";
|
|
52
53
|
import {
|
|
53
54
|
artifactDirectory,
|
|
54
55
|
finishSnapshotRun,
|
|
55
56
|
forgetRecordedArtifacts,
|
|
56
57
|
recordArtifacts,
|
|
57
58
|
retainSnapshotOutput
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-3O2E4Q66.js";
|
|
60
|
+
import "./chunk-PKVA6MPV.js";
|
|
60
61
|
import "./chunk-ALVXFXUG.js";
|
|
61
62
|
import {
|
|
62
63
|
DEFAULT_ZOOM_SCALE,
|
|
@@ -68,36 +69,36 @@ import {
|
|
|
68
69
|
runFfmpegOnce,
|
|
69
70
|
seekCompositionTimelineOnly,
|
|
70
71
|
settleCompositionSeek
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-7PAK7LZ5.js";
|
|
73
|
+
import "./chunk-X6MCIK7L.js";
|
|
73
74
|
import "./chunk-MOEGCMKI.js";
|
|
74
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-ENRFKCI6.js";
|
|
75
76
|
import "./chunk-DKPNNYBZ.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-QP2MJYTJ.js";
|
|
77
78
|
import "./chunk-K2FLNJVB.js";
|
|
78
79
|
import "./chunk-EHSBBBR2.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-ULL3U6PV.js";
|
|
80
81
|
import "./chunk-543U46OR.js";
|
|
81
82
|
import {
|
|
82
83
|
resolveLocalBrowserGpuMode
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-4LTBQEPD.js";
|
|
85
|
+
import "./chunk-ORFRUZPB.js";
|
|
85
86
|
import "./chunk-XT7X6QCP.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-XMRA7CQG.js";
|
|
87
88
|
import "./chunk-HVW7ABXD.js";
|
|
88
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-TNTGGDSD.js";
|
|
89
90
|
import {
|
|
90
91
|
runWithConcurrencyLimit
|
|
91
92
|
} from "./chunk-JHOCK3DG.js";
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-OTXXDONS.js";
|
|
94
|
+
import "./chunk-HUKQW4YE.js";
|
|
94
95
|
import "./chunk-AWDFDFI3.js";
|
|
95
96
|
import "./chunk-P6LJ4Y32.js";
|
|
96
97
|
import "./chunk-GMECXFAN.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-W4DMQZL5.js";
|
|
98
99
|
import "./chunk-EOVYQ3IG.js";
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-DHQSDCWD.js";
|
|
101
|
+
import "./chunk-PSOAGSNO.js";
|
|
101
102
|
import "./chunk-VWG7OQKU.js";
|
|
102
103
|
import {
|
|
103
104
|
defineCommand
|
|
@@ -110,7 +111,7 @@ import {
|
|
|
110
111
|
import {
|
|
111
112
|
c
|
|
112
113
|
} from "./chunk-ZTZA4UWZ.js";
|
|
113
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-5YHQBCWH.js";
|
|
114
115
|
import "./chunk-EVMY7IPL.js";
|
|
115
116
|
import "./chunk-7FMUTGOH.js";
|
|
116
117
|
import {
|
|
@@ -119,68 +120,70 @@ import {
|
|
|
119
120
|
evaluateHfDiagnostic,
|
|
120
121
|
extractMediaMetadata,
|
|
121
122
|
sdrCanvasColourFilters
|
|
122
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-MPO25DQW.js";
|
|
124
|
+
import "./chunk-Z5J67X44.js";
|
|
123
125
|
import "./chunk-5S7W3TUO.js";
|
|
126
|
+
import "./chunk-GHSO62LK.js";
|
|
124
127
|
import {
|
|
125
128
|
createRuntimeStartTimeResolver,
|
|
126
129
|
isClipVisibleAt,
|
|
127
130
|
isInClipWindow
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import "./chunk-RQVDTPGD.js";
|
|
130
|
-
import "./chunk-MFHYBSJC.js";
|
|
131
|
+
} from "./chunk-QWBVPWUI.js";
|
|
131
132
|
import {
|
|
132
133
|
readElementRateSpec,
|
|
133
134
|
sourceTimeAt,
|
|
134
135
|
timeAtSourceTime
|
|
135
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-BQMAPNDA.js";
|
|
136
137
|
import "./chunk-VC76R6W2.js";
|
|
137
|
-
import {
|
|
138
|
-
topLevelElements,
|
|
139
|
-
trackKindOf
|
|
140
|
-
} from "./chunk-OFRRUYBA.js";
|
|
141
|
-
import "./chunk-FR7YBU3H.js";
|
|
142
138
|
import "./chunk-OFQWTKPW.js";
|
|
143
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-RQVDTPGD.js";
|
|
144
140
|
import "./chunk-3GXQPCJC.js";
|
|
145
141
|
import "./chunk-634HSJ3J.js";
|
|
146
142
|
import "./chunk-FXMKHHPO.js";
|
|
147
143
|
import {
|
|
148
144
|
runCancellableProcess
|
|
149
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-Q43YUROE.js";
|
|
150
146
|
import {
|
|
151
147
|
definitiveEntryMismatchComposition,
|
|
152
148
|
hasDefinitiveEntryMismatch
|
|
153
149
|
} from "./chunk-Q5X2B5WT.js";
|
|
150
|
+
import "./chunk-KGPLIH7B.js";
|
|
154
151
|
import "./chunk-QSFWGZG6.js";
|
|
155
152
|
import "./chunk-XT6MXC7A.js";
|
|
156
153
|
import "./chunk-K4MJX7SR.js";
|
|
157
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-ERUQ3S6D.js";
|
|
158
155
|
import {
|
|
159
156
|
lintProject
|
|
160
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-FC4WT5FX.js";
|
|
161
158
|
import "./chunk-CZGHFATT.js";
|
|
162
159
|
import "./chunk-VAS6HQX3.js";
|
|
163
160
|
import "./chunk-PBNWRWKA.js";
|
|
164
|
-
import "./chunk-
|
|
161
|
+
import "./chunk-SE2MXV2N.js";
|
|
162
|
+
import {
|
|
163
|
+
topLevelElements,
|
|
164
|
+
trackKindOf
|
|
165
|
+
} from "./chunk-NHA4NRBE.js";
|
|
166
|
+
import "./chunk-FR7YBU3H.js";
|
|
167
|
+
import "./chunk-DPVXBVLL.js";
|
|
165
168
|
import {
|
|
166
169
|
parseHTML
|
|
167
170
|
} from "./chunk-GWTIFRF5.js";
|
|
168
171
|
import "./chunk-2RY2LWAA.js";
|
|
169
172
|
import "./chunk-3422KMTD.js";
|
|
170
|
-
import "./chunk-
|
|
173
|
+
import "./chunk-WC4MTXGN.js";
|
|
171
174
|
import "./chunk-UIOZIIB7.js";
|
|
172
175
|
import {
|
|
173
176
|
withMeta
|
|
174
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-U6KN6OIP.js";
|
|
175
178
|
import "./chunk-K4WIOZFP.js";
|
|
176
|
-
import "./chunk-
|
|
179
|
+
import "./chunk-NEASABW6.js";
|
|
177
180
|
import "./chunk-WERLJGIC.js";
|
|
178
181
|
import "./chunk-ISN5GRYI.js";
|
|
179
|
-
import "./chunk-
|
|
182
|
+
import "./chunk-MW2NQQ6Z.js";
|
|
180
183
|
import {
|
|
184
|
+
atStep,
|
|
181
185
|
normalizeErrorMessage
|
|
182
|
-
} from "./chunk-
|
|
183
|
-
import "./chunk-KGPLIH7B.js";
|
|
186
|
+
} from "./chunk-EU7MVORF.js";
|
|
184
187
|
import "./chunk-M2WBOQ2Q.js";
|
|
185
188
|
|
|
186
189
|
// src/commands/snapshotSampling.ts
|
|
@@ -242,7 +245,16 @@ function resolveSnapshotCompositionRange(html, durations, id, duration) {
|
|
|
242
245
|
|
|
243
246
|
// src/commands/snapshot.ts
|
|
244
247
|
import { randomUUID } from "crypto";
|
|
245
|
-
import {
|
|
248
|
+
import {
|
|
249
|
+
existsSync,
|
|
250
|
+
mkdtempSync,
|
|
251
|
+
readdirSync,
|
|
252
|
+
readFileSync,
|
|
253
|
+
mkdirSync,
|
|
254
|
+
rmSync,
|
|
255
|
+
statSync,
|
|
256
|
+
writeFileSync
|
|
257
|
+
} from "fs";
|
|
246
258
|
import { tmpdir } from "os";
|
|
247
259
|
import { resolve, join, relative, isAbsolute, basename, posix } from "path";
|
|
248
260
|
|
|
@@ -408,7 +420,7 @@ function reviewFrames(plan) {
|
|
|
408
420
|
}
|
|
409
421
|
var BEAT_SHEET_PAGE = 16;
|
|
410
422
|
async function writeReviewSheets(dir, frames, written) {
|
|
411
|
-
const { createContactSheet } = await import("./contactSheet-
|
|
423
|
+
const { createContactSheet } = await import("./contactSheet-RYAE7Y5D.js");
|
|
412
424
|
const { join: join2 } = await import("path");
|
|
413
425
|
const captured = frames.flatMap((frame) => {
|
|
414
426
|
const path = written(frame);
|
|
@@ -487,10 +499,13 @@ function orbitStageSource() {
|
|
|
487
499
|
var FFMPEG_EXTRACT_TIMEOUT_MS = 3e4;
|
|
488
500
|
var FALLBACK_SEEK_LEAD_SECONDS = 5;
|
|
489
501
|
var RENDER_READY_TIMEOUT_MS = DEFAULT_CONFIG.playerReadyTimeout;
|
|
502
|
+
function timeoutUnitHint(timeoutMs) {
|
|
503
|
+
return timeoutMs < 1e3 ? ` --timeout is in milliseconds, so ${timeoutMs} is ${timeoutMs} ms; 45000 is 45 s.` : "";
|
|
504
|
+
}
|
|
490
505
|
async function renderNotReadyError(page, timeoutMs) {
|
|
491
506
|
const diagnostic = await evaluateHfDiagnostic(page).then(buildZeroDurationDiagnostic, () => "");
|
|
492
507
|
return new Error(
|
|
493
|
-
`The composition was not render-ready after ${timeoutMs}ms, so no frame was saved (raise --timeout if it loads slowly)
|
|
508
|
+
`The composition was not render-ready after ${timeoutMs}ms, so no frame was saved (raise --timeout if it loads slowly).${timeoutUnitHint(timeoutMs)}
|
|
494
509
|
${diagnostic}`
|
|
495
510
|
);
|
|
496
511
|
}
|
|
@@ -498,7 +513,37 @@ var VIDEO_FRAME_EXTRACT_CONCURRENCY = 4;
|
|
|
498
513
|
function formatSnapshotTimestamp(time) {
|
|
499
514
|
return `${Number(time.toFixed(3))}s`;
|
|
500
515
|
}
|
|
516
|
+
function snapshotsOnDisk(projectDir, paths) {
|
|
517
|
+
const written = [];
|
|
518
|
+
const missing = [];
|
|
519
|
+
for (const path of paths) {
|
|
520
|
+
const absolute = resolve(projectDir, path);
|
|
521
|
+
let size = 0;
|
|
522
|
+
try {
|
|
523
|
+
size = statSync(absolute).size;
|
|
524
|
+
} catch {
|
|
525
|
+
}
|
|
526
|
+
(size > 0 ? written : missing).push(absolute);
|
|
527
|
+
}
|
|
528
|
+
return { written, missing };
|
|
529
|
+
}
|
|
501
530
|
var SNAPSHOT_IMAGE_NAME = /^(?:(?:frame-\d+-|ref-(?:\d+-)?)?at-[\d.]+s\.png|pair-(?:\d+-)?at-[\d.]+s\.jpg|(?:beat-\d+|seam-\d+-\d+)-at-[\d.]+s\.png|(?:contact-sheet|review-beats|review-phone)(?:-\d+)?\.jpg|review-seam-\d+\.jpg)$/;
|
|
531
|
+
function clearEarlierStills(snapshotDir) {
|
|
532
|
+
const cleared = [];
|
|
533
|
+
try {
|
|
534
|
+
for (const file of readdirSync(snapshotDir)) {
|
|
535
|
+
if (!SNAPSHOT_IMAGE_NAME.test(file)) continue;
|
|
536
|
+
const path = resolve(snapshotDir, file);
|
|
537
|
+
rmSync(path, { force: true });
|
|
538
|
+
cleared.push(path);
|
|
539
|
+
}
|
|
540
|
+
} catch {
|
|
541
|
+
}
|
|
542
|
+
return cleared;
|
|
543
|
+
}
|
|
544
|
+
function clearedNote(count, snapshotDir) {
|
|
545
|
+
return `cleared ${count} stills from an earlier run in ${resolve(snapshotDir)}`;
|
|
546
|
+
}
|
|
502
547
|
function assertDistinctKeepNames(times) {
|
|
503
548
|
const timeByLabel = /* @__PURE__ */ new Map();
|
|
504
549
|
for (const time of times) {
|
|
@@ -746,8 +791,14 @@ function parseZoomScale(value) {
|
|
|
746
791
|
const parsed = parseFloat(String(value ?? ""));
|
|
747
792
|
return Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_ZOOM_SCALE;
|
|
748
793
|
}
|
|
794
|
+
var TAIL_BACKOFF_MIN_SECONDS = 0.05;
|
|
795
|
+
var TAIL_BACKOFF_MAX_SECONDS = 0.25;
|
|
749
796
|
function tailFrameTime(duration) {
|
|
750
|
-
|
|
797
|
+
const backoff = Math.min(
|
|
798
|
+
TAIL_BACKOFF_MAX_SECONDS,
|
|
799
|
+
Math.max(TAIL_BACKOFF_MIN_SECONDS, duration * 0.03)
|
|
800
|
+
);
|
|
801
|
+
return Math.max(0, duration - backoff);
|
|
751
802
|
}
|
|
752
803
|
function computeSnapshotTimes(duration, opts) {
|
|
753
804
|
const includeEnd = opts.includeEnd !== false;
|
|
@@ -772,7 +823,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
772
823
|
}
|
|
773
824
|
async function captureSnapshots(projectDir, opts) {
|
|
774
825
|
const log = opts.log ?? ((message) => console.log(message));
|
|
775
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
826
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-WXVNPAWD.js");
|
|
776
827
|
const capture = await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
777
828
|
const invocation = randomUUID();
|
|
778
829
|
const artifacts = [];
|
|
@@ -835,7 +886,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
835
886
|
return 0;
|
|
836
887
|
});
|
|
837
888
|
if (duration <= 0 && !opts.at?.length) {
|
|
838
|
-
return { paths: [], warnings, pairSheetsSkipped: false };
|
|
889
|
+
return { paths: [], cleared: [], warnings, pairSheetsSkipped: false };
|
|
839
890
|
}
|
|
840
891
|
const readTiming = () => page.evaluate(() => ({
|
|
841
892
|
html: document.documentElement.outerHTML,
|
|
@@ -891,22 +942,15 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
891
942
|
const cameraExpr = opts.angle && (opts.angle.yaw !== 0 || opts.angle.pitch !== 0) ? `(${orbitStageSource()})(${JSON.stringify(opts.angle)})` : null;
|
|
892
943
|
const snapshotDir = opts.outputDir ?? artifactDirectory(projectDir, "snapshots");
|
|
893
944
|
mkdirSync(snapshotDir, { recursive: true });
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
if (SNAPSHOT_IMAGE_NAME.test(file)) {
|
|
898
|
-
const path = resolve(snapshotDir, file);
|
|
899
|
-
replaced.push(path);
|
|
900
|
-
rmSync(path, { force: true });
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
} catch {
|
|
945
|
+
if (!opts.keep) replaced.push(...clearEarlierStills(snapshotDir));
|
|
946
|
+
if (replaced.length > 0) {
|
|
947
|
+
log(` ${c.warn("\u26A0")} ${clearedNote(replaced.length, snapshotDir)}`);
|
|
904
948
|
}
|
|
905
949
|
let injectVideoFramesBatch = null;
|
|
906
950
|
let syncVideoFrameVisibility = null;
|
|
907
951
|
let extractMediaMetadata2 = null;
|
|
908
952
|
try {
|
|
909
|
-
const engine = await import("./src-
|
|
953
|
+
const engine = await import("./src-6XOMREMS.js");
|
|
910
954
|
injectVideoFramesBatch = engine.injectVideoFramesBatch;
|
|
911
955
|
syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
|
|
912
956
|
extractMediaMetadata2 = engine.extractMediaMetadata;
|
|
@@ -932,7 +976,10 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
932
976
|
for (let i = 0; i < positions.length; i++) {
|
|
933
977
|
const time = positions[i];
|
|
934
978
|
const seekOptions = { exactTime: true, waitForImagesMs: SCREENSHOT_IMAGE_WAIT_MS };
|
|
935
|
-
await
|
|
979
|
+
await atStep(
|
|
980
|
+
`seeking to ${time}s, frame ${i + 1} of ${positions.length}`,
|
|
981
|
+
() => seekCompositionTimelineOnly(page, time, seekOptions)
|
|
982
|
+
);
|
|
936
983
|
if (cameraExpr) await page.evaluate(cameraExpr);
|
|
937
984
|
if (injectVideoFramesBatch && syncVideoFrameVisibility) {
|
|
938
985
|
const candidates = await page.evaluate(() => {
|
|
@@ -1074,7 +1121,10 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
1074
1121
|
} else {
|
|
1075
1122
|
writeCaptureFileSync(
|
|
1076
1123
|
framePath,
|
|
1077
|
-
await
|
|
1124
|
+
await atStep(
|
|
1125
|
+
`capturing the frame at ${time}s`,
|
|
1126
|
+
() => page.screenshot({ type: "png", omitBackground: true })
|
|
1127
|
+
)
|
|
1078
1128
|
);
|
|
1079
1129
|
}
|
|
1080
1130
|
artifacts.push({
|
|
@@ -1104,7 +1154,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
1104
1154
|
const pairPath = join(snapshotDir, `pair-${slot}.jpg`);
|
|
1105
1155
|
if (!pairSheetFailure) {
|
|
1106
1156
|
try {
|
|
1107
|
-
const { createContactSheet } = await import("./contactSheet-
|
|
1157
|
+
const { createContactSheet } = await import("./contactSheet-RYAE7Y5D.js");
|
|
1108
1158
|
await createContactSheet([framePath, refPath], pairPath, {
|
|
1109
1159
|
cols: 2,
|
|
1110
1160
|
maxImages: 2,
|
|
@@ -1147,6 +1197,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
1147
1197
|
}
|
|
1148
1198
|
return {
|
|
1149
1199
|
paths: savedPaths,
|
|
1200
|
+
cleared: replaced,
|
|
1150
1201
|
warnings,
|
|
1151
1202
|
pairSheetsSkipped: pairSheetFailure !== null,
|
|
1152
1203
|
...review && reviewList ? {
|
|
@@ -1205,6 +1256,12 @@ function snapshotEnvelope(projectDir, outputDir, captured, extra) {
|
|
|
1205
1256
|
ok: true,
|
|
1206
1257
|
outputDir,
|
|
1207
1258
|
frames,
|
|
1259
|
+
...captured.cleared.length > 0 ? {
|
|
1260
|
+
cleared: {
|
|
1261
|
+
count: captured.cleared.length,
|
|
1262
|
+
note: clearedNote(captured.cleared.length, outputDir)
|
|
1263
|
+
}
|
|
1264
|
+
} : {},
|
|
1208
1265
|
contactSheets: extra.contactSheets.map((sheet) => resolve(sheet)),
|
|
1209
1266
|
...captured.warnings.length > 0 ? { warnings: captured.warnings } : {},
|
|
1210
1267
|
...extra.describedPath ? { descriptions: extra.describedPath } : {},
|
|
@@ -1394,7 +1451,7 @@ var snapshot_default = defineCommand({
|
|
|
1394
1451
|
}
|
|
1395
1452
|
failCommand();
|
|
1396
1453
|
}
|
|
1397
|
-
const timeout =
|
|
1454
|
+
const timeout = parseTimeoutMs(args.timeout, RENDER_READY_TIMEOUT_MS);
|
|
1398
1455
|
const describePrompt = resolveDescribePrompt(args.describe);
|
|
1399
1456
|
const camera = args.angle ? parseAngle(String(args.angle)) : void 0;
|
|
1400
1457
|
const zoomTarget = args.zoom ? parseZoomTarget(String(args.zoom)) : void 0;
|
|
@@ -1429,18 +1486,29 @@ var snapshot_default = defineCommand({
|
|
|
1429
1486
|
review: reviewMode,
|
|
1430
1487
|
log
|
|
1431
1488
|
});
|
|
1432
|
-
const
|
|
1433
|
-
const
|
|
1489
|
+
const onDisk = snapshotsOnDisk(project.dir, captured.paths);
|
|
1490
|
+
const paths = onDisk.written;
|
|
1491
|
+
const framePaths = paths;
|
|
1434
1492
|
reportArtifacts("snapshot", "frame", framePaths);
|
|
1435
|
-
if (paths.length === 0) {
|
|
1493
|
+
if (captured.paths.length === 0) {
|
|
1436
1494
|
fail(`
|
|
1437
1495
|
${c.error("\u2717")} Could not determine composition duration \u2014 no frames captured`);
|
|
1438
1496
|
}
|
|
1497
|
+
const short = onDisk.missing.length > 0;
|
|
1498
|
+
const mark = short ? c.error("\u2717") : c.success("\u25C7");
|
|
1499
|
+
const count = short ? `${paths.length} of ${captured.paths.length}` : String(paths.length);
|
|
1439
1500
|
log(`
|
|
1440
|
-
${
|
|
1501
|
+
${mark} ${count} snapshots saved to ${snapshotDir}`);
|
|
1441
1502
|
for (const p of paths) {
|
|
1442
1503
|
log(` ${p}`);
|
|
1443
1504
|
}
|
|
1505
|
+
if (short) {
|
|
1506
|
+
const gone = onDisk.missing.map((path) => `
|
|
1507
|
+
missing: ${path}`).join("");
|
|
1508
|
+
fail(
|
|
1509
|
+
`${c.error("\u2717")} Only ${paths.length} of ${captured.paths.length} snapshots are on disk in ${snapshotDir}.${gone}`
|
|
1510
|
+
);
|
|
1511
|
+
}
|
|
1444
1512
|
if (against) {
|
|
1445
1513
|
log(
|
|
1446
1514
|
captured.pairSheetsSkipped ? ` ${c.dim("ref-*.png")} beside each frame (reference frame)` : ` ${c.dim("ref-*.png + pair-*.jpg")} beside each frame (reference frame, render | reference sheet)`
|
|
@@ -1449,7 +1517,7 @@ ${c.success("\u25C7")} ${paths.length} snapshots saved to ${snapshotDir}`);
|
|
|
1449
1517
|
let contactSheets = [];
|
|
1450
1518
|
let reviewSheets;
|
|
1451
1519
|
try {
|
|
1452
|
-
const { createSnapshotContactSheet } = await import("./contactSheet-
|
|
1520
|
+
const { createSnapshotContactSheet } = await import("./contactSheet-RYAE7Y5D.js");
|
|
1453
1521
|
if (captured.review) {
|
|
1454
1522
|
const written = new Map(
|
|
1455
1523
|
captured.review.frames.map((frame) => [frame.file, frame.path])
|
|
@@ -1586,6 +1654,8 @@ ${c.error("\u2717")} Snapshot failed: ${msg}`);
|
|
|
1586
1654
|
});
|
|
1587
1655
|
export {
|
|
1588
1656
|
SNAPSHOT_IMAGE_NAME,
|
|
1657
|
+
clearEarlierStills,
|
|
1658
|
+
clearedNote,
|
|
1589
1659
|
computeSnapshotTimes,
|
|
1590
1660
|
containingSourceFrameIndex,
|
|
1591
1661
|
snapshot_default as default,
|
|
@@ -1602,5 +1672,7 @@ export {
|
|
|
1602
1672
|
resolveSnapshotVideoFrameTime,
|
|
1603
1673
|
resolveSnapshotVideoRateSpec,
|
|
1604
1674
|
serveCapturePage,
|
|
1605
|
-
|
|
1675
|
+
snapshotsOnDisk,
|
|
1676
|
+
tailFrameTime,
|
|
1677
|
+
timeoutUnitHint
|
|
1606
1678
|
};
|
|
@@ -46,6 +46,7 @@ import {
|
|
|
46
46
|
analyzeClipMediaFit,
|
|
47
47
|
analyzeCompositionHdr,
|
|
48
48
|
analyzeKeyframeIntervals,
|
|
49
|
+
appendRateCapArgs,
|
|
49
50
|
appendRenderProvenanceArgs,
|
|
50
51
|
appendSoftwareEncoderThreadsArg,
|
|
51
52
|
applyConcreteGpuScreenshotClamp,
|
|
@@ -84,6 +85,7 @@ import {
|
|
|
84
85
|
cloneCaptureWarnings,
|
|
85
86
|
closeBrowserPool,
|
|
86
87
|
closeCaptureSession,
|
|
88
|
+
collectScratchLeftovers,
|
|
87
89
|
completeDeferredDrawElementInit,
|
|
88
90
|
compositionRequiresWebGpu,
|
|
89
91
|
computeWorkerSizing,
|
|
@@ -167,6 +169,7 @@ import {
|
|
|
167
169
|
isVideoHiddenBeforeStreamStart,
|
|
168
170
|
isVideoPastTimelineEnd,
|
|
169
171
|
isVideoSourceExtractionError,
|
|
172
|
+
keyframeIntervalToGopSize,
|
|
170
173
|
killTrackedProcesses,
|
|
171
174
|
launchHdrBrowser,
|
|
172
175
|
measureVideoShownBoxes,
|
|
@@ -196,6 +199,7 @@ import {
|
|
|
196
199
|
recaptureDrawElementFrameForVerify,
|
|
197
200
|
releaseBrowser,
|
|
198
201
|
removeDomLayerMask,
|
|
202
|
+
removeScratch,
|
|
199
203
|
renameWithRetry,
|
|
200
204
|
renameWithRetryAsync,
|
|
201
205
|
renderProvenanceArgs,
|
|
@@ -238,20 +242,18 @@ import {
|
|
|
238
242
|
waitForImagesReady,
|
|
239
243
|
writeCapturedFrame,
|
|
240
244
|
writeUrlDownloadTelemetry
|
|
241
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-MPO25DQW.js";
|
|
246
|
+
import "./chunk-Z5J67X44.js";
|
|
242
247
|
import "./chunk-5S7W3TUO.js";
|
|
248
|
+
import "./chunk-GHSO62LK.js";
|
|
243
249
|
import {
|
|
244
250
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
245
251
|
quantizeTimeToFrame
|
|
246
|
-
} from "./chunk-
|
|
247
|
-
import "./chunk-
|
|
248
|
-
import "./chunk-MFHYBSJC.js";
|
|
249
|
-
import "./chunk-KLIPVNCO.js";
|
|
252
|
+
} from "./chunk-QWBVPWUI.js";
|
|
253
|
+
import "./chunk-BQMAPNDA.js";
|
|
250
254
|
import "./chunk-VC76R6W2.js";
|
|
251
|
-
import "./chunk-OFRRUYBA.js";
|
|
252
|
-
import "./chunk-FR7YBU3H.js";
|
|
253
255
|
import "./chunk-OFQWTKPW.js";
|
|
254
|
-
import "./chunk-
|
|
256
|
+
import "./chunk-RQVDTPGD.js";
|
|
255
257
|
import {
|
|
256
258
|
TRANSITIONS,
|
|
257
259
|
convertTransfer,
|
|
@@ -265,11 +267,11 @@ import "./chunk-FXMKHHPO.js";
|
|
|
265
267
|
import "./chunk-K4MJX7SR.js";
|
|
266
268
|
import {
|
|
267
269
|
chromeMajorCeiling
|
|
268
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-ERUQ3S6D.js";
|
|
269
271
|
import {
|
|
270
272
|
resolveReferencedDuration,
|
|
271
273
|
resolveReferencedStart
|
|
272
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-FC4WT5FX.js";
|
|
273
275
|
import "./chunk-CZGHFATT.js";
|
|
274
276
|
import {
|
|
275
277
|
FFMPEG_PATH_ENV,
|
|
@@ -278,11 +280,14 @@ import {
|
|
|
278
280
|
import {
|
|
279
281
|
resolveProjectRelativeSrc
|
|
280
282
|
} from "./chunk-PBNWRWKA.js";
|
|
281
|
-
import "./chunk-
|
|
283
|
+
import "./chunk-SE2MXV2N.js";
|
|
284
|
+
import "./chunk-NHA4NRBE.js";
|
|
285
|
+
import "./chunk-FR7YBU3H.js";
|
|
286
|
+
import "./chunk-DPVXBVLL.js";
|
|
282
287
|
import "./chunk-GWTIFRF5.js";
|
|
283
288
|
import "./chunk-2RY2LWAA.js";
|
|
284
289
|
import "./chunk-3422KMTD.js";
|
|
285
|
-
import "./chunk-
|
|
290
|
+
import "./chunk-WC4MTXGN.js";
|
|
286
291
|
import {
|
|
287
292
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
288
293
|
getCgroupMemoryLimitMb,
|
|
@@ -337,6 +342,7 @@ export {
|
|
|
337
342
|
analyzeClipMediaFit,
|
|
338
343
|
analyzeCompositionHdr,
|
|
339
344
|
analyzeKeyframeIntervals,
|
|
345
|
+
appendRateCapArgs,
|
|
340
346
|
appendRenderProvenanceArgs,
|
|
341
347
|
appendSoftwareEncoderThreadsArg,
|
|
342
348
|
applyConcreteGpuScreenshotClamp,
|
|
@@ -376,6 +382,7 @@ export {
|
|
|
376
382
|
cloneCaptureWarnings,
|
|
377
383
|
closeBrowserPool,
|
|
378
384
|
closeCaptureSession,
|
|
385
|
+
collectScratchLeftovers,
|
|
379
386
|
completeDeferredDrawElementInit,
|
|
380
387
|
compositionRequiresWebGpu,
|
|
381
388
|
computeWorkerSizing,
|
|
@@ -465,6 +472,7 @@ export {
|
|
|
465
472
|
isVideoHiddenBeforeStreamStart,
|
|
466
473
|
isVideoPastTimelineEnd,
|
|
467
474
|
isVideoSourceExtractionError,
|
|
475
|
+
keyframeIntervalToGopSize,
|
|
468
476
|
killTrackedProcesses,
|
|
469
477
|
launchHdrBrowser,
|
|
470
478
|
linearToHdr,
|
|
@@ -496,6 +504,7 @@ export {
|
|
|
496
504
|
recaptureDrawElementFrameForVerify,
|
|
497
505
|
releaseBrowser,
|
|
498
506
|
removeDomLayerMask,
|
|
507
|
+
removeScratch,
|
|
499
508
|
renameWithRetry,
|
|
500
509
|
renameWithRetryAsync,
|
|
501
510
|
renderProvenanceArgs,
|
|
@@ -70,23 +70,24 @@ import {
|
|
|
70
70
|
serializeRenderRequest,
|
|
71
71
|
startServer,
|
|
72
72
|
validatePlanV2MaterializedTarget
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-J67FSI3Q.js";
|
|
74
74
|
import {
|
|
75
75
|
prepareHeifImageInputs
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-XOFBXLMG.js";
|
|
77
|
+
import {
|
|
78
|
+
prepareAnimatedGifInputs
|
|
79
|
+
} from "./chunk-5HB4JM7H.js";
|
|
80
|
+
import "./chunk-X7MTZ4T2.js";
|
|
81
|
+
import "./chunk-BZ56MTDX.js";
|
|
77
82
|
import {
|
|
78
83
|
FONT_FETCH_FAILED,
|
|
79
84
|
FONT_FETCH_UNAVAILABLE,
|
|
80
85
|
FontFetchError,
|
|
81
86
|
FontFetchUnavailableError,
|
|
82
87
|
injectDeterministicFontFaces
|
|
83
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-JLGVBK5M.js";
|
|
84
89
|
import "./chunk-FI4I7CME.js";
|
|
85
|
-
import
|
|
86
|
-
prepareAnimatedGifInputs
|
|
87
|
-
} from "./chunk-NVLPW3DG.js";
|
|
88
|
-
import "./chunk-BZ56MTDX.js";
|
|
89
|
-
import "./chunk-AYH5ANVS.js";
|
|
90
|
+
import "./chunk-5YHQBCWH.js";
|
|
90
91
|
import "./chunk-EVMY7IPL.js";
|
|
91
92
|
import "./chunk-7FMUTGOH.js";
|
|
92
93
|
import {
|
|
@@ -102,33 +103,34 @@ import {
|
|
|
102
103
|
isTransientBrowserError,
|
|
103
104
|
prepareCaptureSessionForReuse,
|
|
104
105
|
resolveConfig
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-MPO25DQW.js";
|
|
107
|
+
import "./chunk-Z5J67X44.js";
|
|
106
108
|
import "./chunk-5S7W3TUO.js";
|
|
109
|
+
import "./chunk-GHSO62LK.js";
|
|
107
110
|
import {
|
|
108
111
|
quantizeTimeToFrame
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-MFHYBSJC.js";
|
|
112
|
-
import "./chunk-KLIPVNCO.js";
|
|
112
|
+
} from "./chunk-QWBVPWUI.js";
|
|
113
|
+
import "./chunk-BQMAPNDA.js";
|
|
113
114
|
import "./chunk-VC76R6W2.js";
|
|
114
|
-
import "./chunk-OFRRUYBA.js";
|
|
115
|
-
import "./chunk-FR7YBU3H.js";
|
|
116
115
|
import "./chunk-OFQWTKPW.js";
|
|
117
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-RQVDTPGD.js";
|
|
118
117
|
import "./chunk-3GXQPCJC.js";
|
|
119
118
|
import "./chunk-634HSJ3J.js";
|
|
120
119
|
import "./chunk-FXMKHHPO.js";
|
|
121
120
|
import "./chunk-K4MJX7SR.js";
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-ERUQ3S6D.js";
|
|
122
|
+
import "./chunk-FC4WT5FX.js";
|
|
124
123
|
import "./chunk-CZGHFATT.js";
|
|
125
124
|
import "./chunk-VAS6HQX3.js";
|
|
126
125
|
import "./chunk-PBNWRWKA.js";
|
|
127
|
-
import "./chunk-
|
|
126
|
+
import "./chunk-SE2MXV2N.js";
|
|
127
|
+
import "./chunk-NHA4NRBE.js";
|
|
128
|
+
import "./chunk-FR7YBU3H.js";
|
|
129
|
+
import "./chunk-DPVXBVLL.js";
|
|
128
130
|
import "./chunk-GWTIFRF5.js";
|
|
129
131
|
import "./chunk-2RY2LWAA.js";
|
|
130
132
|
import "./chunk-3422KMTD.js";
|
|
131
|
-
import "./chunk-
|
|
133
|
+
import "./chunk-WC4MTXGN.js";
|
|
132
134
|
import "./chunk-UIOZIIB7.js";
|
|
133
135
|
import "./chunk-M2WBOQ2Q.js";
|
|
134
136
|
export {
|