hyperframes 0.9.55 → 0.9.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-2LZ5XA27.js → add-KW7OTOWF.js} +19 -19
- package/dist/{agentPromptGenerator-RSFEFNFL.js → agentPromptGenerator-NNXUWNU4.js} +11 -11
- package/dist/{animatedGifPrep-AX4MK2QD.js → animatedGifPrep-6ATQHQON.js} +12 -12
- package/dist/api.js +40 -39
- package/dist/{appHistory-T3ZLA7QN.js → appHistory-KHX53SGI.js} +6 -4
- package/dist/{asset-XYQJVHR2.js → asset-QVINGJRK.js} +2 -2
- package/dist/{assetCataloger-WTFR2Z5Q.js → assetCataloger-DENJPUBH.js} +12 -12
- package/dist/{audio-U2OIHTUI.js → audio-LB7HQYPJ.js} +21 -21
- package/dist/{auth-DXESNULL.js → auth-7AGRVI5A.js} +2 -2
- package/dist/{autoUpdate-DWT4YYU2.js → autoUpdate-ITCP2JDM.js} +2 -2
- package/dist/{avatars-EL5RBI4P.js → avatars-2K2C74EQ.js} +15 -14
- package/dist/{backgroundChecks-T2DL425O.js → backgroundChecks-UOTBCWPN.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-CMG4SVBX.js → batchRender-Z7ESYQDS.js} +9 -7
- package/dist/{beats-HU756KUO.js → beats-TG6ZB3XH.js} +10 -10
- package/dist/{benchmark-HBNCPXH5.js → benchmark-RU5MLZHE.js} +16 -16
- package/dist/{billing-LGHM3LC7.js → billing-VB5PYYSN.js} +15 -15
- package/dist/{browser-XIFUT5OB.js → browser-VSQRY5GG.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-JPPBCCVV.js → bundleWithLocalizedFonts-XDPJE355.js} +1 -1
- package/dist/{capture-ZY7G3QSM.js → capture-M4FL7MWI.js} +22 -22
- package/dist/{capture-B6DSZD2P.js → capture-TQCFWPAT.js} +4 -4
- package/dist/{captureCompositionFrame-2WRG6SNW.js → captureCompositionFrame-XF67Q6YK.js} +17 -17
- package/dist/{captureFile-LXMDM5TD.js → captureFile-F254H22J.js} +3 -3
- package/dist/{catalog-CUEOQ4PJ.js → catalog-24EGH662.js} +19 -19
- package/dist/catalog-artifact/media-vectors.json +205 -0
- package/dist/{catch-up-BAYJTXAL.js → catch-up-L23HGDLB.js} +13 -13
- package/dist/{check-KGXBQPRZ.js → check-F4HQVV2M.js} +50 -48
- package/dist/{checkAudio-6PI7DJLP.js → checkAudio-6DT3ONR7.js} +13 -13
- package/dist/{checkBrowser-4SGXUL27.js → checkBrowser-S7P4X7QV.js} +40 -40
- package/dist/{chunk-Q42L7V5T.js → chunk-2GRCTZNS.js} +1 -1
- package/dist/{chunk-FMYXLRJN.js → chunk-2ZOJCSLJ.js} +3 -3
- package/dist/{chunk-ER22SVLT.js → chunk-3GVHDPEP.js} +1 -1
- package/dist/{chunk-EXEX7TSU.js → chunk-43CQTZGB.js} +11 -12
- package/dist/{chunk-ND5SQJAB.js → chunk-4DJGUZJR.js} +2 -2
- package/dist/{chunk-J424KJXV.js → chunk-4GPKDDQZ.js} +7 -7
- package/dist/{chunk-KHEOHL5O.js → chunk-4WSJ5MUN.js} +1 -1
- package/dist/{chunk-T5S7U5C6.js → chunk-52XHPMCX.js} +1 -1
- package/dist/chunk-56T2OGYR.js +5085 -0
- package/dist/{chunk-TMLKMCZK.js → chunk-5GSCSZOS.js} +2 -2
- package/dist/{chunk-3L2POG2J.js → chunk-5IE5ZI66.js} +37 -8
- package/dist/{chunk-CHQWDBUM.js → chunk-5ZDNSYTO.js} +8 -13
- package/dist/{chunk-N7M2SNAF.js → chunk-664QGMR4.js} +2 -2
- package/dist/chunk-677JGYQL.js +91 -0
- package/dist/{chunk-PCNNMAUX.js → chunk-6LONEKJR.js} +211 -155
- package/dist/{chunk-LEIR7IDJ.js → chunk-6LU6JICP.js} +80 -1
- package/dist/{chunk-AHXRYOTC.js → chunk-6XRXUMFG.js} +1 -1
- package/dist/{chunk-W2GXQ3CR.js → chunk-7DKWEIH4.js} +9 -9
- package/dist/{chunk-QGQYMSYM.js → chunk-7E7VKASF.js} +2 -2
- package/dist/{chunk-5HJZGP54.js → chunk-7F4RAWDS.js} +2 -2
- package/dist/{chunk-OYEGPK3Q.js → chunk-7HQC5MDZ.js} +1 -1
- package/dist/{chunk-AYESPEPQ.js → chunk-7QFLMCTD.js} +6 -1
- package/dist/{chunk-4ZQG3Z3J.js → chunk-AN6KWGYI.js} +2 -2
- package/dist/{chunk-JAAIW4JR.js → chunk-ANYW22IT.js} +1 -1
- package/dist/{chunk-3USMIMBB.js → chunk-APCVZGU6.js} +395 -109
- package/dist/{chunk-NUGAYGT3.js → chunk-B6BWLFAF.js} +1 -1
- package/dist/{chunk-VCKUDUPN.js → chunk-BA33QNKK.js} +199 -15
- package/dist/{chunk-JS7UI73E.js → chunk-BMVUB2CY.js} +6 -6
- package/dist/{chunk-E7GHBT2M.js → chunk-BPYNILOZ.js} +4 -4
- package/dist/{chunk-XFSZ3IXC.js → chunk-BR7GOCQJ.js} +1 -1
- package/dist/{chunk-32IRBM3V.js → chunk-BTJYK56C.js} +3 -3
- package/dist/{chunk-KVYHRUZX.js → chunk-BUG5AOPJ.js} +3 -3
- package/dist/{chunk-FLQT2FVH.js → chunk-BW4H55SU.js} +1 -1
- package/dist/{chunk-SDFGDNWV.js → chunk-BZXW5QU7.js} +1 -1
- package/dist/{chunk-WPD7JH6F.js → chunk-CBG6MIT2.js} +2 -2
- package/dist/{chunk-O7TIBLSJ.js → chunk-CKIVYAKG.js} +80 -15
- package/dist/{chunk-YVCPUVHV.js → chunk-CKIYT34K.js} +1 -1
- package/dist/{chunk-6EG3W5AD.js → chunk-CLRHKYOK.js} +5 -5
- package/dist/{chunk-MDOMSEK2.js → chunk-CNXZCMJZ.js} +2 -2
- package/dist/{chunk-NISP57R3.js → chunk-CPSD7337.js} +51 -28
- package/dist/{chunk-MO5NTFSC.js → chunk-CUO2HF4M.js} +2 -2
- package/dist/{chunk-5LSMAWK5.js → chunk-CWIOKI2R.js} +1 -1
- package/dist/{chunk-TFVIXR6V.js → chunk-CXFW7YPT.js} +42 -48
- package/dist/{chunk-OWQWMQTY.js → chunk-CZCZ5YXT.js} +1 -1
- package/dist/{chunk-7DJCG5ED.js → chunk-D3WRRPHI.js} +5 -5
- package/dist/{chunk-LGYCWN3Q.js → chunk-DDCXMXAD.js} +11 -11
- package/dist/{chunk-K2VFTUAA.js → chunk-DUZ6Z2ZN.js} +1 -1
- package/dist/{chunk-XLQUCTC2.js → chunk-EBRN4YJH.js} +3 -3
- package/dist/{chunk-HLDUHLYO.js → chunk-EGR2ZFFP.js} +4 -4
- package/dist/{chunk-AU4ZBCR3.js → chunk-EKSS3KI7.js} +1 -1
- package/dist/{chunk-E2DHBP6C.js → chunk-FGGRBKWL.js} +1 -1
- package/dist/{chunk-QX4TZ2RK.js → chunk-GTC2STHN.js} +72 -54
- package/dist/{chunk-X4KIL5BW.js → chunk-HCQXGGVY.js} +14 -14
- package/dist/{chunk-OOWZ6M75.js → chunk-HOCV5AW6.js} +2 -2
- package/dist/{chunk-TN3WGE3L.js → chunk-HVG656G6.js} +3 -3
- package/dist/{chunk-NFLH3TQ5.js → chunk-ICDGP335.js} +13 -10
- package/dist/{chunk-NKAW4RVE.js → chunk-IDGWNOBX.js} +1 -1
- package/dist/{chunk-YU5LSWA2.js → chunk-IHX3AFTY.js} +2 -2
- package/dist/{chunk-CAYQATCT.js → chunk-IO7PRQQC.js} +1 -1
- package/dist/{chunk-6BGTTCKN.js → chunk-IRZUZ32B.js} +3 -3
- package/dist/{chunk-RBOKZ5ED.js → chunk-IT2QBRVS.js} +1 -1
- package/dist/{chunk-PXLGDX2S.js → chunk-JDXALWOM.js} +39 -24
- package/dist/{chunk-BOEEHWDX.js → chunk-JPEIUGS5.js} +1 -1
- package/dist/{chunk-4IUOWNDS.js → chunk-JQKCRTVQ.js} +2 -2
- package/dist/{chunk-VPX4GVGQ.js → chunk-KRYXZVA2.js} +3 -3
- package/dist/{chunk-TEA4ZEHB.js → chunk-L5CBCPUH.js} +7 -7
- package/dist/{chunk-JVA3SAGB.js → chunk-L5NPBGQB.js} +15 -22
- package/dist/{chunk-B5HSHXE2.js → chunk-LH5FRVAO.js} +12 -7
- package/dist/{chunk-NHNFBLBM.js → chunk-LK7F7P2X.js} +5 -2
- package/dist/{chunk-WQGQCSRY.js → chunk-LRQEIKFT.js} +4 -4
- package/dist/{chunk-2LQJHVI7.js → chunk-LRWWCTSJ.js} +2 -2
- package/dist/{chunk-VK3MQSA2.js → chunk-MK4RH5L7.js} +5 -2
- package/dist/{chunk-KD33HZPP.js → chunk-MP52CUHL.js} +2 -2
- package/dist/{chunk-ATKA5KHE.js → chunk-MPOWSPBD.js} +3 -3
- package/dist/{chunk-FLHL32SV.js → chunk-MVLAPENI.js} +36 -8
- package/dist/{chunk-2PASB3PC.js → chunk-NCJSN6SV.js} +5 -5
- package/dist/{chunk-UCLUH5AG.js → chunk-NFST2HIM.js} +2 -2
- package/dist/{chunk-NMQCIUBE.js → chunk-OXT2LXZB.js} +8 -6
- package/dist/{chunk-CRRVULYR.js → chunk-PCKKKICA.js} +15 -3
- package/dist/{chunk-TPLO6NJI.js → chunk-PGHROSLJ.js} +4 -4
- package/dist/{chunk-4S53OP2C.js → chunk-PGJYA6I3.js} +11 -11
- package/dist/{chunk-BMJGWQ5X.js → chunk-PHAZT6EB.js} +1 -1
- package/dist/{chunk-KCF6Q54R.js → chunk-PUTPYYE4.js} +1 -1
- package/dist/{chunk-NRGNEP3R.js → chunk-PVF32NRA.js} +2 -2
- package/dist/{chunk-DQHFS4AE.js → chunk-Q2TT62RQ.js} +3 -3
- package/dist/{chunk-EXXIFMUX.js → chunk-QBADK3LD.js} +13 -5
- package/dist/{chunk-2XZ76TF4.js → chunk-QJDMX53S.js} +1 -1
- package/dist/{chunk-F7B2YDPM.js → chunk-QNIID7EN.js} +6 -8
- package/dist/{chunk-5BWIBP2F.js → chunk-QTZICZWT.js} +4 -4
- package/dist/{chunk-NFNYYBD6.js → chunk-R2LP7QPB.js} +1 -1
- package/dist/{chunk-3ANC4SO2.js → chunk-RCGNYXWK.js} +14 -14
- package/dist/{chunk-FPRHOB5W.js → chunk-RFULFCYW.js} +2 -2
- package/dist/{chunk-26RTKW2U.js → chunk-RRT6URIP.js} +2 -2
- package/dist/{chunk-PLFOZIEH.js → chunk-SGWDJLFL.js} +1 -1
- package/dist/{chunk-QWBJABCA.js → chunk-T5HYPGST.js} +3 -3
- package/dist/{chunk-OM2WIZOR.js → chunk-TVZTTWU7.js} +2 -2
- package/dist/{chunk-QQLVSUO7.js → chunk-TY7EHE4Q.js} +2 -2
- package/dist/{chunk-OAV5ESA6.js → chunk-UIMXEY4U.js} +4 -4
- package/dist/{chunk-KWTTELUY.js → chunk-UVPLW55S.js} +37 -1
- package/dist/{chunk-EKZ5FGV7.js → chunk-VC4YMXUQ.js} +1 -1
- package/dist/{chunk-YY7ZJHL3.js → chunk-VCSQLM36.js} +4 -4
- package/dist/{chunk-MWTOYGIJ.js → chunk-VVXSMYXQ.js} +3 -3
- package/dist/{chunk-ZLG2E7GC.js → chunk-W4AR7UZH.js} +1 -1
- package/dist/{chunk-TULCSCC4.js → chunk-WFB4XPJR.js} +9 -9
- package/dist/{chunk-UHE44FC4.js → chunk-WGWKT7ME.js} +3 -3
- package/dist/{chunk-GKOF2RS3.js → chunk-WHX2OV4C.js} +1 -1
- package/dist/{chunk-27YDEBOP.js → chunk-WUY74LHU.js} +1 -1
- package/dist/{chunk-3WG7IC5Z.js → chunk-XD5T43S7.js} +1 -1
- package/dist/{chunk-RIAH7WEL.js → chunk-XEVAW42J.js} +9 -9
- package/dist/{chunk-NCSBBZQ5.js → chunk-XKNNZ4WR.js} +1 -1
- package/dist/{chunk-EUJSQHIL.js → chunk-XLP34AJR.js} +1 -1
- package/dist/{chunk-FOKS5HQ2.js → chunk-YDNBMPP3.js} +4 -4
- package/dist/{chunk-UHVB2TVW.js → chunk-YFWFCKKF.js} +149 -129
- package/dist/{chunk-N4CJSWTO.js → chunk-YOMFN6HH.js} +1 -1
- package/dist/{chunk-UV3I2TND.js → chunk-YQSVPHOS.js} +26 -36
- package/dist/{chunk-OTWFSHYH.js → chunk-YWH7HWDP.js} +269 -145
- package/dist/{chunk-YSN6HPD3.js → chunk-Z72VXQPN.js} +2 -2
- package/dist/{chunk-KG24ATFM.js → chunk-ZIF44RW2.js} +9 -10
- package/dist/{clean-SXRW77YG.js → clean-VB6BH3FV.js} +23 -23
- package/dist/cli.js +64 -64
- package/dist/{cloud-PUCWVAS2.js → cloud-7KRPD2K4.js} +4 -4
- package/dist/{cloud-LU4FVT33.js → cloud-A67BW6OH.js} +3 -3
- package/dist/{cloudrun-SXXONVD6.js → cloudrun-VKBARVVT.js} +11 -9
- package/dist/{compare-K65FNAEA.js → compare-SE55PMC3.js} +39 -39
- package/dist/{compiler-QISQISFV.js → compiler-WK7ABGRW.js} +5 -5
- package/dist/{component-YYCDOLP2.js → component-XT2AT3RY.js} +3 -3
- package/dist/{compositions-LCQTIYIU.js → compositions-ZZWLQNDQ.js} +20 -19
- package/dist/{contactSheet-CCHQAZLA.js → contactSheet-MXOASCDR.js} +4 -4
- package/dist/{curve-T7JAY3EM.js → curve-4RQQKZ2K.js} +15 -14
- package/dist/{cuts-E54SOAWH.js → cuts-M3QU2CBE.js} +16 -15
- package/dist/{delete-GLQNSOWH.js → delete-5ZZNPK5G.js} +5 -5
- package/dist/{deploy-SPMSEG67.js → deploy-VR5SQP4U.js} +5 -3
- package/dist/{describeProject-YPTJWL3O.js → describeProject-NU5BVVIA.js} +11 -11
- package/dist/{destroy-FMAAH4KQ.js → destroy-FFS62PAW.js} +5 -3
- package/dist/{deterministicFonts-OXGNMVJE.js → deterministicFonts-FQQNGORI.js} +4 -4
- package/dist/{diff-OT5SHVFD.js → diff-NQGTF6GR.js} +52 -47
- package/dist/{dist-T62DJJZX.js → dist-6GYOC3BU.js} +4 -4
- package/dist/{dist-RYTNYHMF.js → dist-APXZ5EN2.js} +2 -2
- package/dist/{dist-EO7BILWH.js → dist-B7IBHWIW.js} +16 -14
- package/dist/{doctor-L4SNKUBM.js → doctor-FATJGTPD.js} +15 -15
- package/dist/{energy-AXQGYZF6.js → energy-PHDK6SKL.js} +16 -15
- package/dist/{events-EBA6KHJV.js → events-25VQ2O66.js} +7 -7
- package/dist/{events-7QP5H6PW.js → events-OIWXSBZA.js} +21 -19
- package/dist/{events-5T25R4EH.js → events-RXVHG2NT.js} +2 -2
- package/dist/{execute-PTHC7Y5Q.js → execute-MKP4Z573.js} +31 -31
- package/dist/{extract-76UPXPJC.js → extract-YYNYXPOC.js} +16 -15
- package/dist/{face-YZON2N2E.js → face-JSTMFQRM.js} +17 -16
- package/dist/{feedback-KAYKPPHI.js → feedback-PY6LMZCX.js} +16 -16
- package/dist/{ffmpeg-T3KK5XKT.js → ffmpeg-KLIB55FK.js} +10 -10
- package/dist/{figma-NJ6CAJGV.js → figma-ACFOXVPM.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -16
- package/dist/{frames-KNR4CSB4.js → frames-BLZCBXO7.js} +18 -17
- package/dist/{generate-ISCPAKHT.js → generate-DMVEKZEV.js} +27 -26
- package/dist/{get-X7QNC3PE.js → get-3WZDQ5YM.js} +5 -5
- package/dist/{gpuPolicy-ZXN5S3HE.js → gpuPolicy-TT6UCOLQ.js} +10 -10
- package/dist/{grade-compare-XD3IONCL.js → grade-compare-F5DJ53XH.js} +41 -39
- package/dist/{heifImagePrep-EFBHDH4Z.js → heifImagePrep-UV23RWOG.js} +13 -13
- package/dist/{help-VUFIY5X4.js → help-QMP5KFYW.js} +1 -1
- package/dist/{history-OM3MHRB2.js → history-UOZ4RDEZ.js} +17 -14
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +76 -76
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-G64344ST.js → info-A6KSO64E.js} +16 -16
- package/dist/{init-2N6SDLZB.js → init-OQU46K3Q.js} +46 -42
- package/dist/{ink-T5BJE4D2.js → ink-HGRKLGII.js} +16 -15
- package/dist/{inspect-6I4YSARX.js → inspect-BKENKUXF.js} +38 -38
- package/dist/{installer-JNQKFCTN.js → installer-Z6FTR7BJ.js} +8 -8
- package/dist/{keyframes-PT3H7WHD.js → keyframes-UDQGWKPW.js} +10 -10
- package/dist/{lambda-NEQXIHUM.js → lambda-SHXQFHLE.js} +19 -19
- package/dist/{layout-FRWUKOGX.js → layout-CJAVQ4D3.js} +38 -38
- package/dist/{lint-GXPONOPU.js → lint-RAPNYPWS.js} +11 -11
- package/dist/{lintProject-J4YTLKPW.js → lintProject-JZRM7UKH.js} +2 -2
- package/dist/{list-JO7WSM6Y.js → list-4BKFMJQN.js} +5 -5
- package/dist/{localPage-XDWFSE4K.js → localPage-BJW2TP77.js} +11 -11
- package/dist/{login-XMFEIEXG.js → login-S5VZAGCI.js} +4 -4
- package/dist/{look-U77ADJ4V.js → look-V2I6BGUY.js} +16 -15
- package/dist/{manager-RNMX2WTR.js → manager-OS2FYJI5.js} +11 -11
- package/dist/{manager-ZRETV4LQ.js → manager-WQWU5VJ4.js} +2 -2
- package/dist/{measure-JNJAPVVN.js → measure-RO5R2SUZ.js} +11 -11
- package/dist/{media-treatment-MFNKKPM7.js → media-treatment-CS7BVMJW.js} +16 -16
- package/dist/{media-use-ZKHL2IN2.js → media-use-W3DGCKFB.js} +3 -3
- package/dist/{models-PGO2ERAU.js → models-ZOGYW2SC.js} +15 -15
- package/dist/{motionShot-AG4LR5Q5.js → motionShot-IMRI7W7T.js} +21 -21
- package/dist/{normalize-audio-FO3JCPD3.js → normalize-audio-HXTFAZUK.js} +11 -11
- package/dist/{open-ZI6KK3GM.js → open-LJDQ37KV.js} +21 -20
- package/dist/{parakeetRunner-CBO3HRL6.js → parakeetRunner-CKMSKDH6.js} +17 -17
- package/dist/{pipeline-VWVNH5ZC.js → pipeline-ZNCYOTUH.js} +13 -13
- package/dist/{plan-UHZYW3K2.js → plan-NCFS5T6W.js} +23 -23
- package/dist/{play-IVTXE4JW.js → play-5UZDFFXJ.js} +34 -28
- package/dist/{preflight-QJNKKMPE.js → preflight-H5XYFKFF.js} +12 -12
- package/dist/{present-NB6DAJ6K.js → present-EFXUFT5Y.js} +58 -43
- package/dist/{preview-FIWAZ5PX.js → preview-RV7ALGDQ.js} +30 -29
- package/dist/{probe-VQJOUG65.js → probe-UB6DM2Q3.js} +16 -15
- package/dist/{producer-NP6X5UBL.js → producer-2PKB5CW5.js} +1 -1
- package/dist/{progress-IY6U35WH.js → progress-S36VQBQW.js} +3 -1
- package/dist/{projectConfig-UVA26HJW.js → projectConfig-EUH5DILC.js} +11 -11
- package/dist/{publication-LYPU7NTZ.js → publication-VI2AXXKR.js} +6 -6
- package/dist/{publish-MRQ2K62E.js → publish-225GB7R4.js} +21 -21
- package/dist/{remove-background-RG6DCWOW.js → remove-background-W2RLEQHJ.js} +14 -14
- package/dist/{render-CM4MCNVA.js → render-KXKBSNOQ.js} +9 -8
- package/dist/{render-XWBMMSC5.js → render-WMWCCMWI.js} +61 -49
- package/dist/{render-6B7YPN7H.js → render-Y3JKWEN4.js} +33 -33
- package/dist/{render-batch-Y3RRNDNJ.js → render-batch-GK6CDHKN.js} +9 -8
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-K6VAEZVH.js → resolver-5CRZD5XB.js} +8 -8
- package/dist/{reverse-5RDRLKAP.js → reverse-YPYKKQSJ.js} +1 -1
- package/dist/{run-OQK3QU4I.js → run-FQ76QNES.js} +4 -4
- package/dist/{screenshotCapture-VDITRAK2.js → screenshotCapture-R6VE66NR.js} +13 -13
- package/dist/{service-C3UT4LYP.js → service-P3IKHZFC.js} +14 -14
- package/dist/{share-JU3IDHUV.js → share-BU4VQL3B.js} +17 -17
- package/dist/{sherpa-Z2Z4XLXV.js → sherpa-44GLXY3A.js} +16 -16
- package/dist/sherpaWorker.js +3 -1
- package/dist/{sites-QK3F4AUS.js → sites-TAX3JLNX.js} +3 -1
- package/dist/skills/hyperframes/SKILL.md +2 -2
- package/dist/skills/hyperframes/references/format.md +11 -2
- package/dist/skills/hyperframes/references/overlays.md +1 -1
- package/dist/skills/hyperframes/references/plugin-installation.md +33 -22
- package/dist/skills/hyperframes/references/sound.md +1 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +18 -13
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +64 -40
- package/dist/skills/hyperframes-cli/SKILL.md +2 -2
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +4 -1
- package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +62 -1
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +9 -1
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +16 -0
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +27 -2
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +40 -1
- package/dist/skills/media-use/scripts/lib/local-media-search.mjs +52 -23
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +73 -4
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +3 -1
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +16 -1
- package/dist/skills/media-use/scripts/resolve.mjs +4 -14
- package/dist/skills/media-use/scripts/transcribe.mjs +19 -3
- package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -0
- package/dist/{skills-24YEOJGP.js → skills-H4OZQ6VR.js} +10 -10
- package/dist/{skillsUpdateCheck-5R4JJ27G.js → skillsUpdateCheck-U3XZX7UE.js} +3 -3
- package/dist/{snapshot-T4REEKFX.js → snapshot-FJQVXBFB.js} +53 -51
- package/dist/{src-RMJVAEKT.js → src-O6BHCR4O.js} +15 -15
- package/dist/{src-EKGFNTTY.js → src-PAM5LJ6K.js} +9 -9
- package/dist/{start-E5RIH3KS.js → start-R7CYOQ5S.js} +25 -24
- package/dist/{state-7OIPR4BG.js → state-YFRV6TQH.js} +3 -1
- package/dist/{staticProjectServer-LEM5W3S5.js → staticProjectServer-4X2OSUN4.js} +25 -25
- package/dist/{status-CSHJWWOP.js → status-VN3FAN4M.js} +15 -15
- package/dist/studio/assets/{hyperframes-player-BroIQA4E.js → hyperframes-player-SRLbmEDB.js} +1 -1
- package/dist/studio/assets/{index-Be7DZynj.js → index-CgyBYe2L.js} +130 -130
- package/dist/studio/assets/{index-CiF0D62S.js → index-yuN1pZrv.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-RXcvblHS.js → pausedVideoDecoder-DtvSF8bV.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-COJYCMRI.js → studio-api-V3TMIWFB.js} +16 -14
- package/dist/{studioSelectionClient-W2S3H2VO.js → studioSelectionClient-S46TNAAZ.js} +2 -1
- package/dist/{studioServer-62ZTBLFM.js → studioServer-GY2ZTR2E.js} +85 -73
- package/dist/{sync-CLRYHWYE.js → sync-2V3JYCDE.js} +16 -15
- package/dist/{synthesize-Z2H32QPU.js → synthesize-TQELPMS5.js} +3 -3
- package/dist/{telemetry-DWA36DFX.js → telemetry-KMRZ3IJV.js} +7 -7
- package/dist/{templates-LXMQR35F.js → templates-EEFY4FPS.js} +125 -33
- package/dist/{timeline-LMKTDKRT.js → timeline-HSRGYZ3Q.js} +23 -23
- package/dist/{tokens-VJ765KFG.js → tokens-NYFORL53.js} +2 -2
- package/dist/{transcribe-TICRK4IY.js → transcribe-CNIQYQ52.js} +31 -30
- package/dist/{transcribe-3WASFP7Z.js → transcribe-GFFWRWK3.js} +13 -13
- package/dist/{tts-5YJV6UXX.js → tts-NPMDYSXP.js} +1 -1
- package/dist/{update-Q26QGCBW.js → update-BDMPUNNA.js} +12 -12
- package/dist/{updateCheck-7R4S46TT.js → updateCheck-43UZ2USJ.js} +2 -2
- package/dist/{upgrade-76TFHAGI.js → upgrade-Z5B57UWL.js} +5 -5
- package/dist/{urlDownloader-AE4UQI5A.js → urlDownloader-KDZ76BKM.js} +9 -9
- package/dist/{validate-BEYREWEL.js → validate-UQKZNR5K.js} +30 -30
- package/dist/{video-47AVLNWM.js → video-VR4363OG.js} +12 -12
- package/dist/{voices-5O6OAL6H.js → voices-GUWAM3TH.js} +25 -24
- package/dist/warmCheck.js +50 -48
- package/package.json +2 -1
- package/dist/chunk-XGEJPKRY.js +0 -5069
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R2LP7QPB.js";
|
|
10
10
|
import {
|
|
11
11
|
extractAudioMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6LONEKJR.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProjectRelativeSrc
|
|
15
15
|
} from "./chunk-6EMFSRTW.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectMedia.ts
|
|
18
18
|
async function collectProjectMedia(projectDir) {
|
|
19
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
19
|
+
const { bundleToSingleHtml } = await import("./compiler-WK7ABGRW.js");
|
|
20
20
|
const html = await bundleToSingleHtml(projectDir);
|
|
21
21
|
const producer = await loadProducer();
|
|
22
22
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
reportVariableIssues,
|
|
12
12
|
resolveVariablesArg,
|
|
13
13
|
validateVariablesAgainstProject
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-664QGMR4.js";
|
|
15
15
|
import {
|
|
16
16
|
applyRenderEnvironment,
|
|
17
17
|
renderOutputDirectory
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4GPKDDQZ.js";
|
|
19
19
|
import {
|
|
20
20
|
makeOutputFolder
|
|
21
21
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
renderMotionBlurResult,
|
|
28
28
|
trackRenderPreflightRejected
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RFULFCYW.js";
|
|
30
30
|
import {
|
|
31
31
|
c
|
|
32
32
|
} from "./chunk-JCNPHRGX.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
PRORES_PROFILES,
|
|
35
35
|
REFERENCE_BACKGROUND_FIELD,
|
|
36
36
|
referenceBackgroundResult
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6LONEKJR.js";
|
|
38
38
|
import {
|
|
39
39
|
runRenderSetupWorker
|
|
40
40
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
lintProject,
|
|
46
46
|
shouldBlockRender
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-YQSVPHOS.js";
|
|
48
48
|
import {
|
|
49
49
|
CliRuntimeError,
|
|
50
50
|
failCommand,
|
|
@@ -87,7 +87,7 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
87
87
|
let batchModule;
|
|
88
88
|
let preparedBatch;
|
|
89
89
|
if (plan.batchPath) {
|
|
90
|
-
batchModule = await import("./batchRender-
|
|
90
|
+
batchModule = await import("./batchRender-Z7ESYQDS.js");
|
|
91
91
|
try {
|
|
92
92
|
preparedBatch = batchModule.prepareBatchRender({
|
|
93
93
|
batchPath: plan.batchPath,
|
|
@@ -206,8 +206,8 @@ function assertRenderActive(cancellation) {
|
|
|
206
206
|
cancellation?.signal.throwIfAborted();
|
|
207
207
|
}
|
|
208
208
|
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
209
|
-
const { checkDisk } = await import("./preflight-
|
|
210
|
-
await (await import("./manager-
|
|
209
|
+
const { checkDisk } = await import("./preflight-H5XYFKFF.js");
|
|
210
|
+
await (await import("./manager-WQWU5VJ4.js")).sweepKilledInstalls();
|
|
211
211
|
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
212
212
|
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
213
213
|
if (low.length === 0) return;
|
|
@@ -215,7 +215,7 @@ async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
|
215
215
|
failCommand();
|
|
216
216
|
}
|
|
217
217
|
async function ensureRenderBrowser(plan, signal) {
|
|
218
|
-
const { ensureBrowser } = await import("./manager-
|
|
218
|
+
const { ensureBrowser } = await import("./manager-WQWU5VJ4.js");
|
|
219
219
|
let browserSpinner;
|
|
220
220
|
try {
|
|
221
221
|
if (plan.effectiveQuiet) {
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-25VQ2O66.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B6BWLFAF.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BUG5AOPJ.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6LONEKJR.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-PAM5LJ6K.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PGHROSLJ.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TARGET_LUFS,
|
|
25
25
|
absoluteLoudnessPlan,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requestedProjectPath,
|
|
29
29
|
requiredFfmpeg,
|
|
30
30
|
resolveLocalAudioPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BPYNILOZ.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
scanProjectMedia,
|
|
57
57
|
shouldPrewarmProxy,
|
|
58
58
|
waitForProxy
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-CLRHKYOK.js";
|
|
60
60
|
import {
|
|
61
61
|
probeAudioTrack,
|
|
62
62
|
probeMediaMetadata
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-W4AR7UZH.js";
|
|
64
64
|
import {
|
|
65
65
|
HistoryBusyError,
|
|
66
66
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
resolveProjectSignature,
|
|
76
76
|
serveWhileOpen,
|
|
77
77
|
settledFileTag
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-YWH7HWDP.js";
|
|
79
79
|
import {
|
|
80
80
|
findTimelineScript,
|
|
81
81
|
parseGsapScriptAcorn
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
resolveWithinProject as resolveWithinProject2,
|
|
113
113
|
resolveWritableWithinProject,
|
|
114
114
|
walkDir
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-3GVHDPEP.js";
|
|
116
116
|
import {
|
|
117
117
|
PREVIEW_FOR_ANOTHER_SITE_META,
|
|
118
118
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
ensureHfIds,
|
|
131
131
|
stampHfIdsInPlace,
|
|
132
132
|
stripSdrPngColourTags
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-L5NPBGQB.js";
|
|
134
134
|
import {
|
|
135
135
|
atomicTempPath,
|
|
136
136
|
catchHeldRename,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
createStagingDir,
|
|
139
139
|
replaceFileAtomically,
|
|
140
140
|
retryWindowsHold
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-PUTPYYE4.js";
|
|
142
142
|
import {
|
|
143
143
|
GSAP_BASE_URL_META,
|
|
144
144
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
normalizeGsapLocalRoot,
|
|
157
157
|
parseFps,
|
|
158
158
|
parsePreviewProxyBox
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-JQKCRTVQ.js";
|
|
160
160
|
import {
|
|
161
161
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
162
162
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
resolveRateSpec,
|
|
172
172
|
sourceTimeAt,
|
|
173
173
|
stripEmbeddedRuntimeScripts
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-56T2OGYR.js";
|
|
175
175
|
import {
|
|
176
176
|
ProjectRootMissingError,
|
|
177
177
|
folderGone,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
mkdirWithinProject,
|
|
181
181
|
realpath,
|
|
182
182
|
resolveWithinProject
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-UVPLW55S.js";
|
|
184
184
|
import {
|
|
185
185
|
isWithinProjectRoot,
|
|
186
186
|
readProjectFile
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
decodeAuthoredAttribute,
|
|
204
204
|
scanHtmlOpeningTags,
|
|
205
205
|
unrollComputedTimeline
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-BA33QNKK.js";
|
|
207
207
|
import {
|
|
208
208
|
parseHTML
|
|
209
209
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -4070,7 +4070,7 @@ import { join as join14, relative as relative6, resolve as resolve6 } from "path
|
|
|
4070
4070
|
import { spawn as spawn2 } from "child_process";
|
|
4071
4071
|
import { closeSync as closeSync3, constants as constants2, fstatSync as fstatSync3, openSync as openSync3, readSync } from "fs";
|
|
4072
4072
|
import { streamSSE as streamSSE2 } from "hono/streaming";
|
|
4073
|
-
import { existsSync as existsSync10 } from "fs";
|
|
4073
|
+
import { existsSync as existsSync10, statSync as statSync10 } from "fs";
|
|
4074
4074
|
import { basename as basename3, dirname as dirname8, extname, join as join15, posix } from "path";
|
|
4075
4075
|
import { existsSync as existsSync11, readFileSync as readFileSync13 } from "fs";
|
|
4076
4076
|
import { homedir } from "os";
|
|
@@ -5966,7 +5966,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5966
5966
|
let block = extractGsapScriptBlock(html);
|
|
5967
5967
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5968
5968
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5969
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5969
|
+
const { GSAP_CDN } = await import("./dist-6GYOC3BU.js");
|
|
5970
5970
|
const bootstrap = [
|
|
5971
5971
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5972
5972
|
"<script>",
|
|
@@ -8597,11 +8597,112 @@ ${etag}`;
|
|
|
8597
8597
|
});
|
|
8598
8598
|
});
|
|
8599
8599
|
}
|
|
8600
|
-
|
|
8600
|
+
var ThumbnailGenerationCoordinator = class {
|
|
8601
|
+
constructor(concurrency = 1) {
|
|
8602
|
+
this.concurrency = concurrency;
|
|
8603
|
+
if (!Number.isInteger(concurrency) || concurrency < 1) {
|
|
8604
|
+
throw new RangeError("Thumbnail concurrency must be a positive integer");
|
|
8605
|
+
}
|
|
8606
|
+
}
|
|
8607
|
+
concurrency;
|
|
8608
|
+
entries = /* @__PURE__ */ new Map();
|
|
8609
|
+
queue = [];
|
|
8610
|
+
activeEntries = /* @__PURE__ */ new Set();
|
|
8611
|
+
active = 0;
|
|
8612
|
+
acquire(key, signal, work) {
|
|
8613
|
+
if (signal.aborted) return Promise.reject(new DOMException("Aborted", "AbortError"));
|
|
8614
|
+
let entry = this.entries.get(key);
|
|
8615
|
+
if (!entry) {
|
|
8616
|
+
let resolve7;
|
|
8617
|
+
let reject;
|
|
8618
|
+
const promise = new Promise((resolvePromise, rejectPromise) => {
|
|
8619
|
+
resolve7 = resolvePromise;
|
|
8620
|
+
reject = rejectPromise;
|
|
8621
|
+
});
|
|
8622
|
+
entry = {
|
|
8623
|
+
key,
|
|
8624
|
+
controller: new AbortController(),
|
|
8625
|
+
leases: 0,
|
|
8626
|
+
state: "queued",
|
|
8627
|
+
work,
|
|
8628
|
+
promise,
|
|
8629
|
+
resolve: resolve7,
|
|
8630
|
+
reject
|
|
8631
|
+
};
|
|
8632
|
+
this.entries.set(key, entry);
|
|
8633
|
+
this.queue.push(entry);
|
|
8634
|
+
}
|
|
8635
|
+
entry.leases++;
|
|
8636
|
+
this.pump();
|
|
8637
|
+
return this.lease(entry, signal);
|
|
8638
|
+
}
|
|
8639
|
+
protectedKeys() {
|
|
8640
|
+
return /* @__PURE__ */ new Set([...this.entries.keys(), ...[...this.activeEntries].map((entry) => entry.key)]);
|
|
8641
|
+
}
|
|
8642
|
+
lease(entry, signal) {
|
|
8643
|
+
return new Promise((resolve7, reject) => {
|
|
8644
|
+
let released = false;
|
|
8645
|
+
const release = () => {
|
|
8646
|
+
if (released) return;
|
|
8647
|
+
released = true;
|
|
8648
|
+
signal.removeEventListener("abort", onAbort);
|
|
8649
|
+
entry.leases--;
|
|
8650
|
+
if (entry.leases > 0 || !this.entries.has(entry.key)) return;
|
|
8651
|
+
entry.controller.abort();
|
|
8652
|
+
if (this.entries.get(entry.key) === entry) this.entries.delete(entry.key);
|
|
8653
|
+
if (entry.state === "queued") {
|
|
8654
|
+
const index = this.queue.indexOf(entry);
|
|
8655
|
+
if (index >= 0) this.queue.splice(index, 1);
|
|
8656
|
+
entry.reject(new DOMException("Aborted", "AbortError"));
|
|
8657
|
+
}
|
|
8658
|
+
};
|
|
8659
|
+
const onAbort = () => {
|
|
8660
|
+
release();
|
|
8661
|
+
reject(new DOMException("Aborted", "AbortError"));
|
|
8662
|
+
};
|
|
8663
|
+
signal.addEventListener("abort", onAbort, { once: true });
|
|
8664
|
+
entry.promise.then(
|
|
8665
|
+
(value) => {
|
|
8666
|
+
release();
|
|
8667
|
+
resolve7(value);
|
|
8668
|
+
},
|
|
8669
|
+
(reason) => {
|
|
8670
|
+
release();
|
|
8671
|
+
reject(reason);
|
|
8672
|
+
}
|
|
8673
|
+
);
|
|
8674
|
+
});
|
|
8675
|
+
}
|
|
8676
|
+
pump() {
|
|
8677
|
+
while (this.active < this.concurrency) {
|
|
8678
|
+
const entry = this.queue.shift();
|
|
8679
|
+
if (!entry) return;
|
|
8680
|
+
if (entry.leases === 0) continue;
|
|
8681
|
+
entry.state = "active";
|
|
8682
|
+
this.activeEntries.add(entry);
|
|
8683
|
+
this.active++;
|
|
8684
|
+
void this.run(entry);
|
|
8685
|
+
}
|
|
8686
|
+
}
|
|
8687
|
+
async run(entry) {
|
|
8688
|
+
try {
|
|
8689
|
+
entry.resolve(await entry.work(entry.controller.signal));
|
|
8690
|
+
} catch (error) {
|
|
8691
|
+
entry.reject(error);
|
|
8692
|
+
} finally {
|
|
8693
|
+
this.active--;
|
|
8694
|
+
this.activeEntries.delete(entry);
|
|
8695
|
+
if (this.entries.get(entry.key) === entry) this.entries.delete(entry.key);
|
|
8696
|
+
this.pump();
|
|
8697
|
+
}
|
|
8698
|
+
}
|
|
8699
|
+
};
|
|
8700
|
+
var thumbnailGenerationCoordinator = new ThumbnailGenerationCoordinator(1);
|
|
8701
|
+
async function collectProjectFindings(adapter, projectDir, signal) {
|
|
8601
8702
|
const findings = [];
|
|
8602
8703
|
const coveredFiles = /* @__PURE__ */ new Set();
|
|
8603
8704
|
if (!adapter.lintProject) return { findings, coveredFiles };
|
|
8604
|
-
const result = await adapter.lintProject(projectDir);
|
|
8705
|
+
const result = await adapter.lintProject(projectDir, signal);
|
|
8605
8706
|
for (const entry of result.results) {
|
|
8606
8707
|
coveredFiles.add(entry.file);
|
|
8607
8708
|
for (const finding of entry.result.findings) {
|
|
@@ -8626,22 +8727,34 @@ async function lintUncoveredHtml(adapter, projectDir, htmlFiles, coveredFiles) {
|
|
|
8626
8727
|
}
|
|
8627
8728
|
return findings;
|
|
8628
8729
|
}
|
|
8730
|
+
async function lintProjectDir(adapter, projectDir, signal) {
|
|
8731
|
+
const htmlFiles = walkDir(projectDir).filter(
|
|
8732
|
+
(f) => f.endsWith(".html") && !isInHiddenOrVendorDir(f)
|
|
8733
|
+
);
|
|
8734
|
+
const projectLint = await collectProjectFindings(adapter, projectDir, signal);
|
|
8735
|
+
const extraFindings = await lintUncoveredHtml(
|
|
8736
|
+
adapter,
|
|
8737
|
+
projectDir,
|
|
8738
|
+
htmlFiles,
|
|
8739
|
+
projectLint.coveredFiles
|
|
8740
|
+
);
|
|
8741
|
+
return [...projectLint.findings, ...extraFindings];
|
|
8742
|
+
}
|
|
8743
|
+
var MAX_CONCURRENT_LINT_RUNS = 2;
|
|
8629
8744
|
function registerLintRoutes(api, adapter) {
|
|
8745
|
+
const runs = new ThumbnailGenerationCoordinator(MAX_CONCURRENT_LINT_RUNS);
|
|
8630
8746
|
api.get("/projects/:id/lint", async (c) => {
|
|
8631
8747
|
const project = await adapter.resolveProject(c.req.param("id"));
|
|
8632
8748
|
if (!project) return c.json({ error: "not found" }, 404);
|
|
8633
8749
|
try {
|
|
8634
|
-
const
|
|
8635
|
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
adapter,
|
|
8640
|
-
project.dir,
|
|
8641
|
-
htmlFiles,
|
|
8642
|
-
projectLint.coveredFiles
|
|
8750
|
+
const signature = await resolveProjectSignature(adapter, project.dir);
|
|
8751
|
+
const key = JSON.stringify([project.dir, signature]);
|
|
8752
|
+
const findings = await runs.acquire(
|
|
8753
|
+
key,
|
|
8754
|
+
c.req.raw.signal,
|
|
8755
|
+
(signal) => lintProjectDir(adapter, project.dir, signal)
|
|
8643
8756
|
);
|
|
8644
|
-
return c.json({ findings
|
|
8757
|
+
return c.json({ findings });
|
|
8645
8758
|
} catch (err) {
|
|
8646
8759
|
const msg = err instanceof Error ? err.message : String(err);
|
|
8647
8760
|
return c.json({ error: `Lint failed: ${msg}` }, 500);
|
|
@@ -8937,107 +9050,6 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8937
9050
|
return c.json({ renders: files.map(({ path: _path, ...render }) => render) });
|
|
8938
9051
|
});
|
|
8939
9052
|
}
|
|
8940
|
-
var ThumbnailGenerationCoordinator = class {
|
|
8941
|
-
constructor(concurrency = 1) {
|
|
8942
|
-
this.concurrency = concurrency;
|
|
8943
|
-
if (!Number.isInteger(concurrency) || concurrency < 1) {
|
|
8944
|
-
throw new RangeError("Thumbnail concurrency must be a positive integer");
|
|
8945
|
-
}
|
|
8946
|
-
}
|
|
8947
|
-
concurrency;
|
|
8948
|
-
entries = /* @__PURE__ */ new Map();
|
|
8949
|
-
queue = [];
|
|
8950
|
-
activeEntries = /* @__PURE__ */ new Set();
|
|
8951
|
-
active = 0;
|
|
8952
|
-
acquire(key, signal, work) {
|
|
8953
|
-
if (signal.aborted) return Promise.reject(new DOMException("Aborted", "AbortError"));
|
|
8954
|
-
let entry = this.entries.get(key);
|
|
8955
|
-
if (!entry) {
|
|
8956
|
-
let resolve7;
|
|
8957
|
-
let reject;
|
|
8958
|
-
const promise = new Promise((resolvePromise, rejectPromise) => {
|
|
8959
|
-
resolve7 = resolvePromise;
|
|
8960
|
-
reject = rejectPromise;
|
|
8961
|
-
});
|
|
8962
|
-
entry = {
|
|
8963
|
-
key,
|
|
8964
|
-
controller: new AbortController(),
|
|
8965
|
-
leases: 0,
|
|
8966
|
-
state: "queued",
|
|
8967
|
-
work,
|
|
8968
|
-
promise,
|
|
8969
|
-
resolve: resolve7,
|
|
8970
|
-
reject
|
|
8971
|
-
};
|
|
8972
|
-
this.entries.set(key, entry);
|
|
8973
|
-
this.queue.push(entry);
|
|
8974
|
-
}
|
|
8975
|
-
entry.leases++;
|
|
8976
|
-
this.pump();
|
|
8977
|
-
return this.lease(entry, signal);
|
|
8978
|
-
}
|
|
8979
|
-
protectedKeys() {
|
|
8980
|
-
return /* @__PURE__ */ new Set([...this.entries.keys(), ...[...this.activeEntries].map((entry) => entry.key)]);
|
|
8981
|
-
}
|
|
8982
|
-
lease(entry, signal) {
|
|
8983
|
-
return new Promise((resolve7, reject) => {
|
|
8984
|
-
let released = false;
|
|
8985
|
-
const release = () => {
|
|
8986
|
-
if (released) return;
|
|
8987
|
-
released = true;
|
|
8988
|
-
signal.removeEventListener("abort", onAbort);
|
|
8989
|
-
entry.leases--;
|
|
8990
|
-
if (entry.leases > 0 || !this.entries.has(entry.key)) return;
|
|
8991
|
-
entry.controller.abort();
|
|
8992
|
-
if (this.entries.get(entry.key) === entry) this.entries.delete(entry.key);
|
|
8993
|
-
if (entry.state === "queued") {
|
|
8994
|
-
const index = this.queue.indexOf(entry);
|
|
8995
|
-
if (index >= 0) this.queue.splice(index, 1);
|
|
8996
|
-
entry.reject(new DOMException("Aborted", "AbortError"));
|
|
8997
|
-
}
|
|
8998
|
-
};
|
|
8999
|
-
const onAbort = () => {
|
|
9000
|
-
release();
|
|
9001
|
-
reject(new DOMException("Aborted", "AbortError"));
|
|
9002
|
-
};
|
|
9003
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
9004
|
-
entry.promise.then(
|
|
9005
|
-
(value) => {
|
|
9006
|
-
release();
|
|
9007
|
-
resolve7(value);
|
|
9008
|
-
},
|
|
9009
|
-
(reason) => {
|
|
9010
|
-
release();
|
|
9011
|
-
reject(reason);
|
|
9012
|
-
}
|
|
9013
|
-
);
|
|
9014
|
-
});
|
|
9015
|
-
}
|
|
9016
|
-
pump() {
|
|
9017
|
-
while (this.active < this.concurrency) {
|
|
9018
|
-
const entry = this.queue.shift();
|
|
9019
|
-
if (!entry) return;
|
|
9020
|
-
if (entry.leases === 0) continue;
|
|
9021
|
-
entry.state = "active";
|
|
9022
|
-
this.activeEntries.add(entry);
|
|
9023
|
-
this.active++;
|
|
9024
|
-
void this.run(entry);
|
|
9025
|
-
}
|
|
9026
|
-
}
|
|
9027
|
-
async run(entry) {
|
|
9028
|
-
try {
|
|
9029
|
-
entry.resolve(await entry.work(entry.controller.signal));
|
|
9030
|
-
} catch (error) {
|
|
9031
|
-
entry.reject(error);
|
|
9032
|
-
} finally {
|
|
9033
|
-
this.active--;
|
|
9034
|
-
this.activeEntries.delete(entry);
|
|
9035
|
-
if (this.entries.get(entry.key) === entry) this.entries.delete(entry.key);
|
|
9036
|
-
this.pump();
|
|
9037
|
-
}
|
|
9038
|
-
}
|
|
9039
|
-
};
|
|
9040
|
-
var thumbnailGenerationCoordinator = new ThumbnailGenerationCoordinator(1);
|
|
9041
9053
|
var MAX_SOURCE_BYTES = 64 * 1024 * 1024;
|
|
9042
9054
|
var MAX_CACHE_BYTES = 8 * 1024 * 1024;
|
|
9043
9055
|
function retryingSharpLoader(adapter) {
|
|
@@ -10164,6 +10176,7 @@ var IMAGE_EXTENSIONS = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp"
|
|
|
10164
10176
|
var VIDEO_OUTPUT_EXTENSIONS = /* @__PURE__ */ new Set([".webm", ".mov"]);
|
|
10165
10177
|
var QUALITIES = /* @__PURE__ */ new Set(["fast", "balanced", "best"]);
|
|
10166
10178
|
var DEVICES = /* @__PURE__ */ new Set(["auto", "cpu", "coreml", "cuda"]);
|
|
10179
|
+
var MAX_CONCURRENT_METADATA_PROBES = 4;
|
|
10167
10180
|
function isVideoPath(path) {
|
|
10168
10181
|
return VIDEO_EXTENSIONS.has(extname(path).toLowerCase());
|
|
10169
10182
|
}
|
|
@@ -10223,6 +10236,7 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
10223
10236
|
const mediaJobs = /* @__PURE__ */ new Map();
|
|
10224
10237
|
const TTL_MS = 3e5;
|
|
10225
10238
|
const readMediaMetadata = options.probeMediaMetadata ?? probeMediaMetadata;
|
|
10239
|
+
const probes = new ThumbnailGenerationCoordinator(MAX_CONCURRENT_METADATA_PROBES);
|
|
10226
10240
|
function cleanupFinishedJobs() {
|
|
10227
10241
|
forgetJobsFinishedLongerThan(
|
|
10228
10242
|
TTL_MS,
|
|
@@ -10241,8 +10255,11 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
10241
10255
|
}
|
|
10242
10256
|
const filePath = resolveWithinProject2(project.dir, assetPath);
|
|
10243
10257
|
if (!filePath) return c.json({ error: "forbidden" }, 403);
|
|
10244
|
-
|
|
10245
|
-
return c.json({
|
|
10258
|
+
const stat2 = statSync10(filePath, { throwIfNoEntry: false });
|
|
10259
|
+
if (!stat2) return c.json({ error: "media not found" }, 404);
|
|
10260
|
+
const key = JSON.stringify([filePath, stat2.dev, stat2.ino, stat2.size, stat2.mtimeMs]);
|
|
10261
|
+
const metadata = await probes.acquire(key, c.req.raw.signal, () => readMediaMetadata(filePath));
|
|
10262
|
+
return c.json({ path: assetPath, metadata });
|
|
10246
10263
|
});
|
|
10247
10264
|
api.post(
|
|
10248
10265
|
"/projects/:id/media/remove-background",
|
|
@@ -10831,6 +10848,9 @@ function createStudioApi(adapter, options = {}) {
|
|
|
10831
10848
|
api.use("/projects/:id/thumbnail/*", refuseForAnotherSite("thumbnail"));
|
|
10832
10849
|
api.use("/projects/:id/waveform/*", refuseForAnotherSite("waveform"));
|
|
10833
10850
|
api.use("/projects/:id/peaks/*", refuseForAnotherSite("peaks"));
|
|
10851
|
+
api.use("/projects/:id/image-thumbnail/*", refuseForAnotherSite("image thumbnail"));
|
|
10852
|
+
api.use("/projects/:id/media/metadata", refuseForAnotherSite("media metadata"));
|
|
10853
|
+
api.use("/projects/:id/lint", refuseForAnotherSite("lint"));
|
|
10834
10854
|
api.use(async function rejectCrossOriginWrites(c, next) {
|
|
10835
10855
|
if (c.req.method === "GET" || c.req.method === "HEAD" || c.req.method === "OPTIONS") {
|
|
10836
10856
|
return next();
|