hyperframes 0.9.28-alpha.0 → 0.9.28
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/README.md +5 -2
- package/dist/{add-WSGJ42KQ.js → add-XQCABYNY.js} +14 -14
- package/dist/{agentPromptGenerator-JTMVHRZN.js → agentPromptGenerator-S2SYZY3A.js} +7 -7
- package/dist/{animatedGifPrep-V3FJENRD.js → animatedGifPrep-SACSOT4A.js} +7 -7
- package/dist/api.js +38 -39
- package/dist/{asset-6LZTBFS7.js → asset-JPI3LFG4.js} +2 -2
- package/dist/{assetCataloger-GRGAUHXL.js → assetCataloger-TJQ5OLMV.js} +8 -8
- package/dist/{audio-QCMSKGKQ.js → audio-RG6NXOMI.js} +24 -25
- package/dist/{auth-TB7AUPRE.js → auth-7G2OCS7L.js} +4 -4
- package/dist/{autoUpdate-G3G7WBJF.js → autoUpdate-7RS75ENY.js} +3 -3
- package/dist/{avatars-6ILGXRFF.js → avatars-KWPVXWXC.js} +15 -16
- package/dist/{backgroundChecks-E3VZ7KZN.js → backgroundChecks-5HHWQH5H.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-KWIPFU5Q.js → batchRender-AL6DO5IA.js} +4 -4
- package/dist/{beats-OBIGBNZA.js → beats-XHKWF5KT.js} +11 -11
- package/dist/{benchmark-64IXFBPC.js → benchmark-57RNYMON.js} +11 -11
- package/dist/{billing-3X5BWBTI.js → billing-FXAMQKDS.js} +15 -16
- package/dist/{browser-DZ3XIEFA.js → browser-TV2VPWQJ.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-PKQN5CMM.js → bundleWithLocalizedFonts-YGHFRVJW.js} +1 -1
- package/dist/{capture-NTN7O6RZ.js → capture-GPT5V4ND.js} +22 -22
- package/dist/{capture-V7RAUBMG.js → capture-LHPSRQ4R.js} +3 -3
- package/dist/{captureCompositionFrame-KMMB3FVD.js → captureCompositionFrame-TLV2WC4Q.js} +14 -14
- package/dist/{catalog-YIGPXM7Q.js → catalog-7A3MMFTN.js} +14 -14
- package/dist/{catch-up-LOGK3VIS.js → catch-up-SEGXPPOX.js} +9 -9
- package/dist/{check-FVXJBA5U.js → check-OP5AR33W.js} +44 -43
- package/dist/{checkAudio-FSIRCDM6.js → checkAudio-QDAUXX7W.js} +15 -15
- package/dist/{checkBrowser-NXRXF73I.js → checkBrowser-OGE3A52R.js} +37 -37
- package/dist/{chunk-HWQ6SNLY.js → chunk-257XUBNU.js} +1 -1
- package/dist/{chunk-XGRXNWDK.js → chunk-3JFV42QB.js} +3 -3
- package/dist/{chunk-QTDTCTGB.js → chunk-4N3UVDIJ.js} +4 -6
- package/dist/{chunk-YPPJJ5ZH.js → chunk-55ZEUSPW.js} +1 -1
- package/dist/{chunk-RGINHOAX.js → chunk-5E6Y7CW3.js} +22 -4
- package/dist/{chunk-UF6C3CCP.js → chunk-5RUGBDAC.js} +1 -1
- package/dist/{chunk-ME6L6GUF.js → chunk-6FHIR4KD.js} +1 -1
- package/dist/{chunk-BP75ZLZ5.js → chunk-6LCIO2YY.js} +2 -2
- package/dist/{chunk-5BIHQCC2.js → chunk-6UMISKCG.js} +4 -4
- package/dist/{chunk-UO6DALBR.js → chunk-6WCOY6MS.js} +4 -4
- package/dist/{chunk-PG26KCBX.js → chunk-7FYGCIHK.js} +2 -2
- package/dist/{chunk-3YP3OQVH.js → chunk-7M26J4R3.js} +1 -1
- package/dist/{chunk-5FI52L2T.js → chunk-A7HPQVS5.js} +1 -1
- package/dist/{chunk-5RETZFNG.js → chunk-AA2DNXEJ.js} +7 -7
- package/dist/{chunk-YOUHA4KP.js → chunk-AVXIDAFJ.js} +9 -11
- package/dist/{chunk-MEVLYDL2.js → chunk-BJYCLZBQ.js} +1 -1
- package/dist/{chunk-W4DMQZL5.js → chunk-BZULWFMJ.js} +11 -2
- package/dist/{chunk-CHCMXYER.js → chunk-C5JKRCSG.js} +1 -1
- package/dist/{chunk-KFU75UXA.js → chunk-CINCDA5M.js} +2 -2
- package/dist/{chunk-VVGNWH2J.js → chunk-CSCK6RGC.js} +12 -12
- package/dist/{chunk-QMGFXL43.js → chunk-D5HNV6G6.js} +1 -1
- package/dist/{chunk-VSQ5NWCF.js → chunk-DJVSNDF3.js} +3 -3
- package/dist/{chunk-UVZDPGZR.js → chunk-DKSCZYFP.js} +1 -1
- package/dist/{chunk-HYXSD2UA.js → chunk-E3UFWFZZ.js} +1 -1
- package/dist/{chunk-E7YPIP42.js → chunk-E53UDY74.js} +2 -2
- package/dist/{chunk-RSZWWTQN.js → chunk-E54N6IPY.js} +2 -2
- package/dist/{chunk-PWW2DKGL.js → chunk-EENM7GX3.js} +2 -2
- package/dist/{chunk-M7U6JTXF.js → chunk-EOJ2PMOV.js} +2 -2
- package/dist/{chunk-3T6BFAKZ.js → chunk-F24B2PLD.js} +1 -1
- package/dist/{chunk-KBF2DIZX.js → chunk-FBLCK3YJ.js} +9 -9
- package/dist/{chunk-A5CTI6RW.js → chunk-G4D7EBDQ.js} +3 -3
- package/dist/{chunk-5EYQ222G.js → chunk-GGDJLN5I.js} +0 -20
- package/dist/{chunk-N6NB2WZ4.js → chunk-GUHCMOE2.js} +2 -2
- package/dist/{chunk-AAENGP3S.js → chunk-IOPIOX5K.js} +66 -16
- package/dist/{chunk-WYA575QX.js → chunk-IQKMIYLG.js} +5 -7
- package/dist/{chunk-G6CN5UWR.js → chunk-IX22RYJO.js} +1 -1
- package/dist/{chunk-HW325JBH.js → chunk-IX3K55NA.js} +4 -4
- package/dist/{chunk-WIJGRX5X.js → chunk-IYYZMZD2.js} +1 -1
- package/dist/{chunk-JX4BEVC3.js → chunk-J237HI2F.js} +41 -29
- package/dist/{chunk-4OZVFZCO.js → chunk-JLUOG6S2.js} +1 -1
- package/dist/{chunk-XMHYE6XY.js → chunk-JMPTLXJQ.js} +3 -3
- package/dist/{chunk-O5G2LEUB.js → chunk-K77GTFH3.js} +3 -3
- package/dist/{chunk-6ODX6SHY.js → chunk-L2GOO2UY.js} +2 -2
- package/dist/{chunk-UDEFHX4Z.js → chunk-L5KXLXFY.js} +15 -15
- package/dist/{chunk-UGX3IARM.js → chunk-LAI7UTBM.js} +30 -28
- package/dist/{chunk-AHRX3FHF.js → chunk-LMCFILEY.js} +3 -3
- package/dist/{chunk-FID757D3.js → chunk-LP7B3JLC.js} +0 -1
- package/dist/chunk-LPB7T67S.js +29 -0
- package/dist/{chunk-VCNPBW4L.js → chunk-LXAJQXHM.js} +1 -1
- package/dist/{chunk-WXEXQLVV.js → chunk-M457GQGR.js} +344 -216
- package/dist/{chunk-MFSQZ2PR.js → chunk-MMCMEW7K.js} +1 -1
- package/dist/{chunk-CJC6U3E7.js → chunk-MPKBIC4Z.js} +2 -2
- package/dist/{chunk-7U2B7OF6.js → chunk-MVJ7AX6W.js} +1 -1
- package/dist/{chunk-3MYEF34S.js → chunk-NFUXYBOR.js} +1 -1
- package/dist/{chunk-RERVXE6J.js → chunk-NHJ5YUBZ.js} +2 -2
- package/dist/{chunk-KJ5QBEMN.js → chunk-NURN5W6M.js} +6 -8
- package/dist/{chunk-ZEKQATYP.js → chunk-NUUN7XB4.js} +6 -6
- package/dist/{chunk-ZQLJLORI.js → chunk-NXVDTRXA.js} +6 -6
- package/dist/{chunk-WRN3ZY5P.js → chunk-O5P75JID.js} +7 -7
- package/dist/{chunk-IMSLXLUI.js → chunk-OSDNRYQJ.js} +1 -1
- package/dist/{chunk-H3MJLPAC.js → chunk-P2A6MYSQ.js} +1 -1
- package/dist/{chunk-JEVWAGQP.js → chunk-P5USY2GC.js} +1 -1
- package/dist/{chunk-6EZ76UBP.js → chunk-PEJQV2RL.js} +17 -17
- package/dist/{chunk-HP6IDD33.js → chunk-PF23WT5C.js} +5 -5
- package/dist/{chunk-ASMDPTT3.js → chunk-PL5C5FKM.js} +1 -1
- package/dist/{chunk-Q5J4OO7N.js → chunk-QT766HQV.js} +38 -20
- package/dist/{chunk-VNKPEYMW.js → chunk-RFLV3WR5.js} +1 -1
- package/dist/{chunk-Q6TVZY36.js → chunk-RYT22J4V.js} +2 -2
- package/dist/{chunk-WOSVLHQH.js → chunk-SCNC7YPB.js} +1 -1
- package/dist/{chunk-3DVDIXOZ.js → chunk-SDYZOTB7.js} +2 -2
- package/dist/{chunk-K2OQYSDS.js → chunk-SJOA2RCP.js} +12 -12
- package/dist/{chunk-RO74CZMK.js → chunk-SQRI67KR.js} +1 -1
- package/dist/{chunk-WUOMBLQL.js → chunk-SWEC6N6N.js} +2 -2
- package/dist/{chunk-TF7VWCJM.js → chunk-TCQKCUDA.js} +1 -1
- package/dist/{chunk-MWBRY5HN.js → chunk-TMYY4DV4.js} +3 -3
- package/dist/{chunk-E3EIKMUU.js → chunk-TTKJF3LI.js} +1 -1
- package/dist/{chunk-AJVYQVDB.js → chunk-U5RXCKWJ.js} +1 -1
- package/dist/{chunk-NKWJNDKO.js → chunk-UAEL2JEL.js} +4 -4
- package/dist/{chunk-C756HYL7.js → chunk-UVF4HXPW.js} +2 -2
- package/dist/chunk-UZGRZRD6.js +413 -0
- package/dist/{chunk-BI33G4XD.js → chunk-V4M7PKBM.js} +7 -7
- package/dist/{chunk-7XHVHBFV.js → chunk-V4Z37HFN.js} +3 -3
- package/dist/{chunk-7ZKUPLMN.js → chunk-VCMPKZFN.js} +18 -18
- package/dist/{chunk-DPAC75N5.js → chunk-VOVC3QCN.js} +3 -3
- package/dist/{chunk-YJBGA3W6.js → chunk-VXWASGGT.js} +2 -2
- package/dist/{chunk-RPMPHUOS.js → chunk-W4EAYORI.js} +3 -3
- package/dist/{chunk-6NG6PATW.js → chunk-W7TS3CZA.js} +1 -1
- package/dist/{chunk-MBRBEXMF.js → chunk-WMZDESYF.js} +1 -1
- package/dist/{chunk-Z2N7XOOB.js → chunk-X2YNB244.js} +3 -3
- package/dist/{chunk-GN3CCXVU.js → chunk-XLERIR2V.js} +1 -1
- package/dist/{chunk-RNUIFYO6.js → chunk-XPGH4KBU.js} +1 -1
- package/dist/{chunk-BFDNZ2JT.js → chunk-YSAK7PJZ.js} +2 -2
- package/dist/{chunk-IEB4IKXF.js → chunk-YU2KLER7.js} +1 -1
- package/dist/{chunk-FW7MDSCQ.js → chunk-Z677PTBA.js} +2 -2
- package/dist/{chunk-3Q7LAXFJ.js → chunk-ZUXES5HA.js} +2 -2
- package/dist/{chunk-C7ME7Y45.js → chunk-ZWJ7PWTY.js} +2 -2
- package/dist/{clean-6YCVFT7D.js → clean-UGV3DTVQ.js} +22 -22
- package/dist/cli.js +64 -65
- package/dist/{cloud-TEJ6UVBU.js → cloud-QJMPTQ3N.js} +5 -6
- package/dist/{cloud-BPWS4GJS.js → cloud-SDC56AHY.js} +4 -4
- package/dist/{cloudrun-A7DU7DQE.js → cloudrun-T7VVPRDG.js} +7 -7
- package/dist/{compare-HELNXJLM.js → compare-LG42JVYH.js} +35 -35
- package/dist/{compiler-J43BE6LC.js → compiler-ZSIKBZBR.js} +4 -4
- package/dist/{component-WEC4QGT3.js → component-OPAFYBPO.js} +3 -3
- package/dist/{compositions-RSUPWPK6.js → compositions-JP655NT3.js} +13 -13
- package/dist/{curve-OK5TBGXV.js → curve-RN7HDXOS.js} +12 -12
- package/dist/{cuts-S5WHYQZZ.js → cuts-ET7N7IBU.js} +13 -13
- package/dist/{delete-5NHJKNWL.js → delete-5552CGT5.js} +8 -9
- package/dist/{deploy-7PLBBXNB.js → deploy-NMFEPGRQ.js} +6 -6
- package/dist/{describeProject-WVLTYWPG.js → describeProject-CWLV5OAT.js} +8 -8
- package/dist/{deterministicFonts-UZIF5XZW.js → deterministicFonts-SKRN3TCP.js} +2 -2
- package/dist/{diff-W4EXKV5Q.js → diff-HZX2TISC.js} +39 -40
- package/dist/{dist-4JHP47NU.js → dist-EFXKPJJT.js} +2 -2
- package/dist/{dist-AUYCAQMA.js → dist-O45G7NET.js} +14 -14
- package/dist/{dist-F3Y2XHZL.js → dist-QRXJMFI7.js} +3 -3
- package/dist/{doctor-7Y75ZXTU.js → doctor-IYEYULPD.js} +12 -12
- package/dist/{energy-Y4KYLWLZ.js → energy-YXEPVRKW.js} +13 -13
- package/dist/{events-3LAHSBBF.js → events-GA24CH3D.js} +8 -8
- package/dist/{events-TQD3L5FS.js → events-JAY5YNEU.js} +15 -15
- package/dist/{events-67Q5DIRC.js → events-KYCNM6C3.js} +4 -4
- package/dist/{extract-6KGIEC76.js → extract-TFEVGLLS.js} +16 -16
- package/dist/{face-OBEAPOZR.js → face-NP7JGAE7.js} +14 -14
- package/dist/{feedback-QTB2UH3Q.js → feedback-UPYWXKHN.js} +14 -15
- package/dist/{ffmpeg-4CMA6M2L.js → ffmpeg-RYNM3JM2.js} +7 -7
- package/dist/{figma-4ZKDJA4R.js → figma-PL4YF6AD.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-OFLJT4D5.js → frames-7CHO3XUP.js} +14 -14
- package/dist/{generate-LHRF4A3Z.js → generate-I3UK6VFX.js} +26 -27
- package/dist/{get-56RYQ7KG.js → get-DRFSJ333.js} +8 -9
- package/dist/{gpuPolicy-35XK273G.js → gpuPolicy-OAUKEMJC.js} +7 -7
- package/dist/{grade-compare-GQVODT4T.js → grade-compare-PYDF6Y6J.js} +37 -37
- package/dist/{gsapParserAcorn-5YD4N6HQ.js → gsapParserAcorn-SKGP4R4N.js} +1 -1
- package/dist/{heifImagePrep-7WN2QNQM.js → heifImagePrep-23E67GBA.js} +8 -8
- package/dist/{help-E2TKPNJJ.js → help-N2SPZK4D.js} +1 -1
- package/dist/{history-AJ2MSBW6.js → history-LXYOTFY7.js} +11 -11
- package/dist/hyperframes-player.global.js +2 -2
- package/dist/{info-HV43ZADN.js → info-ENAE5IAD.js} +15 -15
- package/dist/{init-OHVVGDSF.js → init-DMKB6PK6.js} +29 -29
- package/dist/{ink-IESBIGOE.js → ink-ANDD7W6Y.js} +13 -13
- package/dist/{inspect-Y7YS3ILY.js → inspect-2XZYCFMK.js} +34 -34
- package/dist/{installer-AJESSC5Y.js → installer-VPGNKCEU.js} +5 -5
- package/dist/{keyframes-XSL7JGAF.js → keyframes-UKUFE6ZF.js} +15 -12
- package/dist/{lambda-KU65SSVE.js → lambda-T4WMAZZV.js} +13 -13
- package/dist/{layout-ORX7QBGL.js → layout-FX2Q65LB.js} +34 -34
- package/dist/{lint-KUGT5YHK.js → lint-AHORS3BL.js} +12 -12
- package/dist/{lintProject-Z6TG3Z34.js → lintProject-5CBL7VFV.js} +2 -2
- package/dist/{list-EB3WYTHH.js → list-H7F3WXD4.js} +10 -11
- package/dist/{localPage-QLGKJQ6X.js → localPage-UUSOCL7L.js} +7 -7
- package/dist/{login-O5HWEYI4.js → login-6ORXT7JS.js} +7 -8
- package/dist/{logout-AHGR3X5U.js → logout-FJ444652.js} +4 -6
- package/dist/{look-BPSKQDST.js → look-XFA3GQDV.js} +13 -13
- package/dist/{manager-MNOR566P.js → manager-ZGVNWYBK.js} +8 -8
- package/dist/{measure-USYFR5EK.js → measure-WIARVYP6.js} +11 -11
- package/dist/{media-treatment-5YATQA5D.js → media-treatment-L2OD4GAB.js} +15 -15
- package/dist/{media-use-BA245HF5.js → media-use-SYSDJH23.js} +7 -9
- package/dist/{models-ST3IIAN2.js → models-YOGYUKBX.js} +11 -11
- package/dist/{motionShot-DOIU74HO.js → motionShot-II6JZGTO.js} +19 -19
- package/dist/{normalize-audio-PPSCFVKC.js → normalize-audio-L6V6T2XW.js} +11 -11
- package/dist/{open-R2EPWLS6.js → open-BPGKTYYV.js} +14 -14
- package/dist/{parakeetRunner-Q2SYZVYV.js → parakeetRunner-BWX3UQH4.js} +13 -13
- package/dist/{pipeline-NQ4BI2D7.js → pipeline-O3VKDLBZ.js} +10 -10
- package/dist/{play-J3DJBBXW.js → play-NLZ4D4VN.js} +26 -26
- package/dist/{preflight-DLO6LHGO.js → preflight-HEAPQ7N7.js} +8 -8
- package/dist/{present-MIWYYTIE.js → present-XPLUCZ5Z.js} +21 -21
- package/dist/{preview-DEGHLTT6.js → preview-JAWCYDZP.js} +23 -23
- package/dist/{probe-63RJNPIB.js → probe-3AL2MBSY.js} +13 -13
- package/dist/{producer-H7L5TBE4.js → producer-OQETVMJH.js} +1 -1
- package/dist/{projectConfig-GJL2ZGOU.js → projectConfig-UHYPGWD5.js} +7 -7
- package/dist/{publication-BLLVTVD6.js → publication-5KOANEHK.js} +3 -3
- package/dist/{publish-CYPJA7T7.js → publish-C3ARXH6D.js} +23 -83
- package/dist/{refresh-TB4TNH7R.js → refresh-YY4K2RWR.js} +3 -4
- package/dist/{remove-background-KX574FQY.js → remove-background-2SNU7KAA.js} +11 -11
- package/dist/{render-SHUBWBK4.js → render-FFA55SPM.js} +938 -316
- package/dist/{render-N7PKCVEP.js → render-IKHZUOCM.js} +44 -45
- package/dist/{render-RUEXLOWE.js → render-TSV3XTQV.js} +6 -6
- package/dist/{render-batch-QFGQD5FM.js → render-batch-ISMXAG7F.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-HQIDF3TF.js → resolver-ZWNLOG6O.js} +5 -5
- package/dist/{reverse-D2XWX6FV.js → reverse-74KYO2KF.js} +1 -1
- package/dist/{run-EVZGKUEX.js → run-UPKPPRV7.js} +4 -5
- package/dist/{screenshotCapture-4JLD2OQZ.js → screenshotCapture-HBOH5VXI.js} +8 -8
- package/dist/{sherpa-LU5AOQHV.js → sherpa-DBCTQWM3.js} +12 -12
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +0 -20
- package/dist/{skills-KVQ2G6P5.js → skills-YYOPM674.js} +11 -11
- package/dist/{skillsUpdateCheck-EB54PRMT.js → skillsUpdateCheck-2G4HUWXT.js} +4 -4
- package/dist/{snapshot-QWO6OXG3.js → snapshot-FSN6MIFT.js} +50 -48
- package/dist/{src-WMZX5C4A.js → src-PZKWEQB3.js} +12 -12
- package/dist/{src-I3B7LYZM.js → src-W2OMGCC2.js} +6 -6
- package/dist/{start-ACVZUBZX.js → start-BC3LQ6XM.js} +24 -25
- package/dist/{staticProjectServer-C6KEOAYY.js → staticProjectServer-NOC42RG6.js} +19 -19
- package/dist/{status-RYI42XDB.js → status-GAMGQR6J.js} +18 -20
- package/dist/studio/assets/{codec-D6qbrtZY.js → codec-DqZyhFXM.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-BVe9IO80.js → hyperframes-player-aBBb_UoJ.js} +2 -2
- package/dist/studio/assets/{index-BZu8x7Q5.js → index-CceqlOsz.js} +1 -1
- package/dist/studio/assets/{index-Cq2w6U13.css → index-dsfjBidg.css} +1 -1
- package/dist/studio/assets/{index-Cl9fSd9I.js → index-nztwvLTw.js} +184 -184
- package/dist/studio/assets/{pausedVideoDecoder-DfnHfnL7.js → pausedVideoDecoder-CwC0h32O.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-RBURPKYX.js → studio-api-2I44WB4P.js} +14 -14
- package/dist/{studioServer-J5DYNR6R.js → studioServer-YOES7J26.js} +83 -434
- package/dist/{sync-MUKE7NSP.js → sync-SAFSREBK.js} +13 -13
- package/dist/{telemetry-6MDOWNLT.js → telemetry-JKUAFRWX.js} +8 -8
- package/dist/{templates-LWPXN7M2.js → templates-T63OMFEN.js} +18 -19
- package/dist/{timeline-WTBC3J7O.js → timeline-4WIGTZRE.js} +21 -21
- package/dist/{tokens-4NPCCANL.js → tokens-JK3XREP4.js} +2 -2
- package/dist/{transcribe-RL7LGXU6.js → transcribe-APCPBJXE.js} +10 -10
- package/dist/{transcribe-NZJPYTM7.js → transcribe-DWCOZPAN.js} +28 -29
- package/dist/{tts-NANTORLP.js → tts-HOZ6X3MD.js} +1 -1
- package/dist/{update-DZCGNNOU.js → update-I3DN6NUV.js} +12 -12
- package/dist/{updateCheck-N3C56RNJ.js → updateCheck-5C2PHZ24.js} +3 -3
- package/dist/{upgrade-RCV7ZF5Z.js → upgrade-KBMPHPSY.js} +4 -4
- package/dist/{urlDownloader-SSPDDS4Y.js → urlDownloader-T5UKNPTJ.js} +6 -6
- package/dist/{validate-HQDRN6T3.js → validate-YNITWYCF.js} +28 -28
- package/dist/{video-FPDBQAXL.js → video-JRQOXAZ2.js} +8 -8
- package/dist/{voices-PMLIXQT4.js → voices-7QS4D5EP.js} +23 -24
- package/dist/warmCheck.js +44 -43
- package/package.json +1 -2
- package/dist/chunk-DDCFX533.js +0 -387
- package/dist/chunk-EKT2P27A.js +0 -538
- package/dist/chunk-F2FRUMWN.js +0 -3699
- package/dist/chunk-JE2YBPC5.js +0 -152
- package/dist/chunk-U2NESB4H.js +0 -173
- package/dist/chunk-USTPTY7P.js +0 -51
- package/dist/chunk-VHXIMBTF.js +0 -343
- package/dist/contract/LICENSE-Unicode.txt +0 -39
- package/dist/contract/path-policy.json +0 -311
- package/dist/contract/unicode-15.1.0.json +0 -6179
- package/dist/execute-GFHAD3L6.js +0 -109
- package/dist/oauth-KUPQUH6E.js +0 -40
- package/dist/plan-CN2TTIAA.js +0 -88
- package/dist/service-L3K45WOD.js +0 -68
- package/dist/share-7G44HDSY.js +0 -226
- package/dist/{destroy-IWHFUGJL.js → destroy-YAMTVR2W.js} +4 -4
- package/dist/{synthesize-NJKCIPKW.js → synthesize-MDW4ZWTN.js} +5 -5
package/dist/chunk-EKT2P27A.js
DELETED
|
@@ -1,538 +0,0 @@
|
|
|
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
|
-
import {
|
|
8
|
-
hasExplicitCompositionArg,
|
|
9
|
-
resolveCompositionEntryArg
|
|
10
|
-
} from "./chunk-J3X2RZON.js";
|
|
11
|
-
import {
|
|
12
|
-
parseEnumFlag
|
|
13
|
-
} from "./chunk-U46YQL7E.js";
|
|
14
|
-
import {
|
|
15
|
-
parseDeliveryFlags
|
|
16
|
-
} from "./chunk-JEVWAGQP.js";
|
|
17
|
-
import {
|
|
18
|
-
resolveProject
|
|
19
|
-
} from "./chunk-IEB4IKXF.js";
|
|
20
|
-
import {
|
|
21
|
-
parseGifLoopArg,
|
|
22
|
-
parseHlsSegmentSecondsArg,
|
|
23
|
-
resolveBrowserTimeoutMsArg,
|
|
24
|
-
resolveDefaultFpsArg
|
|
25
|
-
} from "./chunk-DPAC75N5.js";
|
|
26
|
-
import {
|
|
27
|
-
errorBox
|
|
28
|
-
} from "./chunk-FGFVUKPP.js";
|
|
29
|
-
import {
|
|
30
|
-
loadProjectConfig,
|
|
31
|
-
readProjectConfigWithStatus
|
|
32
|
-
} from "./chunk-WIJGRX5X.js";
|
|
33
|
-
import {
|
|
34
|
-
normalizeSkillSlug
|
|
35
|
-
} from "./chunk-HVW7ABXD.js";
|
|
36
|
-
import {
|
|
37
|
-
EXTRACT_CACHE_DIR_DISABLED_ALIASES,
|
|
38
|
-
MAX_VP9_CPU_USED,
|
|
39
|
-
MIN_VP9_CPU_USED,
|
|
40
|
-
isVideoFrameFormat
|
|
41
|
-
} from "./chunk-Q5J4OO7N.js";
|
|
42
|
-
import {
|
|
43
|
-
DISTRIBUTED_FPS,
|
|
44
|
-
formatRenderOutputTimestamp,
|
|
45
|
-
fpsToNumber,
|
|
46
|
-
isDistributedFps,
|
|
47
|
-
parseFps
|
|
48
|
-
} from "./chunk-Q6TVZY36.js";
|
|
49
|
-
import {
|
|
50
|
-
collectSubCompositionSrcs
|
|
51
|
-
} from "./chunk-WVRAFHJU.js";
|
|
52
|
-
import {
|
|
53
|
-
isAspectAgnosticResolutionAlias,
|
|
54
|
-
normalizeResolutionFlag
|
|
55
|
-
} from "./chunk-AAENGP3S.js";
|
|
56
|
-
import {
|
|
57
|
-
failUsage
|
|
58
|
-
} from "./chunk-66W5IWLO.js";
|
|
59
|
-
|
|
60
|
-
// src/commands/render/plan.ts
|
|
61
|
-
import { statSync } from "fs";
|
|
62
|
-
import { dirname, join, resolve as resolve2 } from "path";
|
|
63
|
-
|
|
64
|
-
// src/utils/catalogUsage.ts
|
|
65
|
-
import { readFileSync } from "fs";
|
|
66
|
-
import { isAbsolute, relative, resolve } from "path";
|
|
67
|
-
var EMPTY = Object.freeze({
|
|
68
|
-
installed: [],
|
|
69
|
-
usedBlocks: [],
|
|
70
|
-
manifestUnreadable: false
|
|
71
|
-
});
|
|
72
|
-
var UNREADABLE = Object.freeze({
|
|
73
|
-
installed: [],
|
|
74
|
-
usedBlocks: [],
|
|
75
|
-
manifestUnreadable: true
|
|
76
|
-
});
|
|
77
|
-
var MAX_VISITED_FILES = 250;
|
|
78
|
-
var MAX_HTML_BYTES = 20 * 1024 * 1024;
|
|
79
|
-
var REGISTRY_ITEM_NAME = /^[a-z0-9][a-z0-9-]{0,63}$/;
|
|
80
|
-
function reachableCompositions(projectDir, entryPath) {
|
|
81
|
-
const seen = /* @__PURE__ */ new Set();
|
|
82
|
-
const queue = [resolve(entryPath)];
|
|
83
|
-
while (queue.length > 0 && seen.size < MAX_VISITED_FILES) {
|
|
84
|
-
const current = queue.shift();
|
|
85
|
-
if (seen.has(current)) continue;
|
|
86
|
-
seen.add(current);
|
|
87
|
-
let html;
|
|
88
|
-
try {
|
|
89
|
-
html = readFileSync(current, "utf-8");
|
|
90
|
-
} catch {
|
|
91
|
-
continue;
|
|
92
|
-
}
|
|
93
|
-
if (html.length > MAX_HTML_BYTES) continue;
|
|
94
|
-
for (const src of collectSubCompositionSrcs(html)) {
|
|
95
|
-
queue.push(resolve(projectDir, src));
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
return seen;
|
|
99
|
-
}
|
|
100
|
-
function isReached(projectDir, target, reachable) {
|
|
101
|
-
if (isAbsolute(target)) return false;
|
|
102
|
-
const abs = resolve(projectDir, target);
|
|
103
|
-
if (relative(projectDir, abs).startsWith("..")) return false;
|
|
104
|
-
return reachable.has(abs);
|
|
105
|
-
}
|
|
106
|
-
function reportableNames(names) {
|
|
107
|
-
return [...new Set(names.filter((name) => REGISTRY_ITEM_NAME.test(name)))].sort();
|
|
108
|
-
}
|
|
109
|
-
function summarizeCatalogUsage(projectDir, entryPath) {
|
|
110
|
-
const { status, config } = readProjectConfigWithStatus(projectDir);
|
|
111
|
-
if (status === "unreadable") return UNREADABLE;
|
|
112
|
-
const items = config?.registryItems ?? [];
|
|
113
|
-
if (items.length === 0) return EMPTY;
|
|
114
|
-
const installed = reportableNames(items.map((item) => item.name));
|
|
115
|
-
if (installed.length === 0) return EMPTY;
|
|
116
|
-
const reachable = reachableCompositions(projectDir, entryPath);
|
|
117
|
-
const usedBlocks = reportableNames(
|
|
118
|
-
items.filter(
|
|
119
|
-
(item) => item.type === "hyperframes:block" && isReached(projectDir, item.target, reachable)
|
|
120
|
-
).map((item) => item.name)
|
|
121
|
-
);
|
|
122
|
-
return { installed, usedBlocks, manifestUnreadable: false };
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// src/commands/render/plan.ts
|
|
126
|
-
var QUALITY_ALIASES = {
|
|
127
|
-
draft: { quality: "draft" },
|
|
128
|
-
standard: { quality: "standard" },
|
|
129
|
-
high: { quality: "high" },
|
|
130
|
-
looks: { quality: "standard", crf: 16 },
|
|
131
|
-
delivery: { quality: "high" }
|
|
132
|
-
};
|
|
133
|
-
var RENDER_FORMATS = ["mp4", "webm", "mov", "png-sequence", "gif", "hls"];
|
|
134
|
-
var VALID_FORMAT = new Set(RENDER_FORMATS);
|
|
135
|
-
var RENDER_FORMAT_LABEL = "mp4, webm, mov, png-sequence, gif, or hls";
|
|
136
|
-
var DEFAULT_HLS_SEGMENT_SECONDS = 4;
|
|
137
|
-
var FORMAT_EXT = {
|
|
138
|
-
mp4: ".mp4",
|
|
139
|
-
webm: ".webm",
|
|
140
|
-
mov: ".mov",
|
|
141
|
-
"png-sequence": "",
|
|
142
|
-
gif: ".gif",
|
|
143
|
-
// Directory output, like png-sequence: playlists and .ts segments go inside.
|
|
144
|
-
hls: ""
|
|
145
|
-
};
|
|
146
|
-
function formatFpsParseError(input, reason) {
|
|
147
|
-
switch (reason) {
|
|
148
|
-
case "empty":
|
|
149
|
-
return "Frame rate must not be empty.";
|
|
150
|
-
case "not-a-number":
|
|
151
|
-
return `Got "${input}". Frame rate must be an integer (e.g. 30) or a rational (e.g. 30000/1001 for NTSC).`;
|
|
152
|
-
case "non-positive":
|
|
153
|
-
return `Got "${input}". Frame rate must be greater than zero.`;
|
|
154
|
-
case "out-of-range":
|
|
155
|
-
return `Got "${input}". Frame rate must be in the range 1\u2013240.`;
|
|
156
|
-
case "invalid-fraction":
|
|
157
|
-
return `Got "${input}". Rational frame rates must be two positive integers separated by '/' (e.g. 30000/1001).`;
|
|
158
|
-
case "ambiguous-decimal":
|
|
159
|
-
return `Got "${input}". Decimal frame rates are ambiguous \u2014 use the exact rational form instead (e.g. 30000/1001 for 29.97).`;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
function parseRenderFormat(input) {
|
|
163
|
-
if (!VALID_FORMAT.has(input)) return void 0;
|
|
164
|
-
return RENDER_FORMATS.find((format) => format === input);
|
|
165
|
-
}
|
|
166
|
-
function parseRenderRange(args, format, fps, hdr) {
|
|
167
|
-
if (args.start === void 0 && args.end === void 0) return void 0;
|
|
168
|
-
const seconds = (flag, raw) => {
|
|
169
|
-
const parsed = raw.trim() === "" ? Number.NaN : Number(raw);
|
|
170
|
-
if (!Number.isFinite(parsed) || parsed < 0) {
|
|
171
|
-
errorBox(`Invalid ${flag}`, `Got "${raw}". Must be a number of seconds, 0 or more.`);
|
|
172
|
-
failUsage();
|
|
173
|
-
}
|
|
174
|
-
return parsed;
|
|
175
|
-
};
|
|
176
|
-
const startSeconds = args.start === void 0 ? 0 : seconds("--start", args.start);
|
|
177
|
-
const endSeconds = args.end === void 0 ? void 0 : seconds("--end", args.end);
|
|
178
|
-
if (endSeconds !== void 0 && endSeconds <= startSeconds) {
|
|
179
|
-
errorBox("Invalid range", `--end (${endSeconds}) must be after --start (${startSeconds}).`);
|
|
180
|
-
failUsage();
|
|
181
|
-
}
|
|
182
|
-
const limit = rangeLimit(format, fps, hdr);
|
|
183
|
-
if (limit) {
|
|
184
|
-
errorBox(
|
|
185
|
-
"A range renders what chunked renders can",
|
|
186
|
-
limit,
|
|
187
|
-
"Remove --start/--end to render the whole film."
|
|
188
|
-
);
|
|
189
|
-
failUsage();
|
|
190
|
-
}
|
|
191
|
-
return { startSeconds, endSeconds };
|
|
192
|
-
}
|
|
193
|
-
function rangeLimit(format, fps, hdr) {
|
|
194
|
-
if (format !== "mp4") return `--start/--end render MP4 only, not ${format}.`;
|
|
195
|
-
if (fps.den !== 1 || !isDistributedFps(fps.num)) {
|
|
196
|
-
return `--start/--end need a whole frame rate in ${DISTRIBUTED_FPS.join(", ")}, not ${fps.num}/${fps.den}.`;
|
|
197
|
-
}
|
|
198
|
-
if (hdr) return "--start/--end render SDR only, not --hdr.";
|
|
199
|
-
return void 0;
|
|
200
|
-
}
|
|
201
|
-
function positiveInteger(raw, title, message, min = 1) {
|
|
202
|
-
const parsed = Number(raw);
|
|
203
|
-
if (!Number.isInteger(parsed) || parsed < min) {
|
|
204
|
-
errorBox(title, message);
|
|
205
|
-
failUsage();
|
|
206
|
-
}
|
|
207
|
-
return parsed;
|
|
208
|
-
}
|
|
209
|
-
var HF_ENV_OVERRIDE_RE = /^(HF|HYPERFRAMES)_/;
|
|
210
|
-
var MAX_REPORTED_ENV_OVERRIDES = 20;
|
|
211
|
-
var CLI_INTERNAL_HF_ENV_KEYS = /* @__PURE__ */ new Set(["HF_SHADER_WORKER_ENTRY"]);
|
|
212
|
-
function resolveHfEnvOverrides() {
|
|
213
|
-
return Object.keys(process.env).filter((name) => HF_ENV_OVERRIDE_RE.test(name) && !CLI_INTERNAL_HF_ENV_KEYS.has(name)).sort().slice(0, MAX_REPORTED_ENV_OVERRIDES);
|
|
214
|
-
}
|
|
215
|
-
function createRenderPlan(args, now = /* @__PURE__ */ new Date()) {
|
|
216
|
-
const pageMotionBlur = parseEnumFlag(args["page-motion-blur"], ["off"], {
|
|
217
|
-
flag: "--page-motion-blur"
|
|
218
|
-
});
|
|
219
|
-
const hfEnvOverrides = resolveHfEnvOverrides();
|
|
220
|
-
const hasExplicitComposition = hasExplicitCompositionArg(args.composition);
|
|
221
|
-
const project = resolveProject(args.dir, { requireIndex: !hasExplicitComposition });
|
|
222
|
-
const entryFile = resolveCompositionEntryArg(args.composition, project.dir, statSync);
|
|
223
|
-
const renderTarget = entryFile ? resolve2(project.dir, entryFile) : project.indexPath;
|
|
224
|
-
const fpsArg = resolveDefaultFpsArg(args.fps, project.dir, project.indexPath, entryFile);
|
|
225
|
-
const fpsParse = parseFps(fpsArg ?? "30");
|
|
226
|
-
if (!fpsParse.ok) {
|
|
227
|
-
errorBox("Invalid fps", formatFpsParseError(fpsArg ?? "30", fpsParse.reason));
|
|
228
|
-
failUsage();
|
|
229
|
-
}
|
|
230
|
-
let fps = fpsParse.value;
|
|
231
|
-
const qualityRaw = args.quality ?? "looks";
|
|
232
|
-
if (!(qualityRaw in QUALITY_ALIASES)) {
|
|
233
|
-
errorBox(
|
|
234
|
-
"Invalid quality",
|
|
235
|
-
`Got "${qualityRaw}". Must be draft, looks, delivery, standard, or high.`
|
|
236
|
-
);
|
|
237
|
-
failUsage();
|
|
238
|
-
}
|
|
239
|
-
const qualityAlias = QUALITY_ALIASES[qualityRaw];
|
|
240
|
-
const quality = qualityAlias.quality;
|
|
241
|
-
const flagSkill = normalizeSkillSlug(args.skill);
|
|
242
|
-
const projectConfigSkill = loadProjectConfig(project.dir).authoringSkill;
|
|
243
|
-
const authoringSkill = flagSkill ?? projectConfigSkill;
|
|
244
|
-
const invalidAuthoringSkill = typeof args.skill === "string" && args.skill.trim() !== "" && !flagSkill ? args.skill : void 0;
|
|
245
|
-
const authoringSkillSource = flagSkill ? "flag" : projectConfigSkill ? "project-config" : void 0;
|
|
246
|
-
const catalogUsage = summarizeCatalogUsage(project.dir, renderTarget);
|
|
247
|
-
const formatRaw = args.format ?? "mp4";
|
|
248
|
-
const format = parseRenderFormat(formatRaw);
|
|
249
|
-
if (!format) {
|
|
250
|
-
errorBox("Invalid format", `Got "${formatRaw}". Must be ${RENDER_FORMAT_LABEL}.`);
|
|
251
|
-
failUsage();
|
|
252
|
-
}
|
|
253
|
-
let gifFpsCapped = false;
|
|
254
|
-
if (format === "gif" && fpsToNumber(fps) > 30) {
|
|
255
|
-
fps = { num: 30, den: 1 };
|
|
256
|
-
gifFpsCapped = true;
|
|
257
|
-
}
|
|
258
|
-
const gifLoopParse = parseGifLoopArg(args["gif-loop"]);
|
|
259
|
-
if (!gifLoopParse.ok) {
|
|
260
|
-
errorBox("Invalid gif-loop", gifLoopParse.message);
|
|
261
|
-
failUsage();
|
|
262
|
-
}
|
|
263
|
-
const gifLoop = gifLoopParse.value ?? (format === "gif" ? 0 : void 0);
|
|
264
|
-
const hlsSegmentParse = parseHlsSegmentSecondsArg(args["hls-segment-seconds"]);
|
|
265
|
-
if (!hlsSegmentParse.ok) {
|
|
266
|
-
errorBox("Invalid hls-segment-seconds", hlsSegmentParse.message);
|
|
267
|
-
failUsage();
|
|
268
|
-
}
|
|
269
|
-
const hlsSegmentSeconds = format === "hls" ? hlsSegmentParse.value ?? DEFAULT_HLS_SEGMENT_SECONDS : void 0;
|
|
270
|
-
const videoFrameFormatRaw = args["video-frame-format"] ?? "auto";
|
|
271
|
-
if (!isVideoFrameFormat(videoFrameFormatRaw)) {
|
|
272
|
-
errorBox(
|
|
273
|
-
"Invalid video-frame-format",
|
|
274
|
-
`Got "${videoFrameFormatRaw}". Must be auto, jpg, or png.`
|
|
275
|
-
);
|
|
276
|
-
failUsage();
|
|
277
|
-
}
|
|
278
|
-
let outputResolution;
|
|
279
|
-
let outputResolutionAspectAgnostic = false;
|
|
280
|
-
if (args.resolution !== void 0) {
|
|
281
|
-
outputResolution = normalizeResolutionFlag(args.resolution);
|
|
282
|
-
if (!outputResolution) {
|
|
283
|
-
errorBox(
|
|
284
|
-
"Invalid resolution",
|
|
285
|
-
`Got "${args.resolution}". Must be one of: landscape, portrait, landscape-4k, portrait-4k, square, square-4k, landscape-1440p, portrait-1440p, square-1440p (or aliases 1080p, 4k, uhd, 1440p, qhd, 1080p-square, square-1080p, 4k-square, 1440p-portrait, 1440p-square).`
|
|
286
|
-
);
|
|
287
|
-
failUsage();
|
|
288
|
-
}
|
|
289
|
-
outputResolutionAspectAgnostic = isAspectAgnosticResolutionAlias(args.resolution);
|
|
290
|
-
if (args.hdr) {
|
|
291
|
-
errorBox(
|
|
292
|
-
"Conflicting flags",
|
|
293
|
-
"--resolution cannot be combined with --hdr. The HDR pipeline composites at composition dimensions and does not yet support supersampling.",
|
|
294
|
-
"Render in two passes: HDR at composition resolution, then upscale separately with ffmpeg."
|
|
295
|
-
);
|
|
296
|
-
failUsage();
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
if (args.hdr && args.sdr) {
|
|
300
|
-
errorBox("Conflicting flags", "--hdr and --sdr are mutually exclusive.");
|
|
301
|
-
failUsage();
|
|
302
|
-
}
|
|
303
|
-
if (format === "hls" && args.hdr) {
|
|
304
|
-
errorBox(
|
|
305
|
-
"Unsupported HLS output",
|
|
306
|
-
"--hdr cannot be combined with --format hls. HLS output is SDR only (H.264 + AAC in MPEG-TS); HDR10 would need fMP4 segments and HEVC.",
|
|
307
|
-
"Render HDR to MP4, or drop --hdr."
|
|
308
|
-
);
|
|
309
|
-
failUsage();
|
|
310
|
-
}
|
|
311
|
-
if (format === "hls" && args.gpu) {
|
|
312
|
-
errorBox(
|
|
313
|
-
"Unsupported HLS output",
|
|
314
|
-
"--gpu cannot be combined with --format hls. Fixed-length segments require the software encoder's forced-keyframe lock, which GPU encoders ignore.",
|
|
315
|
-
"Re-run without --gpu."
|
|
316
|
-
);
|
|
317
|
-
failUsage();
|
|
318
|
-
}
|
|
319
|
-
const workers = args.workers != null && args.workers !== "auto" ? positiveInteger(
|
|
320
|
-
args.workers,
|
|
321
|
-
"Invalid workers",
|
|
322
|
-
`Got "${args.workers}". Must be a positive number or "auto".`
|
|
323
|
-
) : void 0;
|
|
324
|
-
const protocolTimeout = args["protocol-timeout"] != null ? positiveInteger(
|
|
325
|
-
args["protocol-timeout"],
|
|
326
|
-
"Invalid protocol-timeout",
|
|
327
|
-
`Got "${args["protocol-timeout"]}". Must be a number >= 1000 (ms).`,
|
|
328
|
-
1e3
|
|
329
|
-
) : void 0;
|
|
330
|
-
const playerReadyTimeout = args["player-ready-timeout"] != null ? positiveInteger(
|
|
331
|
-
args["player-ready-timeout"],
|
|
332
|
-
"Invalid player-ready-timeout",
|
|
333
|
-
`Got "${args["player-ready-timeout"]}". Must be a number >= 1000 (ms).`,
|
|
334
|
-
1e3
|
|
335
|
-
) : void 0;
|
|
336
|
-
const environment = {};
|
|
337
|
-
if (args["page-side-compositing"] === false) environment.HF_PAGE_SIDE_COMPOSITING = "false";
|
|
338
|
-
if (args["low-memory-mode"] != null) {
|
|
339
|
-
environment.PRODUCER_LOW_MEMORY_MODE = args["low-memory-mode"] ? "true" : "false";
|
|
340
|
-
}
|
|
341
|
-
if (args["experimental-fast-capture"] != null) {
|
|
342
|
-
environment.PRODUCER_EXPERIMENTAL_FAST_CAPTURE = args["experimental-fast-capture"] ? "true" : "false";
|
|
343
|
-
}
|
|
344
|
-
if (typeof args["frames-cache-dir"] === "string" && args["frames-cache-dir"].trim() !== "") {
|
|
345
|
-
const raw = args["frames-cache-dir"].trim();
|
|
346
|
-
const normalized = raw.toLowerCase();
|
|
347
|
-
const isDisableAlias = EXTRACT_CACHE_DIR_DISABLED_ALIASES.includes(normalized);
|
|
348
|
-
environment.HYPERFRAMES_EXTRACT_CACHE_DIR = isDisableAlias ? raw : resolve2(raw);
|
|
349
|
-
}
|
|
350
|
-
if (args["max-concurrent-renders"] != null) {
|
|
351
|
-
const parsed = positiveInteger(
|
|
352
|
-
args["max-concurrent-renders"],
|
|
353
|
-
"Invalid max-concurrent-renders",
|
|
354
|
-
`Got "${args["max-concurrent-renders"]}". Must be a number between 1 and 10.`
|
|
355
|
-
);
|
|
356
|
-
if (parsed > 10) {
|
|
357
|
-
errorBox(
|
|
358
|
-
"Invalid max-concurrent-renders",
|
|
359
|
-
`Got "${args["max-concurrent-renders"]}". Must be a number between 1 and 10.`
|
|
360
|
-
);
|
|
361
|
-
failUsage();
|
|
362
|
-
}
|
|
363
|
-
environment.PRODUCER_MAX_CONCURRENT_RENDERS = String(parsed);
|
|
364
|
-
}
|
|
365
|
-
const batchPath = typeof args.batch === "string" && args.batch.trim() !== "" ? args.batch.trim() : void 0;
|
|
366
|
-
if (batchPath && (args.variables != null || args["variables-file"] != null)) {
|
|
367
|
-
errorBox(
|
|
368
|
-
"Conflicting variables flags",
|
|
369
|
-
"Use either --batch or --variables/--variables-file, not both."
|
|
370
|
-
);
|
|
371
|
-
failUsage();
|
|
372
|
-
}
|
|
373
|
-
if (!batchPath && args["batch-concurrency"] != null) {
|
|
374
|
-
errorBox("Invalid batch-concurrency", "--batch-concurrency requires --batch.");
|
|
375
|
-
failUsage();
|
|
376
|
-
}
|
|
377
|
-
if (!batchPath && args["batch-fail-fast"]) {
|
|
378
|
-
errorBox("Invalid batch-fail-fast", "--batch-fail-fast requires --batch.");
|
|
379
|
-
failUsage();
|
|
380
|
-
}
|
|
381
|
-
const batchConcurrency = args["batch-concurrency"] != null ? positiveInteger(
|
|
382
|
-
args["batch-concurrency"],
|
|
383
|
-
"Invalid batch-concurrency",
|
|
384
|
-
`Got "${args["batch-concurrency"]}". Must be a positive integer.`
|
|
385
|
-
) : 1;
|
|
386
|
-
const rendersDir = join(project.dir, "renders");
|
|
387
|
-
const ext = FORMAT_EXT[format];
|
|
388
|
-
const timestamp = formatRenderOutputTimestamp(now);
|
|
389
|
-
const batchOutputTemplate = args.output ? args.output : join(rendersDir, `${project.name}_${timestamp}_{index}${ext}`);
|
|
390
|
-
const outputPath = args.output ? resolve2(args.output) : join(rendersDir, `${project.name}_${timestamp}${ext}`);
|
|
391
|
-
const useDocker = args.docker ?? false;
|
|
392
|
-
const useGpu = args.gpu ?? false;
|
|
393
|
-
const browserGpuMode = resolveBrowserGpuForCli(useDocker, args["browser-gpu"]);
|
|
394
|
-
if (useDocker && args["browser-gpu"] === true) {
|
|
395
|
-
errorBox(
|
|
396
|
-
"Browser GPU is local-only",
|
|
397
|
-
"--browser-gpu uses the host Chrome GPU backend. Docker mode keeps browser rendering deterministic and does not expose a cross-platform Chrome GPU backend.",
|
|
398
|
-
"Run without --docker, or use --gpu for Docker GPU encoding where your Docker host supports GPU passthrough."
|
|
399
|
-
);
|
|
400
|
-
failUsage();
|
|
401
|
-
}
|
|
402
|
-
const videoBitrate = args["video-bitrate"]?.trim();
|
|
403
|
-
if (args.crf != null && videoBitrate) {
|
|
404
|
-
errorBox("Conflicting encoder settings", "Use either --crf or --video-bitrate, not both.");
|
|
405
|
-
failUsage();
|
|
406
|
-
}
|
|
407
|
-
const crf = args.crf != null ? positiveInteger(
|
|
408
|
-
args.crf,
|
|
409
|
-
"Invalid crf",
|
|
410
|
-
`Got "${args.crf}". Must be a non-negative integer.`,
|
|
411
|
-
0
|
|
412
|
-
) : format === "mov" || args["video-bitrate"] ? void 0 : "crf" in qualityAlias ? qualityAlias.crf : void 0;
|
|
413
|
-
let vp9CpuUsed;
|
|
414
|
-
if (args["vp9-cpu-used"] != null) {
|
|
415
|
-
const parsed = Number(args["vp9-cpu-used"]);
|
|
416
|
-
if (!Number.isInteger(parsed) || parsed < MIN_VP9_CPU_USED || parsed > MAX_VP9_CPU_USED) {
|
|
417
|
-
errorBox(
|
|
418
|
-
"Invalid vp9-cpu-used",
|
|
419
|
-
`Got "${args["vp9-cpu-used"]}". Must be an integer between ${MIN_VP9_CPU_USED} and ${MAX_VP9_CPU_USED}.`
|
|
420
|
-
);
|
|
421
|
-
failUsage();
|
|
422
|
-
}
|
|
423
|
-
vp9CpuUsed = parsed;
|
|
424
|
-
}
|
|
425
|
-
if (args["video-bitrate"] != null && !videoBitrate) {
|
|
426
|
-
errorBox(
|
|
427
|
-
"Invalid video-bitrate",
|
|
428
|
-
`Got "${args["video-bitrate"]}". Must be a non-empty bitrate such as "10M".`
|
|
429
|
-
);
|
|
430
|
-
failUsage();
|
|
431
|
-
}
|
|
432
|
-
if (format === "mov" && (crf !== void 0 || videoBitrate !== void 0)) {
|
|
433
|
-
const flag = crf !== void 0 ? "--crf" : "--video-bitrate";
|
|
434
|
-
errorBox(
|
|
435
|
-
"Unsupported ProRes rate control",
|
|
436
|
-
`${flag} does not apply to MOV. MOV rate is set by the ProRes profile; see --prores-profile.`,
|
|
437
|
-
`Remove ${flag}, or choose MP4/WebM when you need CRF or target-bitrate control.`
|
|
438
|
-
);
|
|
439
|
-
failUsage();
|
|
440
|
-
}
|
|
441
|
-
const delivery = parseDeliveryFlags(args);
|
|
442
|
-
const { proresProfile, ...mp4Delivery } = delivery;
|
|
443
|
-
if (proresProfile !== void 0 && format !== "mov") {
|
|
444
|
-
errorBox(
|
|
445
|
-
"ProRes profile applies to MOV",
|
|
446
|
-
`--prores-profile sets the ProRes profile of a MOV file, not ${format}.`,
|
|
447
|
-
"Remove it, or render --format mov."
|
|
448
|
-
);
|
|
449
|
-
failUsage();
|
|
450
|
-
}
|
|
451
|
-
if (Object.keys(mp4Delivery).length > 0 && format !== "mp4") {
|
|
452
|
-
errorBox(
|
|
453
|
-
"Delivery options apply to MP4",
|
|
454
|
-
"--keyframe-interval, --max-bitrate and --buffer-size set how the MP4 encoder delivers the file.",
|
|
455
|
-
"Remove them, or render --format mp4."
|
|
456
|
-
);
|
|
457
|
-
failUsage();
|
|
458
|
-
}
|
|
459
|
-
const range = parseRenderRange(args, format, fps, args.hdr);
|
|
460
|
-
const quiet = args.quiet ?? false;
|
|
461
|
-
const batchJson = args.json ?? false;
|
|
462
|
-
return Object.freeze({
|
|
463
|
-
project,
|
|
464
|
-
entryFile,
|
|
465
|
-
renderTarget,
|
|
466
|
-
fps,
|
|
467
|
-
quality,
|
|
468
|
-
authoringSkill,
|
|
469
|
-
invalidAuthoringSkill,
|
|
470
|
-
authoringSkillSource,
|
|
471
|
-
catalogUsage,
|
|
472
|
-
format,
|
|
473
|
-
gifLoop,
|
|
474
|
-
gifFpsCapped,
|
|
475
|
-
hlsSegmentSeconds,
|
|
476
|
-
videoFrameFormat: videoFrameFormatRaw,
|
|
477
|
-
pageMotionBlur,
|
|
478
|
-
outputResolution,
|
|
479
|
-
outputResolutionAspectAgnostic,
|
|
480
|
-
outputResolutionRaw: args.resolution,
|
|
481
|
-
workers,
|
|
482
|
-
protocolTimeout,
|
|
483
|
-
playerReadyTimeout,
|
|
484
|
-
pageNavigationTimeoutMs: resolveBrowserTimeoutMsArg(args["browser-timeout"]),
|
|
485
|
-
batchPath,
|
|
486
|
-
batchConcurrency,
|
|
487
|
-
batchFailFast: args["batch-fail-fast"] ?? false,
|
|
488
|
-
batchOutputTemplate,
|
|
489
|
-
outputPath,
|
|
490
|
-
useDocker,
|
|
491
|
-
useGpu,
|
|
492
|
-
browserGpuMode,
|
|
493
|
-
quiet,
|
|
494
|
-
lintVerbose: args["lint-verbose"] ?? false,
|
|
495
|
-
debug: args.debug ?? false,
|
|
496
|
-
resumeSegments: args.resume ?? false,
|
|
497
|
-
keepSegments: args["keep-segments"] ?? false,
|
|
498
|
-
bestEffort: args["best-effort"] ?? true,
|
|
499
|
-
waitForRenderSlot: args.wait ?? true,
|
|
500
|
-
batchJson,
|
|
501
|
-
effectiveQuiet: quiet || batchJson,
|
|
502
|
-
strictAll: args["strict-all"] ?? false,
|
|
503
|
-
strictErrors: (args.strict ?? false) || (args["strict-all"] ?? false),
|
|
504
|
-
crf,
|
|
505
|
-
vp9CpuUsed,
|
|
506
|
-
videoBitrate,
|
|
507
|
-
...delivery,
|
|
508
|
-
range,
|
|
509
|
-
hdrMode: args.sdr ? "force-sdr" : args.hdr ? "force-hdr" : "auto",
|
|
510
|
-
pageSideCompositing: args["page-side-compositing"] !== false,
|
|
511
|
-
experimentalFastCapture: args["experimental-fast-capture"] === true,
|
|
512
|
-
variablesArg: args.variables,
|
|
513
|
-
variablesFileArg: args["variables-file"],
|
|
514
|
-
strictVariables: args["strict-variables"] ?? false,
|
|
515
|
-
environment: Object.freeze(environment),
|
|
516
|
-
hfEnvOverrides
|
|
517
|
-
});
|
|
518
|
-
}
|
|
519
|
-
function applyRenderEnvironment(plan) {
|
|
520
|
-
for (const [key, value] of Object.entries(plan.environment)) process.env[key] = value;
|
|
521
|
-
}
|
|
522
|
-
function renderOutputDirectory(plan) {
|
|
523
|
-
return dirname(plan.outputPath);
|
|
524
|
-
}
|
|
525
|
-
function resolveBrowserGpuForCli(useDocker, browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
526
|
-
if (useDocker) return "software";
|
|
527
|
-
if (browserGpuArg === true) return "hardware";
|
|
528
|
-
if (browserGpuArg === false) return "software";
|
|
529
|
-
if (envMode === "hardware" || envMode === "software" || envMode === "auto") return envMode;
|
|
530
|
-
return "auto";
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
export {
|
|
534
|
-
createRenderPlan,
|
|
535
|
-
applyRenderEnvironment,
|
|
536
|
-
renderOutputDirectory,
|
|
537
|
-
resolveBrowserGpuForCli
|
|
538
|
-
};
|