hyperframes 0.9.32 → 0.9.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/hyperframes.mjs +10 -0
- package/dist/{add-HYI4YJC5.js → add-NBOJ2UA3.js} +18 -17
- package/dist/{agentPromptGenerator-JAQNBEUZ.js → agentPromptGenerator-3JOLQXTX.js} +11 -11
- package/dist/{animatedGifPrep-DVYRCZVR.js → animatedGifPrep-VI5CFYCR.js} +10 -10
- package/dist/api.js +49 -48
- package/dist/{appHistory-WZIHFCPK.js → appHistory-535MKSWI.js} +2 -2
- package/dist/{asset-7FG3M3FQ.js → asset-NYULKN5A.js} +2 -2
- package/dist/{assetCataloger-QDQZYHUC.js → assetCataloger-AWJMEMX7.js} +12 -12
- package/dist/{audio-R6ZG62DU.js → audio-QN5YYFOA.js} +31 -30
- package/dist/{auth-IPDYZXOG.js → auth-LHUBRGIH.js} +4 -4
- package/dist/{autoUpdate-GAEDDZRN.js → autoUpdate-5M3JGEFS.js} +3 -3
- package/dist/{avatars-A45VFUZ4.js → avatars-DAB2KILV.js} +19 -18
- package/dist/{backgroundChecks-US74BS6V.js → backgroundChecks-3NQOCEDM.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-VBSYVQA7.js → batchRender-EPRIJZVT.js} +4 -4
- package/dist/{beats-UPJ3KANG.js → beats-ZCPQEIFG.js} +14 -14
- package/dist/{benchmark-2RWYJGL2.js → benchmark-7OVOBGQX.js} +11 -11
- package/dist/{billing-MD66MJTA.js → billing-7K6S23FP.js} +19 -18
- package/dist/{browser-JXCS62NX.js → browser-CP76THCA.js} +10 -9
- package/dist/{bundleWithLocalizedFonts-RAD7BNJF.js → bundleWithLocalizedFonts-MRCRI676.js} +1 -1
- package/dist/{capture-M6DT5WZT.js → capture-B4B72PIK.js} +4 -4
- package/dist/{capture-DJ4WRP62.js → capture-VAE27MNW.js} +51 -31
- package/dist/{captureCompositionFrame-IRXG7ZFU.js → captureCompositionFrame-YAOQTG6R.js} +18 -18
- package/dist/{captureFile-Y2ZMB7HK.js → captureFile-P4BDKVJH.js} +2 -2
- package/dist/{catalog-GW45OWKU.js → catalog-TUZGNHN6.js} +18 -17
- package/dist/{catch-up-YKJQ4IYC.js → catch-up-GMUF3JXI.js} +11 -11
- package/dist/{check-7QTKMPGA.js → check-CHCV573Z.js} +51 -51
- package/dist/{checkAudio-7WHUYGUZ.js → checkAudio-JJZN37WT.js} +19 -19
- package/dist/{checkBrowser-USAOWTAF.js → checkBrowser-SK7GFN7U.js} +44 -44
- package/dist/{chunk-X6DWLN55.js → chunk-2HDVXVUA.js} +8 -4
- package/dist/{chunk-JMV63CNH.js → chunk-2JXJQ3ZQ.js} +2 -2
- package/dist/{chunk-6BI6URO2.js → chunk-2JZU6DYH.js} +5 -4
- package/dist/{chunk-SXOIG6VG.js → chunk-2OP5HU5S.js} +284 -192
- package/dist/{chunk-KRWPTZBY.js → chunk-3FQYFVWA.js} +99 -25
- package/dist/{chunk-G7NKYELQ.js → chunk-3K4THQHY.js} +4 -4
- package/dist/{chunk-SIRYW7SY.js → chunk-3P4OYIBA.js} +2 -2
- package/dist/{chunk-WTO4DHBH.js → chunk-3XJ42WUG.js} +1 -1
- package/dist/{chunk-XPT4GC6X.js → chunk-45IPAGED.js} +7 -7
- package/dist/{chunk-HWMNSWEA.js → chunk-4MVWA7NJ.js} +6 -6
- package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
- package/dist/{chunk-6MTSP2XE.js → chunk-4TQS6ZSL.js} +7 -7
- package/dist/{chunk-5GXMZIQZ.js → chunk-4WXLBRT5.js} +31 -22
- package/dist/{chunk-YIE5FU73.js → chunk-4Y4VYZRO.js} +37 -3
- package/dist/{chunk-K72X2YXR.js → chunk-52CUHVEA.js} +4 -4
- package/dist/{chunk-TLUDJLBN.js → chunk-55I56MXF.js} +1 -1
- package/dist/{chunk-2T7EDEKE.js → chunk-5QPYUTV3.js} +8 -8
- package/dist/{chunk-WLNQAJQC.js → chunk-5SXAEHZT.js} +2 -2
- package/dist/{chunk-77UB5EHM.js → chunk-5WK76INI.js} +1 -1
- package/dist/{chunk-5VN7ZXJR.js → chunk-5ZTB6QIJ.js} +3 -3
- package/dist/{chunk-ZIYXPDKY.js → chunk-65PFUPLX.js} +1 -1
- package/dist/{chunk-LHFBKUVY.js → chunk-6FP6HBG4.js} +2 -2
- package/dist/{chunk-YCTWMO3G.js → chunk-6HG3XABE.js} +1 -1
- package/dist/{chunk-LJMTEZOP.js → chunk-6K5KVYOQ.js} +16 -16
- package/dist/{chunk-34S7GYVK.js → chunk-6OYPVALW.js} +15 -8
- package/dist/{chunk-G2XAFJ2B.js → chunk-74PKHC3W.js} +1 -1
- package/dist/{chunk-N6Y645MX.js → chunk-7C6K5WFB.js} +1 -1
- package/dist/{chunk-M6FNCANA.js → chunk-7E5HPNMD.js} +1 -1
- package/dist/{chunk-CHJGVW5W.js → chunk-7YBRRU5W.js} +4 -11
- package/dist/{chunk-2NMBD5AH.js → chunk-7YOJPNDT.js} +1 -1
- package/dist/{chunk-GCJRV7LU.js → chunk-A2YCAF35.js} +23 -37
- package/dist/{chunk-E5S4QMX7.js → chunk-AG6L5CUE.js} +2 -2
- package/dist/{chunk-SVI2CJ6R.js → chunk-AOTAYP5E.js} +1 -1
- package/dist/{chunk-VB3JZKMN.js → chunk-ASORF7UJ.js} +31 -10
- package/dist/{chunk-XB7HE2R5.js → chunk-AUM475MS.js} +3 -3
- package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
- package/dist/{chunk-I3QXWJ7V.js → chunk-BDFD3C3V.js} +7 -7
- package/dist/{chunk-YAS347ZS.js → chunk-BLII22FU.js} +1 -1
- package/dist/{chunk-CMYUPVMI.js → chunk-BX4GM3IV.js} +2 -2
- package/dist/{chunk-D7NNNL2K.js → chunk-BZPRG5N5.js} +18 -18
- package/dist/{chunk-H4C3P2KV.js → chunk-C3TYMGWE.js} +3 -3
- package/dist/{chunk-6NNLDCX4.js → chunk-C62LSZVJ.js} +1 -1
- package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
- package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
- package/dist/{chunk-GBIASKIH.js → chunk-DH34XRVW.js} +1 -1
- package/dist/{chunk-6SNGKC6B.js → chunk-DLBFLOEU.js} +1 -1
- package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
- package/dist/{chunk-Z6X64P6C.js → chunk-DTM7HGP4.js} +6 -6
- package/dist/{chunk-2W4VQ3YZ.js → chunk-E53F4CP6.js} +2 -2
- package/dist/{chunk-3R2X2VKB.js → chunk-ECKXTBRB.js} +6 -4
- package/dist/{chunk-RCRUWNQ4.js → chunk-EDQF36I7.js} +3 -3
- package/dist/{chunk-GWSCUFGL.js → chunk-EWBLIDHD.js} +11 -9
- package/dist/{chunk-BMDABBHG.js → chunk-FEWHHDFA.js} +5 -17
- package/dist/{chunk-EBG5RCPM.js → chunk-FILLRGVO.js} +4 -4
- package/dist/{chunk-3HT3UGF2.js → chunk-FRY73NRV.js} +1 -1
- package/dist/{chunk-KAG5KXNO.js → chunk-FS4XHCSU.js} +1 -1
- package/dist/{chunk-GOMTMQRT.js → chunk-G6ME77PU.js} +1 -1
- package/dist/{chunk-GTHRXU37.js → chunk-GJB5VR44.js} +18 -18
- package/dist/{chunk-G6JLFSII.js → chunk-GXGGPZXD.js} +4 -4
- package/dist/chunk-H6323NVP.js +453 -0
- package/dist/chunk-HYTD4CIO.js +57 -0
- package/dist/{chunk-P7TCIUP2.js → chunk-I2GYLBJJ.js} +4 -4
- package/dist/{chunk-BA3EQ2KL.js → chunk-IVMYWHFE.js} +3 -3
- package/dist/{chunk-HDCVU64B.js → chunk-IX6BFRED.js} +3 -2
- package/dist/{chunk-W3HNLDK6.js → chunk-JJUVQYXL.js} +2 -2
- package/dist/{chunk-HXQDDCGY.js → chunk-JQATOGQQ.js} +2 -2
- package/dist/{chunk-2Z42EUHG.js → chunk-JVDYIUFD.js} +2 -2
- package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
- package/dist/{chunk-SFPIVVUE.js → chunk-K4TEEYGN.js} +2 -2
- package/dist/{chunk-KFXHBP2E.js → chunk-K5BPLZOP.js} +2 -2
- package/dist/{chunk-H7AJLEBR.js → chunk-K6EOKQ6J.js} +8 -8
- package/dist/{chunk-Y3YHDU7T.js → chunk-KCL77FXI.js} +1 -1
- package/dist/{chunk-PXDRW3QN.js → chunk-LB6VJTM4.js} +1 -1
- package/dist/{chunk-EXW2LV4K.js → chunk-LCQT4S43.js} +248 -62
- package/dist/chunk-M3BJEZ7E.js +152 -0
- package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
- package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
- package/dist/{chunk-M6LAGO6O.js → chunk-NAKQS3EJ.js} +3 -3
- package/dist/{chunk-TTSLKH63.js → chunk-NMMPHHN7.js} +3 -3
- package/dist/{chunk-UWMOMAYI.js → chunk-O2S5HR7Y.js} +49 -12
- package/dist/{chunk-D6BV6TTI.js → chunk-OKN7E77Z.js} +1 -1
- package/dist/{chunk-XH6LGDIB.js → chunk-PDE6XAIJ.js} +4 -4
- package/dist/{chunk-4FTJE22M.js → chunk-PNBWAA3E.js} +2 -2
- package/dist/{chunk-AOQRVS63.js → chunk-PVHNBJCI.js} +9 -7
- package/dist/{chunk-3PHCFSPD.js → chunk-PWSTB75B.js} +2 -2
- package/dist/{chunk-PVSRPNIV.js → chunk-PXWPBLEN.js} +2 -2
- package/dist/{chunk-IEEIPTDW.js → chunk-PYZVKGW5.js} +1 -1
- package/dist/{chunk-5FFYMVRD.js → chunk-Q2G4ERQU.js} +2 -2
- package/dist/{chunk-YMIEJZB6.js → chunk-QDSALYDV.js} +4 -4
- package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
- package/dist/{chunk-XDRSEU2I.js → chunk-R3C62AP3.js} +4 -4
- package/dist/{chunk-L72MPEM2.js → chunk-RJJ5NVSQ.js} +1 -1
- package/dist/{chunk-KXOKZJBZ.js → chunk-RSQTFDMS.js} +13 -13
- package/dist/{chunk-6RFCS4IU.js → chunk-RYJXT2AS.js} +9 -7
- package/dist/{chunk-GJUL3PRV.js → chunk-S3HTROSO.js} +3 -3
- package/dist/{chunk-AZ2QJETV.js → chunk-SAIPA3QY.js} +1 -1
- package/dist/{chunk-4CSZZXL6.js → chunk-SDBFTY6V.js} +3 -3
- package/dist/{chunk-TZH6HNZH.js → chunk-SG4OW2HV.js} +2 -2
- package/dist/{chunk-AWT5FHTN.js → chunk-T4YI2YLF.js} +1 -1
- package/dist/{chunk-TVQNABOI.js → chunk-T7O62YTY.js} +1 -1
- package/dist/chunk-TDOJW7Z2.js +5053 -0
- package/dist/{chunk-3367VNGK.js → chunk-TGGYHFTP.js} +2 -2
- package/dist/{chunk-NNOAOQLT.js → chunk-TGK7LUEV.js} +2 -2
- package/dist/chunk-TLU5DPES.js +560 -0
- package/dist/{chunk-LXIEKLAC.js → chunk-TOLY2QK2.js} +6 -6
- package/dist/chunk-UFKWSLJ5.js +392 -0
- package/dist/{chunk-PXY3JZP2.js → chunk-UGWY7PFQ.js} +2 -2
- package/dist/{chunk-REJ4NIBY.js → chunk-VJSKNQTM.js} +1 -1
- package/dist/{chunk-NXSKZE3C.js → chunk-VW35U2LJ.js} +2 -2
- package/dist/{chunk-JZIEZCQM.js → chunk-VZO3BUTW.js} +5 -12
- package/dist/{chunk-TFBPCJPG.js → chunk-W6AXNWGE.js} +1 -1
- package/dist/{chunk-262ADJJN.js → chunk-WC2XQ4NR.js} +1 -1
- package/dist/{chunk-WXOOAAT4.js → chunk-WLB2D2OJ.js} +36 -4
- package/dist/{chunk-P5E3RHW3.js → chunk-WWT32C2M.js} +3 -3
- package/dist/{chunk-ADP2GIBS.js → chunk-XEUTASNL.js} +2 -2
- package/dist/{chunk-MYFAVVA6.js → chunk-YCXNWQ3B.js} +32 -32
- package/dist/{chunk-JHX76QFC.js → chunk-YMTLKSXO.js} +1 -1
- package/dist/{chunk-KG3TONXU.js → chunk-Z222HDGC.js} +9 -9
- package/dist/chunk-Z3ZLN5VR.js +3890 -0
- package/dist/{chunk-EJPWGGPK.js → chunk-Z64I7KJZ.js} +5340 -5087
- package/dist/{chunk-LBQQNNRC.js → chunk-ZWLFWYHR.js} +1 -1
- package/dist/{clean-MJBET4EN.js → clean-N7RLS5LN.js} +29 -29
- package/dist/cli.js +70 -68
- package/dist/{cloud-Z4Q76MLS.js → cloud-4PO7BA26.js} +8 -7
- package/dist/{cloud-WEDQYHZE.js → cloud-W3DHH6EB.js} +4 -4
- package/dist/{cloudrun-2KGSRAKA.js → cloudrun-YIAPIPOG.js} +7 -7
- package/dist/{compare-MJKWQOD7.js → compare-GCWIIUGY.js} +43 -43
- package/dist/{compiler-ETXRTUQC.js → compiler-L3BJI43E.js} +8 -6
- package/dist/{component-PZGKEJ6L.js → component-C4VYDMZ4.js} +3 -3
- package/dist/{compositions-N3FEEWH7.js → compositions-5P4BZQJA.js} +16 -16
- package/dist/{contactSheet-HZMP42FZ.js → contactSheet-ROMTQQ6Y.js} +3 -3
- package/dist/contract/LICENSE-Unicode.txt +39 -0
- package/dist/contract/path-policy.json +311 -0
- package/dist/contract/unicode-15.1.0.json +6179 -0
- package/dist/{curve-MWABBM7Q.js → curve-IMXKUBAO.js} +15 -15
- package/dist/{cuts-BQFSSNY7.js → cuts-PRBLX5HH.js} +16 -16
- package/dist/{delete-HPHGJABK.js → delete-QYWDRFO3.js} +11 -10
- package/dist/{deploy-JY2QOB5F.js → deploy-DGEPSTOJ.js} +7 -7
- package/dist/{describeProject-S6AGYZWL.js → describeProject-WS4TR7VF.js} +11 -11
- package/dist/{destroy-AZK7J4IR.js → destroy-2KSDD4KU.js} +6 -6
- package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-D3HTAAN2.js} +3 -3
- package/dist/{diff-XDNFCAU4.js → diff-AAWRGZLX.js} +47 -46
- package/dist/{dist-6EE3Y4M7.js → dist-DJQRHSKZ.js} +4 -4
- package/dist/{dist-EYEYDD4F.js → dist-GJSMSEEL.js} +22 -18
- package/dist/{dist-TYGDYK56.js → dist-V2TLDLQL.js} +3 -3
- package/dist/{doctor-6IRSMKZD.js → doctor-CARXZUFN.js} +18 -18
- package/dist/{energy-VCJ2FJEF.js → energy-VMNGG2ND.js} +16 -16
- package/dist/{events-DNTIMCUM.js → events-4XIJRQIJ.js} +18 -18
- package/dist/{events-QQYBD7JM.js → events-LOPLHMOT.js} +4 -4
- package/dist/{events-M6A7BT3V.js → events-XX3DYSU4.js} +8 -8
- package/dist/execute-U7JKJERV.js +109 -0
- package/dist/{extract-X3IVXYHX.js → extract-KYFUTYDD.js} +19 -19
- package/dist/{face-MZHXKBDB.js → face-VQGUHRQL.js} +18 -18
- package/dist/{feedback-TAMGYFUO.js → feedback-UPWYWOQ3.js} +19 -18
- package/dist/{ffmpeg-XWPYYYB6.js → ffmpeg-RUOPT3JH.js} +10 -10
- package/dist/{figma-WMD7AR2S.js → figma-TO57RICW.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -16
- package/dist/{frames-OU2UOLBU.js → frames-4Y3X474I.js} +18 -18
- package/dist/{generate-6F6QEFXW.js → generate-BPID6U7D.js} +32 -31
- package/dist/{get-VVDO7DXG.js → get-JIJ46VI5.js} +11 -10
- package/dist/{gpuPolicy-CVNSHXHJ.js → gpuPolicy-5ZJNSR7D.js} +10 -10
- package/dist/{grade-compare-O6LY2U73.js → grade-compare-YTBW7C65.js} +44 -44
- package/dist/{heifImagePrep-J6TILZTM.js → heifImagePrep-OL7KF7SH.js} +11 -11
- package/dist/{help-XLSTTDHR.js → help-QPV26QI5.js} +2 -1
- package/dist/{history-DBCCWBDG.js → history-7UVGTZT3.js} +14 -14
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +61 -61
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-E46BWAQ7.js → info-2VFXR7LJ.js} +18 -18
- package/dist/{init-23TG5W7S.js → init-JZ7CJQJE.js} +35 -35
- package/dist/{ink-6UFSNJRW.js → ink-SS7XOD7Y.js} +16 -16
- package/dist/{inspect-RKI6XACH.js → inspect-D5MBKDZZ.js} +41 -41
- package/dist/{installer-JWPK75BR.js → installer-UNC4BAFO.js} +7 -7
- package/dist/{keyframes-J65V5A2G.js → keyframes-7T2CVOM6.js} +14 -12
- package/dist/{lambda-RZSXXBJU.js → lambda-QVJFVSXL.js} +16 -16
- package/dist/{layout-RJQUOYWB.js → layout-5DF7VFWS.js} +41 -41
- package/dist/{lint-4TUHKKA2.js → lint-EWJHJKAI.js} +14 -14
- package/dist/{lintProject-R6RTBSCZ.js → lintProject-KBJU3L4C.js} +4 -4
- package/dist/{list-HOD2N4VS.js → list-DDLH5ZG5.js} +13 -12
- package/dist/{localPage-TC4NC3VL.js → localPage-MHAXFUGI.js} +11 -11
- package/dist/{login-NTOS3HKD.js → login-BJ4QUZT4.js} +8 -7
- package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
- package/dist/{look-GC63E2I7.js → look-HNK2K33N.js} +16 -16
- package/dist/{manager-FICBET24.js → manager-FFLFDJZ6.js} +11 -11
- package/dist/{manager-IAXYSRG5.js → manager-VLO3FZC4.js} +2 -1
- package/dist/{measure-WTQCSQ55.js → measure-SE346MGF.js} +11 -11
- package/dist/{media-treatment-KTZ6X2P2.js → media-treatment-KYPDRIBT.js} +18 -18
- package/dist/{media-use-K75FDXJ3.js → media-use-OJZHSNTK.js} +21 -10
- package/dist/{models-JKOA542M.js → models-KWSHPDZ5.js} +15 -15
- package/dist/{motionShot-A3TYKTQU.js → motionShot-HEROABIE.js} +24 -24
- package/dist/{normalize-audio-7JUM42YB.js → normalize-audio-ZD5W37ZO.js} +14 -14
- package/dist/oauth-SAVP2YM4.js +40 -0
- package/dist/{open-F6GI4TRA.js → open-7B6HT4EX.js} +19 -19
- package/dist/{parakeetRunner-6XIAKJLS.js → parakeetRunner-5AKE7TBH.js} +19 -19
- package/dist/{pipeline-7P7LGGQG.js → pipeline-UTVSWC4X.js} +13 -13
- package/dist/plan-SQ63IXQC.js +88 -0
- package/dist/{play-DYOZLKWX.js → play-NYBFE3GW.js} +32 -32
- package/dist/{preflight-VM4HSRBY.js → preflight-T23WHZP3.js} +12 -12
- package/dist/{present-IINIEZJC.js → present-FX22552Q.js} +26 -26
- package/dist/{preview-NJO2UXWJ.js → preview-ULBNMDXD.js} +63 -39
- package/dist/{probe-LQQHFX5Q.js → probe-62Z5C6VC.js} +16 -16
- package/dist/{producer-LH2SZHJ2.js → producer-X3KFL4QM.js} +1 -1
- package/dist/{projectConfig-BLACFLUW.js → projectConfig-JQ4IDYTU.js} +10 -10
- package/dist/{publication-NFF2BXIE.js → publication-YNIJIR6O.js} +5 -5
- package/dist/{publish-JST5Y4UR.js → publish-7TIGC7RV.js} +91 -31
- package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
- package/dist/{remove-background-WUBESLWN.js → remove-background-F3BD6WXD.js} +14 -14
- package/dist/{render-DA4V7CEE.js → render-BL6CAORF.js} +6 -6
- package/dist/{render-4KWUUC5H.js → render-CDWBVWJP.js} +91 -957
- package/dist/{render-R4VNR4E2.js → render-EOQOD2TJ.js} +54 -53
- package/dist/{render-batch-JMPG4RLT.js → render-batch-PDY2PXUZ.js} +6 -6
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-PNIFIDIE.js → resolver-VBAVCFEP.js} +7 -7
- package/dist/{reverse-4NI7D2C3.js → reverse-3E6HUX5S.js} +1 -1
- package/dist/{run-FWBIBLYE.js → run-77Z3DLIP.js} +8 -7
- package/dist/{screenshotCapture-KOLNFU7W.js → screenshotCapture-XWWCRLGM.js} +13 -13
- package/dist/service-LJZQKQT6.js +68 -0
- package/dist/share-2CNP22KN.js +274 -0
- package/dist/{sherpa-W3BMN67E.js → sherpa-NPTMMQHQ.js} +18 -18
- package/dist/sherpaWorker.js +2 -1
- package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +20 -3
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +61 -3
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
- package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +25 -6
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
- package/dist/skills/media-use/references/audio.md +2 -0
- package/dist/skills/media-use/references/operations.md +2 -1
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
- package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +42 -18
- package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
- package/dist/{skills-KQQVUFGO.js → skills-7MQBUOOX.js} +11 -11
- package/dist/{skillsUpdateCheck-VY5PS46S.js → skillsUpdateCheck-JAUXRXRH.js} +4 -4
- package/dist/{snapshot-VIEJQAUB.js → snapshot-D7DROQPF.js} +61 -61
- package/dist/{src-HHPRCLEW.js → src-26DWEOAT.js} +11 -9
- package/dist/{src-MQU5F7GJ.js → src-LJIVCW6M.js} +15 -15
- package/dist/{start-ZBNNVFMU.js → start-DF3U2VIG.js} +30 -29
- package/dist/{staticProjectServer-VPGZWJF4.js → staticProjectServer-NYH6MQHZ.js} +25 -25
- package/dist/{status-RBZJYT7T.js → status-5Q43GUYF.js} +26 -23
- package/dist/studio/assets/{codec-Bz1jsLs8.js → codec-OdIlx7W3.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-cdH5Sz_t.js → hyperframes-player-XtPxZL3k.js} +1 -1
- package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
- package/dist/studio/assets/{index-D1l7izdf.js → index-DTU1D-zj.js} +166 -166
- package/dist/studio/assets/{index-DFRbcd5J.js → index-DWZWPFkU.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-CgV8YB6S.js → pausedVideoDecoder-NVr8gRm5.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-EPZGLIWW.js → studio-api-ZYCEQPX2.js} +22 -18
- package/dist/{studioServer-YFQQ2ESJ.js → studioServer-W4RX3B7S.js} +451 -71
- package/dist/{sync-FRT55PVW.js → sync-LLH2GSSC.js} +16 -16
- package/dist/{synthesize-FR5KPBRP.js → synthesize-4A5ENXNO.js} +4 -3
- package/dist/{telemetry-HAPPFR7P.js → telemetry-RIQIM2PH.js} +8 -8
- package/dist/{templates-2IHYIWMA.js → templates-4HVTWNKO.js} +22 -21
- package/dist/{timeline-AY2F7BJF.js → timeline-ITIMTT27.js} +25 -25
- package/dist/{tokens-B3G257V3.js → tokens-ABTBM6UA.js} +2 -2
- package/dist/{transcribe-RJCILGPA.js → transcribe-6BA2MP2Y.js} +37 -36
- package/dist/{transcribe-EGQD32PT.js → transcribe-6LDBHZCZ.js} +14 -14
- package/dist/{tts-ZE776B4I.js → tts-P77F523Z.js} +1 -1
- package/dist/{update-XTFIGQKW.js → update-ODXFCK36.js} +13 -13
- package/dist/{updateCheck-M6YC52A4.js → updateCheck-E4U776B4.js} +5 -3
- package/dist/{upgrade-AKLIZKAO.js → upgrade-LSHVYMLH.js} +5 -5
- package/dist/{urlDownloader-57A7Q7FC.js → urlDownloader-PWQ2LDLE.js} +9 -9
- package/dist/{validate-YWSXJL54.js → validate-JHETNNBN.js} +33 -33
- package/dist/{video-I5DDNK3Y.js → video-D2D5YCDU.js} +12 -12
- package/dist/{voices-IBMJU73H.js → voices-34FMTOIX.js} +29 -28
- package/dist/warmCheck.js +51 -51
- package/package.json +2 -1
- package/dist/chunk-YAZQBB2S.js +0 -5049
|
@@ -6,10 +6,79 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// ../parsers/dist/ffBinaries.js
|
|
9
|
-
import { execFileSync } from "child_process";
|
|
10
|
-
import { accessSync, closeSync, constants, existsSync, openSync, readSync } from "fs";
|
|
9
|
+
import { execFileSync as execFileSync2 } from "child_process";
|
|
10
|
+
import { accessSync as accessSync2, closeSync, constants as constants2, existsSync as existsSync2, openSync, readSync } from "fs";
|
|
11
11
|
import { createRequire } from "module";
|
|
12
|
-
import { basename,
|
|
12
|
+
import { basename, dirname as dirname2, join as join2, resolve as resolve2 } from "path";
|
|
13
|
+
import { execFileSync } from "child_process";
|
|
14
|
+
import { accessSync, constants, existsSync, realpathSync } from "fs";
|
|
15
|
+
import { homedir } from "os";
|
|
16
|
+
import { delimiter, dirname, isAbsolute, join, relative, resolve, sep } from "path";
|
|
17
|
+
function comparable(path) {
|
|
18
|
+
let full = resolve(path);
|
|
19
|
+
try {
|
|
20
|
+
full = realpathSync.native(full);
|
|
21
|
+
} catch {
|
|
22
|
+
full = resolve(path);
|
|
23
|
+
}
|
|
24
|
+
return process.platform === "win32" ? full.toLowerCase() : full;
|
|
25
|
+
}
|
|
26
|
+
function contains(parent, child) {
|
|
27
|
+
const rel = relative(parent, child);
|
|
28
|
+
return rel === "" || rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel);
|
|
29
|
+
}
|
|
30
|
+
function isTrustedDirectory(dir) {
|
|
31
|
+
if (!dir || !isAbsolute(dir)) return false;
|
|
32
|
+
const target = comparable(dir);
|
|
33
|
+
const cwd = comparable(process.cwd());
|
|
34
|
+
if (target === cwd) return false;
|
|
35
|
+
return contains(cwd, comparable(homedir())) || !contains(cwd, target);
|
|
36
|
+
}
|
|
37
|
+
function isTrustedExecutablePath(file) {
|
|
38
|
+
return isAbsolute(file) && isTrustedDirectory(dirname(file));
|
|
39
|
+
}
|
|
40
|
+
function trustedPathDirs(pathValue = process.env.PATH ?? "") {
|
|
41
|
+
const entries = pathValue.split(delimiter);
|
|
42
|
+
return [...new Set(entries.filter((dir) => isTrustedDirectory(dir)))];
|
|
43
|
+
}
|
|
44
|
+
function windowsExtensions() {
|
|
45
|
+
const listed = (process.env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD").split(";").map((ext) => ext.trim().toLowerCase()).filter(Boolean);
|
|
46
|
+
return [.../* @__PURE__ */ new Set([".exe", ...listed])];
|
|
47
|
+
}
|
|
48
|
+
function isExecutableFile(file) {
|
|
49
|
+
if (process.platform === "win32") return existsSync(file);
|
|
50
|
+
try {
|
|
51
|
+
accessSync(file, constants.X_OK);
|
|
52
|
+
return true;
|
|
53
|
+
} catch {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function scanTrustedPath(name) {
|
|
58
|
+
const extensions = process.platform === "win32" ? windowsExtensions() : [""];
|
|
59
|
+
for (const dir of trustedPathDirs()) {
|
|
60
|
+
for (const ext of extensions) {
|
|
61
|
+
const candidate = join(dir, `${name}${ext}`);
|
|
62
|
+
if (isExecutableFile(candidate)) return candidate;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return void 0;
|
|
66
|
+
}
|
|
67
|
+
function findTrustedExecutable(name) {
|
|
68
|
+
if (process.platform === "win32") return scanTrustedPath(name);
|
|
69
|
+
let listed;
|
|
70
|
+
try {
|
|
71
|
+
listed = execFileSync("which", [name], {
|
|
72
|
+
encoding: "utf-8",
|
|
73
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
74
|
+
timeout: 5e3
|
|
75
|
+
}).split(/\r?\n/).map((line) => line.trim()).find(Boolean);
|
|
76
|
+
} catch {
|
|
77
|
+
return void 0;
|
|
78
|
+
}
|
|
79
|
+
if (!listed) return void 0;
|
|
80
|
+
return isTrustedExecutablePath(listed) ? listed : scanTrustedPath(name);
|
|
81
|
+
}
|
|
13
82
|
var FFMPEG_PATH_ENV = "HYPERFRAMES_FFMPEG_PATH";
|
|
14
83
|
var FFPROBE_PATH_ENV = "HYPERFRAMES_FFPROBE_PATH";
|
|
15
84
|
var ENV_BY_NAME = {
|
|
@@ -43,7 +112,7 @@ function isX86OnlyMachO(file) {
|
|
|
43
112
|
return header.readUInt32LE(0) === 4277009103 && header.readUInt32LE(4) === MACHO_CPU_X86_64;
|
|
44
113
|
}
|
|
45
114
|
function runsOnThisMac(candidate) {
|
|
46
|
-
if (process.platform !== "darwin" || process.arch !== "arm64" ||
|
|
115
|
+
if (process.platform !== "darwin" || process.arch !== "arm64" || existsSync2(ROSETTA_RUNTIME)) {
|
|
47
116
|
return true;
|
|
48
117
|
}
|
|
49
118
|
if (!isX86OnlyMachO(candidate)) return true;
|
|
@@ -56,17 +125,16 @@ function getSkippedX86Binary(name) {
|
|
|
56
125
|
return skippedX86Binaries.get(name);
|
|
57
126
|
}
|
|
58
127
|
function isExecutablePathCandidate(candidate) {
|
|
59
|
-
if (process.platform === "win32") return
|
|
128
|
+
if (process.platform === "win32") return existsSync2(candidate);
|
|
60
129
|
try {
|
|
61
|
-
|
|
130
|
+
accessSync2(candidate, constants2.X_OK);
|
|
62
131
|
return runsOnThisMac(candidate);
|
|
63
132
|
} catch {
|
|
64
133
|
return false;
|
|
65
134
|
}
|
|
66
135
|
}
|
|
67
136
|
function scanPath(name) {
|
|
68
|
-
const
|
|
69
|
-
const searchDirs = (pathValue ? pathValue.split(delimiter) : []).filter((dir) => isAbsolute(dir));
|
|
137
|
+
const searchDirs = trustedPathDirs();
|
|
70
138
|
if (searchDirs.length === 0) return void 0;
|
|
71
139
|
const extensions = process.platform === "win32" ? [
|
|
72
140
|
".exe",
|
|
@@ -76,9 +144,9 @@ function scanPath(name) {
|
|
|
76
144
|
""
|
|
77
145
|
] : [""];
|
|
78
146
|
const candidates = [];
|
|
79
|
-
for (const dir of
|
|
147
|
+
for (const dir of searchDirs) {
|
|
80
148
|
for (const ext of extensions) {
|
|
81
|
-
const candidate =
|
|
149
|
+
const candidate = join2(dir, `${name}${ext}`);
|
|
82
150
|
if (isExecutablePathCandidate(candidate)) candidates.push(candidate);
|
|
83
151
|
}
|
|
84
152
|
}
|
|
@@ -88,17 +156,15 @@ var COMMON_BIN_DIRS = process.platform === "win32" ? [] : ["/opt/homebrew/bin",
|
|
|
88
156
|
function findInCommonDirsOrInstallerPackage(name) {
|
|
89
157
|
for (const dir of COMMON_BIN_DIRS) {
|
|
90
158
|
const candidate = `${dir}/${name}`;
|
|
91
|
-
if (
|
|
159
|
+
if (isTrustedExecutablePath(candidate) && existsSync2(candidate) && runsOnThisMac(candidate)) {
|
|
160
|
+
return candidate;
|
|
161
|
+
}
|
|
92
162
|
}
|
|
93
163
|
return findInInstallerPackage(name);
|
|
94
164
|
}
|
|
95
165
|
function binaryFileName(name) {
|
|
96
166
|
return process.platform === "win32" ? `${name}.exe` : name;
|
|
97
167
|
}
|
|
98
|
-
function findInProjectLocalBin(name) {
|
|
99
|
-
const candidate = resolve(".hyperframes", "bin", binaryFileName(name));
|
|
100
|
-
return existsSync(candidate) && runsOnThisMac(candidate) ? candidate : void 0;
|
|
101
|
-
}
|
|
102
168
|
function tryResolve(fromFile, request) {
|
|
103
169
|
try {
|
|
104
170
|
return createRequire(fromFile).resolve(request);
|
|
@@ -107,12 +173,12 @@ function tryResolve(fromFile, request) {
|
|
|
107
173
|
}
|
|
108
174
|
}
|
|
109
175
|
function findInInstallerPackage(name) {
|
|
110
|
-
const project =
|
|
176
|
+
const project = import.meta.url;
|
|
111
177
|
const platformManifest = `@${name}-installer/${process.platform}-${process.arch}/package.json`;
|
|
112
178
|
const installer = tryResolve(project, `@${name}-installer/${name}/package.json`);
|
|
113
179
|
const manifest = (installer && tryResolve(installer, platformManifest)) ?? tryResolve(project, platformManifest);
|
|
114
|
-
const candidate = manifest &&
|
|
115
|
-
return candidate && isExecutablePathCandidate(candidate) ? candidate : void 0;
|
|
180
|
+
const candidate = manifest && join2(dirname2(manifest), binaryFileName(name));
|
|
181
|
+
return candidate && isTrustedExecutablePath(candidate) && isExecutablePathCandidate(candidate) ? candidate : void 0;
|
|
116
182
|
}
|
|
117
183
|
function searchSystem(name) {
|
|
118
184
|
let found;
|
|
@@ -120,18 +186,17 @@ function searchSystem(name) {
|
|
|
120
186
|
found = scanPath(name);
|
|
121
187
|
} else {
|
|
122
188
|
try {
|
|
123
|
-
const output =
|
|
189
|
+
const output = execFileSync2("which", [name], {
|
|
124
190
|
encoding: "utf-8",
|
|
125
191
|
stdio: ["pipe", "pipe", "pipe"],
|
|
126
192
|
timeout: 5e3
|
|
127
193
|
});
|
|
128
194
|
const candidate = chooseBestPathCandidate(name, output.split(/\r?\n/));
|
|
129
|
-
found = candidate && isExecutablePathCandidate(candidate) ? candidate : scanPath(name);
|
|
195
|
+
found = candidate && isTrustedExecutablePath(candidate) && isExecutablePathCandidate(candidate) ? candidate : scanPath(name);
|
|
130
196
|
} catch {
|
|
131
197
|
found = scanPath(name);
|
|
132
198
|
}
|
|
133
199
|
}
|
|
134
|
-
found ??= findInProjectLocalBin(name);
|
|
135
200
|
found ??= findInCommonDirsOrInstallerPackage(name);
|
|
136
201
|
return found;
|
|
137
202
|
}
|
|
@@ -144,22 +209,31 @@ function lookupOnSystem(name) {
|
|
|
144
209
|
lastMissAt.set(name, Date.now());
|
|
145
210
|
return void 0;
|
|
146
211
|
}
|
|
147
|
-
const resolved =
|
|
212
|
+
const resolved = resolve2(found);
|
|
148
213
|
pathLookupCache.set(name, resolved);
|
|
149
214
|
return resolved;
|
|
150
215
|
}
|
|
151
216
|
function findFfBinary(name, options = {}) {
|
|
152
217
|
const configured = process.env[ENV_BY_NAME[name]]?.trim();
|
|
153
218
|
if (configured) {
|
|
154
|
-
if (options.configuredMustExist && !
|
|
155
|
-
return
|
|
219
|
+
if (options.configuredMustExist && !existsSync2(configured)) return void 0;
|
|
220
|
+
return resolve2(configured);
|
|
156
221
|
}
|
|
157
222
|
return lookupOnSystem(name);
|
|
158
223
|
}
|
|
224
|
+
function requireFfBinary(name) {
|
|
225
|
+
const found = findFfBinary(name);
|
|
226
|
+
if (found) return found;
|
|
227
|
+
const message = `[FFmpeg] ${name} not found. Install FFmpeg or set ${ENV_BY_NAME[name]} to its absolute path.`;
|
|
228
|
+
throw Object.assign(new Error(message), { code: "ENOENT" });
|
|
229
|
+
}
|
|
159
230
|
|
|
160
231
|
export {
|
|
232
|
+
trustedPathDirs,
|
|
233
|
+
findTrustedExecutable,
|
|
161
234
|
FFMPEG_PATH_ENV,
|
|
162
235
|
FFPROBE_PATH_ENV,
|
|
163
236
|
getSkippedX86Binary,
|
|
164
|
-
findFfBinary
|
|
237
|
+
findFfBinary,
|
|
238
|
+
requireFfBinary
|
|
165
239
|
};
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-JJ47LVJ7.js";
|
|
19
19
|
import {
|
|
20
20
|
trackSkillsInstallSkipped
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E53F4CP6.js";
|
|
22
22
|
import {
|
|
23
23
|
diag
|
|
24
24
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
isCoreSkill,
|
|
40
40
|
presentSkills,
|
|
41
41
|
retiredSkillNotice
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-5SXAEHZT.js";
|
|
43
43
|
import {
|
|
44
44
|
NO_UPDATE_NOTICE,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6OYPVALW.js";
|
|
47
47
|
import {
|
|
48
48
|
failureMessage,
|
|
49
49
|
jsonFailure
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-66W5IWLO.js";
|
|
55
55
|
import {
|
|
56
56
|
VERSION
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-6FP6HBG4.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/skills.ts
|
|
60
60
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-26DWEOAT.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LLMSX6V6.js";
|
|
10
10
|
import {
|
|
11
11
|
readCompositionFps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3XJ42WUG.js";
|
|
13
13
|
import {
|
|
14
14
|
findSyncPartner,
|
|
15
15
|
readLinkTiming,
|
|
@@ -19,26 +19,26 @@ import {
|
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TGGYHFTP.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TDOJW7Z2.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveReferencedDuration,
|
|
37
37
|
resolveReferencedStart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ASORF7UJ.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveAuthoredAssetFile
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-K2Z6OXEI.js";
|
|
42
42
|
import {
|
|
43
43
|
compositionOriginSeconds,
|
|
44
44
|
cutToHostSlots,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
isSubCompositionHost,
|
|
54
54
|
topLevelElements,
|
|
55
55
|
trackKindOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-M425BL2U.js";
|
|
57
57
|
|
|
58
58
|
// src/timeline/describeProject.ts
|
|
59
59
|
import { readFileSync, realpathSync, statSync } from "fs";
|
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ECKXTBRB.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WLB2D2OJ.js";
|
|
13
13
|
import {
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TDOJW7Z2.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3FQYFVWA.js";
|
|
21
21
|
import {
|
|
22
22
|
decodeWellFormedEscapes,
|
|
23
23
|
decodedUrlPath,
|
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
} from "./chunk-6MKM2RVL.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M425BL2U.js";
|
|
29
29
|
|
|
30
|
-
// ../studio-server/dist/chunk-
|
|
30
|
+
// ../studio-server/dist/chunk-6HOPOQDG.js
|
|
31
31
|
import { execFile } from "child_process";
|
|
32
32
|
import { isAbsolute, relative, resolve } from "path";
|
|
33
33
|
import { promisify } from "util";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
hasPreservedUnknownData,
|
|
10
10
|
readStore,
|
|
11
11
|
writeStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BAWGEGKD.js";
|
|
13
13
|
import {
|
|
14
14
|
credentialPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DMW5SSUN.js";
|
|
16
16
|
|
|
17
17
|
// src/auth/user.ts
|
|
18
18
|
function isUserInfoEmpty(u) {
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZWLFWYHR.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LCQT4S43.js";
|
|
14
14
|
import {
|
|
15
15
|
PROXY_VARIANT_CONFIG,
|
|
16
16
|
ProxyCapacityError,
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
recordProxyRequest,
|
|
22
22
|
resolveProxy,
|
|
23
23
|
resolveProxyVariantRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-K6EOKQ6J.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-K5BPLZOP.js";
|
|
28
28
|
import {
|
|
29
29
|
openRangeEnd
|
|
30
30
|
} from "./chunk-64F653HO.js";
|
|
31
31
|
import {
|
|
32
32
|
listenOnBrowserSafePort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4Y4VYZRO.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TGGYHFTP.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-6MKM2RVL.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YMTLKSXO.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-K5BPLZOP.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T4YI2YLF.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-O2S5HR7Y.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2JXJQ3ZQ.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-E53F4CP6.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,11 +41,14 @@ import {
|
|
|
41
41
|
} from "./chunk-JCNPHRGX.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TGGYHFTP.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
48
48
|
} from "./chunk-HZTRKUKE.js";
|
|
49
|
+
import {
|
|
50
|
+
findTrustedExecutable
|
|
51
|
+
} from "./chunk-3FQYFVWA.js";
|
|
49
52
|
import {
|
|
50
53
|
parseHTML
|
|
51
54
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -64,24 +67,21 @@ import { resolve, relative } from "path";
|
|
|
64
67
|
import { spawnSync } from "child_process";
|
|
65
68
|
import { platform } from "os";
|
|
66
69
|
var COPY_TIMEOUT_MS = 5e3;
|
|
67
|
-
function
|
|
70
|
+
function candidateProviders() {
|
|
68
71
|
const os = platform();
|
|
69
|
-
if (os === "darwin") {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (os === "win32") {
|
|
73
|
-
return { cmd: "clip.exe", args: [] };
|
|
74
|
-
}
|
|
75
|
-
const candidates = [
|
|
72
|
+
if (os === "darwin") return [{ cmd: "pbcopy", args: [] }];
|
|
73
|
+
if (os === "win32") return [{ cmd: "clip", args: [] }];
|
|
74
|
+
return [
|
|
76
75
|
{ cmd: "clip.exe", args: [] },
|
|
77
76
|
{ cmd: "wl-copy", args: [] },
|
|
78
77
|
{ cmd: "xclip", args: ["-selection", "clipboard"] },
|
|
79
78
|
{ cmd: "xsel", args: ["--clipboard", "--input"] }
|
|
80
79
|
];
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
}
|
|
81
|
+
function detectProvider() {
|
|
82
|
+
for (const provider of candidateProviders()) {
|
|
83
|
+
const cmd = findTrustedExecutable(provider.cmd);
|
|
84
|
+
if (cmd) return { cmd, args: provider.args };
|
|
85
85
|
}
|
|
86
86
|
return void 0;
|
|
87
87
|
}
|
|
@@ -231,7 +231,7 @@ function assertCompatibleOrThrow(items, cliVersion) {
|
|
|
231
231
|
throw err;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
async function installAll(installPlan, destDir, baseUrl, force, requestedName, variableValues) {
|
|
234
|
+
async function installAll(installPlan, destDir, baseUrl, force, requestedName, variableValues, installDirs) {
|
|
235
235
|
const written = [];
|
|
236
236
|
const preserved = [];
|
|
237
237
|
let variablesApplied = [];
|
|
@@ -246,7 +246,8 @@ async function installAll(installPlan, destDir, baseUrl, force, requestedName, v
|
|
|
246
246
|
force,
|
|
247
247
|
// Only the item the user named. A dependency dragged in behind it never
|
|
248
248
|
// declared these variables and must not be rewritten by them.
|
|
249
|
-
variableValues: planItem.name === requestedName ? variableValues : null
|
|
249
|
+
variableValues: planItem.name === requestedName ? variableValues : null,
|
|
250
|
+
installDirs
|
|
250
251
|
})
|
|
251
252
|
);
|
|
252
253
|
}
|
|
@@ -301,6 +302,13 @@ async function addToProject(opts) {
|
|
|
301
302
|
"example-type"
|
|
302
303
|
);
|
|
303
304
|
}
|
|
305
|
+
const exampleDependency = resolved.find((dep) => dep.type === "hyperframes:example");
|
|
306
|
+
if (exampleDependency) {
|
|
307
|
+
throw new AddError(
|
|
308
|
+
`"${item.name}" depends on the example "${exampleDependency.name}", which \`add\` does not install.`,
|
|
309
|
+
"example-type"
|
|
310
|
+
);
|
|
311
|
+
}
|
|
304
312
|
const warnings = assertCompatibleOrThrow(resolved, opts.cliVersion);
|
|
305
313
|
const installPlan = resolved.map((resolvedItem) => ({
|
|
306
314
|
...resolvedItem,
|
|
@@ -316,7 +324,8 @@ async function addToProject(opts) {
|
|
|
316
324
|
config.registry,
|
|
317
325
|
opts.force ?? false,
|
|
318
326
|
item.name,
|
|
319
|
-
variableValues
|
|
327
|
+
variableValues,
|
|
328
|
+
[config.paths.blocks, config.paths.components, config.paths.assets]
|
|
320
329
|
);
|
|
321
330
|
for (const planItem of installPlan) {
|
|
322
331
|
trackRegistryItemAdded({
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
warnUnknownEnumValues,
|
|
60
60
|
wrapInlineScriptWithErrorBoundary,
|
|
61
61
|
wrapScopedCompositionScript
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-TDOJW7Z2.js";
|
|
63
63
|
import {
|
|
64
64
|
cssVariableName
|
|
65
65
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -70,10 +70,10 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
linkedSources,
|
|
72
72
|
lintHyperframeHtml
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ASORF7UJ.js";
|
|
74
74
|
import {
|
|
75
75
|
readTextFile
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-K2Z6OXEI.js";
|
|
77
77
|
import {
|
|
78
78
|
CSS_URL_RE,
|
|
79
79
|
checkSubCompositionUsability,
|
|
@@ -90,6 +90,9 @@ import {
|
|
|
90
90
|
rewriteSrcsetUrls,
|
|
91
91
|
splitUrlSuffix
|
|
92
92
|
} from "./chunk-6MKM2RVL.js";
|
|
93
|
+
import {
|
|
94
|
+
isSafeMediaUrl
|
|
95
|
+
} from "./chunk-M425BL2U.js";
|
|
93
96
|
import {
|
|
94
97
|
parseHTML
|
|
95
98
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -326,9 +329,39 @@ function markFlattenedInnerRoot(prepared) {
|
|
|
326
329
|
}
|
|
327
330
|
|
|
328
331
|
// ../core/dist/runtime/applyVariableBindings.js
|
|
332
|
+
var VAR_SRC_TAGS = /* @__PURE__ */ new Set(["img", "video", "audio", "source"]);
|
|
333
|
+
function resolveUrl(value) {
|
|
334
|
+
if (typeof value === "string" && value.length > 0)
|
|
335
|
+
return value;
|
|
336
|
+
if (value !== null && typeof value === "object") {
|
|
337
|
+
const url = value.url;
|
|
338
|
+
if (typeof url === "string" && url.length > 0)
|
|
339
|
+
return url;
|
|
340
|
+
}
|
|
341
|
+
return null;
|
|
342
|
+
}
|
|
329
343
|
function sanitizeCssValue(value) {
|
|
330
344
|
return value.replace(/[;{}<>\r\n]/g, "");
|
|
331
345
|
}
|
|
346
|
+
function boundMediaSrc(el, values, warn = true) {
|
|
347
|
+
const id = el.getAttribute("data-var-src")?.trim();
|
|
348
|
+
if (!id)
|
|
349
|
+
return null;
|
|
350
|
+
if (!VAR_SRC_TAGS.has(el.tagName.toLowerCase())) {
|
|
351
|
+
if (warn)
|
|
352
|
+
console.warn(`[hyperframes] Ignoring data-var-src on <${el.tagName.toLowerCase()}>: variable-bound src is only allowed on ${Array.from(VAR_SRC_TAGS).join("/")}.`);
|
|
353
|
+
return null;
|
|
354
|
+
}
|
|
355
|
+
const url = resolveUrl(values[id]);
|
|
356
|
+
if (url === null)
|
|
357
|
+
return null;
|
|
358
|
+
if (!isSafeMediaUrl(url)) {
|
|
359
|
+
if (warn)
|
|
360
|
+
console.warn(`[hyperframes] Ignoring data-var-src="${id}": unsafe URL protocol.`);
|
|
361
|
+
return null;
|
|
362
|
+
}
|
|
363
|
+
return url;
|
|
364
|
+
}
|
|
332
365
|
|
|
333
366
|
// ../core/dist/compiler/htmlBundler.js
|
|
334
367
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -2847,6 +2880,7 @@ export {
|
|
|
2847
2880
|
ensureExternalScriptTag,
|
|
2848
2881
|
emitMountedModuleScripts,
|
|
2849
2882
|
FLATTENED_INNER_ROOT_STRIP_ATTRS,
|
|
2883
|
+
boundMediaSrc,
|
|
2850
2884
|
extractStandaloneEntryFromIndex,
|
|
2851
2885
|
validateHyperframeHtmlContract,
|
|
2852
2886
|
ensureExternalLinkTag,
|
|
@@ -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-C62LSZVJ.js";
|
|
10
10
|
import {
|
|
11
11
|
extractAudioMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z64I7KJZ.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProjectRelativeSrc
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K2Z6OXEI.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-L3BJI43E.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");
|