hyperframes 0.9.20 → 0.9.22
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-6U3Y7DEN.js → add-P5EPMJ5Q.js} +11 -11
- package/dist/{agentPromptGenerator-2U62YSRT.js → agentPromptGenerator-MEUCOVJI.js} +6 -6
- package/dist/{animatedGifPrep-RC6CYTRI.js → animatedGifPrep-AOFUPYBU.js} +6 -6
- package/dist/api.js +29 -29
- package/dist/{asset-ER2CUS6B.js → asset-RH3JROBG.js} +2 -2
- package/dist/{assetCataloger-425SRTPW.js → assetCataloger-64MQJFOZ.js} +7 -7
- package/dist/{audio-JUAMPMWA.js → audio-BQNS5FYY.js} +15 -15
- package/dist/{auth-DQ52RE6K.js → auth-QWQ42CNZ.js} +2 -2
- package/dist/{autoUpdate-YUZGZ5ZI.js → autoUpdate-J26RSYB3.js} +2 -2
- package/dist/{avatars-F4HNQISE.js → avatars-OI5NDVRA.js} +10 -10
- package/dist/{backgroundChecks-MSOJBGL7.js → backgroundChecks-GA5TOAT7.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-33AZEDWV.js → batchRender-FQPTPD5C.js} +3 -3
- package/dist/{beats-WI3UU5KD.js → beats-3PKJQEVM.js} +8 -8
- package/dist/{benchmark-ZE5Y75YM.js → benchmark-UXWF7XLU.js} +8 -8
- package/dist/{billing-N4BCUG7R.js → billing-A6GCRCBD.js} +10 -10
- package/dist/{browser-HUOPVD2U.js → browser-GT7GX3OU.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-PRR3UAJT.js → bundleWithLocalizedFonts-FW5W6YB3.js} +1 -1
- package/dist/{capture-2QNE2DEY.js → capture-EFW47UGO.js} +3 -3
- package/dist/{capture-UWQ2GBML.js → capture-RIKBIXAD.js} +13 -13
- package/dist/{captureCompositionFrame-S2A5KJUT.js → captureCompositionFrame-ZRYVO54J.js} +12 -12
- package/dist/{catalog-BQZ55PQP.js → catalog-ZV33ASKR.js} +11 -11
- package/dist/{catch-up-JFII6DVC.js → catch-up-SXGWPMIJ.js} +6 -6
- package/dist/{check-KPFCL46S.js → check-P4SYKGRB.js} +37 -37
- package/dist/{checkAudio-NTES344V.js → checkAudio-MNVMXEDK.js} +9 -9
- package/dist/{checkBrowser-WQWRQO2X.js → checkBrowser-A4HK7M5F.js} +31 -31
- package/dist/{chunk-WMZHESNZ.js → chunk-2PRAPMMF.js} +2 -2
- package/dist/{chunk-UXEUKILH.js → chunk-2ZLUFEPP.js} +1 -1
- package/dist/{chunk-A457YCWN.js → chunk-3H547JQP.js} +2 -2
- package/dist/{chunk-KPCCWI5Q.js → chunk-4FNJ2QNP.js} +2 -2
- package/dist/{chunk-YVFJWUSI.js → chunk-4YF5DHN5.js} +1 -1
- package/dist/{chunk-4EUUYYB3.js → chunk-5H5DZTVW.js} +2 -2
- package/dist/{chunk-ZNUMTYBZ.js → chunk-5HEUGZ7C.js} +3 -3
- package/dist/{chunk-JXGFZG73.js → chunk-5UF4Z3KI.js} +1 -1
- package/dist/{chunk-FXPBFARU.js → chunk-5V6NEPTW.js} +1 -1
- package/dist/{chunk-LNHMJ555.js → chunk-5YQCUH6I.js} +1 -1
- package/dist/{chunk-PWP4W2PF.js → chunk-5YVA7VYC.js} +1 -1
- package/dist/{chunk-HCUEMQB4.js → chunk-6OWZRBUW.js} +1 -1
- package/dist/{chunk-5V3R5ZMY.js → chunk-7GX3DFQZ.js} +7 -7
- package/dist/{chunk-LDV6P3DG.js → chunk-7IBVRNW2.js} +1 -1
- package/dist/{chunk-QUYTXJLE.js → chunk-AOMZDUV2.js} +1 -1
- package/dist/{chunk-7DGAJ7RY.js → chunk-B2XUJ5Q5.js} +1 -1
- package/dist/{chunk-7PG57ERE.js → chunk-C2I3BLHP.js} +1 -1
- package/dist/{chunk-XID37ELP.js → chunk-CNNU335R.js} +2 -2
- package/dist/{chunk-KKNAM57Z.js → chunk-D3CD6TQ3.js} +1 -1
- package/dist/{chunk-3XJM7XZN.js → chunk-D3NWGOXW.js} +30 -0
- package/dist/{chunk-UECTSXVZ.js → chunk-DCTVIIIY.js} +1 -1
- package/dist/{chunk-BA3FUJOU.js → chunk-DMEHR64W.js} +38 -4
- package/dist/{chunk-G2C7OTXI.js → chunk-ELYZGVJQ.js} +1 -1
- package/dist/{chunk-FY2QFPEK.js → chunk-EXZA6WBB.js} +1 -1
- package/dist/chunk-FRBQYFUV.js +481 -0
- package/dist/{chunk-MQFX4OD3.js → chunk-G4UQV75W.js} +1 -1
- package/dist/{chunk-D3ZYDQMH.js → chunk-G7DS5B4U.js} +2 -2
- package/dist/{chunk-LEVO6XYF.js → chunk-GNUTRVGG.js} +33 -22
- package/dist/{chunk-GNY2WZKA.js → chunk-GQR6KIVQ.js} +3 -3
- package/dist/{chunk-S45SR3TL.js → chunk-H2IA6JUW.js} +2 -2
- package/dist/chunk-H2PVMZ2M.js +5035 -0
- package/dist/{chunk-N2I2YUL7.js → chunk-H5L6ZLWW.js} +7 -7
- package/dist/{chunk-MHW4MMV4.js → chunk-IGWGLKKL.js} +10 -10
- package/dist/{chunk-P2DAWEPF.js → chunk-IPW3FPE3.js} +2 -2
- package/dist/{chunk-Q6DA3X34.js → chunk-ITABEOC6.js} +3 -3
- package/dist/{chunk-5KJWA22L.js → chunk-JAA4EBWV.js} +5 -5
- package/dist/{chunk-QYWOP6MH.js → chunk-JIICYVRY.js} +3 -3
- package/dist/{chunk-C2PQTWAH.js → chunk-KA5IELN4.js} +1 -1
- package/dist/{chunk-RPSR5YSD.js → chunk-KES2XW4I.js} +4 -4
- package/dist/{chunk-L6XUDQW6.js → chunk-KEUNBZWA.js} +18 -7
- package/dist/{chunk-BQ2U65ZF.js → chunk-KZWYAZZH.js} +115 -21
- package/dist/{chunk-SH6P5CMQ.js → chunk-L7ED3RE6.js} +1 -1
- package/dist/{chunk-Z745SNN4.js → chunk-LC3UH6GM.js} +19 -8
- package/dist/{chunk-4J2Y6G2X.js → chunk-LLLOEJPL.js} +1 -1
- package/dist/{chunk-5WKW4P6P.js → chunk-LLUKDUVS.js} +28 -15
- package/dist/{chunk-S6MXHF7C.js → chunk-LNE3SUVH.js} +1 -1
- package/dist/{chunk-OAQTFIWB.js → chunk-LWF7T7Y3.js} +3 -3
- package/dist/{chunk-TGSBNJYV.js → chunk-MD3DZRKM.js} +2 -2
- package/dist/{chunk-JWORQ5WQ.js → chunk-MFDNMTOP.js} +1 -1
- package/dist/{chunk-POKB2QVF.js → chunk-NJD7YMBD.js} +2 -2
- package/dist/{chunk-FPM6B5X5.js → chunk-NOTTJWVZ.js} +2 -2
- package/dist/{chunk-UH6JF4TY.js → chunk-NPBMNB7S.js} +4 -4
- package/dist/{chunk-GH4QTKBM.js → chunk-NZ24SOAQ.js} +7 -7
- package/dist/{chunk-4HWNUBW2.js → chunk-O3ES5O4T.js} +3 -3
- package/dist/{chunk-35APUSDP.js → chunk-O75PHTJC.js} +1 -1
- package/dist/{chunk-OWBXXAYQ.js → chunk-OHHYRXX7.js} +2 -2
- package/dist/{chunk-USRF4NA6.js → chunk-OUAMAOQS.js} +10 -10
- package/dist/{chunk-IBXWPFGK.js → chunk-P3VIGBOY.js} +2 -2
- package/dist/{chunk-XACDCHJF.js → chunk-P7GVEHVM.js} +1 -1
- package/dist/{chunk-TKHWUM6J.js → chunk-PE3QPW77.js} +2 -2
- package/dist/{chunk-7ISXVZHB.js → chunk-PHA3H4JX.js} +4 -4
- package/dist/{chunk-6FI5JRM3.js → chunk-PJNDSYJV.js} +301 -97
- package/dist/{chunk-M5CDC3VO.js → chunk-PPOJMJR5.js} +25 -15
- package/dist/{chunk-5ECZJECP.js → chunk-PZSPEUI5.js} +1 -1
- package/dist/{chunk-76IGIELW.js → chunk-QMD3FTBL.js} +2 -2
- package/dist/{chunk-XU5LAY46.js → chunk-QMYMXTRT.js} +1 -1
- package/dist/{chunk-3WLJMGCI.js → chunk-QYWBLJ2X.js} +1 -1
- package/dist/{chunk-4XOQILDV.js → chunk-S6M6TIEI.js} +15 -4
- package/dist/{chunk-X254MPK3.js → chunk-SCTDZ5C7.js} +1 -1
- package/dist/{chunk-PAFAOFZZ.js → chunk-SMRSQ5CF.js} +1 -1
- package/dist/{chunk-WNPIJ7UG.js → chunk-TIDNGNPA.js} +1 -1
- package/dist/{chunk-VM6PDH32.js → chunk-TRHWNVOY.js} +1 -1
- package/dist/{chunk-NZ6JYCGU.js → chunk-UQVRQ2SL.js} +3 -3
- package/dist/{chunk-RFG4XUMQ.js → chunk-US24WEIH.js} +1 -1
- package/dist/{chunk-TCW3ALLF.js → chunk-UTCYYAGP.js} +2 -2
- package/dist/{chunk-Y5ZW3BRK.js → chunk-V43H4NSJ.js} +3 -3
- package/dist/{chunk-76HDNQDL.js → chunk-VBSTLL2I.js} +2 -2
- package/dist/{chunk-QSOIL3EE.js → chunk-VIVMNHG7.js} +3 -3
- package/dist/{chunk-DNWZ66ND.js → chunk-VLW6AHXZ.js} +1 -1
- package/dist/{chunk-PGNE33QK.js → chunk-WD6Q4UXG.js} +33 -15
- package/dist/{chunk-NSNT4DNY.js → chunk-WIMLEJLH.js} +3 -3
- package/dist/{chunk-HIT72LVX.js → chunk-X2WUBMVK.js} +7 -7
- package/dist/{chunk-CKZQQ2DO.js → chunk-XVFUUT57.js} +1 -1
- package/dist/{chunk-3KJW4NNP.js → chunk-XWXZFUFZ.js} +12 -14
- package/dist/{chunk-NHV3G6JH.js → chunk-YAC7QLYC.js} +1 -1
- package/dist/{chunk-7CGSZ3OR.js → chunk-YE64DXEB.js} +13 -13
- package/dist/{chunk-IY4I7TV4.js → chunk-YSKP5MCC.js} +2 -2
- package/dist/{chunk-RONKIDIW.js → chunk-YYQO5K45.js} +5 -5
- package/dist/{chunk-SVOUYNKZ.js → chunk-Z6AR7JQZ.js} +37 -20
- package/dist/{chunk-P2GR4V7S.js → chunk-ZNFYQMFN.js} +1 -1
- package/dist/{clean-5FFXB5MF.js → clean-DXVKCD35.js} +16 -16
- package/dist/cli.js +60 -60
- package/dist/{cloud-XC5OSAE2.js → cloud-5ZJIOZEM.js} +4 -4
- package/dist/{cloud-CINLC3NP.js → cloud-D7DFYONW.js} +2 -2
- package/dist/{cloudrun-VVU4XERK.js → cloudrun-QGCPCLS7.js} +4 -4
- package/dist/commands/layout-audit.browser.js +287 -23
- package/dist/{compare-6ZVA7JDY.js → compare-CG7ZLORR.js} +28 -28
- package/dist/{compiler-4WKTHUPH.js → compiler-5ZKASKDC.js} +3 -3
- package/dist/{component-CYXNZPHM.js → component-B4KAGJ6J.js} +3 -3
- package/dist/{compositions-Z53CMRFQ.js → compositions-U4KYWKZJ.js} +10 -10
- package/dist/{curve-ZLVHONKG.js → curve-VT2COPVD.js} +10 -10
- package/dist/{cuts-JGHDX4ND.js → cuts-6VEK5M4B.js} +11 -11
- package/dist/{delete-C6KCUXEV.js → delete-7C2IRPUB.js} +5 -5
- package/dist/{deploy-3W4FAFBU.js → deploy-3ICL7ZKT.js} +1 -1
- package/dist/{describeProject-NB7JQQRZ.js → describeProject-AYSN54IN.js} +7 -7
- package/dist/{diff-77IF7ZGC.js → diff-W4PY7MNM.js} +29 -29
- package/dist/{dist-LPVHFSCW.js → dist-5ITUK4AA.js} +5 -3
- package/dist/{dist-2MTQQEZT.js → dist-JSAOJXV4.js} +2 -2
- package/dist/{dist-PVM257OR.js → dist-KTTPEXT3.js} +9 -9
- package/dist/{doctor-7ARBZ2FZ.js → doctor-AWJLVONI.js} +10 -10
- package/dist/{energy-2I6O5IQY.js → energy-FEAXXITP.js} +11 -11
- package/dist/{events-MCXWDE3G.js → events-BEECDETU.js} +2 -2
- package/dist/{events-CG6ZFBPQ.js → events-PQ5Q44FC.js} +5 -5
- package/dist/{events-CXZTEW5W.js → events-UBP3QVVZ.js} +13 -13
- package/dist/{extract-NSSKZ7EO.js → extract-P3RDDMAN.js} +11 -11
- package/dist/{face-CZBXJIJD.js → face-CFGKOSS3.js} +11 -11
- package/dist/{feedback-3ZZQHXQA.js → feedback-BQONI5Z3.js} +8 -8
- package/dist/{ffmpeg-KOJQXOMH.js → ffmpeg-ZZ7LIQ5Z.js} +6 -6
- package/dist/{figma-T77MIMMN.js → figma-MCD4A356.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{frames-GMXMQ7DQ.js → frames-AZR3TRLH.js} +12 -12
- package/dist/{generate-PN2N6MQV.js → generate-K4EQAVJW.js} +21 -21
- package/dist/{get-AMP7GO2J.js → get-WJ3ELK7A.js} +5 -5
- package/dist/{gpuPolicy-336CZTOI.js → gpuPolicy-PUE7IADC.js} +6 -6
- package/dist/{grade-compare-XHR7XCIJ.js → grade-compare-GCFG242J.js} +29 -29
- package/dist/{heifImagePrep-GAATPFZJ.js → heifImagePrep-QXOU7MLY.js} +7 -7
- package/dist/{help-QLT7Q5CF.js → help-GT6ZDVJG.js} +1 -1
- package/dist/{history-IBK4ICX6.js → history-5IYTGJEF.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +74 -74
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-IF6TAH4N.js → info-5AJYESSM.js} +12 -12
- package/dist/{init-7TY3OJ6O.js → init-D6KHCFJY.js} +26 -26
- package/dist/{ink-PGZ7QSBH.js → ink-VIUT4ZGK.js} +11 -11
- package/dist/{inspect-LHLSKDYO.js → inspect-AOA5QC2L.js} +29 -29
- package/dist/{installer-DBTP7YGS.js → installer-OOGT5H33.js} +4 -4
- package/dist/{keyframes-4M4776JR.js → keyframes-RFOY5TRI.js} +8 -8
- package/dist/{lambda-FFMB6Y76.js → lambda-JR66KCP6.js} +10 -10
- package/dist/{layout-LJHS7HFD.js → layout-O22LQNQJ.js} +29 -29
- package/dist/{lint-2J5AVK6D.js → lint-FVSXPEHO.js} +22 -12
- package/dist/{lintProject-2OD4CDTW.js → lintProject-BC5ISNKQ.js} +1 -1
- package/dist/{list-MAYBNZEL.js → list-L4QR4ECB.js} +5 -5
- package/dist/{localPage-EKPNDJ27.js → localPage-LX46Y2RP.js} +6 -6
- package/dist/{login-CEU43XKU.js → login-YRUEKLVU.js} +4 -4
- package/dist/{look-IYTF5GLD.js → look-4KCFSE7J.js} +11 -11
- package/dist/{manager-DILAI3UF.js → manager-HTG3C2WE.js} +7 -7
- package/dist/{measure-2WZGYPYI.js → measure-Y2KDNWOG.js} +11 -11
- package/dist/{media-treatment-NEY3KFIE.js → media-treatment-2J5REU6B.js} +12 -12
- package/dist/{media-use-3RF5K7J2.js → media-use-7EN3JP2H.js} +3 -3
- package/dist/{models-JG3K3WHB.js → models-3IFIWCKT.js} +10 -10
- package/dist/{motionShot-BXTTHXNC.js → motionShot-RI2JVXVU.js} +15 -15
- package/dist/{normalize-audio-V42ORWPJ.js → normalize-audio-XTDN6XW6.js} +8 -8
- package/dist/{open-TIGOP4UL.js → open-ARUHNAB7.js} +66 -15
- package/dist/{parakeetRunner-ECBLSKPA.js → parakeetRunner-MSM7RDKF.js} +11 -11
- package/dist/{pipeline-NAQKFYVO.js → pipeline-VKX2BFB6.js} +9 -9
- package/dist/{play-OCUIRYGT.js → play-PJNNPV7X.js} +19 -19
- package/dist/{preflight-FXN2DIKX.js → preflight-MUXQH6H6.js} +7 -7
- package/dist/{present-EIPGUFX2.js → present-AN6MCW3Y.js} +15 -15
- package/dist/{preview-D3DGM36N.js → preview-DEHP2TG5.js} +53 -499
- package/dist/{probe-LHGNRPYJ.js → probe-5RG744XA.js} +11 -11
- package/dist/{producer-MUSGQJB5.js → producer-7VK2ZJDE.js} +1 -1
- package/dist/{projectConfig-5XHCXAR2.js → projectConfig-6DMINA23.js} +6 -6
- package/dist/{publication-YHI2M2PN.js → publication-6MWJAFT7.js} +2 -2
- package/dist/{publish-DD4ZAHEH.js → publish-KBNVXXGC.js} +10 -10
- package/dist/{remove-background-AJBLAXSV.js → remove-background-JEWUHSSD.js} +10 -10
- package/dist/{render-LCH7X3UA.js → render-35DBJ2WO.js} +31 -31
- package/dist/{render-AKGMPEQ4.js → render-W2U6ZT5X.js} +26 -26
- package/dist/{render-32BRUXZK.js → render-WH22EDR5.js} +5 -5
- package/dist/{render-batch-BGZ4XDDA.js → render-batch-XJOSN2BG.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-M64IRWRP.js → resolver-5YYQABSN.js} +4 -4
- package/dist/{reverse-HLLQAI77.js → reverse-FRUVNAQG.js} +1 -1
- package/dist/{run-Q4IUMQIY.js → run-IQLZHH6D.js} +3 -3
- package/dist/{screenshotCapture-INHISXPC.js → screenshotCapture-Y6WBZRXS.js} +7 -7
- package/dist/{sherpa-MQLZFNTX.js → sherpa-LRHHYRRD.js} +10 -10
- package/dist/skills/hyperframes-cli/references/preview-render.md +1 -1
- package/dist/skills/media-use/audio/scripts/audio.mjs +56 -26
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +3 -3
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +16 -1
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +53 -0
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.mjs +17 -0
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +21 -0
- package/dist/skills/media-use/audio/scripts/recording.test.mjs +139 -0
- package/dist/skills/media-use/references/audio.md +2 -1
- package/dist/{skills-W4F5AJ2K.js → skills-NFCZFIGR.js} +8 -8
- package/dist/{skillsUpdateCheck-GVFHBX3G.js → skillsUpdateCheck-PUQNRKJ2.js} +3 -3
- package/dist/{snapshot-34FUMOEG.js → snapshot-EQRQLPXQ.js} +36 -36
- package/dist/{src-VL6XKFAA.js → src-HZHRJJAS.js} +5 -5
- package/dist/{src-M3NYEBA7.js → src-YNWNREO3.js} +8 -8
- package/dist/{start-A3YWCGDG.js → start-OP4X6HKK.js} +18 -18
- package/dist/{staticProjectServer-6NQWZP3Q.js → staticProjectServer-6LCOTXMA.js} +17 -17
- package/dist/{status-ZBUL7MPB.js → status-OWK4PE7Y.js} +10 -10
- package/dist/studio/assets/codec-DLDwVbqW.js +314 -0
- package/dist/studio/assets/{hyperframes-player-ZQZslutT.js → hyperframes-player-C5DA6O5u.js} +3 -3
- package/dist/studio/assets/index-B6RxZt-8.js +150 -0
- package/dist/studio/assets/{index-Bz2pYyGM.js → index-Buvugo_O.js} +120 -119
- package/dist/studio/assets/pausedVideoDecoder-BGKlQc66.js +1 -0
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CIDVEQUP.js → studio-api-6BPBBFAW.js} +9 -9
- package/dist/{studioServer-4FEM4AAL.js → studioServer-74DN3L3H.js} +48 -48
- package/dist/{sync-PXQD6JNH.js → sync-F5W4JZJN.js} +11 -11
- package/dist/{telemetry-W7PZ4E2A.js → telemetry-WLMC4CPL.js} +5 -5
- package/dist/templates/_shared/AGENTS.md +3 -1
- package/dist/templates/_shared/CLAUDE.md +3 -1
- package/dist/{templates-ELZU33UU.js → templates-X5NWCSPC.js} +10 -10
- package/dist/{timeline-O7BR3IKC.js → timeline-RPV3BPTU.js} +17 -17
- package/dist/{tokens-RNFI6LFF.js → tokens-I5HMG733.js} +2 -2
- package/dist/{transcribe-GUUUSHHL.js → transcribe-37LMXM4R.js} +23 -23
- package/dist/{transcribe-XQOGYK6P.js → transcribe-JHJCPGIZ.js} +9 -9
- package/dist/{update-J37ZLNH7.js → update-Z4PHNKUH.js} +9 -9
- package/dist/{updateCheck-ALBUZ6YM.js → updateCheck-KROYCMVT.js} +2 -2
- package/dist/{upgrade-NVG73VIE.js → upgrade-RW57MLYT.js} +3 -3
- package/dist/{upload-HBALN6HE.js → upload-PEY7EYFV.js} +3 -2
- package/dist/{urlDownloader-TKEHDA5W.js → urlDownloader-HFKG567O.js} +5 -5
- package/dist/{validate-3TFHU3MJ.js → validate-PNLZ57YG.js} +23 -23
- package/dist/{video-PBNQGPQO.js → video-Y23QOZP7.js} +7 -7
- package/dist/{voices-PF7EV4O4.js → voices-TIGQHHMA.js} +19 -19
- package/dist/warmCheck.js +37 -37
- package/package.json +1 -1
- package/dist/chunk-7DS3STTY.js +0 -5035
- package/dist/studio/assets/index-Bn5atbhb.js +0 -531
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YAC7QLYC.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XWXZFUFZ.js";
|
|
14
14
|
import {
|
|
15
15
|
PROXY_VARIANT_CONFIG,
|
|
16
16
|
ProxyCapacityError,
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
recordProxyRequest,
|
|
22
22
|
resolveProxy,
|
|
23
23
|
resolveProxyVariantRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NPBMNB7S.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6OWZRBUW.js";
|
|
28
28
|
import {
|
|
29
29
|
openRangeEnd
|
|
30
30
|
} from "./chunk-VEIGTKYZ.js";
|
|
31
31
|
import {
|
|
32
32
|
listenOnBrowserSafePort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WD6Q4UXG.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QMD3FTBL.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-L7ED3RE6.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-OHQRQE7F.js";
|
|
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PZSPEUI5.js";
|
|
10
10
|
import {
|
|
11
11
|
windowsChromeCrashRemediation
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LWF7T7Y3.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YAC7QLYC.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PE3QPW77.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VBSTLL2I.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-HOCC4J5C.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WD6Q4UXG.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-HZHRJJAS.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-6LCOTXMA.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-HZHRJJAS.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-HZHRJJAS.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JIICYVRY.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KA5IELN4.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
cliCheckoutLink,
|
|
9
9
|
pageUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NOTTJWVZ.js";
|
|
11
11
|
import {
|
|
12
12
|
Fix
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-US24WEIH.js";
|
|
14
14
|
import {
|
|
15
15
|
refreshIfNeeded,
|
|
16
16
|
resolveCloudAuthHeaders,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
HyperframesApiError,
|
|
26
26
|
HyperframesCloudClient
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-D3NWGOXW.js";
|
|
28
28
|
import {
|
|
29
29
|
configDir
|
|
30
30
|
} from "./chunk-LP7B3JLC.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5YVA7VYC.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-HOCC4J5C.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WD6Q4UXG.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
runningInstall,
|
|
45
45
|
updateCommandFor,
|
|
46
46
|
withMeta
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-7IBVRNW2.js";
|
|
48
48
|
import {
|
|
49
49
|
CONFIG_PATH,
|
|
50
50
|
withFileLock
|
|
51
51
|
} from "./chunk-CMQZP52Y.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CNNU335R.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -249,7 +249,7 @@ function checkEnvironment() {
|
|
|
249
249
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
250
250
|
}
|
|
251
251
|
async function checkWhisper() {
|
|
252
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
252
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-HTG3C2WE.js");
|
|
253
253
|
const result = findWhisper();
|
|
254
254
|
if (result) {
|
|
255
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KA5IELN4.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-LC3UH6GM.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-XVFUUT57.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XVFUUT57.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PE3QPW77.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WD6Q4UXG.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-HZHRJJAS.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-CXUT4XVT.js";
|
|
16
16
|
import {
|
|
17
17
|
createProjectConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6OWZRBUW.js";
|
|
19
19
|
import {
|
|
20
20
|
isHyperframesProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L7ED3RE6.js";
|
|
22
22
|
import {
|
|
23
23
|
isCI
|
|
24
24
|
} from "./chunk-FYZFURBN.js";
|
|
@@ -188,9 +188,15 @@ function leaveIntent(dir, cta, doc) {
|
|
|
188
188
|
else writeRecord(dir, DESKTOP_CTA_RECORD, before);
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function shownDir(dir, cwd) {
|
|
192
192
|
const shown = relative(cwd, dir) || ".";
|
|
193
|
-
return
|
|
193
|
+
return /\s/.test(shown) ? JSON.stringify(shown) : shown;
|
|
194
|
+
}
|
|
195
|
+
function openCommandFor(dir, cwd = process.cwd()) {
|
|
196
|
+
return `hyperframes open ${shownDir(dir, cwd)}`;
|
|
197
|
+
}
|
|
198
|
+
function previewStopCommandFor(dir, port, cwd = process.cwd()) {
|
|
199
|
+
return `hyperframes preview ${shownDir(dir, cwd)} --stop --port ${port}`;
|
|
194
200
|
}
|
|
195
201
|
var spotlightFinds = (bundleId) => spawnSync("mdfind", [`kMDItemCFBundleIdentifier == '${bundleId}'`], { encoding: "utf8" }).stdout?.split("\n").some((path) => path.endsWith(".app") && !basename(path).startsWith(".")) ?? false;
|
|
196
202
|
function desktopInstalled({
|
|
@@ -216,11 +222,15 @@ function desktopHint(dir, {
|
|
|
216
222
|
ready = HANDOFF_READY,
|
|
217
223
|
installed,
|
|
218
224
|
platform = process.platform,
|
|
219
|
-
tty = process.stdout.isTTY === true
|
|
225
|
+
tty = process.stdout.isTTY === true,
|
|
226
|
+
preview
|
|
220
227
|
} = {}) {
|
|
221
228
|
if (insideHostApp(env) || !someoneToTell(env, tty)) return null;
|
|
222
|
-
if (ready && (installed ?? desktopInstalled({ platform, env })))
|
|
223
|
-
|
|
229
|
+
if (ready && (installed ?? desktopInstalled({ platform, env }))) {
|
|
230
|
+
const open = openCommandFor(dir);
|
|
231
|
+
const how = preview === "background" ? `${open} (this stops the background preview)` : preview === "foreground" ? `stop this preview, then run ${open}` : open;
|
|
232
|
+
return `Keep editing by chatting with Framey in the desktop app: ${how}`;
|
|
233
|
+
}
|
|
224
234
|
const url = desktopDownloadUrl(platform);
|
|
225
235
|
return url ? downloadHint(url) : null;
|
|
226
236
|
}
|
|
@@ -230,6 +240,7 @@ export {
|
|
|
230
240
|
downloadHint,
|
|
231
241
|
HANDOFF_READY,
|
|
232
242
|
openInDesktop,
|
|
243
|
+
previewStopCommandFor,
|
|
233
244
|
desktopInstalled,
|
|
234
245
|
insideHostApp,
|
|
235
246
|
desktopHint
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2PRAPMMF.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
23
23
|
prepareAnimatedGifInputs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YSKP5MCC.js";
|
|
25
25
|
import {
|
|
26
26
|
openRangeEnd,
|
|
27
27
|
parseEncoderOptions
|
|
@@ -186,7 +186,7 @@ import {
|
|
|
186
186
|
videoAudioId,
|
|
187
187
|
videoStartOnMediaTimeline,
|
|
188
188
|
writeCapturedFrame
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-WD6Q4UXG.js";
|
|
190
190
|
import {
|
|
191
191
|
assignBundledRuntimeCompositionIds,
|
|
192
192
|
emitMountedModuleScripts,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
parsesAsScript,
|
|
199
199
|
prepareFlattenedInnerRoot,
|
|
200
200
|
stripSdrPngColourTags
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-QMD3FTBL.js";
|
|
202
202
|
import {
|
|
203
203
|
collectScratchLeftovers,
|
|
204
204
|
removeScratch,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
redactTelemetryString,
|
|
227
227
|
resolveAuthoredTimingWindow,
|
|
228
228
|
toFps
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-L7ED3RE6.js";
|
|
230
230
|
import {
|
|
231
231
|
COMPOSITION_SOURCE_URL,
|
|
232
232
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -261,14 +261,14 @@ import {
|
|
|
261
261
|
sourceTimeAt,
|
|
262
262
|
styleElementsFor,
|
|
263
263
|
timeAtSourceTime
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-H2PVMZ2M.js";
|
|
265
265
|
import {
|
|
266
266
|
chromeMajorCeiling
|
|
267
267
|
} from "./chunk-WE42NVH7.js";
|
|
268
268
|
import {
|
|
269
269
|
lintHyperframeHtml,
|
|
270
270
|
resolveReferencedStart
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-LLUKDUVS.js";
|
|
272
272
|
import {
|
|
273
273
|
isUnresolvedAssetPlaceholder,
|
|
274
274
|
readProjectFile,
|
|
@@ -583,7 +583,7 @@ function buildVirtualTimeShim(options) {
|
|
|
583
583
|
} catch (e) {}
|
|
584
584
|
}
|
|
585
585
|
` : "";
|
|
586
|
-
const seekToTimeReseedCall = seedRandomFromFrame ? "reseedRngFromTime(safeTimeMs);\n
|
|
586
|
+
const seekToTimeReseedCall = seedRandomFromFrame ? "reseedRngFromTime(safeTimeMs);\n " : "";
|
|
587
587
|
return String.raw`(function() {
|
|
588
588
|
if (window.__HF_VIRTUAL_TIME__) return;
|
|
589
589
|
|
|
@@ -662,6 +662,82 @@ ${seededRandomBlock}
|
|
|
662
662
|
}
|
|
663
663
|
};
|
|
664
664
|
|
|
665
|
+
// Timers set once rendering has started run on film time: each seek fires every timer due by then, in
|
|
666
|
+
// due order. Until a seek after the page reports ready, timers keep the wall clock: setup code waits on
|
|
667
|
+
// them while the renderer may already be seeking.
|
|
668
|
+
var rendering = false;
|
|
669
|
+
var timerQueue = [];
|
|
670
|
+
var nextTimerId = 1000000000;
|
|
671
|
+
var firingDepth = 0;
|
|
672
|
+
function addTimer(callback, delay, args, repeats) {
|
|
673
|
+
// A timer set from a firing timer waits at least 1 ms, so a zero-delay chain cannot stall a seek.
|
|
674
|
+
var ms = Math.max(firingDepth > 0 ? 1 : 0, Number(delay) || 0);
|
|
675
|
+
var entry = { id: nextTimerId++, callback: callback, args: args, due: virtualNowMs + ms, every: repeats ? Math.max(1, ms) : 0, cancelled: false };
|
|
676
|
+
timerQueue.push(entry);
|
|
677
|
+
return entry.id;
|
|
678
|
+
}
|
|
679
|
+
function cancelTimer(id) {
|
|
680
|
+
for (var i = 0; i < timerQueue.length; i++) {
|
|
681
|
+
if (timerQueue[i].id === id) {
|
|
682
|
+
timerQueue[i].cancelled = true;
|
|
683
|
+
return true;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
return false;
|
|
687
|
+
}
|
|
688
|
+
function fireDueTimers(untilMs) {
|
|
689
|
+
// Frame times are fractional, so a timer due on a frame lands a rounding error past it; it still fires on it.
|
|
690
|
+
untilMs += 0.000001;
|
|
691
|
+
while (true) {
|
|
692
|
+
var next = null;
|
|
693
|
+
for (var i = 0; i < timerQueue.length; i++) {
|
|
694
|
+
var candidate = timerQueue[i];
|
|
695
|
+
if (!candidate.cancelled && candidate.due <= untilMs && (next === null || candidate.due < next.due)) next = candidate;
|
|
696
|
+
}
|
|
697
|
+
if (next === null) break;
|
|
698
|
+
var dueMs = next.due;
|
|
699
|
+
if (next.every) next.due += next.every;
|
|
700
|
+
else next.cancelled = true;
|
|
701
|
+
virtualNowMs = dueMs;
|
|
702
|
+
firingDepth++;
|
|
703
|
+
try {
|
|
704
|
+
next.callback.apply(window, next.args);
|
|
705
|
+
} catch (err) {
|
|
706
|
+
originalSetTimeout(function() { throw err; }, 0);
|
|
707
|
+
}
|
|
708
|
+
firingDepth--;
|
|
709
|
+
}
|
|
710
|
+
timerQueue = timerQueue.filter(function(entry) { return !entry.cancelled; });
|
|
711
|
+
}
|
|
712
|
+
window.setTimeout = function(callback, delay) {
|
|
713
|
+
if (!rendering || typeof callback !== "function") return originalSetTimeout.apply(null, arguments);
|
|
714
|
+
return addTimer(callback, delay, Array.prototype.slice.call(arguments, 2), false);
|
|
715
|
+
};
|
|
716
|
+
window.setInterval = function(callback, delay) {
|
|
717
|
+
if (!rendering || typeof callback !== "function") return originalSetInterval.apply(null, arguments);
|
|
718
|
+
return addTimer(callback, delay, Array.prototype.slice.call(arguments, 2), true);
|
|
719
|
+
};
|
|
720
|
+
window.clearTimeout = function(id) {
|
|
721
|
+
if (!cancelTimer(id)) originalClearTimeout(id);
|
|
722
|
+
};
|
|
723
|
+
window.clearInterval = function(id) {
|
|
724
|
+
if (!cancelTimer(id)) originalClearInterval(id);
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
function seekToTime(nextTimeMs) {
|
|
728
|
+
var safeTimeMs = Math.max(0, Number(nextTimeMs) || 0);
|
|
729
|
+
if (!rendering && window.__renderReady === true) {
|
|
730
|
+
rendering = true;
|
|
731
|
+
// A worker whose first frame is past the start plays the film's first frame first, so timers the
|
|
732
|
+
// page starts there keep the schedule a one-worker render gives them.
|
|
733
|
+
if (safeTimeMs > 0) seekToTime(0);
|
|
734
|
+
}
|
|
735
|
+
${seekToTimeReseedCall}fireDueTimers(safeTimeMs);
|
|
736
|
+
virtualNowMs = safeTimeMs;
|
|
737
|
+
flushAnimationFrame();
|
|
738
|
+
return virtualNowMs;
|
|
739
|
+
}
|
|
740
|
+
|
|
665
741
|
window.__HF_VIRTUAL_TIME__ = {
|
|
666
742
|
originalSetTimeout: originalSetTimeout,
|
|
667
743
|
originalClearTimeout: originalClearTimeout,
|
|
@@ -669,12 +745,7 @@ ${seededRandomBlock}
|
|
|
669
745
|
originalClearInterval: originalClearInterval,
|
|
670
746
|
originalRequestAnimationFrame: originalRequestAnimationFrame,
|
|
671
747
|
originalCancelAnimationFrame: originalCancelAnimationFrame,
|
|
672
|
-
seekToTime:
|
|
673
|
-
var safeTimeMs = Math.max(0, Number(nextTimeMs) || 0);
|
|
674
|
-
virtualNowMs = safeTimeMs;
|
|
675
|
-
${seekToTimeReseedCall}flushAnimationFrame();
|
|
676
|
-
return virtualNowMs;
|
|
677
|
-
},
|
|
748
|
+
seekToTime: seekToTime,
|
|
678
749
|
getTime: function() {
|
|
679
750
|
return virtualNowMs;
|
|
680
751
|
},
|
|
@@ -15999,13 +16070,14 @@ var RenderChunkValidationError = class extends Error {
|
|
|
15999
16070
|
this.code = code;
|
|
16000
16071
|
}
|
|
16001
16072
|
};
|
|
16073
|
+
var chunkFrameInjectorDependencies = { createVideoFrameInjector };
|
|
16002
16074
|
function createChunkVideoFrameInjectorFactory(frameLookup, options) {
|
|
16003
16075
|
if (!(frameLookup instanceof Promise))
|
|
16004
|
-
return () => createVideoFrameInjector(frameLookup, options);
|
|
16076
|
+
return () => chunkFrameInjectorDependencies.createVideoFrameInjector(frameLookup, options);
|
|
16005
16077
|
return () => {
|
|
16006
16078
|
let hook;
|
|
16007
16079
|
return async (page, time, heldVideoTime) => {
|
|
16008
|
-
hook ??= createVideoFrameInjector(await frameLookup, options);
|
|
16080
|
+
hook ??= chunkFrameInjectorDependencies.createVideoFrameInjector(await frameLookup, options);
|
|
16009
16081
|
await hook?.(page, time, heldVideoTime);
|
|
16010
16082
|
};
|
|
16011
16083
|
};
|
|
@@ -17165,7 +17237,7 @@ function assertPlanSizeWithinLimit(input) {
|
|
|
17165
17237
|
});
|
|
17166
17238
|
throw new PlanTooLargeError(breakdown.totalBytes, input.limitBytes, breakdown, input.observedAt);
|
|
17167
17239
|
}
|
|
17168
|
-
function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targetChunkFrames) {
|
|
17240
|
+
function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targetChunkFrames, minParallelChunks = 1) {
|
|
17169
17241
|
assertPositiveInteger2("totalFrames", totalFrames);
|
|
17170
17242
|
assertPositiveInteger2("maxParallelChunks", maxParallelChunks);
|
|
17171
17243
|
if (configChunkSize !== void 0) {
|
|
@@ -17174,7 +17246,11 @@ function resolveChunkPlan(totalFrames, configChunkSize, maxParallelChunks, targe
|
|
|
17174
17246
|
if (targetChunkFrames !== void 0) {
|
|
17175
17247
|
assertPositiveInteger2("targetChunkFrames", targetChunkFrames);
|
|
17176
17248
|
}
|
|
17177
|
-
|
|
17249
|
+
assertPositiveInteger2("minParallelChunks", minParallelChunks);
|
|
17250
|
+
const autoSizeParallel = targetChunkFrames === void 0 ? maxParallelChunks : Math.min(
|
|
17251
|
+
maxParallelChunks,
|
|
17252
|
+
Math.max(minParallelChunks, Math.ceil(totalFrames / targetChunkFrames))
|
|
17253
|
+
);
|
|
17178
17254
|
const resolvedChunkSize = configChunkSize ?? Math.max(MIN_CHUNK_SIZE, Math.ceil(totalFrames / autoSizeParallel));
|
|
17179
17255
|
const naiveCount = Math.ceil(totalFrames / resolvedChunkSize);
|
|
17180
17256
|
const chunkCount = Math.min(maxParallelChunks, Math.max(1, naiveCount));
|
|
@@ -17533,7 +17609,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17533
17609
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17534
17610
|
if (probeResult.probeSession) {
|
|
17535
17611
|
try {
|
|
17536
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
17612
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-HZHRJJAS.js");
|
|
17537
17613
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17538
17614
|
} catch (err) {
|
|
17539
17615
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17753,7 +17829,8 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
17753
17829
|
totalFrames,
|
|
17754
17830
|
config.chunkSize,
|
|
17755
17831
|
maxParallel,
|
|
17756
|
-
config.targetChunkFrames
|
|
17832
|
+
config.targetChunkFrames,
|
|
17833
|
+
config.minParallelChunks
|
|
17757
17834
|
);
|
|
17758
17835
|
const chunks = buildPlanChunkSlices(
|
|
17759
17836
|
frameWeights,
|
|
@@ -19715,6 +19792,20 @@ function validateDistributedRenderConfig(config) {
|
|
|
19715
19792
|
);
|
|
19716
19793
|
}
|
|
19717
19794
|
}
|
|
19795
|
+
if (config.minParallelChunks !== void 0) {
|
|
19796
|
+
if (!Number.isInteger(config.minParallelChunks) || config.minParallelChunks < 1) {
|
|
19797
|
+
throw new InvalidConfigError(
|
|
19798
|
+
"config.minParallelChunks",
|
|
19799
|
+
`must be a positive integer; got ${config.minParallelChunks}`
|
|
19800
|
+
);
|
|
19801
|
+
}
|
|
19802
|
+
if (config.minParallelChunks > MAX_PARALLEL_CHUNKS_CEILING) {
|
|
19803
|
+
throw new InvalidConfigError(
|
|
19804
|
+
"config.minParallelChunks",
|
|
19805
|
+
`must be <= ${MAX_PARALLEL_CHUNKS_CEILING}; got ${config.minParallelChunks}`
|
|
19806
|
+
);
|
|
19807
|
+
}
|
|
19808
|
+
}
|
|
19718
19809
|
for (const field of ["workerTimeoutSeconds", "workerConcurrency"]) {
|
|
19719
19810
|
const value = config[field];
|
|
19720
19811
|
if (value !== void 0 && (!Number.isInteger(value) || value < 1)) {
|
|
@@ -19884,6 +19975,7 @@ function assertDistributedOptions(value) {
|
|
|
19884
19975
|
"chunkSize",
|
|
19885
19976
|
"maxParallelChunks",
|
|
19886
19977
|
"targetChunkFrames",
|
|
19978
|
+
"minParallelChunks",
|
|
19887
19979
|
"planDirSizeLimitBytes"
|
|
19888
19980
|
]) {
|
|
19889
19981
|
assertOptionalInteger(value, field, 1);
|
|
@@ -20023,6 +20115,7 @@ function distributedConfigFromRequest(request, runtime = {}) {
|
|
|
20023
20115
|
chunkSize: distributed.chunkSize,
|
|
20024
20116
|
maxParallelChunks: distributed.maxParallelChunks,
|
|
20025
20117
|
targetChunkFrames: distributed.targetChunkFrames,
|
|
20118
|
+
minParallelChunks: distributed.minParallelChunks,
|
|
20026
20119
|
runtimeCap: distributed.runtimeCap,
|
|
20027
20120
|
rejectOnSystemFonts: distributed.rejectOnSystemFonts,
|
|
20028
20121
|
failClosedFontFetch: distributed.failClosedFontFetch,
|
|
@@ -20050,6 +20143,7 @@ function renderRequestFromDistributedConfig(input) {
|
|
|
20050
20143
|
...optionalProperty("chunkSize", config.chunkSize),
|
|
20051
20144
|
...optionalProperty("maxParallelChunks", config.maxParallelChunks),
|
|
20052
20145
|
...optionalProperty("targetChunkFrames", config.targetChunkFrames),
|
|
20146
|
+
...optionalProperty("minParallelChunks", config.minParallelChunks),
|
|
20053
20147
|
...optionalProperty("runtimeCap", config.runtimeCap),
|
|
20054
20148
|
...optionalProperty("rejectOnSystemFonts", config.rejectOnSystemFonts),
|
|
20055
20149
|
...optionalProperty("failClosedFontFetch", config.failClosedFontFetch),
|
|
@@ -20931,7 +21025,7 @@ function startServer(options = {}) {
|
|
|
20931
21025
|
});
|
|
20932
21026
|
async function shutdown(signal) {
|
|
20933
21027
|
log.info(`Received ${signal}, shutting down`);
|
|
20934
|
-
const { drainBrowserPool } = await import("./src-
|
|
21028
|
+
const { drainBrowserPool } = await import("./src-HZHRJJAS.js");
|
|
20935
21029
|
await drainBrowserPool().catch(() => {
|
|
20936
21030
|
});
|
|
20937
21031
|
const handle = await Promise.race([
|