hyperframes 0.8.221 → 0.8.223
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-7CVO7K6M.js → add-PBLOPJHC.js} +16 -15
- package/dist/{agentPromptGenerator-YFC2SJLF.js → agentPromptGenerator-OD74HKYZ.js} +12 -11
- package/dist/{animatedGifPrep-YSMY5GU2.js → animatedGifPrep-QCG2BTDC.js} +12 -11
- package/dist/api.d.ts +5 -3
- package/dist/api.js +38 -26
- package/dist/{asset-ZVKHSO3M.js → asset-KHXCO4OR.js} +2 -2
- package/dist/{assetCataloger-6IBSEOK7.js → assetCataloger-ZX5WZTDQ.js} +13 -12
- package/dist/{audio-JUV3TVSW.js → audio-7AH2C6PB.js} +153 -1160
- package/dist/{auth-2J6FP462.js → auth-DJWMGXQB.js} +5 -5
- package/dist/{autoUpdate-ML6EZK6D.js → autoUpdate-KJMLYSHE.js} +2 -2
- package/dist/{backgroundChecks-MAWP2REX.js → backgroundChecks-XLVQMMXY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-Z7MGNJZH.js → batchRender-UR67LI4H.js} +12 -9
- package/dist/{beats-LRZOZUUQ.js → beats-ISWSYNN6.js} +54 -22
- package/dist/{benchmark-XJWLDTIL.js → benchmark-7JUATINH.js} +12 -11
- package/dist/billing-VGKY3FMX.js +86 -0
- package/dist/{browser-STEVEWWA.js → browser-HNGQB47C.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WH63ZWUT.js → bundleWithLocalizedFonts-4XWX2XPS.js} +2 -2
- package/dist/{capture-VB5ID7HT.js → capture-GFDP5THL.js} +3 -3
- package/dist/{capture-U3ZT3GNI.js → capture-LBEGVQTJ.js} +80 -38
- package/dist/{captureCompositionFrame-MXJ3WO2R.js → captureCompositionFrame-5L3J4MZ4.js} +18 -17
- package/dist/{catalog-ICGHSRPZ.js → catalog-SNUTPI57.js} +16 -15
- package/dist/{catch-up-DJPQKXQB.js → catch-up-FE3HDMLJ.js} +4 -4
- package/dist/{check-TL7AGWPO.js → check-MQCBMOKA.js} +47 -45
- package/dist/{checkAudio-GPTU6EGB.js → checkAudio-6VPMLIY6.js} +22 -21
- package/dist/{checkBrowser-FG5DAW2R.js → checkBrowser-SHUVFQ4S.js} +45 -39
- package/dist/{chunk-YKMFCE5B.js → chunk-2GMHYOV3.js} +1 -1
- package/dist/{chunk-TNQCXU37.js → chunk-2HBB5U52.js} +1 -1
- package/dist/{chunk-UNQ3CVKW.js → chunk-3FGEDDSA.js} +27 -28
- package/dist/{chunk-HSHKLYDI.js → chunk-44IPXXSK.js} +7 -5
- package/dist/{chunk-TVT465RJ.js → chunk-44YG42L5.js} +144 -41
- package/dist/{chunk-ZBLSSWSE.js → chunk-45UOXUUH.js} +16 -3
- package/dist/chunk-4JRFMRCQ.js +288 -0
- package/dist/{chunk-M2F6VGCP.js → chunk-4XQQQ4KN.js} +85 -50
- package/dist/{chunk-6MUI2H6P.js → chunk-54Q3H2UQ.js} +5 -2
- package/dist/{chunk-67CALYTU.js → chunk-664JAO7C.js} +1 -1
- package/dist/{chunk-H3HC6U4I.js → chunk-6LE7K3YM.js} +17 -14
- package/dist/{chunk-Z7YQEDA5.js → chunk-7LKEHM2R.js} +1 -1
- package/dist/{chunk-I45R2REQ.js → chunk-7XWCCFYW.js} +1 -1
- package/dist/{chunk-L63FJVSC.js → chunk-A2KNKY4Z.js} +1 -1
- package/dist/{chunk-MEB6HWBM.js → chunk-A5WWEW6U.js} +2 -2
- package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
- package/dist/{chunk-OPKSVV4G.js → chunk-AKTI2SHL.js} +2 -2
- package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
- package/dist/chunk-AW7UW2Z7.js +312 -0
- package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
- package/dist/{chunk-625I5VBE.js → chunk-B5HFCGI7.js} +2 -2
- package/dist/{chunk-AZXDEC2G.js → chunk-B6F33PUK.js} +6 -8
- package/dist/{chunk-AW7A27JM.js → chunk-BDEBKAD2.js} +1 -1
- package/dist/{chunk-322M35EB.js → chunk-BN75GXZM.js} +3 -3
- package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
- package/dist/{chunk-6YW3FEHC.js → chunk-C466I3DT.js} +9 -8
- package/dist/{chunk-M2BCU4Y5.js → chunk-CXEU6XNL.js} +6 -20
- package/dist/{chunk-KQPP4NIZ.js → chunk-CYE2NNFF.js} +2 -2
- package/dist/{chunk-U6WH572X.js → chunk-DFK4RMNE.js} +5 -5
- package/dist/chunk-DY7PQLIE.js +248 -0
- package/dist/chunk-EF735J3K.js +59 -0
- package/dist/{chunk-XFMO3BEN.js → chunk-EHZESMRB.js} +18 -6
- package/dist/chunk-EJOFIHX4.js +46 -0
- package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
- package/dist/{chunk-2ZNURTH5.js → chunk-EX75C5HT.js} +4459 -4312
- package/dist/{chunk-4ZM727AO.js → chunk-FKBWONRY.js} +5 -5
- package/dist/{chunk-YISDQ7YP.js → chunk-FORV75JT.js} +26 -14
- package/dist/{chunk-ZKPRJPWN.js → chunk-G5KX4X6W.js} +59 -59
- package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
- package/dist/{chunk-LYZB5CJN.js → chunk-HT3D5AKG.js} +160 -19
- package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
- package/dist/{chunk-35JKCWYI.js → chunk-I6OY5MS6.js} +1 -1
- package/dist/{chunk-S5GOFDX5.js → chunk-IJI2JNN7.js} +1 -1
- package/dist/{chunk-SAKL7SZH.js → chunk-IQ7FABPU.js} +3 -3
- package/dist/{chunk-YV2QQUTL.js → chunk-JNQCM6CR.js} +2 -2
- package/dist/{chunk-TMK3MW7B.js → chunk-JO4LHFFP.js} +10 -10
- package/dist/chunk-JTZHDD63.js +70 -0
- package/dist/{chunk-YSZ4VMXI.js → chunk-K5GMPWMG.js} +1 -1
- package/dist/{chunk-ROVRC3CG.js → chunk-KCDWRMTC.js} +5 -5
- package/dist/{chunk-74E7EHVH.js → chunk-KJGYQVFD.js} +1 -1
- package/dist/{chunk-3STL4WJ6.js → chunk-KT2WLSX5.js} +19 -10
- package/dist/{chunk-OMLDAF44.js → chunk-KWYK65GR.js} +9 -8
- package/dist/{chunk-F6WHVEUS.js → chunk-LAIGIOEA.js} +5 -1
- package/dist/{chunk-3PJ3HVLG.js → chunk-LV5AVW6U.js} +1 -1
- package/dist/{chunk-XETZLYGW.js → chunk-M4UVOUWC.js} +2 -2
- package/dist/{chunk-DMCU2ELU.js → chunk-M7HNGAWN.js} +3 -3
- package/dist/chunk-MEJH7VEA.js +63 -0
- package/dist/{chunk-MYXFBIJO.js → chunk-MTVL7FWZ.js} +1 -1
- package/dist/{chunk-MYNBV7WG.js → chunk-MUHOFRGW.js} +1 -1
- package/dist/{chunk-7DVR3DL3.js → chunk-N6XKBBT5.js} +8 -8
- package/dist/{chunk-OOEOJPFY.js → chunk-NLWG5TU7.js} +2 -2
- package/dist/chunk-NZZQCWUC.js +205 -0
- package/dist/{chunk-ZOLKM3VZ.js → chunk-OL2C3ODS.js} +9 -9
- package/dist/{chunk-QLQVQQP6.js → chunk-OVINGNLQ.js} +3 -3
- package/dist/{chunk-MXVH6UW6.js → chunk-OWFSGDQS.js} +6 -57
- package/dist/chunk-OZM6VLD7.js +71 -0
- package/dist/{chunk-5YT2KHPO.js → chunk-P5QGZMGC.js} +2 -2
- package/dist/{chunk-NYOQP6DO.js → chunk-PBPHKD56.js} +1 -1
- package/dist/chunk-PHEPL7OX.js +1048 -0
- package/dist/{chunk-AZI2T2KO.js → chunk-PX7Y4HMM.js} +1 -1
- package/dist/{chunk-IDWJJ7PP.js → chunk-QNLHDYYO.js} +2 -2
- package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
- package/dist/{chunk-24F7TOW2.js → chunk-QU5OYMTB.js} +140 -54
- package/dist/chunk-QZGKKQ77.js +570 -0
- package/dist/{chunk-NQOCM4KQ.js → chunk-RKVKFXYB.js} +3 -3
- package/dist/{chunk-Y4GLFHO5.js → chunk-RORIFIUW.js} +1 -1
- package/dist/{chunk-MESSJFK3.js → chunk-RWSVSCOP.js} +38 -28
- package/dist/chunk-RZ6CXJ56.js +24 -0
- package/dist/chunk-SDBVVDBW.js +113 -0
- package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
- package/dist/{chunk-BQNTY7J5.js → chunk-SNFVQDKE.js} +1 -1
- package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
- package/dist/{chunk-D2RQVJLZ.js → chunk-SX7ESVCQ.js} +5 -29
- package/dist/{chunk-P6FGS4U6.js → chunk-UFYWGUUV.js} +6 -6
- package/dist/{chunk-GSCFMG4C.js → chunk-UGUWSAJT.js} +3 -3
- package/dist/chunk-UQECNXFA.js +5013 -0
- package/dist/{chunk-XDTCPMR3.js → chunk-UQVAAEPQ.js} +2 -2
- package/dist/{chunk-NHXGFQWQ.js → chunk-UVF4U3ZF.js} +1 -1
- package/dist/{chunk-YSTBSLWY.js → chunk-VBCBHDIW.js} +1 -1
- package/dist/chunk-VJM6NX54.js +250 -0
- package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
- package/dist/chunk-WGOIJN57.js +95 -0
- package/dist/{chunk-RVCWVOXM.js → chunk-WQLTKHPP.js} +3 -3
- package/dist/{chunk-RVIMLJXC.js → chunk-WUXDIF5D.js} +60 -23
- package/dist/{chunk-QYUXDFJY.js → chunk-WWOHLNFO.js} +12 -10
- package/dist/{chunk-JGZUG5V4.js → chunk-XZEHFUQF.js} +2 -2
- package/dist/{chunk-6HKUUBAV.js → chunk-Y4INSXS7.js} +2 -2
- package/dist/{chunk-O7WR4AHX.js → chunk-ZEKV5T3I.js} +14 -14
- package/dist/{clean-3NMJWZXK.js → clean-JZOPMJMV.js} +27 -26
- package/dist/cli.js +59 -56
- package/dist/{cloud-CB3NYNUR.js → cloud-VMPF2KMA.js} +4 -4
- package/dist/{cloudrun-2CTKCIXV.js → cloudrun-LA2FKS2F.js} +10 -9
- package/dist/commands/layout-audit.browser.js +19 -3
- package/dist/commands/motion-signature.browser.js +8 -4
- package/dist/{compare-FVY3AMTT.js → compare-IQCFSC5Z.js} +37 -36
- package/dist/{compiler-SEQRWEEN.js → compiler-J7OZQIPD.js} +8 -8
- package/dist/{component-AEMJRROX.js → component-TRGBVFCI.js} +3 -3
- package/dist/{compositions-NRBSIBGZ.js → compositions-FOC2CAZX.js} +18 -17
- package/dist/curve-ID3Z522S.js +329 -0
- package/dist/cuts-MWHQSE2Z.js +123 -0
- package/dist/{delete-T4E53ELR.js → delete-47KZ7PLI.js} +5 -5
- package/dist/{deploy-PUF2DW3H.js → deploy-NTNEO4TI.js} +8 -8
- package/dist/describeProject-WWREIVQV.js +56 -0
- package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
- package/dist/diff-GH4KCQGQ.js +1825 -0
- package/dist/{dist-VARV35QH.js → dist-24QQO5IL.js} +6 -6
- package/dist/{dist-B6C3DU6I.js → dist-XW7FATO6.js} +7 -6
- package/dist/{doctor-FVBU575B.js → doctor-4ZH7WFU6.js} +16 -15
- package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
- package/dist/energy-2C65KXBH.js +134 -0
- package/dist/{events-RSPDI7FX.js → events-FUFFA55P.js} +3 -3
- package/dist/{events-DZ5PRR6F.js → events-Q3EBOW2Y.js} +2 -2
- package/dist/events-QO5G2VCC.js +221 -0
- package/dist/extract-Z6TLBM5B.js +309 -0
- package/dist/face-WI6BPPUG.js +171 -0
- package/dist/{feedback-AALA3OA7.js → feedback-M5GZWDXP.js} +16 -15
- package/dist/{ffmpeg-YXKE5CUE.js → ffmpeg-27H6P7ZU.js} +13 -12
- package/dist/{figma-37R727XZ.js → figma-AI6TSWVO.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -15
- package/dist/frames-WUTLVZIR.js +352 -0
- package/dist/generate-3CJREF5U.js +74 -0
- package/dist/{get-L3VKJ6JF.js → get-KTDRE33B.js} +5 -5
- package/dist/{gpuPolicy-6QIFFWAI.js → gpuPolicy-Z4MM64HY.js} +12 -11
- package/dist/{grade-compare-7IN5QDJD.js → grade-compare-IM7Z7HWI.js} +41 -37
- package/dist/{heifImagePrep-AWII25PM.js → heifImagePrep-CXI2ZMUX.js} +13 -12
- package/dist/{help-B4MB7MWW.js → help-5FR6BRLR.js} +7 -1
- package/dist/{history-TQO6AWEQ.js → history-5P5YVP5H.js} +17 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +72 -72
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +8 -8
- package/dist/index-gen-OPMQ5WSN.js +61 -0
- package/dist/{info-7CBHVXSG.js → info-5ZGNJJVA.js} +11 -10
- package/dist/{init-D7HKPQ5A.js → init-NWIAEYSX.js} +35 -33
- package/dist/{inspect-VHDQL55M.js → inspect-HBLAVW5C.js} +38 -36
- package/dist/{installer-EJNLL6SV.js → installer-KVFTBZZ5.js} +8 -7
- package/dist/{keyframes-IFLBMAJP.js → keyframes-LFCLUY2R.js} +7 -7
- package/dist/{lambda-I7EQULHC.js → lambda-RFWTTMLU.js} +19 -18
- package/dist/{layout-MOCEANRO.js → layout-WOG2Y5ND.js} +38 -36
- package/dist/{lint-HFXGSQKN.js → lint-7MALXMMF.js} +12 -12
- package/dist/{lintProject-VCDI6A2W.js → lintProject-6H64SX3V.js} +6 -6
- package/dist/{list-OFYIXVON.js → list-XRYAT24W.js} +5 -5
- package/dist/{localPage-QOOQ5YA2.js → localPage-IN36JVJU.js} +12 -11
- package/dist/{login-WAG7B4PM.js → login-32WGVGTM.js} +15 -9
- package/dist/{logout-6VFJ7WMW.js → logout-SLI6YTHI.js} +2 -2
- package/dist/look-ZWVE6JO3.js +180 -0
- package/dist/{manager-34U5CEFB.js → manager-SFL6GLYX.js} +14 -12
- package/dist/manifest-QSJYVERU.js +49 -0
- package/dist/measure-Q74BJTRQ.js +46 -0
- package/dist/{media-treatment-2TLX6NKS.js → media-treatment-3R6DYEAZ.js} +24 -23
- package/dist/{media-use-ZNTB7W6N.js → media-use-ZM2WCRQC.js} +9 -5
- package/dist/{models-M2F4WTAR.js → models-NNC53UPU.js} +16 -15
- package/dist/{motionShot-6WCTCV4W.js → motionShot-5BI5JFUP.js} +21 -20
- package/dist/{normalize-QJVXFMWO.js → normalize-MBNGRVQA.js} +2 -1
- package/dist/{normalize-audio-T6PIPWOT.js → normalize-audio-6Z2WN56Q.js} +15 -14
- package/dist/{open-BC5METIY.js → open-5NCEN6RC.js} +15 -14
- package/dist/{parakeetRunner-UXVY7PV2.js → parakeetRunner-DH3XKR3C.js} +19 -17
- package/dist/{pipeline-GJAJPWPB.js → pipeline-CGEGQAPH.js} +15 -14
- package/dist/{play-UCIRUHCU.js → play-K37BN736.js} +28 -27
- package/dist/{policies-J5BWAZHM.js → policies-U4PFXF5E.js} +4 -2
- package/dist/{preflight-GVRYYIH5.js → preflight-CG7H3D5B.js} +13 -12
- package/dist/{present-46QLZOK4.js → present-KQ53DOHA.js} +24 -23
- package/dist/{preview-HWXMP7WL.js → preview-V7CYHL6U.js} +26 -25
- package/dist/probe-JVW2MPY3.js +178 -0
- package/dist/{producer-2PBHUE5O.js → producer-UD32S7PX.js} +1 -1
- package/dist/{projectConfig-C4S3LBBX.js → projectConfig-WXCB5AZE.js} +10 -9
- package/dist/{publication-GESNVVMS.js → publication-KG4UDZRM.js} +6 -5
- package/dist/{publish-IBY26S3T.js → publish-MEQB543T.js} +22 -21
- package/dist/{refresh-I6ITGHKL.js → refresh-2LU4XDL7.js} +2 -2
- package/dist/{remove-background-3OBWOHVZ.js → remove-background-FSV5KQK3.js} +16 -15
- package/dist/{render-LSI5WXS7.js → render-O4S4SURS.js} +10 -9
- package/dist/{render-SR5RISLU.js → render-SQXZAGPQ.js} +160 -46
- package/dist/{render-3F6GQ5WW.js → render-SY4AXKXC.js} +40 -39
- package/dist/{render-batch-HV4W3PZM.js → render-batch-GTZQUB3H.js} +10 -9
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-R5X3HAPE.js → resolver-BQZNCVJS.js} +8 -7
- package/dist/run-67OPNJGD.js +31 -0
- package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
- package/dist/{sherpa-2Q6U4ZFY.js → sherpa-KH3PJAUG.js} +18 -16
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/media-use/SKILL.md +20 -21
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +26 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +33 -0
- package/dist/skills/media-use/references/heygen.md +58 -0
- package/dist/skills/media-use/references/operations.md +9 -6
- package/dist/skills/media-use/references/setup-providers.md +11 -12
- package/dist/skills/media-use/scripts/lib/index-gen.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/manifest.d.mts +21 -0
- package/dist/{skills-FSGXQSHA.js → skills-FTZZJGAB.js} +5 -5
- package/dist/{skillsUpdateCheck-UW6643XX.js → skillsUpdateCheck-LZPD2CZI.js} +3 -3
- package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
- package/dist/{snapshot-HFPB34Y7.js → snapshot-4BORZ3ED.js} +60 -47
- package/dist/{src-VMTQQUUP.js → src-6ZOFAM3F.js} +21 -14
- package/dist/{src-ROWFWCEN.js → src-D7AO7PGH.js} +12 -11
- package/dist/{staticProjectServer-4TGZJIWN.js → staticProjectServer-Q23A6XU2.js} +25 -24
- package/dist/{status-4AAPTTRW.js → status-VIJRZ4ZK.js} +34 -9
- package/dist/studio/assets/hyperframes-player-D0W1SNqK.js +478 -0
- package/dist/studio/assets/{index-BDE7dwov.js → index-DD9KJoEr.js} +119 -119
- package/dist/studio/assets/{index-D0jGq2dS.js → index-mbwAH5iR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TSHXVZ6R.js → studio-api-XVVJZ7YT.js} +24 -19
- package/dist/{studioServer-74ZBLNP2.js → studioServer-6HG3AMTW.js} +77 -114
- package/dist/sync-Q5SRIL7V.js +115 -0
- package/dist/{telemetry-3NDLZOPR.js → telemetry-VXPSJ3X3.js} +3 -3
- package/dist/templates/blank/index.html +1 -1
- package/dist/templates/from-file/index.html +1 -1
- package/dist/{timeline-5IFZJU7M.js → timeline-6477OWFA.js} +31 -26
- package/dist/{tokens-UFNPQVLS.js → tokens-ZUUNEDKT.js} +2 -2
- package/dist/{transcribe-7KQAUHEN.js → transcribe-HA4UGLKO.js} +17 -15
- package/dist/{transcribe-NAXKBIPW.js → transcribe-ITVANIDK.js} +41 -23
- package/dist/{tts-BVTJEP72.js → tts-KMZPHG3K.js} +1 -1
- package/dist/{updateCheck-KDSFL3XX.js → updateCheck-SVADAQ43.js} +2 -2
- package/dist/{upgrade-EXX4C35N.js → upgrade-WKW4FDNF.js} +2 -2
- package/dist/{urlDownloader-4UFCIAPH.js → urlDownloader-VWHCESDD.js} +11 -10
- package/dist/{validate-QYOHY3N6.js → validate-7VG2RLP2.js} +31 -30
- package/dist/{video-HRL3V2R5.js → video-LM3FYHGG.js} +13 -12
- package/dist/warmCheck.js +47 -45
- package/package.json +1 -1
- package/dist/chunk-Q3PPGPEA.js +0 -5061
- package/dist/studio/assets/hyperframes-player-B_wvwarc.js +0 -478
- package/dist/{chunk-NOH32H42.js → chunk-HBAUU3IK.js} +124 -124
- package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
- package/dist/{destroy-BQ5R7LUF.js → destroy-6NWJMQX2.js} +4 -4
- package/dist/{synthesize-4JC74JW5.js → synthesize-DIT2SR3D.js} +5 -5
|
@@ -168,6 +168,38 @@ function pickObject(obj, key) {
|
|
|
168
168
|
return v && typeof v === "object" && !Array.isArray(v) ? v : void 0;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
// src/auth/browser.ts
|
|
172
|
+
import { appendFileSync } from "fs";
|
|
173
|
+
async function openBrowser(url) {
|
|
174
|
+
const log = process.env["HF_BROWSER_LOG"];
|
|
175
|
+
if (log) {
|
|
176
|
+
appendFileSync(log, `${url}
|
|
177
|
+
`);
|
|
178
|
+
return { opened: true };
|
|
179
|
+
}
|
|
180
|
+
if (process.env["BROWSER"] === "none" || process.env["HF_NO_BROWSER"] === "1") {
|
|
181
|
+
printManualInstructions(url);
|
|
182
|
+
return { opened: false };
|
|
183
|
+
}
|
|
184
|
+
try {
|
|
185
|
+
const open = (await import("open")).default;
|
|
186
|
+
await open(url);
|
|
187
|
+
return { opened: true };
|
|
188
|
+
} catch (err) {
|
|
189
|
+
printManualInstructions(url, normalizeErrorMessage(err));
|
|
190
|
+
return { opened: false };
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
function printManualInstructions(url, detail) {
|
|
194
|
+
if (detail) {
|
|
195
|
+
console.error(c.warn(`Could not open browser automatically (${detail}).`));
|
|
196
|
+
} else {
|
|
197
|
+
console.error(c.warn("Browser auto-open is disabled."));
|
|
198
|
+
}
|
|
199
|
+
console.error(`Open this URL manually to continue:
|
|
200
|
+
${c.accent(url)}`);
|
|
201
|
+
}
|
|
202
|
+
|
|
171
203
|
// src/auth/store.ts
|
|
172
204
|
import { promises as fs } from "fs";
|
|
173
205
|
import { dirname } from "path";
|
|
@@ -425,7 +457,7 @@ function base64UrlEncode(buf) {
|
|
|
425
457
|
import { timingSafeEqual } from "crypto";
|
|
426
458
|
import { createServer } from "http";
|
|
427
459
|
var CALLBACK_PATH = "/oauth/callback";
|
|
428
|
-
var DEFAULT_TIMEOUT_MS =
|
|
460
|
+
var DEFAULT_TIMEOUT_MS = 3e5;
|
|
429
461
|
async function startLoopback(opts) {
|
|
430
462
|
const timeoutMs = opts.timeoutMs ?? DEFAULT_TIMEOUT_MS;
|
|
431
463
|
let resolveResult;
|
|
@@ -522,7 +554,7 @@ function respond(res, status, body) {
|
|
|
522
554
|
}).end(body);
|
|
523
555
|
}
|
|
524
556
|
function successPage() {
|
|
525
|
-
return `<!doctype html><html><head><meta charset="utf-8"><title>Signed in to
|
|
557
|
+
return `<!doctype html><html><head><meta charset="utf-8"><title>Signed in to HyperFrames</title>
|
|
526
558
|
<style>body{font-family:system-ui,sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#0b0f14;color:#e6e8eb}main{max-width:480px;text-align:center;padding:32px;border-radius:12px;background:#11161d;border:1px solid #1f2630}h1{font-weight:600;margin:0 0 8px;color:#3CE6AC}p{margin:0;color:#9aa3ad}</style>
|
|
527
559
|
</head><body><main><h1>You're signed in.</h1><p>You can close this tab and return to your terminal.</p></main></body></html>`;
|
|
528
560
|
}
|
|
@@ -537,31 +569,6 @@ function escapeHtml(s) {
|
|
|
537
569
|
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
538
570
|
}
|
|
539
571
|
|
|
540
|
-
// src/auth/browser.ts
|
|
541
|
-
async function openBrowser(url) {
|
|
542
|
-
if (process.env["BROWSER"] === "none" || process.env["HF_NO_BROWSER"] === "1") {
|
|
543
|
-
printManualInstructions(url);
|
|
544
|
-
return { opened: false };
|
|
545
|
-
}
|
|
546
|
-
try {
|
|
547
|
-
const open = (await import("open")).default;
|
|
548
|
-
await open(url);
|
|
549
|
-
return { opened: true };
|
|
550
|
-
} catch (err) {
|
|
551
|
-
printManualInstructions(url, normalizeErrorMessage(err));
|
|
552
|
-
return { opened: false };
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
function printManualInstructions(url, detail) {
|
|
556
|
-
if (detail) {
|
|
557
|
-
console.error(c.warn(`Could not open browser automatically (${detail}).`));
|
|
558
|
-
} else {
|
|
559
|
-
console.error(c.warn("Browser auto-open is disabled."));
|
|
560
|
-
}
|
|
561
|
-
console.error(`Open this URL manually to continue:
|
|
562
|
-
${c.accent(url)}`);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
572
|
// src/auth/oauth.ts
|
|
566
573
|
var REVOKE_TIMEOUT_MS = 5e3;
|
|
567
574
|
var MIN_EXPIRES_IN_SECONDS = 30;
|
|
@@ -824,7 +831,9 @@ function buildAuthorizeUrl(args) {
|
|
|
824
831
|
code_challenge: args.challenge,
|
|
825
832
|
code_challenge_method: "S256"
|
|
826
833
|
});
|
|
827
|
-
|
|
834
|
+
const urlWithEndpointQuery = new URL(authorizeEndpoint());
|
|
835
|
+
for (const [key, value] of params) urlWithEndpointQuery.searchParams.set(key, value);
|
|
836
|
+
return urlWithEndpointQuery.toString();
|
|
828
837
|
}
|
|
829
838
|
async function exchangeCodeForTokens(args) {
|
|
830
839
|
const fetchImpl = args.fetchImpl ?? fetch;
|
|
@@ -1146,6 +1155,7 @@ export {
|
|
|
1146
1155
|
apiBaseUrl,
|
|
1147
1156
|
AuthClient,
|
|
1148
1157
|
buildAuthHeaders,
|
|
1158
|
+
openBrowser,
|
|
1149
1159
|
readStore,
|
|
1150
1160
|
writeStore,
|
|
1151
1161
|
deleteStore,
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
8
|
+
// src/whisper/modelFile.ts
|
|
9
|
+
import { createHash } from "crypto";
|
|
10
|
+
import { createReadStream, statSync } from "fs";
|
|
11
|
+
async function sha256File(path) {
|
|
12
|
+
const hash = createHash("sha256");
|
|
13
|
+
for await (const chunk of createReadStream(path)) hash.update(chunk);
|
|
14
|
+
return hash.digest("hex");
|
|
15
|
+
}
|
|
16
|
+
async function verifies(path, file) {
|
|
17
|
+
if (statSync(path, { throwIfNoEntry: false })?.size !== file.bytes) return false;
|
|
18
|
+
return await sha256File(path) === file.sha256;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
sha256File,
|
|
23
|
+
verifies
|
|
24
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
Fix,
|
|
9
|
+
pearson,
|
|
10
|
+
readClip,
|
|
11
|
+
round,
|
|
12
|
+
runFfmpeg,
|
|
13
|
+
videoClip
|
|
14
|
+
} from "./chunk-VJM6NX54.js";
|
|
15
|
+
|
|
16
|
+
// src/measure/sync.ts
|
|
17
|
+
var RATE = 16e3;
|
|
18
|
+
function samples(info, start, seconds) {
|
|
19
|
+
const raw = runFfmpeg([
|
|
20
|
+
...["-ss", String(start), "-i", info.path, "-t", String(seconds), "-vn"],
|
|
21
|
+
...["-af", "aresample=async=1:first_pts=0"],
|
|
22
|
+
...["-ac", "1", "-ar", String(RATE), "-f", "f32le", "-"]
|
|
23
|
+
]);
|
|
24
|
+
return new Float32Array(raw.buffer.slice(raw.byteOffset, raw.byteOffset + (raw.byteLength & ~3)));
|
|
25
|
+
}
|
|
26
|
+
function avSync(info, mouth, start, end, maxLagMs = 400) {
|
|
27
|
+
if (!info.audio)
|
|
28
|
+
throw new Fix(
|
|
29
|
+
`${info.path} has no sound`,
|
|
30
|
+
"measure sync needs the picture and its sound in one file"
|
|
31
|
+
);
|
|
32
|
+
if (!(maxLagMs > 0)) throw new Fix("--max-lag-ms must be positive", "--max-lag-ms 400");
|
|
33
|
+
const { frames, w, h } = readClip(videoClip(info.path, start, end - start, info), {
|
|
34
|
+
roi: mouth,
|
|
35
|
+
width: 160,
|
|
36
|
+
gray: true
|
|
37
|
+
});
|
|
38
|
+
const motion = frames.map((f, i) => {
|
|
39
|
+
if (!i) return 0;
|
|
40
|
+
let s = 0;
|
|
41
|
+
for (let k = 0; k < f.length; k++) s += Math.abs(f[k] - frames[i - 1][k]);
|
|
42
|
+
return s / (w * h);
|
|
43
|
+
});
|
|
44
|
+
const audio = samples(info, start, end - start);
|
|
45
|
+
const frame = 1 / info.fps;
|
|
46
|
+
const envelope = frames.map((_, i) => {
|
|
47
|
+
const [a, b] = [Math.floor(i * frame * RATE), Math.floor((i + 1) * frame * RATE)];
|
|
48
|
+
const chunk = audio.subarray(a, Math.max(b, a + 1));
|
|
49
|
+
let s = 0;
|
|
50
|
+
for (const v of chunk) s += v * v;
|
|
51
|
+
return chunk.length ? Math.sqrt(s / chunk.length) : 0;
|
|
52
|
+
});
|
|
53
|
+
const speech = envelope.slice(1).map((v, i) => Math.abs(v - envelope[i]));
|
|
54
|
+
const mouthMotion = motion.slice(1);
|
|
55
|
+
const reach = Math.max(1, Math.round(maxLagMs / 1e3 / frame));
|
|
56
|
+
const curve = Array.from({ length: 2 * reach + 1 }, (_, i) => {
|
|
57
|
+
const lag2 = i - reach;
|
|
58
|
+
const [a, b] = lag2 >= 0 ? [speech.slice(0, speech.length - lag2), mouthMotion.slice(lag2)] : [speech.slice(-lag2), mouthMotion.slice(0, lag2)];
|
|
59
|
+
return { lag: lag2, r: Math.min(a.length, b.length) < 10 ? null : pearson(a, b) };
|
|
60
|
+
});
|
|
61
|
+
const top = Math.max(...envelope);
|
|
62
|
+
const active = top > 0 ? envelope.filter((v) => v > 0.1 * top).length / envelope.length : 0;
|
|
63
|
+
const base = {
|
|
64
|
+
speech_active_fraction: round(active, 3),
|
|
65
|
+
mouth_motion_mean: round(mouthMotion.reduce((s, v) => s + v, 0) / (mouthMotion.length || 1), 3)
|
|
66
|
+
};
|
|
67
|
+
const valid = curve.filter((c) => c.r !== null);
|
|
68
|
+
if (!valid.length)
|
|
69
|
+
return {
|
|
70
|
+
best_lag_frames: null,
|
|
71
|
+
best_lag_ms: null,
|
|
72
|
+
peak_correlation: null,
|
|
73
|
+
zero_lag_correlation: null,
|
|
74
|
+
margin_over_other_lags: null,
|
|
75
|
+
confidence: "none",
|
|
76
|
+
...base,
|
|
77
|
+
note: "no mouth motion or no change in the sound in this window; check the ROI and the window"
|
|
78
|
+
};
|
|
79
|
+
const best = curve.reduce(
|
|
80
|
+
(b, c, i) => (c.r ?? -Infinity) > (curve[b].r ?? -Infinity) ? i : b,
|
|
81
|
+
0
|
|
82
|
+
);
|
|
83
|
+
const peak = curve[best].r;
|
|
84
|
+
let shift = 0;
|
|
85
|
+
const [left, right] = [curve[best - 1]?.r, curve[best + 1]?.r];
|
|
86
|
+
if (typeof left === "number" && typeof right === "number") {
|
|
87
|
+
const bend = left - 2 * peak + right;
|
|
88
|
+
if (bend < 0) shift = 0.5 * (left - right) / bend;
|
|
89
|
+
}
|
|
90
|
+
const lag = curve[best].lag;
|
|
91
|
+
const rest = curve.filter((c) => Math.abs(c.lag - lag) > 2 && c.r !== null).map((c) => c.r);
|
|
92
|
+
const margin = rest.length ? peak - Math.max(...rest) : null;
|
|
93
|
+
const edge = best === 0 || best === curve.length - 1;
|
|
94
|
+
const confidence = peak >= 0.5 && margin !== null && margin >= 0.1 && !edge && active >= 0.1 ? "high" : peak >= 0.3 && !edge ? "medium" : "low";
|
|
95
|
+
const notes = [
|
|
96
|
+
...edge ? ["the peak is at the search edge; raise --max-lag-ms or check the window"] : [],
|
|
97
|
+
...active < 0.1 ? ["little speech in this window; choose a span with continuous speech"] : []
|
|
98
|
+
];
|
|
99
|
+
return {
|
|
100
|
+
best_lag_frames: round(lag + shift, 2),
|
|
101
|
+
best_lag_ms: round((lag + shift) * frame * 1e3, 1),
|
|
102
|
+
peak_correlation: round(peak, 3),
|
|
103
|
+
zero_lag_correlation: round(curve.find((c) => c.lag === 0)?.r ?? 0, 3),
|
|
104
|
+
margin_over_other_lags: margin === null ? null : round(margin, 3),
|
|
105
|
+
confidence,
|
|
106
|
+
...base,
|
|
107
|
+
note: notes.join("; ") || null
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export {
|
|
112
|
+
avSync
|
|
113
|
+
};
|
|
@@ -4,14 +4,14 @@ 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
|
+
fetchLocalPageUrl
|
|
9
|
+
} from "./chunk-MTVL7FWZ.js";
|
|
7
10
|
import {
|
|
8
11
|
captureUpstreamProxy,
|
|
9
12
|
connectAuthority,
|
|
10
13
|
openUpstreamTunnel
|
|
11
14
|
} from "./chunk-TSYRN646.js";
|
|
12
|
-
import {
|
|
13
|
-
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-MYXFBIJO.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4XQQQ4KN.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -44,32 +44,8 @@ import { request as httpsRequest } from "https";
|
|
|
44
44
|
import { connect as tlsConnect } from "tls";
|
|
45
45
|
var DNS_TIMEOUT_MS = 1e4;
|
|
46
46
|
var CARES_TIMEOUT_MS = 5e3;
|
|
47
|
-
function ipv4Number(address) {
|
|
48
|
-
return address.split(".").reduce((value, octet) => value * 256 + Number(octet), 0);
|
|
49
|
-
}
|
|
50
|
-
var NON_PUBLIC_IPV4 = [
|
|
51
|
-
["0.0.0.0", 8],
|
|
52
|
-
["10.0.0.0", 8],
|
|
53
|
-
["100.64.0.0", 10],
|
|
54
|
-
["127.0.0.0", 8],
|
|
55
|
-
["169.254.0.0", 16],
|
|
56
|
-
["172.16.0.0", 12],
|
|
57
|
-
["192.0.0.0", 16],
|
|
58
|
-
["192.88.99.0", 24],
|
|
59
|
-
["192.168.0.0", 16],
|
|
60
|
-
["198.18.0.0", 15],
|
|
61
|
-
["198.51.100.0", 24],
|
|
62
|
-
["203.0.113.0", 24],
|
|
63
|
-
["224.0.0.0", 3]
|
|
64
|
-
];
|
|
65
|
-
var NON_PUBLIC_RANGES = NON_PUBLIC_IPV4.map(([network, prefix]) => ({
|
|
66
|
-
start: ipv4Number(network),
|
|
67
|
-
end: ipv4Number(network) + 2 ** (32 - prefix)
|
|
68
|
-
}));
|
|
69
47
|
function isPublicIPv4(address) {
|
|
70
|
-
|
|
71
|
-
const value = ipv4Number(address);
|
|
72
|
-
return !NON_PUBLIC_RANGES.some(({ start, end }) => value >= start && value < end);
|
|
48
|
+
return isIP(address) === 4 && !isBlockedNetworkHost(address);
|
|
73
49
|
}
|
|
74
50
|
function assertPublicHostname(hostname) {
|
|
75
51
|
const host = hostname.toLowerCase().replace(/\.$/, "");
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UQVAAEPQ.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OWFSGDQS.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
} from "./chunk-OFQWTKPW.js";
|
|
24
24
|
import {
|
|
25
25
|
findFfBinary
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HYRPH6LL.js";
|
|
27
27
|
import {
|
|
28
28
|
cleanAssetUrl,
|
|
29
29
|
isRemoteOrInlineUrl,
|
|
30
30
|
isUnresolvedAssetPlaceholder,
|
|
31
31
|
resolveExistingLocalAsset
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AKMY4QVI.js";
|
|
33
33
|
import {
|
|
34
34
|
rewriteAssetPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-C2KEGBR3.js";
|
|
36
36
|
import {
|
|
37
37
|
decodeAuthoredAttribute,
|
|
38
38
|
scanHtmlOpeningTags
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-T5ELONXY.js";
|
|
40
40
|
|
|
41
41
|
// ../studio-server/dist/chunk-FUTDRYQK.js
|
|
42
42
|
import { statSync } from "fs";
|
|
@@ -6,14 +6,14 @@ 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-RORIFIUW.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AKMY4QVI.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-J7OZQIPD.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|