hyperframes 0.9.56 → 0.9.59
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 +3 -1
- package/dist/{add-KW7OTOWF.js → add-C7J7HSLI.js} +35 -31
- package/dist/{agentPromptGenerator-NNXUWNU4.js → agentPromptGenerator-GCLJUGVE.js} +18 -16
- package/dist/{animatedGifPrep-6ATQHQON.js → animatedGifPrep-JPQZPZC4.js} +20 -17
- package/dist/api.js +69 -67
- package/dist/{appHistory-KHX53SGI.js → appHistory-TQ6JAEP5.js} +7 -5
- package/dist/{asset-QVINGJRK.js → asset-HQEPGBDJ.js} +6 -5
- package/dist/{assetCataloger-DENJPUBH.js → assetCataloger-LMPPKPF6.js} +20 -18
- package/dist/{audio-LB7HQYPJ.js → audio-FD2EBZ6D.js} +45 -43
- package/dist/{auth-7AGRVI5A.js → auth-JA7XH6NG.js} +4 -4
- package/dist/{autoUpdate-ITCP2JDM.js → autoUpdate-WKW2OMIY.js} +6 -6
- package/dist/{avatars-2K2C74EQ.js → avatars-Q7U6CO4X.js} +30 -28
- package/dist/{backgroundChecks-UOTBCWPN.js → backgroundChecks-H2SOS2CM.js} +16 -9
- package/dist/backgroundChecksWorker.js +9 -9
- package/dist/{batchRender-Z7ESYQDS.js → batchRender-75OLVMZY.js} +18 -14
- package/dist/{beats-TG6ZB3XH.js → beats-R4EHWWJN.js} +21 -19
- package/dist/{benchmark-RU5MLZHE.js → benchmark-F5OHG3Q3.js} +34 -31
- package/dist/{billing-VB5PYYSN.js → billing-LBRSBVXQ.js} +49 -33
- package/dist/{browser-VSQRY5GG.js → browser-CNTCFZOG.js} +23 -21
- package/dist/{bundleWithLocalizedFonts-XDPJE355.js → bundleWithLocalizedFonts-RVF7AFP5.js} +1 -1
- package/dist/{capture-TQCFWPAT.js → capture-CTRZEZTC.js} +38 -15
- package/dist/{capture-M4FL7MWI.js → capture-DLYM3V5F.js} +51 -46
- package/dist/{captureCompositionFrame-XF67Q6YK.js → captureCompositionFrame-2O2HP6SK.js} +28 -26
- package/dist/{captureFile-F254H22J.js → captureFile-W7ZDDBCD.js} +5 -3
- package/dist/captureProxy-4K3J652A.js +23 -0
- package/dist/{catalog-24EGH662.js → catalog-6XL63LU3.js} +46 -40
- package/dist/{catch-up-L23HGDLB.js → catch-up-AOFQWE6O.js} +36 -27
- package/dist/{check-F4HQVV2M.js → check-5V7K4RL6.js} +71 -69
- package/dist/{checkAudio-6DT3ONR7.js → checkAudio-4YUTDQSQ.js} +29 -25
- package/dist/{checkBrowser-S7P4X7QV.js → checkBrowser-BAWRZZZU.js} +62 -60
- package/dist/{chunk-OXT2LXZB.js → chunk-2ARKMOCD.js} +8 -8
- package/dist/{chunk-VC4YMXUQ.js → chunk-2LJPBYKI.js} +1 -1
- package/dist/{chunk-YOMFN6HH.js → chunk-3DFEBAWJ.js} +3 -3
- package/dist/{chunk-4RPIEGL3.js → chunk-3JVTHNDH.js} +1 -1
- package/dist/{chunk-WUY74LHU.js → chunk-3QMGLSKC.js} +3 -3
- package/dist/{chunk-QJDMX53S.js → chunk-3RTZ2UX7.js} +1 -1
- package/dist/{chunk-BA33QNKK.js → chunk-4NDSGKPO.js} +54 -22
- package/dist/{chunk-VVXSMYXQ.js → chunk-4QSDXDLV.js} +3 -3
- package/dist/{chunk-WGWKT7ME.js → chunk-4STRMCGD.js} +12 -4
- package/dist/{chunk-IDGWNOBX.js → chunk-4VJQVTQI.js} +1 -1
- package/dist/{chunk-LK7F7P2X.js → chunk-5T6HPV25.js} +2 -2
- package/dist/{chunk-NCJSN6SV.js → chunk-65X2G57W.js} +24 -14
- package/dist/{chunk-RFULFCYW.js → chunk-6ATP7YPZ.js} +4 -4
- package/dist/{chunk-CPSD7337.js → chunk-6K6RIX2A.js} +9 -9
- package/dist/{chunk-PHAZT6EB.js → chunk-6LGB4MVX.js} +2 -2
- package/dist/{chunk-B6BWLFAF.js → chunk-6R4MEYWD.js} +3 -3
- package/dist/{chunk-UIMXEY4U.js → chunk-6UAYOSE7.js} +36 -21
- package/dist/{chunk-ZLTB7ZCQ.js → chunk-6VY52EVW.js} +1 -1
- package/dist/{chunk-GTC2STHN.js → chunk-6VY6WTY5.js} +22 -13
- package/dist/{chunk-QTZICZWT.js → chunk-763UG5II.js} +26 -23
- package/dist/{chunk-XEVAW42J.js → chunk-7CI5MLCC.js} +18 -18
- package/dist/{chunk-BZULWFMJ.js → chunk-7FIJRDUG.js} +45 -10
- package/dist/{chunk-R2LP7QPB.js → chunk-7Q4EGB3N.js} +1 -1
- package/dist/{chunk-ICDGP335.js → chunk-7XOORL2Q.js} +14 -14
- package/dist/{chunk-CKIYT34K.js → chunk-7YRZBB4C.js} +1 -1
- package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
- package/dist/{chunk-CDNVZEGQ.js → chunk-AEXDJU77.js} +5 -2
- package/dist/{chunk-TVZTTWU7.js → chunk-AQIHV4PM.js} +4 -4
- package/dist/{chunk-Q2TT62RQ.js → chunk-B653JKWT.js} +4 -4
- package/dist/{chunk-QNIID7EN.js → chunk-BMTT2T7M.js} +17 -7
- package/dist/{chunk-RCGNYXWK.js → chunk-BTXYXM2A.js} +64 -34
- package/dist/{chunk-664QGMR4.js → chunk-C3NDLM4S.js} +6 -6
- package/dist/{chunk-DUZ6Z2ZN.js → chunk-CAMD2NBN.js} +31 -23
- package/dist/{chunk-6LONEKJR.js → chunk-CC72LTIT.js} +2650 -2430
- package/dist/{chunk-L27Z3PZT.js → chunk-CIXP5G7Z.js} +1 -1
- package/dist/{chunk-AN6KWGYI.js → chunk-D44MBZI6.js} +2 -2
- package/dist/{chunk-VCSQLM36.js → chunk-DCRHNRUY.js} +9 -9
- package/dist/{chunk-BTJYK56C.js → chunk-DSCMYTKJ.js} +5 -5
- package/dist/{chunk-6RPKPL22.js → chunk-EGZQX3UX.js} +1 -1
- package/dist/{chunk-4DJGUZJR.js → chunk-ELDZ6C3R.js} +3 -3
- package/dist/{chunk-PCKKKICA.js → chunk-EUVU5JS4.js} +4 -4
- package/dist/{chunk-CWIOKI2R.js → chunk-FC77MYAD.js} +1 -1
- package/dist/{chunk-XKNNZ4WR.js → chunk-FFL5R2EZ.js} +7 -4
- package/dist/{chunk-BW4H55SU.js → chunk-FGJUVWAM.js} +1 -1
- package/dist/{chunk-BR7GOCQJ.js → chunk-FQ26QE5N.js} +1 -1
- package/dist/{chunk-BMVUB2CY.js → chunk-GMIFMRWR.js} +9 -9
- package/dist/{chunk-2GRCTZNS.js → chunk-GYJ7AJXN.js} +2 -2
- package/dist/{chunk-PPLFDG7N.js → chunk-H3TD4VKX.js} +3 -3
- package/dist/{chunk-YQSVPHOS.js → chunk-HLOJSBGC.js} +34 -17
- package/dist/chunk-HOIEN7O4.js +31 -0
- package/dist/{chunk-MYETYFDI.js → chunk-HTISHNLA.js} +2 -2
- package/dist/{chunk-DDCXMXAD.js → chunk-HXFGAI6L.js} +49 -249
- package/dist/{chunk-CUO2HF4M.js → chunk-HY7FPTBD.js} +2 -2
- package/dist/{chunk-I6V25IXG.js → chunk-HYXQR5I3.js} +2 -2
- package/dist/{chunk-PVF32NRA.js → chunk-I5H2FPNP.js} +2 -2
- package/dist/{chunk-L5NPBGQB.js → chunk-I6OSAVHD.js} +33 -29
- package/dist/{chunk-43CQTZGB.js → chunk-ISSG4PUD.js} +27 -14
- package/dist/{chunk-7QFFS657.js → chunk-J3H6QDDY.js} +1 -1
- package/dist/{chunk-UHVKV5IF.js → chunk-J4OHC5FU.js} +1 -1
- package/dist/{chunk-TY7EHE4Q.js → chunk-JLMMY3UI.js} +2 -2
- package/dist/{chunk-XLP34AJR.js → chunk-JQ7BPN2R.js} +20 -8
- package/dist/{chunk-JDXALWOM.js → chunk-JT7RXK2N.js} +59 -7
- package/dist/{chunk-7F4RAWDS.js → chunk-JUUOYXWH.js} +4 -4
- package/dist/{chunk-PUTPYYE4.js → chunk-K2WLOTTF.js} +5 -2
- package/dist/{chunk-D3WRRPHI.js → chunk-K33E3YNK.js} +11 -11
- package/dist/{chunk-OIO7YMBP.js → chunk-KGPHUBBA.js} +1 -1
- package/dist/chunk-KK5Z5XQ3.js +109 -0
- package/dist/{chunk-WHX2OV4C.js → chunk-KQHDFVFF.js} +3 -3
- package/dist/chunk-KUJJJBV2.js +211 -0
- package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
- package/dist/{chunk-YDNBMPP3.js → chunk-KYXH4JWF.js} +8 -8
- package/dist/{chunk-XD5T43S7.js → chunk-L456Q4KU.js} +1 -1
- package/dist/{chunk-EBRN4YJH.js → chunk-L4MXZHRB.js} +3 -3
- package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
- package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
- package/dist/{chunk-IO7PRQQC.js → chunk-LSGJY2FG.js} +1 -1
- package/dist/{chunk-CLRHKYOK.js → chunk-LTOUXR3X.js} +8 -8
- package/dist/{chunk-5ZDNSYTO.js → chunk-LZWG4GCC.js} +3 -3
- package/dist/{chunk-UVPLW55S.js → chunk-MHF5F4FF.js} +69 -68
- package/dist/{chunk-52XHPMCX.js → chunk-MTKXKULM.js} +2 -2
- package/dist/{chunk-ON3CGL3V.js → chunk-MVA4OQL7.js} +2 -2
- package/dist/{chunk-6XRXUMFG.js → chunk-N6QWL3E7.js} +5 -2
- package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
- package/dist/chunk-NI7JVGOE.js +5083 -0
- package/dist/{chunk-IT2QBRVS.js → chunk-NLN5NY3P.js} +1 -1
- package/dist/{chunk-MDRLJ737.js → chunk-O733DEVT.js} +2 -2
- package/dist/{chunk-ANYW22IT.js → chunk-ODLSLYJR.js} +10 -4
- package/dist/{chunk-BZXW5QU7.js → chunk-OF7SQ77J.js} +1 -1
- package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
- package/dist/{chunk-EGR2ZFFP.js → chunk-OPIS2YMA.js} +13 -11
- package/dist/{chunk-IHXMN5YH.js → chunk-ORKZUTZW.js} +2 -2
- package/dist/{chunk-HVG656G6.js → chunk-OV5OSN74.js} +6 -4
- package/dist/{chunk-MVLAPENI.js → chunk-OYKAS3J5.js} +3 -3
- package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
- package/dist/{chunk-CNXZCMJZ.js → chunk-PCHUX7Y5.js} +2 -2
- package/dist/{chunk-7QFLMCTD.js → chunk-PDT6CBK2.js} +37 -6
- package/dist/{chunk-AGTBMLNM.js → chunk-PHYFZXOS.js} +2 -2
- package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
- package/dist/{chunk-CZCZ5YXT.js → chunk-PLOCYJ5U.js} +1 -1
- package/dist/{chunk-NFST2HIM.js → chunk-PMKWTXHE.js} +2 -2
- package/dist/{chunk-APCVZGU6.js → chunk-POFQOZOF.js} +267 -81
- package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
- package/dist/{chunk-ZIF44RW2.js → chunk-PSREPOJ4.js} +11 -8
- package/dist/{chunk-7DKWEIH4.js → chunk-PYRM3OAI.js} +31 -25
- package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
- package/dist/{chunk-T5HYPGST.js → chunk-QC35TPEE.js} +37 -13
- package/dist/{chunk-JQKCRTVQ.js → chunk-QHVE6AFU.js} +2 -2
- package/dist/{chunk-W4AR7UZH.js → chunk-QJ2BV7FM.js} +2 -2
- package/dist/{chunk-MP52CUHL.js → chunk-QKHW5NXL.js} +12 -6
- package/dist/{chunk-KRYXZVA2.js → chunk-QVHDAS3L.js} +5 -5
- package/dist/{chunk-5GSCSZOS.js → chunk-R3ONQOLE.js} +177 -55
- package/dist/{chunk-JPEIUGS5.js → chunk-RAOGN2HG.js} +2 -2
- package/dist/{chunk-LRWWCTSJ.js → chunk-RDWGNSVI.js} +2 -2
- package/dist/{chunk-LH5FRVAO.js → chunk-RHFB457E.js} +3 -3
- package/dist/{chunk-PGJYA6I3.js → chunk-RKIF4EU7.js} +77 -23
- package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
- package/dist/{chunk-GWSMTN55.js → chunk-RX67N2PU.js} +55 -1
- package/dist/{chunk-7E7VKASF.js → chunk-SC7SX2I3.js} +20 -10
- package/dist/{chunk-RRT6URIP.js → chunk-SGQKP2JT.js} +4 -4
- package/dist/{chunk-CXFW7YPT.js → chunk-SO7FT7YA.js} +99 -77
- package/dist/chunk-SXCM6VY3.js +125 -0
- package/dist/{chunk-LKWWY6WN.js → chunk-T5QI7ZL2.js} +1 -1
- package/dist/{chunk-BAWGEGKD.js → chunk-TFAKFI3R.js} +4 -4
- package/dist/{chunk-3GVHDPEP.js → chunk-THGJTFYB.js} +42 -31
- package/dist/{chunk-EKSS3KI7.js → chunk-TIBFCGLT.js} +1 -1
- package/dist/{chunk-IHX3AFTY.js → chunk-TIZC4XKU.js} +8 -5
- package/dist/{chunk-WFB4XPJR.js → chunk-TJGGLLQJ.js} +13 -13
- package/dist/{chunk-MPOWSPBD.js → chunk-TNFTRLLJ.js} +4 -4
- package/dist/{chunk-YWH7HWDP.js → chunk-TVWDS5AT.js} +345 -331
- package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
- package/dist/{chunk-2ZOJCSLJ.js → chunk-UBNJWS2H.js} +74 -19
- package/dist/{chunk-PGHROSLJ.js → chunk-UNB2DFR2.js} +4 -4
- package/dist/{chunk-4GPKDDQZ.js → chunk-URHIQHDR.js} +15 -15
- package/dist/chunk-UVZIABYZ.js +40 -0
- package/dist/{chunk-OZDELWQP.js → chunk-VFGFXE6J.js} +1 -1
- package/dist/{chunk-QBADK3LD.js → chunk-VPPKUCSP.js} +3 -3
- package/dist/{chunk-EUP7ODOV.js → chunk-VXRTE7MZ.js} +1 -1
- package/dist/{chunk-YFWFCKKF.js → chunk-WDMSNDHS.js} +7646 -7450
- package/dist/{chunk-HOCV5AW6.js → chunk-WI3FM54X.js} +8 -4
- package/dist/{chunk-SEC76O65.js → chunk-WKE3WTIU.js} +1 -1
- package/dist/{chunk-SGWDJLFL.js → chunk-WQGDE3L6.js} +1 -1
- package/dist/{chunk-BPYNILOZ.js → chunk-WRSGWDDB.js} +11 -9
- package/dist/{chunk-DY7PQLIE.js → chunk-WTJZ5QFR.js} +42 -5
- package/dist/{chunk-FGGRBKWL.js → chunk-WTZT6FSK.js} +1 -1
- package/dist/{chunk-BUG5AOPJ.js → chunk-XWV6BOCG.js} +3 -3
- package/dist/{chunk-HCQXGGVY.js → chunk-XXJBWKDS.js} +241 -25
- package/dist/{chunk-4WSJ5MUN.js → chunk-XXOEYRD5.js} +5 -5
- package/dist/{chunk-IRZUZ32B.js → chunk-XZ6THYIK.js} +11 -5
- package/dist/{chunk-CBG6MIT2.js → chunk-YBYNBKCN.js} +2 -2
- package/dist/{chunk-7HQC5MDZ.js → chunk-YMKCJRVK.js} +1 -1
- package/dist/{chunk-CKIVYAKG.js → chunk-Z2U7ELGP.js} +3 -3
- package/dist/{chunk-L5CBCPUH.js → chunk-ZIYYSD6S.js} +44 -21
- package/dist/{chunk-Z72VXQPN.js → chunk-ZMLZRMG7.js} +2 -2
- package/dist/{chunk-LRQEIKFT.js → chunk-ZQIMO52O.js} +9 -9
- package/dist/{clean-VB6BH3FV.js → clean-Z5REUSNY.js} +43 -40
- package/dist/cli.js +123 -79
- package/dist/{cloud-7KRPD2K4.js → cloud-NJ7G3NF3.js} +4 -4
- package/dist/{cloud-A67BW6OH.js → cloud-QP5R6B6A.js} +11 -9
- package/dist/{cloudrun-VKBARVVT.js → cloudrun-CPAZLNTW.js} +16 -14
- package/dist/{compare-SE55PMC3.js → compare-T5CHD25P.js} +63 -60
- package/dist/{compiler-WK7ABGRW.js → compiler-QVDXN4OS.js} +9 -7
- package/dist/{component-XT2AT3RY.js → component-QMZ46KTE.js} +24 -7
- package/dist/{compositions-ZZWLQNDQ.js → compositions-JHYYNBAK.js} +29 -28
- package/dist/{contactSheet-MXOASCDR.js → contactSheet-7SPGUTDV.js} +8 -6
- package/dist/contract/path-policy.json +12 -2
- package/dist/{curve-4RQQKZ2K.js → curve-ON6QQY7T.js} +26 -24
- package/dist/{cuts-M3QU2CBE.js → cuts-K4FOVP4E.js} +27 -25
- package/dist/{delete-5ZZNPK5G.js → delete-6WFQ3FC2.js} +22 -20
- package/dist/{deploy-VR5SQP4U.js → deploy-UAZQ5PBA.js} +18 -15
- package/dist/{describeProject-NU5BVVIA.js → describeProject-7W6BN5A2.js} +18 -16
- package/dist/{destroy-FFS62PAW.js → destroy-4B4OVPHJ.js} +17 -14
- package/dist/{deterministicFonts-FQQNGORI.js → deterministicFonts-VLIVGXUQ.js} +8 -6
- package/dist/{diff-NQGTF6GR.js → diff-ZSA37QQS.js} +295 -106
- package/dist/{dist-B7IBHWIW.js → dist-2O52E7QZ.js} +21 -18
- package/dist/{dist-APXZ5EN2.js → dist-ACT5C6ME.js} +5 -4
- package/dist/{dist-6GYOC3BU.js → dist-VRYZIJFZ.js} +14 -5
- package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
- package/dist/{doctor-FATJGTPD.js → doctor-RXQ2Y2YY.js} +30 -28
- package/dist/{energy-PHDK6SKL.js → energy-DRA3DCRO.js} +27 -25
- package/dist/{events-OIWXSBZA.js → events-4SNBQE3M.js} +29 -27
- package/dist/{events-25VQ2O66.js → events-AJNF2C3H.js} +16 -14
- package/dist/{events-RXVHG2NT.js → events-GA3YM3WT.js} +9 -9
- package/dist/{execute-MKP4Z573.js → execute-6LTZRWE4.js} +53 -51
- package/dist/{extract-YYNYXPOC.js → extract-XZQN654B.js} +30 -28
- package/dist/{face-JSTMFQRM.js → face-RKUNVSN3.js} +28 -26
- package/dist/{feedback-PY6LMZCX.js → feedback-AL7NPPMZ.js} +33 -30
- package/dist/{ffmpeg-KLIB55FK.js → ffmpeg-BEL7EZBA.js} +18 -16
- package/dist/{figma-ACFOXVPM.js → figma-IZ3NH2KZ.js} +3 -3
- package/dist/fontLocalizeCli.js +26 -23
- package/dist/{frames-BLZCBXO7.js → frames-AYE53CSZ.js} +29 -27
- package/dist/{generate-DMVEKZEV.js → generate-BZ4EVVQI.js} +47 -45
- package/dist/{get-3WZDQ5YM.js → get-2GG4NSOK.js} +18 -16
- package/dist/{gpuPolicy-TT6UCOLQ.js → gpuPolicy-W2ZGBXNG.js} +17 -15
- package/dist/{grade-compare-F5DJ53XH.js → grade-compare-65NWHVXK.js} +65 -62
- package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-RODCGO2L.js} +1 -1
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UV23RWOG.js → heifImagePrep-MRQ4KKDF.js} +21 -18
- package/dist/{help-QMP5KFYW.js → help-TEQWNNPI.js} +2 -2
- package/dist/{history-UOZ4RDEZ.js → history-MVNPETRW.js} +32 -29
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +14 -6
- package/dist/{index-gen-OPMQ5WSN.js → index-gen-3DWPA4FO.js} +14 -12
- package/dist/{info-A6KSO64E.js → info-NGNTHWYX.js} +34 -33
- package/dist/{init-OQU46K3Q.js → init-H7SUGVZX.js} +58 -54
- package/dist/{ink-HGRKLGII.js → ink-CPZ4YZFM.js} +27 -25
- package/dist/{inspect-BKENKUXF.js → inspect-GZBQ7XN7.js} +63 -57
- package/dist/{installer-Z6FTR7BJ.js → installer-ZTHYVK4L.js} +12 -10
- package/dist/{keyframes-UDQGWKPW.js → keyframes-B52LQUOI.js} +96 -48
- package/dist/{lambda-SHXQFHLE.js → lambda-SZDQJMKA.js} +31 -29
- package/dist/{layout-CJAVQ4D3.js → layout-BOUOG2D2.js} +63 -59
- package/dist/{lint-RAPNYPWS.js → lint-H4OWI5JN.js} +26 -25
- package/dist/{lintProject-JZRM7UKH.js → lintProject-P4EAXFU2.js} +5 -4
- package/dist/{list-4BKFMJQN.js → list-VNEYACGL.js} +21 -19
- package/dist/{localPage-BJW2TP77.js → localPage-ZP7WVA2N.js} +18 -16
- package/dist/{login-S5VZAGCI.js → login-RUDOUO5Z.js} +10 -10
- package/dist/{logout-CCATTNTL.js → logout-5ZO6ZNS3.js} +5 -5
- package/dist/{look-V2I6BGUY.js → look-G3NVPKXZ.js} +27 -25
- package/dist/{manager-WQWU5VJ4.js → manager-KWNID2ZA.js} +6 -6
- package/dist/{manager-OS2FYJI5.js → manager-NXH2NJC6.js} +19 -17
- package/dist/{manifest-QSJYVERU.js → manifest-TSKRUXZ5.js} +5 -1
- package/dist/{measure-RO5R2SUZ.js → measure-5PVIZ2W2.js} +11 -11
- package/dist/{media-treatment-CS7BVMJW.js → media-treatment-T5QJI4PQ.js} +37 -31
- package/dist/{media-use-W3DGCKFB.js → media-use-RTN3SMVY.js} +9 -9
- package/dist/{models-ZOGYW2SC.js → models-J2CJ7EVX.js} +30 -28
- package/dist/{motionShot-IMRI7W7T.js → motionShot-HU7P26WJ.js} +45 -35
- package/dist/{normalize-PGMS24I2.js → normalize-44E7R6T5.js} +5 -1
- package/dist/{normalize-audio-HXTFAZUK.js → normalize-audio-2YFTP2T6.js} +25 -22
- package/dist/{oauth-SAVP2YM4.js → oauth-E5QBYYTX.js} +3 -3
- package/dist/{open-LJDQ37KV.js → open-RSCNUV6E.js} +36 -33
- package/dist/{parakeetRunner-CKMSKDH6.js → parakeetRunner-BUY25EIR.js} +29 -27
- package/dist/{pipeline-ZNCYOTUH.js → pipeline-A4RL5R5P.js} +23 -21
- package/dist/{plan-NCFS5T6W.js → plan-7WYNPILA.js} +40 -38
- package/dist/{play-5UZDFFXJ.js → play-UKHFNMYZ.js} +52 -48
- package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
- package/dist/{preflight-H5XYFKFF.js → preflight-2VFCT3PI.js} +21 -19
- package/dist/{present-EFXUFT5Y.js → present-ZUGFCQOF.js} +43 -39
- package/dist/{preview-RV7ALGDQ.js → preview-BT2ZFYMC.js} +55 -53
- package/dist/{probe-UB6DM2Q3.js → probe-2CLEK2UT.js} +27 -25
- package/dist/{producer-2PKB5CW5.js → producer-HCAMS55D.js} +1 -1
- package/dist/{progress-S36VQBQW.js → progress-5A4N7PTR.js} +7 -4
- package/dist/{projectConfig-EUH5DILC.js → projectConfig-2KJ2PXIM.js} +15 -13
- package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
- package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
- package/dist/{publication-VI2AXXKR.js → publication-AR63EGJF.js} +9 -7
- package/dist/{publish-225GB7R4.js → publish-EGKYOJWV.js} +78 -67
- package/dist/{refresh-X5ZLKQO5.js → refresh-GYRLZ7DZ.js} +5 -5
- package/dist/{remove-background-W2RLEQHJ.js → remove-background-IQQPMM24.js} +27 -25
- package/dist/{render-KXKBSNOQ.js → render-HJRMJYTA.js} +16 -13
- package/dist/{render-Y3JKWEN4.js → render-ROJ5X53T.js} +69 -66
- package/dist/{render-WMWCCMWI.js → render-YNSZYEEK.js} +101 -91
- package/dist/{render-batch-GK6CDHKN.js → render-batch-MXYDIHRO.js} +20 -16
- package/dist/renderSetupWorker.js +21 -11
- package/dist/{resolver-5CRZD5XB.js → resolver-SPLAVF76.js} +12 -10
- package/dist/{reverse-YPYKKQSJ.js → reverse-CE6OGBB7.js} +1 -1
- package/dist/{run-FQ76QNES.js → run-YVNJJL26.js} +15 -13
- package/dist/runtimeVersion.js +6 -1
- package/dist/{sam-A4NXDWSU.js → sam-2D3BUTL7.js} +5 -5
- package/dist/{screenshotCapture-R6VE66NR.js → screenshotCapture-DRO7VMNI.js} +20 -18
- package/dist/{service-P3IKHZFC.js → service-K65JYG4O.js} +30 -27
- package/dist/{share-BU4VQL3B.js → share-CSVWF6SB.js} +38 -35
- package/dist/{sherpa-44GLXY3A.js → sherpa-JE6AFUEV.js} +28 -26
- package/dist/sherpaWorker.js +7 -5
- package/dist/{sites-TAX3JLNX.js → sites-QCGTWVNF.js} +9 -5
- package/dist/skills/hyperframes/references/plugin-installation.md +12 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +47 -9
- package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
- package/dist/skills/media-use/audio/scripts/audio.mjs +24 -7
- package/dist/skills/media-use/audio/scripts/carve.mjs +10 -82
- package/dist/skills/media-use/audio/scripts/lib/audio-carve.mjs +4 -0
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +25 -7
- package/dist/skills/media-use/audio/scripts/lib/project-path.mjs +56 -0
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +66 -3
- package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +12 -7
- package/dist/skills/media-use/references/audio.md +2 -2
- package/dist/skills/media-use/references/mixing.md +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
- package/dist/skills/media-use/scripts/lib/index-gen.mjs +13 -11
- package/dist/skills/media-use/scripts/lib/manifest.mjs +51 -4
- package/dist/{skills-H4OZQ6VR.js → skills-L3BXM7VJ.js} +22 -20
- package/dist/{skillsUpdateCheck-U3XZX7UE.js → skillsUpdateCheck-VUENI5OR.js} +7 -7
- package/dist/{snapshot-FJQVXBFB.js → snapshot-GI2GWIF6.js} +121 -99
- package/dist/{src-PAM5LJ6K.js → src-B646B52O.js} +36 -22
- package/dist/{src-O6BHCR4O.js → src-ZXZO5RCJ.js} +30 -27
- package/dist/{start-R7CYOQ5S.js → start-ZNGKXRNE.js} +46 -44
- package/dist/{state-YFRV6TQH.js → state-7CJBWHXJ.js} +7 -4
- package/dist/{staticProjectServer-4X2OSUN4.js → staticProjectServer-46T6YTPF.js} +35 -32
- package/dist/{status-VN3FAN4M.js → status-7SWTPLVI.js} +43 -39
- package/dist/studio/assets/hyperframes-player-bya4hgms.js +573 -0
- package/dist/studio/assets/{index-yuN1pZrv.js → index--dcfSUzI.js} +1 -1
- package/dist/studio/assets/{index-CgyBYe2L.js → index-Bxh5lW0C.js} +178 -178
- package/dist/studio/assets/{pausedVideoDecoder-DtvSF8bV.js → pausedVideoDecoder-BKym1jA6.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-V3TMIWFB.js → studio-api-4XKM5HDR.js} +21 -18
- package/dist/{studioServer-GY2ZTR2E.js → studioServer-4TWRIZNU.js} +206 -139
- package/dist/subCompositionWorker.js +1163 -0
- package/dist/{sync-2V3JYCDE.js → sync-R3K6LYB3.js} +27 -25
- package/dist/{synthesize-TQELPMS5.js → synthesize-OZ3SJTOF.js} +22 -12
- package/dist/{system-2YOII5LZ.js → system-LZ4PMOJD.js} +3 -3
- package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
- package/dist/{telemetry-KMRZ3IJV.js → telemetry-WSBY25O3.js} +16 -14
- package/dist/{templates-EEFY4FPS.js → templates-ITP6ISAF.js} +41 -33
- package/dist/{timeline-HSRGYZ3Q.js → timeline-U7GJMYKV.js} +51 -44
- package/dist/{tokens-NYFORL53.js → tokens-3YTSUU27.js} +6 -5
- package/dist/{transcribe-GFFWRWK3.js → transcribe-ISCBYWN4.js} +24 -22
- package/dist/{transcribe-CNIQYQ52.js → transcribe-QHHY5M3G.js} +58 -56
- package/dist/{tts-NPMDYSXP.js → tts-24IJXIT2.js} +9 -9
- package/dist/{update-BDMPUNNA.js → update-SVEH2GOL.js} +25 -23
- package/dist/{updateCheck-43UZ2USJ.js → updateCheck-MDG7N7VO.js} +6 -6
- package/dist/{upgrade-Z5B57UWL.js → upgrade-6CGAI4OR.js} +12 -10
- package/dist/{urlDownloader-KDZ76BKM.js → urlDownloader-VPQTIGEH.js} +16 -14
- package/dist/{validate-UQKZNR5K.js → validate-QUB4KCEQ.js} +50 -43
- package/dist/{video-VR4363OG.js → video-PUGZ5UHS.js} +37 -30
- package/dist/{voices-GUWAM3TH.js → voices-4UO5AYLS.js} +44 -42
- package/dist/warmCheck.js +72 -70
- package/dist/warmCheckClient.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-56T2OGYR.js +0 -5085
- package/dist/chunk-IJYIIHGK.js +0 -21
- package/dist/chunk-JOQR4AP6.js +0 -22
- package/dist/chunk-MK4RH5L7.js +0 -81
- package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +0 -46
- package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +0 -149
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +0 -231
- package/dist/skills/media-use/audio/scripts/audio.test.mjs +0 -166
- package/dist/skills/media-use/audio/scripts/carve.test.mjs +0 -254
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +0 -131
- package/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +0 -38
- package/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +0 -233
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +0 -136
- package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +0 -135
- package/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +0 -41
- package/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +0 -86
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +0 -253
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +0 -627
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +0 -239
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +0 -198
- package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +0 -331
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +0 -181
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +0 -183
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +0 -280
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +0 -21
- package/dist/skills/media-use/audio/scripts/recording.test.mjs +0 -139
- package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +0 -106
- package/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +0 -108
- package/dist/skills/media-use/scripts/compatibility.test.mjs +0 -41
- package/dist/skills/media-use/scripts/dither.test.mjs +0 -176
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +0 -143
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +0 -178
- package/dist/skills/media-use/scripts/lib/cache.test.mjs +0 -110
- package/dist/skills/media-use/scripts/lib/candidates.test.mjs +0 -155
- package/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +0 -34
- package/dist/skills/media-use/scripts/lib/config-lock.test.mjs +0 -79
- package/dist/skills/media-use/scripts/lib/coverage.test.mjs +0 -136
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +0 -39
- package/dist/skills/media-use/scripts/lib/cube-build.test.mjs +0 -80
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +0 -130
- package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/duck.test.mjs +0 -319
- package/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +0 -102
- package/dist/skills/media-use/scripts/lib/freeze.test.mjs +0 -138
- package/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +0 -285
- package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +0 -315
- package/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +0 -49
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +0 -435
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +0 -92
- package/dist/skills/media-use/scripts/lib/local-models.test.mjs +0 -220
- package/dist/skills/media-use/scripts/lib/local-run.test.mjs +0 -121
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +0 -312
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +0 -331
- package/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +0 -199
- package/dist/skills/media-use/scripts/lib/manifest.test.mjs +0 -397
- package/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +0 -197
- package/dist/skills/media-use/scripts/lib/media-home.test.mjs +0 -61
- package/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/misses.test.mjs +0 -89
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +0 -41
- package/dist/skills/media-use/scripts/lib/openverse.test.mjs +0 -219
- package/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +0 -44
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +0 -173
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +0 -245
- package/dist/skills/media-use/scripts/lib/probe.test.mjs +0 -221
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +0 -391
- package/dist/skills/media-use/scripts/lib/registry.test.mjs +0 -261
- package/dist/skills/media-use/scripts/lib/search.test.mjs +0 -32
- package/dist/skills/media-use/scripts/lib/specs.test.mjs +0 -157
- package/dist/skills/media-use/scripts/lib/stats.test.mjs +0 -165
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +0 -550
- package/dist/skills/media-use/scripts/lib/test-home.test.mjs +0 -10
- package/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +0 -33
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +0 -59
- package/dist/skills/media-use/scripts/lib/usage.test.mjs +0 -54
- package/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +0 -46
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +0 -86
- package/dist/skills/media-use/scripts/transcribe.test.mjs +0 -215
- package/dist/skills/media-use/scripts/transcript-cut.test.mjs +0 -341
- package/dist/studio/assets/hyperframes-player-SRLbmEDB.js +0 -565
|
@@ -4,19 +4,11 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
GENERIC_FAMILIES,
|
|
9
|
-
collectFontFamilyCustomProperties,
|
|
10
|
-
injectDeterministicFontFaces,
|
|
11
|
-
iterateFontFamilyDeclarations,
|
|
12
|
-
normalizeSystemFontPrimaryFamilies,
|
|
13
|
-
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-IHX3AFTY.js";
|
|
15
7
|
import {
|
|
16
8
|
Semaphore,
|
|
17
9
|
prepareHeifImageInputs,
|
|
18
10
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OV5OSN74.js";
|
|
20
12
|
import {
|
|
21
13
|
EncoderInterruptedError,
|
|
22
14
|
encoderFailureError,
|
|
@@ -30,15 +22,20 @@ import {
|
|
|
30
22
|
refusesOutsideLink,
|
|
31
23
|
resolveRenderPaths,
|
|
32
24
|
toExternalAssetKey
|
|
33
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PSREPOJ4.js";
|
|
26
|
+
import {
|
|
27
|
+
GENERIC_FAMILIES,
|
|
28
|
+
collectFontFamilyCustomProperties,
|
|
29
|
+
injectDeterministicFontFaces,
|
|
30
|
+
iterateFontFamilyDeclarations,
|
|
31
|
+
normalizeSystemFontPrimaryFamilies,
|
|
32
|
+
resolveFontFamilyDeclarationFamilies
|
|
33
|
+
} from "./chunk-TIZC4XKU.js";
|
|
34
34
|
import {
|
|
35
35
|
createStudioPositionSeekReapplyScript,
|
|
36
36
|
openRangeEnd,
|
|
37
37
|
parseEncoderOptions
|
|
38
38
|
} from "./chunk-LD6JONPV.js";
|
|
39
|
-
import {
|
|
40
|
-
RENDER_TEMP_DIR
|
|
41
|
-
} from "./chunk-3GVHDPEP.js";
|
|
42
39
|
import {
|
|
43
40
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
44
41
|
CaptureFailure,
|
|
@@ -69,6 +66,7 @@ import {
|
|
|
69
66
|
assertMediaPayload,
|
|
70
67
|
assertPublicHttpsUrl,
|
|
71
68
|
assertSwiftShader,
|
|
69
|
+
assetRootsRefusal,
|
|
72
70
|
audioFailureDiagnostics,
|
|
73
71
|
augmentPageNavigationTimeoutError,
|
|
74
72
|
augmentProtocolTimeoutError,
|
|
@@ -143,7 +141,9 @@ import {
|
|
|
143
141
|
isHttpUrl,
|
|
144
142
|
isInsideAssetRoots,
|
|
145
143
|
isMemoryExhaustionError,
|
|
144
|
+
isNotImagePayload,
|
|
146
145
|
isNotMediaPayload,
|
|
146
|
+
isPrivateUnderAssetRoots,
|
|
147
147
|
isProresProfile,
|
|
148
148
|
isSelfOrAncestorHidden,
|
|
149
149
|
isTransientBrowserError,
|
|
@@ -199,16 +199,27 @@ import {
|
|
|
199
199
|
shouldDisableBrowserPoolForParallelWorker,
|
|
200
200
|
spawnStreamingEncoder,
|
|
201
201
|
trackChildProcess,
|
|
202
|
+
urlInputArgs,
|
|
202
203
|
validateEngineConfigSnapshot,
|
|
203
204
|
verifyDiskDrawElementSamples,
|
|
204
205
|
videoAudioId,
|
|
205
206
|
videoStartOnMediaTimeline,
|
|
207
|
+
withFfmpegProgress,
|
|
208
|
+
withPublicOnlyProxy,
|
|
206
209
|
writeCapturedFrame,
|
|
207
210
|
writeUrlDownloadTelemetry
|
|
208
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-CC72LTIT.js";
|
|
209
212
|
import {
|
|
210
213
|
settleOnBrowserSafePort
|
|
211
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-PJQVJSMG.js";
|
|
215
|
+
import {
|
|
216
|
+
TRANSITIONS,
|
|
217
|
+
convertTransfer,
|
|
218
|
+
crossfade
|
|
219
|
+
} from "./chunk-3GXQPCJC.js";
|
|
220
|
+
import {
|
|
221
|
+
RENDER_TEMP_DIR
|
|
222
|
+
} from "./chunk-HOIEN7O4.js";
|
|
212
223
|
import {
|
|
213
224
|
PREVIEW_FOR_ANOTHER_SITE_META
|
|
214
225
|
} from "./chunk-YXX6CIHL.js";
|
|
@@ -224,19 +235,14 @@ import {
|
|
|
224
235
|
parsesAsScript,
|
|
225
236
|
prepareFlattenedInnerRoot,
|
|
226
237
|
stripSdrPngColourTags
|
|
227
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-I6OSAVHD.js";
|
|
228
239
|
import {
|
|
229
240
|
cannotHardLink,
|
|
230
241
|
collectScratchLeftovers,
|
|
231
242
|
createStagingDir,
|
|
232
243
|
removeScratch,
|
|
233
244
|
renameWithRetry
|
|
234
|
-
} from "./chunk-
|
|
235
|
-
import {
|
|
236
|
-
TRANSITIONS,
|
|
237
|
-
convertTransfer,
|
|
238
|
-
crossfade
|
|
239
|
-
} from "./chunk-3GXQPCJC.js";
|
|
245
|
+
} from "./chunk-K2WLOTTF.js";
|
|
240
246
|
import {
|
|
241
247
|
DISTRIBUTED_FPS,
|
|
242
248
|
HF_VFX_ATTR,
|
|
@@ -254,7 +260,7 @@ import {
|
|
|
254
260
|
redactTelemetryString,
|
|
255
261
|
resolveAuthoredTimingWindow,
|
|
256
262
|
toFps
|
|
257
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-QHVE6AFU.js";
|
|
258
264
|
import {
|
|
259
265
|
CAPTURE_CANVAS_SELECTOR,
|
|
260
266
|
COMPOSITION_SOURCE_URL,
|
|
@@ -291,19 +297,19 @@ import {
|
|
|
291
297
|
sourceTimeAt,
|
|
292
298
|
styleElementsFor,
|
|
293
299
|
timeAtSourceTime
|
|
294
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-NI7JVGOE.js";
|
|
295
301
|
import {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
302
|
+
isSafePath
|
|
303
|
+
} from "./chunk-MHF5F4FF.js";
|
|
304
|
+
import {
|
|
305
|
+
terminalText
|
|
306
|
+
} from "./chunk-UVZIABYZ.js";
|
|
300
307
|
import {
|
|
301
308
|
chromeMajorCeiling
|
|
302
309
|
} from "./chunk-6LU6JICP.js";
|
|
303
310
|
import {
|
|
304
|
-
lintHyperframeHtml,
|
|
305
311
|
resolveReferencedStart
|
|
306
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-HLOJSBGC.js";
|
|
307
313
|
import {
|
|
308
314
|
isUnresolvedAssetPlaceholder,
|
|
309
315
|
namesAnotherNetworkRoot,
|
|
@@ -318,7 +324,7 @@ import {
|
|
|
318
324
|
getSystemTotalMb,
|
|
319
325
|
hostCpuCount,
|
|
320
326
|
usableCpuCount
|
|
321
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-CIXP5G7Z.js";
|
|
322
328
|
import {
|
|
323
329
|
MEDIA_START_BASIS_ATTR,
|
|
324
330
|
checkSubCompositionUsability,
|
|
@@ -356,10 +362,14 @@ import {
|
|
|
356
362
|
matchHtmlBodyCssWidthFirst,
|
|
357
363
|
normalizeResolutionFlag,
|
|
358
364
|
suggestMatchingPreset
|
|
359
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-4NDSGKPO.js";
|
|
360
366
|
import {
|
|
361
367
|
parseHTML
|
|
362
368
|
} from "./chunk-GWTIFRF5.js";
|
|
369
|
+
import {
|
|
370
|
+
isPrivateFileUnder,
|
|
371
|
+
isStudioPrivatePath
|
|
372
|
+
} from "./chunk-KK5Z5XQ3.js";
|
|
363
373
|
|
|
364
374
|
// ../producer/src/services/renderOrchestrator.ts
|
|
365
375
|
import {
|
|
@@ -780,26 +790,26 @@ var LOG_LEVEL_PRIORITY = {
|
|
|
780
790
|
function createConsoleLogger(level = "info") {
|
|
781
791
|
const threshold = LOG_LEVEL_PRIORITY[level];
|
|
782
792
|
const shouldLog = (msgLevel) => LOG_LEVEL_PRIORITY[msgLevel] <= threshold;
|
|
783
|
-
const formatMeta = (meta) => meta ? ` ${JSON.stringify(meta)}` : "";
|
|
793
|
+
const formatMeta = (meta) => meta ? ` ${terminalText(JSON.stringify(meta))}` : "";
|
|
784
794
|
return {
|
|
785
795
|
error(message, meta) {
|
|
786
796
|
if (shouldLog("error")) {
|
|
787
|
-
console.error(`[ERROR] ${message}${formatMeta(meta)}`);
|
|
797
|
+
console.error(`[ERROR] ${terminalText(message)}${formatMeta(meta)}`);
|
|
788
798
|
}
|
|
789
799
|
},
|
|
790
800
|
warn(message, meta) {
|
|
791
801
|
if (shouldLog("warn")) {
|
|
792
|
-
console.warn(`[WARN] ${message}${formatMeta(meta)}`);
|
|
802
|
+
console.warn(`[WARN] ${terminalText(message)}${formatMeta(meta)}`);
|
|
793
803
|
}
|
|
794
804
|
},
|
|
795
805
|
info(message, meta) {
|
|
796
806
|
if (shouldLog("info")) {
|
|
797
|
-
console.error(`[INFO] ${message}${formatMeta(meta)}`);
|
|
807
|
+
console.error(`[INFO] ${terminalText(message)}${formatMeta(meta)}`);
|
|
798
808
|
}
|
|
799
809
|
},
|
|
800
810
|
debug(message, meta) {
|
|
801
811
|
if (shouldLog("debug")) {
|
|
802
|
-
console.error(`[DEBUG] ${message}${formatMeta(meta)}`);
|
|
812
|
+
console.error(`[DEBUG] ${terminalText(message)}${formatMeta(meta)}`);
|
|
803
813
|
}
|
|
804
814
|
},
|
|
805
815
|
isLevelEnabled(msgLevel) {
|
|
@@ -1374,7 +1384,7 @@ function createFileServer(options) {
|
|
|
1374
1384
|
const headScripts = options.headScripts ?? [getVerifiedHyperframeRuntimeSource()];
|
|
1375
1385
|
const bodyScripts = options.bodyScripts ?? [buildRenderModeScript(options.fps), HF_BRIDGE_SCRIPT];
|
|
1376
1386
|
const app = new Hono();
|
|
1377
|
-
const warnLeftOut = (line) => console.warn(`[FileServer] ${line}`);
|
|
1387
|
+
const warnLeftOut = (line) => console.warn(`[FileServer] ${terminalText(line)}`);
|
|
1378
1388
|
let listeningPort = -1;
|
|
1379
1389
|
app.use(async function loadEachFileOnlyAsItsNamedType(c, next) {
|
|
1380
1390
|
await next();
|
|
@@ -1398,7 +1408,7 @@ function createFileServer(options) {
|
|
|
1398
1408
|
}
|
|
1399
1409
|
if (!file) {
|
|
1400
1410
|
if (!/favicon\.ico$/i.test(requestPath)) {
|
|
1401
|
-
console.warn(`[FileServer] 404 Not Found: ${requestPath}`);
|
|
1411
|
+
console.warn(`[FileServer] 404 Not Found: ${terminalText(requestPath)}`);
|
|
1402
1412
|
}
|
|
1403
1413
|
return c.text("Not found", 404);
|
|
1404
1414
|
}
|
|
@@ -1670,7 +1680,7 @@ function writeCompiledArtifacts(compiled, workDir, includeSummary) {
|
|
|
1670
1680
|
for (const [srcPath, html] of compiled.subCompositions) {
|
|
1671
1681
|
const outPath = join2(compileDir, srcPath);
|
|
1672
1682
|
if (!isPathInside(outPath, compileDir)) {
|
|
1673
|
-
console.warn(`[Render] Skipping sub-composition with unsafe path: ${srcPath}`);
|
|
1683
|
+
console.warn(`[Render] Skipping sub-composition with unsafe path: ${terminalText(srcPath)}`);
|
|
1674
1684
|
continue;
|
|
1675
1685
|
}
|
|
1676
1686
|
mkdirSync(dirname2(outPath), { recursive: true });
|
|
@@ -1679,7 +1689,9 @@ function writeCompiledArtifacts(compiled, workDir, includeSummary) {
|
|
|
1679
1689
|
for (const [relativePath, absolutePath] of compiled.externalAssets) {
|
|
1680
1690
|
const outPath = resolve3(join2(compileDir, relativePath));
|
|
1681
1691
|
if (!isPathInside(outPath, compileDir)) {
|
|
1682
|
-
console.warn(
|
|
1692
|
+
console.warn(
|
|
1693
|
+
`[Render] Skipping external asset with unsafe path: ${terminalText(relativePath)}`
|
|
1694
|
+
);
|
|
1683
1695
|
continue;
|
|
1684
1696
|
}
|
|
1685
1697
|
mkdirSync(dirname2(outPath), { recursive: true });
|
|
@@ -1786,6 +1798,30 @@ function reportEncodeProgress(job, done, total, onProgress, from) {
|
|
|
1786
1798
|
"encoding"
|
|
1787
1799
|
);
|
|
1788
1800
|
}
|
|
1801
|
+
var AUDIO_STAGE = "Processing audio tracks";
|
|
1802
|
+
var AUDIO_WAIT_REPORT_MS = 5e3;
|
|
1803
|
+
function audioWaitReporter(job, onProgress) {
|
|
1804
|
+
let waiting2 = false;
|
|
1805
|
+
let reportedAt = -Infinity;
|
|
1806
|
+
return {
|
|
1807
|
+
progressed() {
|
|
1808
|
+
const now = Date.now();
|
|
1809
|
+
if (!waiting2 || now - reportedAt < AUDIO_WAIT_REPORT_MS) return;
|
|
1810
|
+
reportedAt = now;
|
|
1811
|
+
updateJobStatus(job, job.status, AUDIO_STAGE, job.progress, onProgress, {
|
|
1812
|
+
code: "process_audio"
|
|
1813
|
+
});
|
|
1814
|
+
},
|
|
1815
|
+
async wait(audio) {
|
|
1816
|
+
waiting2 = true;
|
|
1817
|
+
try {
|
|
1818
|
+
return await audio;
|
|
1819
|
+
} finally {
|
|
1820
|
+
waiting2 = false;
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1789
1825
|
var lastAssembleReportAt = /* @__PURE__ */ new WeakMap();
|
|
1790
1826
|
function reportAssembleProgress(job, done, total, onProgress) {
|
|
1791
1827
|
if (total <= 0) return;
|
|
@@ -3782,7 +3818,15 @@ function hdrWindowFrames(frameSize, windowBytes) {
|
|
|
3782
3818
|
return Math.max(8, Math.floor(windowBytes / frameSize));
|
|
3783
3819
|
}
|
|
3784
3820
|
async function probeFirstTick(srcPath, mediaStart, fps, runFfmpegImpl, abortSignal) {
|
|
3785
|
-
const args = [
|
|
3821
|
+
const args = [
|
|
3822
|
+
...urlInputArgs(srcPath),
|
|
3823
|
+
"-ss",
|
|
3824
|
+
String(mediaStart),
|
|
3825
|
+
"-i",
|
|
3826
|
+
srcPath,
|
|
3827
|
+
"-frames:v",
|
|
3828
|
+
"1"
|
|
3829
|
+
];
|
|
3786
3830
|
const result = await runFfmpegImpl([...args, ...["-vf", "showinfo", "-f", "null", "-"]], {
|
|
3787
3831
|
signal: abortSignal
|
|
3788
3832
|
});
|
|
@@ -3856,6 +3900,7 @@ async function extractHdrVideoFrames(args) {
|
|
|
3856
3900
|
// Decode before seeking for the one-frame path. Input-side seeking can
|
|
3857
3901
|
// return zero frames for valid unindexed/negative-base transports.
|
|
3858
3902
|
[
|
|
3903
|
+
...urlInputArgs(srcPath),
|
|
3859
3904
|
"-i",
|
|
3860
3905
|
srcPath,
|
|
3861
3906
|
"-ss",
|
|
@@ -3940,6 +3985,7 @@ function hdrWindowFfmpegArgs(a) {
|
|
|
3940
3985
|
const filters = [`fps=${a.fpsArg}:start_time=${(a.firstTick / a.fps).toFixed(6)}`, a.scale];
|
|
3941
3986
|
if (trim > 0) filters.push(`trim=start_frame=${trim}`);
|
|
3942
3987
|
return [
|
|
3988
|
+
...urlInputArgs(a.srcPath),
|
|
3943
3989
|
...["-ss", (a.ffmpegSeek + seekFrame / a.fps).toFixed(6), "-i", a.srcPath],
|
|
3944
3990
|
...["-vf", filters.join(","), "-frames:v", String(a.frames), "-fps_mode", "passthrough"]
|
|
3945
3991
|
];
|
|
@@ -7111,6 +7157,10 @@ function dropMediaOutsideProject(input) {
|
|
|
7111
7157
|
const staysInside = ({ id, src }) => {
|
|
7112
7158
|
if (!src || isHttpUrl(src)) return true;
|
|
7113
7159
|
const path = resolveProjectRelativeSrc(src, projectDir, compiledDir);
|
|
7160
|
+
if (isPrivateUnderAssetRoots(path, roots)) {
|
|
7161
|
+
log.warn(`[Render] Media "${id}" source is missing: it is a private project file`, { src });
|
|
7162
|
+
return false;
|
|
7163
|
+
}
|
|
7114
7164
|
if (isInsideAssetRoots(path, roots)) return true;
|
|
7115
7165
|
if (input.allowOutsideProjectAssets) {
|
|
7116
7166
|
const refusal = outsideAssetRefusal(projectDir, path);
|
|
@@ -7127,6 +7177,8 @@ function dropMediaOutsideProject(input) {
|
|
|
7127
7177
|
async function notMediaReferences(path, references) {
|
|
7128
7178
|
const videos = references.filter((ref) => ref.expected === "video");
|
|
7129
7179
|
if (videos.length > 0 && await isNotMediaPayload(path)) return videos;
|
|
7180
|
+
const images = references.filter((ref) => ref.expected === "image");
|
|
7181
|
+
if (images.length > 0 && await isNotImagePayload(path)) return images;
|
|
7130
7182
|
return await playlistLeavesItsFolder(path) ? references : [];
|
|
7131
7183
|
}
|
|
7132
7184
|
async function preflightCompositionAssetMediaTypes(input) {
|
|
@@ -7415,7 +7467,7 @@ function detectShaderTransitionUsage(html) {
|
|
|
7415
7467
|
}
|
|
7416
7468
|
return false;
|
|
7417
7469
|
}
|
|
7418
|
-
async function resolveMediaDuration(src, mediaStart, playbackRate, baseDir, downloadDir, tagName, elementIdentity, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7470
|
+
async function resolveMediaDuration(src, mediaStart, playbackRate, projectDir, baseDir, downloadDir, tagName, elementIdentity, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7419
7471
|
let filePath = src;
|
|
7420
7472
|
if (isHttpUrl(src)) {
|
|
7421
7473
|
const remoteDir = join16(downloadDir, REMOTE_MEDIA_SUBDIR);
|
|
@@ -7430,7 +7482,9 @@ async function resolveMediaDuration(src, mediaStart, playbackRate, baseDir, down
|
|
|
7430
7482
|
} else {
|
|
7431
7483
|
filePath = decodedUrlPath(src);
|
|
7432
7484
|
if (!filePath.startsWith("/")) filePath = join16(baseDir, filePath);
|
|
7433
|
-
if (escapesAssetRoot(filePath, assetRoot)
|
|
7485
|
+
if (escapesAssetRoot(filePath, assetRoot) || isPrivateUnderAssetRoots(filePath, [projectDir, downloadDir])) {
|
|
7486
|
+
return { duration: null, resolvedPath: filePath };
|
|
7487
|
+
}
|
|
7434
7488
|
filePath = urlByAbsentLocalPath?.get(filePath) ?? filePath;
|
|
7435
7489
|
if (!isHttpUrl(filePath) && namesAnotherNetworkRoot(baseDir, filePath)) {
|
|
7436
7490
|
return { duration: null, resolvedPath: filePath };
|
|
@@ -7506,7 +7560,7 @@ function markInferredVariableMediaDurations(html, unresolvedMedia) {
|
|
|
7506
7560
|
}
|
|
7507
7561
|
return changed ? document2.toString() : html;
|
|
7508
7562
|
}
|
|
7509
|
-
async function compileHtmlFile(html, baseDir, downloadDir, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7563
|
+
async function compileHtmlFile(html, projectDir, baseDir, downloadDir, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7510
7564
|
const { html: staticCompiled, unresolved } = compileTimingAttrs(html);
|
|
7511
7565
|
const mediaUnresolved = unresolved.filter(
|
|
7512
7566
|
(el) => (el.tagName === "video" || el.tagName === "audio") && el.src
|
|
@@ -7518,6 +7572,7 @@ async function compileHtmlFile(html, baseDir, downloadDir, log, urlByAbsentLocal
|
|
|
7518
7572
|
el.src,
|
|
7519
7573
|
el.mediaStart,
|
|
7520
7574
|
el.playbackRate,
|
|
7575
|
+
projectDir,
|
|
7521
7576
|
baseDir,
|
|
7522
7577
|
downloadDir,
|
|
7523
7578
|
el.tagName,
|
|
@@ -7542,6 +7597,7 @@ async function compileHtmlFile(html, baseDir, downloadDir, log, urlByAbsentLocal
|
|
|
7542
7597
|
el.src,
|
|
7543
7598
|
el.mediaStart,
|
|
7544
7599
|
el.playbackRate,
|
|
7600
|
+
projectDir,
|
|
7545
7601
|
baseDir,
|
|
7546
7602
|
downloadDir,
|
|
7547
7603
|
el.tagName,
|
|
@@ -7597,6 +7653,7 @@ async function parseSubCompositions(html, projectDir, downloadDir, visited = /*
|
|
|
7597
7653
|
workItems.map(async (item) => {
|
|
7598
7654
|
const { html: compiledSub } = await compileHtmlFile(
|
|
7599
7655
|
rewriteUnresolvableGsapToCdn(item.rawSubHtml, projectDir, item.srcPath),
|
|
7656
|
+
projectDir,
|
|
7600
7657
|
dirname7(item.filePath),
|
|
7601
7658
|
downloadDir,
|
|
7602
7659
|
void 0,
|
|
@@ -7758,7 +7815,7 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
7758
7815
|
{},
|
|
7759
7816
|
variableOverrides
|
|
7760
7817
|
);
|
|
7761
|
-
return emitted ? document2.toString() : html;
|
|
7818
|
+
return { html: emitted ? document2.toString() : html, variablesByComp: {} };
|
|
7762
7819
|
}
|
|
7763
7820
|
const hostIdentityByElement = new ProducerHostIdentityMap(
|
|
7764
7821
|
document2,
|
|
@@ -7799,7 +7856,9 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
7799
7856
|
flattenInnerRoot: prepareFlattenedInnerRoot,
|
|
7800
7857
|
onMissingComposition: (srcPath, reason) => {
|
|
7801
7858
|
console.warn(
|
|
7802
|
-
|
|
7859
|
+
terminalText(
|
|
7860
|
+
`[Compiler] Skipping sub-composition "${srcPath}": ${reason ?? "the file is missing or empty"}.`
|
|
7861
|
+
)
|
|
7803
7862
|
);
|
|
7804
7863
|
}
|
|
7805
7864
|
}
|
|
@@ -7870,7 +7929,7 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
7870
7929
|
variableOverrides
|
|
7871
7930
|
);
|
|
7872
7931
|
assignMediaRenderIds(document2);
|
|
7873
|
-
return document2.toString();
|
|
7932
|
+
return { html: document2.toString(), variablesByComp: result.variablesByComp };
|
|
7874
7933
|
}
|
|
7875
7934
|
function ensureFullDocument(html) {
|
|
7876
7935
|
const trimmed = html.trim();
|
|
@@ -8311,7 +8370,7 @@ async function readLocalFont(absPath) {
|
|
|
8311
8370
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
8312
8371
|
}
|
|
8313
8372
|
async function embedLocalFontFaces(html, projectDir, assetRoot, log = defaultLogger) {
|
|
8314
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
8373
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-VLIVGXUQ.js");
|
|
8315
8374
|
let result = html;
|
|
8316
8375
|
const embeddedPaths = /* @__PURE__ */ new Set();
|
|
8317
8376
|
const dataUriByAbsolutePath = /* @__PURE__ */ new Map();
|
|
@@ -8328,6 +8387,7 @@ async function embedLocalFontFaces(html, projectDir, assetRoot, log = defaultLog
|
|
|
8328
8387
|
embeddedPaths.add(localPath);
|
|
8329
8388
|
continue;
|
|
8330
8389
|
}
|
|
8390
|
+
if (isPrivateCompositionFile(projectDir, absPath)) continue;
|
|
8331
8391
|
const ext = absPath.match(/\.(woff2?|ttf|otf|ttc)$/i)?.[1]?.toLowerCase() ?? "ttf";
|
|
8332
8392
|
try {
|
|
8333
8393
|
if (fileBackedAbsolutePaths.has(absPath)) {
|
|
@@ -8449,6 +8509,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8449
8509
|
const { html: compiledHtml, unresolvedCompositions } = await compileHtmlFile(
|
|
8450
8510
|
rawHtml,
|
|
8451
8511
|
projectDir,
|
|
8512
|
+
projectDir,
|
|
8452
8513
|
downloadDir,
|
|
8453
8514
|
options.log,
|
|
8454
8515
|
options.urlByAbsentLocalPath,
|
|
@@ -8465,7 +8526,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8465
8526
|
assetRoot
|
|
8466
8527
|
);
|
|
8467
8528
|
const fullHtml = ensureFullDocument(compiledHtml);
|
|
8468
|
-
const inlinedHtml = inlineSubCompositions2(
|
|
8529
|
+
const { html: inlinedHtml, variablesByComp } = inlineSubCompositions2(
|
|
8469
8530
|
fullHtml,
|
|
8470
8531
|
subCompositions,
|
|
8471
8532
|
projectDir,
|
|
@@ -8581,7 +8642,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8581
8642
|
for (const video of videos) {
|
|
8582
8643
|
if (isHttpUrl(video.src)) continue;
|
|
8583
8644
|
const videoPath = resolve5(projectDir, video.src);
|
|
8584
|
-
if (advised.has(videoPath) || namesAnotherNetworkRoot(projectDir, videoPath) || !existsSync10(videoPath) || escapesAssetRoot(videoPath, assetRoot))
|
|
8645
|
+
if (advised.has(videoPath) || namesAnotherNetworkRoot(projectDir, videoPath) || !existsSync10(videoPath) || escapesAssetRoot(videoPath, assetRoot) || isPrivateUnderAssetRoots(videoPath, [projectDir, downloadDir]))
|
|
8585
8646
|
continue;
|
|
8586
8647
|
advised.add(videoPath);
|
|
8587
8648
|
const reencode = `ffmpeg -i "${video.src}" -c:v libx264 -r 30 -g 30 -keyint_min 30 -movflags +faststart -c:a copy output.mp4`;
|
|
@@ -8618,6 +8679,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8618
8679
|
gradedCanvas,
|
|
8619
8680
|
...masterFxChain ? { masterFxChain } : {},
|
|
8620
8681
|
unresolvedCompositions,
|
|
8682
|
+
variablesByComp,
|
|
8621
8683
|
externalAssets,
|
|
8622
8684
|
width,
|
|
8623
8685
|
height,
|
|
@@ -9235,15 +9297,22 @@ function hasAutoStartVideos(html) {
|
|
|
9235
9297
|
const { document: document2 } = parseHTML(html);
|
|
9236
9298
|
return document2.querySelector("video[data-hf-auto-start]") !== null;
|
|
9237
9299
|
}
|
|
9238
|
-
function
|
|
9300
|
+
function scopedVariablesFor(element, variablesByComp) {
|
|
9301
|
+
const scope = element.closest("[data-composition-id]");
|
|
9302
|
+
const compId = scope?.getAttribute("data-composition-id")?.trim() ?? "";
|
|
9303
|
+
return compId && Object.hasOwn(variablesByComp, compId) ? variablesByComp[compId] : void 0;
|
|
9304
|
+
}
|
|
9305
|
+
function variableHasValue(element, variableId, variables, variablesByComp) {
|
|
9239
9306
|
if (variables && Object.hasOwn(variables, variableId)) return true;
|
|
9307
|
+
const scoped = scopedVariablesFor(element, variablesByComp);
|
|
9308
|
+
if (scoped) return Object.hasOwn(scoped, variableId);
|
|
9240
9309
|
for (let scope = element.parentElement; scope; scope = scope.parentElement) {
|
|
9241
9310
|
if (Object.hasOwn(parseHostVariableValues(scope), variableId)) return true;
|
|
9242
9311
|
if (Object.hasOwn(readDeclaredDefaults(scope), variableId)) return true;
|
|
9243
9312
|
}
|
|
9244
9313
|
return Object.hasOwn(readDeclaredDefaults(element.ownerDocument.documentElement), variableId);
|
|
9245
9314
|
}
|
|
9246
|
-
function hasVariableBoundMedia(html, variables) {
|
|
9315
|
+
function hasVariableBoundMedia(html, variables, variablesByComp = {}) {
|
|
9247
9316
|
const { document: document2 } = parseHTML(html);
|
|
9248
9317
|
return Array.from(
|
|
9249
9318
|
document2.querySelectorAll(
|
|
@@ -9251,7 +9320,7 @@ function hasVariableBoundMedia(html, variables) {
|
|
|
9251
9320
|
)
|
|
9252
9321
|
).some((element) => {
|
|
9253
9322
|
const variableId = element.getAttribute("data-var-src")?.trim();
|
|
9254
|
-
return Boolean(variableId && variableHasValue(element, variableId, variables));
|
|
9323
|
+
return Boolean(variableId && variableHasValue(element, variableId, variables, variablesByComp));
|
|
9255
9324
|
});
|
|
9256
9325
|
}
|
|
9257
9326
|
function authoredMediaStarts(html) {
|
|
@@ -9366,7 +9435,11 @@ async function runProbeStage(input) {
|
|
|
9366
9435
|
compiled.html,
|
|
9367
9436
|
composition.audios.length
|
|
9368
9437
|
);
|
|
9369
|
-
const hasVariableMedia = hasVariableBoundMedia(
|
|
9438
|
+
const hasVariableMedia = hasVariableBoundMedia(
|
|
9439
|
+
compiled.html,
|
|
9440
|
+
job.config.variables,
|
|
9441
|
+
compiled.variablesByComp
|
|
9442
|
+
);
|
|
9370
9443
|
const hasInsertedMedia = hasRuntimeMediaChanges(compiled.html);
|
|
9371
9444
|
const needsBrowser = cfg.videoLayerPassthrough || input.measuresShownBoxes === true || probeRequiresBrowser({
|
|
9372
9445
|
durationSeconds: composition.duration,
|
|
@@ -9820,7 +9893,7 @@ async function runProbeStage(input) {
|
|
|
9820
9893
|
failures: failedRequests.slice(0, 10)
|
|
9821
9894
|
});
|
|
9822
9895
|
for (const line of failedRequests.slice(0, 5)) {
|
|
9823
|
-
console.warn(`[Render] Asset load failure: ${line}`);
|
|
9896
|
+
console.warn(`[Render] Asset load failure: ${terminalText(line)}`);
|
|
9824
9897
|
}
|
|
9825
9898
|
}
|
|
9826
9899
|
}
|
|
@@ -10338,7 +10411,7 @@ function isPublicHttpsUrl(url) {
|
|
|
10338
10411
|
}
|
|
10339
10412
|
}
|
|
10340
10413
|
function opensLocally(path, assetRoots) {
|
|
10341
|
-
return existsSync12(path) && (!assetRoots ||
|
|
10414
|
+
return existsSync12(path) && (!assetRoots || assetRootsRefusal(path, assetRoots) === null);
|
|
10342
10415
|
}
|
|
10343
10416
|
function localProbeSource(src, input) {
|
|
10344
10417
|
const path = resolveProjectRelativeSrc(src, input.projectDir, input.compiledDir);
|
|
@@ -10910,7 +10983,17 @@ async function runFfprobeJson(args, signal) {
|
|
|
10910
10983
|
if (!args.includes("--")) {
|
|
10911
10984
|
throw new Error('[audioPadTrim] ffprobe args must terminate options with "--".');
|
|
10912
10985
|
}
|
|
10986
|
+
const proxying = withPublicOnlyProxy(args, [args.indexOf("--") + 1]);
|
|
10987
|
+
const routed = proxying && await proxying;
|
|
10988
|
+
try {
|
|
10989
|
+
return await spawnFfprobeJson(routed?.args ?? args, routed?.env, signal);
|
|
10990
|
+
} finally {
|
|
10991
|
+
await routed?.close();
|
|
10992
|
+
}
|
|
10993
|
+
}
|
|
10994
|
+
async function spawnFfprobeJson(args, env, signal) {
|
|
10913
10995
|
const proc = spawn(getFfprobeBinary(), args, {
|
|
10996
|
+
...env && { env },
|
|
10914
10997
|
stdio: ["ignore", "pipe", "pipe"],
|
|
10915
10998
|
windowsHide: true
|
|
10916
10999
|
});
|
|
@@ -11026,7 +11109,8 @@ function assertAudioNotInterrupted(failures) {
|
|
|
11026
11109
|
}
|
|
11027
11110
|
function runAudioStage(input) {
|
|
11028
11111
|
return collectScratchLeftovers(
|
|
11029
|
-
() =>
|
|
11112
|
+
() => withFfmpegProgress(input.onFfmpegProgress ?? (() => {
|
|
11113
|
+
}), () => runAudioStageScoped(input)),
|
|
11030
11114
|
(left) => {
|
|
11031
11115
|
if (left.length > 0) input.log?.warn("[audio] scratch left behind", { count: left.length });
|
|
11032
11116
|
}
|
|
@@ -14477,9 +14561,10 @@ async function executeRenderPipeline(input) {
|
|
|
14477
14561
|
nativeHdrVideoCount: nativeHdrVideoIds.size,
|
|
14478
14562
|
nativeHdrImageCount: nativeHdrImageIds.size
|
|
14479
14563
|
});
|
|
14480
|
-
updateJobStatus(job, "preprocessing",
|
|
14564
|
+
updateJobStatus(job, "preprocessing", AUDIO_STAGE, 20, onProgress, {
|
|
14481
14565
|
code: "process_audio"
|
|
14482
14566
|
});
|
|
14567
|
+
const audioWait = audioWaitReporter(job, onProgress);
|
|
14483
14568
|
const audioStage = observeRenderStage(
|
|
14484
14569
|
observability,
|
|
14485
14570
|
"audio_process",
|
|
@@ -14498,7 +14583,8 @@ async function executeRenderPipeline(input) {
|
|
|
14498
14583
|
abortSignal: executionSignal,
|
|
14499
14584
|
assertNotAborted,
|
|
14500
14585
|
log,
|
|
14501
|
-
keepDeliverySource: true
|
|
14586
|
+
keepDeliverySource: true,
|
|
14587
|
+
onFfmpegProgress: audioWait.progressed
|
|
14502
14588
|
})
|
|
14503
14589
|
);
|
|
14504
14590
|
pendingAudio = audioStage.catch(() => void 0);
|
|
@@ -15308,7 +15394,7 @@ async function executeRenderPipeline(input) {
|
|
|
15308
15394
|
}
|
|
15309
15395
|
const effectiveQuality = job.config.crf ?? preset.quality;
|
|
15310
15396
|
const effectiveBitrate = job.config.crf != null ? void 0 : job.config.videoBitrate;
|
|
15311
|
-
const audioResult = await audioStage;
|
|
15397
|
+
const audioResult = await audioWait.wait(audioStage);
|
|
15312
15398
|
const { audioOutputPath, deliverySourcePath, hasAudio } = audioResult;
|
|
15313
15399
|
perfStages.audioProcessMs = audioResult.audioProcessMs;
|
|
15314
15400
|
recordLimiterAttenuation(job, audioResult.audioLoweredDb);
|
|
@@ -18212,9 +18298,12 @@ function resolveDistributedEngineConfig(config) {
|
|
|
18212
18298
|
forceScreenshotExplicitlyOptedOut: true
|
|
18213
18299
|
};
|
|
18214
18300
|
}
|
|
18301
|
+
function leavesRoot(rel) {
|
|
18302
|
+
return rel === ".." || rel.startsWith(`..${sep3}`) || isAbsolute2(rel);
|
|
18303
|
+
}
|
|
18215
18304
|
function pathInside(root, path) {
|
|
18216
18305
|
const rel = relative6(root, path);
|
|
18217
|
-
return rel === "" ||
|
|
18306
|
+
return rel === "" || leavesRoot(rel) ? null : rel;
|
|
18218
18307
|
}
|
|
18219
18308
|
function stableSourcePath(roots, srcPath) {
|
|
18220
18309
|
for (const [root, prefix] of roots) {
|
|
@@ -18308,7 +18397,8 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18308
18397
|
dereference: true,
|
|
18309
18398
|
filter: (src) => {
|
|
18310
18399
|
const rel = relative6(projectDir, src);
|
|
18311
|
-
if (rel === ""
|
|
18400
|
+
if (rel === "") return true;
|
|
18401
|
+
if (leavesRoot(rel)) return false;
|
|
18312
18402
|
if (job.config.allowOutsideProjectAssets) {
|
|
18313
18403
|
if (refusesOutsideLink(projectDir, src, (line) => log.warn(`[Plan] ${line}`))) return false;
|
|
18314
18404
|
} else if (!isSafePath(projectDir, src)) return false;
|
|
@@ -18417,7 +18507,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18417
18507
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
18418
18508
|
if (probeResult.probeSession) {
|
|
18419
18509
|
try {
|
|
18420
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
18510
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-B646B52O.js");
|
|
18421
18511
|
await closeCaptureSession2(probeResult.probeSession);
|
|
18422
18512
|
} catch (err) {
|
|
18423
18513
|
log.warn("[plan] probe session close failed", {
|
|
@@ -21017,7 +21107,7 @@ import {
|
|
|
21017
21107
|
rmSync as rmSync17,
|
|
21018
21108
|
createReadStream as createReadStream5
|
|
21019
21109
|
} from "fs";
|
|
21020
|
-
import { resolve as resolve10, dirname as
|
|
21110
|
+
import { resolve as resolve10, dirname as dirname19, join as join46 } from "path";
|
|
21021
21111
|
import { tmpdir as tmpdir5 } from "os";
|
|
21022
21112
|
import { parseArgs } from "util";
|
|
21023
21113
|
import { isIP } from "net";
|
|
@@ -21036,7 +21126,9 @@ import {
|
|
|
21036
21126
|
closeSync as closeSync6,
|
|
21037
21127
|
constants as constants3
|
|
21038
21128
|
} from "fs";
|
|
21039
|
-
import { resolve as resolve9, join as join44, relative as relative8, isAbsolute as isAbsolute4, sep as sep5 } from "path";
|
|
21129
|
+
import { resolve as resolve9, join as join44, relative as relative8, isAbsolute as isAbsolute4, sep as sep5, dirname as dirname17 } from "path";
|
|
21130
|
+
import { fileURLToPath as fileURLToPath5 } from "url";
|
|
21131
|
+
import { Worker as Worker2 } from "worker_threads";
|
|
21040
21132
|
function isStringRecord(value) {
|
|
21041
21133
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
21042
21134
|
return false;
|
|
@@ -21142,17 +21234,111 @@ function prepareHyperframeLintBody(body, isAllowedEntry) {
|
|
|
21142
21234
|
}
|
|
21143
21235
|
return { error: "Missing lint source: provide projectDir, files, or html" };
|
|
21144
21236
|
}
|
|
21145
|
-
|
|
21146
|
-
|
|
21147
|
-
|
|
21148
|
-
|
|
21237
|
+
var LINT_HEAP_MB = 512;
|
|
21238
|
+
var LINT_TIMEOUT_MS = 15e3;
|
|
21239
|
+
var LINT_MAX_WORKERS = 2;
|
|
21240
|
+
var waiting = [];
|
|
21241
|
+
var running = 0;
|
|
21242
|
+
function takeLintSlot(limit, waitMs) {
|
|
21243
|
+
if (running < limit) {
|
|
21244
|
+
running++;
|
|
21245
|
+
return Promise.resolve(true);
|
|
21246
|
+
}
|
|
21247
|
+
return new Promise((resolve11) => {
|
|
21248
|
+
const entry = () => {
|
|
21249
|
+
clearTimeout(timer);
|
|
21250
|
+
running++;
|
|
21251
|
+
resolve11(true);
|
|
21252
|
+
};
|
|
21253
|
+
const timer = setTimeout(
|
|
21254
|
+
() => {
|
|
21255
|
+
waiting.splice(waiting.indexOf(entry), 1);
|
|
21256
|
+
resolve11(false);
|
|
21257
|
+
},
|
|
21258
|
+
Math.max(0, waitMs)
|
|
21259
|
+
);
|
|
21260
|
+
waiting.push(entry);
|
|
21261
|
+
});
|
|
21262
|
+
}
|
|
21263
|
+
function freeLintSlot() {
|
|
21264
|
+
running--;
|
|
21265
|
+
waiting.shift()?.();
|
|
21266
|
+
}
|
|
21267
|
+
function resolveLintWorkerEntry() {
|
|
21268
|
+
const here = dirname17(fileURLToPath5(import.meta.url));
|
|
21269
|
+
for (const name of ["hyperframeLintWorker.js", "hyperframeLintWorker.ts"]) {
|
|
21270
|
+
const candidate = join44(here, name);
|
|
21271
|
+
if (existsSync29(candidate)) return candidate;
|
|
21272
|
+
}
|
|
21273
|
+
return void 0;
|
|
21274
|
+
}
|
|
21275
|
+
function abortedLintResult(filePath, afterMs) {
|
|
21276
|
+
return {
|
|
21277
|
+
ok: false,
|
|
21278
|
+
errorCount: 1,
|
|
21279
|
+
warningCount: 0,
|
|
21280
|
+
infoCount: 0,
|
|
21281
|
+
findings: [
|
|
21282
|
+
{
|
|
21283
|
+
code: "lint_aborted",
|
|
21284
|
+
severity: "error",
|
|
21285
|
+
message: "This composition's script could not be checked: linting it ran too long or out of memory, so it was stopped. A very large or deeply nested script is the usual cause.",
|
|
21286
|
+
file: filePath
|
|
21287
|
+
}
|
|
21288
|
+
],
|
|
21289
|
+
timings: { totalMs: afterMs, groupMs: {}, slowestRule: "", slowestRuleMs: 0 }
|
|
21290
|
+
};
|
|
21291
|
+
}
|
|
21292
|
+
async function runHyperframeLint(prepared, options = {}) {
|
|
21293
|
+
const began = performance.now();
|
|
21294
|
+
const aborted = () => abortedLintResult(prepared.entryFile, Math.round(performance.now() - began));
|
|
21295
|
+
const entry = options.workerEntry ?? resolveLintWorkerEntry();
|
|
21296
|
+
if (!entry) return aborted();
|
|
21297
|
+
const timeoutMs = options.timeoutMs ?? LINT_TIMEOUT_MS;
|
|
21298
|
+
const gotSlot = await takeLintSlot(options.maxWorkers ?? LINT_MAX_WORKERS, timeoutMs);
|
|
21299
|
+
if (!gotSlot) return aborted();
|
|
21300
|
+
const remainingMs = Math.max(0, timeoutMs - (performance.now() - began));
|
|
21301
|
+
return new Promise((resolvePromise, reject) => {
|
|
21302
|
+
let worker;
|
|
21303
|
+
try {
|
|
21304
|
+
worker = new Worker2(entry, {
|
|
21305
|
+
workerData: {
|
|
21306
|
+
html: prepared.html,
|
|
21307
|
+
opts: { filePath: prepared.entryFile, compSrcPath: prepared.entryFile }
|
|
21308
|
+
},
|
|
21309
|
+
resourceLimits: { maxOldGenerationSizeMb: options.heapMb ?? LINT_HEAP_MB },
|
|
21310
|
+
stdout: false,
|
|
21311
|
+
stderr: false
|
|
21312
|
+
});
|
|
21313
|
+
} catch {
|
|
21314
|
+
freeLintSlot();
|
|
21315
|
+
resolvePromise(aborted());
|
|
21316
|
+
return;
|
|
21317
|
+
}
|
|
21318
|
+
let settled = false;
|
|
21319
|
+
const settle = (finish) => {
|
|
21320
|
+
if (settled) return;
|
|
21321
|
+
settled = true;
|
|
21322
|
+
clearTimeout(timer);
|
|
21323
|
+
void worker.terminate().finally(freeLintSlot);
|
|
21324
|
+
finish();
|
|
21325
|
+
};
|
|
21326
|
+
const timer = setTimeout(() => settle(() => resolvePromise(aborted())), remainingMs);
|
|
21327
|
+
worker.on(
|
|
21328
|
+
"message",
|
|
21329
|
+
(message) => settle(
|
|
21330
|
+
() => message.result ? resolvePromise(message.result) : reject(new Error(message.error))
|
|
21331
|
+
)
|
|
21332
|
+
);
|
|
21333
|
+
worker.on("error", () => settle(() => resolvePromise(aborted())));
|
|
21334
|
+
worker.on("exit", () => settle(() => resolvePromise(aborted())));
|
|
21149
21335
|
});
|
|
21150
21336
|
}
|
|
21151
21337
|
|
|
21152
21338
|
// ../producer/src/services/healthWorker.ts
|
|
21153
|
-
import { Worker as
|
|
21154
|
-
import { fileURLToPath as
|
|
21155
|
-
import { dirname as
|
|
21339
|
+
import { Worker as Worker3 } from "worker_threads";
|
|
21340
|
+
import { fileURLToPath as fileURLToPath6 } from "url";
|
|
21341
|
+
import { dirname as dirname18, join as join45 } from "path";
|
|
21156
21342
|
import { existsSync as existsSync30 } from "fs";
|
|
21157
21343
|
var DEFAULT_HEALTH_PORT = 9848;
|
|
21158
21344
|
async function startHealthWorker(options = {}) {
|
|
@@ -21164,7 +21350,7 @@ async function startHealthWorker(options = {}) {
|
|
|
21164
21350
|
"[healthWorker] could not resolve worker entry. Pass options.workerEntry or ensure healthWorkerThread.{js,ts} is co-located."
|
|
21165
21351
|
);
|
|
21166
21352
|
}
|
|
21167
|
-
const worker = new
|
|
21353
|
+
const worker = new Worker3(entry, {
|
|
21168
21354
|
workerData: { port },
|
|
21169
21355
|
// Keep stdio inherited so the worker's console logs land in the pod logs
|
|
21170
21356
|
// alongside the main thread's.
|
|
@@ -21227,7 +21413,7 @@ function defaultLogger2() {
|
|
|
21227
21413
|
};
|
|
21228
21414
|
}
|
|
21229
21415
|
function resolveWorkerEntry2() {
|
|
21230
|
-
const here =
|
|
21416
|
+
const here = dirname18(fileURLToPath6(import.meta.url));
|
|
21231
21417
|
const candidates = [join45(here, "healthWorkerThread.js"), join45(here, "healthWorkerThread.ts")];
|
|
21232
21418
|
for (const candidate of candidates) {
|
|
21233
21419
|
if (existsSync30(candidate)) return candidate;
|
|
@@ -21391,7 +21577,7 @@ function resolvePreparedRenderOutput(prepared, rendersDir, log, confineOutput) {
|
|
|
21391
21577
|
throw new Error("outputPath must be inside the renders directory");
|
|
21392
21578
|
}
|
|
21393
21579
|
}
|
|
21394
|
-
const outputDir =
|
|
21580
|
+
const outputDir = dirname19(absoluteOutputPath);
|
|
21395
21581
|
if (!existsSync31(outputDir)) mkdirSync19(outputDir, { recursive: true });
|
|
21396
21582
|
return { input, cleanupProjectDir, absoluteOutputPath };
|
|
21397
21583
|
}
|
|
@@ -22036,7 +22222,7 @@ function startServer(options = {}) {
|
|
|
22036
22222
|
});
|
|
22037
22223
|
async function shutdown(signal) {
|
|
22038
22224
|
log.info(`Received ${signal}, shutting down`);
|
|
22039
|
-
const { drainBrowserPool } = await import("./src-
|
|
22225
|
+
const { drainBrowserPool } = await import("./src-B646B52O.js");
|
|
22040
22226
|
await drainBrowserPool().catch(() => {
|
|
22041
22227
|
});
|
|
22042
22228
|
const handle = await Promise.race([
|
|
@@ -22087,7 +22273,7 @@ import {
|
|
|
22087
22273
|
statSync as statSync12,
|
|
22088
22274
|
writeFileSync as writeFileSync14
|
|
22089
22275
|
} from "fs";
|
|
22090
|
-
import { basename as basename7, dirname as
|
|
22276
|
+
import { basename as basename7, dirname as dirname20, join as join47 } from "path";
|
|
22091
22277
|
function cfrRateControlArgs(locked) {
|
|
22092
22278
|
const preset = getEncoderPreset(locked.quality ?? "standard", "mp4");
|
|
22093
22279
|
if (locked.crf == null && locked.bitrate) {
|
|
@@ -22120,10 +22306,10 @@ async function assemble(planDir, chunkOutputs, audioPath, outputPath, options) {
|
|
|
22120
22306
|
}
|
|
22121
22307
|
const format = plan2.dimensions.format;
|
|
22122
22308
|
const cfrEncoder = cfr ? readCfrEncoder(planDir, format) : null;
|
|
22123
|
-
if (!existsSync32(
|
|
22124
|
-
mkdirSync20(
|
|
22309
|
+
if (!existsSync32(dirname20(outputPath))) {
|
|
22310
|
+
mkdirSync20(dirname20(outputPath), { recursive: true });
|
|
22125
22311
|
}
|
|
22126
|
-
const workDir = createStagingDir(
|
|
22312
|
+
const workDir = createStagingDir(dirname20(outputPath), `${basename7(outputPath)}.assemble-work-`);
|
|
22127
22313
|
const fps = { num: plan2.dimensions.fpsNum, den: plan2.dimensions.fpsDen };
|
|
22128
22314
|
const stageMs = {};
|
|
22129
22315
|
const ctx = {
|