hyperframes 0.9.33 → 0.9.34
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 +10 -0
- package/dist/{add-GDXM36YQ.js → add-NBOJ2UA3.js} +16 -15
- package/dist/{agentPromptGenerator-KPNDH2EI.js → agentPromptGenerator-3JOLQXTX.js} +10 -10
- package/dist/{animatedGifPrep-SAKETEZ2.js → animatedGifPrep-VI5CFYCR.js} +9 -9
- package/dist/api.js +38 -38
- package/dist/{appHistory-WZIHFCPK.js → appHistory-535MKSWI.js} +2 -2
- package/dist/{asset-KOJC72AQ.js → asset-NYULKN5A.js} +2 -2
- package/dist/{assetCataloger-Q4ZFUI6G.js → assetCataloger-AWJMEMX7.js} +11 -11
- package/dist/{audio-XZBBXKQC.js → audio-QN5YYFOA.js} +19 -19
- package/dist/{auth-X45YSZGE.js → auth-LHUBRGIH.js} +2 -2
- package/dist/{autoUpdate-77XWQ564.js → autoUpdate-5M3JGEFS.js} +2 -2
- package/dist/{avatars-D3D22TI2.js → avatars-DAB2KILV.js} +13 -13
- package/dist/{backgroundChecks-2L2RWFJ3.js → backgroundChecks-3NQOCEDM.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-O7J47H2Z.js → batchRender-EPRIJZVT.js} +4 -4
- package/dist/{beats-6RVVU56H.js → beats-ZCPQEIFG.js} +11 -11
- package/dist/{benchmark-D5JRNAVQ.js → benchmark-7OVOBGQX.js} +9 -9
- package/dist/{billing-WT4DGZII.js → billing-7K6S23FP.js} +14 -14
- package/dist/{browser-2OR737P4.js → browser-CP76THCA.js} +8 -7
- package/dist/{bundleWithLocalizedFonts-VBET4RVR.js → bundleWithLocalizedFonts-MRCRI676.js} +1 -1
- package/dist/{capture-B34FTO6G.js → capture-B4B72PIK.js} +4 -4
- package/dist/{capture-23X2CK56.js → capture-VAE27MNW.js} +21 -21
- package/dist/{captureCompositionFrame-TPZKEVKN.js → captureCompositionFrame-YAOQTG6R.js} +16 -16
- package/dist/{captureFile-Y2ZMB7HK.js → captureFile-P4BDKVJH.js} +2 -2
- package/dist/{catalog-ACHSYU5Z.js → catalog-TUZGNHN6.js} +16 -15
- package/dist/{catch-up-FGANS2BB.js → catch-up-GMUF3JXI.js} +9 -9
- package/dist/{check-DXK4L5WP.js → check-CHCV573Z.js} +46 -46
- package/dist/{checkAudio-4ISYJED3.js → checkAudio-JJZN37WT.js} +13 -13
- package/dist/{checkBrowser-5ECMULMP.js → checkBrowser-SK7GFN7U.js} +39 -39
- package/dist/{chunk-L6BFXQ6S.js → chunk-2HDVXVUA.js} +3 -3
- package/dist/{chunk-76KUCQXD.js → chunk-2JXJQ3ZQ.js} +2 -2
- package/dist/{chunk-A4VXOJZO.js → chunk-2JZU6DYH.js} +3 -3
- package/dist/{chunk-4US5QCXR.js → chunk-2OP5HU5S.js} +62 -25
- package/dist/{chunk-KRWPTZBY.js → chunk-3FQYFVWA.js} +99 -25
- package/dist/{chunk-4CHGNFCS.js → chunk-3K4THQHY.js} +4 -4
- package/dist/{chunk-BBL6STGK.js → chunk-3P4OYIBA.js} +2 -2
- package/dist/{chunk-2KYLVWLO.js → chunk-3XJ42WUG.js} +1 -1
- package/dist/{chunk-ERJBWDPM.js → chunk-45IPAGED.js} +6 -6
- package/dist/{chunk-XUDJ5XSQ.js → chunk-4MVWA7NJ.js} +6 -6
- package/dist/{chunk-SWPI27QV.js → chunk-4TQS6ZSL.js} +7 -7
- package/dist/{chunk-OD7PLYYX.js → chunk-4WXLBRT5.js} +31 -22
- package/dist/{chunk-KIAY63AB.js → chunk-4Y4VYZRO.js} +3 -3
- package/dist/{chunk-5RVPI6QL.js → chunk-52CUHVEA.js} +3 -3
- package/dist/{chunk-2RBQLV6B.js → chunk-55I56MXF.js} +1 -1
- package/dist/{chunk-O5CNNVRY.js → chunk-5QPYUTV3.js} +8 -8
- package/dist/{chunk-GHLLC6LJ.js → chunk-5SXAEHZT.js} +2 -2
- package/dist/{chunk-77UB5EHM.js → chunk-5WK76INI.js} +1 -1
- package/dist/{chunk-23354HMA.js → chunk-5ZTB6QIJ.js} +3 -3
- package/dist/{chunk-ZIYXPDKY.js → chunk-65PFUPLX.js} +1 -1
- package/dist/{chunk-45ZQI734.js → chunk-6FP6HBG4.js} +2 -2
- package/dist/{chunk-MVIUSNPZ.js → chunk-6HG3XABE.js} +1 -1
- package/dist/{chunk-SUXEL7G4.js → chunk-6K5KVYOQ.js} +11 -11
- package/dist/{chunk-4DLYTSWQ.js → chunk-6OYPVALW.js} +1 -1
- package/dist/{chunk-G2XAFJ2B.js → chunk-74PKHC3W.js} +1 -1
- package/dist/{chunk-N6Y645MX.js → chunk-7C6K5WFB.js} +1 -1
- package/dist/{chunk-6QEEF5RR.js → chunk-7E5HPNMD.js} +1 -1
- package/dist/{chunk-CHJGVW5W.js → chunk-7YBRRU5W.js} +4 -11
- package/dist/{chunk-I3PA54IU.js → chunk-7YOJPNDT.js} +1 -1
- package/dist/{chunk-2I4DQZLQ.js → chunk-A2YCAF35.js} +23 -37
- package/dist/{chunk-EX533ULK.js → chunk-AG6L5CUE.js} +2 -2
- package/dist/{chunk-SVI2CJ6R.js → chunk-AOTAYP5E.js} +1 -1
- package/dist/{chunk-CNJLBAKM.js → chunk-ASORF7UJ.js} +2 -2
- package/dist/{chunk-MDBEAWP2.js → chunk-AUM475MS.js} +3 -3
- package/dist/{chunk-CDI3CCAU.js → chunk-BDFD3C3V.js} +7 -7
- package/dist/{chunk-YAS347ZS.js → chunk-BLII22FU.js} +1 -1
- package/dist/{chunk-ROXILOZ6.js → chunk-BX4GM3IV.js} +2 -2
- package/dist/{chunk-W2FSQBUR.js → chunk-BZPRG5N5.js} +14 -14
- package/dist/{chunk-YNFHZ4RI.js → chunk-C3TYMGWE.js} +3 -3
- package/dist/{chunk-UE2WSWNA.js → chunk-C62LSZVJ.js} +1 -1
- package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
- package/dist/{chunk-GBIASKIH.js → chunk-DH34XRVW.js} +1 -1
- package/dist/{chunk-N2C7WJDG.js → chunk-DLBFLOEU.js} +1 -1
- package/dist/{chunk-HPKW6UVW.js → chunk-DTM7HGP4.js} +3 -3
- package/dist/{chunk-ADYMQM7T.js → chunk-E53F4CP6.js} +2 -2
- package/dist/{chunk-2LMCARA5.js → chunk-ECKXTBRB.js} +6 -4
- package/dist/{chunk-T3GSTIBS.js → chunk-EDQF36I7.js} +3 -3
- package/dist/{chunk-7LTXT7ME.js → chunk-EWBLIDHD.js} +2 -2
- package/dist/{chunk-BMDABBHG.js → chunk-FEWHHDFA.js} +5 -17
- package/dist/{chunk-SIGASWB7.js → chunk-FILLRGVO.js} +4 -4
- package/dist/{chunk-MDGNQWFN.js → chunk-FRY73NRV.js} +1 -1
- package/dist/{chunk-WYPRTHXQ.js → chunk-FS4XHCSU.js} +1 -1
- package/dist/{chunk-GOMTMQRT.js → chunk-G6ME77PU.js} +1 -1
- package/dist/{chunk-C2VZ7UPE.js → chunk-GJB5VR44.js} +15 -15
- package/dist/{chunk-JSVCF4A6.js → chunk-GXGGPZXD.js} +2 -2
- package/dist/{chunk-VQJLTYEK.js → chunk-H6323NVP.js} +2 -2
- package/dist/{chunk-Y5DOT5NQ.js → chunk-HYTD4CIO.js} +1 -1
- package/dist/{chunk-QWM3NY2E.js → chunk-I2GYLBJJ.js} +4 -4
- package/dist/{chunk-I35B5RWZ.js → chunk-IVMYWHFE.js} +3 -3
- package/dist/{chunk-YDG3OXH3.js → chunk-IX6BFRED.js} +1 -1
- package/dist/{chunk-RGYOCAHC.js → chunk-JJUVQYXL.js} +2 -2
- package/dist/{chunk-DMZER7D5.js → chunk-JQATOGQQ.js} +2 -2
- package/dist/{chunk-XQWWFIBR.js → chunk-JVDYIUFD.js} +2 -2
- package/dist/{chunk-HEXTAQYG.js → chunk-K4TEEYGN.js} +2 -2
- package/dist/{chunk-SOAQ3XXB.js → chunk-K5BPLZOP.js} +2 -2
- package/dist/{chunk-XSHJ37U3.js → chunk-K6EOKQ6J.js} +7 -7
- package/dist/{chunk-R45WFVRA.js → chunk-KCL77FXI.js} +1 -1
- package/dist/{chunk-PXDRW3QN.js → chunk-LB6VJTM4.js} +1 -1
- package/dist/{chunk-G55YEL2L.js → chunk-LCQT4S43.js} +233 -47
- package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
- package/dist/{chunk-MA35E5OY.js → chunk-NAKQS3EJ.js} +2 -2
- package/dist/{chunk-VZQXHYEI.js → chunk-NMMPHHN7.js} +3 -3
- package/dist/{chunk-RCB4SGTB.js → chunk-O2S5HR7Y.js} +49 -12
- package/dist/{chunk-XVVPEWNX.js → chunk-OKN7E77Z.js} +1 -1
- package/dist/{chunk-4WZU4FYS.js → chunk-PDE6XAIJ.js} +4 -4
- package/dist/{chunk-4FTJE22M.js → chunk-PNBWAA3E.js} +2 -2
- package/dist/{chunk-IYLGUQFR.js → chunk-PVHNBJCI.js} +3 -3
- package/dist/{chunk-NQFIMBXS.js → chunk-PWSTB75B.js} +2 -2
- package/dist/{chunk-YSHUIQ3I.js → chunk-PXWPBLEN.js} +1 -1
- package/dist/{chunk-IEEIPTDW.js → chunk-PYZVKGW5.js} +1 -1
- package/dist/{chunk-MP36L7OJ.js → chunk-Q2G4ERQU.js} +2 -2
- package/dist/{chunk-VKZSAAXZ.js → chunk-QDSALYDV.js} +4 -4
- package/dist/{chunk-XDRSEU2I.js → chunk-R3C62AP3.js} +4 -4
- package/dist/{chunk-U77L3ZQZ.js → chunk-RJJ5NVSQ.js} +1 -1
- package/dist/{chunk-WIMVXPYG.js → chunk-RSQTFDMS.js} +11 -11
- package/dist/{chunk-XFXCI4IP.js → chunk-RYJXT2AS.js} +2 -2
- package/dist/{chunk-DGC2RIQE.js → chunk-S3HTROSO.js} +3 -3
- package/dist/{chunk-O2T6ZTLN.js → chunk-SAIPA3QY.js} +1 -1
- package/dist/{chunk-CHM3QYLF.js → chunk-SDBFTY6V.js} +3 -3
- package/dist/{chunk-PNP2BO3U.js → chunk-SG4OW2HV.js} +2 -2
- package/dist/{chunk-W5PW26KE.js → chunk-T4YI2YLF.js} +1 -1
- package/dist/{chunk-2QTGQGYA.js → chunk-T7O62YTY.js} +1 -1
- package/dist/chunk-TDOJW7Z2.js +5053 -0
- package/dist/{chunk-EX7WPDFA.js → chunk-TGGYHFTP.js} +2 -2
- package/dist/{chunk-5GYTBKZA.js → chunk-TGK7LUEV.js} +2 -2
- package/dist/{chunk-YTUPQTXA.js → chunk-TLU5DPES.js} +7 -7
- package/dist/{chunk-6ZVUTYNB.js → chunk-TOLY2QK2.js} +5 -5
- package/dist/{chunk-JCJJCYCP.js → chunk-UFKWSLJ5.js} +9 -9
- package/dist/{chunk-AIC7T7CC.js → chunk-UGWY7PFQ.js} +2 -2
- package/dist/{chunk-REJ4NIBY.js → chunk-VJSKNQTM.js} +1 -1
- package/dist/{chunk-ETWXZQN5.js → chunk-VW35U2LJ.js} +2 -2
- package/dist/{chunk-JZIEZCQM.js → chunk-VZO3BUTW.js} +5 -12
- package/dist/{chunk-TFBPCJPG.js → chunk-W6AXNWGE.js} +1 -1
- package/dist/{chunk-ZOAANTVI.js → chunk-WC2XQ4NR.js} +1 -1
- package/dist/{chunk-WXOOAAT4.js → chunk-WLB2D2OJ.js} +36 -4
- package/dist/{chunk-3J32XVJ6.js → chunk-WWT32C2M.js} +3 -3
- package/dist/{chunk-HMB3IAVP.js → chunk-XEUTASNL.js} +2 -2
- package/dist/{chunk-6RV2QY4K.js → chunk-YCXNWQ3B.js} +23 -23
- package/dist/{chunk-FRH3CPW5.js → chunk-YMTLKSXO.js} +1 -1
- package/dist/{chunk-B66UZ2YK.js → chunk-Z222HDGC.js} +6 -6
- package/dist/{chunk-DDDSTRHU.js → chunk-Z3ZLN5VR.js} +4 -4
- package/dist/{chunk-2TBW7UOF.js → chunk-Z64I7KJZ.js} +203 -115
- package/dist/{chunk-7UUUV4PN.js → chunk-ZWLFWYHR.js} +1 -1
- package/dist/{clean-3IN64RHM.js → clean-N7RLS5LN.js} +24 -24
- package/dist/cli.js +64 -64
- package/dist/{cloud-SVYXHFEG.js → cloud-4PO7BA26.js} +2 -2
- package/dist/{cloud-LBUZBUP6.js → cloud-W3DHH6EB.js} +4 -4
- package/dist/{cloudrun-PZOF2QGL.js → cloudrun-YIAPIPOG.js} +6 -6
- package/dist/{compare-UOJ3LXQQ.js → compare-GCWIIUGY.js} +38 -38
- package/dist/{compiler-5ZDHBKBQ.js → compiler-L3BJI43E.js} +5 -5
- package/dist/{component-EVIPLTTJ.js → component-C4VYDMZ4.js} +3 -3
- package/dist/{compositions-R4GG5FBO.js → compositions-5P4BZQJA.js} +13 -13
- package/dist/{contactSheet-HZMP42FZ.js → contactSheet-ROMTQQ6Y.js} +3 -3
- package/dist/{curve-LR3PSRW3.js → curve-IMXKUBAO.js} +13 -13
- package/dist/{cuts-DHCOBAFT.js → cuts-PRBLX5HH.js} +14 -14
- package/dist/{delete-MMGGU3QP.js → delete-QYWDRFO3.js} +4 -4
- package/dist/{deploy-SKIGUTM2.js → deploy-DGEPSTOJ.js} +2 -2
- package/dist/{describeProject-L7HNTBPV.js → describeProject-WS4TR7VF.js} +10 -10
- package/dist/{destroy-5HSMMDH7.js → destroy-2KSDD4KU.js} +2 -2
- package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-D3HTAAN2.js} +3 -3
- package/dist/{diff-KR7VKPYL.js → diff-AAWRGZLX.js} +35 -35
- package/dist/{dist-3MFNUZSN.js → dist-DJQRHSKZ.js} +3 -3
- package/dist/{dist-HK3AZNNL.js → dist-GJSMSEEL.js} +18 -14
- package/dist/{dist-ZGYPFYOH.js → dist-V2TLDLQL.js} +3 -3
- package/dist/{doctor-G7VGNSA5.js → doctor-CARXZUFN.js} +16 -16
- package/dist/{energy-H7EEH6WO.js → energy-VMNGG2ND.js} +14 -14
- package/dist/{events-ASG27IXP.js → events-4XIJRQIJ.js} +16 -16
- package/dist/{events-5ATZCZTK.js → events-LOPLHMOT.js} +2 -2
- package/dist/{events-YD6N7OPQ.js → events-XX3DYSU4.js} +6 -6
- package/dist/{execute-OAS454OB.js → execute-U7JKJERV.js} +28 -28
- package/dist/{extract-645SENLA.js → extract-KYFUTYDD.js} +14 -14
- package/dist/{face-WRT5XH4I.js → face-VQGUHRQL.js} +15 -15
- package/dist/{feedback-3LKLR5MV.js → feedback-UPWYWOQ3.js} +12 -12
- package/dist/{ffmpeg-PXKIZL2X.js → ffmpeg-RUOPT3JH.js} +9 -9
- package/dist/{figma-RIEVJJBW.js → figma-TO57RICW.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-OTB3J5W3.js → frames-4Y3X474I.js} +16 -16
- package/dist/{generate-IUKCZW2D.js → generate-BPID6U7D.js} +25 -25
- package/dist/{get-6WVQ7TBV.js → get-JIJ46VI5.js} +4 -4
- package/dist/{gpuPolicy-HXSVAEU4.js → gpuPolicy-5ZJNSR7D.js} +9 -9
- package/dist/{grade-compare-TCAYHDEF.js → grade-compare-YTBW7C65.js} +37 -37
- package/dist/{heifImagePrep-GXIMK4HK.js → heifImagePrep-OL7KF7SH.js} +10 -10
- package/dist/{help-RGOL5EJD.js → help-QPV26QI5.js} +1 -1
- package/dist/{history-XKPRGJGS.js → history-7UVGTZT3.js} +12 -12
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +61 -61
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-EYBBC42V.js → info-2VFXR7LJ.js} +15 -15
- package/dist/{init-F2FWPSMA.js → init-JZ7CJQJE.js} +32 -32
- package/dist/{ink-BWFERAAT.js → ink-SS7XOD7Y.js} +14 -14
- package/dist/{inspect-74N7L3BW.js → inspect-D5MBKDZZ.js} +37 -37
- package/dist/{installer-LOUR7G4R.js → installer-UNC4BAFO.js} +7 -7
- package/dist/{keyframes-WB5PTKFE.js → keyframes-7T2CVOM6.js} +9 -9
- package/dist/{lambda-JYCNXUKB.js → lambda-QVJFVSXL.js} +15 -15
- package/dist/{layout-P52EVR24.js → layout-5DF7VFWS.js} +37 -37
- package/dist/{lint-SL55KAS2.js → lint-EWJHJKAI.js} +11 -11
- package/dist/{lintProject-46WU53VC.js → lintProject-KBJU3L4C.js} +3 -3
- package/dist/{list-LN6CQH52.js → list-DDLH5ZG5.js} +4 -4
- package/dist/{localPage-L6OJU3UH.js → localPage-MHAXFUGI.js} +10 -10
- package/dist/{login-WTOAMDID.js → login-BJ4QUZT4.js} +4 -4
- package/dist/{look-O6ESLJRP.js → look-HNK2K33N.js} +14 -14
- package/dist/{manager-CMEZWENF.js → manager-FFLFDJZ6.js} +10 -10
- package/dist/{manager-IAXYSRG5.js → manager-VLO3FZC4.js} +2 -1
- package/dist/{measure-NEIXU53P.js → measure-SE346MGF.js} +11 -11
- package/dist/{media-treatment-6CAQG7MU.js → media-treatment-KYPDRIBT.js} +15 -15
- package/dist/{media-use-IXJFMKU7.js → media-use-OJZHSNTK.js} +15 -6
- package/dist/{models-TZALWUEY.js → models-KWSHPDZ5.js} +14 -14
- package/dist/{motionShot-OQYK6G6M.js → motionShot-HEROABIE.js} +20 -20
- package/dist/{normalize-audio-43PJLOBY.js → normalize-audio-ZD5W37ZO.js} +11 -11
- package/dist/{open-EOX6QY4M.js → open-7B6HT4EX.js} +17 -17
- package/dist/{parakeetRunner-STHAXQAF.js → parakeetRunner-5AKE7TBH.js} +17 -17
- package/dist/{pipeline-RRWZHFBQ.js → pipeline-UTVSWC4X.js} +12 -12
- package/dist/{plan-JWUSMF4W.js → plan-SQ63IXQC.js} +22 -22
- package/dist/{play-TUKTST32.js → play-NYBFE3GW.js} +27 -27
- package/dist/{preflight-L42JKT6F.js → preflight-T23WHZP3.js} +11 -11
- package/dist/{present-Z7HRDXPV.js → present-FX22552Q.js} +21 -21
- package/dist/{preview-HGTIRAV3.js → preview-ULBNMDXD.js} +57 -33
- package/dist/{probe-RXK44FY7.js → probe-62Z5C6VC.js} +14 -14
- package/dist/{producer-KJ2RZDJ3.js → producer-X3KFL4QM.js} +1 -1
- package/dist/{projectConfig-K36NTJXP.js → projectConfig-JQ4IDYTU.js} +10 -10
- package/dist/{publication-OZWLT6K6.js → publication-YNIJIR6O.js} +5 -5
- package/dist/{publish-CRUTXNYM.js → publish-7TIGC7RV.js} +17 -17
- package/dist/{remove-background-R37HZPCG.js → remove-background-F3BD6WXD.js} +13 -13
- package/dist/{render-SU2XTMJL.js → render-BL6CAORF.js} +6 -6
- package/dist/{render-ZHCPCISN.js → render-CDWBVWJP.js} +43 -43
- package/dist/{render-EZMKBT7V.js → render-EOQOD2TJ.js} +31 -31
- package/dist/{render-batch-YIUOEAAL.js → render-batch-PDY2PXUZ.js} +6 -6
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-DLCKRKQR.js → resolver-VBAVCFEP.js} +7 -7
- package/dist/{reverse-4FAVXIER.js → reverse-3E6HUX5S.js} +1 -1
- package/dist/{run-H4GVEJVS.js → run-77Z3DLIP.js} +4 -4
- package/dist/{screenshotCapture-CQF5FYVI.js → screenshotCapture-XWWCRLGM.js} +12 -12
- package/dist/{service-XDQOULGD.js → service-LJZQKQT6.js} +13 -13
- package/dist/{share-CUCQALE7.js → share-2CNP22KN.js} +16 -16
- package/dist/{sherpa-WZNRQUVC.js → sherpa-NPTMMQHQ.js} +16 -16
- package/dist/sherpaWorker.js +2 -1
- package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +20 -3
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +61 -3
- package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +25 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
- package/dist/skills/media-use/references/audio.md +2 -0
- package/dist/skills/media-use/references/operations.md +2 -1
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
- package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +42 -18
- package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
- package/dist/{skills-J52DBZAK.js → skills-7MQBUOOX.js} +9 -9
- package/dist/{skillsUpdateCheck-26DJHBTC.js → skillsUpdateCheck-JAUXRXRH.js} +3 -3
- package/dist/{snapshot-ZIRQFDA7.js → snapshot-D7DROQPF.js} +49 -49
- package/dist/{src-C3XYMTF4.js → src-26DWEOAT.js} +10 -8
- package/dist/{src-7BGBN6SS.js → src-LJIVCW6M.js} +12 -12
- package/dist/{start-QG2XNMYN.js → start-DF3U2VIG.js} +23 -23
- package/dist/{staticProjectServer-TWMEFK3T.js → staticProjectServer-NYH6MQHZ.js} +24 -24
- package/dist/{status-3UPA5WPI.js → status-5Q43GUYF.js} +17 -16
- package/dist/studio/assets/{codec-qz1-OXLj.js → codec-OdIlx7W3.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-2eG1zFX5.js → hyperframes-player-XtPxZL3k.js} +1 -1
- package/dist/studio/assets/{index-DDmhnfrS.js → index-DTU1D-zj.js} +83 -83
- package/dist/studio/assets/{index-DUveJ_YP.js → index-DWZWPFkU.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-CoHTKUjM.js → pausedVideoDecoder-NVr8gRm5.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Z42OO4JJ.js → studio-api-ZYCEQPX2.js} +18 -14
- package/dist/{studioServer-SMN3RMVL.js → studioServer-W4RX3B7S.js} +67 -65
- package/dist/{sync-ONTI2WSI.js → sync-LLH2GSSC.js} +14 -14
- package/dist/{synthesize-FR5KPBRP.js → synthesize-4A5ENXNO.js} +4 -3
- package/dist/{telemetry-RRXALB5D.js → telemetry-RIQIM2PH.js} +6 -6
- package/dist/{templates-BHFOSD6F.js → templates-4HVTWNKO.js} +14 -14
- package/dist/{timeline-Z5IHY5TN.js → timeline-ITIMTT27.js} +22 -22
- package/dist/{tokens-MZVEPARM.js → tokens-ABTBM6UA.js} +2 -2
- package/dist/{transcribe-5IZS4BGW.js → transcribe-6BA2MP2Y.js} +30 -30
- package/dist/{transcribe-M5N3YZZU.js → transcribe-6LDBHZCZ.js} +13 -13
- package/dist/{tts-ZE776B4I.js → tts-P77F523Z.js} +1 -1
- package/dist/{update-EVPWBIKY.js → update-ODXFCK36.js} +11 -11
- package/dist/{updateCheck-2UUEF6TC.js → updateCheck-E4U776B4.js} +2 -2
- package/dist/{upgrade-DK45FD4K.js → upgrade-LSHVYMLH.js} +4 -4
- package/dist/{urlDownloader-3MPHIDSA.js → urlDownloader-PWQ2LDLE.js} +8 -8
- package/dist/{validate-W27TQ367.js → validate-JHETNNBN.js} +29 -29
- package/dist/{video-TI372QGV.js → video-D2D5YCDU.js} +11 -11
- package/dist/{voices-FZV4PGT6.js → voices-34FMTOIX.js} +23 -23
- package/dist/warmCheck.js +46 -46
- package/package.json +1 -1
- package/dist/chunk-XDDBSGBD.js +0 -5049
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
iterateFontFamilyDeclarations,
|
|
12
12
|
normalizeSystemFontPrimaryFamilies,
|
|
13
13
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PNBWAA3E.js";
|
|
15
15
|
import {
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EDQF36I7.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
23
23
|
prepareAnimatedGifInputs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2HDVXVUA.js";
|
|
25
25
|
import {
|
|
26
26
|
openRangeEnd,
|
|
27
27
|
parseEncoderOptions
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
videoAudioId,
|
|
188
188
|
videoStartOnMediaTimeline,
|
|
189
189
|
writeCapturedFrame
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
191
191
|
import {
|
|
192
192
|
assignBundledRuntimeCompositionIds,
|
|
193
193
|
boundMediaSrc,
|
|
@@ -200,13 +200,13 @@ import {
|
|
|
200
200
|
parsesAsScript,
|
|
201
201
|
prepareFlattenedInnerRoot,
|
|
202
202
|
stripSdrPngColourTags
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-4Y4VYZRO.js";
|
|
204
204
|
import {
|
|
205
205
|
collectScratchLeftovers,
|
|
206
206
|
createStagingDir,
|
|
207
207
|
removeScratch,
|
|
208
208
|
renameWithRetry
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-PYZVKGW5.js";
|
|
210
210
|
import {
|
|
211
211
|
TRANSITIONS,
|
|
212
212
|
convertTransfer,
|
|
@@ -229,7 +229,7 @@ import {
|
|
|
229
229
|
redactTelemetryString,
|
|
230
230
|
resolveAuthoredTimingWindow,
|
|
231
231
|
toFps
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-TGGYHFTP.js";
|
|
233
233
|
import {
|
|
234
234
|
COMPOSITION_SOURCE_URL,
|
|
235
235
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -264,14 +264,14 @@ import {
|
|
|
264
264
|
sourceTimeAt,
|
|
265
265
|
styleElementsFor,
|
|
266
266
|
timeAtSourceTime
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-TDOJW7Z2.js";
|
|
268
268
|
import {
|
|
269
269
|
chromeMajorCeiling
|
|
270
270
|
} from "./chunk-WE42NVH7.js";
|
|
271
271
|
import {
|
|
272
272
|
lintHyperframeHtml,
|
|
273
273
|
resolveReferencedStart
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-ASORF7UJ.js";
|
|
275
275
|
import {
|
|
276
276
|
isUnresolvedAssetPlaceholder,
|
|
277
277
|
namesAnotherNetworkRoot,
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
isAspectAgnosticResolutionAlias,
|
|
313
313
|
normalizeResolutionFlag,
|
|
314
314
|
suggestMatchingPreset
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-M425BL2U.js";
|
|
316
316
|
import {
|
|
317
317
|
parseHTML
|
|
318
318
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7840,7 +7840,7 @@ async function readLocalFont(absPath) {
|
|
|
7840
7840
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
7841
7841
|
}
|
|
7842
7842
|
async function embedLocalFontFaces(html, projectDir) {
|
|
7843
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
7843
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-D3HTAAN2.js");
|
|
7844
7844
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
7845
7845
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
7846
7846
|
let result = html;
|
|
@@ -8800,8 +8800,15 @@ function hasRuntimeMediaChanges(html) {
|
|
|
8800
8800
|
}
|
|
8801
8801
|
return false;
|
|
8802
8802
|
}
|
|
8803
|
+
function checksVariablesInBrowser(config) {
|
|
8804
|
+
return config.strictVariables === true && Object.keys(config.variables ?? {}).length > 0;
|
|
8805
|
+
}
|
|
8806
|
+
function strictVariablesAttestation(config, probeSession) {
|
|
8807
|
+
if (config.strictVariables !== true) return void 0;
|
|
8808
|
+
return !checksVariablesInBrowser(config) || probeSession?.strictVariablesChecked === true;
|
|
8809
|
+
}
|
|
8803
8810
|
function probeRequiresBrowser(args) {
|
|
8804
|
-
return args.durationSeconds <= 0 || args.unresolvedCompositionCount > 0 || args.hasAutoStart || args.hasScriptedAudio || args.hasVariableMedia || args.hasInsertedMedia;
|
|
8811
|
+
return args.requiresVariablesCheck === true || args.durationSeconds <= 0 || args.unresolvedCompositionCount > 0 || args.hasAutoStart || args.hasScriptedAudio || args.hasVariableMedia || args.hasInsertedMedia;
|
|
8805
8812
|
}
|
|
8806
8813
|
function reportedLengthSource(source) {
|
|
8807
8814
|
if (!source) return null;
|
|
@@ -8849,7 +8856,8 @@ async function runProbeStage(input) {
|
|
|
8849
8856
|
hasAutoStart,
|
|
8850
8857
|
hasScriptedAudio,
|
|
8851
8858
|
hasVariableMedia,
|
|
8852
|
-
hasInsertedMedia
|
|
8859
|
+
hasInsertedMedia,
|
|
8860
|
+
requiresVariablesCheck: checksVariablesInBrowser(job.config)
|
|
8853
8861
|
});
|
|
8854
8862
|
try {
|
|
8855
8863
|
if (needsBrowser) {
|
|
@@ -8883,6 +8891,7 @@ async function runProbeStage(input) {
|
|
|
8883
8891
|
job.config.quality
|
|
8884
8892
|
),
|
|
8885
8893
|
variables: job.config.variables,
|
|
8894
|
+
strictVariables: job.config.strictVariables,
|
|
8886
8895
|
deviceScaleFactor,
|
|
8887
8896
|
motionBlur,
|
|
8888
8897
|
pageMotionBlur: job.config.pageMotionBlur,
|
|
@@ -9288,6 +9297,7 @@ async function runProbeStage(input) {
|
|
|
9288
9297
|
}
|
|
9289
9298
|
}
|
|
9290
9299
|
return {
|
|
9300
|
+
strictVariablesChecked: strictVariablesAttestation(job.config, probeSession),
|
|
9291
9301
|
compiled,
|
|
9292
9302
|
fileServer,
|
|
9293
9303
|
probeSession,
|
|
@@ -13686,6 +13696,7 @@ async function executeRenderPipeline(input) {
|
|
|
13686
13696
|
compositionHash = computeCompositionObservabilityHash(compiled.html);
|
|
13687
13697
|
fileServer = probeResult.fileServer;
|
|
13688
13698
|
probeSession = probeResult.probeSession;
|
|
13699
|
+
job.strictVariablesChecked = probeResult.strictVariablesChecked;
|
|
13689
13700
|
lastBrowserConsole = probeResult.lastBrowserConsole;
|
|
13690
13701
|
let resolvedCaptureBeyondViewport = probeSession?.options.captureBeyondViewport;
|
|
13691
13702
|
if (resolvedCaptureBeyondViewport !== void 0) {
|
|
@@ -16177,6 +16188,7 @@ function buildSyntheticRenderJob(input) {
|
|
|
16177
16188
|
strictness: input.strictness,
|
|
16178
16189
|
producerConfig: input.producerConfig,
|
|
16179
16190
|
variables: input.variables,
|
|
16191
|
+
strictVariables: input.strictVariables,
|
|
16180
16192
|
pageMotionBlur: input.pageMotionBlur
|
|
16181
16193
|
};
|
|
16182
16194
|
return createRenderJob(renderConfig);
|
|
@@ -17638,6 +17650,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17638
17650
|
logger: config.logger,
|
|
17639
17651
|
producerConfig: cfg,
|
|
17640
17652
|
variables: config.variables,
|
|
17653
|
+
strictVariables: config.strictVariables,
|
|
17641
17654
|
pageMotionBlur: config.pageMotionBlur
|
|
17642
17655
|
});
|
|
17643
17656
|
const entryFile = config.entryFile ?? "index.html";
|
|
@@ -17750,6 +17763,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17750
17763
|
logPlanStage(log, "reference_background", stageStarted);
|
|
17751
17764
|
}
|
|
17752
17765
|
compiled = probeResult.compiled;
|
|
17766
|
+
job.strictVariablesChecked = probeResult.strictVariablesChecked;
|
|
17753
17767
|
job.duration = probeResult.duration;
|
|
17754
17768
|
job.totalFrames = probeResult.totalFrames;
|
|
17755
17769
|
const totalFrames = probeResult.totalFrames;
|
|
@@ -17761,7 +17775,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
17761
17775
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
17762
17776
|
if (probeResult.probeSession) {
|
|
17763
17777
|
try {
|
|
17764
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
17778
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-26DWEOAT.js");
|
|
17765
17779
|
await closeCaptureSession2(probeResult.probeSession);
|
|
17766
17780
|
} catch (err) {
|
|
17767
17781
|
log.warn("[plan] probe session close failed", {
|
|
@@ -18097,7 +18111,8 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
18097
18111
|
height,
|
|
18098
18112
|
format: config.format,
|
|
18099
18113
|
ffmpegVersion,
|
|
18100
|
-
producerVersion
|
|
18114
|
+
producerVersion,
|
|
18115
|
+
...job.strictVariablesChecked === void 0 ? {} : { strictVariablesChecked: job.strictVariablesChecked }
|
|
18101
18116
|
};
|
|
18102
18117
|
}
|
|
18103
18118
|
async function plan(projectDir, config, planDir, options = {}) {
|
|
@@ -18114,7 +18129,8 @@ async function plan(projectDir, config, planDir, options = {}) {
|
|
|
18114
18129
|
height: executionPlan.height,
|
|
18115
18130
|
format: executionPlan.format,
|
|
18116
18131
|
ffmpegVersion: executionPlan.ffmpegVersion,
|
|
18117
|
-
producerVersion: executionPlan.producerVersion
|
|
18132
|
+
producerVersion: executionPlan.producerVersion,
|
|
18133
|
+
...executionPlan.strictVariablesChecked === void 0 ? {} : { strictVariablesChecked: executionPlan.strictVariablesChecked }
|
|
18118
18134
|
};
|
|
18119
18135
|
}
|
|
18120
18136
|
|
|
@@ -18695,7 +18711,7 @@ async function planV2WithPublisher(projectDir, config, publisher, options = {})
|
|
|
18695
18711
|
const stagingRoot = createStagingDir(options.stagingParentDir ?? tmpdir3(), ".execution-plan-");
|
|
18696
18712
|
const digests = /* @__PURE__ */ new Map();
|
|
18697
18713
|
try {
|
|
18698
|
-
await buildLocalExecutionPlan(projectDir, config, stagingRoot, {
|
|
18714
|
+
const planned = await buildLocalExecutionPlan(projectDir, config, stagingRoot, {
|
|
18699
18715
|
executionPlanSizeLimitBytes: Number.MAX_SAFE_INTEGER,
|
|
18700
18716
|
deferVideoExtraction: true,
|
|
18701
18717
|
remoteFiles: options.remoteFiles,
|
|
@@ -18711,6 +18727,7 @@ async function planV2WithPublisher(projectDir, config, publisher, options = {})
|
|
|
18711
18727
|
sliceChunkAudio: true,
|
|
18712
18728
|
deferAudio: options.deferAudio
|
|
18713
18729
|
});
|
|
18730
|
+
options.onPlanned?.({ strictVariablesChecked: planned.strictVariablesChecked });
|
|
18714
18731
|
return await publishExecutionPlan(stagingRoot, publisher, { digests, log: config.logger });
|
|
18715
18732
|
} catch (error) {
|
|
18716
18733
|
try {
|
|
@@ -19785,7 +19802,8 @@ var SAFE_RENDER_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
|
19785
19802
|
"ENCODER_INTERRUPTED",
|
|
19786
19803
|
"RENDER_TOO_SLOW",
|
|
19787
19804
|
"RENDER_STAGE_STALLED",
|
|
19788
|
-
"PAGE_NEVER_READY"
|
|
19805
|
+
"PAGE_NEVER_READY",
|
|
19806
|
+
"VARIABLES_INVALID"
|
|
19789
19807
|
]);
|
|
19790
19808
|
function extractSafeRenderErrorCode(error) {
|
|
19791
19809
|
if (typeof error !== "object" || error === null || !("code" in error)) return void 0;
|
|
@@ -19986,6 +20004,9 @@ function validateDistributedRenderConfig(config) {
|
|
|
19986
20004
|
if (config.variables !== void 0) {
|
|
19987
20005
|
validateVariablesPayload(config.variables);
|
|
19988
20006
|
}
|
|
20007
|
+
if (config.strictVariables !== void 0 && typeof config.strictVariables !== "boolean") {
|
|
20008
|
+
throw new InvalidConfigError("config.strictVariables", "must be a boolean");
|
|
20009
|
+
}
|
|
19989
20010
|
if (config.engineConfig !== void 0) {
|
|
19990
20011
|
try {
|
|
19991
20012
|
validateEngineConfigSnapshot(config.engineConfig);
|
|
@@ -20180,6 +20201,9 @@ function assertRequestOptionObjects(options) {
|
|
|
20180
20201
|
if (options.variables !== void 0 && !isPlainObject(options.variables)) {
|
|
20181
20202
|
throw new Error("Render request variables must be a JSON object");
|
|
20182
20203
|
}
|
|
20204
|
+
if (options.strictVariables !== void 0 && typeof options.strictVariables !== "boolean") {
|
|
20205
|
+
throw new Error("Render request strictVariables must be a boolean");
|
|
20206
|
+
}
|
|
20183
20207
|
if (options.distributed !== void 0) assertDistributedOptions(options.distributed);
|
|
20184
20208
|
}
|
|
20185
20209
|
function assertRequestOptions(options) {
|
|
@@ -20292,7 +20316,8 @@ function distributedConfigFromRequest(request, runtime = {}) {
|
|
|
20292
20316
|
strictness: options.strictness,
|
|
20293
20317
|
abortSignal: runtime.abortSignal,
|
|
20294
20318
|
planDirSizeLimitBytes: distributed.planDirSizeLimitBytes,
|
|
20295
|
-
variables: options.variables
|
|
20319
|
+
variables: options.variables,
|
|
20320
|
+
strictVariables: options.strictVariables
|
|
20296
20321
|
};
|
|
20297
20322
|
}
|
|
20298
20323
|
function optionalProperty(key, value) {
|
|
@@ -20333,7 +20358,8 @@ function renderRequestFromDistributedConfig(input) {
|
|
|
20333
20358
|
...optionalProperty("hdrMode", config.hdrMode),
|
|
20334
20359
|
...optionalProperty("strictness", config.strictness),
|
|
20335
20360
|
...optionalProperty("entryFile", config.entryFile),
|
|
20336
|
-
...optionalProperty("variables", config.variables)
|
|
20361
|
+
...optionalProperty("variables", config.variables),
|
|
20362
|
+
...optionalProperty("strictVariables", config.strictVariables)
|
|
20337
20363
|
};
|
|
20338
20364
|
return createRenderRequest({
|
|
20339
20365
|
projectDir: input.projectDir,
|
|
@@ -20583,6 +20609,9 @@ function extractSafeRenderErrorMetadata(error) {
|
|
|
20583
20609
|
...isPlainObject2(publicMetadata) ? { errorMetadata: publicMetadata } : {}
|
|
20584
20610
|
};
|
|
20585
20611
|
}
|
|
20612
|
+
function strictVariablesResult(job) {
|
|
20613
|
+
return job.strictVariablesChecked === void 0 ? {} : { strictVariablesChecked: job.strictVariablesChecked };
|
|
20614
|
+
}
|
|
20586
20615
|
function parseServerFps(value) {
|
|
20587
20616
|
if (typeof value !== "number" && typeof value !== "string") return DEFAULT_SERVER_FPS;
|
|
20588
20617
|
const parsed = parseFps(value);
|
|
@@ -20641,7 +20670,7 @@ function parseRenderOptions(body) {
|
|
|
20641
20670
|
bufferSize,
|
|
20642
20671
|
chromaSubsampling
|
|
20643
20672
|
} = encoder.ok ? encoder.options : {};
|
|
20644
|
-
const { variables, outputResolution, outputResolutionAspectAgnostic } = parseRenderOverrides(body);
|
|
20673
|
+
const { variables, strictVariables, outputResolution, outputResolutionAspectAgnostic } = parseRenderOverrides(body);
|
|
20645
20674
|
return {
|
|
20646
20675
|
outputPath,
|
|
20647
20676
|
fps,
|
|
@@ -20662,6 +20691,7 @@ function parseRenderOptions(body) {
|
|
|
20662
20691
|
format,
|
|
20663
20692
|
outputDynamicRange,
|
|
20664
20693
|
variables,
|
|
20694
|
+
strictVariables,
|
|
20665
20695
|
outputResolution,
|
|
20666
20696
|
outputResolutionAspectAgnostic,
|
|
20667
20697
|
videoFrameFormat
|
|
@@ -20672,10 +20702,11 @@ function isPlainObject2(value) {
|
|
|
20672
20702
|
}
|
|
20673
20703
|
function parseRenderOverrides(body) {
|
|
20674
20704
|
const variables = isPlainObject2(body.variables) ? body.variables : void 0;
|
|
20705
|
+
const strictVariables = body.strictVariables === true ? true : void 0;
|
|
20675
20706
|
const rawOutputResolution = typeof body.outputResolution === "string" ? body.outputResolution : void 0;
|
|
20676
20707
|
const outputResolution = rawOutputResolution ? normalizeResolutionFlag(rawOutputResolution) : void 0;
|
|
20677
20708
|
const outputResolutionAspectAgnostic = outputResolution ? isAspectAgnosticResolutionAlias(rawOutputResolution) : void 0;
|
|
20678
|
-
return { variables, outputResolution, outputResolutionAspectAgnostic };
|
|
20709
|
+
return { variables, strictVariables, outputResolution, outputResolutionAspectAgnostic };
|
|
20679
20710
|
}
|
|
20680
20711
|
function buildRenderJobConfig(input, outputPath, log) {
|
|
20681
20712
|
const request = createRenderRequest({
|
|
@@ -20699,6 +20730,7 @@ function buildRenderJobConfig(input, outputPath, log) {
|
|
|
20699
20730
|
strictness: input.strictness,
|
|
20700
20731
|
entryFile: input.entryFile,
|
|
20701
20732
|
variables: input.variables,
|
|
20733
|
+
strictVariables: input.strictVariables,
|
|
20702
20734
|
outputResolution: input.outputResolution,
|
|
20703
20735
|
outputResolutionAspectAgnostic: input.outputResolutionAspectAgnostic,
|
|
20704
20736
|
videoFrameFormat: input.videoFrameFormat,
|
|
@@ -20737,6 +20769,9 @@ function validateRenderOverrides(body) {
|
|
|
20737
20769
|
if (body.variables !== void 0 && !isPlainObject2(body.variables)) {
|
|
20738
20770
|
return 'variables must be a JSON object keyed by variable id (e.g. {"title":"Hello"})';
|
|
20739
20771
|
}
|
|
20772
|
+
if (body.strictVariables !== void 0 && typeof body.strictVariables !== "boolean") {
|
|
20773
|
+
return "strictVariables must be a boolean";
|
|
20774
|
+
}
|
|
20740
20775
|
if (body.outputDynamicRange !== void 0 && parseServerOutputDynamicRange(body.outputDynamicRange) === void 0) {
|
|
20741
20776
|
return 'outputDynamicRange must be one of: "auto", "hdr", "sdr"';
|
|
20742
20777
|
}
|
|
@@ -21055,7 +21090,8 @@ function createRenderHandlers(options = {}) {
|
|
|
21055
21090
|
videoDurationSeconds: job.duration ?? null,
|
|
21056
21091
|
outcome: job.outcome ?? "completed",
|
|
21057
21092
|
warnings: job.warnings,
|
|
21058
|
-
perf: job.perfSummary ?? null
|
|
21093
|
+
perf: job.perfSummary ?? null,
|
|
21094
|
+
...strictVariablesResult(job)
|
|
21059
21095
|
});
|
|
21060
21096
|
} catch (error) {
|
|
21061
21097
|
const durationMs = Date.now() - t0;
|
|
@@ -21151,7 +21187,8 @@ function createRenderHandlers(options = {}) {
|
|
|
21151
21187
|
outcome: job.outcome ?? "completed",
|
|
21152
21188
|
warnings: job.warnings,
|
|
21153
21189
|
perf: job.perfSummary ?? null,
|
|
21154
|
-
producerVersion: readProducerVersion()
|
|
21190
|
+
producerVersion: readProducerVersion(),
|
|
21191
|
+
...strictVariablesResult(job)
|
|
21155
21192
|
})
|
|
21156
21193
|
});
|
|
21157
21194
|
} catch (error) {
|
|
@@ -21240,7 +21277,7 @@ function startServer(options = {}) {
|
|
|
21240
21277
|
});
|
|
21241
21278
|
async function shutdown(signal) {
|
|
21242
21279
|
log.info(`Received ${signal}, shutting down`);
|
|
21243
|
-
const { drainBrowserPool } = await import("./src-
|
|
21280
|
+
const { drainBrowserPool } = await import("./src-26DWEOAT.js");
|
|
21244
21281
|
await drainBrowserPool().catch(() => {
|
|
21245
21282
|
});
|
|
21246
21283
|
const handle = await Promise.race([
|
|
@@ -6,10 +6,79 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// ../parsers/dist/ffBinaries.js
|
|
9
|
-
import { execFileSync } from "child_process";
|
|
10
|
-
import { accessSync, closeSync, constants, existsSync, openSync, readSync } from "fs";
|
|
9
|
+
import { execFileSync as execFileSync2 } from "child_process";
|
|
10
|
+
import { accessSync as accessSync2, closeSync, constants as constants2, existsSync as existsSync2, openSync, readSync } from "fs";
|
|
11
11
|
import { createRequire } from "module";
|
|
12
|
-
import { basename,
|
|
12
|
+
import { basename, dirname as dirname2, join as join2, resolve as resolve2 } from "path";
|
|
13
|
+
import { execFileSync } from "child_process";
|
|
14
|
+
import { accessSync, constants, existsSync, realpathSync } from "fs";
|
|
15
|
+
import { homedir } from "os";
|
|
16
|
+
import { delimiter, dirname, isAbsolute, join, relative, resolve, sep } from "path";
|
|
17
|
+
function comparable(path) {
|
|
18
|
+
let full = resolve(path);
|
|
19
|
+
try {
|
|
20
|
+
full = realpathSync.native(full);
|
|
21
|
+
} catch {
|
|
22
|
+
full = resolve(path);
|
|
23
|
+
}
|
|
24
|
+
return process.platform === "win32" ? full.toLowerCase() : full;
|
|
25
|
+
}
|
|
26
|
+
function contains(parent, child) {
|
|
27
|
+
const rel = relative(parent, child);
|
|
28
|
+
return rel === "" || rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel);
|
|
29
|
+
}
|
|
30
|
+
function isTrustedDirectory(dir) {
|
|
31
|
+
if (!dir || !isAbsolute(dir)) return false;
|
|
32
|
+
const target = comparable(dir);
|
|
33
|
+
const cwd = comparable(process.cwd());
|
|
34
|
+
if (target === cwd) return false;
|
|
35
|
+
return contains(cwd, comparable(homedir())) || !contains(cwd, target);
|
|
36
|
+
}
|
|
37
|
+
function isTrustedExecutablePath(file) {
|
|
38
|
+
return isAbsolute(file) && isTrustedDirectory(dirname(file));
|
|
39
|
+
}
|
|
40
|
+
function trustedPathDirs(pathValue = process.env.PATH ?? "") {
|
|
41
|
+
const entries = pathValue.split(delimiter);
|
|
42
|
+
return [...new Set(entries.filter((dir) => isTrustedDirectory(dir)))];
|
|
43
|
+
}
|
|
44
|
+
function windowsExtensions() {
|
|
45
|
+
const listed = (process.env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD").split(";").map((ext) => ext.trim().toLowerCase()).filter(Boolean);
|
|
46
|
+
return [.../* @__PURE__ */ new Set([".exe", ...listed])];
|
|
47
|
+
}
|
|
48
|
+
function isExecutableFile(file) {
|
|
49
|
+
if (process.platform === "win32") return existsSync(file);
|
|
50
|
+
try {
|
|
51
|
+
accessSync(file, constants.X_OK);
|
|
52
|
+
return true;
|
|
53
|
+
} catch {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function scanTrustedPath(name) {
|
|
58
|
+
const extensions = process.platform === "win32" ? windowsExtensions() : [""];
|
|
59
|
+
for (const dir of trustedPathDirs()) {
|
|
60
|
+
for (const ext of extensions) {
|
|
61
|
+
const candidate = join(dir, `${name}${ext}`);
|
|
62
|
+
if (isExecutableFile(candidate)) return candidate;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return void 0;
|
|
66
|
+
}
|
|
67
|
+
function findTrustedExecutable(name) {
|
|
68
|
+
if (process.platform === "win32") return scanTrustedPath(name);
|
|
69
|
+
let listed;
|
|
70
|
+
try {
|
|
71
|
+
listed = execFileSync("which", [name], {
|
|
72
|
+
encoding: "utf-8",
|
|
73
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
74
|
+
timeout: 5e3
|
|
75
|
+
}).split(/\r?\n/).map((line) => line.trim()).find(Boolean);
|
|
76
|
+
} catch {
|
|
77
|
+
return void 0;
|
|
78
|
+
}
|
|
79
|
+
if (!listed) return void 0;
|
|
80
|
+
return isTrustedExecutablePath(listed) ? listed : scanTrustedPath(name);
|
|
81
|
+
}
|
|
13
82
|
var FFMPEG_PATH_ENV = "HYPERFRAMES_FFMPEG_PATH";
|
|
14
83
|
var FFPROBE_PATH_ENV = "HYPERFRAMES_FFPROBE_PATH";
|
|
15
84
|
var ENV_BY_NAME = {
|
|
@@ -43,7 +112,7 @@ function isX86OnlyMachO(file) {
|
|
|
43
112
|
return header.readUInt32LE(0) === 4277009103 && header.readUInt32LE(4) === MACHO_CPU_X86_64;
|
|
44
113
|
}
|
|
45
114
|
function runsOnThisMac(candidate) {
|
|
46
|
-
if (process.platform !== "darwin" || process.arch !== "arm64" ||
|
|
115
|
+
if (process.platform !== "darwin" || process.arch !== "arm64" || existsSync2(ROSETTA_RUNTIME)) {
|
|
47
116
|
return true;
|
|
48
117
|
}
|
|
49
118
|
if (!isX86OnlyMachO(candidate)) return true;
|
|
@@ -56,17 +125,16 @@ function getSkippedX86Binary(name) {
|
|
|
56
125
|
return skippedX86Binaries.get(name);
|
|
57
126
|
}
|
|
58
127
|
function isExecutablePathCandidate(candidate) {
|
|
59
|
-
if (process.platform === "win32") return
|
|
128
|
+
if (process.platform === "win32") return existsSync2(candidate);
|
|
60
129
|
try {
|
|
61
|
-
|
|
130
|
+
accessSync2(candidate, constants2.X_OK);
|
|
62
131
|
return runsOnThisMac(candidate);
|
|
63
132
|
} catch {
|
|
64
133
|
return false;
|
|
65
134
|
}
|
|
66
135
|
}
|
|
67
136
|
function scanPath(name) {
|
|
68
|
-
const
|
|
69
|
-
const searchDirs = (pathValue ? pathValue.split(delimiter) : []).filter((dir) => isAbsolute(dir));
|
|
137
|
+
const searchDirs = trustedPathDirs();
|
|
70
138
|
if (searchDirs.length === 0) return void 0;
|
|
71
139
|
const extensions = process.platform === "win32" ? [
|
|
72
140
|
".exe",
|
|
@@ -76,9 +144,9 @@ function scanPath(name) {
|
|
|
76
144
|
""
|
|
77
145
|
] : [""];
|
|
78
146
|
const candidates = [];
|
|
79
|
-
for (const dir of
|
|
147
|
+
for (const dir of searchDirs) {
|
|
80
148
|
for (const ext of extensions) {
|
|
81
|
-
const candidate =
|
|
149
|
+
const candidate = join2(dir, `${name}${ext}`);
|
|
82
150
|
if (isExecutablePathCandidate(candidate)) candidates.push(candidate);
|
|
83
151
|
}
|
|
84
152
|
}
|
|
@@ -88,17 +156,15 @@ var COMMON_BIN_DIRS = process.platform === "win32" ? [] : ["/opt/homebrew/bin",
|
|
|
88
156
|
function findInCommonDirsOrInstallerPackage(name) {
|
|
89
157
|
for (const dir of COMMON_BIN_DIRS) {
|
|
90
158
|
const candidate = `${dir}/${name}`;
|
|
91
|
-
if (
|
|
159
|
+
if (isTrustedExecutablePath(candidate) && existsSync2(candidate) && runsOnThisMac(candidate)) {
|
|
160
|
+
return candidate;
|
|
161
|
+
}
|
|
92
162
|
}
|
|
93
163
|
return findInInstallerPackage(name);
|
|
94
164
|
}
|
|
95
165
|
function binaryFileName(name) {
|
|
96
166
|
return process.platform === "win32" ? `${name}.exe` : name;
|
|
97
167
|
}
|
|
98
|
-
function findInProjectLocalBin(name) {
|
|
99
|
-
const candidate = resolve(".hyperframes", "bin", binaryFileName(name));
|
|
100
|
-
return existsSync(candidate) && runsOnThisMac(candidate) ? candidate : void 0;
|
|
101
|
-
}
|
|
102
168
|
function tryResolve(fromFile, request) {
|
|
103
169
|
try {
|
|
104
170
|
return createRequire(fromFile).resolve(request);
|
|
@@ -107,12 +173,12 @@ function tryResolve(fromFile, request) {
|
|
|
107
173
|
}
|
|
108
174
|
}
|
|
109
175
|
function findInInstallerPackage(name) {
|
|
110
|
-
const project =
|
|
176
|
+
const project = import.meta.url;
|
|
111
177
|
const platformManifest = `@${name}-installer/${process.platform}-${process.arch}/package.json`;
|
|
112
178
|
const installer = tryResolve(project, `@${name}-installer/${name}/package.json`);
|
|
113
179
|
const manifest = (installer && tryResolve(installer, platformManifest)) ?? tryResolve(project, platformManifest);
|
|
114
|
-
const candidate = manifest &&
|
|
115
|
-
return candidate && isExecutablePathCandidate(candidate) ? candidate : void 0;
|
|
180
|
+
const candidate = manifest && join2(dirname2(manifest), binaryFileName(name));
|
|
181
|
+
return candidate && isTrustedExecutablePath(candidate) && isExecutablePathCandidate(candidate) ? candidate : void 0;
|
|
116
182
|
}
|
|
117
183
|
function searchSystem(name) {
|
|
118
184
|
let found;
|
|
@@ -120,18 +186,17 @@ function searchSystem(name) {
|
|
|
120
186
|
found = scanPath(name);
|
|
121
187
|
} else {
|
|
122
188
|
try {
|
|
123
|
-
const output =
|
|
189
|
+
const output = execFileSync2("which", [name], {
|
|
124
190
|
encoding: "utf-8",
|
|
125
191
|
stdio: ["pipe", "pipe", "pipe"],
|
|
126
192
|
timeout: 5e3
|
|
127
193
|
});
|
|
128
194
|
const candidate = chooseBestPathCandidate(name, output.split(/\r?\n/));
|
|
129
|
-
found = candidate && isExecutablePathCandidate(candidate) ? candidate : scanPath(name);
|
|
195
|
+
found = candidate && isTrustedExecutablePath(candidate) && isExecutablePathCandidate(candidate) ? candidate : scanPath(name);
|
|
130
196
|
} catch {
|
|
131
197
|
found = scanPath(name);
|
|
132
198
|
}
|
|
133
199
|
}
|
|
134
|
-
found ??= findInProjectLocalBin(name);
|
|
135
200
|
found ??= findInCommonDirsOrInstallerPackage(name);
|
|
136
201
|
return found;
|
|
137
202
|
}
|
|
@@ -144,22 +209,31 @@ function lookupOnSystem(name) {
|
|
|
144
209
|
lastMissAt.set(name, Date.now());
|
|
145
210
|
return void 0;
|
|
146
211
|
}
|
|
147
|
-
const resolved =
|
|
212
|
+
const resolved = resolve2(found);
|
|
148
213
|
pathLookupCache.set(name, resolved);
|
|
149
214
|
return resolved;
|
|
150
215
|
}
|
|
151
216
|
function findFfBinary(name, options = {}) {
|
|
152
217
|
const configured = process.env[ENV_BY_NAME[name]]?.trim();
|
|
153
218
|
if (configured) {
|
|
154
|
-
if (options.configuredMustExist && !
|
|
155
|
-
return
|
|
219
|
+
if (options.configuredMustExist && !existsSync2(configured)) return void 0;
|
|
220
|
+
return resolve2(configured);
|
|
156
221
|
}
|
|
157
222
|
return lookupOnSystem(name);
|
|
158
223
|
}
|
|
224
|
+
function requireFfBinary(name) {
|
|
225
|
+
const found = findFfBinary(name);
|
|
226
|
+
if (found) return found;
|
|
227
|
+
const message = `[FFmpeg] ${name} not found. Install FFmpeg or set ${ENV_BY_NAME[name]} to its absolute path.`;
|
|
228
|
+
throw Object.assign(new Error(message), { code: "ENOENT" });
|
|
229
|
+
}
|
|
159
230
|
|
|
160
231
|
export {
|
|
232
|
+
trustedPathDirs,
|
|
233
|
+
findTrustedExecutable,
|
|
161
234
|
FFMPEG_PATH_ENV,
|
|
162
235
|
FFPROBE_PATH_ENV,
|
|
163
236
|
getSkippedX86Binary,
|
|
164
|
-
findFfBinary
|
|
237
|
+
findFfBinary,
|
|
238
|
+
requireFfBinary
|
|
165
239
|
};
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-JJ47LVJ7.js";
|
|
19
19
|
import {
|
|
20
20
|
trackSkillsInstallSkipped
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E53F4CP6.js";
|
|
22
22
|
import {
|
|
23
23
|
diag
|
|
24
24
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
isCoreSkill,
|
|
40
40
|
presentSkills,
|
|
41
41
|
retiredSkillNotice
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5SXAEHZT.js";
|
|
43
43
|
import {
|
|
44
44
|
NO_UPDATE_NOTICE,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6OYPVALW.js";
|
|
47
47
|
import {
|
|
48
48
|
failureMessage,
|
|
49
49
|
jsonFailure
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-66W5IWLO.js";
|
|
55
55
|
import {
|
|
56
56
|
VERSION
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-6FP6HBG4.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/skills.ts
|
|
60
60
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-26DWEOAT.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LLMSX6V6.js";
|
|
10
10
|
import {
|
|
11
11
|
readCompositionFps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3XJ42WUG.js";
|
|
13
13
|
import {
|
|
14
14
|
findSyncPartner,
|
|
15
15
|
readLinkTiming,
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TGGYHFTP.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TDOJW7Z2.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveReferencedDuration,
|
|
37
37
|
resolveReferencedStart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ASORF7UJ.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveAuthoredAssetFile
|
|
41
41
|
} from "./chunk-K2Z6OXEI.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
isSubCompositionHost,
|
|
54
54
|
topLevelElements,
|
|
55
55
|
trackKindOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-M425BL2U.js";
|
|
57
57
|
|
|
58
58
|
// src/timeline/describeProject.ts
|
|
59
59
|
import { readFileSync, realpathSync, statSync } from "fs";
|