hyperframes 0.8.228 → 0.8.230
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-5BRVXGZV.js → add-ZFTVMGJ2.js} +11 -11
- package/dist/{agentPromptGenerator-UZ3FX4D3.js → agentPromptGenerator-EEBHEUEF.js} +8 -7
- package/dist/{animatedGifPrep-2XRRZPQO.js → animatedGifPrep-UMPPCLWN.js} +8 -7
- package/dist/api.js +27 -26
- package/dist/{asset-P7AMFWJH.js → asset-A3OP633F.js} +2 -2
- package/dist/{assetCataloger-OZZ5MJBG.js → assetCataloger-PEJSHMPN.js} +10 -9
- package/dist/{audio-SJ2FVL2U.js → audio-TLYTPBM3.js} +17 -16
- package/dist/{auth-HKMZPPR7.js → auth-BXAJN6RK.js} +4 -4
- package/dist/{autoUpdate-LL3OOBWP.js → autoUpdate-K7LZBRTU.js} +2 -2
- package/dist/{backgroundChecks-XQO65DJE.js → backgroundChecks-QWFCJ6TK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-XZYDF2FG.js → batchRender-BCJRGQHY.js} +3 -3
- package/dist/{beats-3IGHLEBF.js → beats-NOIQZVH5.js} +9 -9
- package/dist/{benchmark-IW6RD4YW.js → benchmark-L2HQTYWL.js} +8 -8
- package/dist/{billing-WNOAP6KO.js → billing-FFWAEIQ6.js} +3 -3
- package/dist/{browser-H53R7G4S.js → browser-EDJ5MBKD.js} +5 -4
- package/dist/{bundleWithLocalizedFonts-I7PYCJHZ.js → bundleWithLocalizedFonts-TPVRBZIK.js} +2 -2
- package/dist/{capture-CONXFELZ.js → capture-3SANI4UY.js} +18 -17
- package/dist/{capture-VS5ZCDVK.js → capture-QWZ5QODO.js} +3 -3
- package/dist/{captureCompositionFrame-CXMJFFT6.js → captureCompositionFrame-MS2HZXRW.js} +14 -13
- package/dist/{catalog-T35EYURG.js → catalog-R5K6MWIG.js} +13 -12
- package/dist/{catch-up-5ADD6TS2.js → catch-up-7BNUPGJ6.js} +4 -4
- package/dist/{check-I2O6NZY4.js → check-GYXWKYE5.js} +40 -39
- package/dist/{checkAudio-TL5G6H6R.js → checkAudio-DHHNBUVG.js} +11 -10
- package/dist/{checkBrowser-IBLU6INC.js → checkBrowser-LNXZAIEZ.js} +34 -33
- package/dist/{chunk-TZOQFBBQ.js → chunk-2D2RRZT7.js} +2 -2
- package/dist/{chunk-7THO7IAN.js → chunk-2JVDORVD.js} +2 -2
- package/dist/{chunk-J5D43JAY.js → chunk-2TVJN55K.js} +2 -2
- package/dist/{chunk-MIJSNZCK.js → chunk-3BWYSXMK.js} +3 -3
- package/dist/{chunk-MD4ITN4F.js → chunk-3PZ4A3EL.js} +14 -14
- package/dist/{chunk-CKS7JLWO.js → chunk-4NWPFZ3L.js} +11 -8
- package/dist/chunk-4PNFWK4W.js +5030 -0
- package/dist/{chunk-TIRQAJTW.js → chunk-56CHSBGE.js} +14 -14
- package/dist/{chunk-BYU5BWLS.js → chunk-5KW5SITK.js} +11 -11
- package/dist/{chunk-Y65ZU7XY.js → chunk-5UT3R43E.js} +21 -18
- package/dist/{chunk-CPFOW5I3.js → chunk-5Y36ONBR.js} +1 -1
- package/dist/{chunk-4EZVX3S4.js → chunk-6PVFGNKW.js} +43 -19
- package/dist/{chunk-3ZKTX4RA.js → chunk-6UYYXEUT.js} +1 -1
- package/dist/chunk-766MOTIZ.js +18 -0
- package/dist/{chunk-FG4BBFZI.js → chunk-7YCF2F5M.js} +4 -1
- package/dist/{chunk-DRIXZXHR.js → chunk-A2YVTHFV.js} +1 -1
- package/dist/{chunk-LDAKZ65G.js → chunk-AJE3DDAK.js} +2 -2
- package/dist/{chunk-7T2OIXVQ.js → chunk-ARJDVDDW.js} +1 -1
- package/dist/{chunk-44H3ZPQ2.js → chunk-B4EC7MLH.js} +3 -3
- package/dist/{chunk-X6JPD24H.js → chunk-BGBSNRZN.js} +2 -2
- package/dist/{chunk-WIK27NBN.js → chunk-CJQK4ZIE.js} +7 -7
- package/dist/{chunk-CK4PLF77.js → chunk-CLKV7JFF.js} +1 -1
- package/dist/{chunk-WMLUEEKU.js → chunk-CNI6P4N3.js} +3 -3
- package/dist/{chunk-ELECXYY6.js → chunk-DRNRROYF.js} +2 -2
- package/dist/{chunk-MKCTDPSJ.js → chunk-DUAWYFWW.js} +5 -3
- package/dist/{chunk-AUKCANZ5.js → chunk-EIYQX23K.js} +1 -1
- package/dist/{chunk-EWUQH2H2.js → chunk-EJPKTQIL.js} +1 -1
- package/dist/{chunk-OYR33QMF.js → chunk-FNDKV2AD.js} +1 -1
- package/dist/{chunk-53ZOVLGJ.js → chunk-FZM6E4S4.js} +1 -1
- package/dist/{chunk-OVMEEYHH.js → chunk-GJ2ESZC4.js} +3 -3
- package/dist/{chunk-UWS3BKTB.js → chunk-GO3BLPTW.js} +1 -1
- package/dist/{chunk-V4SD6HQ6.js → chunk-GOPJLAMZ.js} +21 -19
- package/dist/{chunk-QFXT2ZJ4.js → chunk-GVUXSS6R.js} +7 -7
- package/dist/{chunk-KP2YSOJ5.js → chunk-I5RUZETZ.js} +2 -2
- package/dist/{chunk-HZ7QD54G.js → chunk-I6BKRA57.js} +6 -6
- package/dist/{chunk-AHCAIKBH.js → chunk-ISJ2W4CG.js} +1 -1
- package/dist/{chunk-DCLGVVR7.js → chunk-IUUQ22F4.js} +8 -5
- package/dist/{chunk-TFJSU4IV.js → chunk-IWMVCOUX.js} +8 -6
- package/dist/{chunk-FHBWBQMS.js → chunk-J6NBMUDH.js} +2 -2
- package/dist/{chunk-GR2T3BOX.js → chunk-JAU6XH2U.js} +1 -1
- package/dist/{chunk-KZPMI6BZ.js → chunk-K3SQVEIB.js} +8 -12
- package/dist/{chunk-UWM22NR5.js → chunk-L47UDYP3.js} +1 -1
- package/dist/{chunk-MMHM3KKV.js → chunk-LBVU3TVN.js} +2 -2
- package/dist/{chunk-2TL6R2B5.js → chunk-M6ZPTCQF.js} +6 -6
- package/dist/{chunk-GGH5MQHG.js → chunk-MCVX4UXA.js} +1 -1
- package/dist/{chunk-GHPR346W.js → chunk-MPRXE6II.js} +3 -3
- package/dist/{chunk-FSTBQD2F.js → chunk-MYAB3HNP.js} +1 -1
- package/dist/{chunk-C4YBIKYO.js → chunk-NPPXBR26.js} +1 -1
- package/dist/{chunk-MOZ5DSCP.js → chunk-OBVTIR2F.js} +3 -3
- package/dist/{chunk-VUDMPRZN.js → chunk-OHWVSTNO.js} +2 -2
- package/dist/{chunk-YZTGIVCU.js → chunk-OPLR3AWT.js} +10 -10
- package/dist/{chunk-RUKYGXUW.js → chunk-P7SEWZV5.js} +1 -1
- package/dist/{chunk-4QRJNEY2.js → chunk-PLHQUBAY.js} +1 -1
- package/dist/{chunk-T4C5HPYH.js → chunk-PS37DU4F.js} +1 -1
- package/dist/{chunk-WP64W5LK.js → chunk-PZNWJDPR.js} +1 -1
- package/dist/{chunk-QNW43LWB.js → chunk-Q3SKYJGG.js} +7 -4
- package/dist/{chunk-3ZWUNOTS.js → chunk-QEQEKBL7.js} +1 -1
- package/dist/{chunk-KANCJWEU.js → chunk-QV36OSND.js} +1 -1
- package/dist/{chunk-D3OWJKJC.js → chunk-RT2EBZP2.js} +4 -4
- package/dist/{chunk-QTV666C6.js → chunk-RTUKNMA4.js} +1 -1
- package/dist/{chunk-MSCU7EGT.js → chunk-RUW4IMIR.js} +2 -2
- package/dist/{chunk-5J6IHFXE.js → chunk-RVDNZAZY.js} +1 -1
- package/dist/{chunk-R2C5EON5.js → chunk-RXFKSZN2.js} +2 -1
- package/dist/{chunk-XVK7Z5LC.js → chunk-SNGNCTDX.js} +1 -1
- package/dist/{chunk-ALLYZDHR.js → chunk-SOC3QD2H.js} +1 -1
- package/dist/{chunk-UOJSQZBR.js → chunk-TINSW7PZ.js} +3 -3
- package/dist/{chunk-YQVFMOMM.js → chunk-TPZ424FN.js} +1 -1
- package/dist/{chunk-OOM4KSV6.js → chunk-TW2GRPKX.js} +2 -2
- package/dist/{chunk-4RUY7VE4.js → chunk-TWFKOHB5.js} +11 -11
- package/dist/{chunk-YKB7R3ED.js → chunk-UCIYEJN4.js} +12 -12
- package/dist/{chunk-PVZRUN64.js → chunk-UCKQN6BX.js} +1 -1
- package/dist/{chunk-QU5OYMTB.js → chunk-UGUYWTWD.js} +5 -3
- package/dist/{chunk-M2WUVR6S.js → chunk-UI2ZEY3S.js} +1 -1
- package/dist/{chunk-MXZXPXHQ.js → chunk-UPYIHSZF.js} +7 -7
- package/dist/{chunk-ZFVNYA3M.js → chunk-UWZ2OIWM.js} +1 -1
- package/dist/{chunk-RQD2CQDC.js → chunk-VSOHYXNI.js} +2 -2
- package/dist/{chunk-GB4ZE5GE.js → chunk-VTKVQIH2.js} +10 -8
- package/dist/{chunk-FZUHMD3I.js → chunk-WHO74N3U.js} +19 -19
- package/dist/{chunk-SJAAY2FB.js → chunk-WP4WBVCB.js} +1 -1
- package/dist/{chunk-QSWUM7WR.js → chunk-WTUIK6Y4.js} +1 -1
- package/dist/{chunk-2GTFW4MK.js → chunk-WVRAFHJU.js} +16 -2
- package/dist/{chunk-G3AG7A42.js → chunk-X5FSMQEJ.js} +4 -2
- package/dist/{chunk-DUMEO6NK.js → chunk-YGRA5UJG.js} +1 -1
- package/dist/{chunk-3OGN5ESJ.js → chunk-YIZIBPZI.js} +3 -3
- package/dist/{chunk-FKPJP7KG.js → chunk-YK25FG4Q.js} +5 -2
- package/dist/{chunk-AJAK6K6Z.js → chunk-YTEDOLWP.js} +12 -15
- package/dist/{chunk-2WZSWSVB.js → chunk-Z364Z3IE.js} +1 -1
- package/dist/{chunk-V76CLMWJ.js → chunk-Z4P4Y2FC.js} +2 -2
- package/dist/{chunk-UZOIYEQT.js → chunk-Z5LQYHUG.js} +3 -3
- package/dist/{chunk-XOFJZ3UG.js → chunk-ZDQEVQHB.js} +1 -1
- package/dist/{chunk-W6RA5HVS.js → chunk-ZIOSKQ5M.js} +3 -3
- package/dist/{chunk-RSE7JAWA.js → chunk-ZTLYHUR4.js} +2 -2
- package/dist/{chunk-PTIDUVWP.js → chunk-ZVSU727V.js} +1 -1
- package/dist/{clean-XD6Y2WR3.js → clean-2L3ZWO2D.js} +21 -20
- package/dist/cli.js +59 -59
- package/dist/{cloud-XDAV4XVD.js → cloud-U57KZR6H.js} +4 -4
- package/dist/{cloudrun-WH47ZBWZ.js → cloudrun-I4B3BXSH.js} +4 -4
- package/dist/{compare-C33OVRPA.js → compare-CBLFYWG7.js} +33 -32
- package/dist/{compiler-JT3NQV6V.js → compiler-QWW2ROBH.js} +4 -4
- package/dist/{component-JG435H3P.js → component-M3K63KF7.js} +3 -3
- package/dist/{compositions-URALETMD.js → compositions-4YUYGFL6.js} +12 -11
- package/dist/{contactSheet-WG4HT5XP.js → contactSheet-RJTY6IIV.js} +3 -2
- package/dist/{curve-X3AVF7X7.js → curve-XR7AE6L7.js} +12 -11
- package/dist/{cuts-6PSTVWG4.js → cuts-MRQ6MDGL.js} +13 -12
- package/dist/{delete-CNAUU4A5.js → delete-AVTCERRU.js} +5 -5
- package/dist/{deploy-QHVNI6OC.js → deploy-7ST7E4WX.js} +5 -3
- package/dist/{describeProject-KRSRBDRI.js → describeProject-4XZBAMTL.js} +9 -8
- package/dist/{deterministicFonts-LV2JMOJL.js → deterministicFonts-H4RC6TOJ.js} +2 -1
- package/dist/{diff-QOPUPZDJ.js → diff-5YUXDZOX.js} +26 -25
- package/dist/{dist-3LBVDOZK.js → dist-B2QQUFZP.js} +2 -2
- package/dist/{dist-DCP77RWC.js → dist-HPM7VDPI.js} +2 -2
- package/dist/docs/audio.md +20 -0
- package/dist/docs/transcribe.md +27 -0
- package/dist/{docs-IB3KETC6.js → docs-D22SOQEZ.js} +8 -0
- package/dist/{doctor-ZYY3SUPX.js → doctor-HLB63OT3.js} +14 -13
- package/dist/{energy-ANNB2G7X.js → energy-VW77ZV3F.js} +13 -12
- package/dist/{events-S6WZTCOM.js → events-5GGAU7ZZ.js} +3 -3
- package/dist/{events-2WUPYUDV.js → events-V6DADTLI.js} +15 -14
- package/dist/{events-XBOXT3LK.js → events-ZH54ZY4B.js} +2 -2
- package/dist/{extract-RQBPKZ3L.js → extract-B5MVUVQ6.js} +13 -12
- package/dist/{face-T2657W3M.js → face-G7III3PJ.js} +13 -12
- package/dist/{feedback-WTK3BR2G.js → feedback-4DFZBTNB.js} +10 -10
- package/dist/{ffmpeg-3XMQNQFR.js → ffmpeg-2AGKTQG2.js} +8 -7
- package/dist/{figma-PZNTF4W4.js → figma-4K3CO4RJ.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -11
- package/dist/{frames-2PY32Z4T.js → frames-34HBSWM5.js} +15 -14
- package/dist/{generate-53UW2CER.js → generate-OGIXKYI4.js} +18 -17
- package/dist/{get-N4IILPTB.js → get-JDO3MZ2A.js} +5 -5
- package/dist/{gpuPolicy-DYOKYL7P.js → gpuPolicy-UDII6SVQ.js} +8 -7
- package/dist/{grade-compare-AOWOOIO5.js → grade-compare-FX2ZBKQV.js} +34 -33
- package/dist/{heifImagePrep-H677DLTO.js → heifImagePrep-PPM72A76.js} +9 -8
- package/dist/{help-ZHUXAQZV.js → help-4TFE5IRX.js} +1 -1
- package/dist/{history-54QWLPEE.js → history-PDIPYZDO.js} +8 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6K5JUWRP.js → info-QLAVL4D6.js} +7 -7
- package/dist/{init-5TCIBSKP.js → init-IJTIPTM5.js} +28 -27
- package/dist/{ink-XX5RM2CD.js → ink-2MHROV35.js} +13 -12
- package/dist/{inspect-3V2V3KL2.js → inspect-YR63O7PQ.js} +32 -31
- package/dist/{installer-XCAV3J6A.js → installer-4L6AMT6A.js} +4 -4
- package/dist/{keyframes-GCS2X7TX.js → keyframes-OVPB24JR.js} +7 -7
- package/dist/{lambda-6JUZYXME.js → lambda-AP3DWGVZ.js} +12 -11
- package/dist/{layout-2G4GEINC.js → layout-WFOB4NH7.js} +32 -31
- package/dist/{lint-JE2VSIGZ.js → lint-QDXZ2JIL.js} +8 -8
- package/dist/{lintProject-54CNQ4HT.js → lintProject-BD6IM66W.js} +2 -2
- package/dist/{list-MV3PLJDW.js → list-E34IXXFK.js} +5 -5
- package/dist/{localPage-WTACQ4HH.js → localPage-VHLJTQY2.js} +8 -7
- package/dist/{login-R4Q7Q64M.js → login-CEPXJR3A.js} +20 -8
- package/dist/{logout-6CEIH4HW.js → logout-B6H5F5YP.js} +2 -2
- package/dist/{look-BGDLDBVW.js → look-GC35DD7I.js} +13 -12
- package/dist/{manager-BT5X67BV.js → manager-KMK5LM5C.js} +9 -8
- package/dist/{manager-ENFYM32B.js → manager-QLCWYXYQ.js} +2 -1
- package/dist/{measure-ZTOIX5EH.js → measure-BBUH4DRN.js} +11 -11
- package/dist/{media-treatment-BL5JCBJ6.js → media-treatment-QVROLLSA.js} +28 -14
- package/dist/{media-use-AUAF4NW6.js → media-use-UV6EIS3H.js} +2 -2
- package/dist/{models-QSUPPDL2.js → models-HO7UMXYV.js} +12 -11
- package/dist/{motionShot-PDSNKYAY.js → motionShot-3MU24L46.js} +18 -17
- package/dist/{normalize-audio-RH556PEC.js → normalize-audio-CLVSEOAU.js} +9 -9
- package/dist/{open-JMC3AM42.js → open-VIM437EH.js} +11 -11
- package/dist/{parakeetRunner-RHK7LU3T.js → parakeetRunner-36TVWXLQ.js} +14 -13
- package/dist/{pipeline-AMQUBBUD.js → pipeline-SKRS5WMZ.js} +12 -11
- package/dist/{play-HRBMMSTB.js → play-JNJEJZON.js} +22 -21
- package/dist/{preflight-R5WNJ5KC.js → preflight-YPDAPSAQ.js} +10 -9
- package/dist/{present-G4ASOHGK.js → present-C7EQ5LCW.js} +18 -17
- package/dist/{preview-E76EMLHL.js → preview-BPFZG3P3.js} +19 -18
- package/dist/{probe-ZAHTMJ4K.js → probe-JNHRDFQS.js} +12 -11
- package/dist/{producer-CNJP7NWH.js → producer-LHWVMF6E.js} +1 -1
- package/dist/{projectConfig-AXBTPJSK.js → projectConfig-3QUI7VQX.js} +6 -6
- package/dist/{publication-CZY3OVDJ.js → publication-BPQMAQ3J.js} +2 -2
- package/dist/{publish-NCKCQFU3.js → publish-GQL3RUPQ.js} +14 -14
- package/dist/{refresh-MQTO43RB.js → refresh-T6JLFCS4.js} +2 -2
- package/dist/{remove-background-XBBLE6ZN.js → remove-background-I2UM53VK.js} +13 -12
- package/dist/{render-K4SN2VZ2.js → render-IWL3CDAJ.js} +22 -21
- package/dist/{render-4NTEIX6C.js → render-YKWOGHXS.js} +5 -5
- package/dist/{render-MPERU2AI.js → render-ZUDCNEET.js} +38 -37
- package/dist/{render-batch-STMZ5ZGQ.js → render-batch-CFOWBUY5.js} +5 -5
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-YWKOIBSQ.js → resolver-LDVP5D6K.js} +4 -4
- package/dist/{run-OJ2GBYKB.js → run-MTGSR5HH.js} +4 -3
- package/dist/{screenshotCapture-RUDON2HB.js → screenshotCapture-HTGXPA7D.js} +1 -1
- package/dist/{sherpa-KFLH5Z7E.js → sherpa-47XSQ5SC.js} +13 -12
- package/dist/skills/media-use/scripts/lib/cube-validate.mjs +1 -1
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +9 -4
- package/dist/{skills-ZG2QPQYG.js → skills-SA2B6X37.js} +5 -5
- package/dist/{skillsUpdateCheck-GVYAPPEI.js → skillsUpdateCheck-V4SUWFZF.js} +3 -3
- package/dist/{snapshot-YCHIYLWT.js → snapshot-D5BJGYXC.js} +54 -41
- package/dist/{src-XCS2N6EG.js → src-PYUEICT3.js} +11 -10
- package/dist/{src-27JZLSBO.js → src-QSUFF6F6.js} +7 -6
- package/dist/{staticProjectServer-ASRDNNFG.js → staticProjectServer-4X3QJKBR.js} +20 -19
- package/dist/{status-6WAZ5EBM.js → status-Z5BPMROD.js} +4 -4
- package/dist/studio/assets/{hyperframes-player-Cf70g7g5.js → hyperframes-player-Dv5Ew1Dr.js} +1 -1
- package/dist/studio/assets/{index-KTleZEQO.js → index-BvqtI0ko.js} +160 -160
- package/dist/studio/assets/{index-Ds4bLp7M.js → index-hiL49K7x.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YKUVSV4J.js → studio-api-F6GR7BOG.js} +12 -11
- package/dist/{studioServer-MZNEVHXX.js → studioServer-Z5Y5JSD3.js} +55 -54
- package/dist/{sync-NLO3YATC.js → sync-VFNQSZCF.js} +13 -12
- package/dist/{synthesize-DIT2SR3D.js → synthesize-YYT7UON6.js} +5 -3
- package/dist/{telemetry-K5HV7W2M.js → telemetry-VVGZLWWF.js} +3 -3
- package/dist/{timeline-QRSILS6F.js → timeline-MURAFV53.js} +20 -19
- package/dist/{tokens-D6PLMRPT.js → tokens-4BI3CVLA.js} +2 -2
- package/dist/{transcribe-ABCSYFPP.js → transcribe-LP5SBIA5.js} +11 -10
- package/dist/{transcribe-A6ZABVDW.js → transcribe-W6X6MWKO.js} +23 -22
- package/dist/{tts-ZLNNIS6W.js → tts-JHGGL7GL.js} +3 -2
- package/dist/{updateCheck-V4G5IV43.js → updateCheck-MKHH55H2.js} +2 -2
- package/dist/{upgrade-OS7M65CJ.js → upgrade-7M7S4RSB.js} +2 -2
- package/dist/{urlDownloader-ONLQCQ7O.js → urlDownloader-3MPDWAYA.js} +7 -6
- package/dist/{validate-BYDGTD6L.js → validate-KDXR4CQK.js} +26 -25
- package/dist/{video-O2LMQZWJ.js → video-XDL4BHZ5.js} +10 -9
- package/dist/warmCheck.js +41 -40
- package/dist/warmCheckClient.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-NWU7H447.js +0 -5030
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GO3BLPTW.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-T5ELONXY.js";
|
|
@@ -18,6 +18,9 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
21
|
+
import {
|
|
22
|
+
hyperframesCacheDir
|
|
23
|
+
} from "./chunk-766MOTIZ.js";
|
|
21
24
|
import {
|
|
22
25
|
__commonJS,
|
|
23
26
|
__require,
|
|
@@ -3133,7 +3136,7 @@ var require_wawoff2 = __commonJS({
|
|
|
3133
3136
|
// ../core/dist/fonts/deterministicFonts.js
|
|
3134
3137
|
import { createHash as createHash2 } from "crypto";
|
|
3135
3138
|
import { existsSync as existsSync2, mkdirSync as mkdirSync2, mkdtempSync as mkdtempSync2, readFileSync as readFileSync2, renameSync as renameSync2, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
3136
|
-
import {
|
|
3139
|
+
import { tmpdir as tmpdir2 } from "os";
|
|
3137
3140
|
import { join as join2 } from "path";
|
|
3138
3141
|
import postcss2 from "postcss";
|
|
3139
3142
|
|
|
@@ -3141,7 +3144,7 @@ import postcss2 from "postcss";
|
|
|
3141
3144
|
var import_wawoff2 = __toESM(require_wawoff2(), 1);
|
|
3142
3145
|
import { createHash } from "crypto";
|
|
3143
3146
|
import { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
3144
|
-
import {
|
|
3147
|
+
import { tmpdir } from "os";
|
|
3145
3148
|
import { dirname, join } from "path";
|
|
3146
3149
|
var { compress } = import_wawoff2.default;
|
|
3147
3150
|
async function compressToWoff2(input) {
|
|
@@ -3155,7 +3158,7 @@ function rawMimeType(format) {
|
|
|
3155
3158
|
return RAW_MIME_TYPES[format] ?? "font/ttf";
|
|
3156
3159
|
}
|
|
3157
3160
|
function defaultCacheDir() {
|
|
3158
|
-
const root = process.env.HYPERFRAMES_FONT_CACHE_DIR ?? (process.env.AWS_LAMBDA_FUNCTION_NAME ? join(tmpdir(), "hyperframes", "fonts") :
|
|
3161
|
+
const root = process.env.HYPERFRAMES_FONT_CACHE_DIR ?? (process.env.AWS_LAMBDA_FUNCTION_NAME ? join(tmpdir(), "hyperframes", "fonts") : hyperframesCacheDir("fonts"));
|
|
3159
3162
|
return join(root, "local-compression-v1");
|
|
3160
3163
|
}
|
|
3161
3164
|
function cachedCompressionPath(input, originalFormat, cacheDir) {
|
|
@@ -4066,7 +4069,7 @@ function resolveFontCacheRoot() {
|
|
|
4066
4069
|
lambdaFontCacheRoot ??= mkdtempSync2(join2(tmpdir2(), "hyperframes-fonts-"));
|
|
4067
4070
|
return lambdaFontCacheRoot;
|
|
4068
4071
|
}
|
|
4069
|
-
return
|
|
4072
|
+
return hyperframesCacheDir("fonts");
|
|
4070
4073
|
}
|
|
4071
4074
|
var WOFF2_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36";
|
|
4072
4075
|
function fontSlug(familyName) {
|
|
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
pageUrl
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WTUIK6Y4.js";
|
|
10
10
|
import {
|
|
11
11
|
Fix
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z364Z3IE.js";
|
|
13
13
|
import {
|
|
14
14
|
refreshIfNeeded,
|
|
15
15
|
resolveCloudAuthHeaders,
|
|
16
16
|
resolveCloudBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QEQEKBL7.js";
|
|
18
18
|
import {
|
|
19
19
|
AuthClient,
|
|
20
20
|
buildAuthHeaders,
|
|
21
21
|
resolveCredential
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GOPJLAMZ.js";
|
|
23
23
|
import {
|
|
24
24
|
configDir
|
|
25
25
|
} from "./chunk-6NJVSTSY.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P7SEWZV5.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-VVGZLWWF.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -81,7 +81,8 @@ function bundledGsapFor(url) {
|
|
|
81
81
|
var NETWORK_IDLE_ATTEMPT_MS = 3e4;
|
|
82
82
|
var PROXY_FAILURES = {
|
|
83
83
|
"net::ERR_TUNNEL_CONNECTION_FAILED": (host) => `Your network's proxy refused the connection to ${host}. Ask whoever runs it to allow ${host}.`,
|
|
84
|
-
"net::ERR_PROXY_CONNECTION_FAILED": () => "Could not reach your network's proxy. Check the proxy address and that the proxy is running, or ask whoever runs it."
|
|
84
|
+
"net::ERR_PROXY_CONNECTION_FAILED": () => "Could not reach your network's proxy. Check the proxy address and that the proxy is running, or ask whoever runs it.",
|
|
85
|
+
"net::ERR_ABORTED": (host) => `${host} stopped loading as a page. This usually means the URL is a file download such as a font, not a web page. Capture a page that uses the file; its fonts are saved to assets/fonts.`
|
|
85
86
|
};
|
|
86
87
|
var PROXY_FAILURE = new RegExp(Object.keys(PROXY_FAILURES).join("|"));
|
|
87
88
|
function explainProxyRefusal(err, url) {
|
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OPLR3AWT.js";
|
|
10
10
|
import {
|
|
11
11
|
stripSdrPngColourTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MPRXE6II.js";
|
|
13
13
|
import {
|
|
14
14
|
injectTagsAtHeadStart
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4PNFWK4W.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/compositionServer.ts
|
|
18
18
|
import { createHash } from "crypto";
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DRNRROYF.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UGUYWTWD.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UI2ZEY3S.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CJQK4ZIE.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5KW5SITK.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RXFKSZN2.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CNI6P4N3.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2D2RRZT7.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-5Y36ONBR.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-QWW2ROBH.js");
|
|
713
713
|
return bundleToSingleHtml(projectDir);
|
|
714
714
|
}
|
|
715
715
|
async function alignViewportToComposition(page, url) {
|
|
@@ -726,15 +726,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
726
726
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
727
727
|
}
|
|
728
728
|
async function runLayoutAudit(projectDir, opts) {
|
|
729
|
-
const { ensureBrowser } = await import("./manager-
|
|
729
|
+
const { ensureBrowser } = await import("./manager-QLCWYXYQ.js");
|
|
730
730
|
const puppeteer = await import("puppeteer-core");
|
|
731
|
-
const { buildChromeArgs } = await import("./src-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-QSUFF6F6.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-UDII6SVQ.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
Semaphore,
|
|
9
9
|
prepareHeifImageInputs,
|
|
10
10
|
withMediaProbeSlot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AJE3DDAK.js";
|
|
12
12
|
import {
|
|
13
13
|
EncoderInterruptedError,
|
|
14
14
|
encoderFailureError,
|
|
15
15
|
prepareAnimatedGifInputs
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J6NBMUDH.js";
|
|
17
17
|
import {
|
|
18
18
|
GENERIC_FAMILIES,
|
|
19
19
|
collectFontFamilyCustomProperties,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
iterateFontFamilyDeclarations,
|
|
22
22
|
normalizeSystemFontPrimaryFamilies,
|
|
23
23
|
resolveFontFamilyDeclarationFamilies
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Q3SKYJGG.js";
|
|
25
25
|
import {
|
|
26
26
|
parseEncoderOptions
|
|
27
27
|
} from "./chunk-G6OKQMJI.js";
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
videoAudioId,
|
|
181
181
|
videoStartOnMediaTimeline,
|
|
182
182
|
writeCapturedFrame
|
|
183
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-IUUQ22F4.js";
|
|
184
184
|
import {
|
|
185
185
|
assignBundledRuntimeCompositionIds,
|
|
186
186
|
emitMountedModuleScripts,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
parsesAsScript,
|
|
193
193
|
prepareFlattenedInnerRoot,
|
|
194
194
|
stripSdrPngColourTags
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-MPRXE6II.js";
|
|
196
196
|
import {
|
|
197
197
|
collectScratchLeftovers,
|
|
198
198
|
removeScratch,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
parseVfxChain,
|
|
212
212
|
resolveAuthoredTimingWindow,
|
|
213
213
|
toFps
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-WP4WBVCB.js";
|
|
215
215
|
import {
|
|
216
216
|
gsapCdnDist,
|
|
217
217
|
normalizeGsapBaseUrl
|
|
@@ -250,7 +250,7 @@ import {
|
|
|
250
250
|
sourceTimeAt,
|
|
251
251
|
styleElementsFor,
|
|
252
252
|
timeAtSourceTime
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-4PNFWK4W.js";
|
|
254
254
|
import {
|
|
255
255
|
TRANSITIONS,
|
|
256
256
|
convertTransfer,
|
|
@@ -266,13 +266,13 @@ import {
|
|
|
266
266
|
import {
|
|
267
267
|
lintHyperframeHtml,
|
|
268
268
|
resolveReferencedStart
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-JAU6XH2U.js";
|
|
270
270
|
import {
|
|
271
271
|
isUnresolvedAssetPlaceholder,
|
|
272
272
|
readProjectFile,
|
|
273
273
|
readTextFile,
|
|
274
274
|
resolveProjectRelativeSrc
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-WVRAFHJU.js";
|
|
276
276
|
import {
|
|
277
277
|
CSS_URL_RE,
|
|
278
278
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -7185,7 +7185,7 @@ async function readLocalFont(absPath) {
|
|
|
7185
7185
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
7186
7186
|
}
|
|
7187
7187
|
async function embedLocalFontFaces(html, projectDir) {
|
|
7188
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
7188
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-H4RC6TOJ.js");
|
|
7189
7189
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
7190
7190
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
7191
7191
|
let result = html;
|
|
@@ -16803,7 +16803,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16803
16803
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16804
16804
|
if (probeResult.probeSession) {
|
|
16805
16805
|
try {
|
|
16806
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16806
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-QSUFF6F6.js");
|
|
16807
16807
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16808
16808
|
} catch (err) {
|
|
16809
16809
|
log.warn("[plan] probe session close failed", {
|
|
@@ -20177,7 +20177,7 @@ function startServer(options = {}) {
|
|
|
20177
20177
|
});
|
|
20178
20178
|
async function shutdown(signal) {
|
|
20179
20179
|
log.info(`Received ${signal}, shutting down`);
|
|
20180
|
-
const { drainBrowserPool } = await import("./src-
|
|
20180
|
+
const { drainBrowserPool } = await import("./src-QSUFF6F6.js");
|
|
20181
20181
|
await drainBrowserPool().catch(() => {
|
|
20182
20182
|
});
|
|
20183
20183
|
const handle = await Promise.race([
|
|
@@ -25,8 +25,11 @@ import {
|
|
|
25
25
|
isSafePath,
|
|
26
26
|
mkdirWithinProject
|
|
27
27
|
} from "./chunk-OFQWTKPW.js";
|
|
28
|
+
import {
|
|
29
|
+
hyperframesCacheDir
|
|
30
|
+
} from "./chunk-766MOTIZ.js";
|
|
28
31
|
|
|
29
|
-
// ../studio-server/dist/chunk-
|
|
32
|
+
// ../studio-server/dist/chunk-3GSVCYB4.js
|
|
30
33
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
31
34
|
import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
|
|
32
35
|
import {
|
|
@@ -39,7 +42,6 @@ import {
|
|
|
39
42
|
realpathSync,
|
|
40
43
|
rmSync as rmSync3
|
|
41
44
|
} from "fs";
|
|
42
|
-
import { homedir } from "os";
|
|
43
45
|
import { dirname as dirname5, isAbsolute as isAbsolute5, join as join8, relative as relative5, resolve as resolve8, sep as sep5 } from "path";
|
|
44
46
|
import { createHash, randomUUID } from "crypto";
|
|
45
47
|
import { readFileSync as readFileSync2 } from "fs";
|
|
@@ -1792,7 +1794,7 @@ function referencedHashes(log, current) {
|
|
|
1792
1794
|
}
|
|
1793
1795
|
return keep;
|
|
1794
1796
|
}
|
|
1795
|
-
var DEFAULT_HISTORY_ROOT =
|
|
1797
|
+
var DEFAULT_HISTORY_ROOT = hyperframesCacheDir("history");
|
|
1796
1798
|
var MAX_WINDOW_IDLE_MS = 10 * 6e4;
|
|
1797
1799
|
var UNDO_MODES = ["just-this", "back-to-before", "keep-later-edits"];
|
|
1798
1800
|
var OUTSIDE = { kind: "outside", name: "Outside" };
|
|
@@ -6,33 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UCKQN6BX.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K3SQVEIB.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RT2EBZP2.js";
|
|
20
20
|
import {
|
|
21
21
|
runFfmpeg
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Z364Z3IE.js";
|
|
23
23
|
import {
|
|
24
24
|
initialModelForLanguage,
|
|
25
25
|
transcribe
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B4EC7MLH.js";
|
|
27
27
|
import {
|
|
28
28
|
createRenderCancellationScope,
|
|
29
29
|
stoppedByCancelSignal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QV36OSND.js";
|
|
31
31
|
import {
|
|
32
32
|
DEFAULT_MODEL,
|
|
33
33
|
findWhisper,
|
|
34
34
|
isWhisperUnavailable
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VTKVQIH2.js";
|
|
36
36
|
import {
|
|
37
37
|
formatSrt,
|
|
38
38
|
formatVtt,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L47UDYP3.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-YK25FG4Q.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
21
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -12,17 +12,20 @@ import {
|
|
|
12
12
|
} from "./chunk-R4EWRIDL.js";
|
|
13
13
|
import {
|
|
14
14
|
findFFmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L47UDYP3.js";
|
|
16
16
|
import {
|
|
17
17
|
stoppableExecFile
|
|
18
18
|
} from "./chunk-HU2SPFNG.js";
|
|
19
|
+
import {
|
|
20
|
+
hyperframesCacheDir
|
|
21
|
+
} from "./chunk-766MOTIZ.js";
|
|
19
22
|
|
|
20
23
|
// src/whisper/manager.ts
|
|
21
24
|
import { execFileSync } from "child_process";
|
|
22
25
|
import { existsSync, mkdirSync, readdirSync, rmSync, statSync } from "fs";
|
|
23
|
-
import {
|
|
26
|
+
import { platform } from "os";
|
|
24
27
|
import { join } from "path";
|
|
25
|
-
var MODELS_DIR =
|
|
28
|
+
var MODELS_DIR = hyperframesCacheDir("whisper", "models");
|
|
26
29
|
var DEFAULT_MODEL = "small.en";
|
|
27
30
|
var WhisperUnavailableError = class extends Error {
|
|
28
31
|
code = "WHISPER_UNAVAILABLE";
|
|
@@ -123,7 +126,7 @@ function findFromSystem() {
|
|
|
123
126
|
}
|
|
124
127
|
return void 0;
|
|
125
128
|
}
|
|
126
|
-
var BUILD_DIR =
|
|
129
|
+
var BUILD_DIR = hyperframesCacheDir("whisper", "whisper.cpp");
|
|
127
130
|
var WHISPER_REPO = "https://github.com/ggml-org/whisper.cpp.git";
|
|
128
131
|
function findBuiltBinary() {
|
|
129
132
|
for (const p of [
|
|
@@ -140,10 +143,9 @@ async function buildFromSource(onProgress, signal) {
|
|
|
140
143
|
}
|
|
141
144
|
if (!existsSync(BUILD_DIR)) {
|
|
142
145
|
onProgress?.("Downloading whisper.cpp...");
|
|
143
|
-
mkdirSync(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
await stoppableExecFile("git", ["clone", "--depth", "1", WHISPER_REPO, BUILD_DIR], {
|
|
146
|
+
mkdirSync(BUILD_DIR, { recursive: true });
|
|
147
|
+
await stoppableExecFile("git", ["clone", "--depth", "1", WHISPER_REPO, "."], {
|
|
148
|
+
cwd: BUILD_DIR,
|
|
147
149
|
stdio: "ignore",
|
|
148
150
|
timeout: 6e4,
|
|
149
151
|
env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
|