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
|
@@ -6,69 +6,63 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shareError
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
ReviewFailed,
|
|
12
|
-
fileSha256Base64,
|
|
13
|
-
latestShareRender,
|
|
14
|
-
shareContentFingerprint,
|
|
15
|
-
shareSite,
|
|
16
|
-
trackShareInteraction,
|
|
17
|
-
versionOnPage
|
|
18
|
-
} from "./chunk-QTZICZWT.js";
|
|
9
|
+
} from "./chunk-6LGB4MVX.js";
|
|
19
10
|
import {
|
|
20
11
|
acquireRenderLock,
|
|
21
12
|
describeRenderLockHolder,
|
|
22
13
|
renderJobObservabilityTelemetryPayload,
|
|
23
14
|
renderObservabilityTelemetryPayload,
|
|
24
15
|
startRenderCpuSampler
|
|
25
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UBNJWS2H.js";
|
|
26
17
|
import {
|
|
27
18
|
outsideAssetsAllowed
|
|
28
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LZWG4GCC.js";
|
|
29
20
|
import {
|
|
30
21
|
HANDOFF_READY,
|
|
31
22
|
desktopDownloadUrl,
|
|
32
23
|
desktopInstalled,
|
|
33
24
|
insideHostApp,
|
|
34
25
|
openInDesktop
|
|
35
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BMTT2T7M.js";
|
|
36
27
|
import "./chunk-IEESWUIQ.js";
|
|
28
|
+
import {
|
|
29
|
+
ReviewFailed,
|
|
30
|
+
fileSha256Base64,
|
|
31
|
+
latestShareRender,
|
|
32
|
+
shareContentFingerprint,
|
|
33
|
+
shareSite,
|
|
34
|
+
trackShareInteraction,
|
|
35
|
+
versionOnPage
|
|
36
|
+
} from "./chunk-763UG5II.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveRenderBrowser
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-OIO7YMBP.js";
|
|
39
|
+
} from "./chunk-XZ6THYIK.js";
|
|
40
|
+
import "./chunk-Z2U7ELGP.js";
|
|
42
41
|
import {
|
|
43
42
|
loadSharpInBackground
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-LB6ZAP4I.js";
|
|
44
|
+
import "./chunk-6VY6WTY5.js";
|
|
45
|
+
import "./chunk-KGPHUBBA.js";
|
|
46
|
+
import "./chunk-TFAKFI3R.js";
|
|
47
47
|
import "./chunk-6BEFEWFB.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-6R4MEYWD.js";
|
|
49
49
|
import "./chunk-ECGNWHFE.js";
|
|
50
50
|
import "./chunk-X7MTZ4T2.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-PLOCYJ5U.js";
|
|
52
|
+
import "./chunk-ODLSLYJR.js";
|
|
52
53
|
import "./chunk-X7MTZ4T2.js";
|
|
53
54
|
import {
|
|
54
55
|
seekCompositionTimeline
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-YGGZ23BB.js";
|
|
58
|
-
import "./chunk-CKIYT34K.js";
|
|
59
|
-
import "./chunk-ANYW22IT.js";
|
|
56
|
+
} from "./chunk-RKIF4EU7.js";
|
|
57
|
+
import "./chunk-SGQKP2JT.js";
|
|
60
58
|
import "./chunk-262C25DQ.js";
|
|
61
59
|
import {
|
|
62
60
|
GSAP_VENDOR_FILES,
|
|
63
61
|
readBundleFile,
|
|
64
62
|
resolveGsapVendorDir
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import {
|
|
69
|
-
PREVIEW_NONCE_HEADER,
|
|
70
|
-
previewProof
|
|
71
|
-
} from "./chunk-677JGYQL.js";
|
|
63
|
+
} from "./chunk-LSGJY2FG.js";
|
|
64
|
+
import "./chunk-YGGZ23BB.js";
|
|
65
|
+
import "./chunk-7YRZBB4C.js";
|
|
72
66
|
import {
|
|
73
67
|
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
74
68
|
PREVIEW_BUNDLE_OPTIONS,
|
|
@@ -86,12 +80,12 @@ import {
|
|
|
86
80
|
previewAllowedHostsFromEnv,
|
|
87
81
|
sameOriginPost,
|
|
88
82
|
thumbnailDeviceScaleFactor
|
|
89
|
-
} from "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
83
|
+
} from "./chunk-WDMSNDHS.js";
|
|
84
|
+
import "./chunk-UNB2DFR2.js";
|
|
85
|
+
import "./chunk-WRSGWDDB.js";
|
|
92
86
|
import "./chunk-HYO4DIYT.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-LTOUXR3X.js";
|
|
88
|
+
import "./chunk-QJ2BV7FM.js";
|
|
95
89
|
import {
|
|
96
90
|
DEFAULT_HISTORY_ROOT,
|
|
97
91
|
DELETED_VERSION,
|
|
@@ -104,46 +98,53 @@ import {
|
|
|
104
98
|
historyCache,
|
|
105
99
|
identifyFileWrite,
|
|
106
100
|
openProjectHistory
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import "./chunk-
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-IJYIIHGK.js";
|
|
111
|
-
import "./chunk-ZLTB7ZCQ.js";
|
|
112
|
-
import "./chunk-JDXALWOM.js";
|
|
101
|
+
} from "./chunk-TVWDS5AT.js";
|
|
102
|
+
import "./chunk-QVHDAS3L.js";
|
|
103
|
+
import "./chunk-TIBFCGLT.js";
|
|
113
104
|
import {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
105
|
+
PREVIEW_NONCE_HEADER,
|
|
106
|
+
previewProof
|
|
107
|
+
} from "./chunk-677JGYQL.js";
|
|
108
|
+
import "./chunk-7FIJRDUG.js";
|
|
109
|
+
import "./chunk-XWV6BOCG.js";
|
|
118
110
|
import {
|
|
119
111
|
resolveAutoProxy
|
|
120
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-RHFB457E.js";
|
|
121
113
|
import "./chunk-XT7X6QCP.js";
|
|
122
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-OF7SQ77J.js";
|
|
123
115
|
import "./chunk-HVW7ABXD.js";
|
|
124
|
-
import
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
import
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
116
|
+
import {
|
|
117
|
+
recordFolder
|
|
118
|
+
} from "./chunk-JT7RXK2N.js";
|
|
119
|
+
import {
|
|
120
|
+
resolveCaptureBrowserGpuMode,
|
|
121
|
+
resolveLocalBrowserGpuMode,
|
|
122
|
+
resolveLocalWebGpu
|
|
123
|
+
} from "./chunk-D44MBZI6.js";
|
|
132
124
|
import {
|
|
133
125
|
renderMotionBlurTelemetryPayload,
|
|
134
126
|
trackRenderComplete,
|
|
135
127
|
trackRenderError
|
|
136
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-6ATP7YPZ.js";
|
|
137
129
|
import {
|
|
138
130
|
canaryDecisionsForStudio,
|
|
139
131
|
resetTelemetryPostureCache,
|
|
140
132
|
shouldTrack
|
|
141
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-3QMGLSKC.js";
|
|
142
134
|
import "./chunk-PXVQOMKL.js";
|
|
143
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-NGRWDXRZ.js";
|
|
144
136
|
import "./chunk-DMW5SSUN.js";
|
|
145
|
-
import "./chunk-
|
|
137
|
+
import "./chunk-N6QWL3E7.js";
|
|
138
|
+
import "./chunk-XFF4XJZO.js";
|
|
139
|
+
import "./chunk-65X2G57W.js";
|
|
140
|
+
import "./chunk-TNFTRLLJ.js";
|
|
141
|
+
import "./chunk-AWDFDFI3.js";
|
|
142
|
+
import "./chunk-662337AC.js";
|
|
143
|
+
import "./chunk-D3UCUI7G.js";
|
|
144
|
+
import "./chunk-YBYNBKCN.js";
|
|
145
|
+
import "./chunk-6VY52EVW.js";
|
|
146
146
|
import "./chunk-54HJ63Q2.js";
|
|
147
|
+
import "./chunk-YAROSZMP.js";
|
|
147
148
|
import "./chunk-JCNPHRGX.js";
|
|
148
149
|
import {
|
|
149
150
|
createStudioManualEditsRenderBodyScript,
|
|
@@ -155,60 +156,66 @@ import {
|
|
|
155
156
|
} from "./chunk-P2ZMVHTF.js";
|
|
156
157
|
import "./chunk-6T4PB35F.js";
|
|
157
158
|
import {
|
|
158
|
-
isLinkFreeWithinProject
|
|
159
|
-
|
|
160
|
-
} from "./chunk-3GVHDPEP.js";
|
|
159
|
+
isLinkFreeWithinProject
|
|
160
|
+
} from "./chunk-THGJTFYB.js";
|
|
161
161
|
import {
|
|
162
162
|
assertWebGpuAdapterAvailable,
|
|
163
163
|
compositionRequiresWebGpu
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import "./chunk-OSKSTJNQ.js";
|
|
164
|
+
} from "./chunk-CC72LTIT.js";
|
|
166
165
|
import "./chunk-Z5J67X44.js";
|
|
166
|
+
import "./chunk-PJQVJSMG.js";
|
|
167
|
+
import "./chunk-3GXQPCJC.js";
|
|
168
|
+
import {
|
|
169
|
+
isProjectIgnoredDir
|
|
170
|
+
} from "./chunk-HOIEN7O4.js";
|
|
167
171
|
import "./chunk-YXX6CIHL.js";
|
|
168
172
|
import "./chunk-5S7W3TUO.js";
|
|
169
173
|
import "./chunk-D54ZDCZR.js";
|
|
170
|
-
import "./chunk-
|
|
174
|
+
import "./chunk-I6OSAVHD.js";
|
|
171
175
|
import {
|
|
172
176
|
isAtomicTempPath,
|
|
173
177
|
replaceFileAtomically
|
|
174
|
-
} from "./chunk-
|
|
175
|
-
import "./chunk-3GXQPCJC.js";
|
|
178
|
+
} from "./chunk-K2WLOTTF.js";
|
|
176
179
|
import {
|
|
177
180
|
GSAP_CDN_VERSION,
|
|
178
181
|
fpsToNumber
|
|
179
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-QHVE6AFU.js";
|
|
180
183
|
import "./chunk-FXMKHHPO.js";
|
|
181
|
-
import "./chunk-
|
|
184
|
+
import "./chunk-NI7JVGOE.js";
|
|
182
185
|
import "./chunk-VC76R6W2.js";
|
|
183
186
|
import {
|
|
184
187
|
realpath
|
|
185
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-MHF5F4FF.js";
|
|
189
|
+
import {
|
|
190
|
+
terminalText
|
|
191
|
+
} from "./chunk-UVZIABYZ.js";
|
|
186
192
|
import "./chunk-RQVDTPGD.js";
|
|
187
|
-
import "./chunk-
|
|
188
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-ISSG4PUD.js";
|
|
194
|
+
import "./chunk-A7NRMVUG.js";
|
|
189
195
|
import {
|
|
190
196
|
runRenderSetupWorker
|
|
191
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-Q4FVSYTD.js";
|
|
192
198
|
import "./chunk-KGPLIH7B.js";
|
|
193
199
|
import {
|
|
194
200
|
bytesToMb
|
|
195
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-WKE3WTIU.js";
|
|
196
202
|
import "./chunk-6LU6JICP.js";
|
|
197
|
-
import "./chunk-
|
|
203
|
+
import "./chunk-HLOJSBGC.js";
|
|
198
204
|
import {
|
|
199
205
|
isWithinProjectRoot
|
|
200
206
|
} from "./chunk-6EMFSRTW.js";
|
|
201
|
-
import "./chunk-
|
|
207
|
+
import "./chunk-CIXP5G7Z.js";
|
|
202
208
|
import "./chunk-IH2C53YV.js";
|
|
203
|
-
import "./chunk-
|
|
209
|
+
import "./chunk-4NDSGKPO.js";
|
|
204
210
|
import "./chunk-FR7YBU3H.js";
|
|
205
211
|
import "./chunk-DZWAYZG2.js";
|
|
212
|
+
import "./chunk-WC4MTXGN.js";
|
|
206
213
|
import "./chunk-GWTIFRF5.js";
|
|
207
214
|
import "./chunk-2RY2LWAA.js";
|
|
208
|
-
import "./chunk-
|
|
215
|
+
import "./chunk-KK5Z5XQ3.js";
|
|
209
216
|
import "./chunk-WFQJ6EJ6.js";
|
|
210
217
|
import "./chunk-4NTCQF3L.js";
|
|
211
|
-
import "./chunk-
|
|
218
|
+
import "./chunk-KUJJJBV2.js";
|
|
212
219
|
import "./chunk-BR2JQQC5.js";
|
|
213
220
|
import {
|
|
214
221
|
readConfig,
|
|
@@ -217,30 +224,30 @@ import {
|
|
|
217
224
|
import {
|
|
218
225
|
isDevMode
|
|
219
226
|
} from "./chunk-ISN5GRYI.js";
|
|
220
|
-
import "./chunk-ADVVQX4I.js";
|
|
221
227
|
import "./chunk-GR2E54E6.js";
|
|
222
|
-
import "./chunk-
|
|
228
|
+
import "./chunk-LMNCEQCC.js";
|
|
229
|
+
import "./chunk-U7M4SZUB.js";
|
|
223
230
|
import "./chunk-CPHQTXP5.js";
|
|
224
231
|
import "./chunk-QBXDU24O.js";
|
|
225
232
|
import {
|
|
226
233
|
VERSION
|
|
227
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-JLMMY3UI.js";
|
|
228
235
|
import "./chunk-E63BDV4Z.js";
|
|
229
236
|
import {
|
|
230
237
|
detectAgentRuntime
|
|
231
238
|
} from "./chunk-LW33P24U.js";
|
|
232
239
|
import "./chunk-XT6MXC7A.js";
|
|
233
240
|
import "./chunk-7KDQAD2W.js";
|
|
234
|
-
import "./chunk-
|
|
241
|
+
import "./chunk-RX67N2PU.js";
|
|
235
242
|
import "./chunk-M2WBOQ2Q.js";
|
|
236
243
|
|
|
237
244
|
// src/server/studioServer.ts
|
|
238
245
|
import { Hono as Hono2 } from "hono";
|
|
239
246
|
import { streamSSE } from "hono/streaming";
|
|
240
|
-
import { existsSync as existsSync2,
|
|
247
|
+
import { existsSync as existsSync2, readFileSync, statSync, writeFileSync, unlinkSync } from "fs";
|
|
241
248
|
import { createHash as createHash2 } from "crypto";
|
|
242
249
|
import { fileURLToPath } from "url";
|
|
243
|
-
import { resolve as resolve2, join as
|
|
250
|
+
import { resolve as resolve2, join as join3, basename as basename2, relative as relative2, sep as sep2 } from "path";
|
|
244
251
|
|
|
245
252
|
// src/server/fileWatcher.ts
|
|
246
253
|
import { lstatSync, readdirSync, watch } from "fs";
|
|
@@ -400,7 +407,7 @@ var ENTRY_TS = resolve(__dirname, "..", "..", "..", "core", "src", "runtime", "e
|
|
|
400
407
|
async function buildFromSource() {
|
|
401
408
|
if (!existsSync(ENTRY_TS)) return null;
|
|
402
409
|
try {
|
|
403
|
-
const mod = await import("./dist-
|
|
410
|
+
const mod = await import("./dist-VRYZIJFZ.js");
|
|
404
411
|
if (typeof mod.loadHyperframeRuntimeSource === "function") {
|
|
405
412
|
const source = mod.loadHyperframeRuntimeSource();
|
|
406
413
|
if (source) return source;
|
|
@@ -411,7 +418,7 @@ async function buildFromSource() {
|
|
|
411
418
|
}
|
|
412
419
|
async function getInlinedRuntime() {
|
|
413
420
|
try {
|
|
414
|
-
const mod = await import("./dist-
|
|
421
|
+
const mod = await import("./dist-VRYZIJFZ.js");
|
|
415
422
|
if (typeof mod.getHyperframeRuntimeScript === "function") {
|
|
416
423
|
return mod.getHyperframeRuntimeScript() ?? null;
|
|
417
424
|
}
|
|
@@ -903,12 +910,12 @@ function optionalBoolean(value) {
|
|
|
903
910
|
function validSpace(value) {
|
|
904
911
|
return value === void 0 || typeof value === "string" && /^[A-Za-z0-9_-]{1,128}$/.test(value);
|
|
905
912
|
}
|
|
906
|
-
var defaultCreate = async (path, progress) => (await import("./service-
|
|
913
|
+
var defaultCreate = async (path, progress) => (await import("./service-K65JYG4O.js")).createShareService(path, progress, {
|
|
907
914
|
surface: "local_studio",
|
|
908
915
|
pinIdentity: true
|
|
909
916
|
});
|
|
910
917
|
async function defaultLogin() {
|
|
911
|
-
const { startAuthorizationCodeFlow } = await import("./oauth-
|
|
918
|
+
const { startAuthorizationCodeFlow } = await import("./oauth-E5QBYYTX.js");
|
|
912
919
|
await startAuthorizationCodeFlow({ timeoutMs: 3e5 });
|
|
913
920
|
}
|
|
914
921
|
function mountShareRoutes(app, projectDir, create = defaultCreate, login = defaultLogin, track = trackShareInteraction) {
|
|
@@ -1073,6 +1080,53 @@ async function sessionOwner(session) {
|
|
|
1073
1080
|
return shareSessionKey(await (await session.get()).checkSession());
|
|
1074
1081
|
}
|
|
1075
1082
|
|
|
1083
|
+
// src/utils/lintHtmlWorker.ts
|
|
1084
|
+
import { mkdtemp, rm, writeFile } from "fs/promises";
|
|
1085
|
+
import { tmpdir } from "os";
|
|
1086
|
+
import { join as join2 } from "path";
|
|
1087
|
+
var LINT_HTML_HEAP_MB = 512;
|
|
1088
|
+
var LINT_HTML_TIMEOUT_MS = 15e3;
|
|
1089
|
+
function abortedLintResult(opts, afterMs) {
|
|
1090
|
+
return {
|
|
1091
|
+
ok: false,
|
|
1092
|
+
errorCount: 1,
|
|
1093
|
+
warningCount: 0,
|
|
1094
|
+
infoCount: 0,
|
|
1095
|
+
findings: [
|
|
1096
|
+
{
|
|
1097
|
+
code: "lint_aborted",
|
|
1098
|
+
severity: "error",
|
|
1099
|
+
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.",
|
|
1100
|
+
...opts?.filePath && { file: opts.filePath }
|
|
1101
|
+
}
|
|
1102
|
+
],
|
|
1103
|
+
timings: { totalMs: afterMs, groupMs: {}, slowestRule: "", slowestRuleMs: 0 }
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
async function lintHtmlOutOfProcess(html, opts, { run = runRenderSetupWorker, timeoutMs = LINT_HTML_TIMEOUT_MS } = {}) {
|
|
1107
|
+
const dir = await mkdtemp(join2(tmpdir(), "hf-lint-"));
|
|
1108
|
+
const htmlPath = join2(dir, "page.html");
|
|
1109
|
+
try {
|
|
1110
|
+
await writeFile(htmlPath, html);
|
|
1111
|
+
const began = performance.now();
|
|
1112
|
+
try {
|
|
1113
|
+
return await run(
|
|
1114
|
+
"lint-html",
|
|
1115
|
+
{ htmlPath, opts },
|
|
1116
|
+
{
|
|
1117
|
+
execArgv: [`--max-old-space-size=${LINT_HTML_HEAP_MB}`],
|
|
1118
|
+
maxBufferBytes: 8 * 1024 * 1024,
|
|
1119
|
+
timeoutMs
|
|
1120
|
+
}
|
|
1121
|
+
);
|
|
1122
|
+
} catch {
|
|
1123
|
+
return abortedLintResult(opts, Math.round(performance.now() - began));
|
|
1124
|
+
}
|
|
1125
|
+
} finally {
|
|
1126
|
+
await rm(dir, { recursive: true, force: true });
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1076
1130
|
// src/server/thumbnailPages.ts
|
|
1077
1131
|
function createThumbnailPages(maxPages = 2, idleMs = 1e3) {
|
|
1078
1132
|
const pages = /* @__PURE__ */ new Map();
|
|
@@ -1140,16 +1194,17 @@ function createThumbnailPages(maxPages = 2, idleMs = 1e3) {
|
|
|
1140
1194
|
var STUDIO_MANUAL_EDITS_PATH = ".hyperframes/studio-manual-edits.json";
|
|
1141
1195
|
var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
1142
1196
|
var LINT_WORKER_TIMEOUT_MS = 12e4;
|
|
1197
|
+
var LINT_WORKER_HEAP_MB = 1024;
|
|
1143
1198
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
1144
1199
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
1145
1200
|
async function loadStudioProducer() {
|
|
1146
|
-
if (!isDevMode()) return await import("./src-
|
|
1201
|
+
if (!isDevMode()) return await import("./src-ZXZO5RCJ.js");
|
|
1147
1202
|
if (!process.versions.bun) {
|
|
1148
1203
|
throw new Error(
|
|
1149
1204
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
1150
1205
|
);
|
|
1151
1206
|
}
|
|
1152
|
-
return await import("./src-
|
|
1207
|
+
return await import("./src-ZXZO5RCJ.js");
|
|
1153
1208
|
}
|
|
1154
1209
|
function resolveDistDir() {
|
|
1155
1210
|
return resolveStudioBundle().dir;
|
|
@@ -1196,7 +1251,7 @@ function resolveRuntimePath() {
|
|
|
1196
1251
|
}
|
|
1197
1252
|
var GSAP_LOCAL_ROOT = "/api/vendor/npm";
|
|
1198
1253
|
function readStudioManualEditManifestContent(projectDir) {
|
|
1199
|
-
const manifestPath =
|
|
1254
|
+
const manifestPath = join3(projectDir, STUDIO_MANUAL_EDITS_PATH);
|
|
1200
1255
|
if (!existsSync2(manifestPath)) return "";
|
|
1201
1256
|
try {
|
|
1202
1257
|
return readFileSync(manifestPath, "utf-8");
|
|
@@ -1246,26 +1301,29 @@ var _thumbnailBrowserLease = null;
|
|
|
1246
1301
|
var thumbnailPages = createThumbnailPages();
|
|
1247
1302
|
var _thumbnailBrowserInitializing = null;
|
|
1248
1303
|
var _thumbnailBrowserModes = null;
|
|
1249
|
-
async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
1304
|
+
async function getThumbnailBrowser(requestedGpuMode, pageServerUrl, isShuttingDown) {
|
|
1250
1305
|
if (isShuttingDown()) return null;
|
|
1251
|
-
|
|
1306
|
+
const pageServerOrigin = new URL(pageServerUrl).origin;
|
|
1307
|
+
if (_thumbnailBrowserLease?.browser.connected && _thumbnailBrowserModes?.requested === requestedGpuMode && _thumbnailBrowserModes.pageServerOrigin === pageServerOrigin) {
|
|
1252
1308
|
return {
|
|
1253
1309
|
browser: _thumbnailBrowserLease.browser,
|
|
1254
1310
|
requestedGpuMode: _thumbnailBrowserModes.requested,
|
|
1255
1311
|
resolvedGpuMode: _thumbnailBrowserModes.resolved,
|
|
1256
|
-
softwareWebGpu: _thumbnailBrowserModes.softwareWebGpu
|
|
1312
|
+
softwareWebGpu: _thumbnailBrowserModes.softwareWebGpu,
|
|
1313
|
+
pageServerOrigin
|
|
1257
1314
|
};
|
|
1258
1315
|
}
|
|
1259
1316
|
if (_thumbnailBrowserInitializing) {
|
|
1260
1317
|
const session = await _thumbnailBrowserInitializing;
|
|
1261
|
-
if (session?.requestedGpuMode === requestedGpuMode
|
|
1318
|
+
if (session?.requestedGpuMode === requestedGpuMode && session.pageServerOrigin === pageServerOrigin)
|
|
1319
|
+
return session;
|
|
1262
1320
|
}
|
|
1263
1321
|
if (_thumbnailBrowserLease) await closeThumbnailBrowser();
|
|
1264
1322
|
_thumbnailBrowserInitializing = (async () => {
|
|
1265
1323
|
try {
|
|
1266
1324
|
if (isShuttingDown()) return null;
|
|
1267
|
-
const { ensureBrowser } = await import("./manager-
|
|
1268
|
-
const { acquireBrowser, buildChromeArgs } = await import("./src-
|
|
1325
|
+
const { ensureBrowser } = await import("./manager-KWNID2ZA.js");
|
|
1326
|
+
const { acquireBrowser, buildChromeArgs } = await import("./src-B646B52O.js");
|
|
1269
1327
|
let executablePath;
|
|
1270
1328
|
try {
|
|
1271
1329
|
const b = await ensureBrowser({ preferManagedChrome: true });
|
|
@@ -1287,13 +1345,14 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
1287
1345
|
},
|
|
1288
1346
|
gpuConfig
|
|
1289
1347
|
),
|
|
1290
|
-
{ forceScreenshot: true }
|
|
1348
|
+
{ forceScreenshot: true, pageServerUrl }
|
|
1291
1349
|
);
|
|
1292
1350
|
_thumbnailBrowserLease = acquired;
|
|
1293
1351
|
_thumbnailBrowserModes = {
|
|
1294
1352
|
requested: requestedGpuMode,
|
|
1295
1353
|
resolved: resolvedGpuMode,
|
|
1296
|
-
softwareWebGpu
|
|
1354
|
+
softwareWebGpu,
|
|
1355
|
+
pageServerOrigin
|
|
1297
1356
|
};
|
|
1298
1357
|
acquired.browser.on("disconnected", () => {
|
|
1299
1358
|
if (_thumbnailBrowserLease !== acquired) return;
|
|
@@ -1301,7 +1360,13 @@ async function getThumbnailBrowser(requestedGpuMode, isShuttingDown) {
|
|
|
1301
1360
|
_thumbnailBrowserModes = null;
|
|
1302
1361
|
_thumbnailBrowserInitializing = null;
|
|
1303
1362
|
});
|
|
1304
|
-
return {
|
|
1363
|
+
return {
|
|
1364
|
+
browser: acquired.browser,
|
|
1365
|
+
requestedGpuMode,
|
|
1366
|
+
resolvedGpuMode,
|
|
1367
|
+
softwareWebGpu,
|
|
1368
|
+
pageServerOrigin
|
|
1369
|
+
};
|
|
1305
1370
|
} catch (err) {
|
|
1306
1371
|
console.warn(
|
|
1307
1372
|
"[Studio] Failed to launch thumbnail browser:",
|
|
@@ -1341,7 +1406,7 @@ async function loadPreviewServerBuildSignature() {
|
|
|
1341
1406
|
]);
|
|
1342
1407
|
}
|
|
1343
1408
|
function rewriteWrittenToHostViewport(projectDir, written) {
|
|
1344
|
-
const indexPath =
|
|
1409
|
+
const indexPath = join3(projectDir, "index.html");
|
|
1345
1410
|
if (!existsSync2(indexPath)) return;
|
|
1346
1411
|
const indexHtml = readFileSync(indexPath, "utf-8");
|
|
1347
1412
|
const hostW = indexHtml.match(/data-width="(\d+)"/)?.[1];
|
|
@@ -1367,11 +1432,7 @@ function rewriteWrittenToHostViewport(projectDir, written) {
|
|
|
1367
1432
|
}
|
|
1368
1433
|
}
|
|
1369
1434
|
function createStateFolderBeforeWatching(projectDir) {
|
|
1370
|
-
|
|
1371
|
-
mkdirSync(join2(projectDir, ".hyperframes"), { recursive: true });
|
|
1372
|
-
} catch {
|
|
1373
|
-
return;
|
|
1374
|
-
}
|
|
1435
|
+
recordFolder(projectDir, "");
|
|
1375
1436
|
}
|
|
1376
1437
|
function createStudioServer(options) {
|
|
1377
1438
|
const { projectDir, projectName } = options;
|
|
@@ -1385,7 +1446,7 @@ function createStudioServer(options) {
|
|
|
1385
1446
|
const project = { id: projectId, dir: projectDir, title: projectId };
|
|
1386
1447
|
let cachedProjectSignature = null;
|
|
1387
1448
|
watcher.addListener((changedPath) => {
|
|
1388
|
-
if (changedPath === "." || affectsProjectSignature(projectDir,
|
|
1449
|
+
if (changedPath === "." || affectsProjectSignature(projectDir, join3(projectDir, changedPath))) {
|
|
1389
1450
|
cachedProjectSignature = null;
|
|
1390
1451
|
}
|
|
1391
1452
|
});
|
|
@@ -1440,7 +1501,7 @@ function createStudioServer(options) {
|
|
|
1440
1501
|
resolveProject: (id) => id === projectId ? project : null,
|
|
1441
1502
|
async bundle(dir, options2) {
|
|
1442
1503
|
try {
|
|
1443
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
1504
|
+
const { bundleToSingleHtml } = await import("./compiler-QVDXN4OS.js");
|
|
1444
1505
|
let html = await bundleToSingleHtml(dir, { ...PREVIEW_BUNDLE_OPTIONS, ...options2 });
|
|
1445
1506
|
html = html.replace(
|
|
1446
1507
|
'data-hyperframes-preview-runtime="1" src=""',
|
|
@@ -1453,13 +1514,13 @@ function createStudioServer(options) {
|
|
|
1453
1514
|
}
|
|
1454
1515
|
},
|
|
1455
1516
|
async transformPreviewHtml({ html, project: project2 }) {
|
|
1456
|
-
const { injectDeterministicFontFaces } = await import("./deterministicFonts-
|
|
1457
|
-
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-
|
|
1458
|
-
const { prepareHeifImageInputs } = await import("./heifImagePrep-
|
|
1459
|
-
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-
|
|
1460
|
-
const gifOutputDir =
|
|
1461
|
-
const gifDownloadDir =
|
|
1462
|
-
const heifOutputDir =
|
|
1517
|
+
const { injectDeterministicFontFaces } = await import("./deterministicFonts-VLIVGXUQ.js");
|
|
1518
|
+
const { prepareAnimatedGifInputs } = await import("./animatedGifPrep-JPQZPZC4.js");
|
|
1519
|
+
const { prepareHeifImageInputs } = await import("./heifImagePrep-MRQ4KKDF.js");
|
|
1520
|
+
const { downloadToTemp, writeUrlDownloadTelemetry } = await import("./urlDownloader-VPQTIGEH.js");
|
|
1521
|
+
const gifOutputDir = join3(project2.dir, ".hyperframes", "prepared-assets", "gif");
|
|
1522
|
+
const gifDownloadDir = join3(project2.dir, ".hyperframes", "prepared-assets", "downloads");
|
|
1523
|
+
const heifOutputDir = join3(project2.dir, ".hyperframes", "prepared-assets", "heif");
|
|
1463
1524
|
const preparedDirs = [gifOutputDir, gifDownloadDir, heifOutputDir];
|
|
1464
1525
|
if (!preparedDirs.every((dir) => isLinkFreeWithinProject(project2.dir, dir)))
|
|
1465
1526
|
return injectDeterministicFontFaces(html);
|
|
@@ -1490,21 +1551,23 @@ function createStudioServer(options) {
|
|
|
1490
1551
|
invalidateProjectSignature: (dir) => {
|
|
1491
1552
|
if (resolve2(dir) === resolve2(projectDir)) cachedProjectSignature = null;
|
|
1492
1553
|
},
|
|
1493
|
-
|
|
1494
|
-
const { lintHyperframeHtml } = await import("./dist-APXZ5EN2.js");
|
|
1495
|
-
return await lintHyperframeHtml(html, { ...opts, host: "studio" });
|
|
1496
|
-
},
|
|
1554
|
+
lint: (html, opts) => lintHtmlOutOfProcess(html, { ...opts, host: "studio" }),
|
|
1497
1555
|
// Out of process: linting a large composition is seconds of synchronous parsing, and on
|
|
1498
1556
|
// this event loop it stalls every other Studio request, the preview included.
|
|
1499
1557
|
lintProject: (dir, signal) => runRenderSetupWorker(
|
|
1500
1558
|
"lint",
|
|
1501
1559
|
{ projectDir: dir, host: "studio", background: true },
|
|
1502
|
-
{
|
|
1560
|
+
{
|
|
1561
|
+
execArgv: [`--max-old-space-size=${LINT_WORKER_HEAP_MB}`],
|
|
1562
|
+
maxBufferBytes: 8 * 1024 * 1024,
|
|
1563
|
+
signal,
|
|
1564
|
+
timeoutMs: LINT_WORKER_TIMEOUT_MS
|
|
1565
|
+
}
|
|
1503
1566
|
),
|
|
1504
1567
|
runtimeUrl: "/api/runtime.js",
|
|
1505
1568
|
gsapLocalRoot: gsapVendorDir ? GSAP_LOCAL_ROOT : void 0,
|
|
1506
1569
|
serverOrigin: () => options.origin?.(),
|
|
1507
|
-
rendersDir: () =>
|
|
1570
|
+
rendersDir: () => join3(projectDir, "renders"),
|
|
1508
1571
|
startRender(opts) {
|
|
1509
1572
|
if (shuttingDown) {
|
|
1510
1573
|
return {
|
|
@@ -1643,21 +1706,25 @@ function createStudioServer(options) {
|
|
|
1643
1706
|
startBackgroundRemoval(opts) {
|
|
1644
1707
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1645
1708
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1646
|
-
const pipeline = await import("./pipeline-
|
|
1709
|
+
const pipeline = await import("./pipeline-A4RL5R5P.js").catch(
|
|
1647
1710
|
() => import(sourcePipelinePath)
|
|
1648
1711
|
);
|
|
1649
1712
|
return pipeline.render(renderOpts);
|
|
1650
1713
|
});
|
|
1651
1714
|
},
|
|
1652
1715
|
async generateThumbnail(opts) {
|
|
1653
|
-
const session = await getThumbnailBrowser(
|
|
1716
|
+
const session = await getThumbnailBrowser(
|
|
1717
|
+
browserGpuMode,
|
|
1718
|
+
options.origin?.() ?? opts.previewUrl,
|
|
1719
|
+
() => shuttingDown
|
|
1720
|
+
);
|
|
1654
1721
|
if (!session) {
|
|
1655
1722
|
if (!shuttingDown) {
|
|
1656
1723
|
console.warn("[Studio] Thumbnail: no browser available \u2014 Chrome may not be installed");
|
|
1657
1724
|
}
|
|
1658
1725
|
return null;
|
|
1659
1726
|
}
|
|
1660
|
-
const sourcePath =
|
|
1727
|
+
const sourcePath = join3(opts.project.dir, opts.compPath);
|
|
1661
1728
|
const requiresWebGpu = existsSync2(sourcePath) ? compositionRequiresWebGpu(readFileSync(sourcePath, "utf-8")) : false;
|
|
1662
1729
|
if (opts.signal.aborted) return null;
|
|
1663
1730
|
const width = opts.width || 1920;
|
|
@@ -1729,8 +1796,8 @@ function createStudioServer(options) {
|
|
|
1729
1796
|
}
|
|
1730
1797
|
},
|
|
1731
1798
|
async listRegistryCatalog() {
|
|
1732
|
-
const { listRegistryItems, loadAllItems } = await import("./resolver-
|
|
1733
|
-
const { loadProjectConfig } = await import("./projectConfig-
|
|
1799
|
+
const { listRegistryItems, loadAllItems } = await import("./resolver-SPLAVF76.js");
|
|
1800
|
+
const { loadProjectConfig } = await import("./projectConfig-2KJ2PXIM.js");
|
|
1734
1801
|
const registry = { baseUrl: loadProjectConfig(projectDir).registry };
|
|
1735
1802
|
const entries = await listRegistryItems(void 0, registry);
|
|
1736
1803
|
const blockAndComponentEntries = entries.filter(
|
|
@@ -1739,9 +1806,9 @@ function createStudioServer(options) {
|
|
|
1739
1806
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1740
1807
|
},
|
|
1741
1808
|
async installRegistryBlock(opts) {
|
|
1742
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1743
|
-
const { recordRewrittenInstall } = await import("./installer-
|
|
1744
|
-
const { registryTargetPath } = await import("./publication-
|
|
1809
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-C7J7HSLI.js");
|
|
1810
|
+
const { recordRewrittenInstall } = await import("./installer-ZTHYVK4L.js");
|
|
1811
|
+
const { registryTargetPath } = await import("./publication-AR63EGJF.js");
|
|
1745
1812
|
const { result, item } = await addToProject({
|
|
1746
1813
|
name: opts.blockName,
|
|
1747
1814
|
projectDir: opts.project.dir,
|
|
@@ -1749,7 +1816,7 @@ function createStudioServer(options) {
|
|
|
1749
1816
|
source: "studio"
|
|
1750
1817
|
});
|
|
1751
1818
|
for (const warning of result.warnings) {
|
|
1752
|
-
process.stderr.write(`hyperframes:registry ${warning}
|
|
1819
|
+
process.stderr.write(`hyperframes:registry ${terminalText(warning)}
|
|
1753
1820
|
`);
|
|
1754
1821
|
}
|
|
1755
1822
|
const written = result.written;
|
|
@@ -1812,7 +1879,7 @@ function createStudioServer(options) {
|
|
|
1812
1879
|
});
|
|
1813
1880
|
app.get(`${GSAP_LOCAL_ROOT}/:pkg/dist/:file`, (c) => {
|
|
1814
1881
|
const file = c.req.param("file");
|
|
1815
|
-
const body = gsapVendorDir && c.req.param("pkg") === `gsap@${GSAP_CDN_VERSION}` && GSAP_VENDOR_FILES.has(file) ? readBundleFile(
|
|
1882
|
+
const body = gsapVendorDir && c.req.param("pkg") === `gsap@${GSAP_CDN_VERSION}` && GSAP_VENDOR_FILES.has(file) ? readBundleFile(join3(gsapVendorDir, file)) : null;
|
|
1816
1883
|
if (!body) return c.text("not found", 404);
|
|
1817
1884
|
return c.body(body, 200, {
|
|
1818
1885
|
"Content-Type": getMimeType(file),
|
|
@@ -1863,8 +1930,8 @@ function createStudioServer(options) {
|
|
|
1863
1930
|
app.get("/api/environment/ffmpeg", async (c) => {
|
|
1864
1931
|
if (ffmpegReady) return c.json({ ok: true });
|
|
1865
1932
|
const [{ runEnvironmentChecks }, { getFFmpegInstallCommand }] = await Promise.all([
|
|
1866
|
-
import("./preflight-
|
|
1867
|
-
import("./ffmpeg-
|
|
1933
|
+
import("./preflight-2VFCT3PI.js"),
|
|
1934
|
+
import("./ffmpeg-BEL7EZBA.js")
|
|
1868
1935
|
]);
|
|
1869
1936
|
const { outcomes } = await runEnvironmentChecks();
|
|
1870
1937
|
const failed = outcomes.find((outcome) => !outcome.ok);
|
|
@@ -1884,7 +1951,7 @@ function createStudioServer(options) {
|
|
|
1884
1951
|
mountShareRoutes(app, projectDir);
|
|
1885
1952
|
let cachedFFmpegPath;
|
|
1886
1953
|
app.post("/api/projects/:id/render", async (c, next) => {
|
|
1887
|
-
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-
|
|
1954
|
+
const { findFFmpeg, getFFmpegInstallHint } = await import("./ffmpeg-BEL7EZBA.js");
|
|
1888
1955
|
if (!cachedFFmpegPath) {
|
|
1889
1956
|
cachedFFmpegPath = findFFmpeg();
|
|
1890
1957
|
}
|
|
@@ -2001,7 +2068,7 @@ function createStudioServer(options) {
|
|
|
2001
2068
|
});
|
|
2002
2069
|
const renders = [...inFlightRenders];
|
|
2003
2070
|
for (const [abortController] of renders) abortController.abort();
|
|
2004
|
-
const { killTrackedProcesses, closeBrowserPool } = await import("./src-
|
|
2071
|
+
const { killTrackedProcesses, closeBrowserPool } = await import("./src-B646B52O.js");
|
|
2005
2072
|
killTrackedProcesses();
|
|
2006
2073
|
const closeBrowsers = Promise.allSettled([
|
|
2007
2074
|
closeThumbnailBrowser().catch(() => {
|