hyperframes 0.9.31 → 0.9.33
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-53MR45WI.js → add-GDXM36YQ.js} +18 -18
- package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-KPNDH2EI.js} +36 -19
- package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-SAKETEZ2.js} +11 -11
- package/dist/api.js +51 -46
- package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
- package/dist/{asset-Y3YAVXJ3.js → asset-KOJC72AQ.js} +2 -2
- package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-Q4ZFUI6G.js} +13 -13
- package/dist/{audio-TRDZQ2NW.js → audio-XZBBXKQC.js} +32 -30
- package/dist/{auth-MN66MWGN.js → auth-X45YSZGE.js} +4 -4
- package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-77XWQ564.js} +3 -3
- package/dist/{avatars-F2COSI7P.js → avatars-D3D22TI2.js} +20 -19
- package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-2L2RWFJ3.js} +4 -4
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-CI6OFGS5.js → batchRender-O7J47H2Z.js} +5 -5
- package/dist/{beats-GBCNB763.js → beats-6RVVU56H.js} +15 -15
- package/dist/{benchmark-AHHMJBDN.js → benchmark-D5JRNAVQ.js} +12 -12
- package/dist/{billing-HME22C5A.js → billing-WT4DGZII.js} +20 -19
- package/dist/{browser-VZTIOZI3.js → browser-2OR737P4.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
- package/dist/{capture-ZILHWIOF.js → capture-23X2CK56.js} +82 -39
- package/dist/{capture-NU2ZIXJB.js → capture-B34FTO6G.js} +4 -4
- package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-TPZKEVKN.js} +19 -19
- package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
- package/dist/{catalog-NVEGPXGE.js → catalog-ACHSYU5Z.js} +18 -18
- package/dist/{catch-up-W7ST5JSZ.js → catch-up-FGANS2BB.js} +12 -12
- package/dist/{check-BZ652RYH.js → check-DXK4L5WP.js} +54 -54
- package/dist/{checkAudio-5NVSRMGL.js → checkAudio-4ISYJED3.js} +20 -20
- package/dist/{checkBrowser-YN454IBU.js → checkBrowser-5ECMULMP.js} +47 -47
- package/dist/{chunk-Q7EIUAYK.js → chunk-23354HMA.js} +3 -3
- package/dist/{chunk-W4OMDRZF.js → chunk-2I4DQZLQ.js} +28 -8
- package/dist/{chunk-O4Z4D4KA.js → chunk-2KYLVWLO.js} +1 -1
- package/dist/{chunk-BJSUKOWW.js → chunk-2LMCARA5.js} +2 -2
- package/dist/{chunk-XB77LMOP.js → chunk-2QTGQGYA.js} +1 -1
- package/dist/{chunk-JULHFF3J.js → chunk-2RBQLV6B.js} +1 -1
- package/dist/{chunk-R5U5PFDJ.js → chunk-2TBW7UOF.js} +5177 -4970
- package/dist/{chunk-RCWPVC4M.js → chunk-3J32XVJ6.js} +2 -2
- package/dist/{chunk-CP4FVXKZ.js → chunk-45ZQI734.js} +2 -2
- package/dist/{chunk-LHBQW4GJ.js → chunk-4CHGNFCS.js} +23 -15
- package/dist/{chunk-RLYYA6IR.js → chunk-4DLYTSWQ.js} +15 -8
- package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
- package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
- package/dist/{chunk-ZSELEQI2.js → chunk-4US5QCXR.js} +408 -219
- package/dist/{chunk-CWOUPW5E.js → chunk-4WZU4FYS.js} +4 -4
- package/dist/{chunk-B7H5RCKP.js → chunk-5GYTBKZA.js} +2 -2
- package/dist/{chunk-4HSE3FWO.js → chunk-5RVPI6QL.js} +4 -4
- package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
- package/dist/{chunk-KAICKZZK.js → chunk-6QEEF5RR.js} +1 -1
- package/dist/{chunk-5Q3TTLGB.js → chunk-6RV2QY4K.js} +31 -31
- package/dist/{chunk-3SZ43GZG.js → chunk-6ZVUTYNB.js} +6 -6
- package/dist/{chunk-C4U6FRZH.js → chunk-76KUCQXD.js} +14 -11
- package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
- package/dist/{chunk-GRHBVTBK.js → chunk-7LTXT7ME.js} +11 -9
- package/dist/{chunk-RBECDLMQ.js → chunk-7UUUV4PN.js} +1 -1
- package/dist/{chunk-X3HQA3YE.js → chunk-A4VXOJZO.js} +10 -8
- package/dist/{chunk-OJSOH2LS.js → chunk-ADYMQM7T.js} +2 -2
- package/dist/{chunk-GSXHYLW4.js → chunk-AIC7T7CC.js} +2 -2
- package/dist/{chunk-MQOO5Z4U.js → chunk-B66UZ2YK.js} +9 -9
- package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
- package/dist/{chunk-T7PFJH2B.js → chunk-BBL6STGK.js} +2 -2
- package/dist/{chunk-5AMGFTMU.js → chunk-C2VZ7UPE.js} +18 -18
- package/dist/{chunk-CUORARXJ.js → chunk-CDI3CCAU.js} +7 -7
- package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
- package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
- package/dist/{chunk-OOEZ3FT3.js → chunk-CHM3QYLF.js} +3 -3
- package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
- package/dist/{chunk-DJVSNDF3.js → chunk-CNJLBAKM.js} +133 -22
- package/dist/chunk-DDDSTRHU.js +3890 -0
- package/dist/{chunk-AWL5M7BX.js → chunk-DGC2RIQE.js} +4 -4
- package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
- package/dist/{chunk-WSPGX2SM.js → chunk-DMZER7D5.js} +1 -1
- package/dist/{chunk-3DIYMOES.js → chunk-ERJBWDPM.js} +7 -7
- package/dist/{chunk-56MGA4FM.js → chunk-ETWXZQN5.js} +2 -2
- package/dist/{chunk-MMAPQWUP.js → chunk-EX533ULK.js} +2 -2
- package/dist/{chunk-HM3PIREE.js → chunk-EX7WPDFA.js} +2 -2
- package/dist/{chunk-MX3UCKZR.js → chunk-FRH3CPW5.js} +1 -1
- package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
- package/dist/{chunk-FKW5FP4C.js → chunk-G55YEL2L.js} +129 -89
- package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
- package/dist/{chunk-44VR2CWT.js → chunk-GHLLC6LJ.js} +2 -2
- package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
- package/dist/{chunk-BCMR6DE4.js → chunk-HEXTAQYG.js} +2 -2
- package/dist/{chunk-URXVZMSI.js → chunk-HMB3IAVP.js} +2 -2
- package/dist/{chunk-22PWPQVX.js → chunk-HPKW6UVW.js} +6 -6
- package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
- package/dist/{chunk-YJVJCNK4.js → chunk-I35B5RWZ.js} +3 -3
- package/dist/{chunk-SCWMPY3F.js → chunk-I3PA54IU.js} +1 -1
- package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
- package/dist/{chunk-CWN75OWQ.js → chunk-IYLGUQFR.js} +19 -7
- package/dist/chunk-JCJJCYCP.js +392 -0
- package/dist/{chunk-P7LZ2WSQ.js → chunk-JSVCF4A6.js} +4 -4
- package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
- package/dist/{chunk-OBRKDUCE.js → chunk-KIAY63AB.js} +38 -4
- package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
- package/dist/{chunk-6VNDEMSP.js → chunk-L6BFXQ6S.js} +8 -4
- package/dist/chunk-M3BJEZ7E.js +152 -0
- package/dist/{chunk-ZOOY4LEZ.js → chunk-MA35E5OY.js} +3 -3
- package/dist/{chunk-IHWNDG5C.js → chunk-MDBEAWP2.js} +3 -3
- package/dist/{chunk-TEOIEMTR.js → chunk-MDGNQWFN.js} +1 -1
- package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
- package/dist/{chunk-O7ZX5DHD.js → chunk-MP36L7OJ.js} +2 -2
- package/dist/{chunk-5LLDGJGZ.js → chunk-MVIUSNPZ.js} +1 -1
- package/dist/{chunk-IIMW46LC.js → chunk-N2C7WJDG.js} +1 -1
- package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
- package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
- package/dist/{chunk-AQJA7TAQ.js → chunk-NQFIMBXS.js} +2 -2
- package/dist/{chunk-G5DZZEQF.js → chunk-O2T6ZTLN.js} +1 -1
- package/dist/{chunk-RHUYVGFO.js → chunk-O5CNNVRY.js} +7 -7
- package/dist/{chunk-6WHOI52Z.js → chunk-OD7PLYYX.js} +8 -8
- package/dist/{chunk-K7JA32EI.js → chunk-PNP2BO3U.js} +2 -2
- package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
- package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
- package/dist/{chunk-SEVZKBMA.js → chunk-QWM3NY2E.js} +4 -4
- package/dist/{chunk-ZQYRP22G.js → chunk-R45WFVRA.js} +1 -1
- package/dist/{chunk-PGGMJW7B.js → chunk-RCB4SGTB.js} +35 -7
- package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
- package/dist/{chunk-5HVQV4H4.js → chunk-RGYOCAHC.js} +2 -2
- package/dist/{chunk-GFDXA5QO.js → chunk-ROXILOZ6.js} +2 -2
- package/dist/{chunk-G5S72X6Q.js → chunk-SIGASWB7.js} +4 -4
- package/dist/{chunk-J5LQW6VB.js → chunk-SOAQ3XXB.js} +2 -2
- package/dist/{chunk-RLQOYHXT.js → chunk-SUXEL7G4.js} +15 -15
- package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
- package/dist/{chunk-Q77TZ76B.js → chunk-SWPI27QV.js} +8 -8
- package/dist/{chunk-T54RTTFW.js → chunk-T3GSTIBS.js} +3 -3
- package/dist/chunk-TFBPCJPG.js +26 -0
- package/dist/{chunk-XDIHAX2C.js → chunk-U77L3ZQZ.js} +1 -1
- package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
- package/dist/{chunk-7XZS4PNM.js → chunk-UE2WSWNA.js} +1 -1
- package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
- package/dist/{chunk-KAHWO4XC.js → chunk-VKZSAAXZ.js} +3 -3
- package/dist/chunk-VQJLTYEK.js +453 -0
- package/dist/{chunk-5YYGPTBP.js → chunk-VZQXHYEI.js} +3 -3
- package/dist/{chunk-OZNJ2QD5.js → chunk-W2FSQBUR.js} +17 -17
- package/dist/{chunk-RVI665CP.js → chunk-W5PW26KE.js} +1 -1
- package/dist/{chunk-KKUBMYCY.js → chunk-WIMVXPYG.js} +12 -12
- package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
- package/dist/{chunk-OB6DVKHE.js → chunk-WYPRTHXQ.js} +2 -2
- package/dist/{chunk-ELWX6CAA.js → chunk-XDDBSGBD.js} +2 -2
- package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
- package/dist/{chunk-3OA75WJW.js → chunk-XFXCI4IP.js} +16 -9
- package/dist/{chunk-RJA64ACI.js → chunk-XQWWFIBR.js} +2 -2
- package/dist/{chunk-FK3KV32T.js → chunk-XSHJ37U3.js} +27 -24
- package/dist/{chunk-Y6RU3H6C.js → chunk-XUDJ5XSQ.js} +6 -6
- package/dist/{chunk-DFSAC4F4.js → chunk-XVVPEWNX.js} +1 -1
- package/dist/chunk-Y5DOT5NQ.js +57 -0
- package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
- package/dist/{chunk-L6ZLOJBI.js → chunk-YDG3OXH3.js} +3 -2
- package/dist/{chunk-SQ63BIR2.js → chunk-YNFHZ4RI.js} +3 -3
- package/dist/{chunk-5BIMSULZ.js → chunk-YSHUIQ3I.js} +2 -2
- package/dist/chunk-YTUPQTXA.js +560 -0
- package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
- package/dist/chunk-ZOAANTVI.js +193 -0
- package/dist/{clean-WYXHI2DO.js → clean-3IN64RHM.js} +31 -31
- package/dist/cli.js +71 -69
- package/dist/{cloud-X52P5AIE.js → cloud-LBUZBUP6.js} +4 -4
- package/dist/{cloud-TDXVUIUM.js → cloud-SVYXHFEG.js} +9 -8
- package/dist/{cloudrun-36IR6ZKU.js → cloudrun-PZOF2QGL.js} +8 -8
- package/dist/{compare-R2KXOV2I.js → compare-UOJ3LXQQ.js} +46 -46
- package/dist/{compiler-FRWUFIQC.js → compiler-5ZDHBKBQ.js} +9 -7
- package/dist/{component-TIBQY7KQ.js → component-EVIPLTTJ.js} +3 -3
- package/dist/{compositions-NQPORXIX.js → compositions-R4GG5FBO.js} +17 -17
- package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
- 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-DTLRPBSB.js → curve-LR3PSRW3.js} +16 -16
- package/dist/{cuts-73HKU767.js → cuts-DHCOBAFT.js} +17 -17
- package/dist/{delete-HIHA436T.js → delete-MMGGU3QP.js} +12 -11
- package/dist/deploy-SKIGUTM2.js +213 -0
- package/dist/{describeProject-4A5UXQ25.js → describeProject-L7HNTBPV.js} +12 -12
- package/dist/{destroy-4DOMPOYB.js → destroy-5HSMMDH7.js} +22 -18
- package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
- package/dist/{diff-JPADFUMV.js → diff-KR7VKPYL.js} +48 -47
- package/dist/{dist-EFXKPJJT.js → dist-3MFNUZSN.js} +4 -4
- package/dist/{dist-KWXQYTRT.js → dist-HK3AZNNL.js} +22 -22
- package/dist/{dist-FKEKIXVL.js → dist-ZGYPFYOH.js} +4 -4
- package/dist/docs/rendering.md +2 -0
- package/dist/{doctor-3OO3CONL.js → doctor-G7VGNSA5.js} +18 -18
- package/dist/{energy-XFPN5YIL.js → energy-H7EEH6WO.js} +17 -17
- package/dist/{events-6ONCYFB5.js → events-5ATZCZTK.js} +4 -4
- package/dist/{events-QWPZT3EQ.js → events-ASG27IXP.js} +19 -19
- package/dist/{events-G2MME5LQ.js → events-YD6N7OPQ.js} +9 -9
- package/dist/execute-OAS454OB.js +109 -0
- package/dist/{extract-3EV72SMY.js → extract-645SENLA.js} +20 -20
- package/dist/{face-JZS6P3AT.js → face-WRT5XH4I.js} +19 -19
- package/dist/{feedback-JVWBHRQG.js → feedback-3LKLR5MV.js} +22 -17
- package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-PXKIZL2X.js} +11 -11
- package/dist/{figma-KPHTDMCQ.js → figma-RIEVJJBW.js} +3 -3
- package/dist/fontLocalizeCli.js +20 -20
- package/dist/{frames-KRVRJTKC.js → frames-OTB3J5W3.js} +19 -19
- package/dist/{generate-X2MYGFZX.js → generate-IUKCZW2D.js} +33 -32
- package/dist/{get-QM24BI7N.js → get-6WVQ7TBV.js} +12 -11
- package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-HXSVAEU4.js} +11 -11
- package/dist/{grade-compare-W5N5LH4X.js → grade-compare-TCAYHDEF.js} +47 -47
- package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
- package/dist/hangReport.js +1 -1
- package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-GXIMK4HK.js} +12 -12
- package/dist/{help-LWS4YWMO.js → help-RGOL5EJD.js} +2 -1
- package/dist/{history-SG34LBJY.js → history-XKPRGJGS.js} +15 -15
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +42 -42
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-2FC43IYB.js → info-EYBBC42V.js} +19 -19
- package/dist/{init-GKY5OKDV.js → init-F2FWPSMA.js} +36 -36
- package/dist/{ink-7UK6YCUY.js → ink-BWFERAAT.js} +17 -17
- package/dist/{inspect-ZB2NTNQA.js → inspect-74N7L3BW.js} +44 -44
- package/dist/{installer-GALVXWPC.js → installer-LOUR7G4R.js} +8 -8
- package/dist/{keyframes-LSP4FLHT.js → keyframes-WB5PTKFE.js} +15 -13
- package/dist/{lambda-3F32DRYF.js → lambda-JYCNXUKB.js} +20 -20
- package/dist/{layout-XPGS3QTX.js → layout-P52EVR24.js} +44 -44
- package/dist/{lint-Q5SO57RK.js → lint-SL55KAS2.js} +15 -15
- package/dist/{lintProject-5CBL7VFV.js → lintProject-46WU53VC.js} +4 -4
- package/dist/{list-FL5RYSFT.js → list-LN6CQH52.js} +14 -13
- package/dist/{localPage-IOHQETQT.js → localPage-L6OJU3UH.js} +12 -12
- package/dist/{login-D4TCWDDW.js → login-WTOAMDID.js} +8 -7
- package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
- package/dist/{look-G2BT4E4A.js → look-O6ESLJRP.js} +17 -17
- package/dist/{manager-F6WI43DQ.js → manager-CMEZWENF.js} +12 -12
- package/dist/{measure-VXQQHYMZ.js → measure-NEIXU53P.js} +11 -11
- package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-6CAQG7MU.js} +19 -19
- package/dist/{media-use-63LZFAID.js → media-use-IXJFMKU7.js} +16 -9
- package/dist/{models-MWUVU4CY.js → models-TZALWUEY.js} +15 -15
- package/dist/{motionShot-U4YDT7UV.js → motionShot-OQYK6G6M.js} +24 -24
- package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-43PJLOBY.js} +15 -15
- package/dist/oauth-SAVP2YM4.js +40 -0
- package/dist/{open-DRLXHOW2.js → open-EOX6QY4M.js} +20 -20
- package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-STHAXQAF.js} +19 -19
- package/dist/{pipeline-MAIRRYD6.js → pipeline-RRWZHFBQ.js} +14 -14
- package/dist/plan-JWUSMF4W.js +88 -0
- package/dist/{play-33A3EXX3.js → play-TUKTST32.js} +40 -34
- package/dist/{preflight-HSWMKB2Q.js → preflight-L42JKT6F.js} +12 -12
- package/dist/{present-HJIFEIDH.js → present-Z7HRDXPV.js} +34 -28
- package/dist/{preview-J6Z6RKMN.js → preview-HGTIRAV3.js} +31 -31
- package/dist/{probe-RA4VOGYY.js → probe-RXK44FY7.js} +17 -17
- package/dist/{producer-KWP2B4A5.js → producer-KJ2RZDJ3.js} +1 -1
- package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
- package/dist/{projectConfig-3YIGHLNE.js → projectConfig-K36NTJXP.js} +11 -11
- package/dist/{publication-QRUY2WJK.js → publication-OZWLT6K6.js} +6 -6
- package/dist/{publish-GV3I3GUL.js → publish-CRUTXNYM.js} +92 -30
- package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
- package/dist/{remove-background-UUITKXEQ.js → remove-background-R37HZPCG.js} +15 -15
- package/dist/{render-ZITQXHJP.js → render-EZMKBT7V.js} +57 -52
- package/dist/{render-NHVDJRFD.js → render-SU2XTMJL.js} +8 -8
- package/dist/{render-EC67XXR2.js → render-ZHCPCISN.js} +101 -937
- package/dist/{render-batch-RII4F3PD.js → render-batch-YIUOEAAL.js} +8 -8
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-R3FXDZKS.js → resolver-DLCKRKQR.js} +8 -8
- package/dist/{reverse-2GJ5Y3WM.js → reverse-4FAVXIER.js} +1 -1
- package/dist/{run-24USN7TA.js → run-H4GVEJVS.js} +8 -6
- package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-CQF5FYVI.js} +14 -14
- package/dist/service-XDQOULGD.js +68 -0
- package/dist/share-CUCQALE7.js +274 -0
- package/dist/{sherpa-YIJR47GX.js → sherpa-WZNRQUVC.js} +18 -18
- package/dist/sherpaWorker.js +1 -1
- package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +21 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
- package/dist/{skills-DM3XC7RQ.js → skills-J52DBZAK.js} +12 -12
- package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
- package/dist/{snapshot-72RQQXHW.js → snapshot-ZIRQFDA7.js} +94 -69
- package/dist/{src-SPFGPZZQ.js → src-7BGBN6SS.js} +18 -18
- package/dist/{src-C43KUEBY.js → src-C3XYMTF4.js} +12 -10
- package/dist/{start-FSYSYLI7.js → start-QG2XNMYN.js} +31 -30
- package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
- package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-TWMEFK3T.js} +28 -28
- package/dist/{status-TE74GP4Q.js → status-3UPA5WPI.js} +26 -24
- package/dist/studio/assets/{codec-DXM4vA6G.js → codec-qz1-OXLj.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-2eG1zFX5.js} +1 -1
- package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
- package/dist/studio/assets/{index-Ob53qo6K.js → index-DDmhnfrS.js} +189 -189
- package/dist/studio/assets/{index-Bw4stQMm.js → index-DUveJ_YP.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-JAOHMYPG.js → studio-api-Z42OO4JJ.js} +22 -22
- package/dist/{studioServer-RHCPM4CN.js → studioServer-SMN3RMVL.js} +455 -71
- package/dist/{sync-UZJ7DOUA.js → sync-ONTI2WSI.js} +17 -17
- package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
- package/dist/{telemetry-TFOEA2PM.js → telemetry-RRXALB5D.js} +9 -9
- package/dist/{templates-2AHM5TZ3.js → templates-BHFOSD6F.js} +23 -22
- package/dist/{timeline-ZGV323MP.js → timeline-Z5IHY5TN.js} +28 -28
- package/dist/{tokens-ERUFEWUA.js → tokens-MZVEPARM.js} +2 -2
- package/dist/{transcribe-6HLYS7NV.js → transcribe-5IZS4BGW.js} +37 -36
- package/dist/{transcribe-M5UZ2XFG.js → transcribe-M5N3YZZU.js} +15 -15
- package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
- package/dist/{update-JDVI2XTM.js → update-EVPWBIKY.js} +14 -13
- package/dist/{updateCheck-GDTYPXKO.js → updateCheck-2UUEF6TC.js} +5 -3
- package/dist/{upgrade-SJKYBA4X.js → upgrade-DK45FD4K.js} +6 -4
- package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-3MPHIDSA.js} +10 -10
- package/dist/{validate-IUTHTA2N.js → validate-W27TQ367.js} +36 -36
- package/dist/{video-4BJ7WHI2.js → video-TI372QGV.js} +13 -13
- package/dist/{voices-UDSFBPZX.js → voices-FZV4PGT6.js} +30 -29
- package/dist/warmCheck.js +55 -55
- package/dist/warmCheckClient.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-2X4PQEYM.js +0 -34
- package/dist/deploy-EB3FS2BT.js +0 -361
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
ReviewFailed,
|
|
9
|
+
addVersion,
|
|
10
|
+
bindShareHost,
|
|
11
|
+
createShareAccess,
|
|
12
|
+
latestShareRender,
|
|
13
|
+
mkdirInside,
|
|
14
|
+
observeShareMutation,
|
|
15
|
+
pendingReviewExport,
|
|
16
|
+
prepareCliShareSource,
|
|
17
|
+
prepareShareRender,
|
|
18
|
+
projectFingerprint,
|
|
19
|
+
readJsonRecord,
|
|
20
|
+
refreshReviewExport,
|
|
21
|
+
reviewClient,
|
|
22
|
+
reviewRecord,
|
|
23
|
+
reviewStatus,
|
|
24
|
+
reviewUploadOrigins,
|
|
25
|
+
reviewVersion,
|
|
26
|
+
rm,
|
|
27
|
+
setReviewAccess,
|
|
28
|
+
setReviewSite,
|
|
29
|
+
shareForReview,
|
|
30
|
+
shareSite,
|
|
31
|
+
signedInRequest,
|
|
32
|
+
turnOffReviewLink,
|
|
33
|
+
uncheckedSource,
|
|
34
|
+
withProjectShareLock,
|
|
35
|
+
writeJsonAtomic
|
|
36
|
+
} from "./chunk-DDDSTRHU.js";
|
|
37
|
+
import {
|
|
38
|
+
apiBaseUrl
|
|
39
|
+
} from "./chunk-BAWGEGKD.js";
|
|
40
|
+
import {
|
|
41
|
+
findFFprobe
|
|
42
|
+
} from "./chunk-MP36L7OJ.js";
|
|
43
|
+
import {
|
|
44
|
+
defaultClientId,
|
|
45
|
+
oauthEnvironment,
|
|
46
|
+
resolveClientId,
|
|
47
|
+
tokenEndpoint
|
|
48
|
+
} from "./chunk-DMW5SSUN.js";
|
|
49
|
+
import {
|
|
50
|
+
CliUsageError
|
|
51
|
+
} from "./chunk-66W5IWLO.js";
|
|
52
|
+
|
|
53
|
+
// src/share/activity.ts
|
|
54
|
+
import { hostname } from "os";
|
|
55
|
+
import { join } from "path";
|
|
56
|
+
var phases = [
|
|
57
|
+
"preparing",
|
|
58
|
+
"rendering",
|
|
59
|
+
"uploading_source",
|
|
60
|
+
"uploading_video",
|
|
61
|
+
"checking"
|
|
62
|
+
];
|
|
63
|
+
var fileFor = (dir) => join(dir, ".hyperframes", "share-activity.json");
|
|
64
|
+
async function readShareActivity(dir) {
|
|
65
|
+
const value = await readJsonRecord(fileFor(dir));
|
|
66
|
+
if (!value || value.hostname !== hostname() || typeof value.pid !== "number" || !Number.isSafeInteger(value.pid) || value.pid <= 0)
|
|
67
|
+
return null;
|
|
68
|
+
const step = phases.find((step2) => step2 === value.step);
|
|
69
|
+
if (!step || typeof value.startedAt !== "string" || typeof value.updatedAt !== "number" || Date.now() - value.updatedAt > 6e4)
|
|
70
|
+
return null;
|
|
71
|
+
try {
|
|
72
|
+
process.kill(value.pid, 0);
|
|
73
|
+
} catch {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
return { step, startedAt: value.startedAt };
|
|
77
|
+
}
|
|
78
|
+
async function withShareActivity(dir, run) {
|
|
79
|
+
return withProjectShareLock(
|
|
80
|
+
dir,
|
|
81
|
+
"operation",
|
|
82
|
+
async () => {
|
|
83
|
+
await mkdirInside(dir, ".hyperframes");
|
|
84
|
+
const startedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
85
|
+
let step = "preparing";
|
|
86
|
+
let pending = Promise.resolve();
|
|
87
|
+
const phase = (next) => {
|
|
88
|
+
step = next;
|
|
89
|
+
pending = writeJsonAtomic(fileFor(dir), {
|
|
90
|
+
step,
|
|
91
|
+
startedAt,
|
|
92
|
+
updatedAt: Date.now(),
|
|
93
|
+
pid: process.pid,
|
|
94
|
+
hostname: hostname()
|
|
95
|
+
});
|
|
96
|
+
void pending.catch(() => {
|
|
97
|
+
});
|
|
98
|
+
return pending;
|
|
99
|
+
};
|
|
100
|
+
const heartbeat = setInterval(() => {
|
|
101
|
+
void phase(step);
|
|
102
|
+
}, 1e4);
|
|
103
|
+
heartbeat.unref();
|
|
104
|
+
try {
|
|
105
|
+
await phase("preparing");
|
|
106
|
+
return await run(phase);
|
|
107
|
+
} finally {
|
|
108
|
+
clearInterval(heartbeat);
|
|
109
|
+
await pending.catch(() => {
|
|
110
|
+
});
|
|
111
|
+
await rm(fileFor(dir), { force: true });
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{ timeoutMs: 0 }
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// src/share/service.ts
|
|
119
|
+
import { basename as basename2 } from "path";
|
|
120
|
+
|
|
121
|
+
// src/share/host.ts
|
|
122
|
+
import { basename } from "path";
|
|
123
|
+
import { realpathSync } from "fs";
|
|
124
|
+
|
|
125
|
+
// src/share/uploadOrigins.ts
|
|
126
|
+
var PRODUCTION_UPLOAD_ORIGINS = [
|
|
127
|
+
"https://heygen-hyperframes-reviews-prod-767398024897-us-east-2.s3.amazonaws.com",
|
|
128
|
+
"https://heygen-hyperframes-reviews-prod-767398024897-us-east-2.s3.us-east-2.amazonaws.com",
|
|
129
|
+
"https://hyperframes-composition-sync-prod.s3.us-east-2.amazonaws.com"
|
|
130
|
+
];
|
|
131
|
+
function cliReviewUploadOrigins() {
|
|
132
|
+
const override = process.env.HYPERFRAMES_REVIEW_UPLOAD_ORIGINS;
|
|
133
|
+
if (override !== void 0)
|
|
134
|
+
return override.split(",").map((origin) => origin.trim()).filter(Boolean);
|
|
135
|
+
const standardProduction = oauthEnvironment() === "prod" && apiBaseUrl() === "https://api.heygen.com" && tokenEndpoint() === "https://api2.heygen.com/v1/oauth/token" && resolveClientId() === defaultClientId();
|
|
136
|
+
return standardProduction ? PRODUCTION_UPLOAD_ORIGINS : [];
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// src/share/host.ts
|
|
140
|
+
var projects = /* @__PURE__ */ new Set();
|
|
141
|
+
function isStorageOrigin(origin) {
|
|
142
|
+
if (!URL.canParse(origin)) return false;
|
|
143
|
+
const url = new URL(origin);
|
|
144
|
+
const loopback = url.protocol === "http:" && url.hostname === "127.0.0.1";
|
|
145
|
+
return url.origin === origin && !url.hostname.includes("*") && (url.protocol === "https:" || loopback);
|
|
146
|
+
}
|
|
147
|
+
function assertReviewUploadStorage() {
|
|
148
|
+
const origins = reviewUploadOrigins().filter(Boolean);
|
|
149
|
+
if (origins.length === 0 || !origins.every(isStorageOrigin))
|
|
150
|
+
throw new ReviewFailed(503, "review_upload_origins_required");
|
|
151
|
+
}
|
|
152
|
+
function bindCliShareProject(path) {
|
|
153
|
+
const dir = realpathSync(path);
|
|
154
|
+
projects.add(dir);
|
|
155
|
+
bindShareHost({
|
|
156
|
+
reviewUploadOrigins: cliReviewUploadOrigins(),
|
|
157
|
+
normalize: realpathSync,
|
|
158
|
+
assertOpenProject: (path2) => {
|
|
159
|
+
const normalized = realpathSync(path2);
|
|
160
|
+
if (!projects.has(normalized)) throw new Error("This project is not open for sharing.");
|
|
161
|
+
return normalized;
|
|
162
|
+
},
|
|
163
|
+
resolveOpenProjectByPath: (path2) => {
|
|
164
|
+
const normalized = realpathSync(path2);
|
|
165
|
+
return projects.has(normalized) ? { id: normalized, dir: normalized } : null;
|
|
166
|
+
},
|
|
167
|
+
listOpenProjects: () => [...projects].map((dir2) => ({ dir: dir2 })),
|
|
168
|
+
homeName: basename,
|
|
169
|
+
latestExportFile: latestShareRender,
|
|
170
|
+
projectFingerprint,
|
|
171
|
+
signedInRequest: (deps) => signedInRequest({
|
|
172
|
+
...deps,
|
|
173
|
+
headers: { "X-HeyGen-Source": "cli", "X-HeyGen-Client-Source": "hyperframes" }
|
|
174
|
+
}),
|
|
175
|
+
ffBinary: () => {
|
|
176
|
+
const binary = findFFprobe();
|
|
177
|
+
if (!binary) throw new Error("Install FFmpeg to prepare a shared video.");
|
|
178
|
+
return binary;
|
|
179
|
+
},
|
|
180
|
+
channelSite: "https://hyperframes.dev",
|
|
181
|
+
signinSites: ["https://hyperframes.dev", "https://dev.hyperframes.dev"]
|
|
182
|
+
});
|
|
183
|
+
setReviewSite(shareSite());
|
|
184
|
+
return dir;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// src/share/service.ts
|
|
188
|
+
function linkState(share, ready, failed) {
|
|
189
|
+
if (!share) return "not_shared";
|
|
190
|
+
if (failed) return "failed";
|
|
191
|
+
if (!share.url) return "link_off";
|
|
192
|
+
return ready ? "ready" : "processing";
|
|
193
|
+
}
|
|
194
|
+
async function refreshShare(dir, client, expectedProjectId, onRecovery) {
|
|
195
|
+
const share = await reviewStatus({ projectPath: dir, client });
|
|
196
|
+
if (expectedProjectId) assertUploadProject(share, expectedProjectId);
|
|
197
|
+
if (onRecovery) onRecovery(isProcessing(await pendingReviewExport(dir), share));
|
|
198
|
+
if (share) await refreshReviewExport(dir, client);
|
|
199
|
+
return share;
|
|
200
|
+
}
|
|
201
|
+
async function readStatus(dir, client, expectedProjectId, onRecovery) {
|
|
202
|
+
const share = await refreshShare(dir, client, expectedProjectId, onRecovery);
|
|
203
|
+
const project = await readProject(share, client);
|
|
204
|
+
const latest = project?.latest_ready_version_id ?? null;
|
|
205
|
+
const version = await reviewVersion(dir, { latestReadyVersionId: latest });
|
|
206
|
+
const pending = await pendingReviewExport(dir);
|
|
207
|
+
const activeUrl = share?.url ?? null;
|
|
208
|
+
const processing = isProcessing(pending, share);
|
|
209
|
+
const failed = hasFailedVersion(version);
|
|
210
|
+
const ready = Boolean(activeUrl && latest && !processing && !failed);
|
|
211
|
+
return {
|
|
212
|
+
share,
|
|
213
|
+
version,
|
|
214
|
+
pending,
|
|
215
|
+
state: linkState(share, ready, failed),
|
|
216
|
+
ready,
|
|
217
|
+
source: uncheckedSource(),
|
|
218
|
+
...statusLinks(activeUrl, ready, processing || failed, project)
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
async function readProject(share, client) {
|
|
222
|
+
return share?.projectId ? client.project(share.projectId) : null;
|
|
223
|
+
}
|
|
224
|
+
function statusLinks(url, ready, processing, project) {
|
|
225
|
+
return {
|
|
226
|
+
url: ready ? url : null,
|
|
227
|
+
previousUrl: processing && project?.latest_ready_version_id ? url : null,
|
|
228
|
+
manageUrl: project?.authenticated_review_url ?? `${shareSite() === "https://hyperframes.dev" ? "https://hyperframes.studio" : shareSite()}/shares`
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function isProcessing(pending, share) {
|
|
232
|
+
return Boolean(pending && pending.projectId === share?.projectId);
|
|
233
|
+
}
|
|
234
|
+
function selectSpace(spaces, id) {
|
|
235
|
+
if (id) return spaces.find((space) => space.space_id === id);
|
|
236
|
+
return spaces.find((space) => space.bound) ?? spaces.find((space) => space.kind === "personal");
|
|
237
|
+
}
|
|
238
|
+
function assertUploadProject(share, expectedId) {
|
|
239
|
+
const id = share?.projectId;
|
|
240
|
+
if (!id || expectedId && id !== expectedId)
|
|
241
|
+
throw new ReviewFailed(409, "review_binding_changed");
|
|
242
|
+
}
|
|
243
|
+
function assertExistingIntent(share, input) {
|
|
244
|
+
if (!share) {
|
|
245
|
+
if (input.action === "update") throw new ReviewFailed(404, "not_shared");
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
if (input.space && share.space?.id !== input.space)
|
|
249
|
+
throw new ReviewFailed(409, "workspace_mismatch");
|
|
250
|
+
if (input.audience && share.access !== input.audience)
|
|
251
|
+
throw new ReviewFailed(409, "manage_existing_audience");
|
|
252
|
+
}
|
|
253
|
+
function retrievesExisting(current, input) {
|
|
254
|
+
return current.share && input.action === "share" && (current.ready || current.state === "link_off" || current.version.last && current.state !== "processing");
|
|
255
|
+
}
|
|
256
|
+
async function preflightFirst(dir, client, input) {
|
|
257
|
+
const audience = input.audience;
|
|
258
|
+
if (!audience)
|
|
259
|
+
throw new CliUsageError(
|
|
260
|
+
"Choose an audience with --public, --team, --invite-only or --private.",
|
|
261
|
+
{ code: "audience_required" }
|
|
262
|
+
);
|
|
263
|
+
const [spaces, record] = await Promise.all([client.spaces(), reviewRecord(dir)]);
|
|
264
|
+
const space = selectSpace(spaces, registrationSpace(record, input.space));
|
|
265
|
+
if (!space || !space.can_create_review) throw new ReviewFailed(403, "workspace_cannot_share");
|
|
266
|
+
assertQuota(record, space);
|
|
267
|
+
assertAudience(audience, space);
|
|
268
|
+
return space.space_id;
|
|
269
|
+
}
|
|
270
|
+
function registrationSpace(record, requested) {
|
|
271
|
+
if (!record?.spaceId) return requested;
|
|
272
|
+
if (!requested || requested === record.spaceId) return record.spaceId;
|
|
273
|
+
if (record.registration || record.projectId) throw new ReviewFailed(409, "workspace_mismatch");
|
|
274
|
+
return requested;
|
|
275
|
+
}
|
|
276
|
+
function assertQuota(record, space) {
|
|
277
|
+
if (record?.registration || record?.projectId) return;
|
|
278
|
+
if (space.review_entitlements?.can_register_project === false)
|
|
279
|
+
throw new ReviewFailed(402, "review_project_limit_reached");
|
|
280
|
+
}
|
|
281
|
+
function assertAudience(audience, space) {
|
|
282
|
+
if (audience === "private") return;
|
|
283
|
+
if (!space.review_entitlements?.allowed_collaborative_access_modes.includes(audience))
|
|
284
|
+
throw new ReviewFailed(402, "review_subscription_required");
|
|
285
|
+
}
|
|
286
|
+
function assertResumeSource(current, input) {
|
|
287
|
+
if (current.share && current.pending && input.action === "share" && current.version.source !== "ready")
|
|
288
|
+
throw new Error(
|
|
289
|
+
"The shared video is unfinished and local edits have changed. Run hyperframes share --update to explicitly upload the current project."
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
function createShareService(projectPath, progress = () => {
|
|
293
|
+
}, options = {}) {
|
|
294
|
+
const dir = bindCliShareProject(projectPath);
|
|
295
|
+
const auth = createShareAccess(options.pinIdentity);
|
|
296
|
+
const client = reviewClient(auth);
|
|
297
|
+
const status = async (expectedProjectId) => {
|
|
298
|
+
await auth.access();
|
|
299
|
+
const current = await readStatus(dir, client, expectedProjectId);
|
|
300
|
+
const activity = expectedProjectId ? null : await readShareActivity(dir);
|
|
301
|
+
return activity ? {
|
|
302
|
+
...current,
|
|
303
|
+
activity,
|
|
304
|
+
state: activity.step,
|
|
305
|
+
ready: false,
|
|
306
|
+
previousUrl: current.url ?? current.previousUrl,
|
|
307
|
+
url: null
|
|
308
|
+
} : current;
|
|
309
|
+
};
|
|
310
|
+
const upload = async (input, projectId, sources, attempt, phase) => {
|
|
311
|
+
const end = Date.now() + (input.waitSeconds ?? 300) * 1e3;
|
|
312
|
+
let added = false;
|
|
313
|
+
const failure = await addVersion({
|
|
314
|
+
projectPath: dir,
|
|
315
|
+
projectId,
|
|
316
|
+
title: basename2(dir),
|
|
317
|
+
client,
|
|
318
|
+
onProgress: (value) => {
|
|
319
|
+
attempt.progress(value);
|
|
320
|
+
progress(value);
|
|
321
|
+
if (value?.step === "checking") void phase("checking");
|
|
322
|
+
},
|
|
323
|
+
allowPending: true,
|
|
324
|
+
...sources.filesForExport && { filesForExport: sources.filesForExport },
|
|
325
|
+
requireSource: sources.requireSource,
|
|
326
|
+
omitSource: sources.source.at === "video_only",
|
|
327
|
+
onAdded: () => {
|
|
328
|
+
added = true;
|
|
329
|
+
},
|
|
330
|
+
open: () => Date.now() < end
|
|
331
|
+
});
|
|
332
|
+
if (failure) throw new Error(failure);
|
|
333
|
+
const result = { ...await status(projectId), source: sources.source };
|
|
334
|
+
if (result.version.failure) throw new Error(result.version.failure);
|
|
335
|
+
if (!added && !result.version.last?.current) {
|
|
336
|
+
attempt.complete(false, added);
|
|
337
|
+
return { ...result, state: "processing", ready: false, url: null };
|
|
338
|
+
}
|
|
339
|
+
attempt.complete(result.ready, added);
|
|
340
|
+
return {
|
|
341
|
+
...result,
|
|
342
|
+
upToDate: isUnchangedUpdate(input, added, result),
|
|
343
|
+
updated: input.action === "update" && added
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
const uploadTarget = async (current, input, space) => {
|
|
347
|
+
const share = current ? await reviewStatus({ projectPath: dir, client }) : await shareForReview({
|
|
348
|
+
projectPath: dir,
|
|
349
|
+
title: basename2(dir),
|
|
350
|
+
client,
|
|
351
|
+
spaceId: space,
|
|
352
|
+
audience: input.audience
|
|
353
|
+
});
|
|
354
|
+
assertUploadProject(share, current?.projectId);
|
|
355
|
+
if (share.takedown) throw new ReviewFailed(409, "moderation_hold");
|
|
356
|
+
assertExistingIntent(share, {
|
|
357
|
+
...input,
|
|
358
|
+
space: input.space ?? space,
|
|
359
|
+
audience: input.audience ?? current?.access
|
|
360
|
+
});
|
|
361
|
+
return { projectId: share.projectId, spaceId: share.space?.id, audience: share.access };
|
|
362
|
+
};
|
|
363
|
+
const checkPreparedTarget = async (target) => {
|
|
364
|
+
const share = await reviewStatus({ projectPath: dir, client });
|
|
365
|
+
assertUploadProject(share, target.projectId);
|
|
366
|
+
if (share.takedown) throw new ReviewFailed(409, "moderation_hold");
|
|
367
|
+
assertExistingIntent(share, {
|
|
368
|
+
action: "update",
|
|
369
|
+
space: target.spaceId,
|
|
370
|
+
audience: target.audience
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
const mutate = async (input, attempt, phase) => {
|
|
374
|
+
await auth.access();
|
|
375
|
+
attempt.authenticated();
|
|
376
|
+
let current = await readStatus(dir, client, void 0, attempt.recover);
|
|
377
|
+
if (current.share && input.audience && changesAudience(input, current.share)) {
|
|
378
|
+
assertExistingIntent(current.share, { ...input, audience: void 0 });
|
|
379
|
+
const projectId = current.share.projectId;
|
|
380
|
+
await setReviewAccess({ projectPath: dir, client, change: { access: input.audience } });
|
|
381
|
+
current = await readStatus(dir, client, projectId);
|
|
382
|
+
assertExistingIntent(current.share, input);
|
|
383
|
+
attempt.retrieved();
|
|
384
|
+
return current;
|
|
385
|
+
}
|
|
386
|
+
assertExistingIntent(current.share, input);
|
|
387
|
+
if (retrievesExisting(current, input)) {
|
|
388
|
+
attempt.retrieved();
|
|
389
|
+
return current;
|
|
390
|
+
}
|
|
391
|
+
const flags = await client.reviewFlags();
|
|
392
|
+
if (!flags.versionSharing) throw new ReviewFailed(403, "feature_unavailable");
|
|
393
|
+
const space = current.share ? current.share.space?.id : await preflightFirst(dir, client, input);
|
|
394
|
+
assertResumeSource(current, input);
|
|
395
|
+
assertReviewUploadStorage();
|
|
396
|
+
await phase("rendering");
|
|
397
|
+
await prepareShareRender(dir);
|
|
398
|
+
const target = await uploadTarget(current.share, input, space);
|
|
399
|
+
await phase("uploading_source");
|
|
400
|
+
const sources = await prepareSelectedSource(
|
|
401
|
+
dir,
|
|
402
|
+
auth.access,
|
|
403
|
+
target.spaceId,
|
|
404
|
+
input,
|
|
405
|
+
flags.shareFiles
|
|
406
|
+
);
|
|
407
|
+
if (sources.requireSource) await checkPreparedTarget(target);
|
|
408
|
+
await phase("uploading_video");
|
|
409
|
+
return upload(input, target.projectId, sources, attempt, phase);
|
|
410
|
+
};
|
|
411
|
+
return {
|
|
412
|
+
checkSession: (verifyIdentity = false) => auth.access(void 0, verifyIdentity),
|
|
413
|
+
status,
|
|
414
|
+
run: (input) => input.action === "status" || input.action === "manage" ? status() : observeShareMutation(
|
|
415
|
+
input.action,
|
|
416
|
+
options.surface ?? "cli",
|
|
417
|
+
(attempt) => withShareActivity(dir, (phase) => mutate(input, attempt, phase))
|
|
418
|
+
),
|
|
419
|
+
capabilities: () => client.reviewFlags(),
|
|
420
|
+
spaces: () => client.spaces(),
|
|
421
|
+
setAccess: async (access) => {
|
|
422
|
+
await setReviewAccess({ projectPath: dir, client, change: { access } });
|
|
423
|
+
return status();
|
|
424
|
+
},
|
|
425
|
+
linkOff: async () => {
|
|
426
|
+
await turnOffReviewLink({ projectPath: dir, client });
|
|
427
|
+
return status();
|
|
428
|
+
},
|
|
429
|
+
linkOn: async () => {
|
|
430
|
+
if (!(await status()).share) throw new ReviewFailed(404, "not_shared");
|
|
431
|
+
await shareForReview({ projectPath: dir, title: basename2(dir), client });
|
|
432
|
+
return status();
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
function hasFailedVersion(version) {
|
|
437
|
+
return Boolean(version.failure && !version.held);
|
|
438
|
+
}
|
|
439
|
+
function changesAudience(input, share) {
|
|
440
|
+
return input.action === "share" && Boolean(input.audience) && share.access !== input.audience;
|
|
441
|
+
}
|
|
442
|
+
function isUnchangedUpdate(input, added, result) {
|
|
443
|
+
return input.action === "update" && !added && Boolean(result.version.last?.current) && !result.pending;
|
|
444
|
+
}
|
|
445
|
+
async function prepareSelectedSource(dir, access, spaceId, input, shareFiles) {
|
|
446
|
+
if (input.includeSource !== true || input.videoOnly)
|
|
447
|
+
return { source: { at: "video_only", reason: "requested" }, requireSource: false };
|
|
448
|
+
return prepareCliShareSource(dir, access, spaceId, { includeSource: true, shareFiles });
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export {
|
|
452
|
+
createShareService
|
|
453
|
+
};
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
removeRecord,
|
|
13
13
|
seenPath,
|
|
14
14
|
writeRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZIYXPDKY.js";
|
|
16
16
|
import {
|
|
17
17
|
createProjectConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SOAQ3XXB.js";
|
|
19
19
|
import {
|
|
20
20
|
isHyperframesProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EX7WPDFA.js";
|
|
22
22
|
import {
|
|
23
23
|
isCI
|
|
24
24
|
} from "./chunk-CPHQTXP5.js";
|
|
@@ -4,25 +4,25 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
resolveProject
|
|
9
|
-
} from "./chunk-L6ZLOJBI.js";
|
|
10
7
|
import {
|
|
11
8
|
installPageFunctionGuard,
|
|
12
9
|
resolveCliChromeGpuMode,
|
|
13
10
|
seekCompositionTimeline,
|
|
14
11
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-YJVJCNK4.js";
|
|
12
|
+
} from "./chunk-SUXEL7G4.js";
|
|
19
13
|
import {
|
|
20
14
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7UUUV4PN.js";
|
|
16
|
+
import {
|
|
17
|
+
resolveProject
|
|
18
|
+
} from "./chunk-YDG3OXH3.js";
|
|
19
|
+
import {
|
|
20
|
+
pageNavigationTimeoutMs
|
|
21
|
+
} from "./chunk-I35B5RWZ.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NQFIMBXS.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-JCNPHRGX.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XDDBSGBD.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-6MKM2RVL.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4DLYTSWQ.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
253
253
|
async function localizeRemoteAssets(html) {
|
|
254
254
|
let dir;
|
|
255
255
|
try {
|
|
256
|
-
const { loadProducer } = await import("./producer-
|
|
256
|
+
const { loadProducer } = await import("./producer-KJ2RZDJ3.js");
|
|
257
257
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
258
258
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
259
259
|
const assetDir = dir;
|
|
@@ -274,10 +274,10 @@ async function localizeRemoteAssets(html) {
|
|
|
274
274
|
}
|
|
275
275
|
async function validateInBrowser(project, opts) {
|
|
276
276
|
const projectDir = project.dir;
|
|
277
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
+
const { bundleToSingleHtml } = await import("./compiler-5ZDHBKBQ.js");
|
|
278
278
|
const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
|
|
279
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
280
|
-
const { lintProject } = await import("./lintProject-
|
|
279
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-TWMEFK3T.js");
|
|
280
|
+
const { lintProject } = await import("./lintProject-46WU53VC.js");
|
|
281
281
|
const lintResult = await lintProject(projectDir);
|
|
282
282
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
283
283
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
|
|
|
298
298
|
try {
|
|
299
299
|
const browser = await ensureBrowser();
|
|
300
300
|
const puppeteer = await import("puppeteer-core");
|
|
301
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
301
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-C3XYMTF4.js");
|
|
302
302
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
303
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
303
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-HXSVAEU4.js");
|
|
304
304
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
305
305
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
306
306
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
formatFindingTimes
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
|
-
import {
|
|
11
|
-
resolveProject
|
|
12
|
-
} from "./chunk-L6ZLOJBI.js";
|
|
13
10
|
import {
|
|
14
11
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SWPI27QV.js";
|
|
16
13
|
import {
|
|
17
14
|
AUDIT_SEEK_OPTIONS,
|
|
18
15
|
installPageFunctionGuard,
|
|
19
16
|
seekCompositionTimeline,
|
|
20
17
|
waitForCompositionFonts,
|
|
21
18
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SUXEL7G4.js";
|
|
23
20
|
import {
|
|
24
21
|
gotoWhenSent
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JSVCF4A6.js";
|
|
23
|
+
import {
|
|
24
|
+
resolveProject
|
|
25
|
+
} from "./chunk-YDG3OXH3.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-I35B5RWZ.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NQFIMBXS.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonFileText
|
|
35
35
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-4DLYTSWQ.js";
|
|
46
46
|
import {
|
|
47
47
|
failureMessage,
|
|
48
48
|
jsonFailure
|
|
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
|
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
711
|
async function bundleProjectHtml(projectDir) {
|
|
712
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
712
|
+
const { bundleToSingleHtml } = await import("./compiler-5ZDHBKBQ.js");
|
|
713
713
|
return bundleToSingleHtml(projectDir);
|
|
714
714
|
}
|
|
715
715
|
async function alignViewportToComposition(page, url) {
|
|
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
728
728
|
async function runLayoutAudit(projectDir, opts) {
|
|
729
729
|
const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
|
|
730
730
|
const puppeteer = await import("puppeteer-core");
|
|
731
|
-
const { buildChromeArgs } = await import("./src-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-C3XYMTF4.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-HXSVAEU4.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|